import{x as a,dx as e,l as s,am as i,_ as o}from"./utils-lib.js?v=20260328163632";import{u as t}from"./index115.js?v=20260328163632";import{r as l,c as n,k as d,o as m,J as r,V as v,W as c,X as p,Z as u,Y as _,F as f,L as j,K as x}from"./base-lib.js?v=20260328163632";import"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";import"./index88.js?v=20260328163632";const{fileTabActiveData:y}=t(),b=l(""),h=l([]),k=n((()=>y.value.param.path)),w=a=>{b.value=k.value+"/"+a},C={class:"flex"},D=["src"],U={class:"video-list"},g=["onClick"],z={class:"video-item-name w-[160px]"},A={class:"video-item-size"},I=o(d({__name:"index",props:{compData:{default:{videoUrl:""}}},setup(o){const t=o,l=n((()=>"/files/get_play_video?filename="+encodeURIComponent(b.value)+"&play=true"));return m((async()=>{b.value=t.compData.videoUrl,(async()=>{await a({request:e({path:k.value}),data:[Array,h]})})()})),r((()=>{h.value=[]})),(a,e)=>(v(),c("div",C,[p("video",{type:"",src:_(l),controls:"",controlslist:"nodownload",autoplay:"",width:"640",height:"360"},u(_(s)("您的浏览器不支持 video 标签。")),9,D),p("div",U,[(v(!0),c(f,null,j(_(h),(a=>(v(),c("div",{key:a.name,class:x("video-item ".concat(_(b)===_(k)+"/"+a.name?"active":"")),onClick:e=>_(w)(a.name)},[p("div",z,u(a.name),1),p("div",A,u(_(i)(a.size)),1)],10,g)))),128))])]))}}),[["__scopeId","data-v-4935851b"]]);export{I as default};
