import { c } from "react-compiler-runtime";
import React from "react";
import { CircularProgress, makeStyles } from "@material-ui/core";
//#region src/UI/feedback/PageLoading.jsx
const useStyles = makeStyles((theme) => ({ root: {
	display: "flex",
	justifyContent: "center",
	alignItems: "center",
	height: "50vh"
} }));
const PageLoading = () => {
	const $ = c(3);
	const classes = useStyles();
	let t0;
	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
		t0 = /* @__PURE__ */ React.createElement(CircularProgress, { color: "secondary" });
		$[0] = t0;
	} else t0 = $[0];
	let t1;
	if ($[1] !== classes.root) {
		t1 = /* @__PURE__ */ React.createElement("div", { className: classes.root }, t0);
		$[1] = classes.root;
		$[2] = t1;
	} else t1 = $[2];
	return t1;
};
//#endregion
export { PageLoading };

//# sourceMappingURL=PageLoading.mjs.map