import { c } from "react-compiler-runtime";
import React, { createContext } from "react";
import { UdpTree } from "udp-react-stencil-component-library";
//#region src/UI/fluent-web-components/UdpTree.tsx
const UdpTreeContext = createContext({});
const UdpTree$1 = (t0) => {
	const $ = c(14);
	let appearance;
	let props;
	let size;
	if ($[0] !== t0) {
		({size, appearance, ...props} = t0);
		$[0] = t0;
		$[1] = appearance;
		$[2] = props;
		$[3] = size;
	} else {
		appearance = $[1];
		props = $[2];
		size = $[3];
	}
	let t1;
	if ($[4] !== appearance || $[5] !== size) {
		t1 = {
			size,
			appearance
		};
		$[4] = appearance;
		$[5] = size;
		$[6] = t1;
	} else t1 = $[6];
	let t2;
	if ($[7] !== appearance || $[8] !== props || $[9] !== size) {
		t2 = /* @__PURE__ */ React.createElement(UdpTree, {
			size,
			appearance,
			...props
		});
		$[7] = appearance;
		$[8] = props;
		$[9] = size;
		$[10] = t2;
	} else t2 = $[10];
	let t3;
	if ($[11] !== t1 || $[12] !== t2) {
		t3 = /* @__PURE__ */ React.createElement(UdpTreeContext.Provider, { value: t1 }, t2);
		$[11] = t1;
		$[12] = t2;
		$[13] = t3;
	} else t3 = $[13];
	return t3;
};
//#endregion
export { UdpTree$1 as UdpTree, UdpTreeContext };

//# sourceMappingURL=UdpTree.mjs.map