import{_ as a,N as e,ag as s,o as t,c as l,w as r,a as i,T as c,U as u,h as o,p as A,F as n,J as d,ah as v,i as g,j as p,ai as h,aj as m}from"./index-BBUYbd9f.js";const U=a({__name:"index",props:{imgUrls:{type:Array,default:()=>[]},videoline:{type:String,default:""}},setup(a){const U=a,f=e(!0),w=e(!0),y=e(!0),b=e(3e3),j=e(500),_=e("1"),B=e(!0);e(!0);const C=e("");s(()=>{U.videoline&&U.imgUrls.shift()});const k=()=>{C.value.play(),B.value=!1,y.value=!1},Q=a=>{_.value=a.detail.current+1},S=a=>{};return(e,s)=>{const U=v,_=g,C=p,V=h,I=m;return t(),l(_,{class:"product-bg"},{default:r(()=>[i(I,{"indicator-dots":f.value,"indicator-active-color":"#e93323",autoplay:y.value,circular:w.value,interval:b.value,duration:j.value,onChange:Q},{default:r(()=>[a.videoline?(t(),l(V,{key:0},{default:r(()=>[i(_,{class:"item"},{default:r(()=>[c(i(_,{style:{width:"100%",height:"100%"}},{default:r(()=>[i(U,{id:"myVideo",src:a.videoline,objectFit:"cover",controls:"",style:{width:"100%",height:"100%"},"show-center-play-btn":"","show-mute-btn":"true","auto-pause-if-navigate":"","custom-cache":!1,"enable-progress-gesture":!1,poster:a.imgUrls[0],onPause:S},null,8,["src","poster"])]),_:1},512),[[u,!B.value]]),c(i(_,{class:"poster"},{default:r(()=>[i(C,{class:"image",src:a.imgUrls[0]},null,8,["src"])]),_:1},512),[[u,B.value]]),c(i(_,{class:"stop",onClick:k},{default:r(()=>[i(C,{class:"image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAQCAMAAAA25D/gAAAAh1BMVEX///////////8AAADv7+/f39/7+/vPz8+mpqZJSUkgICAPDw8ICAjw8PDa2trKysrJycnAwMC/v7+7u7uNjY1+fn5ra2tlZWVFRUVBQUEYGBj29vbT09PCwsK1tbWvr6+fn5+dnZ2Hh4eFhYVvb29nZ2dfX19QUFA4ODg2NjYtLS0UFBQDAwNU0Vb2AAAAAnRSTlPT8RY8mW4AAACbSURBVBjTldHHEsIwDARQs4rTeyWh9/r/30ckzAUGz2QvXuv5JKsZLJkpZWM1jb1C/+csIHp0zhe7G19GXkScfsGX5bZ4czInumvAHU9JPao/Pm2EjzwKgDQ23ANaesV85Ta48MjkBpRS9swHbh3ghIbPn54zo42fQQKgNpwBWIU07CCMvISkZYx86c5a/6ylOl2adNJS7Wz/0Bc1XwjAVUAdYQAAAABJRU5ErkJggg=="})]),_:1},512),[[u,B.value]])]),_:1})]),_:1})):o("",!0),(t(!0),A(n,null,d(a.imgUrls,(a,e)=>(t(),l(V,{key:e},{default:r(()=>[i(C,{src:a,class:"slide-image"},null,8,["src"])]),_:2},1024))),128))]),_:1},8,["indicator-dots","autoplay","circular","interval","duration"])]),_:1})}}},[["__scopeId","data-v-0043070c"]]);export{U as p};
