PageSourceSearch

https://constructor.tech/assets/ch-BaseVideo-BMjZlSZ0.js

js constructor.tech collected 2026-09-24 11:17:32 UTC 1,722 bytes, 1 lines download raw bytes

1import{B as b}from"./ch-BasePlayButton-KnNBlgqU.js";import{_ as p,r as l,o as r,c as s,p as i,k as o,e as d,f as y,F as B}from"./app-index-CXQob2hh.js";const f={name:"BaseVideo",components:{BasePlayButton:b},props:{media:{type:Object,required:!0},thumbnail:{type:Object,required:!1},image_style:{type:String,required:!0},rounded:{type:Boolean,required:!1},priority:{type:Boolean,required:!1,default:!1},newButton:{type:Boolean,required:!1}},computed:{thumbnailImageData(){return!this.thumbnail||!this.thumbnail.data?null:this.thumbnail.data[this.image_style]||this.thumbnail.data.default||null}},methods:{isSource(n){return n!=="default"},roundedClass(){return this.rounded?"rounded":""},show(){this.$refs.popup.show()}}},w={width:"640",height:"480",preload:"metadata"},_=["src","type"];function g(n,t,e,P,v,a){const u=l("BasePlayButton"),m=l("BasePicture"),c=l("BasePopup");return r(),s(B,null,[e.thumbnail?(r(),s("div",i({key:0,class:["bub-image",a.roundedClass()]},n.$attrs,{onClick:t[0]||(t[0]=h=>a.show())}),[o(u,{"new-button":e.newButton,"watch-label":e.media.watch_label??"Play"},null,8,["new-button","watch-label"]),o(m,{"image-data":a.thumbnailImageData,priority:e.priority},null,8,["image-data","priority"])],16)):(r(),s("div",i({key:1,class:["bub-video",a.roundedClass()]},n.$attrs,{onClick:t[1]||(t[1]=h=>a.show())}),[o(u,{"new-button":e.newButton,"watch-label":e.media.watch_label??"Play"},null,8,["new-button","watch-label"]),d("video",w,[d("source",{src:e.media.data.src,type:e.media.data.type},null,8,_),t[2]||(t[2]=y(" Your browser does not support the video tag. ",-1))])],16)),o(c,{"media-type":"video",media:e.media,ref:"popup"},null,8,["media"])],64)}const C=p(f,[["render",g]]);export{C as default};

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.