/*! For license information please see 38.c00fef59.chunk.js.LICENSE.txt */
(this["webpackJsonpstreamlit-browser"]=this["webpackJsonpstreamlit-browser"]||[]).push([[38],{3810:function(t,i,e){"use strict";e.r(i),e.d(i,"default",(function(){return h}));var n,r=e(1),a=(e(0),e(242)),o=e(57),s=e(7),c=e.n(s),l=c()("div",{target:"etr89bj0"})((function(t){return{display:"inline-flex",flexDirection:"column",marginRight:t.theme.fontSizes.smDefault}}),""),d=c()("div",{target:"etr89bj1"})((function(t){var i=t.theme;return{fontFamily:i.fonts.mono,fontSize:i.fontSizes.smDefault,textAlign:"center"}}),"");!function(t){t[t.OriginalWidth=-1]="OriginalWidth",t[t.ColumnWidth=-2]="ColumnWidth"}(n||(n={}));var h=Object(a.a)((function(t){var i,e=t.width,a=t.isFullScreen,s=t.element,c=t.height,h=s.width;if(h===n.OriginalWidth)i=void 0;else if(h===n.ColumnWidth)i=e;else{if(!(h>0))throw Error("Invalid image width: ".concat(h));i=h}var u={};return c&&a?(u.height=c,u["object-fit"]="contain"):u.width=i,Object(r.jsx)("div",{style:{width:e},children:s.imgs.map((function(t,e){var n=t;return Object(r.jsxs)(l,{"data-testid":"stImage",style:{width:i},children:[Object(r.jsx)("img",{style:u,src:Object(o.b)(n.url),alt:e.toString()}),!a&&Object(r.jsx)(d,{"data-testid":"caption",children:" ".concat(n.caption," ")})]},e)}))})}))}}]);
//# sourceMappingURL=38.c00fef59.chunk.js.map