import{d as _,ah as n,K as h,r as w,a as f,o as x,v as b,ak as y,Q as I,_ as k,bw as z,f as C,bx as g,__tla as v}from"./index-04f8d540.js";import{E as V,__tla as B}from"./el-image-viewer-5878bd7a.js";let m,L=Promise.all([(()=>{try{return v}catch{}})(),(()=>{try{return B}catch{}})()]).then(async()=>{const p=k(_({name:"ImageViewer",__name:"ImageViewer",props:{urlList:{type:Array,default:()=>[]},zIndex:n.number.def(200),initialIndex:n.number.def(0),infinite:n.bool.def(!0),hideOnClickModal:n.bool.def(!1),appendToBody:n.bool.def(!1),show:n.bool.def(!1)},setup(i){const t=i,l=h(()=>{const a={...t};return delete a.show,a}),o=w(t.show),s=()=>{o.value=!1};return(a,u)=>{const r=V;return f(o)?(x(),b(r,y({key:0},f(l),{onClose:s}),null,16)):I("",!0)}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/components/ImageViewer/src/ImageViewer.vue"]]);let d=null;m=function(i){if(!z)return;const{urlList:t,initialIndex:l=0,infinite:o=!0,hideOnClickModal:s=!1,appendToBody:a=!1,zIndex:u=2e3,show:r=!0}=i,e={},c=document.createElement("div");e.urlList=t,e.initialIndex=l,e.infinite=o,e.hideOnClickModal=s,e.appendToBody=a,e.zIndex=u,e.show=r,document.body.appendChild(c),d=C(p,e),g(d,c)}});export{L as __tla,m as c};
