1var e=[{name:`thumb`,width:320},{name:`sm`,width:480},{name:`md`,width:768},{name:`lg`,width:1200},{name:`xl`,width:1600}],t=15*1024*1024,n=[`image/jpeg`,`image/png`,`image/webp`],r=1200;function i(e){return n.includes(e)}function a(e,t=`lg`){return`/api/public/media-asset/${e}/${t}`}function o(t){return e.map(e=>`${a(t,e.name)} ${e.width}w`).join(`, `)}var s=/^media:([0-9a-f-]{36})$/i;function c(e){let t=s.exec(e.trim());return t?{src:a(t[1],`lg`),srcSet:o(t[1]),mediaId:t[1]}:{src:e}}function l(e){return`media:${e}`}function u(e,t,n){let r=(t||``).replace(/[[\]]/g,``).trim(),i=(n||``).replace(/"/g,`'`).trim();return`}${i?` "${i}"`:``})`}function d(e){return((e??``).split(/[\\/]/).pop()??``).replace(/\.[^./\\]+$/,``)}function f(e){return!e||e<=0?`â`:e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}export{f as a,a as c,d as i,u as l,t as n,i as o,r,o as s,n as t,c as u};
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.