import{a as e}from"./chunk-BNv3lrIs.js";import{n as t,t as n}from"./jsx-runtime-pmtNMKr4.js";import{a as r,r as i}from"./ThemeProvider-B0jyGdy2.js";import{Ti as a,xi as o}from"./index-CBXvBSuP.js";var s=e(t()),c=e(r()),l=n(),u=s.forwardRef(({className:e,bsPrefix:t,as:n=`span`,...r},a)=>(t=i(t,`input-group-text`),(0,l.jsx)(n,{ref:a,className:(0,c.default)(e,t),...r})));u.displayName=`InputGroupText`;var d=e=>(0,l.jsx)(u,{children:(0,l.jsx)(o,{type:`checkbox`,...e})}),f=e=>(0,l.jsx)(u,{children:(0,l.jsx)(o,{type:`radio`,...e})}),p=s.forwardRef(({bsPrefix:e,size:t,hasValidation:n,className:r,as:o=`div`,...u},d)=>{e=i(e,`input-group`);let f=(0,s.useMemo)(()=>({}),[]);return(0,l.jsx)(a.Provider,{value:f,children:(0,l.jsx)(o,{ref:d,...u,className:(0,c.default)(r,e,t&&`${e}-${t}`,n&&`has-validation`)})})});p.displayName=`InputGroup`;var m=Object.assign(p,{Text:u,Radio:f,Checkbox:d});export{m as t};