1import{af as m}from"./entry.C-0VvB_n.js";const p=async s=>{if(!s)return"";const t=(s.match(/<img.*?src=".*?"/g)||[]).map(r=>{var e;return(e=r.match(/<img.*?src="(.*?)"/))==null?void 0:e[1]}).filter(r=>!!r).filter(r=>!r.includes(".amazonaws.com")).map(r=>{const e=r.match(/\/?v2\/assets\/[^"'?]+/);if(e)return e[0].replace(/^\/?/,"")}).filter(r=>!!r),n=Array.from(new Set(t));if(n.length===0)return s;const a=`https://${m().public.hostingDomain}`,c=await Promise.all(n.map(r=>`${a}/${r}`));return n.forEach((r,e)=>{const o=new RegExp(`(https?://[^"']+)?/?${r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`,"g");if(typeof s=="string"){const i=r.startsWith("/")?`${a}${r}`:`${a}/${r}`;s=s.replace(o,i),s=s.replace(i,c[e])}}),s};export{p as c};
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.