"use client";
import * as SeparatorPrimitive from '@radix-ui/react-separator';
import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
import { jsx } from 'react/jsx-runtime';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
function cn(...inputs) {
  return twMerge(clsx(inputs));
}
__name(cn, "cn");
var Separator = /* @__PURE__ */ __name(({
  className,
  orientation = "horizontal",
  decorative = true,
  ...props
}) => /* @__PURE__ */ jsx(
  SeparatorPrimitive.Root,
  {
    className: cn(
      "bg-divider shrink-0",
      orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
      className
    ),
    decorative,
    orientation,
    ...props
  }
), "Separator");
Separator.displayName = SeparatorPrimitive.Root.displayName;
var separator_default = Separator;

export { Separator, separator_default as default };
