(this.webpackJsonpstreamlit_component_template=this.webpackJsonpstreamlit_component_template||[]).push([[0],{28:function(e,t,a){e.exports=a(36)},36:function(e,t,a){"use strict";a.r(t);var r,n,i=a(6),s=a.n(i),c=a(27),o=a.n(c),l=a(23),p=a(0),d=a(1),m=a(2),h=a(3),u=a(24),g=a(20),b=a(15),f=function(e){Object(m.a)(a,e);var t=Object(h.a)(a);function a(){var e;Object(d.a)(this,a);for(var i=arguments.length,c=new Array(i),o=0;o<i;o++)c[o]=arguments[o];return(e=t.call.apply(t,[this].concat(c))).render=function(){var t,a=e.props.args,i=a.isUser,c=a.avatarStyle,o=a.seed,p=a.message;t=c.startsWith("https")||c.startsWith("data:image")?c:"https://avatars.dicebear.com/api/".concat(c,"/").concat(o,".svg");var d=e.props.theme;if(!d)return s.a.createElement("div",null,"Theme is undefined, please check streamlit version.");var m=g.a.img({border:"1px solid transparent",height:"3rem",width:"3rem",margin:0}),h=g.a.div({display:"inline-block",background:d.secondaryBackgroundColor,border:"1px solid transparent",borderRadius:"10px",padding:"10px 14px",margin:"5px 20px",maxWidth:"70%",whiteSpace:"pre-wrap"}),u=g.a.div({display:"flex",fontFamily:"".concat(d.font,", 'Segoe UI', 'Roboto', sans-serif"),height:"auto",margin:0,width:"100%"},(function(e){return e.isUser?Object(b.a)(r||(r=Object(l.a)(["\n          flex-direction: row-reverse;\n          & > div {\n            text-align: right;\n          }\n          padding-right: 5px;\n        "]))):Object(b.a)(n||(n=Object(l.a)([""])))}));return s.a.createElement(u,{isUser:i},s.a.createElement(m,{src:t,alt:"profile",draggable:"false"}),s.a.createElement(h,null,p))},e}return Object(p.a)(a)}(u.a),v=Object(u.b)(f);o.a.render(s.a.createElement(s.a.StrictMode,null,s.a.createElement(v,null)),document.getElementById("root"))}},[[28,1,2]]]);
//# sourceMappingURL=main.e0bd3ee2.chunk.js.map