1import{c as d}from"./DLy9Y_gb.js";import{ay as i,az as n,aA as t,M as a,aB as p,aC as f}from"./Do1nZpFk.js";import"./BM5aYONo.js";var m={};const h=i(async e=>{const{path:r,exp:s,sig:o}=n(e);if(!r||!s||!o)return t(e,a({statusCode:400}));if(!e.context.user)return t(e,a({statusCode:401}));const u=`${r}.${s}`,c=d.createHmac("sha256",m.ASSET_SIGNING_KEY).update(u).digest("hex");return o!==c?t(e,a({statusCode:403})):Number(s)<Math.floor(Date.now()/1e3)?t(e,a({statusCode:410,statusMessage:"Link expired"})):(p(e,"Cache-Control","no-store, max-age=0"),f(e,`https://origin.example.com${r}`))});export{h 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.