import{d as f,Y as g,o as a,c as o,F as b,v as R,ao as s,f as d,w as v,g as u,a as w,j as $,_ as B,__tla as T}from"./index-8dc1e40a.js";import{E as j,__tla as M}from"./el-image-6a48e9f1.js";import{__tla as k}from"./el-image-viewer-3b8905e6.js";let m,z=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return k}catch{}})()]).then(async()=>{let p,e,i;p={class:"image-slot"},e=93.75,i=f({name:"MagicCube",__name:"index",props:{property:{type:Object,required:!0}},setup(n){const l=n,y=g(()=>{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=$,_=j;return a(),o("div",{class:"relative",style:s({height:w(y)*e+"px",width:"375px"})},[(a(!0),o(b,null,R(t.property.list,(r,x)=>(a(),o("div",{key:x,class:"absolute",style:s({width:r.width*e-2*t.property.space+"px",height:r.height*e-2*t.property.space+"px",margin:`${t.property.space}px`,top:r.top*e+"px",left:r.left*e+"px"})},[d(_,{class:"h-full w-full",fit:"cover",src:r.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:r.width*e+"px",height:r.height*e+"px"})},[d(h,{icon:"ep-picture",color:"gray",size:e})],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};
