import { o as e } from "./useRenderElement-CmuWsiNa.js";
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/internals/reason-parts.js
var t = "none", n = "trigger-press", r = "trigger-hover", i = "trigger-focus", a = "outside-press", o = "item-press", s = "close-press", c = "track-press", l = "input-change", u = "focus-out", d = "escape-key", f = "list-navigation", p = "keyboard", m = "drag", h = "cancel-open", g = "sibling-open", _ = "disabled", v = "missing", y = "initial", b = "imperative-action", x = "window-resize";
//#endregion
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/internals/createBaseUIEventDetails.js
function S(t, n, r, i) {
	let a = !1, o = !1, s = i ?? e;
	return {
		reason: t,
		event: n ?? new Event("base-ui"),
		cancel() {
			a = !0;
		},
		allowPropagation() {
			o = !0;
		},
		get isCanceled() {
			return a;
		},
		get isPropagationAllowed() {
			return o;
		},
		trigger: r,
		...s
	};
}
function C(t, n, r) {
	let i = r ?? e;
	return {
		reason: t,
		event: n ?? new Event("base-ui"),
		...i
	};
}
//#endregion
export { x as C, n as S, a as _, _ as a, i as b, u as c, l as d, o as f, t as g, v as h, s as i, b as l, f as m, C as n, m as o, p, h as r, d as s, S as t, y as u, g as v, r as x, c as y };
