import { c } from "react-compiler-runtime";
import React from "react";
import { makeStyles } from "@material-ui/core";
import clsx from "clsx";
import PropTypes from "prop-types";
//#region src/utilities/style/ContentContainer.jsx
const useStyles = makeStyles((theme) => ({
	root: { padding: (props) => theme.spacing(props.text ? 2 : 1) },
	paddingTop: { paddingTop: (props) => theme.spacing(props.text ? 2 : 1) },
	paddingBottom: { paddingBottom: (props) => theme.spacing(props.text ? 2 : 1) },
	paddingRight: { paddingRight: (props) => theme.spacing(props.text ? 2 : 1) },
	paddingLeft: { paddingLeft: (props) => theme.spacing(props.text ? 2 : 1) }
}));
const ContentContainer = (props) => {
	const $ = c(9);
	const { children, np, pt, pb, pl, pr } = props;
	const classes = useStyles(props);
	const t0 = !np && classes.root;
	const t1 = pt && classes.paddingTop;
	const t2 = pb && classes.paddingBottom;
	const t3 = pl && classes.paddingLeft;
	const t4 = pr && classes.paddingRight;
	let t5;
	if ($[0] !== t0 || $[1] !== t1 || $[2] !== t2 || $[3] !== t3 || $[4] !== t4) {
		t5 = clsx(t0, t1, t2, t3, t4);
		$[0] = t0;
		$[1] = t1;
		$[2] = t2;
		$[3] = t3;
		$[4] = t4;
		$[5] = t5;
	} else t5 = $[5];
	let t6;
	if ($[6] !== children || $[7] !== t5) {
		t6 = /* @__PURE__ */ React.createElement("div", { className: t5 }, children);
		$[6] = children;
		$[7] = t5;
		$[8] = t6;
	} else t6 = $[8];
	return t6;
};
ContentContainer.propTypes = {
	np: PropTypes.bool,
	pt: PropTypes.bool,
	pb: PropTypes.bool,
	pl: PropTypes.bool,
	pr: PropTypes.bool,
	text: PropTypes.text
};
//#endregion
export { ContentContainer };

//# sourceMappingURL=ContentContainer.mjs.map