import{i as e,n as t,t as n}from"./jsx-runtime-bzQ4Vb5N.js";import{t as r}from"./utils-B6KiDbIe.js";import{t as i}from"./dist-C1RJhgYD.js";import{r as a}from"./dist-ex3CQT46.js";var o=e(t(),1),s=n(),c=`Label`,l=o.forwardRef((e,t)=>(0,s.jsx)(a.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName=c;var u=l,d=i(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`),f=o.forwardRef(({className:e,...t},n)=>(0,s.jsx)(u,{ref:n,className:r(d(),e),...t}));f.displayName=u.displayName;export{f as t};