PageSourceSearch

https://theprototype.app/_app/immutable/chunks/DPHhWEAA.js

js theprototype.app collected 2026-10-05 07:12:05 UTC 1,442 bytes, 1 lines download raw bytes

1import{wn as e}from"./D3qLCeEK.js";import{S as t,d as n,x as r}from"./DkMAWo2j.js";import{p as i,v as a}from"./DK5lI6Yq.js";var o=e({forgetHudImage:()=>y,hudImageFor:()=>p,hudImagesDebug:()=>b,registerHudImageListener:()=>d,resolveHudImage:()=>m,shareHudImage:()=>h,startHudImages:()=>_,stopHudImages:()=>v}),s=new Map,c=new Map,l=new Set,u=new Set;function d(e){return u.add(e),()=>u.delete(e)}function f(){for(let e of u)try{e()}catch(e){console.log(`hud image listener failed`,e)}}function p(e){return e?s.get(e)??null:null}async function m(e){if(!e)return null;let n=s.get(e);if(n)return n;let a=c.get(e);if(a)return a;let o=t(e);if(!o)return l.add(e),i(e),null;let u=(async()=>{try{let t=await r(o.id);if(!t)return null;let n=URL.createObjectURL(t);return s.set(e,n),n}catch(e){return console.log(`hud image decode failed`,e),null}finally{c.delete(e)}})();return c.set(e,u),u}function h(e){e&&a(e)}var g=null;function _(){g||=n.subscribe(e=>{if(!l.size||!Array.isArray(e))return;let t=[...l].filter(t=>e.some(e=>e?.hash===t));if(t.length){for(let e of t)l.delete(e);Promise.all(t.map(e=>m(e))).then(e=>{e.some(Boolean)&&f()})}})}function v(){g&&g(),g=null}function y(e){let t=e?[e]:[...s.keys()];for(let e of t){let t=s.get(e);t&&URL.revokeObjectURL(t),s.delete(e),c.delete(e),l.delete(e)}}function b(){return{cached:[...s.keys()],awaiting:[...l],loading:[...c.keys()],listeners:u.size}}export{h as a,m as i,o as n,_ as o,d as r,p as t};

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.