1import{j as e}from"./jsx-runtime-BgjmLhhW.js";import{$ as n}from"./FaIcon-DTQallQy-Cfu02mpc.js";import{e as l}from"./iconsColorConfig-DWXmO4aY-DCRMUg93.js";const m=({text:s,optionalText:o,htmlFor:r,requiredIndication:a,compact:i=!1})=>!!s&&e.jsxs("div",{className:`oneds-label oneds-body-m-compact${i?"":"-bold"}`,children:[e.jsx("label",{htmlFor:`${r}-input`,children:s}),a==="asterisk"&&s&&e.jsxs("span",{className:"oneds-label-required-asterisk oneds-body-m-compact-bold",children:[e.jsx("span",{className:"oneds-hidden",children:"Required"}),"*"]}),a==="optional"&&o&&e.jsx("span",{className:"oneds-label-optional oneds-body-s-compact",children:o?`${o}`:"(optional)"})]}),p=({text:s,id:o})=>s&&e.jsx("span",{id:o,className:"oneds-helper-text oneds-body-s-compact",children:s}),x=({text:s,id:o,isDisabled:r,marketingServiceUrl:a})=>e.jsx("div",{children:e.jsx("span",{id:o,className:"oneds-body-s-compact oneds-error-label","aria-live":"polite","aria-atomic":!0,children:s&&!r&&e.jsxs(e.Fragment,{children:[e.jsx(n,{iconId:"triangle-exclamation",className:"oneds-error-icon",color:l.error,marketingServiceUrl:a}),s]})})});export{x as I,p as m,m 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.