import{d as g,b as f,o as a,c as o,F as b,k as R,ar as s,i as d,w as v,g as u,a as w,v as $,_ as B,__tla as T}from"./index-8c6726e5.js";import{E as k,__tla as M}from"./el-image-501b80b4.js";import{__tla as j}from"./el-image-viewer-49715a4b.js";let m,z=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return j}catch{}})()]).then(async()=>{let p,r,i;p={class:"image-slot"},r=93.75,i=g({name:"MagicCube",__name:"index",props:{property:{type:Object,required:!0}},setup(n){const l=n,y=f(()=>{let t=0;return l.property.list.length>0&&(t=Math.max(...l.property.list.map(c=>c.bottom))),t+1});return(t,c)=>{const h=$,_=k;return a(),o("div",{class:"relative",style:s({height:w(y)*r+"px",width:"375px"})},[(a(!0),o(b,null,R(t.property.list,(e,x)=>(a(),o("div",{key:x,class:"absolute",style:s({width:e.width*r-2*t.property.space+"px",height:e.height*r-2*t.property.space+"px",margin:`${t.property.space}px`,top:e.top*r+"px",left:e.left*r+"px"})},[d(_,{class:"h-full w-full",fit:"cover",src:e.imgUrl,style:s({borderTopLeftRadius:`${t.property.borderRadiusTop}px`,borderTopRightRadius:`${t.property.borderRadiusTop}px`,borderBottomLeftRadius:`${t.property.borderRadiusBottom}px`,borderBottomRightRadius:`${t.property.borderRadiusBottom}px`})},{error:v(()=>[u("div",p,[u("div",{class:"flex items-center justify-center",style:s({width:e.width*r+"px",height:e.height*r+"px"})},[d(h,{icon:"ep-picture",color:"gray",size:r})],4)])]),_:2},1032,["src","style"])],4))),128))],4)}}}),m=B(i,[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/MagicCube/index.vue"]])});export{z as __tla,m as default};
