1import{t as e}from"./useQuery-DmuRlr4p.js";import{i as t}from"./supabase-CYkstvzI.js";function n(n,r=`researcher`){let i=n?.id,a=e({queryKey:[`display-name`,i],queryFn:async()=>{let{data:e}=await t.from(`profiles`).select(`display_name`).eq(`id`,i).maybeSingle();return e?.display_name??null},enabled:!!i});return{displayName:a.data||n?.user_metadata?.display_name||n?.email?.split(`@`)[0]||r,...a}}export{n as t};
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.