1const l=s=>Object.entries(s).reduce((t,[e,r])=>{const n=e.split(/[/\\]/).at(-1)?.split(".").at(0)??"",o=async(a,u,...c)=>{const i=typeof r=="function"?await r():r;return a.runWithContext(()=>u.run(()=>i.run?.(...c)))};return t[n]=o,t},{}),p=s=>{const t=/^(?<name>[\w-:]+)(\((?<args>.+)\))?$/.exec(s);if(t===null)return;const{name:e,args:r}=t.groups;let n=[];if(r!==void 0)try{n=JSON.parse(`[${r}]`)}catch(o){console.error("Shortcut signature parse error",{name:e,rawArgs:r,error:o})}return{name:e,args:n}};export{p,l as v};
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.