"use client";
import { a as e, o as t, t as n } from "./useRenderElement-CmuWsiNa.js";
import { t as r } from "./useCompositeItem-DA_RDTEI.js";
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/internals/composite/item/CompositeItem.js
function i(i) {
	let { render: a, className: o, style: s, state: c = t, props: l = e, refs: u = e, metadata: d, stateAttributesMapping: f, tag: p = "div", ...m } = i, { compositeProps: h, compositeRef: g } = r({ metadata: d });
	return n(p, i, {
		state: c,
		ref: [...u, g],
		props: [
			h,
			...l,
			m
		],
		stateAttributesMapping: f
	});
}
//#endregion
export { i as t };
