PageSourceSearch

https://www.yougist.ai/assets/NotesPage-BlTET88w.js

js yougist.ai collected 2026-10-02 01:12:17 UTC 1,982 bytes, 1 lines download raw bytes

1import{r,a,z as i,j as e,A as o,C as c,F as d,L as l,E as x}from"./index-BRD_r1eq.js";function h(){const[s,n]=r.useState(null);return r.useEffect(()=>{a.listNotes().then(t=>n(t.notes||[])).catch(t=>i.error(t instanceof Error?t.message:"Could not load notes"))},[]),e.jsx(o,{children:e.jsx(c,{title:"Your notes",description:"Personal forks of bodies and digests. Originals are never touched.",children:s===null?e.jsx("div",{className:"text-sm text-zinc-500",children:"Loading…"}):s.length===0?e.jsxs("div",{className:"rounded-lg border border-dashed border-ink-700 px-4 py-8 text-center text-sm text-zinc-500",children:["No notes yet. Open a digest or library item and click ",e.jsx("strong",{children:"Make my copy"}),"."]}):e.jsx("ul",{className:"divide-y divide-ink-700",children:s.map(t=>e.jsx("li",{className:"py-3",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(d,{size:16,className:"mt-0.5 shrink-0 text-zinc-500"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx(l,{to:`/notes/${encodeURIComponent(t.note_id)}`,className:"block text-sm font-medium text-zinc-100 hover:text-accent-soft",children:t.source_title||"Untitled"}),e.jsxs("div",{className:"mt-0.5 flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-zinc-500",children:[e.jsx("span",{children:t.kind==="digest"?"Digest note":"Body note"}),e.jsx("span",{children:"·"}),e.jsx("span",{children:t.source_type==="youtube"?"YouTube":"Article"}),t.updated_at&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsxs("span",{children:["Updated ",m(t.updated_at)]})]}),t.source_url&&e.jsxs("a",{href:t.source_url,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 hover:text-zinc-300",children:["source ",e.jsx(x,{size:10})]})]})]})]})},t.note_id))})})})}function m(s){try{return(typeof s=="string"?new Date(s):new Date(s.seconds*1e3)).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}catch{return""}}export{h as default};

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.