{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "download-requirements",
  "type": "registry:component",
  "title": "Download Requirements",
  "description": "A light system requirements block with macOS, Windows and Linux tabs on a sliding pill. Each tab shows a minimum versus recommended table with meters, plus the installer, its checksum with copy, and other formats.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "download",
    "system requirements",
    "tabs",
    "table",
    "checksum",
    "download",
    "light"
  ],
  "docs": "https://hyperblur.dev/effects/download-requirements",
  "files": [
    {
      "path": "registry/hyperblur/download-requirements.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/download-requirements.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface DownloadRequirementsRow {\n  label: string;\n  minimum: string;\n  recommended: string;\n  level?: [number, number];\n}\n\nexport interface DownloadRequirementsPlatform {\n  id: string;\n  label: string;\n  os: \"mac\" | \"windows\" | \"linux\";\n  version: string;\n  file: string;\n  size: string;\n  checksum: string;\n  href: string;\n  formats: { label: string; href: string }[];\n  rows: DownloadRequirementsRow[];\n}\n\nexport interface DownloadRequirementsProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\" | \"onChange\" | \"defaultValue\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  platforms?: DownloadRequirementsPlatform[];\n  value?: string;\n  defaultValue?: string;\n  onValueChange?: (id: string) => void;\n  onDownload?: (platform: DownloadRequirementsPlatform) => void;\n  accent?: string;\n}\n\nconst css = `\n.hb-yhb {\n  --hb-yhb-accent: #2f7bff;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  overflow: hidden;\n  padding: clamp(64px, 8cqi, 104px) 20px;\n  background: #ffffff;\n  color: #111;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-yhb *, .hb-yhb *::before, .hb-yhb *::after { box-sizing: border-box; }\n.hb-yhb::before { content: \"\"; position: absolute; inset: 0 0 auto; height: 320px; background: linear-gradient(180deg, #f4f6fb, transparent); pointer-events: none; }\n.hb-yhb-in { position: relative; max-width: 1120px; margin: 0 auto; }\n.hb-yhb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }\n.hb-yhb-eyebrow { color: var(--hb-yhb-accent); font-size: 13px; font-weight: 650; }\n.hb-yhb-title { margin: 10px 0 0; font-size: clamp(28px, 4cqi, 42px); font-weight: 650; letter-spacing: -.035em; line-height: 1.08; }\n.hb-yhb-sub { margin: 12px 0 0; max-width: 520px; color: #666; font-size: 15px; line-height: 1.6; }\n.hb-yhb-tabs { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; flex: none; padding: 4px; border: 1px solid rgba(0,0,0,.08); border-radius: 999px; background: #f4f4f5; }\n.hb-yhb-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--hb-yhb-n)); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 6px 16px -6px rgba(0,0,0,.18); transform: translateX(calc(var(--hb-yhb-i) * 100%)); transition: transform .45s cubic-bezier(.3,1.25,.5,1); }\n.hb-yhb-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #666; font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .2s ease; }\n.hb-yhb-tab[aria-selected=\"true\"] { color: #111; }\n.hb-yhb-tab svg { width: 15px; height: 15px; fill: currentColor; }\n.hb-yhb-tab:focus-visible, .hb-yhb a:focus-visible, .hb-yhb-copy:focus-visible { outline: 2px solid var(--hb-yhb-accent); outline-offset: 2px; }\n.hb-yhb-card { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border: 1px solid rgba(0,0,0,.08); border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 30px 60px -40px rgba(20,30,60,.3); overflow: hidden; }\n.hb-yhb-table { width: 100%; border-collapse: collapse; font-size: 14px; }\n.hb-yhb-table thead th { height: 46px; padding: 0 22px; border-bottom: 1px solid rgba(0,0,0,.07); background: #fafafa; color: #777; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-align: left; text-transform: uppercase; }\n.hb-yhb-table thead th:last-child { color: var(--hb-yhb-accent); }\n.hb-yhb-table td, .hb-yhb-table tbody th { padding: 15px 22px; text-align: left; border-bottom: 1px solid rgba(0,0,0,.05); vertical-align: top; line-height: 1.45; }\n.hb-yhb-table tr:last-child td, .hb-yhb-table tr:last-child th { border-bottom: 0; }\n.hb-yhb-row { opacity: 0; transform: translateY(6px); animation: hb-yhb-in .45s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--hb-yhb-r) * 45ms); }\n.hb-yhb-row:hover td, .hb-yhb-row:hover th { background: #fafbff; }\n.hb-yhb-lb { width: 24%; color: #111; font-weight: 600; }\n.hb-yhb-min { color: #555; }\n.hb-yhb-rec { color: #111; font-weight: 500; }\n.hb-yhb-meter { position: relative; height: 4px; margin-top: 8px; max-width: 160px; border-radius: 99px; background: #eef0f4; overflow: hidden; }\n.hb-yhb-meter i { position: absolute; inset: 0 auto 0 0; width: calc(var(--hb-yhb-l) * 100%); border-radius: inherit; background: #c7cbd4; transform-origin: left; animation: hb-yhb-grow .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(150ms + var(--hb-yhb-r) * 45ms); }\n.hb-yhb-rec .hb-yhb-meter i { background: var(--hb-yhb-accent); }\n.hb-yhb-side { display: flex; flex-direction: column; padding: 26px; border-left: 1px solid rgba(0,0,0,.07); background: linear-gradient(180deg, #fbfcff, #f6f8fd); }\n.hb-yhb-glyph { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: #111; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 24px -10px rgba(0,0,0,.5); animation: hb-yhb-pop .5s cubic-bezier(.3,1.5,.5,1); }\n.hb-yhb-glyph svg { width: 24px; height: 24px; fill: currentColor; }\n.hb-yhb-pn { margin-top: 16px; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }\n.hb-yhb-pv { margin-top: 2px; color: #777; font-size: 13px; }\n.hb-yhb-file { margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(0,0,0,.07); border-radius: 12px; background: #fff; }\n.hb-yhb-fn { display: flex; justify-content: space-between; gap: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }\n.hb-yhb-fn span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.hb-yhb-fn span:last-child { flex: none; color: #777; }\n.hb-yhb-sha { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #888; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }\n.hb-yhb-sha code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: inherit; }\n.hb-yhb-copy { flex: none; height: 24px; padding: 0 8px; border: 1px solid rgba(0,0,0,.1); border-radius: 7px; background: #fff; color: #444; font: inherit; font-family: inherit; font-size: 11px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease; }\n.hb-yhb-copy:hover { background: #f4f4f5; }\n.hb-yhb-copy[data-done=\"true\"] { border-color: transparent; background: color-mix(in srgb, var(--hb-yhb-accent) 12%, #fff); color: var(--hb-yhb-accent); }\n.hb-yhb-dl {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  height: 46px;\n  margin-top: 16px;\n  border-radius: 999px;\n  background: var(--hb-yhb-accent);\n  color: #fff;\n  font-size: 14.5px;\n  font-weight: 650;\n  text-decoration: none;\n  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 24px -10px var(--hb-yhb-accent);\n  overflow: hidden;\n  transition: transform .15s ease, filter .2s ease;\n}\n.hb-yhb-dl::after { content: \"\"; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35), transparent 70%); transform: translateX(-100%); animation: hb-yhb-shine 3.2s ease-in-out 1s infinite; }\n.hb-yhb-dl:hover { filter: brightness(1.08); }\n.hb-yhb-dl:active { transform: scale(.98); }\n.hb-yhb-dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }\n.hb-yhb-also { margin-top: 18px; color: #777; font-size: 12px; }\n.hb-yhb-fmts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }\n.hb-yhb-fmt { height: 26px; padding: 0 10px; border: 1px solid rgba(0,0,0,.09); border-radius: 999px; background: #fff; color: #333; font-size: 12px; font-weight: 600; line-height: 24px; text-decoration: none; transition: border-color .15s ease, color .15s ease; }\n.hb-yhb-fmt:hover { border-color: var(--hb-yhb-accent); color: var(--hb-yhb-accent); }\n.hb-yhb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }\n@keyframes hb-yhb-in { to { opacity: 1; transform: none; } }\n@keyframes hb-yhb-grow { from { transform: scaleX(0); } }\n@keyframes hb-yhb-pop { from { transform: scale(.6) rotate(-12deg); opacity: 0; } }\n@keyframes hb-yhb-shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }\n@container (max-width: 900px) {\n  .hb-yhb-head { flex-direction: column; align-items: flex-start; }\n  .hb-yhb-card { grid-template-columns: minmax(0, 1fr); }\n  .hb-yhb-side { border-left: 0; border-top: 1px solid rgba(0,0,0,.07); }\n}\n@container (max-width: 520px) {\n  .hb-yhb-tabs { display: grid; width: 100%; }\n  .hb-yhb-tab { padding: 0 8px; }\n  .hb-yhb-table thead { display: none; }\n  .hb-yhb-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,.05); }\n  .hb-yhb-table td, .hb-yhb-table tbody th { padding: 2px 0; border: 0; }\n  .hb-yhb-lb { grid-column: 1 / -1; width: auto; margin-bottom: 4px; }\n  .hb-yhb-min::before { content: \"Minimum\"; display: block; color: #999; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }\n  .hb-yhb-rec::before { content: \"Recommended\"; display: block; color: var(--hb-yhb-accent); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-yhb *, .hb-yhb *::before, .hb-yhb *::after { animation: none !important; transition: none !important; }\n  .hb-yhb-row { opacity: 1; transform: none; }\n}\n`;\n\nconst defaultPlatforms: DownloadRequirementsPlatform[] = [\n  {\n    id: \"mac\",\n    label: \"macOS\",\n    os: \"mac\",\n    version: \"Version 2.8.1, universal build\",\n    file: \"Framecut-2.8.1.dmg\",\n    size: \"486 MB\",\n    checksum: \"9f2c41e07ab8d3c6512fe0a9b47d8e21c3f05a6be1d9472c80f3e6a5d14b29c7\",\n    href: \"#\",\n    formats: [\n      { label: \".pkg\", href: \"#\" },\n      { label: \"Homebrew\", href: \"#\" },\n      { label: \"Mac App Store\", href: \"#\" },\n    ],\n    rows: [\n      { label: \"Operating system\", minimum: \"macOS 13 Ventura\", recommended: \"macOS 15 Sequoia or later\" },\n      { label: \"Processor\", minimum: \"Intel Core i5, 4 cores\", recommended: \"Apple M2 or newer\" },\n      { label: \"Memory\", minimum: \"8 GB\", recommended: \"16 GB or more\", level: [0.25, 0.5] },\n      { label: \"Storage\", minimum: \"4 GB free, SSD\", recommended: \"20 GB free for media cache\", level: [0.15, 0.6] },\n      { label: \"Graphics\", minimum: \"Metal 2 support\", recommended: \"Apple GPU, 10 cores\" },\n      { label: \"Display\", minimum: \"1440 x 900\", recommended: \"Retina 2560 x 1600\" },\n    ],\n  },\n  {\n    id: \"windows\",\n    label: \"Windows\",\n    os: \"windows\",\n    version: \"Version 2.8.1, 64-bit\",\n    file: \"Framecut-Setup-2.8.1-x64.exe\",\n    size: \"452 MB\",\n    checksum: \"3b7e90d1c2fa4486e5b0a17c9de2f3184a6c05e7b9d18f2a3c60e4b75d2981af\",\n    href: \"#\",\n    formats: [\n      { label: \".msi\", href: \"#\" },\n      { label: \"winget\", href: \"#\" },\n      { label: \"ARM64\", href: \"#\" },\n    ],\n    rows: [\n      { label: \"Operating system\", minimum: \"Windows 10, 22H2\", recommended: \"Windows 11, 24H2\" },\n      { label: \"Processor\", minimum: \"Intel i5 8th gen or Ryzen 5 2600\", recommended: \"Intel i7 12th gen or Ryzen 7 5800\" },\n      { label: \"Memory\", minimum: \"8 GB\", recommended: \"32 GB\", level: [0.25, 1] },\n      { label: \"Storage\", minimum: \"4 GB free, SSD\", recommended: \"NVMe SSD, 50 GB free\", level: [0.15, 0.85] },\n      { label: \"Graphics\", minimum: \"DirectX 12, 2 GB VRAM\", recommended: \"RTX 3060 or RX 6700, 8 GB VRAM\" },\n      { label: \"Display\", minimum: \"1366 x 768\", recommended: \"2560 x 1440 at 125% scale\" },\n    ],\n  },\n  {\n    id: \"linux\",\n    label: \"Linux\",\n    os: \"linux\",\n    version: \"Version 2.8.1, x86_64\",\n    file: \"framecut-2.8.1-x86_64.AppImage\",\n    size: \"471 MB\",\n    checksum: \"c81d5f0e3a9b72e46d1f8c0b5a3e7d92f64b1c08e5a7d3f29b06c4e81a7d5f30\",\n    href: \"#\",\n    formats: [\n      { label: \".deb\", href: \"#\" },\n      { label: \".rpm\", href: \"#\" },\n      { label: \"Flatpak\", href: \"#\" },\n    ],\n    rows: [\n      { label: \"Distribution\", minimum: \"Ubuntu 22.04, Fedora 39\", recommended: \"Ubuntu 24.04, Fedora 41\" },\n      { label: \"Processor\", minimum: \"x86_64 with AVX2, 4 cores\", recommended: \"8 cores or more\" },\n      { label: \"Memory\", minimum: \"8 GB\", recommended: \"16 GB or more\", level: [0.25, 0.5] },\n      { label: \"Storage\", minimum: \"4 GB free\", recommended: \"20 GB free on ext4 or btrfs\", level: [0.15, 0.6] },\n      { label: \"Graphics\", minimum: \"Vulkan 1.2 driver\", recommended: \"Mesa 24 or NVIDIA 550+\" },\n      { label: \"Desktop\", minimum: \"X11 or Wayland\", recommended: \"Wayland with PipeWire\" },\n    ],\n  },\n];\n\nconst osIcon: Record<DownloadRequirementsPlatform[\"os\"], React.ReactNode> = {\n  mac: <path d=\"M13.2 10.4c0-1.8 1.5-2.7 1.6-2.8-.9-1.3-2.2-1.5-2.7-1.5-1.1-.1-2.2.7-2.8.7-.6 0-1.5-.7-2.4-.6-1.3 0-2.4.7-3.1 1.9-1.3 2.3-.3 5.6.9 7.4.6.9 1.3 1.9 2.3 1.8.9 0 1.3-.6 2.4-.6s1.4.6 2.4.6 1.6-.9 2.2-1.8c.7-1 1-2 1-2.1-.1 0-1.8-.7-1.8-3zM11.4 4.9c.5-.6.8-1.4.7-2.3-.7 0-1.6.5-2.1 1.1-.5.5-.9 1.4-.8 2.2.8.1 1.6-.4 2.2-1z\" />,\n  windows: <path d=\"M3 4.6 8.7 3.8v5.5H3zM9.5 3.7 17 2.6v6.7H9.5zM3 10.1h5.7v5.5L3 14.8zM9.5 10.1H17v6.7l-7.5-1.1z\" />,\n  linux: <path d=\"M10 2.5c-1.9 0-2.8 1.6-2.8 3.4 0 1.1.2 1.6-.6 2.9-.9 1.3-2.1 3-2.1 5 0 .7.3 1.3.8 1.6-.4.4-.5 1-.1 1.4.6.6 2 .4 3 .9.8.3 1.3.3 1.8.3s1 0 1.8-.3c1-.5 2.4-.3 3-.9.4-.4.3-1-.1-1.4.5-.3.8-.9.8-1.6 0-2-1.2-3.7-2.1-5-.8-1.3-.6-1.8-.6-2.9 0-1.8-.9-3.4-2.8-3.4z\" />,\n};\n\nexport function DownloadRequirements({\n  eyebrow = \"System requirements\",\n  title = \"Make sure Framecut runs smoothly\",\n  subtitle = \"Framecut edits 4K timelines in real time on most machines from the last five years. Pick your platform to check.\",\n  platforms = defaultPlatforms,\n  value,\n  defaultValue,\n  onValueChange,\n  onDownload,\n  accent = \"#2f7bff\",\n  className = \"\",\n  style,\n  ...rest\n}: DownloadRequirementsProps) {\n  const uid = React.useId();\n  const [inner, setInner] = React.useState(defaultValue ?? platforms[0]?.id ?? \"\");\n  const [copied, setCopied] = React.useState(false);\n  const currentId = value ?? inner;\n  const index = Math.max(0, platforms.findIndex((p) => p.id === currentId));\n  const current = platforms[index];\n  const tabsRef = React.useRef<HTMLDivElement>(null);\n  const timer = React.useRef<number | undefined>(undefined);\n\n  React.useEffect(() => () => window.clearTimeout(timer.current), []);\n\n  function pick(i: number) {\n    const p = platforms[i];\n    if (!p) return;\n    if (value === undefined) setInner(p.id);\n    setCopied(false);\n    onValueChange?.(p.id);\n  }\n\n  function onKey(e: React.KeyboardEvent) {\n    let next = -1;\n    if (e.key === \"ArrowRight\") next = (index + 1) % platforms.length;\n    else if (e.key === \"ArrowLeft\") next = (index - 1 + platforms.length) % platforms.length;\n    else if (e.key === \"Home\") next = 0;\n    else if (e.key === \"End\") next = platforms.length - 1;\n    if (next < 0) return;\n    e.preventDefault();\n    pick(next);\n    tabsRef.current?.querySelectorAll<HTMLElement>('[role=\"tab\"]')[next]?.focus();\n  }\n\n  async function copy() {\n    if (!current) return;\n    try {\n      await navigator.clipboard.writeText(current.checksum);\n      setCopied(true);\n      window.clearTimeout(timer.current);\n      timer.current = window.setTimeout(() => setCopied(false), 1800);\n    } catch {\n      setCopied(false);\n    }\n  }\n\n  return (\n    <section\n      className={`hb-yhb ${className}`}\n      style={{ \"--hb-yhb-accent\": accent, ...style } as React.CSSProperties}\n      {...rest}\n    >\n      <style href=\"hb-download-requirements\" precedence=\"default\">\n        {css}\n      </style>\n      <div className=\"hb-yhb-in\">\n        <header className=\"hb-yhb-head\">\n          <div>\n            <span className=\"hb-yhb-eyebrow\">{eyebrow}</span>\n            <h2 className=\"hb-yhb-title\">{title}</h2>\n            {subtitle && <p className=\"hb-yhb-sub\">{subtitle}</p>}\n          </div>\n          <div\n            ref={tabsRef}\n            className=\"hb-yhb-tabs\"\n            role=\"tablist\"\n            aria-label=\"Platform\"\n            onKeyDown={onKey}\n            style={{ \"--hb-yhb-n\": platforms.length, \"--hb-yhb-i\": index } as React.CSSProperties}\n          >\n            <span className=\"hb-yhb-pill\" aria-hidden=\"true\" />\n            {platforms.map((p, i) => (\n              <button\n                key={p.id}\n                type=\"button\"\n                role=\"tab\"\n                id={`${uid}-t-${p.id}`}\n                aria-selected={i === index}\n                aria-controls={`${uid}-panel`}\n                tabIndex={i === index ? 0 : -1}\n                className=\"hb-yhb-tab\"\n                onClick={() => pick(i)}\n              >\n                <svg viewBox=\"0 0 20 20\" aria-hidden=\"true\">\n                  {osIcon[p.os]}\n                </svg>\n                {p.label}\n              </button>\n            ))}\n          </div>\n        </header>\n        {current && (\n          <div className=\"hb-yhb-card\" id={`${uid}-panel`} role=\"tabpanel\" aria-labelledby={`${uid}-t-${current.id}`}>\n            <table className=\"hb-yhb-table\">\n              <caption className=\"hb-yhb-sr\">{`${current.label} system requirements`}</caption>\n              <thead>\n                <tr>\n                  <th scope=\"col\">Component</th>\n                  <th scope=\"col\">Minimum</th>\n                  <th scope=\"col\">Recommended</th>\n                </tr>\n              </thead>\n              <tbody key={current.id}>\n                {current.rows.map((r, i) => (\n                  <tr key={r.label} className=\"hb-yhb-row\" style={{ \"--hb-yhb-r\": i } as React.CSSProperties}>\n                    <th scope=\"row\" className=\"hb-yhb-lb\">\n                      {r.label}\n                    </th>\n                    <td className=\"hb-yhb-min\">\n                      {r.minimum}\n                      {r.level && (\n                        <span className=\"hb-yhb-meter\" style={{ display: \"block\", \"--hb-yhb-l\": r.level[0].toFixed(3) } as React.CSSProperties} aria-hidden=\"true\">\n                          <i />\n                        </span>\n                      )}\n                    </td>\n                    <td className=\"hb-yhb-rec\">\n                      {r.recommended}\n                      {r.level && (\n                        <span className=\"hb-yhb-meter\" style={{ display: \"block\", \"--hb-yhb-l\": r.level[1].toFixed(3) } as React.CSSProperties} aria-hidden=\"true\">\n                          <i />\n                        </span>\n                      )}\n                    </td>\n                  </tr>\n                ))}\n              </tbody>\n            </table>\n            <aside className=\"hb-yhb-side\" key={`side-${current.id}`}>\n              <span className=\"hb-yhb-glyph\" aria-hidden=\"true\">\n                <svg viewBox=\"0 0 20 20\">{osIcon[current.os]}</svg>\n              </span>\n              <div className=\"hb-yhb-pn\">Framecut for {current.label}</div>\n              <div className=\"hb-yhb-pv\">{current.version}</div>\n              <div className=\"hb-yhb-file\">\n                <div className=\"hb-yhb-fn\">\n                  <span>{current.file}</span>\n                  <span>{current.size}</span>\n                </div>\n                <div className=\"hb-yhb-sha\">\n                  <code title={current.checksum}>SHA-256 {current.checksum}</code>\n                  <button type=\"button\" className=\"hb-yhb-copy\" data-done={copied ? \"true\" : \"false\"} onClick={copy} aria-label=\"Copy SHA-256 checksum\">\n                    {copied ? \"Copied\" : \"Copy\"}\n                  </button>\n                </div>\n                <span className=\"hb-yhb-sr\" aria-live=\"polite\">\n                  {copied ? \"Checksum copied\" : \"\"}\n                </span>\n              </div>\n              <a href={current.href} className=\"hb-yhb-dl\" onClick={() => onDownload?.(current)} download>\n                <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n                  <path d=\"M8 2.5v8M4.5 7 8 10.5 11.5 7M3 13.5h10\" />\n                </svg>\n                Download for {current.label}\n              </a>\n              {current.formats.length > 0 && (\n                <>\n                  <div className=\"hb-yhb-also\">Also available</div>\n                  <div className=\"hb-yhb-fmts\">\n                    {current.formats.map((f) => (\n                      <a key={f.label} href={f.href} className=\"hb-yhb-fmt\">\n                        {f.label}\n                      </a>\n                    ))}\n                  </div>\n                </>\n              )}\n            </aside>\n          </div>\n        )}\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}