{"version":3,"sources":["utils/ModalLoadingFull.js","global/environmentVariables.js","environments.js","form/components/CookieInfo.js","form/components/CheckboxLabel.js","utils/Notifications.js","utils/APIUtilities.js","utils/urlParams.js","form/cognito/CognitoSignInForm.js","utils/icons/gwlogo.svg","utils/icons/BCPIcon.js","form/cognito/OICLoginButton.js","form/components/Headers.js","form/SignIn.js","form/components/Copyright.js","form/components/AgeInfo.js","form/cognito/CognitoSignUpForm.js","form/SignUp.js","form/cognito/CognitoVerifyForm.js","form/Verify.js","form/cognito/CognitoForgotPasswordForm.js","form/ForgotPassword.js","form/cognito/CognitoVerifyForgotPasswordForm.js","form/VerifyForgotPassword.js","form/Form.js","layout/MainHeader.js","utils/GeneralUtils.js","layout/Layout.js","oic/OICAutoLink.js","oic/OICSignup.js","oic/OICLinkAccount.js","oic/OICVerify.js","pages/LogOut.js","pages/NotFound.js","Routes.js","global/MasterTheme.js","global/DefaultTheme.js","global/GlobalStyles.js","App.js","index.js"],"names":["useStyles","makeStyles","theme","backdrop","zIndex","color","palette","primary","main","ModalLoadingFull","classes","_jsx","Backdrop","className","open","children","CircularProgress","defaults","COMPANY_NAME","APP_NAME","SYSTEM_IMAGES_CLOUDFRONT","STYLESHEET","SCOPE","getEnvironmentVariable","suffix","_window$location","value","undefined","window","location","hostname","process","concat","scope","_scope","_scopeVariable","JSON","parse","err","REDIRECT_DOMAIN","CookieInfo","Grid","item","xs","_jsxs","Typography","variant","Link","href","target","underline","CheckBoxLabel","_ref","text","useTheme","style","display","alignContent","fontWeight","error","marginLeft","postNotification","toastType","toastMessage","ignoreBugsnag","_toastMessage$respons","_toastMessage$respons2","_toastMessage$respons3","_toastMessage$respons4","_toastMessage$respons5","message","response","data","errorMessage","toast","info","success","warning","dark","client_id","urlParams","defaultEndpoint","defaultHeader","postData","_postData","apply","arguments","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_data","route","endpoint","header","json","_args","wrap","_context","prev","next","length","body","_objectSpread","fetch","method","mode","cache","credentials","headers","redirect","referrerPolicy","stringify","sent","status","abrupt","Error","name","stop","getData","_getData","_callee2","_params","_params2","_params3","params","expandParams","newUrl","tempString","apiData","_args2","_context2","queryStringParameters","Array","isArray","URLSearchParams","toString","replace","HOME_PAGE","result","tmp","search","items","substr","split","index","decodeURIComponent","redirectUrl","_x","_redirectUrl","props","_urlParams","redirect_uri","response_type","responseType","user","cognitoProps","_redirect_uri","refresh_token","access_token","id_token","username","exchange_token","urlString","url","toLowerCase","localStorage","getItem","refreshToken","accessToken","idToken","exchangeToken","t0","console","URL","assign","finish","findGetParameter","parameterName","showCookies","signIn","_x2","_signIn","userCredentials","setProcessing","password","userSignin","CognitoSignInForm","_this","formState","updateFormState","onSubmit","_ref2","values","_x3","Formik","initialValues","email","cookies","enableReinitialize","validationSchema","Yup","shape","max","required","oneOf","bind","this","_ref3","errors","handleBlur","handleChange","handleSubmit","setFieldValue","touched","noValidate","container","spacing","TextField","Boolean","helperText","autoComplete","label","fullWidth","onBlur","onChange","e","trimmedString","trim","type","_Fragment","FormControlLabel","control","Checkbox","checked","FormHelperText","Button","_excluded","_extends","Object","i","source","key","prototype","hasOwnProperty","call","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgGwlogo","svgRef","title","titleId","xmlns","viewBox","ref","id","d","fill","ForwardRef","defaultSize","GWWarhammerIcon","SvgIcon","GWLogo","BCPArrowLeftToLine","sx","rest","FontAwesomeIcon","icon","faArrowLeftToLine","fontSize","width","BCPLockOutline","_excluded20","faLockOutline","AUTH_HOSTED_UI","host","loginToOIC","_loginToOIC","identity_provider","provider","toUpperCase","join","OICLoginButton","_oic_scope$amplify","_oic_scope$amplify2","_oic_scope$amplify3","_oic_scope$amplify4","_oic_scope$amplify5","_oic_scope$amplify6","_oic_scope$amplify7","_oic_scope$amplify8","_oic_scope$amplify9","oic_scope","buttonSX","amplify","backgroundColor","borderColor","textTransform","onClick","startIcon","faGoogle","faFacebook","AuthHeader","subTitle","Box","marginTop","flexDirection","alignItems","Avatar","m","bgcolor","component","textAlign","mt","AuthSubHeader","SignIn","_scope$filter","hasOIC","filter","s","map","Divider","CognitoSignIn","Copyright","align","Date","getFullYear","AgeInfo","siteTitle","signUp","_x4","_signUp","updateFormType","firstName","lastName","policy","CognitoSignUpForm","_x5","nullable","SignUp","CognitoSignUp","verifySignUp","_verifySignUp","_callee3","verifyInfo","verifyCode","_context3","verificationCode","resendVerifyCode","_resendVerifyCode","_callee4","_args4","_context4","CognitoVerifyForm","setFieldTouched","md","Verify","sendVerifyCode","_sendVerifyCode","CognitoForgotPasswordForm","ForgotPassword","verifyForgotPassword","_verifyForgotPassword","navigate","CognitoVerifyForgotPasswordForm","useNavigate","VerifyForgotPassword","initialFormState","confirmationCode","Form","_useState","useState","_useState2","_slicedToArray","processing","_useState3","formType","_useState4","_useState5","_useState6","Container","maxWidth","CssBaseline","renderForm","cursor","mb","MainHeader","appMode","_sessionStorage","_document","hasAppPath","pathname","includes","sessionStorage","document","referrer","isAppMode","endsWith","slice","history","back","link","flexGrow","justifyContent","src","alt","maxHeight","Layout","pt","pb","Outlet","ToastContainer","position","autoClose","hideProgressBar","newestOnTop","closeOnClick","rtl","pauseOnFocusLoss","draggable","pauseOnHover","OICAutoLink","_scopes$filter$","scopes","_s$amplify","_s$amplify$identity_p","_s$amplify$identity_p2","_identity_provider$tr","useEffect","setItem","OICSignup","tokens","identityToken","userId","apiRequest","Authorization","Env","set","unset","postExternalLinkFlow","given_name","family_name","disabled","OICLinkAccount","_identityToken$cognit","_identityToken$cognit2","_providerNameValue$ch","oic_link_username","providerNameValue","providerName","charAt","_response_type","removeItem","close","OICVerify","code","setTokens","setIdentityToken","_oic_link_username","flowStep","setFlowStep","oicverify","authorizationCode","_identityToken","decodeToken","forceLinkAccount","IS_DEV","IS_BCP","ROOT_HOSTEDUI_DOMAIN","COGNITO_CLIENT_ID","delay","time","Promise","resolve","setTimeout","LogOut","apiSignout","_apiSignout","mwSignout","_mwSignout","logoutParallel","_logoutParallel","taskAPISignout","taskMWSignout","t1","logout","redirectURL","hostedUISignout","origin","height","visibility","NotFound","gap","p","gutterBottom","Routes","path","element","MasterPallete","gray","contrastText","light","bronze","border","silver","gold","platinum","neutral","chartColor1","chartColor2","chartColor3","chartColor4","chartColor5","chartColor6","chartColor7","chartColor8","chartColor9","SUPPORTS_DARK_MODE","getLightPalette","defaultLightPalette","getDarkPalette","dPalette","getTypography","typography","defaultTypography","secondary","background","default","tertiary","stripe","banner","modal","drawer","table","headerBackground","headerColor","oddRowBackground","evenRowBackground","rowColor","h1","letterSpacing","h2","h3","h4","h5","h6","overline","createStyles","boxSizing","margin","padding","html","a","textDecoration","GlobalStyles","App","routing","useRoutes","urlTheme","prefersDarkMode","matchMedia","matches","useMemo","createTheme","_mode","shadows","mixins","components","MuiContainer","styleOverrides","root","paddingTop","paddingLeft","paddingRight","bodyStyle","MuiFormControl","defaultProps","MuiTextField","onWheel","blur","MuiCheckbox","MuiSelect","MuiOutlinedInput","MuiInputBase","MuiSwitch","MuiTabs","indicatorColor","textColor","_palette$banner","ownerState","MuiButton","_ownerState$color","_palette","_palette2","_palette3","colors","borderRadius","MuiIconButton","variants","_ownerState$color2","_palette4","_palette5","_palette6","MuiLink","_ref4","_ownerState$color3","_palette7","getDesignTokens","ThemeProvider","ReactDOM","render","BrowserRouter","getElementById"],"mappings":"qSAIMA,EAAYC,aAAW,SAACC,GAAK,MAAM,CACvCC,SAAU,CACRC,OAAQ,MACRC,MAAOH,EAAMI,QAAQC,QAAQC,MAEhC,IAEc,SAASC,IACtB,IAAMC,EAAUV,IAEhB,OACEW,cAACC,IAAQ,CAACC,UAAWH,EAAQP,SAAUW,MAAM,EAAKC,SAChDJ,cAACK,IAAgB,CAACX,MAAM,aAG9B,C,+BCnBMY,EAAW,CACfC,aAAc,sBACdC,SAAU,MACVC,yBAA0B,GAC1BC,WAAY,cACZC,MAAO,2BAGF,SAASC,EAAuBC,GAA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A,EAAMa,SAAA,CAC1BJ,cAACsiB,GAAY,IACZE,IAGP,EC9BAqD,IAASC,OACP9lB,cAAC+lB,IAAa,CAAA3lB,SACZJ,cAACuiB,GAAG,MAENjK,SAAS0N,eAAe,Q","file":"static/js/main.b1038917.chunk.js","sourcesContent":["import React from \"react\";\nimport { Backdrop, CircularProgress } from \"@mui/material\";\nimport { makeStyles } from \"@mui/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n backdrop: {\n zIndex: 99999,\n color: theme.palette.primary.main,\n },\n}));\n\nexport default function ModalLoadingFull() {\n const classes = useStyles();\n\n return (\n \n \n \n );\n}\n","const defaults = {\n COMPANY_NAME: \"Best Coast Pairings\",\n APP_NAME: \"BCP\",\n SYSTEM_IMAGES_CLOUDFRONT: \"\",\n STYLESHEET: \"stylesheet1\",\n SCOPE: '[{ \"type\": \"cognito\" }]',\n};\n\nexport function getEnvironmentVariable(suffix) {\n let value = undefined;\n if (window.location?.hostname === \"localhost\") {\n value = process.env[`REACT_APP_LOCAL_${suffix}`];\n if (value === \"NOT SET\") {\n value = undefined;\n } else if (value !== undefined) {\n return value;\n }\n }\n\n value = process.env[`REACT_APP_${suffix}`];\n if (value === undefined || value === \"NOT SET\") {\n return defaults[suffix];\n }\n\n return value;\n}\n","import { getEnvironmentVariable } from \"./global/environmentVariables\";\n\nexport const scope = () => {\n let _scope = [];\n let _scopeVariable = getEnvironmentVariable(\"SCOPE\");\n if (_scopeVariable !== undefined && _scopeVariable !== \"NOT SET\") {\n try {\n _scope = JSON.parse(_scopeVariable);\n } catch (err) {}\n }\n\n return _scope;\n};\n","import { Grid, Link, Typography } from \"@mui/material\";\nimport { getEnvironmentVariable } from \"../../global/environmentVariables\";\nconst REDIRECT_DOMAIN = getEnvironmentVariable(\"REDIRECT_DOMAIN\");\n\nexport const CookieInfo = () => {\n return (\n \n \n This website uses cookies to enhance your user experience, personalise\n content and advertising, and to analyze our traffic. By continuing to\n use this site you are agreeing to our use of cookies. Read our{\" \"}\n \n Data Privacy Policy\n {\" \"}\n for more information, and to learn how to change your cookie settings\n \n \n );\n};\n","import { Typography, useTheme } from \"@mui/material\";\n\nexport const CheckBoxLabel = ({ text }) => {\n const theme = useTheme();\n\n return (\n \n {text}\n \n *\n \n \n );\n};\n","import { toast } from \"react-toastify\";\n\nexport function postNotification(toastType, toastMessage, ignoreBugsnag) {\n var message =\n typeof toastMessage === \"object\"\n ? toastMessage.response?.data?.errorMessage ||\n toastMessage.response?.data?.error ||\n toastMessage.response?.data ||\n toastMessage.message ||\n toastMessage\n : toastMessage;\n if (toastType === \"info\") {\n toast.info(message);\n } else if (toastType === \"success\") {\n toast.success(message);\n } else if (toastType === \"warning\") {\n toast.warning(message);\n } else if (toastType === \"error\") {\n toast.error(message);\n } else if (toastType === \"dark\") {\n toast.dark(message);\n } else {\n toast(message);\n }\n}\n","import { getEnvironmentVariable } from \"../global/environmentVariables\";\nimport { urlParams } from \"./urlParams\";\n\nconst { client_id } = urlParams();\nlet defaultEndpoint =\n process.env.REACT_APP_API_URL || getEnvironmentVariable(\"API_URL\");\nlet defaultHeader = {\n \"client-id\": client_id || \"web-app\",\n};\n\nexport async function postData(route = \"\", data = {}, headers) {\n // Finds endpoints and headers\n let endpoint = defaultEndpoint;\n let header = headers ? headers : defaultHeader;\n\n // Converts existing api calls using the { body: {...body} } format to simply {...body}\n if (data?.body) {\n data = { ...data.body };\n }\n\n // Fetch options, default options are marked with *\n const response = await fetch(`${endpoint}${route}`, {\n method: \"POST\", // *GET, POST, PUT, DELETE, etc.\n mode: \"cors\", // no-cors, *cors, same-origin\n cache: \"default\", // *default, no-cache, reload, force-cache, only-if-cached\n credentials: \"same-origin\", // include, *same-origin, omit\n headers: {\n \"Content-Type\": \"application/json\",\n ...defaultHeader,\n ...header,\n },\n redirect: \"follow\", // manual, *follow, error\n referrerPolicy: \"no-referrer\", // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url\n body: JSON.stringify(data), // body data type must match \"Content-Type\" header\n });\n let json = await response.json();\n\n // eslint-disable-next-line\n if (response?.status == 200) {\n return json;\n } else {\n let error = new Error(json.error);\n error.name = response.status;\n throw error;\n }\n}\n\nexport async function getData(route = \"\", params = {}, headers) {\n // Finds endpoints and headers\n let endpoint = defaultEndpoint;\n let header = headers ? headers : defaultHeader;\n\n // TODO: Could be a problem for any \"GET\" queries that contain a query parameter thats an array (aside from \"expand[]\"), need to update\n\n // Converts existing api calls using the { queryStringParameter: {...params} } format to simply {...params}\n if (params?.queryStringParameters) {\n params = { ...params.queryStringParameters };\n }\n\n // Converts \"expand[]\" param into usable fetch string - pt 1\n let expandParams = \"\";\n if (params?.[\"expand[]\"] && Array.isArray(params?.[\"expand[]\"])) {\n expandParams = params[\"expand[]\"];\n delete params[\"expand[]\"];\n }\n\n // Creates url\n let newUrl = endpoint + route + `?${new URLSearchParams({ ...params })}`;\n\n // Converts \"expand[]\" param into usable fetch string - pt 2\n if (expandParams && expandParams !== \"\") {\n let tempString = expandParams.toString();\n tempString = tempString.replace(/,/g, \"&expand%5B%5D=\");\n tempString = \"&expand%5B%5D=\" + tempString;\n\n newUrl += tempString;\n }\n\n const apiData = await fetch(newUrl, {\n method: \"GET\",\n mode: \"cors\",\n cache: \"default\",\n headers: {\n \"Content-Type\": \"application/json\",\n ...header,\n },\n });\n\n let json = await apiData.json();\n\n // eslint-disable-next-line\n if (apiData?.status == 200) {\n return json;\n } else {\n let error = new Error(json.error);\n error.name = apiData.status;\n throw error;\n }\n}\n\nexport async function deleteData(route = \"\", data = {}, headers) {\n // Finds endpoints and headers\n let endpoint = defaultEndpoint;\n let header = headers ? headers : defaultHeader;\n\n // Converts existing api calls using the { body: {...body} } format to simply {...body}\n if (data?.body) {\n data = { ...data.body };\n }\n\n const apiData = await fetch(`${endpoint}${route}`, {\n method: \"DELETE\",\n headers: {\n \"Content-Type\": \"application/json\",\n ...header,\n },\n body: JSON.stringify(data),\n });\n\n let json = await apiData.json();\n\n // eslint-disable-next-line\n if (apiData?.status == 200) {\n return json;\n } else {\n let error = new Error(json.error);\n error.name = apiData.status;\n throw error;\n }\n}\n","import { getEnvironmentVariable } from \"../global/environmentVariables\";\nimport { postData } from \"./APIUtilities\";\n\nconst HOME_PAGE = getEnvironmentVariable(\"HOME_PAGE\");\nconst REDIRECT_DOMAIN = getEnvironmentVariable(\"REDIRECT_DOMAIN\");\n\nexport function urlParams() {\n var result = {},\n tmp = [];\n if (window.location.search) {\n var items = window.location.search.substr(1).split(\"&\");\n for (var index = 0; index < items.length; index++) {\n tmp = items[index].split(\"=\");\n result[tmp[0]] = decodeURIComponent(tmp[1]);\n }\n }\n return result;\n}\n\nexport async function redirectUrl(props) {\n let { redirect_uri, response_type } = urlParams();\n const responseType =\n response_type?.toLowerCase() === \"tokens\" ? \"tokens\" : \"code\";\n const { user, cognitoProps } = props;\n\n const _redirect_uri = localStorage.getItem(\"redirect_uri\");\n\n const refresh_token = cognitoProps?.refreshToken || \"\";\n const access_token = cognitoProps?.accessToken || \"\";\n const id_token = cognitoProps?.idToken || \"\";\n const username = user?.username || \"\";\n let exchange_token = null;\n\n if (!redirect_uri && _redirect_uri) {\n redirect_uri = _redirect_uri;\n } else if (!redirect_uri && HOME_PAGE) {\n redirect_uri = HOME_PAGE;\n } else if (!redirect_uri && REDIRECT_DOMAIN) {\n redirect_uri = REDIRECT_DOMAIN;\n } else if (!redirect_uri && !HOME_PAGE) {\n throw new Error(\"Missing redirect_uri\");\n }\n\n try {\n if (responseType === \"code\" && refresh_token) {\n const apiData = await postData(\"/users/storetoken\", {\n body: { refreshToken: refresh_token },\n });\n\n if (apiData) {\n exchange_token = apiData?.exchangeToken;\n }\n }\n } catch (err) {\n console.error(err);\n } finally {\n let urlString = `${redirect_uri}?username=${username}`;\n\n if (exchange_token) {\n urlString += `&exchange_token=${exchange_token}`;\n } else {\n urlString += `&access_token=${access_token}&id_token=${id_token}&refresh_token=${refresh_token}`;\n }\n\n const url = new URL(urlString);\n window.location.assign(url.toString());\n }\n}\n\nexport function findGetParameter(parameterName) {\n var result = null,\n tmp = [];\n if (window.location.search) {\n var items = window.location.search.substr(1).split(\"&\");\n for (var index = 0; index < items.length; index++) {\n tmp = items[index].split(\"=\");\n if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]);\n }\n }\n return result;\n}\n","import * as React from \"react\";\nimport {\n Button,\n Checkbox,\n FormControlLabel,\n FormHelperText,\n Grid,\n TextField,\n} from \"@mui/material\";\nimport { Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { CookieInfo } from \"../components/CookieInfo\";\nimport { CheckBoxLabel } from \"../components/CheckboxLabel\";\nimport { postNotification } from \"../../utils/Notifications\";\nimport { redirectUrl, urlParams } from \"../../utils/urlParams\";\nimport { postData } from \"../../utils/APIUtilities\";\nimport { getEnvironmentVariable } from \"../../global/environmentVariables\";\n\nconst { client_id, redirect_uri } = urlParams();\nconst showCookies = client_id && client_id.toLowerCase() === \"web-app\";\nconst HOME_PAGE = getEnvironmentVariable(\"HOME_PAGE\");\n\nexport async function signIn(userCredentials, setProcessing) {\n const { username, password } = userCredentials;\n\n try {\n setProcessing(true);\n\n if (!redirect_uri && !HOME_PAGE) throw new Error(\"Missing redirect_uri\");\n if (!username) throw new Error(\"Missing email\");\n if (!password) throw new Error(\"Missing password\");\n\n const userSignin = await postData(\"/users/signin\", {\n body: {\n username: username,\n password: password,\n },\n });\n\n await redirectUrl({\n user: { username },\n cognitoProps: userSignin,\n });\n return;\n } catch (err) {\n postNotification(\"error\", err);\n setProcessing(false);\n }\n}\n\nexport default function CognitoSignInForm({\n formState,\n updateFormState,\n setProcessing,\n}) {\n const onSubmit = async (values) => {\n updateFormState(values);\n await signIn(values, setProcessing);\n };\n\n return (\n \n {({\n errors,\n handleBlur,\n handleChange,\n handleSubmit,\n setFieldValue,\n touched,\n values,\n }) => (\n
\n \n \n {\n const trimmedString = e.target.value.trim().toLowerCase();\n setFieldValue(\"username\", trimmedString);\n }}\n />\n \n\n \n \n \n\n {showCookies ? (\n <>\n \n \n \n }\n label={\n \n }\n />\n\n {touched.cookies && errors.cookies && (\n {errors.cookies}\n )}\n \n \n ) : (\n <>\n )}\n\n \n \n \n \n
\n )}\n \n );\n}\n","var _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\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; }\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; }\nimport * as React from \"react\";\nfunction SvgGwlogo(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1343.02 1242.35\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1212.13-.47c-2.82,1.27-5.59,2.67-8.47,3.8-26.61,10.45-52.87,22-80,30.92-24,7.93-48.62,13.67-72.16,23.11-6.12,2.45-13.35,2.33-20.1,3-11.91,1.09-23.83,2-35.76,2.7-8.31.51-16.63.81-25,1-13.31.26-26.62.49-39.94.44-6.12,0-12.24-.69-18.35-1.15-3.48-.27-6.94-1.05-10.41-1q-132.11.85-264.3,1.85c-12.67.09-25.33-.13-38-.14l-346.45-.33q-65-.06-129.95,0c-7.32,0-14.64-.11-22,.06-5.34.12-6.71,1.76-6.68,7.09q.42,82.71.83,165.43.08,15.7,0,31.41a21.49,21.49,0,0,1-.53,4c-1.38,7.29-4.73,8-11,4a29.92,29.92,0,0,0-14-4.3c-12.24-.59-24.53-.2-37.89-.2-.41-8.5-1.41-18.09-1.25-27.65.63-36.12,1.82-72.23,2.44-108.35.37-21.63.31-43.27,0-64.9-.17-10.45-2.21-20.9-2-31.33.18-12.26,1.74-24.51,3-36.74.13-1.22,2.26-3.14,3.53-3.19,5.93-.27,12-.77,17.8.21C81.7,3.78,107.91.85,134.17-.23c9.43-.38,18.92.78,28.39,1.09,7.64.24,15.28.43,22.92.35Q228.41.78,271.34.12c28.14-.43,56.26-1.19,84.4-1.38C367.37-1.34,379,.18,390.64.16c21.45,0,42.89-.92,64.35-1,20.13-.07,40.26.46,60.39.74,7.49.11,15,.27,22.48.35,31.81.35,63.63.42,95.43,1.11,18.14.39,36.24,2.07,54.37,2.65s36.3,1.06,54.42.62C768.21,4,794.3,2.29,820.43,1.44,848.55.53,876.69-.33,904.83-.4c13.1,0,26.18,2.21,39.3,2.78C952,2.72,960,2,967.92,1.48c13.42-.94,26.8-2.69,40.23-3.08,17.62-.51,35.28-.35,52.91.11C1080.69-1,1100.3.91,1119.92.9c22.29,0,44.58-1.41,66.87-2.31,5.81-.23,11.6-1,17.42-1.22a64.33,64.33,0,0,1,7.73.52Z\",\n style: {\n fill: \"#1a1a18\"\n }\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1181.33,1145V1107.2c8.79.42,18.23-3.53,25.44,5.06,4.85,5.78,5.65,16.18,1.55,23.06C1202.24,1145.53,1192.44,1146.07,1181.33,1145Z\",\n style: {\n fill: \"#1a1a18\"\n }\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M378,1145V1107.2c8.82.53,18.75-3.84,25.68,5.47,5.25,7,5.56,15.09,1.3,22.62C399.13,1145.64,389.11,1146.09,378,1145Z\",\n style: {\n fill: \"#1a1a18\"\n }\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M653,1160.12H628.36l12.54-35C645.19,1137.46,649,1148.56,653,1160.12Z\",\n style: {\n fill: \"#1a1a18\"\n }\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M266,1126.8c3.8,11,7.59,21.91,11.52,33.27H252.83c4.08-11.39,8-22.4,12-33.41Z\",\n style: {\n fill: \"#1a1a18\"\n }\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1319.45,4c-21.43,5.45-42.6,12-64.15,16.92-19.78,4.45-39.21,9.38-58.51,16-45.88,15.74-92.43,29.64-139,43.33-18.1,5.33-37,8-55.45,12.13-3,.67-5.57,2.92-8.41,4.3a8.71,8.71,0,0,1-3.23.66c-3.13.19-6.37-.11-9.37.45-24.08,4.44-48.14,8.71-72.08,13.71-12.32,2.55-24.45,6.14-36.53,9.68-9,2.65-17.75,6.49-26.85,8.87-8,2.11-16.39,2.84-24.57,4.36-17.94,3.31-35.54,7.49-49.84,20-4,3.5-7.75,1.79-11.75-.94-2.32-1.59-5.79-2.88-8.42-2.43-8.67,1.49-17.25,3.61-25.76,5.9q-34,9.08-67.76,18.74c-3.18.91-6.73,2.84-8.64,5.39-3.26,4.35-7.1,4.94-11.75,4.17-2.63-.43-5.26-.87-7.84-1.53-7.53-1.92-14.6-1-21.93,1.76-10.25,3.83-20.8,7-31.39,9.83-5.66,1.5-11.69,1.65-17.39,2.4-1-2.53-2-4.17-2.33-5.94-1.23-6-2.15-12.15-3.36-18.15-1.26-6.22-2.35-6.93-8.54-5.39-14.53,3.63-29,7.62-43.53,11-25.76,6-51.6,11.6-77.41,17.37-9,2-10.63,5-7.38,13.78.74,2,1.67,4,2.46,6,1.16,2.94,2.46,5.86,3.34,8.86,1.14,3.87-.14,6.52-4.46,7.16-4.61.67-9.3,1.06-13.81,2.15Q381,240,358.33,246c-13.32,3.55-26.4,8.11-39.84,11.11-20.27,4.51-40.86,7.51-61.11,12.08-24.15,5.46-48.1,11.92-72.15,17.92-16.72,4.14-34,6.3-48.92,16.25-2.48,1.69-6.35,1.43-9.61,1.69-6.91.54-13.89.43-20.74,1.35-6.39.86-12.65,2.79-19,4.08-7.62,1.54-10.24-.41-11.39-8.2-1.39-9.37-3.37-10.35-12.6-7.94-18.82,4.91-37.72,9.5-56.63,14.08-5.46,1.33-6.07,2.12-4.75,7.41,5.48,21.94,11.13,43.85,16.26,65.85,6.19,26.57,11.77,53.28,18,79.84a26,26,0,0,0,6.29,10.89c3,3.27,4.89,6.4,4.4,11-.22,2,.66,4.14.9,6.23.19,1.38.59,3.09,0,4.15-2.59,4.67-1.78,9.37-.59,14.09,1,4.2,2.5,8.29,3.5,12.5C64.72,580.76,79,641.16,93.55,701.48c1.44,6,4.73,11.55,7.73,17,1.92,3.49,3.55,6.52,2.12,10.7-.59,1.77.19,4.07.41,6.07a31.25,31.25,0,0,1,.49,3.34c0,2.88-.75,5.89-.15,8.62,4.45,20.15,9.16,40.23,13.77,60.34,1.22,5.34,1.9,10.86,3.68,16,2.24,6.49,4,7,10.65,5.43q27.44-6.47,54.93-12.72c6.9-1.57,8.13-3.4,6.21-10.4-1.29-4.73.55-7.81,5.27-8.73,2.61-.51,5.31-.6,7.89-1.22,21.64-5.23,43.32-10.39,64.87-16,7.68-2,14.88-5.9,22.59-7.66,14.39-3.3,29-5.74,43.51-8.4,7.87-1.49,10.15-4.13,8.47-12-1.52-7.16-4.06-14.05-5.77-21.16-1.51-6.25-2.66-12.6-3.66-19-.68-4.21-.91-8.49-1.24-12.75-.3-3.92-1.26-8-.52-11.74,2.23-11.25,5.28-22.33,7.77-33.52,5.36-24.18,14.77-46.92,24.77-69.43A51.7,51.7,0,0,1,375,572.4c2.87-3.4,6.63-5.95,9.87-9q15.07-14.14,30-28.45c4-3.92,7.76-8.17,11.87-12,3.1-2.88,6.21-6.52,10-7.79,12.59-4.21,25.42-7.73,38.28-11.07,10.67-2.78,11.31-2.19,13.76,8.11l74.77,314.3q3.42,14.54,7.28,29c.83,3,2.62,4.4,6.39,3,5.59-2,8.24-.42,10.38,5.3a73,73,0,0,1,2.85,10.06c3.07,13.92,5.76,28,9.19,41.92,1,3.95,3.12,8.63,6.24,10.83,5.73,4.05,6.28,8.65,5.19,14.72-.74,4.34-1.67,9.07-.74,13.23,5.62,25,11.74,49.87,17.62,74.81,1.2,5.1,2.07,10.22,3.25,16.1H592.33c-44.35-.1-88.68-.31-133-.31q-168.51-.09-337,0c-6.45,0-13,.83-19.45.89-6.89.07-8.29-1.37-8.23-8.17,0-6.36.74-12.67.74-19,.1-39.49,0-79,.17-118.49,0-13.64.43-27.29.71-40.93.23-11.58,2.43-23.31-2.91-34.45-.43-.89.06-2.63.72-3.56,3-4.37,2.81-9.09,1.81-13.91-1.44-6.7-3.22-13.29-4.44-20-3-16.21-4.72-32.7-8.72-48.64C76.19,712.83,68.08,687.13,61,661.13c-5.55-20.33-11.59-40.46-14.35-61.6-1.91-14.71-8.18-28.85-12.5-43.24l-2.21.37c-.34,3.41-1,6.82-.94,10.23.32,17.81.86,35.62,1.26,53.43.15,6.33,0,12.67.15,19,.44,16.48,2.08,33,1.26,49.42-1.37,27.46-2.36,54.86-1.55,82.37.73,24.81.16,49.66.16,74.48,0,16.31.12,32.62.12,48.92,0,11-.8,22,.12,32.89.94,11.43,2.06,22.66.94,34.22-1.24,12.73-1.23,25.62-1.12,38.43.38,42.31,1.24,84.62,1.53,126.93.22,31.48-.16,63-.27,94.48v19c11,0,21.56-.06,32.17,0,35.95.2,72,.67,108,.54,14-.06,27.89-2.19,41.89-2.06,40,.36,79.89,1.86,119.89,2.06,49.65.26,99.3-.18,149-.64,17.47-.16,34.93-1.38,52.4-1.94,14.3-.46,28.64-1.33,42.92-.84,21.6.75,43.17,3.51,64.76,3.62,27,.14,53.88-2.12,80.88-2.27,33.64-.18,67.28.91,100.93,1.15,51.47.37,103,.47,154.47.71,18.82.08,37.65.22,56.48.32q115.93.65,231.94,1.24c7.77,0,9.49-2.28,7.37-9.9-1.3-4.79-3.86-9.51-4-14.32-.57-20.45-1.19-41-.57-61.39.86-28.11,3.24-56.17,4.13-84.28.56-18-.37-36-.69-54-.44-27.15-1.1-54.29-1.44-81.44-.26-22.63-.65-45.28-.26-67.91.32-19,2.53-37.91,2.38-56.85-.43-57.12-1.92-114.24-2.33-171.36-.15-20.61,2.08-41.23,2.38-61.86.44-29.5.17-59,.08-88.5,0-7.31.72-14.91-1-21.86-5-20.1-3.19-40.1-1.19-60.1,2.65-26.12,3.24-52.31-.29-78.25-3.77-27.44-3.77-54.73-1.77-82.22.7-9.71-.09-19.57-.84-29.31-.36-4.55-3.87-5.5-6.87-2-2.78,3.26-4.8,7.16-7.11,10.8-6.56,10.39-12.94,20.89-19.69,31.15-6.15,9.32-12.69,18.36-19,27.57a44,44,0,0,0-7.63,25.88q.33,74.24.39,148.48l.18,314q.08,77,.16,154v3.5q.71,53.48,1.27,106.93c.06,6-1.94,7.31-8.66,7-9.15-.42-18.3-.86-27.45-.94-13.16-.12-26.33.11-39.49.11h-384c-11.26,0-12.59-1-16-12a31.69,31.69,0,0,1-1-3.86c-1.8-10.48-3.09-21.1-5.42-31.48C719.16,946,707.07,894.2,695.42,842.2c-2.26-10.07-2.84-9.39,7.43-12.89,3.13-1.08,4.45-2.54,4-5.69-.28-2-.44-4-.91-5.92-3.83-15.84-7.8-31.65-11.58-47.5q-31.75-133.58-63.65-267.08c-2.24-9.4-5-18.64-7.34-28-.37-1.49.46-3.28.74-4.92l4.44,1.43c3.4,1.16,6.72,2.91,10.2,3.35,4.08.51,8.31-.33,12.46-.19a167.37,167.37,0,0,1,18.72,1.29,88.89,88.89,0,0,1,15.91,4A79.73,79.73,0,0,1,698.09,486c3.86,2.15,7.23,5.57,11.31,6.87,18.82,6,37.81,11.44,56.73,17.12,5.58,1.68,11,4,16.69,5.11a64.28,64.28,0,0,1,26.83,12.62c6.33,4.85,13.58,7.32,21.48,8.76,6.11,1.11,12,3.57,17.87,5.89,9.39,3.75,18.59,7.95,27.93,11.83,6.14,2.55,12.35,4.93,18.56,7.28,7.1,2.68,14.21,5.32,21.36,7.84,6.56,2.32,13.93,3.26,19.56,6.94,9,5.84,18.59,9.24,28.46,12.84,16.43,6,32.31,13.2,48.43,19.89,9.76,4.06,12.38,3.42,17.9-5.8,6.32-10.56,12.09-21.46,18.32-32.07,3.09-5.26,5.28-10.29,1.62-16.21-.91-1.48-1-3.46-1.63-5.77,6.07.61,10.8-1.51,14.07-6.24,7.73-11.24,15.8-22.29,22.88-33.93,8.46-13.91,4.17-21.62-12.13-21.62a180.11,180.11,0,0,1-44-5.06c-16.79-4.12-33.66-8.65-51.14-3.12-1,.32-3.23-1.25-4-2.49a27.08,27.08,0,0,0-17.43-12.46c-9.83-2.35-19.83-4.23-29.83-6-23.25-4.14-46.57-7.95-69.8-12.22-9.91-1.82-19.15-6.38-29.67-6.15-7.86.17-15.82-1.08-23.64-2.34-5.56-.91-10.66-1.41-15.92,1.48s-8.06,1.32-12.26-2.68c-4.86-4.62-10.13-9.45-16.13-12-7.54-3.17-16.07-4-24.07-6.17a252.33,252.33,0,0,1-24.63-7.8c-4.58-1.78-4.37-4.92.19-6.78a20.27,20.27,0,0,1,9.14-1.48c7.44.64,14.82,1.92,22.24,2.92,7.89,1.09,15.82,1.77,23.66,3.09,10.31,1.74,20.51,4.19,30.83,5.83,8.65,1.39,17.51,1.59,26.12,3.15,12.64,2.35,25.16,5.65,38,2,4.43-1.26,7.91-.14,11.81,1.86a46.21,46.21,0,0,0,13.4,4.67c12.61,2.14,25.3,3.87,38,5.39,6.74.8,13.69,1.85,20.31,1,10.7-1.39,20.83-.06,31,2.94,9.65,2.87,19.59,4.62,29.59,3,9.53-1.53,18.64-.15,27.53,2.85,14.23,4.86,28.52,9,43.74,9.23a64.34,64.34,0,0,1,14.38,1.45c14.51,3.56,26-1.29,35.1-12.29a119.84,119.84,0,0,0,25.66-56.1c1.28-7.27,3.57-13.77,8.75-19.16a111.34,111.34,0,0,0,8.25-9.38,29.15,29.15,0,0,0,4.36-7.72c1.32-3.69-.38-6.21-4.3-6.79a19.47,19.47,0,0,0-6-.06c-10.64,1.89-21.29,3.69-31.86,5.89-9.89,2.06-19.52,3.19-29.58.19-4.7-1.41-10.24-.88-15.24-.25-5.58.71-11,2.86-16.53,3.78-3.51.57-7.73,1.2-10.73-.19-12.29-5.72-24.91-4.85-37.72-3.42-12.32,1.38-24.55,1.26-36.77-1.38-8.61-1.86-17.24-2.91-26.24-1.22-5.77,1.09-11.82.46-17.82.54-7.44.09-14.88-.09-22.31.22-8.59.36-17.3,2.39-25.72,1.45a177.28,177.28,0,0,0-41.82.21c-14.85,1.85-29.71,3.69-44.8,1.59-5.12-.71-10.52.56-15.8.92-2.79.19-5.49.31-8.38.56s-5.85.26-8.6,1.25-4.38.54-6.69-1.2a22.71,22.71,0,0,0-8.69-3.6c-3.21-.71-6.63-.42-9.93-.78-14-1.56-28-4.06-42.26-2.41a26,26,0,0,1-7.91-.79c-3.52-.7-4.36-3.34-1.52-5.14,3.62-2.29,8-4.49,12.1-4.72,9.78-.57,19.64.41,29.44.11,18.14-.54,36.25-1.93,54.39-2.28,39.61-.77,79.2-1.33,118.3-8.84,4.21-.81,7.47-1.9,9.42-6.21s4.48-4.64,7.31-.95c2.61,3.36,5.61,4.06,9.61,3.79,15.28-1,30.57-2.55,45.85-2.55,36.9.05,73.47-3.69,110.07-7.75,26.11-2.89,52.2-6.71,78.64-4.29,3.38.31,7.85-.27,10.38-2.27,8.17-6.43,15.41-13.71,15.56-25.43.14-10.05,4.57-17.36,14.67-20.87,9.47-3.26,15.52-10.44,19-19.44a153.36,153.36,0,0,1,20.6-36.92,28.44,28.44,0,0,0,4-6.87c1.44-3.89,2.93-7.89,3.33-11.89.53-5.56-2.38-7.93-8-7.36a63.47,63.47,0,0,0-8.88,1.35c-12.59,3.09-25,6.84-37.75,9.36-19.7,3.94-40.12,4.11-59,11.94a5.36,5.36,0,0,1-1.49.21c-24.53,2.3-49.07,4.55-73.6,6.92-32.21,3.11-64.07,7.88-94.49,19.78a21.6,21.6,0,0,1-11.65.8,49.28,49.28,0,0,0-21.75.11c-17.49,4.07-34.94,8.43-52.56,11.89-15,3-30.11,5.23-44,12.33-2.24,1.16-5.47.59-8.24.59-5.46,0-11.07-.95-16.35,0-30.3,5.44-60.46,11.66-90.79,16.92-17.15,3-34.54,4.62-51.82,6.86l-.54-2.43c2.74-1,5.42-2.14,8.21-2.89,25.07-6.71,50.08-13.65,75.25-19.95,35.81-9,71.78-17.29,107.57-26.17q55.23-13.83,110.23-27.7l127.57-33c16.56-4.29,33-9.51,49.73-12.63,16.21-3,32.39-5.39,48-11.31C1219,129,1233.38,124.2,1249,124.9c5.1.23,10.6-1.43,15.39-3.43a173.07,173.07,0,0,0,21.15-11,22.26,22.26,0,0,0,7.79-7.49,238.23,238.23,0,0,0,12-23.5c9.91-22.51,17.67-46,32.91-65.88a25.43,25.43,0,0,0,3.48-6.6c.7-1.91.77-4,1.29-7C1334.45,1.42,1326.8,2.13,1319.45,4ZM210.76,1115.34c-1.16,3.87-2.27,7.77-3.43,11.64-.3,1-.59,2-.9,3-7.64,24.44-15.27,48.89-23.07,73.28a5,5,0,0,1-3.58,2.84c-.66,0-1.33.06-2,.09-4.15.19-8.37,0-12.89,0q-2.91-9.71-5.81-19.39c-4.22-14.08-8.47-28.25-12.87-43l-1.17-3.91c-.38,1-.71,1.87-1,2.64-.56,1.46-1,2.57-1.33,3.62l-.15.48c-5.7,18.61-11.45,37.21-16.93,55.88-.9,3.06-2.27,3.94-5.2,3.74a30.6,30.6,0,0,0-3.18,0c-2.77.14-5.64.46-7.94,0a6.2,6.2,0,0,1-2.42-1c-2.88-2.06-2.89-8.1-4.21-12.38-9-29.22-18-58.47-27.2-87.65A91.07,91.07,0,0,0,69.7,1092c-.86-1.7-2.31-4-3.86-4.3a9.33,9.33,0,0,1-3.09-1.22c-3.36-2.19-2.29-6.15-2.14-10.07h46.75v8.47h0c-.38.25-.63.59-.93.59-6.35.94-8.76,2.22-8.59,6.37a23.92,23.92,0,0,0,1,5.21c4.26,15.56,8.83,31,13.35,46.53.39,1.36.79,2.71,1.19,4.07,1.16,3.92,2.35,7.87,3.58,12s2.56,8.49,3.93,13.08c1.16-2.92,1.92-4.58,2.47-6.31.44-1.4.89-2.8,1.34-4.19,2.89-9.11,5.81-18.22,8.64-27.35,1.21-3.93,2.41-7.85,3.58-11.79a15.89,15.89,0,0,0,.53-4.28,15.48,15.48,0,0,0-.63-4.27c-1.94-6.53-4.53-12.86-6.81-19.29-1.18-3.34-2.73-6.28-5.45-8l-.15-.1c-.19-.12-.39-.23-.59-.33l-.21-.12a11.61,11.61,0,0,0-3.89-1.11h0v-9H166.1V1085h0c-7.68,1.71-10.55,2.46-10.65,6-.06,1.89.65,4.56,1.82,8.54,7,23.92,14.4,47.71,21.64,71.56h1.47c2.73-8.54,5.53-17.06,8.16-25.63,4.68-15.26,9.48-30.5,13.81-45.87a51.52,51.52,0,0,0,1.22-5c1-6.06-1.31-7.22-10-9a14.29,14.29,0,0,1-1.65-.62v-8.56h37.27c.07.26.13.5.2.74.75,2.81.9,4.44.34,5.8,0,0,0,0,0,0s-.08.16-.12.24a9.8,9.8,0,0,1-2.39,2.75c-.61.55-1.31,1.14-2.13,1.85a34.59,34.59,0,0,0-9.43,13C213.76,1105.66,212.21,1110.48,210.76,1115.34Zm111.17,90.54h0v0H278.62v-9.23l0,0h0l.15-.11a1.71,1.71,0,0,1,.4-.28.5.5,0,0,1,.2-.08c4.09-.71,6.41-1.14,7.5-2.15,1.37-1.3.72-3.56-.86-8.55-4.15-13.08-4.15-13.08-18.06-13.08-5.34,0-10.69-.21-16,.13a5.88,5.88,0,0,0-3.42,1.74,5.81,5.81,0,0,0-.79,1A100.47,100.47,0,0,0,243.4,1188c-1.73,6-1.22,6.66,5.2,7.71.82.13,1.61.36,2.61.59v9.53h0v0h-32.4v-9.58h0v0a9.45,9.45,0,0,0,4.09-.94c3.62-1.83,5.09-6,6.57-10,10.36-28.26,20.76-56.5,30.82-84.85a10.06,10.06,0,0,1,2.34-4.1c1.24-1.17,2.9-1.57,5.4-1.28,3.61.45,7.31.12,11,.12,5.86,16.85,11.57,33.5,17.45,50.09,4.84,13.63,9.89,27.18,14.87,40.76,1.63,4.45,3.38,8.76,8.88,9.86.71.14,1.57,1.6,1.65,2.51C322.08,1200.86,321.93,1203.34,321.93,1205.88Zm120.48.06c-9.52,0-18.94.13-28.35-.16-1.26,0-2.79-2-3.62-3.48q-11.93-20.44-23.73-41c-1.79-3.13-3.69-6-8.39-5.58v27.71c.4,11,.4,11,11.33,12.3.64.08,1.28.28,2.35.52.09,1.58.26,3.29.26,4.77v4.71H341.52v-9.4a10.91,10.91,0,0,1,2-.59c12.18-.85,11.35-1,11.59-13.51.38-19.42-.09-39-.21-58.42v-3c0-13.49,0-13.49-13.39-16v-9.17c6.71,0,13.15.08,19.59,0,13.15-.17,26.29-.46,39.44-.62a42,42,0,0,1,8,.5c13.42,2.43,21.3,10.24,22.84,22.24,1.88,14.71-3.48,25.36-15.88,31.36-2.37,1.15-4.86,2.06-8.13,3.44,8.43,13,16.47,25.9,25.16,38.36,2,2.81,6.14,4.06,9.88,6.4Zm81.6-.14v-9.43a9.54,9.54,0,0,1,1.8-.61c11-1.32,11.16-1.31,11.46-12.18.25-9.29.05-18.58.05-28.14h-37c0,11.94-.14,23.83.19,35.72,0,1.36,2.57,3.23,4.3,3.82,2.45.8,5.22.68,8.16,1v9.71H463v-9.4a9,9,0,0,1,1.95-.59c11.35-.82,10.85-.72,11-12.82.27-23.31.24-46.62.38-69.93,0-4.12-1.6-6.65-6-7-2.48-.16-4.88-.63-7.48-1v-9.42h49.73v9.14c-.17.13-.42.5-.68.5-11.79.34-12.43,5.54-12.43,14.34v22.3h37.72v-20c0-.83-.22-1.66-.22-2.49-.51-12.44-.51-12.44-13-14.44v-9.43H573.6v9.23a3.13,3.13,0,0,1-.87.5c-11.39,2.07-12.26,2.9-12.26,14.43q-.09,32,.17,64c.09,10.93.24,10.93,11,12.09.82.08,1.62.31,2.62.51l.06,9.59Zm620.67-110.48h9.76q24.54-.19,49-.31a50.51,50.51,0,0,1,7.48.35c13.58,2,22,9.94,23.58,22.06,2,15.27-3.61,26.25-16.38,32-2.25,1-4.54,1.92-7.39,3.13,8.08,12.61,15.69,25.12,24,37.12,2.25,3.25,6.58,5.07,10.68,8.07l0,8.29c-9.45,0-18.73.14-28-.16-1.28,0-2.85-2-3.68-3.4-8-13.65-15.84-27.37-23.7-41.09-1.8-3.14-3.73-6-8.55-5.68v26.19c0,.49.09,1,.09,1.49.43,11.19.43,11.18,11.29,12.39.66.08,1.26.25,2.26.43v9.53h-50.36v-9.43a16.41,16.41,0,0,1,2.3-.56c11.27-1.18,11.38-1.17,11.38-12.74,0-23.34-.08-46.67,0-70,0-4.27-1.71-6.6-6-7-2.48-.23-5-.6-7.74-1Zm-112,.2h87.67V1127c-4.34,0-8.77.1-13.18-.1a3.82,3.82,0,0,1-2.32-2,18.92,18.92,0,0,1-.94-3.86c-4.28-16.66-1.2-12.51-17.55-13.66a68.06,68.06,0,0,0-13,.44c-1.34.17-3.51,2.14-3.51,3.33-.29,9.76-.17,19.57-.17,29.76l36.36,0v14.16h-36.16c0,11.77-.15,23.17.2,34.56,0,1.3,2.82,3.51,4.42,3.6a199.27,199.27,0,0,0,22.4,0c1.73-.1,3.94-2.37,4.73-4.17,2.48-5.56,4.39-11.42,6.66-17.56l16,2.39c-1.58,10.84-3.09,21.15-4.63,31.76h-86.87v-9.41c1-.19,2.12-.47,3.23-.58,9.66-1,10.15-1,10.25-10.74.19-19.15-.11-38.3-.17-57.45,0-4.15,0-8.32.23-12.47.34-6.77-.83-8.32-7.41-9.2-2-.27-4-.46-6.24-.72Zm-158.31,100.9c13.32-2.66,10.89-3.86,11.59-14.21,1.42-22.26,2.47-44.55,3.6-66.83.41-8.17.33-8.17-7.59-9.31-1.47-.21-2.91-.56-4.71-.92-.09-1.77-.24-3.53-.24-5s.14-2.93.25-4.93c12.66,0,25.11-.11,37.54.18,1.13.07,2.7,2.47,3.21,4.07,6.94,21.7,13.72,43.45,20.58,65.17.95,3,2.16,5.92,3.67,10,1-2.49,1.72-4.05,2.26-5.66,7.8-23.18,15.63-46.34,23.27-69.57,1.06-3.22,2.42-4.39,5.92-4.31,11.45.26,22.9.1,34.54.1v9.71c-14,2.32-13.05-1.06-12.45,14.94.85,22.46,2.5,44.88,3.85,67.31.21,3.53.35,7,5.07,7.92,8.24,1.59,8.29,1.84,6.69,10.78H964.3v-9.58c1.13-.22,2.23-.5,3.35-.63,8-1,8.88-1.7,8.61-9.58-.64-19-1.52-37.89-2.34-56.89a4.65,4.65,0,0,0-1.55-3.32c-3.28,9.87-6.62,19.71-9.82,29.6-5,15.51-10,31-14.77,46.62-1,3.14-2.45,4-5.61,4-13.64,0-13.64.06-17.64-12.82q-9.49-30.48-19.06-60.94a15.76,15.76,0,0,0-3.11-5.94c-.58,10.46-1.24,20.92-1.72,31.39-.47,9.45-.81,19-1,28.45-.17,7.62.31,8,7.83,9.24,1,.16,1.92.45,3.2.76.1,1.69.25,3.45.26,4.92s-.12,2.95-.2,4.65H874.34Zm-157.84.4c.27-.24.47-.59.74-.65,10.54-2.53,10.53-2.67,11.07-14q1.61-33.42,3.38-66.82c.43-8.24.56-8.22-7.44-9.35-1.48-.21-2.94-.59-4.68-.94v-9.6H758.7l24.77,78.08,1.76.15,26.28-78.3,38.86.07v9.42c-12.62,2.23-12.91,2.24-12.33,14.49,1.07,22.61,2.61,45.2,3.74,67.8.28,5.49,2.39,8.09,8.1,8.31,5.1.2,5.23,1,3.94,10.35H806.58v-9.36c.57-.26.86-.53,1.17-.53,11.27-.41,11-2.5,10.68-12.69-.58-18-1.41-35.89-2.17-53.89a5,5,0,0,0-1.69-3.45c-3.36,10.17-6.79,20.32-10.07,30.52-4.83,15-9.64,30.09-14.25,45.19-1.06,3.47-2.74,4.54-6.36,4.54-13.1-.16-13.11,0-17-12.42q-9.67-30.95-19.39-61.87a14,14,0,0,0-3.07-5.66q-1.14,23.05-2.14,46.13c-.21,4.82-.33,9.65-.33,14.47,0,7,.49,7.57,7.31,8.65,1.14.18,2.26.5,3.68.82v9.54H716.5Zm-74.44-101.69c4.12.36,8.29.08,12.42.08,6.34,18.16,12.5,36,18.83,53.87,4.45,12.54,9.14,25,13.69,37.49,1.79,4.94,4.32,9.06,10.26,9.63v9.49h-43.4v-8.89c.21-.18.43-.57.69-.57,9.43-1.37,10.25-1,6.68-11.84-1.29-3.94-2.7-7.85-4.16-12.06-10,0-20-.11-30,.13-1.3,0-3.15,1.6-3.71,2.91a107.32,107.32,0,0,0-4.31,12.22c-1.82,6.11-1.09,7.11,5.32,8.11.65.1,1.28.31,2.37.59l0,9.51H594.33v-9.6c6.75.12,8.64-5.33,10.54-10.5q15.89-43,31.38-86.25C637.37,1096.33,638.51,1094.81,642.06,1095.13Z\",\n style: {\n fill: \"#1a1a18\"\n }\n }));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgGwlogo);\nexport default __webpack_public_path__ + \"static/media/gwlogo.f7263445.svg\";\nexport { ForwardRef as ReactComponent };","import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faUserGroup,\n faIdCardClip,\n faUserPlus,\n faUser,\n faMagnifyingGlass,\n faGear,\n faTag,\n faSquarePlus,\n faHouse,\n faCircleCheck,\n faEllipsis,\n faEllipsisVertical,\n faXmark,\n faLocationDot,\n faGlobe,\n faHandshake,\n faIdBadge,\n faUsers,\n faUsersViewfinder,\n faTrophy,\n faPen,\n faWrench,\n faCircleInfo,\n faCircleQuestion,\n faCircleUser,\n faUserGear,\n faEnvelope,\n faUserMagnifyingGlass,\n faCircleXmark,\n faFloppyDisk,\n faEye,\n faPlus,\n faMinus,\n faLockKeyhole,\n faTriangleExclamation,\n faArrowLeftToLine,\n} from \"@fortawesome/sharp-solid-svg-icons\";\n\nimport {\n faLockKeyhole as faLockOutline,\n faLockKeyholeOpen as faLockOpenOutline,\n} from \"@fortawesome/sharp-regular-svg-icons\";\nimport { SvgIcon } from \"@mui/material\";\n\nimport { ReactComponent as GWLogo } from \"./gwlogo.svg\";\n\nconst defaultSize = 22;\n\nexport function GWWarhammerIcon(props) {\n return (\n \n \n \n );\n}\n\nexport function BCPArrowLeftToLine(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPCircleCheck(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPCircleInfo(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPCircleQuestion(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPCircleUser(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPCircleXmark(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPEllipsis(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPEllipsisVertical(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPEnvelope(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPEye(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPFloppyDisk(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPHandshake(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPHouse(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPGear(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPGlobe(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPIdBadge(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPIdCardClip(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPLocationDot(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPLockKeyhole(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPLockOutline(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPLockOpenOutline(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPMinus(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPPen(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPPlus(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPSearch(props) {\n const { sx, style, ...rest } = props;\n const size = 18;\n\n return (\n \n );\n}\n\nexport function BCPSquarePlus(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPTag(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPTriangleExclamation(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPTrophy(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPUser(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPUserGear(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n\nexport function BCPUsers(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPUsersViewfinder(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPUserGroup(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPUserMagnifyingGlass(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPUserPlus(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPWrench(props) {\n const { sx, style, ...rest } = props;\n return (\n \n );\n}\n\nexport function BCPXmark(props) {\n const { sx, style, ...rest } = props;\n\n return (\n \n );\n}\n","import { Button } from \"@mui/material\";\nimport { getData } from \"../../utils/APIUtilities\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faFacebook, faGoogle } from \"@fortawesome/free-brands-svg-icons\";\nimport { GWWarhammerIcon } from \"../../utils/icons/BCPIcon\";\n\nconst AUTH_HOSTED_UI = `https://${window.location.host}/`;\n\nasync function loginToOIC(_scope) {\n const { scope, responseType, identity_provider } = _scope;\n\n let redirectUrl = `${AUTH_HOSTED_UI}oauth2/idpresponse`;\n\n const url = await getData(\"/users/oicurl\", {\n queryStringParameters: {\n provider: identity_provider,\n redirect_uri: redirectUrl,\n responseType: responseType.toUpperCase(),\n scope: scope.join(\" \"),\n },\n });\n\n window.location.assign(url);\n}\n\nexport function oidButtonSX(identity_provider) {\n return identity_provider === \"GamesWorkshop\"\n ? {\n backgroundColor: \"#fbca1b\",\n borderColor: \"#181a1c\",\n color: \"#181a1c\",\n \"&:hover\": {\n backgroundColor: \"#E2B618\",\n },\n }\n : identity_provider === \"Google\"\n ? {\n backgroundColor: \"#4285F4\",\n color: \"#FFF\",\n \"&:hover\": {\n backgroundColor: \"#3f7ce8\",\n },\n }\n : identity_provider === \"Facebook\"\n ? {\n backgroundColor: \"#4267b2\",\n color: \"#FFF\",\n \"&:hover\": {\n backgroundColor: \"#2955ad\",\n },\n }\n : {};\n}\n\nexport default function OICLoginButton({ setProcessing, oic_scope }) {\n const buttonSX = oidButtonSX(oic_scope?.amplify?.identity_provider);\n return (\n {\n setProcessing(true);\n await loginToOIC(oic_scope?.amplify);\n }}\n startIcon={\n oic_scope?.amplify?.identity_provider === \"Google\" ? (\n \n ) : oic_scope?.amplify?.identity_provider === \"Facebook\" ? (\n \n ) : oic_scope?.amplify?.identity_provider === \"GamesWorkshop\" ? (\n \n ) : null\n }\n >\n {oic_scope?.amplify?.identity_provider === \"GamesWorkshop\"\n ? \"Continue with My Warhammer\"\n : oic_scope?.amplify?.identity_provider === \"Google\" ||\n oic_scope?.amplify?.identity_provider === \"Facebook\"\n ? `Continue with ${oic_scope?.amplify?.identity_provider\n .replace(/([A-Z])/g, \" $1\")\n .trim()}`\n : oic_scope?.amplify?.identity_provider ||\n (oic_scope?.type === \"auth0\"\n ? \"Auth0\"\n : oic_scope?.type === \"lfgnexus\"\n ? \"LFG Nexus\"\n : \"Open ID Connect\")}\n \n );\n}\n","import { Avatar, Box, Typography } from \"@mui/material\";\nimport { BCPLockOutline } from \"../../utils/icons/BCPIcon\";\n\nexport const AuthHeader = ({ text, subTitle }) => {\n return (\n \n \n \n \n \n {text}\n \n {Boolean(subTitle) && (\n \n {subTitle}\n \n )}\n \n );\n};\n\nexport const AuthSubHeader = ({ text }) => {\n return {text};\n};\n","import { Box, Divider, Grid, Typography } from \"@mui/material\";\nimport { scope } from \"../environments\";\nimport CognitoSignIn from \"./cognito/CognitoSignInForm\";\nimport OICLoginButton from \"./cognito/OICLoginButton\";\nimport { AuthHeader } from \"./components/Headers\";\n\nexport default function SignIn({ formState, updateFormState, setProcessing }) {\n const _scope = scope();\n const hasOIC = _scope?.filter((s) => s.type !== \"cognito\")?.length > 0;\n\n return (\n \n \n\n \n {hasOIC && (\n <>\n {_scope\n ?.filter((s) => s.type !== \"cognito\")\n .map((oic_scope, index) => (\n \n \n \n ))}\n \n \n \n \n \n \n or\n \n \n \n \n \n \n \n )}\n\n \n Sign in with your username and password\n \n\n \n \n \n \n \n );\n}\n","import { Link, Typography } from \"@mui/material\";\nimport { getEnvironmentVariable } from \"../../global/environmentVariables\";\nconst REDIRECT_DOMAIN = getEnvironmentVariable(\"REDIRECT_DOMAIN\");\nconst COMPANY_NAME =\n getEnvironmentVariable(\"COMPANY_NAME\") || \"Best Coast Pairings\";\n\nexport default function Copyright(props) {\n return (\n \n {\"Copyright © \"}\n \n {COMPANY_NAME}\n {\" \"}\n {new Date().getFullYear()}\n {\".\"}\n \n );\n}\n","import { Grid, Link, Typography } from \"@mui/material\";\nimport { getEnvironmentVariable } from \"../../global/environmentVariables\";\nconst REDIRECT_DOMAIN = getEnvironmentVariable(\"REDIRECT_DOMAIN\");\n\nexport const AgeInfo = ({ siteTitle }) => {\n return (\n \n \n In order to use the Website or Services provided by {siteTitle} you must\n be 13 years of age or older. By submitting your information, you confirm\n that you are over 18 years of age, or if you are between 13 and 18 years\n of age, you have your parent or legal guardian's permission to use our\n Website or Services. Please review our{\" \"}\n \n Privacy\n {\" \"}\n and{\" \"}\n \n Website Terms of Use\n {\" \"}\n for more information.\n \n \n );\n};\n","import * as React from \"react\";\nimport {\n Button,\n Checkbox,\n FormControlLabel,\n FormHelperText,\n Grid,\n TextField,\n} from \"@mui/material\";\nimport { Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { AgeInfo } from \"../components/AgeInfo\";\nimport { CheckBoxLabel } from \"../components/CheckboxLabel\";\nimport { postNotification } from \"../../utils/Notifications\";\nimport { postData } from \"../../utils/APIUtilities\";\n\nexport async function signUp(\n userCredentials,\n updateFormState,\n setProcessing,\n updateFormType\n) {\n const { password, email, firstName, lastName, policy } = userCredentials;\n const username = userCredentials?.username || userCredentials?.email;\n try {\n setProcessing(true);\n\n if (!email) throw new Error(\"missing email\");\n if (!firstName) throw new Error(\"missing firstName\");\n if (!lastName) throw new Error(\"missing lastName\");\n if (!password) throw new Error(\"missing password\");\n if (!policy) throw new Error(\"missing policy\");\n\n updateFormState(userCredentials);\n\n let body = {\n firstName: firstName.trim(),\n lastName: lastName.trim(),\n username: username.trim(),\n email: email.trim(),\n password: password,\n };\n await postData(\"/users\", { body });\n\n postNotification(\"success\", \"sign up success!\");\n updateFormType(\"verify\");\n } catch (err) {\n postNotification(\"error\", err);\n } finally {\n setProcessing(false);\n }\n}\n\nexport default function CognitoSignUpForm({\n formState,\n updateFormState,\n setProcessing,\n updateFormType,\n}) {\n const onSubmit = async (values) => {\n await signUp(values, updateFormState, setProcessing, updateFormType);\n };\n\n return (\n \n {({\n errors,\n handleBlur,\n handleChange,\n handleSubmit,\n setFieldValue,\n touched,\n values,\n }) => (\n
\n \n \n {\n const trimmedString = e.target.value.trim().toLowerCase();\n setFieldValue(\"email\", trimmedString);\n }}\n />\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n }\n label={\n \n }\n />\n\n {Boolean(touched.policy && errors.policy) && (\n {errors.policy}\n )}\n \n\n \n \n \n \n
\n )}\n \n );\n}\n","import { Box, Divider, Grid, Typography } from \"@mui/material\";\nimport { scope } from \"../environments\";\nimport CognitoSignUp from \"./cognito/CognitoSignUpForm\";\nimport OICLoginButton from \"./cognito/OICLoginButton\";\nimport { AuthHeader } from \"./components/Headers\";\n\nexport default function SignUp({\n formState,\n updateFormState,\n updateFormType,\n setProcessing,\n}) {\n const _scope = scope();\n const hasOIC = _scope?.filter((s) => s.type !== \"cognito\")?.length > 0;\n return (\n \n \n\n \n {hasOIC && (\n <>\n {_scope\n ?.filter((s) => s.type !== \"cognito\")\n .map((oic_scope, index) => (\n \n \n \n ))}\n \n \n \n \n \n \n or\n \n \n \n \n \n \n \n )}\n\n \n Sign up with a new account\n \n \n \n \n \n \n );\n}\n","import * as React from \"react\";\nimport { Button, Grid, TextField } from \"@mui/material\";\nimport { Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { postNotification } from \"../../utils/Notifications\";\nimport { postData } from \"../../utils/APIUtilities\";\n\nexport async function verifySignUp(verifyInfo, setProcessing, updateFormType) {\n const { username, verifyCode } = verifyInfo;\n\n if (!(username && verifyCode)) {\n postNotification(\"error\", \"Missing required fields\");\n return;\n }\n\n setProcessing(true);\n\n try {\n await postData(\"/users/confirmsignup\", {\n body: {\n email: username,\n verificationCode: verifyCode,\n },\n });\n postNotification(\"success\", \"Email Verified, you can now login\");\n updateFormType(\"signIn\");\n } catch (error) {\n postNotification(\"error\", error, true);\n } finally {\n setProcessing(false);\n }\n}\n\nexport async function resendVerifyCode(email = \"\") {\n if (typeof email != \"string\" || email.trim() === \"\") {\n postNotification(\"error\", \"Something went wrong\");\n return;\n }\n\n try {\n await postData(\"/users/resendverification\", {\n body: { email },\n });\n postNotification(\"info\", \"Please check your email for verification code\");\n } catch (error) {\n postNotification(\"error\", error, true);\n }\n}\nexport default function CognitoVerifyForm({\n formState,\n updateFormState,\n updateFormType,\n setProcessing,\n}) {\n const onSubmit = async (values) => {\n updateFormState(values);\n await verifySignUp(values, setProcessing, updateFormType);\n };\n\n return (\n \n {({\n errors,\n handleBlur,\n handleChange,\n handleSubmit,\n setFieldValue,\n setFieldTouched,\n touched,\n values,\n }) => (\n
\n \n \n {\n const trimmedString = e.target.value.trim().toLowerCase();\n setFieldValue(\"username\", trimmedString);\n }}\n />\n \n\n \n \n \n\n \n {\n setFieldTouched(\"username\");\n if (Boolean(errors.username)) {\n postNotification(\n \"error\",\n \"Please enter a valid email to resend the code to\"\n );\n return;\n }\n setProcessing(true);\n await resendVerifyCode(values.username);\n setProcessing(false);\n }}\n >\n Resend Code\n \n \n\n \n \n \n \n
\n )}\n \n );\n}\n","import { Box, Grid } from \"@mui/material\";\nimport CognitoVerifyForm from \"./cognito/CognitoVerifyForm\";\nimport { AuthHeader, AuthSubHeader } from \"./components/Headers\";\n\nexport default function Verify({\n formState,\n updateFormState,\n updateFormType,\n setProcessing,\n}) {\n return (\n \n \n \n\n \n \n \n \n \n \n );\n}\n","import * as React from \"react\";\nimport { Button, Grid, TextField } from \"@mui/material\";\nimport { Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { postNotification } from \"../../utils/Notifications\";\nimport { postData } from \"../../utils/APIUtilities\";\n\nexport async function sendVerifyCode(\n username = \"\",\n setProcessing,\n updateFormType\n) {\n if (typeof username != \"string\" || username.trim() === \"\") {\n postNotification(\"error\", \"Something went wrong\");\n return;\n }\n\n let email = username.trim();\n\n if (!email) {\n postNotification(\"error\", \"Missing required fields\");\n return;\n }\n\n setProcessing(true);\n\n try {\n await postData(\"/users/forgotpassword\", {\n body: { email },\n });\n\n postNotification(\n \"info\",\n \"A verification code has been sent to your email. If you do no receive an email within a couple of minutes, please double check the email and if needed contact us to verify your details.\"\n );\n\n updateFormType(\"forgotPasswordSubmit\");\n } catch (error) {\n postNotification(\"error\", error, true);\n } finally {\n setProcessing(false);\n }\n}\n\nexport default function CognitoForgotPasswordForm({\n formState,\n updateFormState,\n updateFormType,\n setProcessing,\n}) {\n const onSubmit = async (values) => {\n updateFormState(values);\n await sendVerifyCode(values?.username, setProcessing, updateFormType);\n };\n\n return (\n \n {({\n errors,\n handleBlur,\n handleChange,\n handleSubmit,\n setFieldValue,\n touched,\n values,\n }) => (\n
\n \n \n {\n const trimmedString = e.target.value.trim().toLowerCase();\n setFieldValue(\"username\", trimmedString);\n }}\n />\n \n\n \n \n \n \n
\n )}\n \n );\n}\n","import { Box, Grid } from \"@mui/material\";\nimport CognitoForgotPasswordForm from \"./cognito/CognitoForgotPasswordForm\";\nimport { AuthHeader } from \"./components/Headers\";\n\nexport default function ForgotPassword({\n formState,\n updateFormState,\n updateFormType,\n setProcessing,\n}) {\n return (\n \n \n\n \n \n \n \n \n \n );\n}\n","import * as React from \"react\";\nimport { Button, Grid, TextField } from \"@mui/material\";\nimport { Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { postNotification } from \"../../utils/Notifications\";\nimport { useNavigate } from \"react-router-dom\";\nimport { signIn } from \"./CognitoSignInForm\";\nimport { postData } from \"../../utils/APIUtilities\";\n\nexport async function verifyForgotPassword(\n verifyInfo,\n setProcessing,\n navigate\n) {\n const { username, password, verifyCode } = verifyInfo;\n\n if (!(username && password && verifyCode)) {\n postNotification(\"error\", \"Missing required fields\");\n return;\n }\n\n setProcessing(true);\n\n try {\n await postData(\"/users/confirmforgotpassword\", {\n body: {\n email: username.trim().toLowerCase(),\n password: password,\n verificationCode: verifyCode,\n },\n });\n postNotification(\"success\", \"Password Updated, logging you in!\");\n await signIn(\n { username: username.trim().toLowerCase(), password },\n setProcessing,\n navigate\n );\n } catch (error) {\n postNotification(\"error\", error, true);\n } finally {\n setProcessing(false);\n }\n}\n\nexport default function CognitoVerifyForgotPasswordForm({\n formState,\n updateFormState,\n updateFormType,\n setProcessing,\n}) {\n const navigate = useNavigate();\n const onSubmit = async (values) => {\n updateFormState(values);\n await verifyForgotPassword(values, setProcessing, navigate);\n };\n\n return (\n \n {({\n errors,\n handleBlur,\n handleChange,\n handleSubmit,\n setFieldValue,\n setFieldTouched,\n touched,\n values,\n }) => (\n
\n \n \n {\n const trimmedString = e.target.value.trim().toLowerCase();\n setFieldValue(\"username\", trimmedString);\n }}\n />\n \n\n \n \n \n\n \n \n \n\n \n \n \n \n
\n )}\n \n );\n}\n","import { Box, Grid } from \"@mui/material\";\nimport CognitoVerifyForgotPasswordForm from \"./cognito/CognitoVerifyForgotPasswordForm\";\nimport { AuthHeader, AuthSubHeader } from \"./components/Headers\";\n\nexport default function VerifyForgotPassword({\n formState,\n updateFormState,\n updateFormType,\n setProcessing,\n}) {\n return (\n \n \n \n\n \n \n \n \n \n \n );\n}\n","import { Container, CssBaseline, Grid, Link } from \"@mui/material\";\nimport { useState } from \"react\";\nimport ModalLoadingFull from \"../utils/ModalLoadingFull\";\nimport SignIn from \"./SignIn\";\nimport Copyright from \"./components/Copyright\";\nimport SignUp from \"./SignUp\";\nimport Verify from \"./Verify\";\nimport ForgotPassword from \"./ForgotPassword\";\nimport VerifyForgotPassword from \"./VerifyForgotPassword\";\n\nconst initialFormState = {\n username: \"\",\n password: \"\",\n email: \"\",\n confirmationCode: \"\",\n};\n\nexport default function Form(params) {\n const [processing, setProcessing] = useState(false);\n const [formType, updateFormType] = useState(params?.formType || \"signIn\");\n const [formState, updateFormState] = useState(initialFormState);\n\n function renderForm() {\n switch (formType) {\n case \"signUp\":\n return (\n \n );\n case \"verify\":\n return (\n \n );\n case \"signIn\":\n return (\n \n );\n case \"forgotPassword\":\n return (\n \n );\n case \"forgotPasswordSubmit\":\n return (\n \n );\n default:\n return null;\n }\n }\n\n return (\n <>\n \n \n\n {renderForm()}\n \n {formType !== \"signIn\" && (\n \n Already have an account?{\" \"}\n updateFormType(\"signIn\")}\n sx={{\n \"&:hover\": {\n cursor: \"pointer\",\n },\n }}\n >\n Sign In\n \n \n )}\n {formType !== \"signUp\" && (\n \n Need an account?{\" \"}\n \n Sign Up\n \n \n )}\n {formType !== \"verify\" && (\n \n Need to{\" \"}\n \n Verify\n {\" \"}\n account?\n \n )}\n {formType !== \"forgotPassword\" &&\n formType !== \"forgotPasswordSubmit\" && (\n \n Forget your password?{\" \"}\n \n Reset Password\n \n \n )}\n \n\n \n \n\n {processing && }\n \n );\n}\n","import { Box, Button, Link } from \"@mui/material\";\nimport { useTheme } from \"@mui/styles\";\nimport React from \"react\";\nimport { getEnvironmentVariable } from \"../global/environmentVariables\";\nimport { findGetParameter } from \"../utils/urlParams\";\nimport { isAppMode } from \"../utils/GeneralUtils\";\nimport { BCPArrowLeftToLine } from \"../utils/icons/BCPIcon\";\nconst SYSTEM_IMAGES_CLOUDFRONT = getEnvironmentVariable(\n \"SYSTEM_IMAGES_CLOUDFRONT\"\n);\n\nexport default function MainHeader(props) {\n const theme = useTheme();\n let redirect_uri = findGetParameter(\"redirect_uri\");\n const appMode = isAppMode();\n\n return (\n <>\n {!appMode && (\n {\n if (redirect_uri && redirect_uri !== \"\") {\n if (redirect_uri.endsWith(\"/login\"))\n redirect_uri = redirect_uri.slice(0, -\"/login\".length);\n\n window.location.assign(redirect_uri);\n } else {\n window.history.back();\n }\n }}\n startIcon={\n \n }\n sx={{ mb: -4, color: theme.palette.link.main }}\n >\n Go back\n \n )}\n\n \n \n \n \n \n \n );\n}\n","import { findGetParameter } from \"./urlParams\";\n\nexport function isAppMode() {\n const hasAppPath = (url) => {\n try {\n const urlObject = new URL(url);\n const pathSegments = urlObject.pathname.split(\"/\");\n\n return pathSegments.includes(\"app\");\n } catch (err) {\n console.error(err);\n return false;\n }\n };\n\n if (\n findGetParameter(\"appMode\") === \"true\" ||\n sessionStorage?.getItem(\"appMode\") ||\n hasAppPath(window.location.href)\n ) {\n return true;\n } else if (document?.referrer) {\n hasAppPath(document.referrer);\n } else {\n return false;\n }\n}\n","import { Outlet } from \"react-router-dom\";\nimport { Box, Container } from \"@mui/material\";\nimport { ToastContainer } from \"react-toastify\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport MainHeader from \"./MainHeader\";\n\nexport default function Layout(params) {\n return (\n \n \n \n \n\n \n \n \n );\n}\n","import { useEffect } from \"react\";\nimport { scope } from \"../environments\";\nimport { getData } from \"../utils/APIUtilities\";\nimport ModalLoadingFull from \"../utils/ModalLoadingFull\";\nimport { postNotification } from \"../utils/Notifications\";\nimport { urlParams } from \"../utils/urlParams\";\n\nexport default function OICAutoLink() {\n const { client_id, identity_provider, username } = urlParams();\n const scopes = scope();\n const _scope = scopes?.filter(\n (s) =>\n s.amplify?.identity_provider?.trim()?.toUpperCase() ===\n identity_provider?.trim()?.toUpperCase()\n )[0]?.amplify;\n\n useEffect(() => {\n const process = async () => {\n try {\n if (!client_id) {\n throw new Error(\"missing client_id parameter\");\n }\n if (!username) {\n throw new Error(\"missing username parameter\");\n }\n if (!identity_provider) {\n throw new Error(\"missing identity_provider parameter\");\n }\n if (!_scope?.responseType) {\n throw new Error(\"scope missing responseType parameter\");\n }\n if (!_scope?.scope) {\n throw new Error(\"missing scope parameter\");\n }\n\n localStorage.setItem(\"oic_link_username\", username);\n\n const url = await getData(\"/users/oicurl\", {\n queryStringParameters: {\n provider: _scope.identity_provider,\n redirect_uri: `https://${window.location.host}/oauth2/idpresponse`,\n responseType: _scope.responseType.toUpperCase(),\n scope: _scope.scope.join(\" \"),\n },\n });\n\n window.location.assign(url);\n } catch (err) {\n console.error(err);\n postNotification(\"error\", err);\n }\n };\n\n process();\n\n // eslint-disable-next-line\n }, []);\n\n return ;\n}\n","import { useState } from \"react\";\n\nimport {\n Box,\n Button,\n Checkbox,\n Container,\n CssBaseline,\n FormControlLabel,\n FormHelperText,\n Grid,\n TextField,\n} from \"@mui/material\";\nimport { Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { AgeInfo } from \"../form/components/AgeInfo\";\nimport { CheckBoxLabel } from \"../form/components/CheckboxLabel\";\nimport { AuthHeader } from \"../form/components/Headers\";\nimport ModalLoadingFull from \"../utils/ModalLoadingFull\";\nimport { postData } from \"../utils/APIUtilities\";\nimport { redirectUrl } from \"../utils/urlParams\";\nimport { postNotification } from \"../utils/Notifications\";\n\nexport default function OICSignup({ tokens, identityToken }) {\n const [processing, setProcessing] = useState(false);\n\n const userId = identityToken?.userId;\n const onSubmit = async (values) => {\n try {\n setProcessing(true);\n const { firstName, lastName, policy } = values;\n if (!firstName) throw new Error(\"missing firstName\");\n if (!lastName) throw new Error(\"missing lastName\");\n if (!policy) throw new Error(\"missing policy\");\n\n let headers = {\n Authorization: `Bearer ${tokens.accessToken}`,\n Env: \"bcp\",\n };\n await postData(\n `/users/${userId}`,\n {\n body: {\n set: {\n firstName,\n lastName,\n },\n unset: {\n postExternalLinkFlow: true,\n },\n },\n },\n headers\n );\n\n let apiRequest = await postData(\"/users/refreshtokens\", {\n body: {\n refreshToken: tokens.refreshToken,\n },\n });\n apiRequest.refreshToken = tokens.refreshToken;\n await redirectUrl({\n user: { username: identityToken?.email },\n cognitoProps: apiRequest,\n });\n } catch (err) {\n postNotification(\"error\", err);\n setProcessing(false);\n }\n };\n\n // useEffect(() => {\n // const process = async () => {\n // try {\n // let apiRequest = await postData(\"/users/refreshtokens\", {\n // body: {\n // refreshToken: tokens.refreshToken,\n // },\n // });\n // apiRequest.refreshToken = tokens.refreshToken;\n // let _identityToken = decodeToken(apiRequest?.idToken);\n // setIdentityToken(_identityToken);\n // setUpdatedTokens(updatedTokens);\n // } catch (err) {\n // console.error(err);\n // postNotification(\"error\", err);\n // }\n // };\n\n // if (!userId) {\n // process();\n // }\n\n // // eslint-disable-next-line\n // }, []);\n\n return (\n \n {processing && }\n \n \n \n\n \n \n \n {({\n errors,\n handleBlur,\n handleChange,\n handleSubmit,\n setFieldValue,\n touched,\n values,\n }) => (\n
\n \n \n {\n const trimmedString = e.target.value\n .trim()\n .toLowerCase();\n setFieldValue(\"email\", trimmedString);\n }}\n disabled\n />\n \n\n \n \n \n\n \n \n \n\n \n\n \n \n }\n label={\n \n }\n />\n\n {Boolean(touched.policy && errors.policy) && (\n {errors.policy}\n )}\n \n\n \n \n \n \n
\n )}\n \n
\n
\n \n
\n );\n}\n","import { useState } from \"react\";\n\nimport {\n Box,\n Button,\n Checkbox,\n Container,\n CssBaseline,\n FormControlLabel,\n FormHelperText,\n Grid,\n TextField,\n} from \"@mui/material\";\nimport { Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { CheckBoxLabel } from \"../form/components/CheckboxLabel\";\nimport { AgeInfo } from \"../form/components/AgeInfo\";\n\nimport { AuthHeader } from \"../form/components/Headers\";\nimport ModalLoadingFull from \"../utils/ModalLoadingFull\";\nimport { postData } from \"../utils/APIUtilities\";\nimport { postNotification } from \"../utils/Notifications\";\n\nexport default function OICLinkAccount({\n oic_link_username,\n tokens,\n identityToken,\n}) {\n const providerNameValue =\n identityToken?.[\"cognito:username\"]?.split(\"_\")?.[0];\n const providerName =\n providerNameValue?.charAt(0)?.toUpperCase() + providerNameValue?.slice(1);\n\n const [processing, setProcessing] = useState(false);\n const onSubmit = async (values) => {\n try {\n setProcessing(true);\n const { username, password, policy } = values;\n if (!username) throw new Error(\"missing username\");\n if (!password) throw new Error(\"missing password\");\n if (!policy) throw new Error(\"missing policy\");\n\n let headers = {\n Authorization: `Bearer ${tokens.accessToken}`,\n Env: \"bcp\",\n };\n\n await postData(\n \"/users/linkaccounts\",\n {\n body: {\n username: username,\n password: password,\n },\n },\n headers\n );\n\n localStorage.removeItem(\"oic_link_username\");\n\n const _redirect_uri = localStorage.getItem(\"redirect_uri\");\n localStorage.removeItem(\"redirect_uri\");\n\n if (_redirect_uri === \"close\") {\n window.close();\n return;\n }\n const _response_type = localStorage.getItem(\"response_type\");\n localStorage.removeItem(\"response_type\");\n const responseType =\n _response_type?.toLowerCase() === \"tokens\" ? \"tokens\" : \"code\";\n\n let exchange_token = null;\n\n if (responseType === \"code\") {\n const apiData = await postData(\"/users/storetoken\", {\n body: { refreshToken: tokens.refreshToken },\n });\n\n exchange_token = apiData?.exchangeToken;\n }\n\n let urlString = \"\";\n\n if (exchange_token) {\n urlString = `${_redirect_uri}?exchange_token=${exchange_token}`;\n } else {\n urlString = `${_redirect_uri}?access_token=${tokens.accessToken}&id_token=${tokens.idToken}&refresh_token=${tokens.refreshToken}`;\n }\n\n const url = new URL(urlString);\n window.location.assign(url.toString());\n } catch (err) {\n postNotification(\"error\", err);\n setProcessing(false);\n }\n };\n\n return (\n \n {processing && }\n \n \n \n\n \n \n \n {({\n errors,\n handleBlur,\n handleChange,\n handleSubmit,\n setFieldValue,\n touched,\n values,\n }) => (\n
\n \n \n {\n const trimmedString = e.target.value\n .trim()\n .toLowerCase();\n setFieldValue(\"username\", trimmedString);\n }}\n disabled={Boolean(oic_link_username)}\n />\n \n\n \n \n \n\n \n\n \n \n }\n label={\n \n }\n />\n\n {Boolean(touched.policy && errors.policy) && (\n {errors.policy}\n )}\n \n\n \n \n \n \n
\n )}\n \n
\n
\n \n
\n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport ModalLoadingFull from \"../utils/ModalLoadingFull\";\nimport { postNotification } from \"../utils/Notifications\";\nimport { redirectUrl, urlParams } from \"../utils/urlParams\";\nimport { postData } from \"../utils/APIUtilities\";\nimport { decodeToken } from \"react-jwt\";\n\nimport OICSignup from \"./OICSignup\";\nimport OICLinkAccount from \"./OICLinkAccount\";\n\nexport default function OICVerify() {\n const { code } = urlParams();\n const [tokens, setTokens] = useState(null);\n const [identityToken, setIdentityToken] = useState(null);\n\n const _oic_link_username = localStorage.getItem(\"oic_link_username\");\n\n const [flowStep, setFlowStep] = useState(0);\n\n useEffect(() => {\n const process = async () => {\n try {\n if (code) {\n const oicverify = await postData(\"/users/authorize\", {\n body: {\n authorizationCode: code,\n redirect_uri: `https://${window.location.host}/oauth2/idpresponse`,\n },\n });\n setTokens(oicverify);\n }\n } catch (err) {\n console.error(err);\n postNotification(\"error\", err);\n }\n };\n\n process();\n\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n const process = async () => {\n try {\n let _identityToken = decodeToken(tokens?.idToken);\n if (_identityToken?.forceLinkAccount === \"true\" || _oic_link_username) {\n setFlowStep(1);\n setIdentityToken(_identityToken);\n } else if (\n _identityToken?.postExternalLinkFlow === \"true\" ||\n !_identityToken.given_name ||\n !_identityToken.family_name ||\n !_identityToken.email\n ) {\n // do custom flow\n setFlowStep(2);\n setIdentityToken(_identityToken);\n } else {\n // redirect\n await redirectUrl({\n user: { username: identityToken?.email },\n cognitoProps: tokens,\n });\n }\n } catch (err) {\n console.error(err);\n postNotification(\"error\", err);\n }\n };\n\n if (tokens) process();\n\n // eslint-disable-next-line\n }, [tokens]);\n\n if (flowStep === 1) {\n return (\n \n );\n }\n\n if (flowStep === 2)\n return (\n \n );\n\n return ;\n}\n","import React, { useEffect } from \"react\";\nimport ModalLoadingFull from \"../utils/ModalLoadingFull\";\nimport { postNotification } from \"../utils/Notifications\";\nimport { urlParams } from \"../utils/urlParams\";\nimport { postData } from \"../utils/APIUtilities\";\n\nimport { getEnvironmentVariable } from \"../global/environmentVariables\";\n\nconst IS_DEV = getEnvironmentVariable(\"IS_DEV\");\nconst IS_BCP = getEnvironmentVariable(\"IS_BCP\");\nconst HOME_PAGE = getEnvironmentVariable(\"HOME_PAGE\");\nconst ROOT_HOSTEDUI_DOMAIN = getEnvironmentVariable(\"ROOT_HOSTEDUI_DOMAIN\");\nconst COGNITO_CLIENT_ID = getEnvironmentVariable(\"COGNITO_CLIENT_ID\");\n\nconst delay = (time) => {\n return new Promise((resolve) => setTimeout(resolve, time));\n};\n\nexport default function LogOut() {\n const { redirect_uri, refresh_token } = urlParams();\n const _redirect_uri = localStorage.getItem(\"redirect_uri\");\n\n async function apiSignout() {\n if (refresh_token) {\n await postData(\"/users/signout\", {\n body: {\n refreshToken: refresh_token,\n },\n });\n }\n }\n\n async function mwSignout() {\n if (IS_BCP) {\n await delay(3000);\n }\n }\n async function logoutParallel() {\n const taskAPISignout = apiSignout();\n const taskMWSignout = mwSignout();\n\n return {\n apiSignout: await taskAPISignout,\n mwSignout: await taskMWSignout,\n };\n }\n\n useEffect(() => {\n const logout = async () => {\n try {\n await logoutParallel();\n } catch (err) {\n console.error(err);\n postNotification(\"error\", err);\n } finally {\n if (ROOT_HOSTEDUI_DOMAIN) {\n try {\n let redirectURL = new URL(\n \"/\",\n redirect_uri || _redirect_uri || HOME_PAGE\n );\n const hostedUISignout = `${ROOT_HOSTEDUI_DOMAIN}/logout?logout_uri=${redirectURL.origin}&response_type=CODE&client_id=${COGNITO_CLIENT_ID}&scope=aws.cognito.signin.user.admin+email+openid+phone+profile`;\n\n window.location.assign(hostedUISignout);\n return;\n } catch (err) {\n //\n }\n }\n window.location.assign(redirect_uri || _redirect_uri || HOME_PAGE);\n }\n };\n\n logout();\n\n // eslint-disable-next-line\n }, []);\n\n return (\n <>\n \n {IS_BCP ? (\n \n ) : (\n <>\n )}\n \n );\n}\n","import React from \"react\";\nimport { Box, Container, Grid, Typography } from \"@mui/material\";\n\nexport default function NotFound(params) {\n return (\n \n \n \n \n \n {params.title || \"404 - Page Not Found\"}\n \n \n \n \n \n );\n}\n","import Form from \"./form/Form\";\nimport Layout from \"./layout/Layout\";\nimport OICAutoLink from \"./oic/OICAutoLink\";\nimport OICVerify from \"./oic/OICVerify\";\nimport LogOut from \"./pages/LogOut\";\nimport NotFound from \"./pages/NotFound\";\n\nconst Routes = () => {\n return [\n {\n path: \"/\",\n element: ,\n children: [\n { path: \"/\", element:
},\n { path: \"login\", element: },\n { path: \"logout\", element: },\n { path: \"signup\", element: },\n { path: \"verify\", element: },\n { path: \"forgotpassword\", element: },\n { path: \"oauth2/idpresponse\", element: },\n { path: \"oauth2/idlink\", element: },\n\n { path: \"*\", element: },\n ],\n },\n ];\n};\n\nexport default Routes;\n","export const MasterThemeJson = {\n palette: {\n neutral: {\n contrastText: \"#ffffff\",\n main: \"#64748B\",\n light: \"#838fa2\",\n dark: \"#465161\",\n },\n chartColor1: {\n contrastText: \"#000000\",\n main: \"#f5f5f5\",\n light: \"#f7f7f7\",\n dark: \"#ababab\",\n },\n chartColor2: {\n contrastText: \"#000000\",\n main: \"#eeeeee\",\n light: \"#f1f1f1\",\n dark: \"#a6a6a6\",\n },\n chartColor3: {\n contrastText: \"#000000\",\n main: \"#e0e0e0\",\n light: \"#e6e6e6\",\n dark: \"#9c9c9c\",\n },\n chartColor4: {\n contrastText: \"#000000\",\n main: \"#bdbdbd\",\n light: \"#cacaca\",\n dark: \"#848484\",\n },\n chartColor5: {\n contrastText: \"#000000\",\n main: \"#9e9e9e\",\n light: \"#b1b1b1\",\n dark: \"#6e6e6e\",\n },\n\n chartColor6: {\n contrastText: \"#ffffff\",\n main: \"#757575\",\n light: \"#909090\",\n dark: \"#515151\",\n },\n\n chartColor7: {\n contrastText: \"#ffffff\",\n main: \"#616161\",\n light: \"#808080\",\n dark: \"#434343\",\n },\n\n chartColor8: {\n contrastText: \"#ffffff\",\n main: \"#424242\",\n light: \"#676767\",\n dark: \"#2e2e2e\",\n },\n\n chartColor9: {\n contrastText: \"#ffffff\",\n main: \"#212121\",\n light: \"#4d4d4d\",\n dark: \"#171717\",\n },\n },\n};\n\nexport const MasterPallete = {\n gray: {\n contrastText: \"#FFFFFF\",\n main: \"#5F5F5F\",\n light: \"#767676\",\n dark: \"#4F4F4F\",\n },\n bronze: {\n contrastText: \"#F1E5B9\",\n main: \"#8A4E16\",\n light: \"#8A4E16\",\n dark: \"#8A4E16\",\n border: \"#ffffff\",\n },\n silver: {\n contrastText: \"#5F736F\",\n main: \"#D7DFDE\",\n light: \"#D7DFDE\",\n dark: \"#D7DFDE\",\n border: \"#ffffff\",\n },\n gold: {\n contrastText: \"#FFF6DE\",\n main: \"#CE9911\",\n light: \"#CE9911\",\n dark: \"#CE9911\",\n border: \"#ffffff\",\n },\n platinum: {\n contrastText: \"#43828D\",\n main: \"#DEF4F8\",\n light: \"#DEF4F8\",\n dark: \"#DEF4F8\",\n border: \"#ffffff\",\n },\n neutral: {\n contrastText: \"#ffffff\",\n main: \"#64748B\",\n light: \"#838fa2\",\n dark: \"#465161\",\n },\n chartColor1: {\n contrastText: \"#000000\",\n main: \"#f5f5f5\",\n light: \"#f7f7f7\",\n dark: \"#ababab\",\n },\n chartColor2: {\n contrastText: \"#000000\",\n main: \"#eeeeee\",\n light: \"#f1f1f1\",\n dark: \"#a6a6a6\",\n },\n chartColor3: {\n contrastText: \"#000000\",\n main: \"#e0e0e0\",\n light: \"#e6e6e6\",\n dark: \"#9c9c9c\",\n },\n chartColor4: {\n contrastText: \"#000000\",\n main: \"#bdbdbd\",\n light: \"#cacaca\",\n dark: \"#848484\",\n },\n chartColor5: {\n contrastText: \"#000000\",\n main: \"#9e9e9e\",\n light: \"#b1b1b1\",\n dark: \"#6e6e6e\",\n },\n\n chartColor6: {\n contrastText: \"#ffffff\",\n main: \"#757575\",\n light: \"#909090\",\n dark: \"#515151\",\n },\n\n chartColor7: {\n contrastText: \"#ffffff\",\n main: \"#616161\",\n light: \"#808080\",\n dark: \"#434343\",\n },\n\n chartColor8: {\n contrastText: \"#ffffff\",\n main: \"#424242\",\n light: \"#676767\",\n dark: \"#2e2e2e\",\n },\n\n chartColor9: {\n contrastText: \"#ffffff\",\n main: \"#212121\",\n light: \"#4d4d4d\",\n dark: \"#171717\",\n },\n};\n","import { getEnvironmentVariable } from \"./environmentVariables\";\nimport { MasterPallete } from \"./MasterTheme\";\nconst IS_BCP = getEnvironmentVariable(\"IS_BCP\") === \"true\";\nconst SUPPORTS_DARK_MODE =\n getEnvironmentVariable(\"SUPPORTS_DARK_MODE\") === \"true\";\n\nexport const getDesignTokens = (_mode) => {\n var mode =\n SUPPORTS_DARK_MODE &&\n getEnvironmentVariable(\"THEME_PALETTE_DARK\") !== undefined\n ? _mode\n : \"light\";\n\n var palette = {\n ...MasterPallete,\n ...(mode === \"dark\" ? getDarkPalette() : getLightPalette()),\n };\n\n return {\n shadows: [\n \"none\",\n \"0 0 0 1px rgba(63,63,68,0.05), 0 1px 2px 0 rgba(63,63,68,0.15)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 2px 2px -2px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 3px 4px -2px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 3px 4px -2px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 4px 6px -2px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 4px 6px -2px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 4px 8px -2px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 5px 8px -2px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 6px 12px -4px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 7px 12px -4px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 6px 16px -4px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 7px 16px -4px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 8px 18px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 9px 18px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 10px 20px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 11px 20px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 12px 22px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 13px 22px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 14px 24px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 16px 28px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 18px 30px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 20px 32px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 22px 34px -8px rgba(0,0,0,0.25)\",\n \"0 0 1px 0 rgba(0,0,0,0.31), 0 24px 36px -8px rgba(0,0,0,0.25)\",\n ],\n typography: getTypography(),\n mixins: {},\n components: {\n MuiContainer: {\n styleOverrides: {\n root: { paddingTop: 0, paddingLeft: 0, paddingRight: 0 },\n bodyStyle: { padding: 0 },\n },\n },\n MuiFormControl: {\n defaultProps:\n mode === \"dark\" && IS_BCP\n ? { color: \"secondary\" }\n : { color: \"primary\" },\n },\n MuiTextField: {\n defaultProps: {\n color: mode === \"dark\" && IS_BCP ? \"secondary\" : \"primary\",\n onWheel: (e) => {\n if (e.target.type === \"number\") {\n e.target.blur();\n }\n },\n },\n },\n MuiCheckbox: {\n defaultProps:\n mode === \"dark\" && IS_BCP\n ? { color: \"secondary\" }\n : { color: \"primary\" },\n },\n MuiSelect: {\n defaultProps:\n mode === \"dark\" && IS_BCP\n ? { color: \"secondary\" }\n : { color: \"primary\" },\n },\n MuiOutlinedInput: {\n defaultProps:\n mode === \"dark\" && IS_BCP\n ? { color: \"secondary\" }\n : { color: \"primary\" },\n },\n MuiInputBase: {\n defaultProps:\n mode === \"dark\" && IS_BCP\n ? { color: \"secondary\" }\n : { color: \"primary\" },\n },\n MuiSwitch: {\n defaultProps:\n mode === \"dark\" && IS_BCP\n ? { color: \"secondary\" }\n : { color: \"primary\" },\n },\n MuiTabs: {\n defaultProps: { indicatorColor: null, textColor: \"inherit\" },\n styleOverrides: {\n root: ({ ownerState }) => {\n return {\n ...{\n backgroundColor: \"inherit\",\n color: palette.banner.contrastText,\n \"& .MuiTab-root\": {\n textTransform: \"none\",\n },\n \"& .MuiTabs-indicator\": {\n ...(!ownerState?.indicatorColor && {\n backgroundColor: palette.banner?.contrastText,\n }),\n },\n },\n };\n },\n },\n },\n MuiButton: {\n styleOverrides: {\n root: ({ ownerState }) => {\n let colors = ownerState?.color?.split(\".\");\n return {\n borderRadius: \"80px\",\n ...(ownerState?.variant === \"outlined\" &&\n mode === \"dark\" && {\n backgroundColor:\n palette[colors[0] || \"primary\"]?.[\n colors[1] || \"contrastText\"\n ],\n \"&:hover\": {\n backgroundColor: palette[colors[0] || \"primary\"]?.dark,\n color:\n palette[colors[0] || \"primary\"]?.[\n colors[1] || \"contrastText\"\n ],\n },\n }),\n };\n },\n },\n },\n MuiIconButton: {\n variants: [\n {\n props: { variant: \"contained\" },\n style: ({ ownerState }) => {\n let colors = ownerState?.color?.split(\".\");\n return {\n ...{\n color:\n palette[colors[0] || \"primary\"]?.[\n colors[1] || \"contrastText\"\n ] || \"inherit\",\n\n backgroundColor:\n palette[colors[0] || \"primary\"]?.main || \"inherit\",\n \"&:hover\": {\n backgroundColor:\n palette[colors[0] || \"primary\"]?.dark || \"inherit\",\n },\n },\n };\n },\n },\n ],\n },\n MuiLink: {\n defaultProps: { color: \"link.main\" },\n styleOverrides: {\n root: ({ ownerState }) => {\n let colors = ownerState?.color?.split(\".\");\n return {\n color:\n palette[colors[0] || \"link\"]?.[colors[1] || \"main\"] ||\n \"inherit\",\n };\n },\n },\n },\n },\n palette: palette,\n };\n};\n\nconst getLightPalette = () => {\n let palette = defaultLightPalette;\n if (getEnvironmentVariable(\"THEME_PALETTE_LIGHT\") !== undefined) {\n try {\n palette = JSON.parse(getEnvironmentVariable(\"THEME_PALETTE_LIGHT\"));\n } catch (err) {}\n }\n\n return palette;\n};\n\nconst getDarkPalette = () => {\n let palette = getLightPalette() || {};\n if (\n getEnvironmentVariable(\"SUPPORTS_DARK_MODE\") === \"true\" &&\n getEnvironmentVariable(\"THEME_PALETTE_DARK\") !== undefined\n ) {\n try {\n let dPalette = JSON.parse(getEnvironmentVariable(\"THEME_PALETTE_DARK\"));\n palette = {\n ...palette,\n ...dPalette,\n };\n } catch (err) {}\n }\n\n return palette;\n};\n\nconst getTypography = () => {\n let typography = defaultTypography;\n if (getEnvironmentVariable(\"THEME_PALETTE_TYPOGRAPHY\") !== undefined) {\n try {\n typography = JSON.parse(\n getEnvironmentVariable(\"THEME_PALETTE_TYPOGRAPHY\")\n );\n } catch (err) {}\n }\n\n return typography;\n};\n\nconst defaultLightPalette = {\n mode: \"light\",\n type: \"light\",\n text: {\n primary: \"#0F0F13\",\n secondary: \"#676B79\",\n error: \"#db2c6f\",\n message: \"#7b1fa2\",\n disabled: \"#757575\",\n },\n background: {\n default: \"#FFFFFF\",\n primary: \"#EEEEEE\",\n secondary: \"#FFFFFF\",\n tertiary: \"#BBBBBB\",\n },\n primary: {\n contrastText: \"#ffffff\",\n main: \"#2E2B9D\",\n light: \"#5755b0\",\n dark: \"#201e6d\",\n },\n secondary: {\n contrastText: \"#0F0F13\",\n main: \"#66B6FF\",\n light: \"#a54747\",\n dark: \"#477fb2\",\n },\n link: {\n contrastText: \"#ffffff\",\n main: \"#2E2B9D\",\n light: \"#5755b0\",\n dark: \"#201e6d\",\n stripe: \"#7b1fa2\",\n },\n banner: {\n contrastText: \"#0F0F13\",\n main: \"#EEEEEE\",\n light: \"#FFFFFF\",\n dark: \"#BBBBBB\",\n },\n modal: {\n text: \"#0F0F13\",\n background: \"#FFFFFF\",\n },\n border: {\n main: \"rgba(0, 0, 0, 0.23)\",\n light: \"#52525b\",\n },\n drawer: {\n contrastText: \"#172b4d\",\n main: \"#F0F2F5\",\n background: \"#F0F2F5\",\n light: \"#f3f4f7\",\n dark: \"#a8a9ab\",\n },\n table: {\n headerBackground: \"#1B51A0\",\n headerColor: \"#fff\",\n oddRowBackground: \"#fff\",\n evenRowBackground: \"#EEEEEE\",\n rowColor: \"#000\",\n },\n};\n\nconst defaultTypography = {\n h1: {\n fontWeight: 500,\n fontSize: 35,\n letterSpacing: \"-0.24px\",\n },\n h2: {\n fontWeight: 500,\n fontSize: 29,\n letterSpacing: \"-0.24px\",\n },\n h3: {\n fontWeight: 500,\n fontSize: 24,\n letterSpacing: \"-0.06px\",\n },\n h4: {\n fontWeight: 500,\n fontSize: 20,\n letterSpacing: \"-0.06px\",\n },\n h5: {\n fontWeight: 500,\n fontSize: 16,\n letterSpacing: \"0.25px\",\n },\n h6: {\n fontWeight: 500,\n fontSize: 14,\n letterSpacing: \"1.5px\",\n textTransform: \"uppercase\",\n },\n overline: {\n fontWeight: 500,\n },\n};\n","import createStyles from \"@mui/styles/createStyles\";\nimport makeStyles from \"@mui/styles/makeStyles\";\n\nconst useStyles = makeStyles((theme) => {\n return createStyles({\n \"@global\": {\n \"*\": {\n boxSizing: \"border-box\",\n margin: 0,\n padding: 0,\n },\n html: {\n \"-webkit-font-smoothing\": \"antialiased\",\n \"-moz-osx-font-smoothing\": \"grayscale\",\n height: \"100%\",\n width: \"100%\",\n },\n body: {\n backgroundColor: theme.palette.background.default,\n height: \"100%\",\n width: \"100%\",\n },\n a: {\n textDecoration: \"none\",\n },\n \"#root\": {\n height: \"100%\",\n width: \"100%\",\n },\n },\n });\n});\n\nconst GlobalStyles = () => {\n useStyles();\n\n return null;\n};\n\nexport default GlobalStyles;\n","import { useRoutes } from \"react-router-dom\";\nimport { createTheme, ThemeProvider } from \"@mui/material/styles\";\nimport { useMemo } from \"react\";\n\nimport Routes from \"./Routes\";\nimport \"./App.css\";\nimport { findGetParameter, urlParams } from \"./utils/urlParams\";\nimport { getDesignTokens } from \"./global/DefaultTheme\";\nimport GlobalStyles from \"./global/GlobalStyles\";\n\nfunction App() {\n const routing = useRoutes(Routes());\n\n const { client_id, redirect_uri } = urlParams();\n if (client_id) localStorage.setItem(\"client_id\", client_id);\n if (redirect_uri) localStorage.setItem(\"redirect_uri\", redirect_uri);\n\n // Theme variables\n const urlTheme = findGetParameter(\"theme\");\n const prefersDarkMode = window.matchMedia(\n \"(prefers-color-scheme: dark)\"\n ).matches;\n const mode =\n ((urlTheme === \"dark\" || urlTheme === \"light\") && urlTheme) ||\n sessionStorage?.getItem(\"themeMode\") ||\n (prefersDarkMode ? \"dark\" : \"light\");\n const theme = useMemo(() => createTheme(getDesignTokens(mode)), [mode]);\n\n return (\n \n \n {routing}\n \n );\n}\n\nexport default App;\n","import ReactDOM from \"react-dom\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport App from \"./App\";\n\nReactDOM.render(\n \n \n ,\n document.getElementById(\"root\")\n);\n"],"sourceRoot":""}