import './async-D55cHugf.js';
import { a as attr } from './index-u8mz_F03.js';
import { k } from './BlockLabel-bKYWnOzQ.js';
import { w } from './IconButton-BRnu7KaR.js';
import { l } from './Download-DcU5dONL.js';
import { i } from './File-DQh5d1OO.js';
import { r } from './Undo-Ce01x-M5.js';
import './2-BLdXJizP.js';
import { y } from './IconButtonWrapper-CjFRPb3y.js';
import './escaping-CBnpiEl5.js';
import './context-CBkBucIx.js';
import './index5-BoOEKc6P.js';
import './dev-fallback-Bc5Ork7Y.js';
import './index-Cg-Pg6j3.js';

function q(i$1,m){i$1.component(o=>{let{value:a,display_mode:w$1="solid",clear_color:I=[0,0,0,0],label:u="",show_label:_,i18n:t,zoom_speed:D=1,pan_speed:v=1,camera_position:B=[null,null,null],has_change_history:h=false}=m;k(o,{show_label:_,Icon:i,label:u||t("3D_model.3d_model")}),o.push("<!----> "),a?(o.push("<!--[-->"),o.push('<div class="model3D svelte-pnaihf" data-testid="model3d">'),y(o,{children:l$1=>{l$1.push("<!--[-->"),w(l$1,{Icon:r,label:"Undo",onclick:()=>void 0,disabled:!h}),l$1.push(`<!--]--> <a${attr("href",a.url)}${attr("target",window.__is_colab__?"_blank":null)}${attr("download",window.__is_colab__?null:a.orig_name||a.path)}>`),w(l$1,{Icon:l,label:t("common.download")}),l$1.push("<!----></a>");}}),o.push("<!----> "),o.push("<!--[!-->"),o.push("<!---->"),o.push("<!---->"),o.push("<!--]--></div>")):o.push("<!--[!-->"),o.push("<!--]-->");});}

export { q as default };
//# sourceMappingURL=Model3D-D4sSC2vC.js.map
