/*! For license information please see 39.c1c0b15c.chunk.js.LICENSE.txt */
(this["webpackJsonpstreamlit-browser"]=this["webpackJsonpstreamlit-browser"]||[]).push([[39],{3818:function(t,r,e){"use strict";e.r(r),e.d(r,"default",(function(){return s}));var a=e(1),n=(e(0),e(242)),i=e(2252),u=e.n(i);var s=Object(n.a)((function(t){var r=t.width,e=t.element,n=t.height,i=function(){return!!n};switch(e.chart){case"url":return function(t){var e=n||450,i=r;return Object(a.jsx)("iframe",{title:"Plotly",src:t,style:{width:i,height:e}})}(e.url);case"figure":return function(t){var s=JSON.parse(t.config),c=function(t){var a=JSON.parse(t.spec);return i()?(a.layout.width=r,a.layout.height=n):e.useContainerWidth&&(a.layout.width=r),a}(t),o=c.data,l=c.layout,h=c.frames;return Object(a.jsx)(u.a,{className:"stPlotlyChart",data:o,layout:l,config:s,frames:h},i()?"fullscreen":"original")}(e.figure);default:throw new Error("Unrecognized PlotlyChart type: ".concat(e.chart))}}))}}]);
//# sourceMappingURL=39.c1c0b15c.chunk.js.map