(window["webpackJsonpstreamlit-browser"]=window["webpackJsonpstreamlit-browser"]||[]).push([[40],{2214:function(e,t,a){"use strict";a.r(t);var n=a(5),r=a(10),o=a(13),i=a(11),s=a(12),l=a(0),u=a.n(l),c=a(2168),p=a(139),d=function(e){function t(){var e,a;Object(n.a)(this,t);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return(a=Object(o.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(s)))).state={value:a.props.element.get("default")},a.setWidgetValue=function(e){var t=a.props.element.get("id");a.props.widgetMgr.setIntValue(t,a.state.value,e)},a.onChange=function(e){var t=parseInt(e.target.value,10);a.setState({value:t},function(){return a.setWidgetValue({fromUi:!0})})},a.render=function(){var e={width:a.props.width},t=a.props.element.get("label"),n=a.props.element.get("options"),r=a.props.disabled;return 0===n.size&&(n=["No options to select."],r=!0),u.a.createElement("div",{className:"Widget row-widget stRadio",style:e},u.a.createElement("label",null,t),u.a.createElement(c.RadioGroup,{onChange:a.onChange,value:a.state.value.toString(),disabled:r},n.map(function(e,t){return u.a.createElement(c.Radio,{key:t,value:t.toString(),overrides:p.g},e)})))},a}return Object(s.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.setWidgetValue({fromUi:!1})}}]),t}(u.a.PureComponent);a.d(t,"default",function(){return d})}}]);
//# sourceMappingURL=40.792e8d68.chunk.js.map