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C,sBAAsB,uC","sources":["webpack://_N_E/./components/molecules/error-404/index.js","webpack://_N_E/./pages/404/index.js","webpack://_N_E/?ad8a","webpack://_N_E/./components/molecules/error-404/styles.module.scss","webpack://_N_E/./pages/404/styles.module.scss"],"sourcesContent":["import Title from 'components/atoms/title';\nimport AnchorLink from 'components/atoms/anchor-link';\nimport Media from 'components/molecules/media';\nimport React from 'react';\n\nimport i18n from 'utils/i18n';\n\n// loading the sass style fot the component\nimport css from './styles.module.scss';\n\n/**\n * Molecule Error404\n *\n * Error 404\n */\nfunction Error404(props) {\n const { className = '', children, ...other } = props;\n // const gt = i18n.useTranslations('global');\n const t = i18n.useTranslations('pages.404');\n\n return (\n <>\n
\n
\n \n
\n\n
\n
\n \n {t('404-title')}\n \n
\n\n

{t('404-content')}

\n\n
\n \n
\n
\n
\n \n );\n}\n\nexport default Error404;\n","import React from 'react';\nimport i18n from 'utils/i18n';\nimport { PageProvider } from 'providers/page';\nimport PageMetaContent from 'components/atoms/page-meta-content';\nimport Header from 'components/organisms/header';\n\nimport Error404 from 'components/molecules/error-404';\nimport getConfig from 'next/config';\n\nconst { serverRuntimeConfig } = getConfig();\nimport css from './styles.module.scss';\nimport Menu from 'utils/repo/menu';\n\nfunction NotFound(props) {\n // const gt = i18n.useTranslations('global');\n // const t = i18n.useTranslations('pages.404');\n\n return (\n
\n \n
\n );\n}\n\nexport default function NotFoundPage(props) {\n const { children, ...other } = props;\n return (\n <>\n \n
\n \n \n {children}\n \n \n );\n}\n\nexport async function getStaticProps(context) {\n const productId = serverRuntimeConfig?.PRODUCT_ID || '';\n const { locale } = context;\n\n const menuData = await Menu.getMenuItemsByType({ type: 'main', productId });\n const fullPath = '/';\n\n const title = 'Home | Toyota';\n const description = 'Home Page';\n const slug = '/';\n\n let msg = {};\n\n try {\n msg = await i18n.getMessages(locale);\n } catch (err) {\n console.error('Error while getting messages on 404 page', err);\n }\n\n return {\n props: {\n messages: msg,\n fullpath: fullPath,\n title: title,\n description: description,\n slug: slug,\n tenant: locale,\n menuData\n }\n };\n}\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/404\",\n function () {\n return require(\"private-next-pages/404/index.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/404\"])\n });\n }\n ","// extracted by mini-css-extract-plugin\nmodule.exports = {\"molecule__error-404-container\":\"styles_molecule__error-404-container__kcBS7\",\"media-container\":\"styles_media-container__qOCzX\",\"content-container\":\"styles_content-container__em3lj\",\"title-container\":\"styles_title-container__8euqn\",\"description\":\"styles_description__XzcB5\",\"buttons-container\":\"styles_buttons-container__oaa3n\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"page__404-container\":\"styles_page__404-container__k15ZR\"};"],"names":["props","className","other","children","t","i18n","css","url","type","level","variant","link","linkLabel","NotFound","NotFoundPage","is404","menuData","fullpath","window","__NEXT_P","push","module","exports"],"sourceRoot":""}