import{Et as e,J as t,vt as n}from"./dist-CoD0k1Bd.js";var r=e=>e===``,i=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),a=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),o=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),s=e=>{let t=o(e);return t.charAt(0).toUpperCase()+t.slice(1)},c={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},l=Symbol(`lucide-icons`);function u(){return e(l,{})}var d=({name:e,iconNode:o,"icon-node":l,absoluteStrokeWidth:d,"absolute-stroke-width":f,strokeWidth:p,"stroke-width":m,size:h,color:g,..._},{slots:v})=>{let{size:y,color:b,strokeWidth:x=2,absoluteStrokeWidth:S=!1,class:C=``}=u(),w=t(()=>{let e=r(d)||r(f)||d===!0||f===!0||S===!0,t=p||m||x||c[`stroke-width`];return e?Number(t)*24/Number(h??y??c.width):t});return n(`svg`,{...c,..._,width:h??y??c.width,height:h??y??c.height,stroke:g??b??c.stroke,"stroke-width":w.value,class:i(`lucide`,C,...e?[`lucide-${a(s(e))}-icon`,`lucide-${a(e)}`]:[`lucide-icon`])},[...(o??l??[]).map(e=>n(...e)),...v.default?[v.default()]:[]])},f=(e,t)=>(r,{slots:i,attrs:a})=>n(d,{...a,...r,iconNode:t,name:e},i.default?{default:i.default}:void 0);export{f as t};