1import{_ as m}from"./DWBmWbKX.js";import{u as p}from"./C2G3sP-q.js";import{d as w,W as f,o as _,c as y,j as a,k as v,A as b,av as g,U as s,b as V,aH as x,bd as S,aM as h,l as k}from"./4czN1GdW.js";const C=w({__name:"VideoModal",props:h({youtubeUrl:{type:String,default:""},backdropFilter:{type:String,default:"brightness(40%)"},videoWidth:{type:String,default:"tw-w-[90vw] md:tw-w-[80vw] lg:tw-w-[60vw] tw-max-w-[900px]"},videoHeight:{type:String,default:""},containerStyle:{type:Object,default:()=>({})},containerClass:{type:String,default:""},closeButtonClass:{type:String,default:"tw-absolute tw-top-2 tw-right-2 tw-z-30 tw-bg-black/60 tw-text-white"},customVideoPlayer:{type:String,default:""}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const e=o,l=f(o,"modelValue"),{getYoutubeIdFromUrl:d}=p(),i=k(()=>d(e.youtubeUrl));return(M,t)=>{const u=g,r=m,c=S;return _(),y("div",null,[a(c,{modelValue:l.value,"onUpdate:modelValue":t[1]||(t[1]=n=>l.value=n),"backdrop-filter":e.backdropFilter},{default:v(()=>[b("div",{class:s(["tw-relative tw-aspect-video tw-overflow-hidden",[e.videoWidth,e.containerClass]]),style:x(e.containerStyle)},[a(u,{flat:"",round:"",dense:"",icon:"close",class:s(e.closeButtonClass),onClick:t[0]||(t[0]=n=>l.value=!1)},null,8,["class"]),a(r,{id:`video-${V(i)}`,url:e.youtubeUrl,width:"tw-w-full",height:"tw-h-full","custom-video-player":o.customVideoPlayer,immediate:""},null,8,["id","url","custom-video-player"])],6)]),_:1},8,["modelValue","backdrop-filter"])])}}}),z=Object.assign(C,{__name:"MediaVideoModal"});export{z as _}; 2//# sourceMappingURL=VqDWWb2F.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.