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AO1E,KAK1B,OAJI0E,EAAOc,qBACVF,EAAO,IAAI5T,EAAQ0Q,GAA4BG,EAAOmC,EAAOc,mBAAoB9T,GAAWgT,EAAOc,sBAG7F,GAAGxF,IAAMrH,IAAc2M,KAG/BnZ,EAAQ0Z,KAAO,CAAChY,EAAOqX,EAAQxT,KAC9BA,EAAUjD,OAAOgV,OAAO,CACvB8B,yBAAyB,EACzB,CAACnD,IAA2B,GAC1B1Q,GAEH,MAAM,IAACsO,EAAG,MAAEnN,EAAK,mBAAE2S,GAAsBrZ,EAAQiZ,SAASvX,EAAO6D,GACjE,OAAOvF,EAAQsZ,aAAa,CAC3BzF,IAAAA,EACAnN,MAAOsP,EAAatP,EAAOqS,GAC3BM,mBAAAA,GACE9T,IAGJvF,EAAQ2Z,QAAU,CAACjY,EAAOqX,EAAQxT,KACjC,MAAMqU,EAAkBvY,MAAMyB,QAAQiW,GAAUvW,IAAQuW,EAAOnB,SAASpV,GAAO,CAACA,EAAKiL,KAAWsL,EAAOvW,EAAKiL,GAE5G,OAAOzN,EAAQ0Z,KAAKhY,EAAOkY,EAAiBrU,K,+BC9d7CzD,EAAO9B,QAAU,CAAC6Z,EAAQC,KACzB,GAAwB,kBAAXD,GAA4C,kBAAdC,EAC1C,MAAM,IAAI9X,UAAU,iDAGrB,GAAkB,KAAd8X,EACH,MAAO,CAACD,GAGT,MAAME,EAAiBF,EAAO7W,QAAQ8W,GAEtC,OAAwB,IAApBC,EACI,CAACF,GAGF,CACNA,EAAO1Y,MAAM,EAAG4Y,GAChBF,EAAO1Y,MAAM4Y,EAAiBD,EAAU7Y,W,+BClB1Ca,EAAO9B,QAAUga,GAAO9T,mBAAmB8T,GAAK/X,QAAQ,YAAY+W,GAAK,IAAIA,EAAEiB,WAAW,GAAGzT,SAAS,IAAI6H,oB","sources":["webpack://_N_E/./node_modules/@mui/icons-material/ArrowBack.js","webpack://_N_E/./node_modules/decode-uri-component/index.js","webpack://_N_E/./node_modules/filter-obj/index.js","webpack://_N_E/?6ec8","webpack://_N_E/./src/assets/images/googleImg.png","webpack://_N_E/./src/assets/images/signin-img.svg","webpack://_N_E/./src/config/api.config.ts","webpack://_N_E/./src/helpers/Api/ApiData.ts","webpack://_N_E/./src/hooks/useInvestorRoute.ts","webpack://_N_E/./src/hooks/useRedirectUserStatus.ts","webpack://_N_E/./src/hooks/useStartupRoute.ts","webpack://_N_E/./src/hooks/useRedirectStartupStatus.ts","webpack://_N_E/./src/hooks/useRedirectAutorizedPaths.ts","webpack://_N_E/./src/components/signup/EmailSignup.tsx","webpack://_N_E/./src/assets/images/newsletter-img.svg","webpack://_N_E/./src/components/signup/GmailSignup.tsx","webpack://_N_E/./src/pages/register.tsx","webpack://_N_E/./node_modules/query-string/index.js","webpack://_N_E/./node_modules/split-on-first/index.js","webpack://_N_E/./node_modules/strict-uri-encode/index.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z\"\n}), 'ArrowBack');\n\nexports.default = _default;","'use strict';\nvar token = '%[a-f0-9]{2}';\nvar singleMatcher = new RegExp(token, 'gi');\nvar multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn decodeURIComponent(components.join(''));\n\t} catch (err) {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tvar left = components.slice(0, split);\n\tvar right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch (err) {\n\t\tvar tokens = input.match(singleMatcher);\n\n\t\tfor (var i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher);\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tvar replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD'\n\t};\n\n\tvar match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch (err) {\n\t\t\tvar result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tvar entries = Object.keys(replaceMap);\n\n\tfor (var i = 0; i < entries.length; i++) {\n\t\t// Replace all decoded components\n\t\tvar key = entries[i];\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nmodule.exports = function (encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\tencodedURI = encodedURI.replace(/\\+/g, ' ');\n\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch (err) {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n};\n","'use strict';\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/register\",\n function () {\n return require(\"private-next-pages/register.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/register\"])\n });\n }\n ","export default {\"src\":\"/_next/static/media/googleImg.5f696e72.png\",\"height\":39,\"width\":39,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA8klEQVR42mMAgddBxjKvnEy2v3Q2+f/S2fT/SyfTS0BszwACDxgcJF9amj5+5WLy/5WT6aoXLvZLXrjY/n7m5hHLAAJfF0qveJOk//+5rKUnAzbwaz/Tt987eI6B2Jv7t3D6NH9cZNn6dYdry+f1ji2fZzH838Pw/esegaMMQDB15h4up9ZPx11aPt92av3837Hly1+Gy9u0VxSt9v7PsDQcboVr8X9Jp+YfvxxbP+9nYJibLCm4POSx2Yqg/8bLw9YYr3Saa7a4+rd9763/zrX/TRhAIHRlgKzxiuDtJkBFJstD/xuvdLxquIbBmoGBgQEA4h1qlBAt8ukAAAAASUVORK5CYII=\"};","export default {\"src\":\"/_next/static/media/signin-img.f10df537.svg\",\"height\":344,\"width\":574};","const protocol = process.env.NEXT_PUBLIC_API_PROTOCOL;\n// const protocol = 'http'\n// const host = '0ba38fcf51ad.ngrok.io';\n// const host = '192.168.1.9:3000';\nconst host = process.env.NEXT_PUBLIC_API_HOST;\nconst hostUrl = `${protocol}://${host}/api/v1/`;\n\nexport const API = {\n protocol: protocol,\n host: host,\n // port: port,\n hostUrl: hostUrl,\n};\n","import { API } from 'config/api.config';\nimport Auth from '../auth';\nexport const BaseURL = API.hostUrl;\nconst axios = require('axios');\n\nconst defaultHeaders = {\n isAuth: true,\n AdditionalParams: {},\n isJsonRequest: true,\n};\n\nexport const ApiPostNoAuth = (type: string, userData: Record) => {\n return new Promise((resolve, reject) => {\n axios\n .post(\n BaseURL + type,\n userData,\n getHttpOptions({ ...defaultHeaders, isAuth: false }),\n )\n .then((responseJson: any) => {\n resolve(responseJson);\n })\n .catch((error: any) => {\n if (\n error &&\n error.hasOwnProperty('response') &&\n error.response &&\n error.response.hasOwnProperty('data') &&\n error.response.data\n ) {\n let errorMessage = 'Server Error Please try again';\n if (\n error.response.data.hasOwnProperty('error') &&\n error.response.data.error\n ) {\n errorMessage = error.response.data.error;\n }\n\n if (\n error.response.data.hasOwnProperty('message') &&\n error.response.data.message\n ) {\n errorMessage = error.response.data.message;\n }\n\n if (error.response.status === 401) {\n localStorage.clear();\n // window.location.reload();\n return;\n }\n reject({ message: errorMessage });\n } else {\n reject(error);\n }\n });\n });\n};\n\n// export const ApiGetNoAuth = (type) => {\n// return new Promise((resolve, reject) => {\n// axios\n// .get(BaseURL + type, getHttpOptions({ ...defaultHeaders, isAuth: false }))\n// .then((responseJson) => {\n// resolve(responseJson);\n// })\n// .catch((error) => {\n// if (\n// error &&\n// error.hasOwnProperty('response') &&\n// error.response &&\n// error.response.hasOwnProperty('data') &&\n// error.response.data &&\n// error.response.data.hasOwnProperty('error') &&\n// error.response.data.error\n// ) {\n// reject(error.response.data.error);\n// if (error.response.status === 401) {\n// localStorage.clear();\n// window.location.reload();\n// return;\n// }\n// } else {\n// reject(error);\n// }\n// });\n// });\n// };\n\n// export const Api = (type, methodtype, userData) => {\n// return new Promise((resolve, reject) => {\n// userData = userData || {};\n// axios({\n// url: BaseURL + type,\n// headers: getHttpOptions(),\n// data: userData,\n// type: methodtype,\n// })\n// .then((responseJson) => {\n// resolve(responseJson);\n// })\n// .catch((error) => {\n// if (\n// error &&\n// error.hasOwnProperty('response') &&\n// error.response &&\n// error.response.hasOwnProperty('data') &&\n// error.response.data\n// ) {\n// let errorMessage = 'Server Error Please try again';\n// if (\n// error.response.data.hasOwnProperty('error') &&\n// error.response.data.error\n// ) {\n// errorMessage = error.response.data.error;\n// }\n\n// if (\n// error.response.data.hasOwnProperty('message') &&\n// error.response.data.message\n// ) {\n// errorMessage = error.response.data.message;\n// }\n\n// if (error.response.status === 401) {\n// localStorage.clear();\n// window.location.reload();\n// return;\n// }\n// reject({ message: errorMessage });\n// } else {\n// reject(error);\n// }\n// });\n// });\n// };\n\nexport const ApiGet = (type: any) => {\n return new Promise((resolve, reject) => {\n axios\n .get(BaseURL + type, getHttpOptions())\n .then((responseJson: any) => {\n resolve(responseJson);\n })\n .catch((error: any) => {\n if (\n error &&\n error.hasOwnProperty('response') &&\n error.response &&\n error.response.hasOwnProperty('data') &&\n error.response.data\n ) {\n let errorMessage = 'Server Error Please try again';\n if (\n error.response.data.hasOwnProperty('error') &&\n error.response.data.error\n ) {\n errorMessage = error.response.data.error;\n }\n\n if (\n error.response.data.hasOwnProperty('message') &&\n error.response.data.message\n ) {\n errorMessage = error.response.data.message;\n }\n\n if (error.response.status === 401) {\n localStorage.clear();\n // window.location.reload();\n return;\n }\n reject({ message: errorMessage });\n } else {\n reject(error);\n }\n });\n });\n};\n\nexport const ApiPost = (type: any, userData: any, options?: any) => {\n return new Promise((resolve, reject) => {\n axios\n .post(BaseURL + type, userData, { ...getHttpOptions(), ...options })\n .then((responseJson: any) => {\n resolve(responseJson);\n })\n .catch((error: any) => {\n if (\n error &&\n error.hasOwnProperty('response') &&\n error.response &&\n error.response.hasOwnProperty('data') &&\n error.response.data\n ) {\n let errorMessage = 'Server Error Please try again';\n if (\n error.response.data.hasOwnProperty('error') &&\n error.response.data.error\n ) {\n errorMessage = error.response.data.error;\n }\n\n if (\n error.response.data.hasOwnProperty('message') &&\n error.response.data.message\n ) {\n errorMessage = error.response.data.message;\n }\n\n if (error.response.status === 401) {\n localStorage.clear();\n // window.location.reload();\n return;\n }\n reject({ message: errorMessage });\n } else {\n reject(error);\n }\n });\n });\n};\n\n// export const ApiPut = (type, userData) => {\n// return new Promise((resolve, reject) => {\n// axios\n// .put(BaseURL + type, userData, getHttpOptions())\n// .then((responseJson) => {\n// resolve(responseJson);\n// })\n// .catch((error) => {\n// if (\n// error &&\n// error.hasOwnProperty('response') &&\n// error.response &&\n// error.response.hasOwnProperty('data') &&\n// error.response.data\n// ) {\n// let errorMessage = 'Server Error Please try again';\n// if (\n// error.response.data.hasOwnProperty('error') &&\n// error.response.data.error\n// ) {\n// errorMessage = error.response.data.error;\n// }\n\n// if (\n// error.response.data.hasOwnProperty('message') &&\n// error.response.data.message\n// ) {\n// errorMessage = error.response.data.message;\n// }\n\n// if (error.response.status === 401) {\n// localStorage.clear();\n// window.location.reload();\n// return;\n// }\n// reject({ message: errorMessage });\n// } else {\n// reject(error);\n// }\n// });\n// });\n// };\n\n// export const ApiPatch = (type, userData) => {\n// return new Promise((resolve, reject) => {\n// axios\n// .patch(BaseURL + type, userData, getHttpOptions())\n// .then((responseJson) => {\n// resolve(responseJson);\n// })\n// .catch((error) => {\n// if (\n// error &&\n// error.hasOwnProperty('response') &&\n// error.response &&\n// error.response.hasOwnProperty('data') &&\n// error.response.data\n// ) {\n// let errorMessage = 'Server Error Please try again';\n// if (\n// error.response.data.hasOwnProperty('error') &&\n// error.response.data.error\n// ) {\n// errorMessage = error.response.data.error;\n// }\n\n// if (\n// error.response.data.hasOwnProperty('message') &&\n// error.response.data.message\n// ) {\n// errorMessage = error.response.data.message;\n// }\n\n// if (error.response.status === 401) {\n// localStorage.clear();\n// window.location.reload();\n// return;\n// }\n// reject({ message: errorMessage });\n// } else {\n// reject(error);\n// }\n// });\n// });\n// };\n\n// export const ApiDelete = (type, userData) => {\n// return new Promise((resolve, reject) => {\n// axios\n// .delete(BaseURL + type, getHttpOptions())\n// .then((responseJson) => {\n// resolve(responseJson);\n// })\n// .catch((error) => {\n// if (\n// error &&\n// error.hasOwnProperty('response') &&\n// error.response &&\n// error.response.hasOwnProperty('data') &&\n// error.response.data\n// ) {\n// let errorMessage = 'Server Error Please try again';\n// if (\n// error.response.data.hasOwnProperty('error') &&\n// error.response.data.error\n// ) {\n// errorMessage = error.response.data.error;\n// }\n\n// if (\n// error.response.data.hasOwnProperty('message') &&\n// error.response.data.message\n// ) {\n// errorMessage = error.response.data.message;\n// }\n\n// if (error.response.status === 401) {\n// localStorage.clear();\n// window.location.reload();\n// return;\n// }\n// reject({ message: errorMessage });\n// } else {\n// reject(error);\n// }\n// });\n// });\n// };\n\n// export const ApiDownload = (type, userData) => {\n// let method = userData && Object.keys(userData).length > 0 ? 'POST' : 'GET';\n// return new Promise((resolve, reject) => {\n// axios({\n// url: BaseURL + type,\n// method,\n// headers: getHttpOptions(),\n// data: userData,\n// })\n// .then((res) => res.blob())\n// .then((res) => resolve(res))\n// .catch((error) => {\n// if (\n// error &&\n// error.hasOwnProperty('response') &&\n// error.response &&\n// error.response.hasOwnProperty('data') &&\n// error.response.data\n// ) {\n// let errorMessage = 'Server Error Please try again';\n// if (\n// error.response.data.hasOwnProperty('error') &&\n// error.response.data.error\n// ) {\n// errorMessage = error.response.data.error;\n// }\n\n// if (\n// error.response.data.hasOwnProperty('message') &&\n// error.response.data.message\n// ) {\n// errorMessage = error.response.data.message;\n// }\n\n// if (error.response.status === 401) {\n// localStorage.clear();\n// window.location.reload();\n// return;\n// }\n// reject({ message: errorMessage });\n// } else {\n// reject(error);\n// }\n// });\n// });\n// };\n\n// export const ApiGetBuffer = (url) => {\n// return new Promise((resolve, reject) => {\n// fetch(url, {\n// method: 'GET',\n// mode: 'no-cors',\n// })\n// .then((response) => {\n// if (response.ok) {\n// return response.buffer();\n// } else {\n// resolve(null);\n// }\n// })\n// .then((buffer) => {\n// resolve(buffer);\n// })\n// .catch((error) => {\n// console.error(error);\n// reject(error);\n// });\n// });\n// };\n\n// export const Logout = () => {\n// return ApiPost('/accounts/logout', {});\n// };\n\ninterface RequstHeaders {\n Authorization?: string;\n 'Content-Type'?: 'application/json';\n}\n\nexport const getHttpOptions = (options = defaultHeaders) => {\n let headers: RequstHeaders = {};\n\n if (options.hasOwnProperty('isAuth') && options.isAuth) {\n headers['Authorization'] = Auth.getToken();\n }\n\n if (options.hasOwnProperty('isJsonRequest') && options.isJsonRequest) {\n headers['Content-Type'] = 'application/json';\n }\n\n if (options.hasOwnProperty('AdditionalParams') && options.AdditionalParams) {\n headers = { ...headers, ...options.AdditionalParams };\n }\n\n return { headers };\n};\n","// import { useUser } from 'context/user.context';\n// import { useRouter } from 'next/router';\n// import { useEffect } from 'react';\n\n// export const useInvestorRoute = () => {\n// const [userData] = useUser();\n// const { user, isLoading } = userData;\n// const router = useRouter();\n\n// useEffect(() => {\n// if (isLoading) {\n// } else {\n// if (!user || user.role_id !== 1) {\n// router.replace('/login');\n// }\n// }\n// }, [router, user, isLoading]);\n\n// return userData;\n// };\n\nimport { useUser } from 'context/user.context';\nimport { useRouter } from 'next/router';\nimport { useEffect } from 'react';\n\nexport const useInvestorRoute = () => {\n const [userData] = useUser();\n const { user, isLoading } = userData;\n const router = useRouter();\n\n useEffect(() => {\n if (isLoading) {\n } else {\n if (!user || user.role_id !== 1) {\n router.replace(\n `/register?redirect_url=${encodeURIComponent(router.asPath)}`,\n );\n }\n }\n }, [router, user, isLoading]);\n\n return userData;\n};\n","import { useRouter } from 'next/router';\nimport { useEffect, useMemo } from 'react';\nimport { useInvestorRoute } from './useInvestorRoute';\n\ntype Paths =\n | '/investor-assessment'\n | '/investor-KYC'\n | '/investor-agreement'\n | '/investor-onboarded';\n\nexport const useRedirectUserStatus = () => {\n const router = useRouter();\n const paths: Record = useMemo(\n () => ({\n 1: '/investor-assessment',\n 2: '/investor-KYC',\n 3: '/investor-agreement',\n 4: '/investor-onboarded',\n }),\n [],\n );\n\n const { user } = useInvestorRoute();\n const status = user?.status;\n useEffect(() => {\n if (router.pathname === '/investment-kyc') {\n return;\n }\n if (status) {\n if (paths[status.toString()] !== router.pathname) {\n router.replace(paths[status.toString()]);\n }\n }\n }, [status, router, paths]);\n};\n","import { useUser } from 'context/user.context';\nimport { useRouter } from 'next/router';\nimport { useEffect } from 'react';\n\nexport const useStartupRoute = () => {\n const [userData] = useUser();\n const { user, isLoading } = userData;\n const router = useRouter();\n\n useEffect(() => {\n if (isLoading) {\n } else {\n if (!user || user.role_id !== 2) {\n router.replace(`/register`, {\n query: {\n redirect_url: encodeURIComponent(router.asPath),\n userType: '2',\n },\n });\n }\n }\n }, [router, user, isLoading]);\n\n return userData;\n};\n","import { useRouter } from 'next/router';\nimport { useEffect, useMemo } from 'react';\nimport { useStartupRoute } from 'hooks';\n\ntype Paths =\n | '/create-startup-profile'\n | '/startup-agreement'\n | '/startup-pitch-details'\n | '/investor-summary';\n\nexport const useRedirectStartupStatus = () => {\n const router = useRouter();\n const paths: Record = useMemo(\n () => ({\n 1: '/create-startup-profile',\n 2: '/startup-agreement',\n 3: '/startup-pitch-details',\n 4: '/investor-summary',\n }),\n [],\n );\n\n const { user } = useStartupRoute();\n const status = user?.status;\n useEffect(() => {\n if (router.pathname === '/investment-kyc') {\n return;\n }\n if (status === 4 && user?.company?.approved !== 'approved') {\n router.replace('/startup-pitch-details');\n return;\n }\n if (status) {\n if (paths[status.toString()] !== router.pathname) {\n router.replace(paths[status.toString()]);\n }\n }\n }, [status, router, paths, user?.company?.approved]);\n};\n","import { useUser } from 'context/user.context';\nimport { useRouter } from 'next/router';\nimport { useEffect } from 'react';\n\nexport const useRedirectAuthorizedPaths = () => {\n const router = useRouter();\n const [{ user, isLoading }] = useUser();\n useEffect(() => {\n if (user && !isLoading) {\n router.replace('/');\n }\n }, [router, user, isLoading]);\n};\n\n//user - true\n//isloading - false\n","import { useState, useRef, useEffect } from 'react';\nimport { toast, ToastContainer } from 'react-toastify';\nimport queryString from 'query-string';\nimport { useForm } from 'react-hook-form';\nimport {\n FormGroup,\n FormLabel,\n Grid,\n CircularProgress,\n RadioGroup,\n FormControlLabel,\n Radio,\n FormControl,\n InputAdornment,\n IconButton,\n useTheme,\n Box,\n} from '@mui/material';\nimport { makeStyles } from '@mui/styles';\nimport { CustomTextField, CustomButton } from 'components/common';\nimport { ApiPostNoAuth } from 'helpers/Api/ApiData';\n\nimport Visibility from '@mui/icons-material/Visibility';\nimport VisibilityOff from '@mui/icons-material/VisibilityOff';\nimport ArrowBackIcon from '@mui/icons-material/ArrowBack';\nimport signinImg from 'assets/images/signin-img.svg';\nimport Link from 'components/Link';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport * as yup from 'yup';\nimport { useRouter } from 'next/router';\n\ninterface EmailSignupProps {\n /**\n * handle back button click\n */\n handleBack: () => void;\n setResisterSuccess: (_arg0: any) => void;\n}\n\nconst EmailSignup = ({ handleBack, setResisterSuccess }: EmailSignupProps) => {\n const theme = useTheme();\n const useStyles = makeStyles({\n loginSignUpWrap: {\n // minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n flex: 1,\n '& MuiGrid-item': {\n widhandleBackth: '100%',\n },\n // [theme.breakpoints.down('sm')]:{\n // minHeight: \"calc(100vh - 256px)\",\n // }\n },\n loginSignUpBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '30px 30px',\n display: 'flex',\n alignItems: 'baseline',\n justifyContent: 'flex-start',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n // [theme.breakpoints.down('lg')]: {\n // padding: \"0px 15% 50px\",\n // },\n [theme.breakpoints.down('sm')]: {\n flexDirection: 'column',\n },\n\n // [theme.breakpoints.down('xs')]: {\n // padding: \"50px 10% 50px\",\n // },\n\n '& h2': {\n marginBottom: 20,\n fontWeight: 500,\n fontSize: 20,\n lineHeight: 1,\n color: '#111111',\n },\n\n '& .MuiFormGroup-root': {\n // marginBottom: 20,\n },\n\n // '& .MuiFormLabel-root': {\n // fontSize: 14,\n // color: '#111111',\n // lineHeight: 1.2,\n // padding: 0,\n // },\n // '& .MuiInputLabel-outlined': {\n // transform: 'translate(15px, 12px) scale(1)',\n // [theme.breakpoints.down('xs')]: {\n // transform: 'translate(15px, 15px) scale(1)',\n // },\n // },\n // '& .MuiInputLabel-shrink': {\n // transform: 'translate(15px, -8px) scale(1)',\n // backgroundColor: '#fff',\n // fontSize: 12,\n // padding: '0 11px',\n // color: 'rgba(17, 17, 17, 0.5)',\n // },\n // '& .MuiInputBase-formControl': {\n // '& .MuiOutlinedInput-input': {\n // padding: '12px 15px',\n // fontSize: 14,\n // [theme.breakpoints.down('xs')]: {\n // fontSize: 14,\n // padding: '15px 15px',\n // },\n // },\n // },\n '& .MuiButton-root': {\n width: '250px',\n borderRadius: 40,\n margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n },\n },\n },\n loginSignImg: {\n height: 'calc(100%)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '90px',\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n loginSignImg1: {\n height: 'calc(100vh)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '175px',\n\n '& img': {\n width: '60%',\n display: 'noone',\n margin: '0 auto 100px',\n },\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n\n loginSignImg2: {\n paddingTop: '100px',\n '& img': {\n width: '50%',\n display: 'none',\n margin: '0 auto 50px',\n [theme.breakpoints.down('md')]: {\n display: 'none',\n },\n },\n },\n forgotLink: {\n cursor: 'pointer',\n display: 'block',\n fontSize: 14,\n color: 'rgba(17, 17, 17, 0.7)',\n lineHeight: '19px',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '&:hover': {\n color: 'rgba(17, 17, 17, 1)',\n },\n },\n newRegister: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111',\n fontWeight: 400,\n marginTop: 10,\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n error: {\n fontSize: 12,\n lineHeight: 1,\n display: 'flex',\n // flexWrap: 'wrap',\n marginTop: 5,\n\n '& svg': {\n fontSize: 14,\n verticalAlign: 'middle',\n marginRight: 4,\n },\n '& .MuiInputBase-formControl': {\n '& .MuiOutlinedInput-notchedOutline': {\n borderColor: '#DD6161',\n },\n },\n },\n radioWant: {\n display: 'flex',\n flexDirection: 'row',\n marginBottom: 15,\n alignItems: 'center',\n\n '& .MuiFormLabel-root': {\n width: 100,\n },\n\n '& .MuiFormGroup-row': {\n marginBottom: 0,\n width: 'calc(100% - 100px)',\n [theme.breakpoints.down('sm')]: {\n width: 'calc(100% - 30px)',\n },\n },\n\n '& .MuiFormControlLabel-root': {\n marginRight: 40,\n [theme.breakpoints.down('xs')]: {\n marginRight: 30,\n },\n },\n\n '& .MuiFormControlLabel-label': {\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n },\n\n [theme.breakpoints.down('sm')]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n },\n },\n SignUpWelcome: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '45px 25% 0',\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'center',\n alignItems: 'center',\n\n [theme.breakpoints.down('sm')]: {\n padding: '0px 15% 0',\n },\n [theme.breakpoints.down('xs')]: {\n padding: '0 10%',\n },\n },\n SignUpWelcomeContent: {\n display: 'flex',\n flexWrap: 'wrap',\n\n '& h2': {\n width: '100%',\n display: 'block',\n fontWeight: 500,\n fontSize: 28,\n lineHeight: 1,\n color: '#111111',\n textAlign: 'center',\n margin: '54px 0 18px 0',\n [theme.breakpoints.down('xs')]: {\n marginTop: '50px',\n },\n },\n '& p': {\n display: 'block',\n fontWeight: 400,\n fontSize: 20,\n lineHeight: '28px',\n color: '#111111',\n textAlign: 'center',\n },\n '& span': {\n fontSize: '12px',\n textAlign: 'center',\n marginTop: '20px',\n lineHeight: '16px',\n padding: '10px 20px',\n color: 'rgba(17, 17, 17,0.5)',\n },\n },\n loginSignUpForm: {\n display: 'flex',\n width: '100%',\n maxWidth: 524,\n // margin: '0 auto',\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n '& form': {\n width: '100%',\n display: 'block',\n },\n },\n\n ReferralCode: {\n '& .MuiInputBase-root': {\n '& input': {\n textTransform: 'uppercase',\n '&:disabled': {\n color: 'rgba(17, 17, 17,0.5)',\n },\n },\n },\n },\n passwordIcon: {\n verticalAlign: 'middle',\n marginRight: 4,\n '& svg': {\n fontSize: '1.5rem',\n },\n },\n firstNameTExtField: {\n '& .MuiFormControl-root': {\n marginBottom: '0px',\n },\n '& MuiBox-root': {\n marginTop: '0px',\n },\n [theme.breakpoints.down('xs')]: {\n marginBottom: '-4px !important',\n },\n },\n\n //Gmail Account\n gmailAccountWrap: {\n // minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n flex: 1,\n '& MuiGrid-iteerrorm': {\n width: '100%',\n },\n },\n gmailSignImg: {\n height: 'calc(100%)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '90px',\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n signUpGmailBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '49px 30px',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n display: 'flex',\n alignItems: 'flex-start',\n //flexDirection: \"column\",\n [theme.breakpoints.down(767)]: {\n padding: '49px 15px',\n flexDirection: 'column',\n },\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n backIcon: {\n marginRight: '10px',\n },\n '& h2': {\n marginBottom: 20,\n fontWeight: 500,\n fontSize: 20,\n lineHeight: 1,\n color: '#111111',\n },\n '& .MuiButton-root': {\n width: '250px',\n borderRadius: 40,\n margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n },\n },\n },\n '& .MuiFormGroup-root': {\n marginBottom: 20,\n },\n\n '& .MuiFormLabel-root': {\n fontSize: 14,\n color: '#111111',\n lineHeight: 1.2,\n padding: 0,\n },\n '& .MuiInputLabel-outlined': {\n transform: 'translate(15px, 12px) scale(1)',\n [theme.breakpoints.down('xs')]: {\n transform: 'translate(15px, 15px) scale(1)',\n },\n },\n '& .MuiInputLabel-shrink': {\n transform: 'translate(15px, -8px) scale(1)',\n backgroundColor: '#fff',\n fontSize: 12,\n padding: '0 11px',\n color: 'rgba(17, 17, 17, 0.5)',\n },\n '& .MuiInputBase-formControl': {\n '& .MuiOutlinedInput-input': {\n padding: '12px 15px',\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 14,\n padding: '15px 15px',\n },\n },\n },\n signUpGmailForm: {\n display: 'block',\n width: '100%',\n maxWidth: 524,\n margin: '0 auto',\n heading: {\n display: 'flex',\n },\n },\n gmailRadioWant: {\n display: 'flex',\n flexDirection: 'row',\n marginBottom: 15,\n alignItems: 'center',\n\n '& .MuiFormLabel-root': {\n color: '#111111',\n width: 100,\n fontSize: 14,\n },\n\n '& .MuiFormGroup-row': {\n marginBottom: 0,\n [theme.breakpoints.down(767)]: {\n width: '100%',\n },\n },\n\n '& .MuiFormControlLabel-root': {\n marginRight: 40,\n [theme.breakpoints.down('xs')]: {\n marginRight: 30,\n },\n },\n\n '& .MuiFormControlLabel-label': {\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 14,\n },\n },\n\n [theme.breakpoints.down(767)]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n },\n },\n mobileTextField: {\n marginBottom: '25px',\n '& .MuiInputLabel-outlined': {\n transform: 'translate(14px, 16px) scale(1)',\n fontSize: '14px',\n },\n '& .MuiInputBase-input': {\n padding: '12px 15px',\n fontSize: '14px',\n },\n },\n referrerTextField: {\n marginBottom: '51px',\n '& .MuiInputLabel-outlined': {\n transform: 'translate(14px, 16px) scale(1)',\n fontSize: '14px',\n },\n '& .MuiInputBase-input': {\n padding: '12px 15px',\n fontSize: '14px',\n },\n },\n gmailSignupButton: {\n alignItems: 'center',\n marginBottom: '27px',\n '& span': {\n fontSize: '24px',\n fontStyle: 'normal',\n fontWeight: 'bold',\n },\n },\n gmailNewRegister: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111111',\n fontWeight: 400,\n //\tmarginTop: '40px',\n //\tmarginLeft: '35px',\n fontStyle: 'normal',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n\n //Two Button Account\n signUpAccountWrap: {\n //minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n flex: 1,\n '& MuiGrid-item': {\n width: '100%',\n },\n },\n signUpAccountBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '30px',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n alignItems: 'flex-start',\n justifyContent: 'center',\n textAlign: 'center',\n '& h2': {\n margin: '0 auto 20px',\n fontWeight: 500,\n fontSize: 28,\n lineHeight: 1,\n color: '#111111',\n [theme.breakpoints.down(767)]: {\n fontSize: '22px !important',\n },\n },\n '& .MuiButton-root': {\n // maxWidth: \"280px\",\n width: '100%',\n borderRadius: 40,\n // margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n [theme.breakpoints.down(360)]: {\n fontSize: 18,\n },\n },\n },\n },\n signUpAccountForm: {\n width: '100%',\n // maxWidth: 531,\n margin: '0 auto',\n '& h2': {\n fontSize: 24,\n fontStyle: 'normal',\n fontWeight: 500,\n textAlign: 'center',\n color: '#111111',\n },\n },\n signupAccountButton: {\n margin: '0px auto 0',\n\n '& button:first-child': {\n marginBottom: '17px',\n maxWidth: '250px',\n border: '1px solid transparent',\n '& span': {\n justifyContent: 'flex-start',\n },\n },\n '& button:last-child': {\n // minHeight: \"64px\",\n maxWidth: '250px',\n marginBottom: '32px',\n },\n '& small': {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '50%',\n backgroundColor: '#fff',\n width: '40px',\n height: '40px',\n marginRight: '8px',\n padding: '5px',\n },\n },\n\n newRegisterAccount: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111',\n fontWeight: 400,\n margin: '0 auto',\n fontStyle: 'normal',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n });\n const router = useRouter();\n const queryReferralCode = router.query.referral_code as string | undefined;\n const queryUserType = router.query.userType as '2' | undefined;\n // console.log(router);\n // console.log(router.query);\n // console.log(router.asPath.match(new RegExp(`[&?]${`userType`}=(.*)(&|$)`)));\n const [role_id, setRole_id] = useState<'1' | '2'>('1');\n const [loader, setLoader] = useState(false);\n // const [resisterSuccess, setResisterSuccess] = useState();\n const [passwordVisible, setPasswordVisible] = useState(false);\n const [repeatPasswordVisible, setRepeatPasswordVisible] = useState(false);\n const [isReady, setIsReady] = useState(false);\n\n const password = useRef(null);\n\n // const validateName = (name: string) => {\n // const regex = /^[A-Za-z]+\\s*$/i;\n // if (!regex.test(name)) {\n // return 'Invalid input';\n // } else if (name.trim().length < 3) {\n // return 'Please enter at least 3 characters';\n // }\n // };\n useEffect(() => {\n const queryStringValue = window.location.search;\n const queryObject = queryString.parse(queryStringValue);\n if (queryObject?.userType == '2') {\n setRole_id('2');\n }\n setIsReady(true);\n }, []);\n // useEffect(() => {\n // debugger;\n // console.log(router.query);\n // if (queryUserType) {\n // debugger;\n // setRole_id(queryUserType);\n // }\n // }, [queryUserType, router.query, router.isReady]);\n\n interface FormFields {\n first_name: string;\n last_name: string;\n email: string;\n phone_no: string;\n referrer_code: string;\n role_id: '1' | '2';\n password: string;\n confirm_password: string;\n age: number;\n }\n\n const schema = yup.object().shape({\n first_name: yup\n .string()\n .trim()\n .min(3, 'Please enter at least 3 characters')\n .required('First name is required')\n .matches(/^([A-Za-z]){2}[A-Za-z]+\\s*$/i, 'Invalid input'),\n last_name: yup\n .string()\n .trim()\n .min(3, 'Please enter at least 3 characters')\n .matches(/^[A-Za-z]+\\s*$/i, 'Invalid input')\n .required('Last name is required'),\n email: yup\n .string()\n .email('Please enter valid email address')\n .required('Email is required'),\n phone_no: yup\n .string()\n .matches(/^[0-9]{10}$/, 'Enter valid 10 digit mobile number')\n .required('Mobile no is required'),\n referrer_code: yup\n .string()\n .notRequired()\n .matches(/^(POD|pod)[a-zA-Z0-9]{7}\\s*$/, {\n message: 'Invalid referral code',\n excludeEmptyString: true,\n }),\n password: yup\n .string()\n .min(\n 8,\n 'Minimum eight characters, at least one letter, one number and one special character',\n )\n .required('Password is required')\n .matches(\n /^(?=.*[A-Za-z])(?=.*\\d)(?=.*[@$!%*#?&])[A-Za-z\\d@$!%*#?&]{8,}$/i,\n 'Minimum eight characters, at least one letter, one number and one special character',\n ),\n confirm_password: yup\n .string()\n .test(\n 'check_passwords_match',\n `The passwords do not match`,\n (value) => value === password.current?.value,\n )\n .required('Confirm password is required'),\n });\n\n const classes = useStyles();\n const {\n control,\n handleSubmit,\n // formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n defaultValues: {\n referrer_code: queryReferralCode || '',\n },\n // defaultValues: {},\n mode: 'onTouched',\n });\n const onSubmit = async (data: any) => {\n setLoader(true);\n data = {\n ...data,\n first_name: data.first_name.trim(),\n last_name: data.last_name.trim(),\n role_id: parseInt(role_id),\n referrer_code: data?.referrer_code?.toUpperCase().trim(),\n };\n console.log('data', data);\n ApiPostNoAuth(\n `${\n `user/signup`\n // redirectUrl\n // ? `user/signup?redirect_url=${encodeURIComponent(redirectUrl)}`\n // : `user/signup`\n }`,\n { ...data },\n )\n .then((res: any) => {\n if (res.data.statusCode === 200) {\n setResisterSuccess(res.data.data);\n setLoader(false);\n } else {\n toast.error(res.data.message, {\n autoClose: 5000,\n hideProgressBar: true,\n });\n setLoader(false);\n }\n })\n .catch((err: any) => {\n toast.error(err.message, { autoClose: 5000, hideProgressBar: true });\n setLoader(false);\n });\n };\n\n if (!isReady) {\n return null;\n }\n\n return (\n \n \n \n
\n \"signInImage\"\n
\n
\n \n
\n \n handleBack()}\n />\n \n
\n
\n

Sign up to create an account

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n I want to\n setRole_id(e.target.value as '1' | '2')}\n >\n }\n label=\"Invest\"\n />\n }\n label=\"Raise Funds\"\n />\n \n \n {role_id === '1' ? (\n \n \n \n ) : null}\n \n \n setPasswordVisible(!passwordVisible)}\n >\n {passwordVisible ? : }\n \n \n ),\n }}\n autoComplete=\"false\"\n control={control}\n />\n \n \n \n \n setRepeatPasswordVisible(!repeatPasswordVisible)\n }\n >\n {repeatPasswordVisible ? (\n \n ) : (\n \n )}\n \n \n ),\n }}\n autoComplete=\"false\"\n control={control}\n />\n \n \n {/* {loader ? (\n \n \n \n ) : ( */}\n \n {loader ? (\n \n ) : (\n 'Register'\n )}\n \n {/* )} */}\n \n
\n Already have an account?{' '}\n \n Login\n \n
\n
\n
\n
\n
\n
\n );\n};\n\nexport default EmailSignup;\n","export default {\"src\":\"/_next/static/media/newsletter-img.a74d6fe4.svg\",\"height\":344,\"width\":530};","import { useState, useEffect } from 'react';\nimport { toast, ToastContainer } from 'react-toastify';\nimport { useForm } from 'react-hook-form';\nimport queryString from 'query-string';\n\nimport {\n FormGroup,\n FormLabel,\n Grid,\n CircularProgress,\n RadioGroup,\n FormControlLabel,\n Radio,\n FormControl,\n useTheme,\n} from '@mui/material';\nimport { makeStyles } from '@mui/styles';\nimport { CustomTextField, CustomButton } from 'components/common';\n\nimport { ApiPostNoAuth } from 'helpers/Api/ApiData';\n\nimport ArrowBackIcon from '@mui/icons-material/ArrowBack';\nimport signinImg from 'assets/images/signin-img.svg';\n\nimport Auth from 'helpers/auth';\n\nimport Link from 'components/Link';\nimport { useRouter } from 'next/router';\nimport { useUser } from 'context/user.context';\n\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport * as yup from 'yup';\n\ninterface GmailSignupProps {\n // loader: boolean;\n handleBack: () => void;\n googleLoginResponse: any;\n}\n\nconst GmailSignup = ({ handleBack, googleLoginResponse }: GmailSignupProps) => {\n const history = useRouter();\n const theme = useTheme();\n const useStyles = makeStyles({\n loginSignUpWrap: {\n // minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n flex: 1,\n '& MuiGrid-item': {\n width: '100%',\n },\n // [theme.breakpoints.down('sm')]:{\n // minHeight: \"calc(100vh - 256px)\",\n // }\n },\n loginSignUpBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '30px 30px',\n display: 'flex',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n // [theme.breakpoints.down('lg')]: {\n // padding: \"0px 15% 50px\",\n // },\n // [theme.breakpoints.down('sm')]: {\n // padding: \"50px 15% 50px\",\n // },\n\n // [theme.breakpoints.down('xs')]: {\n // padding: \"50px 10% 50px\",\n // },\n\n '& h2': {\n marginBottom: 20,\n fontWeight: 500,\n fontSize: 20,\n lineHeight: 1,\n color: '#111111',\n },\n\n '& .MuiFormGroup-root': {\n marginBottom: 20,\n },\n\n '& .MuiFormLabel-root': {\n fontSize: 14,\n color: '#111111',\n lineHeight: 1.2,\n padding: 0,\n },\n '& .MuiInputLabel-outlined': {\n transform: 'translate(15px, 12px) scale(1)',\n [theme.breakpoints.down('xs')]: {\n transform: 'translate(15px, 15px) scale(1)',\n },\n },\n '& .MuiInputLabel-shrink': {\n transform: 'translate(15px, -8px) scale(1)',\n backgroundColor: '#fff',\n fontSize: 12,\n padding: '0 11px',\n color: 'rgba(17, 17, 17, 0.5)',\n },\n '& .MuiInputBase-formControl': {\n '& .MuiOutlinedInput-input': {\n padding: '12px 15px',\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 14,\n padding: '15px 15px',\n },\n },\n },\n '& .MuiButton-root': {\n width: '250px',\n borderRadius: 40,\n margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n },\n },\n },\n loginSignImg: {\n height: 'calc(100%)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '90px',\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n loginSignImg1: {\n height: 'calc(100vh)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '175px',\n\n '& img': {\n width: '60%',\n display: 'noone',\n margin: '0 auto 100px',\n },\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n\n loginSignImg2: {\n paddingTop: '100px',\n '& img': {\n width: '50%',\n display: 'none',\n margin: '0 auto 50px',\n [theme.breakpoints.down('md')]: {\n display: 'none',\n },\n },\n },\n forgotLink: {\n cursor: 'pointer',\n display: 'block',\n fontSize: 14,\n color: 'rgba(17, 17, 17, 0.7)',\n lineHeight: '19px',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '&:hover': {\n color: 'rgba(17, 17, 17, 1)',\n },\n },\n newRegister: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111',\n fontWeight: 400,\n marginTop: -10,\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n error: {\n fontSize: 12,\n lineHeight: 1,\n display: 'flex',\n // flexWrap: 'wrap',\n marginTop: 5,\n\n '& svg': {\n fontSize: 14,\n verticalAlign: 'middle',\n marginRight: 4,\n },\n '& .MuiInputBase-formControl': {\n '& .MuiOutlinedInput-notchedOutline': {\n borderColor: '#DD6161',\n },\n },\n },\n radioWant: {\n display: 'flex',\n flexDirection: 'row',\n marginBottom: 15,\n alignItems: 'center',\n\n '& .MuiFormLabel-root': {\n width: 100,\n },\n\n '& .MuiFormGroup-row': {\n marginBottom: 0,\n width: 'calc(100% - 100px)',\n [theme.breakpoints.down('sm')]: {\n width: 'calc(100% - 30px)',\n },\n },\n\n '& .MuiFormControlLabel-root': {\n marginRight: 40,\n [theme.breakpoints.down('xs')]: {\n marginRight: 30,\n },\n },\n\n '& .MuiFormControlLabel-label': {\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n },\n\n [theme.breakpoints.down('sm')]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n },\n },\n SignUpWelcome: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '45px 25% 0',\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'center',\n alignItems: 'center',\n\n [theme.breakpoints.down('sm')]: {\n padding: '0px 15% 0',\n },\n [theme.breakpoints.down('xs')]: {\n padding: '0 10%',\n },\n },\n SignUpWelcomeContent: {\n display: 'flex',\n flexWrap: 'wrap',\n\n '& h2': {\n width: '100%',\n display: 'block',\n fontWeight: 500,\n fontSize: 28,\n lineHeight: 1,\n color: '#111111',\n textAlign: 'center',\n margin: '54px 0 18px 0',\n [theme.breakpoints.down('xs')]: {\n marginTop: '50px',\n },\n },\n '& p': {\n display: 'block',\n fontWeight: 400,\n fontSize: 20,\n lineHeight: '28px',\n color: '#111111',\n textAlign: 'center',\n },\n '& span': {\n fontSize: '12px',\n textAlign: 'center',\n marginTop: '20px',\n lineHeight: '16px',\n padding: '10px 20px',\n color: 'rgba(17, 17, 17,0.5)',\n },\n },\n loginSignUpForm: {\n display: 'flex',\n width: '100%',\n maxWidth: 524,\n margin: '0 auto',\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n '& form': {\n width: '100%',\n display: 'block',\n },\n },\n\n ReferralCode: {\n '& .MuiInputBase-root': {\n '& input': {\n textTransform: 'uppercase',\n '&:disabled': {\n color: 'rgba(17, 17, 17,0.5)',\n },\n },\n },\n },\n passwordIcon: {\n verticalAlign: 'middle',\n marginRight: 4,\n '& svg': {\n fontSize: '1.5rem',\n },\n },\n firstNameTExtField: {\n '& .MuiFormControl-root': {\n marginBottom: '0px',\n },\n '& MuiBox-root': {\n marginTop: '0px',\n },\n [theme.breakpoints.down('xs')]: {\n marginBottom: '-4px !important',\n },\n },\n\n //Gmail Account\n gmailAccountWrap: {\n // minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n flex: 1,\n '& MuiGrid-item': {\n width: '100%',\n },\n },\n gmailSignImg: {\n height: 'calc(100%)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '90px',\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n signUpGmailBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '49px 30px',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n display: 'flex',\n alignItems: 'flex-start',\n //flexDirection: \"column\",\n [theme.breakpoints.down(767)]: {\n padding: '49px 15px',\n flexDirection: 'column',\n },\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n backIcon: {\n marginRight: '10px',\n },\n '& h2': {\n marginBottom: 20,\n fontWeight: 500,\n fontSize: 20,\n lineHeight: 1,\n color: '#111111',\n },\n '& .MuiButton-root': {\n width: '250px',\n borderRadius: 40,\n margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n },\n },\n },\n '& .MuiFormGroup-root': {\n marginBottom: 20,\n },\n\n '& .MuiFormLabel-root': {\n fontSize: 14,\n color: '#111111',\n lineHeight: 1.2,\n padding: 0,\n },\n '& .MuiInputLabel-outlined': {\n transform: 'translate(15px, 12px) scale(1)',\n [theme.breakpoints.down('xs')]: {\n transform: 'translate(15px, 15px) scale(1)',\n },\n },\n '& .MuiInputLabel-shrink': {\n transform: 'translate(15px, -8px) scale(1)',\n backgroundColor: '#fff',\n fontSize: 12,\n padding: '0 11px',\n color: 'rgba(17, 17, 17, 0.5)',\n },\n '& .MuiInputBase-formControl': {\n '& .MuiOutlinedInput-input': {\n padding: '12px 15px',\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 14,\n padding: '15px 15px',\n },\n },\n },\n signUpGmailForm: {\n display: 'block',\n width: '100%',\n maxWidth: 524,\n margin: '0 auto',\n heading: {\n display: 'flex',\n },\n },\n gmailRadioWant: {\n display: 'flex',\n flexDirection: 'row',\n marginBottom: 15,\n alignItems: 'center',\n\n '& .MuiFormLabel-root': {\n color: '#111111',\n width: 100,\n fontSize: 14,\n },\n\n '& .MuiFormGroup-row': {\n marginBottom: 0,\n [theme.breakpoints.down(767)]: {\n width: '100%',\n },\n },\n\n '& .MuiFormControlLabel-root': {\n marginRight: 40,\n [theme.breakpoints.down('xs')]: {\n marginRight: 30,\n },\n },\n\n '& .MuiFormControlLabel-label': {\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 14,\n },\n },\n\n [theme.breakpoints.down(767)]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n },\n },\n mobileTextField: {\n marginBottom: '25px',\n '& .MuiInputLabel-outlined': {\n transform: 'translate(14px, 16px) scale(1)',\n fontSize: '14px',\n },\n '& .MuiInputBase-input': {\n padding: '12px 15px',\n fontSize: '14px',\n },\n },\n referrerTextField: {\n marginBottom: '51px',\n '& .MuiInputLabel-outlined': {\n transform: 'translate(14px, 16px) scale(1)',\n fontSize: '14px',\n },\n '& .MuiInputBase-input': {\n padding: '12px 15px',\n fontSize: '14px',\n },\n },\n gmailSignupButton: {\n alignItems: 'center',\n marginBottom: '27px',\n '& span': {\n fontSize: '24px',\n fontStyle: 'normal',\n fontWeight: 'bold',\n },\n },\n gmailNewRegister: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111111',\n fontWeight: 400,\n //\tmarginTop: '40px',\n //\tmarginLeft: '35px',\n fontStyle: 'normal',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n\n //Two Button Account\n signUpAccountWrap: {\n //minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n flex: 1,\n '& MuiGrid-item': {\n width: '100%',\n },\n },\n signUpAccountBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '30px',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n alignItems: 'flex-start',\n justifyContent: 'center',\n textAlign: 'center',\n '& h2': {\n margin: '0 auto 20px',\n fontWeight: 500,\n fontSize: 28,\n lineHeight: 1,\n color: '#111111',\n [theme.breakpoints.down(767)]: {\n fontSize: '22px !important',\n },\n },\n '& .MuiButton-root': {\n // maxWidth: \"280px\",\n width: '100%',\n borderRadius: 40,\n // margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n [theme.breakpoints.down(360)]: {\n fontSize: 18,\n },\n },\n },\n },\n signUpAccountForm: {\n width: '100%',\n // maxWidth: 531,\n margin: '0 auto',\n '& h2': {\n fontSize: 24,\n fontStyle: 'normal',\n fontWeight: 500,\n textAlign: 'center',\n color: '#111111',\n },\n },\n signupAccountButton: {\n margin: '0px auto 0',\n\n '& button:first-child': {\n marginBottom: '17px',\n maxWidth: '250px',\n border: '1px solid transparent',\n '& span': {\n justifyContent: 'flex-start',\n },\n },\n '& button:last-child': {\n // minHeight: \"64px\",\n maxWidth: '250px',\n marginBottom: '32px',\n },\n '& small': {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '50%',\n backgroundColor: '#fff',\n width: '40px',\n height: '40px',\n marginRight: '8px',\n padding: '5px',\n },\n },\n\n newRegisterAccount: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111',\n fontWeight: 400,\n margin: '0 auto',\n fontStyle: 'normal',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n });\n const classes = useStyles();\n const queryReferralCode = history.query.referral_code as string | undefined;\n const [role_id, setRole_id] = useState<'1' | '2'>('1');\n const [loader, setLoader] = useState(false);\n // const [googleLoginResponse, setGoogleLoginResponse] = useState();\n const [isReady, setIsReady] = useState(false);\n\n const [, , setUser] = useUser();\n\n interface FormFields {\n first_name: string;\n last_name: string;\n email: string;\n phone_no: string;\n referrer_code: string;\n role_id: '1' | '2';\n password: string;\n confirm_password: string;\n age: number;\n }\n\n const schema = yup.object().shape({\n phone_no: yup\n .string()\n .matches(/^[0-9]{10}$/, 'Invalid Mobile Number')\n .required('Phone number is required'),\n referrer_code: yup\n .string()\n .notRequired()\n .matches(/^(POD|pod)[a-zA-Z0-9]{7}\\s*$/, {\n message: 'Invalid referral code',\n excludeEmptyString: true,\n }),\n });\n\n const { control, handleSubmit } = useForm({\n resolver: yupResolver(schema),\n mode: 'onTouched',\n defaultValues: {\n referrer_code: queryReferralCode,\n },\n });\n\n const onSubmitGoogleRegister = async (data: any) => {\n try {\n setLoader(true);\n delete googleLoginResponse?.googleId;\n const res: any = await ApiPostNoAuth(`user/socialLogin`, {\n ...googleLoginResponse,\n role_id,\n ...data,\n referrer_code: data?.referrer_code?.toUpperCase().trim(),\n type: 'signup',\n });\n if (res.data.data !== null && res.data.statusCode === 200) {\n setLoader(false);\n const data = res.data.data;\n Auth.setAuthToken(data.token);\n if (data.user.role_id === 1) {\n // console.log(res.data?.data?.user);\n // debugger;\n // Auth.setUserData(res.data?.data?.user);\n setUser({ user: res.data?.data?.user, isLoading: false });\n // const redirect_url = new URLSearchParams(history.location.search).get(\n // 'redirect_url',\n // );\n // if (redirect_url) {\n // window.location.replace(`${decodeURIComponent(redirect_url)}`);\n // } else {\n history.push('/startups');\n // }\n // isRedirectUrl(history, data.user.role_id, data.user.status, data.user.company);\n // history.push('/investor-assessment')\n // toast.success(res.data.message, { autoClose: 5000, hideProgressBar: true });\n } else if (data.user.role_id === 2) {\n // Auth.setUserData(res.data?.data?.user);\n // setUser(res.data?.data?.user);\n setUser({ user: res.data?.data?.user, isLoading: false });\n\n history.push('/create-startup-profile');\n // toast.success(res.data.message, { autoClose: 5000, hideProgressBar: true });\n } else {\n toast.success('Admin cannot login', {\n autoClose: 5000,\n hideProgressBar: true,\n });\n }\n } else {\n toast.error(res.data.message, {\n autoClose: 5000,\n hideProgressBar: true,\n });\n setLoader(false);\n }\n } catch (error: any) {\n console.log(error);\n toast.error(error.message, { autoClose: 5000, hideProgressBar: true });\n setLoader(false);\n }\n };\n\n useEffect(() => {\n const queryStringValue = window.location.search;\n const queryObject = queryString.parse(queryStringValue);\n if (queryObject?.userType == '2') {\n setRole_id('2');\n }\n setIsReady(true);\n }, []);\n\n if (!isReady) {\n return null;\n }\n\n return (\n
\n \n \n \n
\n \"signInImage\"\n
\n
\n \n
\n
\n handleBack()} />\n
\n
\n {/*
*/}\n {/*
*/}\n\n
\n

Sign up to create an account

\n \n I want to\n setRole_id(e.target.value as '1' | '2')}\n >\n }\n label=\"Invest\"\n />\n }\n label=\"Raise Funds\"\n />\n \n \n \n \n {/* {\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t onBlur(e)}\n\t\t\t\t\t\t\t\t\t\t\t\tname=\"phone_no\"\n\t\t\t\t\t\t\t\t\t\t\t\tvalue={value}\n\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"outlined\"\n\t\t\t\t\t\t\t\t\t\t\t\tlabel=\"Mobile Number\"\n\t\t\t\t\t\t\t\t\t\t\t\tautoComplete=\"false\"\n\t\t\t\t\t\t\t\t\t\t\t\tonChange={(e) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalidatePhone(e, onChange);\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\tclassName={\n\t\t\t\t\t\t\t\t\t\t\t\t\terrors.phone_no && classes.error\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t{errors.phone_no && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{errors.phone_no.message}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)} */}\n \n\n {role_id === '1' ? (\n \n \n {/* */}\n\n {/* {errors.referrer_code && (\n \n \n {errors.referrer_code.message}\n \n )} */}\n \n ) : null}\n \n {/* {loader ? (\n \n \n \n ) : ( */}\n \n {loader ? (\n \n ) : (\n 'Proceed'\n )}\n \n {/* )} */}\n \n
\n Already have an account?{' '}\n \n Login\n \n
\n \n
\n
\n
\n
\n
\n );\n};\n\nexport default GmailSignup;\n","import { useState, useRef } from 'react';\n// import { toast } from 'react-toastify';\nimport { useForm } from 'react-hook-form';\nimport {\n Typography,\n // FormGroup,\n // FormLabel,\n Grid,\n // CircularProgress,\n Box,\n // RadioGroup,\n // FormControlLabel,\n // Radio,\n // FormControl,\n // InputAdornment,\n // IconButton,\n useTheme,\n Container,\n} from '@mui/material';\nimport { makeStyles } from '@mui/styles';\nimport { CustomButton, MetaTags } from 'components/common';\n// import from '../common/CustomButton';\n// import { Link, useHistory } from 'react-router-dom';\n// import { ApiPostNoAuth } from 'helpers/Api/ApiData';\n// import { InfoOutlined } from '@material-ui/icons';\n// import { Visibility, VisibilityOff } from '@material-ui/icons';\n// import {VisibilityIcon, VisibilityOff, ArrowBackIc} from '@mui/icons-material';\n// import Visibility from '@mui/icons-material/Visibility';\n// import VisibilityOff from '@mui/icons-material/VisibilityOff';\n// import InfoOutlined from '@mui/icons-material/InfoOutlined';\n// import ArrowBackIcon from '@mui/icons-material/ArrowBack';\nimport signinImg from 'assets/images/signin-img.svg';\nimport newsletterImg from 'assets/images/newsletter-img.svg';\n// import CommonDescription from '../common/CommonDescription';\n// import ArrowBackIcon from '@material-ui/icons/ArrowBack';\nimport GoogleLogin from 'react-google-login';\n// import Auth from 'helpers/auth';\nimport GoogleImage from 'assets/images/googleImg.png';\nimport { useRouter } from 'next/router';\nimport Link from 'components/Link';\nimport { useUser } from 'context/user.context';\nimport EmailSignup from 'components/signup/EmailSignup';\nimport GmailSignup from 'components/signup/GmailSignup';\nimport { useRedirectAuthorizedPaths } from 'hooks';\n\nexport default function Register() {\n const [, , setUser] = useUser();\n useRedirectAuthorizedPaths();\n\n const theme = useTheme();\n const useStyles = makeStyles({\n loginSignUpWrap: {\n // minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n WebkitFlexGrow: 1,\n '& MuiGrid-item': {\n width: '100%',\n },\n // [theme.breakpoints.down('sm')]:{\n // minHeight: \"calc(100vh - 256px)\",\n // }\n },\n loginSignUpBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '30px 30px',\n display: 'flex',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n // [theme.breakpoints.down('lg')]: {\n // padding: \"0px 15% 50px\",\n // },\n // [theme.breakpoints.down('sm')]: {\n // padding: \"50px 15% 50px\",\n // },\n\n // [theme.breakpoints.down('xs')]: {\n // padding: \"50px 10% 50px\",\n // },\n\n '& h2': {\n marginBottom: 20,\n fontWeight: 500,\n fontSize: 20,\n lineHeight: 1,\n color: '#111111',\n },\n\n '& .MuiFormGroup-root': {\n marginBottom: 20,\n },\n\n '& .MuiFormLabel-root': {\n fontSize: 14,\n color: '#111111',\n lineHeight: 1.2,\n padding: 0,\n },\n '& .MuiInputLabel-outlined': {\n transform: 'translate(15px, 12px) scale(1)',\n [theme.breakpoints.down('xs')]: {\n transform: 'translate(15px, 15px) scale(1)',\n },\n },\n '& .MuiInputLabel-shrink': {\n transform: 'translate(15px, -8px) scale(1)',\n backgroundColor: '#fff',\n fontSize: 12,\n padding: '0 11px',\n color: 'rgba(17, 17, 17, 0.5)',\n },\n '& .MuiInputBase-formControl': {\n '& .MuiOutlinedInput-input': {\n padding: '12px 15px',\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 14,\n padding: '15px 15px',\n },\n },\n },\n '& .MuiButton-root': {\n // width: '250px',\n borderRadius: 40,\n margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n },\n },\n },\n loginSignImg: {\n height: 'calc(100%)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '90px',\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n loginSignImg1: {\n // height: 'calc(100vh)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '175px',\n\n '& img': {\n width: '60%',\n display: 'noone',\n margin: '0 auto 100px',\n },\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n\n loginSignImg2: {\n paddingTop: '100px',\n '& img': {\n width: '50%',\n display: 'none',\n margin: '0 auto 50px',\n [theme.breakpoints.down('md')]: {\n display: 'none',\n },\n },\n },\n forgotLink: {\n cursor: 'pointer',\n display: 'block',\n fontSize: 14,\n color: 'rgba(17, 17, 17, 0.7)',\n lineHeight: '19px',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '&:hover': {\n color: 'rgba(17, 17, 17, 1)',\n },\n },\n newRegister: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111',\n fontWeight: 400,\n marginTop: -10,\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n error: {\n fontSize: 12,\n lineHeight: 1,\n display: 'flex',\n // flexWrap: 'wrap',\n marginTop: 5,\n\n '& svg': {\n fontSize: 14,\n verticalAlign: 'middle',\n marginRight: 4,\n },\n '& .MuiInputBase-formControl': {\n '& .MuiOutlinedInput-notchedOutline': {\n borderColor: '#DD6161',\n },\n },\n },\n radioWant: {\n display: 'flex',\n flexDirection: 'row',\n marginBottom: 15,\n alignItems: 'center',\n\n '& .MuiFormLabel-root': {\n width: 100,\n },\n\n '& .MuiFormGroup-row': {\n marginBottom: 0,\n width: 'calc(100% - 100px)',\n [theme.breakpoints.down('sm')]: {\n width: 'calc(100% - 30px)',\n },\n },\n\n '& .MuiFormControlLabel-root': {\n marginRight: 40,\n [theme.breakpoints.down('xs')]: {\n marginRight: 30,\n },\n },\n\n '& .MuiFormControlLabel-label': {\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n },\n\n [theme.breakpoints.down('sm')]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n },\n },\n SignUpWelcome: {\n height: '100%',\n backgroundColor: '#fff',\n // padding: '45px 25% 0',\n // paddingRight: '25%',\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'center',\n alignItems: 'center',\n\n // [theme.breakpoints.down('sm')]: {\n // padding: '0px 15% 0',\n // },\n // [theme.breakpoints.down('xs')]: {\n // padding: '0 10%',\n // },\n },\n SignUpWelcomeContent: {\n display: 'flex',\n flexWrap: 'wrap',\n\n '& h2': {\n width: '100%',\n display: 'block',\n fontWeight: 500,\n fontSize: 28,\n lineHeight: 1,\n color: '#111111',\n textAlign: 'center',\n margin: '54px 0 18px 0',\n [theme.breakpoints.down('xs')]: {\n marginTop: '50px',\n },\n },\n '& p': {\n display: 'block',\n fontWeight: 400,\n fontSize: 20,\n lineHeight: '28px',\n color: '#111111',\n textAlign: 'center',\n },\n '& span': {\n fontSize: '12px',\n textAlign: 'center',\n marginTop: '20px',\n lineHeight: '16px',\n padding: '10px 20px',\n color: 'rgba(17, 17, 17,0.5)',\n },\n },\n loginSignUpForm: {\n display: 'flex',\n width: '100%',\n maxWidth: 524,\n margin: '0 auto',\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n '& form': {\n width: '100%',\n display: 'block',\n },\n },\n\n ReferralCode: {\n '& .MuiInputBase-root': {\n '& input': {\n textTransform: 'uppercase',\n '&:disabled': {\n color: 'rgba(17, 17, 17,0.5)',\n },\n },\n },\n },\n passwordIcon: {\n verticalAlign: 'middle',\n marginRight: 4,\n '& svg': {\n fontSize: '1.5rem',\n },\n },\n firstNameTExtField: {\n '& .MuiFormControl-root': {\n marginBottom: '0px',\n },\n '& MuiBox-root': {\n marginTop: '0px',\n },\n [theme.breakpoints.down('xs')]: {\n marginBottom: '-4px !important',\n },\n },\n\n //Gmail Account\n gmailAccountWrap: {\n // minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n flex: 1,\n '& MuiGrid-item': {\n width: '100%',\n },\n },\n gmailSignImg: {\n height: 'calc(100%)',\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n background: 'rgba(252, 252, 252, 0.5)',\n paddingTop: '90px',\n [theme.breakpoints.down('sm')]: {\n display: 'none',\n },\n },\n signUpGmailBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '49px 30px',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n display: 'flex',\n alignItems: 'flex-start',\n //flexDirection: \"column\",\n [theme.breakpoints.down(767)]: {\n padding: '49px 15px',\n flexDirection: 'column',\n },\n '& .MuiSvgIcon-root': {\n cursor: 'pointer',\n },\n backIcon: {\n marginRight: '10px',\n },\n '& h2': {\n marginBottom: 20,\n fontWeight: 500,\n fontSize: 20,\n lineHeight: 1,\n color: '#111111',\n },\n '& .MuiButton-root': {\n width: '250px',\n borderRadius: 40,\n margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n },\n },\n },\n '& .MuiFormGroup-root': {\n marginBottom: 20,\n },\n\n '& .MuiFormLabel-root': {\n fontSize: 14,\n color: '#111111',\n lineHeight: 1.2,\n padding: 0,\n },\n '& .MuiInputLabel-outlined': {\n transform: 'translate(15px, 12px) scale(1)',\n [theme.breakpoints.down('xs')]: {\n transform: 'translate(15px, 15px) scale(1)',\n },\n },\n '& .MuiInputLabel-shrink': {\n transform: 'translate(15px, -8px) scale(1)',\n backgroundColor: '#fff',\n fontSize: 12,\n padding: '0 11px',\n color: 'rgba(17, 17, 17, 0.5)',\n },\n '& .MuiInputBase-formControl': {\n '& .MuiOutlinedInput-input': {\n padding: '12px 15px',\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 14,\n padding: '15px 15px',\n },\n },\n },\n signUpGmailForm: {\n display: 'block',\n width: '100%',\n maxWidth: 524,\n margin: '0 auto',\n heading: {\n display: 'flex',\n },\n },\n gmailRadioWant: {\n display: 'flex',\n flexDirection: 'row',\n marginBottom: 15,\n alignItems: 'center',\n\n '& .MuiFormLabel-root': {\n color: '#111111',\n width: 100,\n fontSize: 14,\n },\n\n '& .MuiFormGroup-row': {\n marginBottom: 0,\n [theme.breakpoints.down(767)]: {\n width: '100%',\n },\n },\n\n '& .MuiFormControlLabel-root': {\n marginRight: 40,\n [theme.breakpoints.down('xs')]: {\n marginRight: 30,\n },\n },\n\n '& .MuiFormControlLabel-label': {\n fontSize: 14,\n [theme.breakpoints.down('xs')]: {\n fontSize: 14,\n },\n },\n\n [theme.breakpoints.down(767)]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n },\n },\n mobileTextField: {\n marginBottom: '25px',\n '& .MuiInputLabel-outlined': {\n transform: 'translate(14px, 16px) scale(1)',\n fontSize: '14px',\n },\n '& .MuiInputBase-input': {\n padding: '12px 15px',\n fontSize: '14px',\n },\n },\n referrerTextField: {\n marginBottom: '51px',\n '& .MuiInputLabel-outlined': {\n transform: 'translate(14px, 16px) scale(1)',\n fontSize: '14px',\n },\n '& .MuiInputBase-input': {\n padding: '12px 15px',\n fontSize: '14px',\n },\n },\n gmailSignupButton: {\n alignItems: 'center',\n marginBottom: '27px',\n '& span': {\n fontSize: '24px',\n fontStyle: 'normal',\n fontWeight: 'bold',\n },\n },\n gmailNewRegister: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111111',\n fontWeight: 400,\n //\tmarginTop: '40px',\n //\tmarginLeft: '35px',\n fontStyle: 'normal',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n\n //Two Button Account\n signUpAccountWrap: {\n //minHeight: \"calc(100vh - 90px)\",\n display: 'flex',\n justifyContent: 'center',\n flex: 1,\n '& MuiGrid-item': {\n width: '100%',\n },\n },\n signUpAccountBox: {\n height: '100%',\n backgroundColor: '#fff',\n padding: '30px',\n // padding: \"0px 22% 50px\",\n borderRadius: 0,\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n alignItems: 'flex-start',\n justifyContent: 'center',\n textAlign: 'center',\n '& h2': {\n margin: '0 auto 20px',\n fontWeight: 500,\n fontSize: 28,\n lineHeight: 1,\n color: '#111111',\n [theme.breakpoints.down(767)]: {\n fontSize: '22px !important',\n },\n },\n '& .MuiButton-root': {\n // maxWidth: \"280px\",\n width: '100%',\n borderRadius: 40,\n // margin: '0px auto',\n\n '& span': {\n fontSize: 20,\n lineHeight: 1,\n [theme.breakpoints.down(360)]: {\n fontSize: 18,\n },\n },\n },\n },\n signUpAccountForm: {\n width: '100%',\n // maxWidth: 531,\n margin: '0 auto',\n '& h2': {\n fontSize: 24,\n fontStyle: 'normal',\n fontWeight: 500,\n textAlign: 'center',\n color: '#111111',\n },\n },\n signupAccountButton: {\n margin: '0px auto 0',\n\n '& button:first-child': {\n marginBottom: '17px',\n maxWidth: '280px',\n border: '1px solid transparent',\n '& span': {\n justifyContent: 'flex-start',\n },\n },\n '& button:last-child': {\n // minHeight: \"64px\",\n maxWidth: '280px',\n marginBottom: '32px',\n },\n '& small': {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '50%',\n backgroundColor: '#fff',\n width: '40px',\n height: '40px',\n marginRight: '8px',\n padding: '5px',\n },\n },\n\n newRegisterAccount: {\n textAlign: 'center',\n fontSize: 14,\n color: '#111',\n fontWeight: 400,\n margin: '0 auto',\n fontStyle: 'normal',\n [theme.breakpoints.down('xs')]: {\n fontSize: 16,\n },\n '& a': {\n color: '#008b5e',\n fontWeight: 700,\n },\n },\n });\n\n const classes = useStyles();\n const history = useRouter();\n //TODO: fix userTypeState\n // const userTypeState = history.location.state;\n const userTypeState = '1';\n // const referral = new URLSearchParams(props.location.search).get(\n // 'referral_code',\n // );\n const {\n handleSubmit,\n formState: { errors },\n control,\n watch,\n } = useForm({ mode: 'all' });\n const password = useRef({});\n password.current = watch('password', '');\n const [role_id, setRole_id] = useState<'1' | '2'>(userTypeState || '1');\n const [loader, setLoader] = useState(false);\n // const [passwordVisible, setPasswordVisible] = useState(false);\n // const [repeatPasswordVisible, setRepeatPasswordVisible] = useState(false);\n const [resisterSuccess, setResisterSuccess] = useState();\n const [isEmailSignUp, setIsEmailSignUp] = useState(false);\n const [isGmailSignUp, setIsGmailSignUp] = useState(false);\n // const [redirectUrl, setRedirectUrl] = useState(null);\n // const [googleLoginResponse,setGoogleResponse]= useState();\n const [googleLoginResponse, setGoogleLoginResponse] = useState();\n\n // useEffect(() => {\n // const redirect_url = new URLSearchParams(history.location.search).get(\n // 'redirect_url',\n // );\n // setRedirectUrl(redirect_url);\n // }, [history]);\n\n // useEffect(() => {\n // window.scrollTo(0, 0);\n // }, []);\n\n // const onSubmit = async (data: any) => {\n // setLoader(true);\n // data = {\n // ...data,\n // first_name: data.first_name.trim(),\n // last_name: data.last_name.trim(),\n // role_id: parseInt(role_id),\n // referrer_code: data?.referrer_code?.toUpperCase().trim(),\n // };\n // console.log('data', data);\n // ApiPostNoAuth(\n // `${\n // `user/signup`\n // // redirectUrl\n // // ? `user/signup?redirect_url=${encodeURIComponent(redirectUrl)}`\n // // : `user/signup`\n // }`,\n // { ...data },\n // )\n // .then((res: any) => {\n // if (res.data.statusCode === 200) {\n // setResisterSuccess(res.data.data);\n // setLoader(false);\n // } else {\n // toast.error(res.data.message, {\n // autoClose: 5000,\n // hideProgressBar: true,\n // });\n // setLoader(false);\n // }\n // })\n // .catch((err: any) => {\n // toast.error(err.message, { autoClose: 5000, hideProgressBar: true });\n // setLoader(false);\n // });\n // };\n\n // const validateName = async (name: any) => {\n // const regex = /^[A-Za-z]+\\s*$/i;\n // if (!regex.test(name)) {\n // return 'Invalid input';\n // } else if (name.trim().length < 3) {\n // return 'Please enter at least 3 characters';\n // }\n // };\n\n // const validatePhone = async (e: any, onChange: any) => {\n // // const regex = /^[0-9]{10}$/;\n // const removeNonNumeric = (num: number | string) =>\n // num.toString().replace(/[^0-9]/g, '');\n // const formattedValue = removeNonNumeric(e.target.value);\n // onChange(formattedValue);\n // // if (amount) {\n // // return formattedValue\n // // }\n // };\n const handleBack = () => {\n setIsGmailSignUp(false);\n setIsEmailSignUp(false);\n };\n const handleEmailSignUp = () => {\n setIsEmailSignUp(true);\n };\n const onGoogleSuccess = async (res: any) => {\n console.log('Login Success: currentUser: %j', res.profileObj);\n setGoogleLoginResponse(res.profileObj);\n setIsGmailSignUp(true);\n // const res = await ApiPostNoAuth(`user/socialLogin`, { ...res.profileObj, role_id })\n // alert(\n // `Logged in successfully welcome ${res.profileObj.name} 😍. \\n See console for full profile object.`\n // );\n // refreshTokenSetup(res);\n };\n // const onGoogleFailure = (res) => {\n // \tconsole.log('Login failed: res:', res);\n // \talert(\n // \t\t\t`Failed to login. 😢 Please ping this to repo owner twitter.com/sivanesh_fiz`\n // \t);\n // };\n\n // const onSubmitGoogleRegister = async (data: any) => {\n // try {\n // setLoader(true);\n // delete googleLoginResponse?.googleId;\n // const res: any = await ApiPostNoAuth(`user/socialLogin`, {\n // ...googleLoginResponse,\n // role_id,\n // ...data,\n // referrer_code: data?.referrer_code?.toUpperCase().trim(),\n // type: 'signup',\n // });\n // if (res.data.data !== null && res.data.statusCode === 200) {\n // setLoader(false);\n // const data = res.data.data;\n // Auth.setAuthToken(data.token);\n // if (data.user.role_id === 1) {\n // // Auth.setUserData(res.data?.data?.user);\n // setUser(res.data?.data?.user);\n // // const redirect_url = new URLSearchParams(history.location.search).get(\n // // 'redirect_url',\n // // );\n // // if (redirect_url) {\n // // window.location.replace(`${decodeURIComponent(redirect_url)}`);\n // // } else {\n // history.push('/startups');\n // // }\n // // isRedirectUrl(history, data.user.role_id, data.user.status, data.user.company);\n // // history.push('/investor-assessment')\n // // toast.success(res.data.message, { autoClose: 5000, hideProgressBar: true });\n // } else if (data.user.role_id === 2) {\n // // Auth.setUserData(res.data?.data?.user);\n // setUser(res.data?.data?.user);\n\n // history.push('/create-startup-profile');\n // // toast.success(res.data.message, { autoClose: 5000, hideProgressBar: true });\n // } else {\n // toast.success('Admin cannot login', {\n // autoClose: 5000,\n // hideProgressBar: true,\n // });\n // }\n // } else {\n // toast.error(res.data.message, {\n // autoClose: 5000,\n // hideProgressBar: true,\n // });\n // setLoader(false);\n // }\n // } catch (error: any) {\n // console.log(error);\n // toast.error(error.message, { autoClose: 5000, hideProgressBar: true });\n // setLoader(false);\n // }\n // };\n\n return (\n <>\n \n {/* */}\n {!resisterSuccess ? (\n
\n <>\n {isEmailSignUp ? (\n \n ) : (\n <>\n {isGmailSignUp ? (\n \n ) : (\n <>\n {/* {\"show two button page\"} */}\n
\n \n \n
\n \"signInImage\"\n
\n
\n \n
\n
\n

Sign up to create an account

\n
\n
\n (\n {\n renderProps.onClick();\n }}\n disabled={renderProps.disabled}\n // className=\"googleSignup\"\n >\n \n {' '}\n \"\"\n \n Sign up with Google\n \n )}\n buttonText=\" Sign up with Google\"\n onSuccess={onGoogleSuccess}\n // onFailure={onGoogleFailure}\n cookiePolicy={'single_host_origin'}\n style={{ marginTop: '100px' }}\n // isSignedIn={true}\n />\n handleEmailSignUp()}\n >\n Sign up with Email\n \n
\n
\n Already have an account?{' '}\n \n Login\n \n
\n
\n
\n
\n
\n \n )}\n \n )}\n \n
\n ) : (\n \n \n \"signInImage\"\n \n {/* */}\n {/*
*/}\n {/*
*/}\n {/*
*/}\n \n
\n \n
\n \"signInImage\"\n
\n

Welcome to Pod

\n \n Hi {resisterSuccess?.first_name}, an email has been sent to{' '}\n {resisterSuccess?.email}. Please confirm it to proceed\n further.\n \n \n Note: If you don't receive the confirmation email within\n a few minutes of signing up, please check your Spam or Bulk\n E-Mail folder.\n \n \n
\n \n \n )}\n\n {/* */}\n \n );\n}\n","'use strict';\nconst strictUriEncode = require('strict-uri-encode');\nconst decodeComponent = require('decode-uri-component');\nconst splitOnFirst = require('split-on-first');\nconst filterObject = require('filter-obj');\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nconst encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier');\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), ':list='].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), ':list=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(:list)$/.exec(key);\n\t\t\t\tkey = key.replace(/:list$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options);\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tcase 'bracket-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[\\])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null ?\n\t\t\t\t\t[] :\n\t\t\t\t\tvalue.split(options.arrayFormatSeparator).map(item => decode(item, options));\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], arrayValue);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parseValue(value, options) {\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\tvalue = Number(value);\n\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\tvalue = value.toLowerCase() === 'true';\n\t}\n\n\treturn value;\n}\n\nfunction parse(query, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn ret;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of query.split('&')) {\n\t\tif (param === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [key, value] = splitOnFirst(options.decode ? param.replace(/\\+/g, ' ') : param, '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options);\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tfor (const key of Object.keys(ret)) {\n\t\tconst value = ret[key];\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tfor (const k of Object.keys(value)) {\n\t\t\t\tvalue[k] = parseValue(value[k], options);\n\t\t\t}\n\t\t} else {\n\t\t\tret[key] = parseValue(value, options);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ','\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key])) ||\n\t\t(options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const key of Object.keys(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = object[key];\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (url, options) => {\n\toptions = Object.assign({\n\t\tdecode: true\n\t}, options);\n\n\tconst [url_, hash] = splitOnFirst(url, '#');\n\n\treturn Object.assign(\n\t\t{\n\t\t\turl: url_.split('?')[0] || '',\n\t\t\tquery: parse(extract(url), options)\n\t\t},\n\t\toptions && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}\n\t);\n};\n\nexports.stringifyUrl = (object, options) => {\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\t[encodeFragmentIdentifier]: true\n\t}, options);\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = exports.extract(object.url);\n\tconst parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false});\n\n\tconst query = Object.assign(parsedQueryFromUrl, object.query);\n\tlet queryString = exports.stringify(query, options);\n\tif (queryString) {\n\t\tqueryString = `?${queryString}`;\n\t}\n\n\tlet hash = getHash(object.url);\n\tif (object.fragmentIdentifier) {\n\t\thash = `#${options[encodeFragmentIdentifier] ? encode(object.fragmentIdentifier, options) : object.fragmentIdentifier}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n};\n\nexports.pick = (input, filter, options) => {\n\toptions = Object.assign({\n\t\tparseFragmentIdentifier: true,\n\t\t[encodeFragmentIdentifier]: false\n\t}, options);\n\n\tconst {url, query, fragmentIdentifier} = exports.parseUrl(input, options);\n\treturn exports.stringifyUrl({\n\t\turl,\n\t\tquery: filterObject(query, filter),\n\t\tfragmentIdentifier\n\t}, options);\n};\n\nexports.exclude = (input, filter, options) => {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn exports.pick(input, exclusionFilter, options);\n};\n","'use strict';\n\nmodule.exports = (string, separator) => {\n\tif (!(typeof string === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError('Expected the arguments to be of type `string`');\n\t}\n\n\tif (separator === '') {\n\t\treturn [string];\n\t}\n\n\tconst separatorIndex = string.indexOf(separator);\n\n\tif (separatorIndex === -1) {\n\t\treturn [string];\n\t}\n\n\treturn [\n\t\tstring.slice(0, separatorIndex),\n\t\tstring.slice(separatorIndex + separator.length)\n\t];\n};\n","'use strict';\nmodule.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);\n"],"names":["_interopRequireDefault","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d","token","singleMatcher","RegExp","multiMatcher","decodeComponents","components","split","decodeURIComponent","join","err","length","left","slice","right","Array","prototype","concat","call","decode","input","tokens","match","i","module","encodedURI","TypeError","replace","replaceMap","exec","result","entries","Object","keys","key","customDecodeURIComponent","obj","predicate","ret","isArr","isArray","val","indexOf","window","__NEXT_P","push","protocol","process","host","API","hostUrl","BaseURL","axios","require","defaultHeaders","isAuth","AdditionalParams","isJsonRequest","ApiPostNoAuth","type","userData","Promise","resolve","reject","post","getHttpOptions","then","responseJson","catch","error","hasOwnProperty","response","data","errorMessage","message","status","localStorage","clear","ApiGet","get","ApiPost","options","headers","Auth","useInvestorRoute","useUser","user","isLoading","router","useRouter","useEffect","role_id","encodeURIComponent","asPath","useRedirectUserStatus","paths","useMemo","pathname","toString","useStartupRoute","query","redirect_url","userType","useRedirectStartupStatus","company","approved","useRedirectAuthorizedPaths","handleBack","setResisterSuccess","theme","useTheme","useStyles","makeStyles","loginSignUpWrap","display","justifyContent","alignItems","flex","widhandleBackth","loginSignUpBox","height","backgroundColor","padding","borderRadius","cursor","breakpoints","down","flexDirection","marginBottom","fontWeight","fontSize","lineHeight","color","width","margin","loginSignImg","flexWrap","background","paddingTop","loginSignImg1","loginSignImg2","forgotLink","newRegister","textAlign","marginTop","verticalAlign","marginRight","borderColor","radioWant","SignUpWelcome","SignUpWelcomeContent","loginSignUpForm","maxWidth","ReferralCode","textTransform","passwordIcon","firstNameTExtField","gmailAccountWrap","gmailSignImg","signUpGmailBox","backIcon","transform","signUpGmailForm","heading","gmailRadioWant","mobileTextField","referrerTextField","gmailSignupButton","fontStyle","gmailNewRegister","signUpAccountWrap","signUpAccountBox","signUpAccountForm","signupAccountButton","border","newRegisterAccount","queryReferralCode","referral_code","useState","setRole_id","loader","setLoader","passwordVisible","setPasswordVisible","repeatPasswordVisible","setRepeatPasswordVisible","isReady","setIsReady","password","useRef","queryStringValue","location","search","queryObject","queryString","schema","yup","shape","first_name","trim","min","required","matches","last_name","email","phone_no","referrer_code","notRequired","excludeEmptyString","confirm_password","test","value","current","classes","useForm","resolver","yupResolver","defaultValues","mode","control","handleSubmit","onSubmit","parseInt","toUpperCase","console","log","res","statusCode","toast","autoClose","hideProgressBar","Grid","container","ToastContainer","item","xs","sm","md","div","className","img","src","signinImg","alt","Box","pr","ArrowBackIcon","sx","position","top","onClick","form","h2","columnSpacing","FormGroup","CustomTextField","defaultValue","fullWidth","name","label","variant","autoComplete","inputProps","maxLength","FormControl","component","FormLabel","RadioGroup","row","onChange","e","target","FormControlLabel","Radio","inputRef","InputProps","endAdornment","InputAdornment","IconButton","aria-label","Visibility","VisibilityOff","mt","CustomButton","CircularProgress","size","Link","textDecoration","href","googleLoginResponse","history","setUser","onSubmitGoogleRegister","googleId","Register","WebkitFlexGrow","watch","formState","errors","resisterSuccess","isEmailSignUp","setIsEmailSignUp","isGmailSignUp","setIsGmailSignUp","setGoogleLoginResponse","onGoogleSuccess","profileObj","MetaTags","title","description","imageUrl","url","keywords","Container","flexGrow","flexBasis","newsletterImg","px","lg","xl","Typography","align","span","EmailSignup","GmailSignup","GoogleLogin","clientId","render","renderProps","mb","pl","disabled","mr","m","ml","GoogleImage","buttonText","onSuccess","cookiePolicy","style","disableRipple","disableFocusRipple","disableElevation","strictUriEncode","decodeComponent","splitOnFirst","filterObject","encodeFragmentIdentifier","Symbol","validateArrayFormatSeparator","encode","strict","keysSorter","sort","a","b","Number","map","removeHash","hashStart","extract","queryStart","parseValue","parseNumbers","isNaN","parseBooleans","toLowerCase","parse","assign","arrayFormat","arrayFormatSeparator","formatter","accumulator","undefined","includes","isEncodedArray","newValue","arrayValue","parserForArrayFormat","create","param","k","reduce","Boolean","stringify","object","shouldFilter","skipNull","skipEmptyString","index","keyValueSep","encoderForArrayFormat","objectCopy","filter","x","parseUrl","url_","hash","parseFragmentIdentifier","fragmentIdentifier","stringifyUrl","queryFromUrl","parsedQueryFromUrl","getHash","pick","exclude","exclusionFilter","string","separator","separatorIndex","str","charCodeAt"],"sourceRoot":""}