import { c } from "react-compiler-runtime";
import React from "react";
import { makeStyles } from "@material-ui/core";
import clsx from "clsx";
//#region src/utilities/iconLibrary/UnityIcon.jsx
const useStyles = makeStyles((theme) => ({
	root: {
		display: "flex",
		fill: (props) => props.color || "black"
	},
	showcase: {
		fontSize: 38,
		width: 38,
		height: 38
	},
	large: {
		fontSize: 20,
		width: 20,
		height: 20
	},
	default: {
		fontSize: 18,
		width: 18,
		height: 18
	},
	medium: {
		fontSize: 16,
		width: 16,
		height: 16
	},
	small: {
		fontSize: 14,
		width: 14,
		height: 14
	},
	xs: {
		fontSize: 12,
		width: 12,
		height: 12
	}
}));
const UnityIcon = (props) => {
	const $ = c(13);
	let className;
	let component;
	let otherProps;
	let t0;
	if ($[0] !== props) {
		({component, size: t0, className, ...otherProps} = props);
		$[0] = props;
		$[1] = className;
		$[2] = component;
		$[3] = otherProps;
		$[4] = t0;
	} else {
		className = $[1];
		component = $[2];
		otherProps = $[3];
		t0 = $[4];
	}
	const size = t0 === void 0 ? "default" : t0;
	const classes = useStyles(props);
	const t1 = classes[size];
	let t2;
	if ($[5] !== className || $[6] !== classes.root || $[7] !== t1) {
		t2 = clsx(classes.root, className, t1);
		$[5] = className;
		$[6] = classes.root;
		$[7] = t1;
		$[8] = t2;
	} else t2 = $[8];
	let t3;
	if ($[9] !== component || $[10] !== otherProps || $[11] !== t2) {
		t3 = /* @__PURE__ */ React.createElement("div", {
			...otherProps,
			className: t2
		}, component);
		$[9] = component;
		$[10] = otherProps;
		$[11] = t2;
		$[12] = t3;
	} else t3 = $[12];
	return t3;
};
//#endregion
export { UnityIcon };

//# sourceMappingURL=UnityIcon.mjs.map