import{y as e}from"./hooks.module-5xe-uC6c.js";import{t}from"./jsxRuntime.module--xb8gfv5.js";import{Y as n}from"./hooks-CSTgmcXO.js";function r({children:e}){return t(`p`,{className:`form-text use-tn-links`,children:e})}function i({values:e,...n}){return t(`div`,{role:`group`,children:(e||[]).map(({value:e,label:r,inlineDescription:i})=>t(`div`,{className:`form-checkbox`,children:t(o,{value:e,label:r,inlineDescription:i,labelClassName:`form-check-label`,...n})}))})}function a({values:e,...n}){return t(`div`,{role:`group`,children:e.map(({value:e,label:r})=>t(o,{value:e,label:r,...n}))})}function o({name:r,value:i,label:a,currentValue:o,onChange:s,labelClassName:c,inlineDescription:l}){return t(`label`,{className:`tn-radio ${c??``}`,children:[t(`input`,{className:`form-check-input`,type:`radio`,name:n(r),value:i,checked:i===o,onChange:e=>s(e.target.value)}),l?t(e,{children:[t(`strong`,{children:a}),` - `,l]}):a]})}export{i as n,r,a as t};