import * as p from "react";
import { Primitive as v } from "../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@19.1.6_@types_react@19.1.6__@types_rea_ec571b14c8dc7e1c1fa1383d9a1e10bd/node_modules/@radix-ui/react-primitive/dist/index.js";
import { jsx as m } from "react/jsx-runtime";
var d = "Separator", a = "horizontal", l = ["horizontal", "vertical"], i = p.forwardRef((r, n) => {
  const { decorative: e, orientation: t = a, ...s } = r, o = f(t) ? t : a, c = e ? { role: "none" } : { "aria-orientation": o === "vertical" ? o : void 0, role: "separator" };
  return /* @__PURE__ */ m(
    v.div,
    {
      "data-orientation": o,
      ...c,
      ...s,
      ref: n
    }
  );
});
i.displayName = d;
function f(r) {
  return l.includes(r);
}
var T = i;
export {
  T as Root,
  i as Separator
};
//# sourceMappingURL=index.js.map
