"use strict";(self.webpackChunkreact_typescript_webpack=self.webpackChunkreact_typescript_webpack||[]).push([[8753],{28753:(e,r,a)=>{a.d(r,{A:()=>l});var o=a(39248),i=a(49587),n=a(17437),k=a(44831),t=a(96540),m=a(2445),c=t.forwardRef(function(e,r){var a=e.name,o=e.checked,i=e.readOnly,n=e.disabled,t=void 0!==n&&n,c=e.labelCss,l=e.inputCss,d=e.label,s=e.icon,b=e.image,p=e.value,u=e.onChange,h=e.onBlur,f=(0,k.Ak)();return(0,m.FD)("label",{htmlFor:f,css:[g.container(t),c,";label:Radio;"],children:[(0,m.Y)("input",{ref:r,id:f,name:a,type:"radio",checked:o,readOnly:i,value:p,disabled:t,onChange:u,onBlur:h,css:[g.radio(d),l,";label:Radio;"]}),(0,m.Y)("span",{}),!!s&&s,!!b&&b,d]})}),g={container:function(e){return(0,n.AH)(i.I.body(),";display:flex;align-items:center;cursor:pointer;user-select:none;",e&&(0,n.AH)("color:",o.nm.text.disabled,";;label:container;"),";;label:container;")},radio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,n.AH)("position:absolute;opacity:0;height:0;width:0;cursor:pointer;&+span{position:relative;cursor:pointer;height:15px;width:15px;background-color:",o.nm.basic.white,";border:2px solid ",o.nm.icon.disabled,";border-radius:100%;",e&&(0,n.AH)("margin-right:",o.YK[10],";;label:radio;"),";}&+span::before{content:'';position:absolute;left:",o.YK[2],";top:",o.YK[2],";background-color:",o.nm.basic.white,";width:7px;height:7px;border-radius:100%;}&:checked+span{border-color:",o.nm.basic.primary.default,";}&:checked+span::before{background-color:",o.nm.basic.primary.default,";};label:radio;")}};const l=c}}]);