(this.webpackJsonpstreamlit_disqus=this.webpackJsonpstreamlit_disqus||[]).push([[0],{10:function(e,t,n){e.exports=n(24)},24:function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(6),c=n.n(a),o=n(3),u=n(8),s=n(9),l=function(e){var t=e.children,n=e.fixedHeight,a=e.onChange,c=Object(r.useRef)(null);return Object(r.useEffect)((function(){if(a(n||document.body.scrollHeight),!n&&c.current){var e=new s.a((function(e){var t=e.find((function(e){return e.target===c.current}));t&&a(t.contentRect.height)}));return e.observe(c.current),function(){return e.disconnect()}}}),[n,a]),i.a.createElement("div",{ref:c},t)},d=Object(o.b)((function(e){var t=e.args;return i.a.createElement(l,{onChange:o.a.setFrameHeight},i.a.createElement(u.DiscussionEmbed,{shortname:t.shortname,config:{url:t.url||void 0,identifier:t.identifier||void 0,title:t.title||void 0,categoryID:t.categoryID||void 0,language:t.language||void 0}}))}));c.a.render(i.a.createElement(i.a.StrictMode,null,i.a.createElement(d,null)),document.getElementById("root"))}},[[10,1,2]]]);
//# sourceMappingURL=main.00ee2387.chunk.js.map