1function o(r){const t=r.replace(/-/g,""),i=new Uint8Array(16);for(let e=0;e<16;e++)i[e]=parseInt(t.substring(e*2,e*2+2),16);let n="";return i.forEach(e=>n+=String.fromCharCode(e)),btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function a(r){let t=r.replace(/-/g,"+").replace(/_/g,"/");for(;t.length%4;)t+="=";const i=atob(t),n=Array.from(i).map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("");return`${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20,32)}`}function c(r){return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(r)}function l(r,t){return`${r}/i/${o(t)}`}function u(r,t){return`${r}/j/${o(t)}`}function f(r,t){if(r)try{return a(r)}catch{return null}return t}export{l as buildShortInviteUrl,u as buildShortJoinUrl,c as isUuid,f as resolveToken,a as shortToUuid,o as uuidToShort};
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.