import { cn } from "../../lib/utils.js";
import { c } from "react/compiler-runtime";
import "react";
import { jsx } from "react/jsx-runtime";
import * as SeparatorPrimitive from "@radix-ui/react-separator";
function Separator(i) {
	let a = c(12), o, s, l, u;
	a[0] === i ? (o = a[1], s = a[2], l = a[3], u = a[4]) : ({className: o, orientation: l, decorative: u, ...s} = i, a[0] = i, a[1] = o, a[2] = s, a[3] = l, a[4] = u);
	let d = l === void 0 ? "horizontal" : l, f = u === void 0 ? !0 : u, p;
	a[5] === o ? p = a[6] : (p = cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", o), a[5] = o, a[6] = p);
	let m;
	return a[7] !== f || a[8] !== d || a[9] !== s || a[10] !== p ? (m = /* @__PURE__ */ jsx(SeparatorPrimitive.Root, {
		"data-slot": "separator",
		decorative: f,
		orientation: d,
		className: p,
		...s
	}), a[7] = f, a[8] = d, a[9] = s, a[10] = p, a[11] = m) : m = a[11], m;
}
export { Separator };
