{"version":3,"file":"js/Error-Error404-page.9071c232c71d241042da.js","mappings":"6JAIA,MAaA,EAbiBA,IAEbC,EAAAA,cAACC,EAAAA,EAAgB,CAACC,GAAG,aAAaC,cAAc,GAC9CH,EAAAA,cAAA,MAAII,UAAU,0BACZJ,EAAAA,cAAAK,EAAAA,GAAA,CAAUH,GAAA,8BAEZF,EAAAA,cAAA,SACEA,EAAAA,cAAAK,EAAAA,GAAA,CAAUH,GAAA,6B,8ECAX,MAAMD,EAAoBK,IAC/B,MAAMC,GAAQC,EAAAA,EAAAA,MAEd,OACER,EAAAA,cAAAA,EAAAA,SAAA,KACGO,EAAME,QAAQC,QAAUV,EAAAA,cAACW,EAAAA,GAAM,MAChCX,EAAAA,cAAA,OAAKE,GAAII,EAAMJ,GAAIE,UAAU,kBAC3BJ,EAAAA,cAAA,OAAKI,UAAU,sCACbJ,EAAAA,cAAA,OAAKI,UAAU,aACbJ,EAAAA,cAACY,EAAAA,GAAU,CAACC,KAAM,IAAKC,iBAAiB,KAEzCR,EAAMS,SACNT,EAAMH,cAAgBI,EAAME,QAAQC,QACnCV,EAAAA,cAAA,SACEA,EAAAA,cAAAK,EAAAA,GAAA,CAAUH,GAAA,gBAAec,OAAA,CAAAC,EAGpBV,EAAMW,SAASC,SAAOC,WAAA,CAAAH,EADzBjB,EAAAA,cAAA,KAAGI,UAAU,YAAYiB,KAAMd,EAAMW,SAASC,gBASvD,C","sources":["webpack://fider/./public/pages/Error/Error404.page.tsx","webpack://fider/./public/pages/Error/components/ErrorPageWrapper.tsx"],"sourcesContent":["import { Trans } from \"@lingui/react/macro\"\nimport React from \"react\"\nimport { ErrorPageWrapper } from \"./components/ErrorPageWrapper\"\n\nconst Error404 = () => {\n return (\n \n

\n Page not found\n

\n

\n The link you clicked may be broken or the page may have been removed.\n

\n
\n )\n}\n\nexport default Error404\n","import React from \"react\"\nimport { Header, TenantLogo } from \"@fider/components\"\nimport { useFider } from \"@fider/hooks\"\nimport { Trans } from \"@lingui/react/macro\"\n\ninterface ErrorPageWrapperProps {\n id: string\n showHomeLink: boolean\n children?: React.ReactNode\n}\n\nexport const ErrorPageWrapper = (props: ErrorPageWrapperProps) => {\n const fider = useFider()\n\n return (\n <>\n {fider.session.tenant &&
}\n
\n
\n
\n \n
\n {props.children}\n {props.showHomeLink && fider.session.tenant && (\n

\n \n Take me back to{\" \"}\n \n {fider.settings.baseURL}\n {\" \"}\n home page.\n \n

\n )}\n
\n
\n \n )\n}\n"],"names":["Error404","React","ErrorPageWrapper","id","showHomeLink","className","_Trans","props","fider","useFider","session","tenant","Header","TenantLogo","size","useFiderIfEmpty","children","values","0","settings","baseURL","components","href"],"sourceRoot":""}