1const t=e=>{var a;if(!(e!=null&&e.linktype))return"";let r="";switch(e.linktype){case"url":case"asset":r=e.url;break;case"story":(a=e.story)!=null&&a.url&&(r=`/${e.story.url}`.replace(/\/$/,""));break;case"email":e.email&&(r=`mailto:${e.email}`);break}return e.anchor&&(r+=`#${e.anchor}`),r};export{t as g};
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.