import{t as o}from"./debounce-Xd493GvO.js";import{_ as c}from"./index-M_JNBppB.js";import{r as l,c as i,w as m,B as p,z as d,D as h,H as u}from"./vue-BJk78QHK.js";import"./element-3_pOinej.js";import"./utils-YI6ye1sf.js";import"./threejs-BafxXW5-.js";import"./vxe-Dx3zSILm.js";const f="/canvas/shandianqiu/index.html",_=Object.assign({name:"Canvas4"},{__name:"Canvas4",props:{element:{type:Object,default:()=>({})},editorpage:{type:Boolean,default:!1}},setup(t){const a=t,r=l(0),n=i(()=>{const e=a.element.style.width,s=a.element.style.height;return{width:e,height:s}});return m(n,o(e=>{r.value++},1e3),{deep:!0}),(e,s)=>(d(),p("div",null,[h("iframe",{width:"100%",scrolling:"no",allowtransparency:"true",style:{"border-width":"0","background-color":"transparent"},class:u({myFrame:t.editorpage}),height:"100%",title:"myFrame",src:f},null,2)]))}}),x=c(_,[["__scopeId","data-v-892fd919"]]);export{x as default};
