import './async-Djx13DAD.js';
import { a as attr, d as attr_class, g as attr_style, j as stringify, b as spread_props, i as slot } from './index-B7gr0Dsc.js';
import { R } from './index3-DONAw0dG.js';
import './2-CeYbpaU1.js';
import { g } from './utils.svelte-D8Xdzglu.js';
import './escaping-CBnpiEl5.js';
import './context-BZS6UlnY.js';
import './uneval-DjLoL4oF.js';
import './clone-BLo8hHdj.js';
import './spring-DyDQVd5U.js';
import './MarkdownCode.svelte_svelte_type_style_lang-DJRtJayx.js';
import './prism-python-BaDPvmdn.js';
import './IconButton-7VBZdgpA.js';
import './Clear-CiR-WD8W.js';
import './index5-BoOEKc6P.js';
import './dev-fallback-Bc5Ork7Y.js';

function v(r,o){r.component(s$1=>{const i=e=>{if(e!==void 0){if(typeof e=="number")return e+"px";if(typeof e=="string")return e}};let{$$slots:n,$$events:d,...p}=o,t=new g(p);s$1.push(`<div${attr("id",t.shared.elem_id)}${attr_class(`row ${stringify(t.shared.elem_classes?.join(" "))}`,"svelte-7xavid",{compact:t.props.variant==="compact",panel:t.props.variant==="panel","unequal-height":t.props.equal_height===false,stretch:t.props.equal_height,hide:!t.shared.visible,"grow-children":t.shared.scale&&t.shared.scale>=1})}${attr_style("",{height:i(t.props.height),"max-height":i(t.props.max_height),"min-height":i(t.props.min_height),"flex-grow":t.shared.scale})}>`),t.shared.loading_status&&t.shared.loading_status.show_progress&&t?(s$1.push("<!--[-->"),R(s$1,spread_props([{autoscroll:t.shared.autoscroll,i18n:t.i18n},t.shared.loading_status,{status:t.shared.loading_status?t.shared.loading_status.status=="pending"?"generating":t.shared.loading_status.status:null}]))):s$1.push("<!--[!-->"),s$1.push("<!--]--> <!--[-->"),slot(s$1,o,"default",{},null),s$1.push("<!--]--></div>");});}

export { v as default };
//# sourceMappingURL=Index32-qhx5NHfs.js.map
