PageSourceSearch

https://outfit7.com/_nuxt/DD5tnjnV.js

js outfit7.com collected 2026-10-09 22:39:57 UTC 1,555 bytes, 2 lines download raw bytes

1import{u as b}from"./C9X-TiiY.js";import{d as E,r as I,n as y,o as F,W as x,I as M,a as N,e as k,f as q}from"./BgOPsrZ5.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="485fdd39-9337-4861-a94e-93877b3e5aaa",a._sentryDebugIdIdentifier="sentry-dbid-485fdd39-9337-4861-a94e-93877b3e5aaa")}catch{}})();const D={class:"flex items-center justify-center overflow-hidden"},h=1,d=240,L=3,R=".png",B=E({__name:"image-sequence",props:{progress:{}},setup(a){const r=a,{isMobile:s}=b(),n=I(null),v=y(f);let c,u;F(()=>{c=n.value.getContext("2d"),f()}),x(()=>{u&&u()});function f(){const e=[],t=s.value?"/img-sequence/mobile/":"/img-sequence/desktop/",o=s.value?"mobile_":"desktop_";let p=0;for(let i=h;i<=d;i++){const l=new Image;l.src=t+o+w(i,L)+R,l.addEventListener("load",()=>{p++,p>d-h&&_()}),e[i]=l}return e}function _(){u=M(()=>r.progress,e=>{const t=m(e);requestAnimationFrame(()=>g(t))}),g(m(r.progress))}function m(e){return Math.min(d,Math.ceil(e*d+1))}function g(e){if(!n.value)return;const t=s.value?870/357:1181/1440;n.value.width=s.value?window.innerWidth:1440,n.value.height=s.value?window.innerHeight:1181,c.clearRect(0,0,n.value.width,n.value.height),c.drawImage(v.value[e],0,0,n.value.width,n.value.width*t)}function w(e,t){let o=""+e;for(;o.length<t;)o="0"+o;return o}return(e,t)=>(N(),k("div",D,[q("canvas",{ref_key:"canvas",ref:n,class:""},null,512)]))}});export{B as _};
2//# sourceMappingURL=DD5tnjnV.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.