import { c } from "react-compiler-runtime";
import React from "react";
import { Divider, Typography, makeStyles } from "@material-ui/core";
//#region src/UI/dataDisplay/directory/DirectoryListItem.jsx
const useStyles = makeStyles((theme) => ({
	divider: { marginTop: theme.spacing(1) },
	content: { marginLeft: theme.spacing(4) }
}));
const DirectoryListItem = (t0) => {
	const $ = c(12);
	const { children, letter } = t0;
	const classes = useStyles();
	let t1;
	if ($[0] !== letter) {
		t1 = /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Typography, { variant: "h4" }, letter));
		$[0] = letter;
		$[1] = t1;
	} else t1 = $[1];
	let t2;
	if ($[2] !== classes.divider) {
		t2 = /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Divider, { className: classes.divider }));
		$[2] = classes.divider;
		$[3] = t2;
	} else t2 = $[3];
	let t3;
	if ($[4] !== children || $[5] !== classes.content || $[6] !== t2) {
		t3 = /* @__PURE__ */ React.createElement("div", { className: classes.content }, children, t2);
		$[4] = children;
		$[5] = classes.content;
		$[6] = t2;
		$[7] = t3;
	} else t3 = $[7];
	let t4;
	if ($[8] !== classes.root || $[9] !== t1 || $[10] !== t3) {
		t4 = /* @__PURE__ */ React.createElement("div", { className: classes.root }, t1, t3);
		$[8] = classes.root;
		$[9] = t1;
		$[10] = t3;
		$[11] = t4;
	} else t4 = $[11];
	return t4;
};
//#endregion
export { DirectoryListItem };

//# sourceMappingURL=DirectoryListItem.mjs.map