import{s as d}from"./chunk-LvLJmgfZ.js";import{t as p}from"./react-Bj1aDYRI.js";import{t as h}from"./compiler-runtime-B3qBwwSJ.js";import{t as u}from"./jsx-runtime-Blw4afVn.js";var N=h(),g=d(p(),1),c=d(u(),1);const j=f=>{let e=(0,N.c)(15),{title:i,description:x,icon:m,action:n}=f,t;e[0]===m?t=e[1]:(t=m&&g.cloneElement(m,{className:"text-accent-foreground shrink-0"}),e[0]=m,e[1]=t);let s;e[2]===i?s=e[3]:(s=(0,c.jsx)("span",{className:"mt-1 text-accent-foreground",children:i}),e[2]=i,e[3]=s);let r;e[4]!==t||e[5]!==s?(r=(0,c.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[t,s]}),e[4]=t,e[5]=s,e[6]=r):r=e[6];let l;e[7]===x?l=e[8]:(l=(0,c.jsx)("span",{className:"text-muted-foreground text-sm",children:x}),e[7]=x,e[8]=l);let a;e[9]===n?a=e[10]:(a=n&&(0,c.jsx)("div",{className:"mt-2",children:n}),e[9]=n,e[10]=a);let o;return e[11]!==r||e[12]!==l||e[13]!==a?(o=(0,c.jsxs)("div",{className:"mx-6 my-6 flex flex-col gap-2",children:[r,l,a]}),e[11]=r,e[12]=l,e[13]=a,e[14]=o):o=e[14],o};export{j as t};
