import { FluentIconButton } from "../inputs/buttons/FluentIconButton.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
import { makeStyles } from "@material-ui/core";
import { CalculatorAdditionIcon, CalculatorSubtractIcon } from "@fluentui/react-icons";
//#region src/UI/timeline/ExtendActions.jsx
const useStyles = makeStyles((theme) => ({ root: {
	display: "flex",
	flexDirection: "row"
} }));
const ExtendActions = (props) => {
	const $ = c(10);
	const classes = useStyles();
	const { more, less, showMore, showLess } = props;
	let t0;
	if ($[0] !== more || $[1] !== showMore) {
		t0 = showMore && /* @__PURE__ */ React.createElement(FluentIconButton, {
			onClick: more,
			color: "primary",
			icon: CalculatorAdditionIcon
		});
		$[0] = more;
		$[1] = showMore;
		$[2] = t0;
	} else t0 = $[2];
	let t1;
	if ($[3] !== less || $[4] !== showLess) {
		t1 = showLess && /* @__PURE__ */ React.createElement(FluentIconButton, {
			onClick: less,
			color: "primary",
			icon: CalculatorSubtractIcon
		});
		$[3] = less;
		$[4] = showLess;
		$[5] = t1;
	} else t1 = $[5];
	let t2;
	if ($[6] !== classes.root || $[7] !== t0 || $[8] !== t1) {
		t2 = /* @__PURE__ */ React.createElement("div", { className: classes.root }, t0, t1);
		$[6] = classes.root;
		$[7] = t0;
		$[8] = t1;
		$[9] = t2;
	} else t2 = $[9];
	return t2;
};
//#endregion
export { ExtendActions as default };

//# sourceMappingURL=ExtendActions.mjs.map