import{d as u,u as p,l as s,c as a,n as d,h as i,F as m,e as _,o as n}from"./index-C6Ampb56.js";const y="/assets/poster-CWZ8V__r.jpg",g=["poster","src"],h=_("source",{type:"video/mp4"},null,-1),v=[h],B=u({__name:"banner",setup(b){var r,l;const e=p(),t=s(1),o=s(""),c=s(y);return t.value=(r=e.state.menuList[e.state.sub])==null?void 0:r.modelType,o.value=(l=e.state.menuList[e.state.sub])==null?void 0:l.imagePath,(k,f)=>(n(),a(m,null,[t.value==1?(n(),a("div",{key:0,style:d([{width:"100%",height:"100%","background-size":"cover","background-position":"center center","background-repeat":"no-repeat"},{backgroundImage:`url(${o.value})`}])},null,4)):i("",!0),t.value==2?(n(),a("video",{key:1,"webkit-playsinline":"webkit-playsinline",playsinline:"",id:"videoPlay",autoplay:"",loop:"",muted:"",preload:"auto",poster:c.value,style:{width:"100%",height:"100%","object-fit":"fill"},src:o.value},v,8,g)):i("",!0)],64))}});export{B as _};
