import { c } from "react-compiler-runtime";
import React from "react";
import { makeStyles } from "@material-ui/core";
import { UdpCalendarYear } from "udp-react-stencil-component-library";
import clsx from "clsx";
//#region src/UI/templates/calendar/UdpCalendarYearView.jsx
const useStyles = makeStyles((theme) => ({ root: {} }));
const UdpCalendarYearView = (props) => {
	const $ = c(11);
	let className;
	let otherProps;
	if ($[0] !== props) {
		({className, ...otherProps} = props);
		$[0] = props;
		$[1] = className;
		$[2] = otherProps;
	} else {
		className = $[1];
		otherProps = $[2];
	}
	const classes = useStyles(props);
	let t0;
	if ($[3] !== className || $[4] !== classes.root) {
		t0 = clsx(classes.root, className);
		$[3] = className;
		$[4] = classes.root;
		$[5] = t0;
	} else t0 = $[5];
	let t1;
	if ($[6] !== otherProps) {
		t1 = /* @__PURE__ */ React.createElement(UdpCalendarYear, { props: otherProps });
		$[6] = otherProps;
		$[7] = t1;
	} else t1 = $[7];
	let t2;
	if ($[8] !== t0 || $[9] !== t1) {
		t2 = /* @__PURE__ */ React.createElement("div", { className: t0 }, t1);
		$[8] = t0;
		$[9] = t1;
		$[10] = t2;
	} else t2 = $[10];
	return t2;
};
//#endregion
export { UdpCalendarYearView };

//# sourceMappingURL=UdpCalendarYearView.mjs.map