import { FluentIcon } from "./FluentIcon.mjs";
import { UnityIcon } from "./UnityIcon.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
//#region src/utilities/iconLibrary/UnityFluentIcon.jsx
const UnityFluentIcon = (props) => {
	const $ = c(10);
	let color;
	let icon;
	let other;
	let type;
	if ($[0] !== props) {
		({type, icon, color, ...other} = props);
		$[0] = props;
		$[1] = color;
		$[2] = icon;
		$[3] = other;
		$[4] = type;
	} else {
		color = $[1];
		icon = $[2];
		other = $[3];
		type = $[4];
	}
	if (!icon) return null;
	let t0;
	if ($[5] !== color || $[6] !== icon || $[7] !== other || $[8] !== type) {
		t0 = type === "unity" ? /* @__PURE__ */ React.createElement(UnityIcon, {
			component: icon,
			color,
			...other
		}) : /* @__PURE__ */ React.createElement(FluentIcon, {
			component: icon,
			style: { color: color || "" },
			...other
		});
		$[5] = color;
		$[6] = icon;
		$[7] = other;
		$[8] = type;
		$[9] = t0;
	} else t0 = $[9];
	return t0;
};
//#endregion
export { UnityFluentIcon };

//# sourceMappingURL=UnityFluentIcon.mjs.map