import{a as r,j as o}from"./router.chunk.YsRm4bSN.js";import{c as d,k as e}from"./main.chunk.N-eZ2ybB.js";const n=r.forwardRef(({className:r,title:n,subtitle:s,image:a,alt:f,action:u,...g},i)=>o.jsxs("div",{ref:i,className:d("growfund-grid growfund-grid-cols-[3.5rem_auto] growfund-gap-3 growfund-bg-background-surface growfund-border-border-secondary growfund-rounded-md growfund-p-2 growfund-shadow-sm growfund-group/preview-card",r),...g,children:[o.jsx(e,{src:a,alt:f,className:"growfund-rounded-md growfund-flex-shrink-0",fit:"cover",aspectRatio:"square"}),o.jsxs("div",{className:"growfund-flex growfund-items-center growfund-justify-between growfund-gap-2",children:[o.jsxs("div",{className:"growfund-flex growfund-flex-col growfund-gap-2",children:[o.jsx("h3",{className:"growfund-typo-small growfund-font-medium growfund-text-fg-primary",children:n}),s&&o.jsx("div",{className:"growfund-typo-tiny growfund-text-fg-secondary",children:s})]}),u&&o.jsx("div",{className:"growfund-flex growfund-items-end growfund-justify-end growfund-opacity-0 group-hover/preview-card:growfund-opacity-100 growfund-transition-opacity",children:u})]})]}));export{n as P};
