import{s as m}from"./chunk-DZLz74EQ.js";import{t as u}from"./react-BcIddLXZ.js";import{n as c,t as b}from"./jsx-runtime-DvsdsEjx.js";import{n as w,t as x}from"./cn-C5VTNYKf.js";import{h as N}from"./Combination-DR4iFoRS.js";var i=m(u(),1),n=m(b(),1),v="Label",d=i.forwardRef((r,t)=>(0,n.jsx)(N.label,{...r,ref:t,onMouseDown:e=>{var a;e.target.closest("button, input, select, textarea")||((a=r.onMouseDown)==null||a.call(r,e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));d.displayName=v;var f=d,y=m(c(),1),D=w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=i.forwardRef((r,t)=>{let e=(0,y.c)(9),a,o;e[0]===r?(a=e[1],o=e[2]):({className:a,...o}=r,e[0]=r,e[1]=a,e[2]=o);let s;e[3]===a?s=e[4]:(s=x(D(),a),e[3]=a,e[4]=s);let l;return e[5]!==o||e[6]!==t||e[7]!==s?(l=(0,n.jsx)(f,{ref:t,className:s,...o}),e[5]=o,e[6]=t,e[7]=s,e[8]=l):l=e[8],l});p.displayName=f.displayName;export{p as t};
