{ "version": 3, "sources": ["../javascripts/routes/error/index.tsx"], "sourcesContent": ["import React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { getMarket } from '../../i18n';\nimport { Container } from '../../styled-components/components/Container';\nimport { H1 } from '../../styled-components/components/Heading';\nimport { RouterLink } from '../../styled-components/components/Link';\nimport { MaxWidth } from '../../styled-components/components/MaxWidth';\nimport { Page, PageSection } from '../../styled-components/components/Page';\nimport { Text } from '../../styled-components/components/Text';\nimport { VStack } from '../../styled-components/components/VStack';\nimport { TEXT_CONTENT_MAX_WIDTH } from '../../styled-components/layout/constants';\n\nconst resolveCustomerServiceRoute = () => {\n const { marketCode } = getMarket();\n switch (marketCode) {\n case 'NO':\n return '/kundeservice';\n default:\n return '/kundservice';\n }\n};\n\nconst ErrorView = () => {\n const { t } = useTranslation(['error', 'global']);\n\n return (\n \n \n \n \n \n

{t('weCanNotFindThePage', { ns: 'error' })}

\n \n {t('hereAreSomeUsefulLinks', { ns: 'error' })}\n \n \n \n {t('findVehicles', { ns: 'error' })}\n \n \n {t('customerSupport', { ns: 'error' })}\n \n \n
\n
\n
\n
\n
\n );\n};\n\nexport default ErrorView;\n"], "mappings": "seAAA,IAAAA,EAAkB,SAalB,IAAMC,EAA8B,IAAM,CACxC,GAAM,CAAE,WAAAC,CAAW,EAAIC,EAAU,EACjC,OAAQD,EAAY,CAClB,IAAK,KACH,MAAO,gBACT,QACE,MAAO,cACX,CACF,EAEME,EAAY,IAAM,CACtB,GAAM,CAAE,EAAAC,CAAE,EAAIC,EAAe,CAAC,QAAS,QAAQ,CAAC,EAEhD,OACE,EAAAC,QAAA,cAACC,EAAA,KACC,EAAAD,QAAA,cAACE,EAAA,KACC,EAAAF,QAAA,cAACG,EAAA,KACC,EAAAH,QAAA,cAACI,EAAA,CAAS,UAAWC,GACnB,EAAAL,QAAA,cAACM,EAAA,CAAO,SAAU,GAChB,EAAAN,QAAA,cAACO,EAAA,CAAG,QAAQ,QAAQT,EAAE,sBAAuB,CAAE,GAAI,OAAQ,CAAC,CAAE,EAC9D,EAAAE,QAAA,cAACQ,EAAA,CAAK,MAAM,QAAQ,QAAQ,QACzBV,EAAE,yBAA0B,CAAE,GAAI,OAAQ,CAAC,CAC9C,EACA,EAAAE,QAAA,cAACM,EAAA,CAAO,SAAU,IAChB,EAAAN,QAAA,cAACS,EAAA,CAAW,GAAG,OAAO,MAAOX,EAAE,eAAgB,CAAE,GAAI,OAAQ,CAAC,GAC3DA,EAAE,eAAgB,CAAE,GAAI,OAAQ,CAAC,CACpC,EACA,EAAAE,QAAA,cAACS,EAAA,CACC,GAAIf,EAA4B,EAChC,MAAOI,EAAE,kBAAmB,CAAE,GAAI,OAAQ,CAAC,GAE1CA,EAAE,kBAAmB,CAAE,GAAI,OAAQ,CAAC,CACvC,CACF,CACF,CACF,CACF,CACF,CACF,CAEJ,EAEOY,EAAQb", "names": ["import_react", "resolveCustomerServiceRoute", "marketCode", "getMarket", "ErrorView", "t", "useTranslation", "React", "Page", "PageSection", "Container", "MaxWidth", "TEXT_CONTENT_MAX_WIDTH", "VStack", "H1", "Text", "RouterLink", "error_default"] }