"use client";
import { M as e } from "./popupStateMapping-PdIQcWEz.js";
import * as t from "react";
import { jsxs as n } from "react/jsx-runtime";
import * as r from "react-dom";
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/utils/FloatingPortalLite.js
var i = /*#__PURE__*/ t.forwardRef(function(i, a) {
	let { children: o, container: s, className: c, render: l, style: u, ...d } = i, { portalNode: f, portalSubtree: p } = e({
		container: s,
		ref: a,
		componentProps: i,
		elementProps: d
	});
	return !p && !f ? null : /*#__PURE__*/ n(t.Fragment, { children: [p, f && /*#__PURE__*/ r.createPortal(o, f)] });
});
process.env.NODE_ENV !== "production" && (i.displayName = "FloatingPortalLite");
//#endregion
export { i as t };
