import{r as s,j as d}from"./index-cd3b2402.js";import{a as c,S as f}from"./index-e3b5c256.js";import{c as u}from"./utils-7247f908.js";const b=c("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline","wp-primary":"bg-[#2271b1] text-white hover:bg-[#f3e4f5] border border-[#2271b1]","wp-secondary":"bg-[#f6f7f7] text-[#2c3338] hover:bg-[#f0f0f1] border border-[#2c3338]",gradient:"bg-gradient-to-r from-[#bc357d] to-[#661f45] text-white hover:opacity-90 border-none"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),g=s.forwardRef(({className:e,variant:r,size:t,asChild:o=!1,...n},i)=>{const a=o?f:"button";return d.jsx(a,{className:u(b({variant:r,size:t,className:e})),ref:i,...n})});g.displayName="Button";export{g as B};
