import { c } from "react-compiler-runtime";
import React from "react";
import { makeStyles } from "@material-ui/core";
import clsx from "clsx";
//#region src/page/PageContent.jsx
const useStyles = makeStyles((theme) => ({ root: {
	flex: 1,
	display: "flex",
	flexDirection: "column",
	padding: theme.spacing(2),
	marginTop: theme.spacing(2),
	paddingTop: theme.spacing(0)
} }), { name: "PageContent" });
/**
* Page content wrapper that provides page gutters
*/
const PageContent = (props) => {
	const $ = c(11);
	const classes = useStyles(props);
	let children;
	let className;
	let other;
	if ($[0] !== props) {
		({className, children, ...other} = props);
		$[0] = props;
		$[1] = children;
		$[2] = className;
		$[3] = other;
	} else {
		children = $[1];
		className = $[2];
		other = $[3];
	}
	let t0;
	if ($[4] !== className || $[5] !== classes.root) {
		t0 = clsx(className, classes.root);
		$[4] = className;
		$[5] = classes.root;
		$[6] = t0;
	} else t0 = $[6];
	let t1;
	if ($[7] !== children || $[8] !== other || $[9] !== t0) {
		t1 = /* @__PURE__ */ React.createElement("div", {
			...other,
			classes: null,
			className: t0
		}, children);
		$[7] = children;
		$[8] = other;
		$[9] = t0;
		$[10] = t1;
	} else t1 = $[10];
	return t1;
};
//#endregion
export { PageContent };

//# sourceMappingURL=PageContent.mjs.map