import{j as r}from"./router.chunk.YsRm4bSN.js";import{c as e,i as n,a1 as s}from"./main.chunk.N-eZ2ybB.js";import{P as d}from"./pro-badge.chunk.PstHsVdU.js";import{R as o,a as f}from"./radio-group.chunk.BTBtVnZk.js";function u({label:u,description:a,disabled:g=!1,className:i,inline:l=!1,options:m,showProBadge:t=!1}){return r.jsxs("div",{className:e("growfund-w-full",l&&"growfund-flex growfund-flex-col growfund-gap-1"),children:[r.jsxs("div",{className:"growfund-space-y-1",children:[n(u)&&r.jsxs(s,{className:e("growfund-text-fg-primary growfund-typo-small growfund-font-medium growfund-min-h-4 growfund-flex growfund-items-center growfund-gap-1 growfund-flex-shrink-0",!t&&"growfund-text-fg-subdued"),children:[u,t&&r.jsx(d,{})]}),n(a)&&r.jsx("p",{className:"growfund-text-[0.8rem] growfund-text-fg-muted",children:a})]}),r.jsx(o,{disabled:g,className:e("growfund-mt-2",l&&"growfund-flex growfund-items-center growfund-gap-4",i),children:m.map((e,n)=>r.jsxs("div",{className:"growfund-flex growfund-items-center growfund-space-x-2",children:[r.jsx(f,{disabled:!0,value:""}),r.jsx("span",{className:"growfund-text-fg-subdued growfund-typo-small growfund-font-medium growfund-min-h-4 growfund-flex growfund-items-center growfund-gap-1",children:e})]},n))})]})}export{u as P};
