import { UnityFluentIcon } from "../../utilities/iconLibrary/UnityFluentIcon.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
import { Typography, makeStyles } from "@material-ui/core";
import * as Icons from "@fluentui/react-icons";
//#region src/actions/actionSummary/ActionSummaryHeader.tsx
const useStyles = makeStyles((theme) => ({
	root: {
		backgroundColor: theme.palette.primary.main + "1A",
		display: "flex",
		padding: 5,
		gap: 10
	},
	container: {
		display: "flex",
		flexDirection: "column",
		justifyContent: "center"
	},
	icon: { color: theme.palette.primary.main }
}));
const ActionSummaryHeader = (t0) => {
	const $ = c(16);
	const { icon, header, iconType } = t0;
	const classes = useStyles();
	const t1 = Icons[icon];
	let t2;
	if ($[0] !== classes.icon || $[1] !== iconType || $[2] !== t1) {
		t2 = /* @__PURE__ */ React.createElement(UnityFluentIcon, {
			className: classes.icon,
			type: iconType,
			component: t1
		});
		$[0] = classes.icon;
		$[1] = iconType;
		$[2] = t1;
		$[3] = t2;
	} else t2 = $[3];
	let t3;
	if ($[4] !== classes.container || $[5] !== t2) {
		t3 = /* @__PURE__ */ React.createElement("div", { className: classes.container }, t2);
		$[4] = classes.container;
		$[5] = t2;
		$[6] = t3;
	} else t3 = $[6];
	let t4;
	if ($[7] !== header) {
		t4 = /* @__PURE__ */ React.createElement(Typography, {
			display: "inline",
			variant: "h6"
		}, header);
		$[7] = header;
		$[8] = t4;
	} else t4 = $[8];
	let t5;
	if ($[9] !== classes.container || $[10] !== t4) {
		t5 = /* @__PURE__ */ React.createElement("div", { className: classes.container }, t4);
		$[9] = classes.container;
		$[10] = t4;
		$[11] = t5;
	} else t5 = $[11];
	let t6;
	if ($[12] !== classes.root || $[13] !== t3 || $[14] !== t5) {
		t6 = /* @__PURE__ */ React.createElement("div", { className: classes.root }, t3, t5);
		$[12] = classes.root;
		$[13] = t3;
		$[14] = t5;
		$[15] = t6;
	} else t6 = $[15];
	return t6;
};
//#endregion
export { ActionSummaryHeader };

//# sourceMappingURL=ActionSummaryHeader.mjs.map