import{s as m}from"./chunk-LvLJmgfZ.js";import{t as u}from"./react-Bj1aDYRI.js";import{t as c}from"./compiler-runtime-B3qBwwSJ.js";import{n as w,t as b}from"./cn-DYvqRARy.js";import{t as x}from"./jsx-runtime-Blw4afVn.js";import{w as N}from"./fullscreen-CTDqNQr6.js";var i=m(u(),1),n=m(x(),1),v="Label",d=i.forwardRef((r,s)=>(0,n.jsx)(N.label,{...r,ref:s,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=c(),D=w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=i.forwardRef((r,s)=>{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 t;e[3]===a?t=e[4]:(t=b(D(),a),e[3]=a,e[4]=t);let l;return e[5]!==o||e[6]!==s||e[7]!==t?(l=(0,n.jsx)(f,{ref:s,className:t,...o}),e[5]=o,e[6]=s,e[7]=t,e[8]=l):l=e[8],l});p.displayName=f.displayName;export{p as t};
