1import{m as j,j as o}from"./WarningIcon-CDl7XdC4.js";import{I as f}from"./index-0YTo70wJ.js";import{E as R}from"./ErrorBox-CGTpnmyw.js";import{R as g,a as v}from"./RadioGroup-BRlszS9z.js";import{F as B}from"./FormControlLabel-CTsJ9d_3.js";const $=n=>{const{error:a="",id:t,value:i,label:r,tooltip:u,onChange:d,buttons:e=[],required:m=!1}=n,b=j()(l=>({tableRowCheckbox:{'& input[type="checkbox"]':{width:"100%"}},radioButtonLabel:{color:l.palette.gray.dark}})),{classes:c}=b();return o.jsxs("div",{style:{width:"100%"},children:[r&&o.jsx(f,{id:`${t}-label`,label:r,tooltip:u,paddingBottom:!1,required:m,error:a}),o.jsx(g,{name:t,value:i,children:e&&e.length>0&&e.map((l,p)=>{const{label:s,value:x}=l;return o.jsx("div",{id:t,children:o.jsx(B,{className:c.radioButtonLabel,value:x,control:o.jsx(v,{onChange:h=>d(h.target.value)}),label:s})},`radioButton__${t}__${s}__${p}`)})}),a?o.jsx(R,{error:a}):null]})};export{$ as R};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.