// WHAT A PAGE RECORD'S CAPTURE IS (release 37 S4), from its view // (lib/waybackPages/view.ts): the kind and capture date, a capture that holds // no content, the extractor-fallback note, the version list, and — unless the // surface prints them itself — "Original (may be gone)" and "Wayback Machine // copy, ". The same words on a report site's moment page, the corpus // viewer's post modal and the editor's Wayback pages panel. import { pageCaptureLine, pageVersionsLine, PAGE_NO_CONTENT_LINE, type PageCaptureView } from "../lib/waybackPages/view"; const link = "underline underline-offset-2"; export function PageCaptureFacts({ view, links = true, className = "", }: { view: PageCaptureView; // Print the original and the Wayback copy (off where the surface's own // links line carries them). links?: boolean; className?: string; }) { return (

{pageCaptureLine(view)}

{view.noContent && (

{PAGE_NO_CONTENT_LINE}

)} {view.fallbackNote && (

{view.fallbackNote}

)} {links && (

{view.links.original.label} {view.links.copy.label}

)} {view.versions && (

{pageVersionsLine(view.versions)}

    {view.versions.captures.map((c) => (
  1. {c.current ? ( {c.date} ) : ( {c.date} )}
  2. ))}
)}
); }