import * as o from "react";
import { Primitive as i } 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 f } from "react/jsx-runtime";
var l = "Label", e = o.forwardRef((r, a) => /* @__PURE__ */ f(
  i.label,
  {
    ...r,
    ref: a,
    onMouseDown: (t) => {
      t.target.closest("button, input, select, textarea") || (r.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
    }
  }
));
e.displayName = l;
var n = e;
export {
  e as Label,
  n as Root
};
//# sourceMappingURL=index.js.map
