1(self.webpackChunkeleven_miles_erebus=self.webpackChunkeleven_miles_erebus||[]).push([[589],{589:function(){const e=document.querySelectorAll('[data-behaviour="video-upload"]');e.length>=1&&e.forEach(e=>{e.querySelectorAll('[type="file"]').forEach(t=>{t.addEventListener("change",async a=>{const o=e;t.value?o.classList.add("video-upload--input-value"):o.classList.remove("video-upload--input-value"),e.querySelectorAll('[data-behaviour="input-value"]').forEach(e=>{e.innerHTML=t.value.replace(/^.*[\\\/]/,"")});try{const e=await(l=a.target.files[0],new Promise(e=>{const t=document.createElement("canvas"),a=document.createElement("video");a.autoplay=!0,a.muted=!0,a.src=URL.createObjectURL(l),a.onloadeddata=()=>{const o=t.getContext("2d");return t.width=a.videoWidth,t.height=a.videoHeight,o.drawImage(a,0,0,a.videoWidth,a.videoHeight),a.pause(),e(t.toDataURL("image/png"))}}));o.style.backgroundImage=`url(${e})`}catch(e){console.log(e)}var l})})})}}]); 2//# sourceMappingURL=589.c23c128afa8f045fd015.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.