import { PageStatus } from "./PageStatus.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
import { makeStyles } from "@material-ui/core";
import { useTranslation } from "react-i18next";
//#region src/routes/components/PageNotFoundRoute.jsx
const useStyles = makeStyles((theme) => ({ root: { marginTop: theme.spacing(4) } }));
const PageNotFoundRoute = () => {
	const $ = c(16);
	const classes = useStyles();
	const { t } = useTranslation();
	const t0 = classes.root;
	let t1;
	if ($[0] !== t) {
		t1 = t("Page Not Found");
		$[0] = t;
		$[1] = t1;
	} else t1 = $[1];
	let t2;
	if ($[2] !== t) {
		t2 = t("Sorry, we can't find the page you are looking for.");
		$[2] = t;
		$[3] = t2;
	} else t2 = $[3];
	let t3;
	if ($[4] !== t) {
		t3 = t("You may have typed the address incorrectly or you may have used an outdated link.");
		$[4] = t;
		$[5] = t3;
	} else t3 = $[5];
	let t4;
	if ($[6] !== t) {
		t4 = t("Back to Home Page");
		$[6] = t;
		$[7] = t4;
	} else t4 = $[7];
	let t5;
	if ($[8] !== t1 || $[9] !== t2 || $[10] !== t3 || $[11] !== t4) {
		t5 = /* @__PURE__ */ React.createElement(PageStatus, {
			statusCode: 404,
			title: t1,
			subheader: t2,
			message: t3,
			to: "/",
			buttonLabel: t4
		});
		$[8] = t1;
		$[9] = t2;
		$[10] = t3;
		$[11] = t4;
		$[12] = t5;
	} else t5 = $[12];
	let t6;
	if ($[13] !== classes.root || $[14] !== t5) {
		t6 = /* @__PURE__ */ React.createElement("div", { className: t0 }, t5);
		$[13] = classes.root;
		$[14] = t5;
		$[15] = t6;
	} else t6 = $[15];
	return t6;
};
//#endregion
export { PageNotFoundRoute, PageNotFoundRoute as default };

//# sourceMappingURL=PageNotFoundRoute.mjs.map