(this.webpackJsonpstreamlit_component_template=this.webpackJsonpstreamlit_component_template||[]).push([[0],{36:function(e,t,n){e.exports=n(49)},49:function(e,t,n){"use strict";n.r(t);var a=n(4),i=n.n(a),o=n(19),l=n.n(o),s=n(0),r=n(1),c=n(2),p=n(70),d=n(32),k=n.n(d),u=n(33),m=n.n(u),f=n(18),C=function(e){Object(r.a)(n,e);var t=Object(c.a)(n);function n(){var e;Object(s.a)(this,n);for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return(e=t.call.apply(t,[this].concat(o))).state={hasClickedLike:!1,hasClickedDislike:!1},e.render=function(){e.props.theme;var t=e.props.args.text,n=e.props.args.color_text,a=e.props.args.color_background,o=e.props.args.font_size,l=e.props.args.font_family,s=e.props.args.font_weight;return i.a.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",width:"100%",margin:"0px"}},i.a.createElement("p",{style:{color:n,background:a,fontSize:o,fontWeight:s,marginBottom:"0px",fontFamily:l,padding:"-6px",borderRadius:"6px"}},i.a.createElement("li",null,t)),i.a.createElement(p.a,{onClick:e.onClickedLike,style:{outline:"none",paddingTop:"0px",paddingBottom:"0px"}},i.a.createElement(k.a,{color:e.state.hasClickedLike?"success":"disabled"})),i.a.createElement(p.a,{onClick:e.onClickedDislike,style:{outline:"none",paddingTop:"0px",paddingBottom:"0px"}},i.a.createElement(m.a,{color:e.state.hasClickedDislike?"error":"disabled"})))},e.onClickedLike=function(){e.setState((function(t){return{hasClickedLike:!e.state.hasClickedLike}}),(function(){e.state.hasClickedLike?f.a.setComponentValue("liked"):f.a.setComponentValue("None")})),e.setState((function(e){return{hasClickedDislike:!1}}))},e.onClickedDislike=function(){e.setState((function(t){return{hasClickedDislike:!e.state.hasClickedDislike}}),(function(){e.state.hasClickedDislike?f.a.setComponentValue("disliked"):f.a.setComponentValue("None")})),e.setState((function(e){return{hasClickedLike:!1}}))},e}return n}(f.b),h=Object(f.c)(C);l.a.render(i.a.createElement(i.a.StrictMode,null,i.a.createElement(h,null)),document.getElementById("root"))}},[[36,1,2]]]);
//# sourceMappingURL=main.5c689c72.chunk.js.map