import { t as e } from "./utils-B7XIe3qq.js";
import { n as t } from "./dist-D0fg6pif.js";
import * as n from "react";
import { jsx as r } from "react/jsx-runtime";
import "react-dom";
//#region node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.mjs
var i = [
	"a",
	"button",
	"div",
	"form",
	"h2",
	"h3",
	"img",
	"input",
	"label",
	"li",
	"nav",
	"ol",
	"p",
	"select",
	"span",
	"svg",
	"ul"
].reduce((e, i) => {
	let a = t(`Primitive.${i}`), o = n.forwardRef((e, t) => {
		let { asChild: n, ...o } = e, s = n ? a : i;
		return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ r(s, {
			...o,
			ref: t
		});
	});
	return o.displayName = `Primitive.${i}`, {
		...e,
		[i]: o
	};
}, {}), a = "Separator", o = "horizontal", s = ["horizontal", "vertical"], c = n.forwardRef((e, t) => {
	let { decorative: n, orientation: a = o, ...s } = e, c = l(a) ? a : o, u = c === "vertical" ? c : void 0, d = n ? { role: "none" } : {
		"aria-orientation": u,
		role: "separator"
	};
	return /* @__PURE__ */ r(i.div, {
		"data-orientation": c,
		...d,
		...s,
		ref: t
	});
});
c.displayName = a;
function l(e) {
	return s.includes(e);
}
var u = c;
//#endregion
//#region src/react/primitives/separator.tsx
function d({ className: t, orientation: n = "horizontal", decorative: i = !0, ...a }) {
	return /* @__PURE__ */ r(u, {
		"data-slot": "separator",
		decorative: i,
		orientation: n,
		className: e("bg-border-glass shrink-0", n === "horizontal" ? "h-px w-full" : "h-full w-px", t),
		...a
	});
}
//#endregion
export { d as t };

//# sourceMappingURL=separator-C6KfB7ww.js.map