import{a as o}from"./helper.2ba6f024.js";import{_ as d}from"./plugin-vue_export-helper.21dcd24c.js";import{o as s,c as a,a as t,ae as l,__tla as p}from"./index.91e2b97e.js";let c,_=Promise.all([(()=>{try{return p}catch{}})()]).then(async()=>{const i={class:"previewAttach"},m={key:0,ref:"videoPlay",controls:""},e=["src"],n=["src"],f=["src"],u=["src"];c=d({__name:"index",props:{commonUrl:String,suffix:String},setup(r){return(v,x)=>(s(),a("div",i,[r.suffix=="mp4"||r.suffix=="MP4"?(s(),a("video",m,[t("source",{src:l(o)(r.commonUrl),type:"video/mp4"},null,8,e),t("source",{src:l(o)(r.commonUrl),type:"video/ogg"},null,8,n)],512)):r.suffix=="mp3"||r.suffix=="MP3"?(s(),a("audio",{key:1,ref:"audioPlay",controls:"",src:l(o)(r.commonUrl)},null,8,f)):(s(),a("iframe",{key:2,class:"iframe",src:l(o)(r.commonUrl),width:"100%",frameborder:"0",scrolling:"auto"},null,8,u))]))}},[["__scopeId","data-v-1976892b"]])});export{c as _,_ as __tla};
