import{j as r}from"./router.chunk.YsRm4bSN.js";import{_ as __}from"./wordpress.chunk.BVds2GcU.js";import{i as o,a1 as n,c as d,B as s}from"./main.chunk.N-eZ2ybB.js";import{P as e}from"./pro-badge.chunk.PstHsVdU.js";function u({label:u,placeholder:f=__("Pick a color","growfund"),description:a,className:t,showProBadge:g=!1}){return r.jsxs("div",{className:"growfund-w-full growfund-space-y-2 growfund-select-none",children:[o(u)&&r.jsxs(n,{className:d("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",!g&&"growfund-text-fg-subdued"),children:[u,g&&r.jsx(e,{})]}),r.jsxs(s,{variant:"outline",className:d("growfund-w-full growfund-justify-start growfund-text-left growfund-font-normal growfund-px-3 growfund-text-muted-foreground growfund-opacity-50",t),children:[r.jsx("div",{className:"growfund-w-4 growfund-h-4 growfund-rounded-full growfund-border",style:{backgroundColor:"#FFFFFF"}}),r.jsx("span",{children:f})]}),o(a)&&r.jsx("p",{className:"growfund-text-[0.8rem] growfund-text-fg-muted",children:a})]})}export{u as P};
