import{r as o,j as s,bt as m,c as b,aW as v}from"./index-Dbk1Plmn.js";var p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],w=p.reduce((a,t)=>{const e=m(`Primitive.${t}`),i=o.forwardRef((r,d)=>{const{asChild:u,...c}=r,f=u?e:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(f,{...c,ref:d})});return i.displayName=`Primitive.${t}`,{...a,[t]:i}},{}),x="Label",l=o.forwardRef((a,t)=>s.jsx(w.label,{...a,ref:t,onMouseDown:e=>{var r;e.target.closest("button, input, select, textarea")||((r=a.onMouseDown)==null||r.call(a,e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));l.displayName=x;var n=l;const N=v("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),y=o.forwardRef(({className:a,...t},e)=>s.jsx(n,{ref:e,className:b(N(),a),...t}));y.displayName=n.displayName;export{y as L};
