import { j as t } from "../../node_modules/react/jsx-runtime.js";
import * as d from "react";
import { Portal as p, Content as n, Item as f, Label as i, Separator as m, Root as l, Trigger as c } from "../../node_modules/@radix-ui/react-dropdown-menu/dist/index.js";
import { cn as s } from "../../utils/index.js";
const j = l, R = c, $ = d.forwardRef(({ className: e, sideOffset: a = 4, ...o }, r) => /* @__PURE__ */ t.jsx(p, { children: /* @__PURE__ */ t.jsx(
  n,
  {
    ref: r,
    sideOffset: a,
    className: s(
      "menu",
      "z-50 min-w-[8rem] overflow-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
      e
    ),
    ...o
  }
) }));
$.displayName = n.displayName;
const b = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
  f,
  {
    ref: o,
    className: s("menu-item", e),
    ...a
  }
));
b.displayName = f.displayName;
const x = d.forwardRef(({ className: e, inset: a, ...o }, r) => /* @__PURE__ */ t.jsx(
  i,
  {
    ref: r,
    className: s("menu-label", a && "pl-8", e),
    ...o
  }
));
x.displayName = i.displayName;
const u = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
  m,
  {
    ref: o,
    className: s("menu-divider", e),
    ...a
  }
));
u.displayName = m.displayName;
export {
  j as DropdownMenu,
  $ as DropdownMenuContent,
  b as DropdownMenuItem,
  x as DropdownMenuLabel,
  u as DropdownMenuSeparator,
  R as DropdownMenuTrigger
};
