{"version":3,"sources":["webpack://_N_E/./public/png/logo-mylifetime.png","webpack://_N_E/./src/utils/index.ts","webpack://_N_E/./public/images/bg-cover-error.jpg","webpack://_N_E/./src/components/QueryError.tsx","webpack://_N_E/./src/pages/index.tsx","webpack://_N_E//codebuild/output/src112981716/src/MyLifetime/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js"],"names":["module","exports","localStorage","getItem","isDevelopment","NODE_ENV","MAX_INTEGER","MAX_CURRENCY","truncate","str","length","substring","getEnumKeyByEnumValueToString","myEnum","enumValue","keys","Object","filter","x","replace","trim","undefined","DevErrorPage","error","logout","useAuth","spacing","p","mt","colorScheme","JSON","stringify","message","onClick","ErrorPage","title","collapse","showNav","bgImage","CoverImage","bgPosition","bgRepeat","bgSize","width","h","color","textAlign","fontSize","lineHeight","letterSpacing","px","py","opacity","align","w","justifyContent","QueryError","capture","auth","useEffect","captureRelayError","isLoggedIn","IndexQueryRender","router","useRouter","useQuery","indexPageQuery","data","isLoading","me","redirectDashboard","redirectToLogin","push","routes","login","dashboard","image","Logo","window","__NEXT_P"],"mappings":"4FAAAA,EAAOC,QAAU,09S,kOCIUC,aAAaC,QAAQ,S,IAEnCC,GAAyBC,EASzBC,EAAc,WACdC,EAAe,iBAEfC,EAAW,SAACC,EAAaC,GACpC,OAAID,EAAIC,OAASA,EACf,UAAUD,EAAIE,UAAU,EAAGD,GAA3B,OAEKD,GAWF,SAASG,EACdC,EACAC,GAEA,IAAIC,EAAOC,OAAOD,KAAKF,GAAQI,QAAO,SAACC,GAAD,OAAOL,EAAOK,IAAMJ,KAC1D,OAAOC,EAAKL,OAAS,EAAIK,EAAK,GAAGI,QAAQ,YAAa,OAAOC,YAASC,I,qBCtCxErB,EAAOC,QAAU,4E,uKC+BXqB,EAAe,SAAC,GAA8B,IAA5BC,EAA4B,EAA5BA,MACdC,EAAWC,cAAXD,OAER,OACE,eAAC,KAAD,CAAQE,QAAS,EAAGC,EAAG,EAAvB,UACE,cAAC,KAAD,4CACA,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OS,KAAKC,IAAOC,OAEjBJ,GACFP,EAAOS,KAAKC,IAAOE,aAGpB,CAACJ,EAAiBD,IAEjB/C,IAAU6C,EACL,cAAC,IAAD,CAAY7C,MAAOA,IAErB,cAAC,IAAD,CAAgBqD,MAAOC,Q,sBClC3BC,OAAOC,SAAWD,OAAOC,UAAY,IAAIP,KAAK,CAC7C,IACA,WACE,OAAO,EAAQ,a","file":"static/chunks/pages/index-7962403a534ce2d33dce.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV0AAABZCAYAAACdbvcVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABvkSURBVHgB7Z1PbBzXecC/N7vUGj7E1KVAT14F6KUOYDJFD70kS/XSU03FoiPAQLV0gfYQwJJ8MEAbtlYJzIV9sCQDObQXrQoUSE3Zont3tcopQYGKOjgw0DacnItYK8d2TS53Xt733uy/mfdv/ixFcr+fQds7OzO7O2/me9/7/jIgFKutRTh16hJw1hCv8C8Exlvw4Ru3gSAIoiQYEADnf9YAVr0l/q+eeo/xK0Lw3gCCIIgSONpCF4Uhr6xCwJ4Rwq87E63zpfZ14HDZskcPtjZOA0EQRAmUJ3QvtOswAKEt8kVx1m0hIK9BEXTCUC33i513CJoTFmp3QZkSxnDYEd9/aXrnyjJsvb4DBEEQBQmgLAZwD6QAY0vCLtqC8++0IA8oDNfa97TapzxvuwFFwQliofYApgVuKD5zBVi0nj6gvwQEQRAlUI7QXWs3IWkPZcELkBWpfZ6KhbcBFtWhCEojx8+oj7ZxuA39vWW4s9GFiNWBIAhiRlShHC5qti1CFkYCl81Oq1x7bwkGAxS44+/G4ZoQtq3Ra8ZWU8fxIASCIIgSKC50lebYSG3nYrnuy2EJXEgIXIB1IXA7U/sx+GHqWFbpAUEQRAkUF7oH0NK64xg8Bl8WatfFv/0Ebh6tMy1we2JSOCfNCZNgtEQ6bKxHTjSCIMqimNBFDVWnGSI88h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QiYcJpptVuFdJxZiuAQBEF4Mh9C92CwAwupnyqEbHDLaWBRArcFBEEQJTAfNl1VU6EL2VkngUsQRJnMU8hYlgLjodh/xVpXlyAIIgcVmBd+82kIf/7Xj4Gxv3Hs2YH+3jn4+K3PgSAIomTmr4g5pgNjDQYGL8A4NCyEiH8iBPK2MCd0gSAIgpgBq0IAY7gYQRDEIfFHivHJ5z3PgucAAAAASUVORK5CYII=\"","const { NODE_ENV } = process.env\n\nexport const isBrowser = !!process.browser\n\nconst debug = isBrowser && localStorage.getItem('debug') === 'true'\n\nexport const isDevelopment: boolean = NODE_ENV === 'development'\n\nexport const isDebug = process.env.NODE_ENV === 'development' || debug ? true : false\n\nexport const delay = async (ms = 1000) => {\n return new Promise((resolve) => setTimeout(resolve, ms))\n}\n\n// Highest integer we can pass to graphql is 2147483647 cents\nexport const MAX_INTEGER = 2147483647\nexport const MAX_CURRENCY = '$21,474,836.47'\n\nexport const truncate = (str: string, length: number) => {\n if (str.length > length) {\n return `${str.substring(0, length)}...`\n }\n return str\n}\n\nexport function getEnumKeyByEnumValue(\n myEnum: T,\n enumValue: string\n): keyof T | undefined {\n let keys = Object.keys(myEnum).filter((x) => myEnum[x] == enumValue)\n return keys.length > 0 ? keys[0] : undefined\n}\n\nexport function getEnumKeyByEnumValueToString(\n myEnum: T,\n enumValue: string\n): string | undefined {\n let keys = Object.keys(myEnum).filter((x) => myEnum[x] == enumValue)\n return keys.length > 0 ? keys[0].replace(/([A-Z]+)/g, ' $1').trim() : undefined\n}\n","module.exports = \"/_next/static/images/bg-cover-error-f3027c9e83266559935ade14e81c1136.jpg\";","import { useEffect } from 'react'\nimport { isDevelopment } from '@/utils'\nimport { Code, Heading, Text, VStack, Button, Center, Box, Flex } from '@packages/ui-components'\nimport useAuth from '@/hooks/useAuth'\nimport { captureRelayError } from '@/sentry'\n\nimport CoverImage from 'public/images/bg-cover-error.jpg'\nimport PageContainer from './PageContainer'\nimport { DashboardButton } from './ErrorPage'\nimport Login from '@/pages/login'\n\nconst QueryError = ({ error, capture = true }: { error: any; capture?: boolean }) => {\n const auth = useAuth()\n\n useEffect(() => {\n if (capture) {\n captureRelayError(error)\n }\n }, [error, capture])\n\n if (!auth.isLoggedIn) {\n return \n }\n\n if (isDevelopment) {\n return \n } else {\n return \n }\n}\n\nconst DevErrorPage = ({ error }: { error: any }) => {\n const { logout } = useAuth()\n\n return (\n \n development environment error\n Ops that query failed\n {JSON.stringify(error?.message, null, 2)}\n \n \n )\n}\n\nconst ErrorPage = () => {\n return (\n \n \n \n \n Error: Page can't load.\n \n \n \n \n \n Oops...looks like you’ve come off the beaten path. To ensure your finances are on track,\n please head back to your dashboard.\n \n \n \n \n \n \n )\n}\n\nexport default QueryError\n","import React, { useEffect } from 'react'\nimport { useQuery } from 'relay-hooks'\n\nimport { useRouter } from 'next/router'\nimport indexPageQuery from '../queries/indexPage'\nimport { LoadingSpinner } from '@packages/ui-components'\nimport routes from '@/routes'\nimport { NextPage } from 'next'\nimport { indexPage_indexQuery } from '@/__generated__/indexPage_indexQuery.graphql'\nimport QueryError from '@/components/QueryError'\nimport Logo from 'public/png/logo-mylifetime.png'\nimport { GraphQLTaggedNode } from 'relay-runtime'\n\nconst IndexQueryRender: NextPage = () => {\n const router = useRouter()\n const { data, error, isLoading } = useQuery(\n indexPageQuery as GraphQLTaggedNode\n )\n const me = data?.me\n const redirectDashboard = !isLoading && me\n const redirectToLogin = !isLoading && !me\n\n useEffect(() => {\n if (redirectToLogin) {\n router.push(routes.login)\n }\n if (redirectDashboard) {\n router.push(routes.dashboard)\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [redirectToLogin, redirectDashboard])\n\n if (error && !isLoading) {\n return \n }\n return \n}\nexport default IndexQueryRender\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.tsx\");\n }\n ]);\n "],"sourceRoot":""}