(window["webpackJsonpstreamlit-browser"]=window["webpackJsonpstreamlit-browser"]||[]).push([[34],{2202:function(t,e,r){"use strict";r.r(e);var n=r(5),o=r(13),a=r(11),i=r(12),h=r(0),s=r.n(h),d=r(2195),c=r(202),u=function(t){function e(){var t,r;Object(n.a)(this,e);for(var i=arguments.length,h=new Array(i),c=0;c<i;c++)h[c]=arguments[c];return(r=Object(o.a)(this,(t=Object(a.a)(e)).call.apply(t,[this].concat(h)))).chartId="bokeh-chart-"+r.props.index,r.getChartData=function(){var t=r.props.element.get("figure");return JSON.parse(t)},r.getChartDimensions=function(t){var e=r.props.element.get("useContainerWidth"),n=t.attributes.plot_width,o=t.attributes.plot_height;return r.props.height?(n=r.props.width,o=r.props.height):e&&(n=r.props.width),{width:n,height:o}},r.updateChart=function(t){var e=document.getElementById(r.chartId),n=t&&t.doc&&t.doc.roots&&t.doc.roots.references?t.doc.roots.references.find(function(t){return"Plot"===t.type}):void 0;if(n){var o=r.getChartDimensions(n),a=o.width,i=o.height;a>0&&(n.attributes.plot_width=a),i>0&&(n.attributes.plot_height=i)}null!==e&&(r.removeAllChildNodes(e),d.a.embed_item(t,r.chartId))},r.removeAllChildNodes=function(t){for(;t.lastChild;)t.lastChild.remove()},r.componentDidMount=function(){var t=r.getChartData();r.updateChart(t)},r.componentDidUpdate=function(){var t=r.getChartData();r.updateChart(t)},r.render=function(){return s.a.createElement("div",{id:r.chartId,className:"stBokehChart"})},r}return Object(i.a)(e,t),e}(h.PureComponent),p=Object(c.a)(u);r.d(e,"default",function(){return p})}}]);
//# sourceMappingURL=34.9114f4ce.chunk.js.map