(this["webpackJsonpstreamlit-html"]=this["webpackJsonpstreamlit-html"]||[]).push([[0],[,,,function(e,t,n){e.exports=n(4)},function(e,t,n){"use strict";n.r(t);var a=n(1),i=document.body.appendChild(document.createElement("div")),r=null;function o(){if(null!==r)return r;for(var e=window.parent.document.getElementsByTagName("iframe"),t=0;t<e.length;t++){var n,a=e[t];(a.contentDocument||(null===(n=a.contentWindow)||void 0===n?void 0:n.document))===document&&(r=a.parentElement)}return null===r&&console.error("Failed to identify the container of the HTML component"),r}a.a.events.addEventListener(a.a.RENDER_EVENT,(function(e){var t=e.detail,n=t.args.html;if(!0===t.args.iframe)return i.innerHTML=n,void a.a.setFrameHeight();var r=o();if(null!==r){if("iframe"===r.lastElementChild.tagName.toLowerCase()){var l=window.parent.document.createElement("div");r.appendChild(l),r.firstElementChild.style.display="none"}r.lastElementChild.innerHTML=n}})),a.a.setComponentReady(),a.a.setFrameHeight()}],[[3,1,2]]]);
//# sourceMappingURL=main.4e83250e.chunk.js.map