import{r as n,j as l,c as d}from"./app-BiexncSX.js";import{P as p}from"./index-Dql7-O7m.js";import{c}from"./utils-DvRnx1Xn.js";var u="Label",i=n.forwardRef((r,e)=>l.jsx(p.label,{...r,ref:e,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(r.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName=u;var m=i;function g(r){const e=d.c(8);let t,a;e[0]!==r?({className:t,...a}=r,e[0]=r,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=c("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=l.jsx(m,{"data-slot":"label",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}export{g as L};
