import{d as x,e as f,o as s,c as o,F as g,R as b,aG as a,f as d,B as R,C as c,a as v,_ as w,__tla as B}from"./index-92ad187a.js";import{E as $,__tla as T}from"./el-image-ee9e09ec.js";import{__tla as C}from"./el-image-viewer-d472c5a2.js";let h,L=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{let p,r;p={class:"image-slot"},r=93.75,h=x({name:"MagicCube",__name:"index",props:{property:{}},setup(u){const i=u,y=f(()=>{let t=0;return i.property.list.length>0&&(t=Math.max(...i.property.list.map(l=>l.bottom))),t+1});return(t,l)=>{const m=w,_=$;return s(),o("div",{class:"relative",style:a({height:v(y)*r+"px",width:"375px"})},[(s(!0),o(g,null,b(t.property.list,(e,n)=>(s(),o("div",{key:n,class:"absolute",style:a({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:a({borderTopLeftRadius:`${t.property.borderRadiusTop}px`,borderTopRightRadius:`${t.property.borderRadiusTop}px`,borderBottomLeftRadius:`${t.property.borderRadiusBottom}px`,borderBottomRightRadius:`${t.property.borderRadiusBottom}px`})},{error:R(()=>[c("div",p,[c("div",{class:"flex items-center justify-center",style:a({width:e.width*r+"px",height:e.height*r+"px"})},[d(m,{icon:"ep-picture",color:"gray",size:r})],4)])]),_:2},1032,["src","style"])],4))),128))],4)}}})});export{L as __tla,h as default};
