{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "operations-command-deck",
  "title": "Operations Command Deck",
  "description": "One screen for running a fleet of AI bots: live totals, a traffic chart, alerts to clear, what every bot is doing, and a guarded switch to pause them all.",
  "dependencies": [],
  "files": [
    {
      "path": "registry/new-york/operations-command-deck/operations-command-deck.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport type AlertLevel = \"warning\" | \"critical\";\n\nexport interface DeckStat {\n  label: string;\n  value: string;\n  change: string;\n  /** Whether the change is a good thing. */\n  better: boolean;\n  trend: number[];\n}\n\nexport interface DeckAlert {\n  id: string;\n  level: AlertLevel;\n  text: string;\n  /** Short time, e.g. \"4m ago\". */\n  when: string;\n}\n\nexport interface DeckBot {\n  id: string;\n  name: string;\n  task: string;\n  /** How busy it is, from 0 to 100. */\n  load: number;\n}\n\nexport interface DeckRange {\n  id: string;\n  label: string;\n  /** Axis labels, spread evenly. */\n  ticks: string[];\n  series: number[];\n}\n\nexport interface OperationsCommandDeckProps extends Omit<\n  React.ComponentPropsWithoutRef<\"section\">,\n  \"title\"\n> {\n  theme?: \"dark\" | \"light\";\n  title?: string;\n  stats?: DeckStat[];\n  ranges?: DeckRange[];\n  alerts?: DeckAlert[];\n  bots?: DeckBot[];\n  /** Written to the feed one at a time, then repeated. */\n  feed?: string[];\n  /** Milliseconds between feed lines. */\n  feedMs?: number;\n  onPauseChange?: (paused: boolean) => void;\n  onAcknowledge?: (alert: DeckAlert) => void;\n}\n\nconst FONT =\n  '\"Inter Variable\", Inter, \"SF Pro Display\", -apple-system, BlinkMacSystemFont, sans-serif';\nconst ACCENT = \"#5E6AD2\";\nconst GREEN = \"#27A644\";\nconst ORANGE = \"#FC7840\";\nconst RED = \"#EB5757\";\nconst RING = \"outline-none focus-visible:ring-2 focus-visible:ring-[#5E6AD2]\";\nconst CHART_H = 196;\nconst FEED_ROWS = 6;\nconst FEED_ROW = 30;\nconst ALERT_ROW = 56;\n\nconst PALETTES = {\n  dark: {\n    bg: \"#08090A\",\n    cell: \"#0B0C0D\",\n    border: \"rgba(255,255,255,0.08)\",\n    grid: \"rgba(255,255,255,0.05)\",\n    track: \"rgba(255,255,255,0.1)\",\n    text: \"#F7F8F8\",\n    soft: \"#D0D6E0\",\n    sub: \"#8A8F98\",\n    faint: \"#62666D\",\n    chip: \"rgba(255,255,255,0.05)\",\n    fill: 0.2,\n    btn: \"#E5E5E6\",\n    btnText: \"#08090A\",\n  },\n  light: {\n    bg: \"#FFFFFF\",\n    cell: \"#FFFFFF\",\n    border: \"rgba(8,9,10,0.08)\",\n    grid: \"rgba(8,9,10,0.06)\",\n    track: \"rgba(8,9,10,0.1)\",\n    text: \"#08090A\",\n    soft: \"#3C3F44\",\n    sub: \"#62666D\",\n    faint: \"#8A8F98\",\n    chip: \"rgba(8,9,10,0.04)\",\n    fill: 0.14,\n    btn: \"#08090A\",\n    btnText: \"#F7F8F8\",\n  },\n};\n\nconst DEFAULT_STATS: DeckStat[] = [\n  {\n    label: \"Bots active\",\n    value: \"14\",\n    change: \"+2\",\n    better: true,\n    trend: [9, 10, 10, 12, 11, 13, 14],\n  },\n  {\n    label: \"Runs today\",\n    value: \"1,284\",\n    change: \"+9%\",\n    better: true,\n    trend: [62, 70, 66, 78, 84, 80, 92],\n  },\n  {\n    label: \"Success rate\",\n    value: \"97.4%\",\n    change: \"-0.3\",\n    better: false,\n    trend: [98, 98, 97, 98, 97, 98, 97],\n  },\n  {\n    label: \"Spent today\",\n    value: \"$42.18\",\n    change: \"+6%\",\n    better: false,\n    trend: [20, 24, 26, 30, 33, 38, 42],\n  },\n];\n\nconst DEFAULT_RANGES: DeckRange[] = [\n  {\n    id: \"6h\",\n    label: \"6 hours\",\n    ticks: [\"09:00\", \"11:00\", \"13:00\", \"15:00\"],\n    series: [62, 74, 70, 88, 96, 90, 112, 124, 118, 132, 126, 144],\n  },\n  {\n    id: \"24h\",\n    label: \"24 hours\",\n    ticks: [\"00:00\", \"08:00\", \"16:00\", \"Now\"],\n    series: [18, 14, 12, 22, 48, 86, 110, 124, 96, 118, 132, 88],\n  },\n  {\n    id: \"7d\",\n    label: \"7 days\",\n    ticks: [\"Mon\", \"Wed\", \"Fri\", \"Sun\"],\n    series: [92, 104, 98, 112, 120, 116, 128, 124, 134, 90, 64, 72],\n  },\n];\n\nconst DEFAULT_ALERTS: DeckAlert[] = [\n  {\n    id: \"rate\",\n    level: \"critical\",\n    text: \"Payments API is rate limiting Tally\",\n    when: \"4m ago\",\n  },\n  {\n    id: \"budget\",\n    level: \"warning\",\n    text: \"Scout has used 82% of today's budget\",\n    when: \"18m ago\",\n  },\n  {\n    id: \"stuck\",\n    level: \"warning\",\n    text: \"Patch has been waiting on staging for 40 minutes\",\n    when: \"41m ago\",\n  },\n];\n\nconst DEFAULT_BOTS: DeckBot[] = [\n  { id: \"sift\", name: \"Sift\", task: \"Sorting refund tickets\", load: 86 },\n  { id: \"scout\", name: \"Scout\", task: \"Reading support logs\", load: 72 },\n  { id: \"relay\", name: \"Relay\", task: \"Syncing the warehouse\", load: 54 },\n  { id: \"aria\", name: \"Aria\", task: \"Drafting release notes\", load: 38 },\n  { id: \"tally\", name: \"Tally\", task: \"Matching invoices\", load: 24 },\n];\n\nconst DEFAULT_FEED = [\n  \"Sift closed ticket 8841\",\n  \"Relay synced 214 products\",\n  \"Aria saved a draft\",\n  \"Tally matched invoice 2041\",\n  \"Scout read 40 tickets\",\n  \"Sift replied to a customer\",\n  \"Relay updated stock levels\",\n  \"Tally flagged invoice 2044\",\n];\n\nconst round = (n: number) => Math.round(n * 10) / 10;\n\nfunction curve(points: [number, number][]) {\n  return points\n    .map(([x, y], i) => {\n      if (!i) return `M${x} ${y}`;\n      const [px, py] = points[i - 1];\n      const mid = round((px + x) / 2);\n      return `C${mid} ${py} ${mid} ${y} ${x} ${y}`;\n    })\n    .join(\" \");\n}\n\nfunction useWidth<T extends HTMLElement>(fallback: number) {\n  const ref = React.useRef<T>(null);\n  const [width, setWidth] = React.useState(fallback);\n  React.useEffect(() => {\n    const el = ref.current;\n    if (!el) return;\n    const ro = new ResizeObserver(([entry]) => {\n      setWidth(Math.round(entry.contentRect.width));\n    });\n    ro.observe(el);\n    return () => ro.disconnect();\n  }, []);\n  return [ref, width] as const;\n}\n\nfunction useReducedMotion() {\n  return React.useSyncExternalStore(\n    (callback) => {\n      const query = window.matchMedia(\"(prefers-reduced-motion: reduce)\");\n      query.addEventListener(\"change\", callback);\n      return () => query.removeEventListener(\"change\", callback);\n    },\n    () => window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches,\n    () => false,\n  );\n}\n\n/** Drawn as SVG, because a tiny border-radius circle turns lumpy on 1x screens. */\nfunction Dot({ size, color }: { size: number; color: string }) {\n  const r = size / 2;\n  return (\n    <svg\n      aria-hidden=\"true\"\n      width={size}\n      height={size}\n      viewBox={`0 0 ${size} ${size}`}\n      className=\"block shrink-0\"\n    >\n      <circle\n        cx={r}\n        cy={r}\n        r={r}\n        className=\"motion-safe:transition-[fill] motion-safe:duration-200\"\n        style={{ fill: color }}\n      />\n    </svg>\n  );\n}\n\nfunction Trend({ values, color }: { values: number[]; color: string }) {\n  const w = 60;\n  const h = 22;\n  const max = Math.max(...values);\n  const min = Math.min(...values);\n  const span = max - min || 1;\n  const points = values\n    .map(\n      (v, i) =>\n        `${round((i / (values.length - 1)) * (w - 2) + 1)},${round(h - 3 - ((v - min) / span) * (h - 6))}`,\n    )\n    .join(\" \");\n  return (\n    <svg\n      aria-hidden=\"true\"\n      width={w}\n      height={h}\n      viewBox={`0 0 ${w} ${h}`}\n      className=\"block shrink-0\"\n    >\n      <polyline\n        points={points}\n        fill=\"none\"\n        stroke={color}\n        strokeWidth=\"1.5\"\n        strokeLinejoin=\"round\"\n        strokeLinecap=\"round\"\n      />\n    </svg>\n  );\n}\n\nexport function OperationsCommandDeck({\n  theme = \"dark\",\n  title = \"Operations\",\n  stats = DEFAULT_STATS,\n  ranges = DEFAULT_RANGES,\n  alerts = DEFAULT_ALERTS,\n  bots = DEFAULT_BOTS,\n  feed = DEFAULT_FEED,\n  feedMs = 1300,\n  onPauseChange,\n  onAcknowledge,\n  className,\n  style,\n  ...rest\n}: OperationsCommandDeckProps) {\n  const c = PALETTES[theme];\n  const reduce = useReducedMotion();\n  const rootRef = React.useRef<HTMLElement>(null);\n  const [visible, setVisible] = React.useState(false);\n  const [range, setRange] = React.useState(ranges[0]?.id ?? \"\");\n  const [hover, setHover] = React.useState<number | null>(null);\n  const [acked, setAcked] = React.useState<string[]>([]);\n  const [paused, setPaused] = React.useState(false);\n  const [armed, setArmed] = React.useState(false);\n  const [lines, setLines] = React.useState(() =>\n    feed.slice(0, FEED_ROWS).map((text, i) => ({ key: i, text })),\n  );\n  const [chartRef, width] = useWidth<HTMLDivElement>(620);\n  const nextLine = React.useRef(FEED_ROWS);\n  const armTimer = React.useRef(0);\n  const uid = React.useId();\n\n  const current = ranges.find((r) => r.id === range) ?? ranges[0];\n  const series = current?.series ?? [];\n  const open = alerts.filter((a) => !acked.includes(a.id));\n\n  React.useEffect(() => {\n    const el = rootRef.current;\n    if (!el) return;\n    const io = new IntersectionObserver(\n      ([entry]) => setVisible(entry.isIntersecting),\n      { threshold: 0.1 },\n    );\n    io.observe(el);\n    return () => io.disconnect();\n  }, []);\n\n  React.useEffect(() => () => window.clearTimeout(armTimer.current), []);\n\n  // New lines only arrive while the block can be seen and the bots are running.\n  React.useEffect(() => {\n    if (!visible || paused || reduce || !feed.length) return;\n    const id = window.setInterval(() => {\n      const i = nextLine.current;\n      nextLine.current += 1;\n      setLines((prev) =>\n        [{ key: i, text: feed[i % feed.length] }, ...prev].slice(\n          0,\n          FEED_ROWS + 1,\n        ),\n      );\n    }, feedMs);\n    return () => window.clearInterval(id);\n  }, [feed, feedMs, paused, reduce, visible]);\n\n  const pressPause = () => {\n    if (paused) {\n      setPaused(false);\n      onPauseChange?.(false);\n      return;\n    }\n    if (!armed) {\n      setArmed(true);\n      armTimer.current = window.setTimeout(() => setArmed(false), 3000);\n      return;\n    }\n    window.clearTimeout(armTimer.current);\n    setArmed(false);\n    setPaused(true);\n    onPauseChange?.(true);\n  };\n\n  const acknowledge = (alert: DeckAlert) => {\n    setAcked((prev) => [...prev, alert.id]);\n    onAcknowledge?.(alert);\n  };\n\n  // The chart, drawn at its measured width like every chart in this family.\n  const left = 34;\n  const top = 8;\n  const base = CHART_H - 22;\n  const peak = Math.max(...series, 1) * 1.1;\n  const x = (i: number) =>\n    round(left + (i / Math.max(series.length - 1, 1)) * (width - left - 6));\n  const y = (v: number) => round(base - (v / peak) * (base - top));\n  const points = series.map((v, i) => [x(i), y(v)] as [number, number]);\n  const line = curve(points);\n  const area = `${line} L${x(series.length - 1)} ${base} L${x(0)} ${base} Z`;\n  const gridLines = [0, 0.5, 1].map((p) => Math.round(peak * p));\n\n  const pick = (clientX: number, el: HTMLElement) => {\n    const box = el.getBoundingClientRect();\n    const ratio = (clientX - box.left - left) / (box.width - left - 6);\n    return Math.max(\n      0,\n      Math.min(series.length - 1, Math.round(ratio * (series.length - 1))),\n    );\n  };\n\n  const cellHead =\n    \"m-0 text-[13px] leading-[20px] font-[510] tracking-[-0.011em]\";\n\n  return (\n    <section\n      ref={rootRef}\n      aria-label={title}\n      className={`@container w-full ${className ?? \"\"}`}\n      style={{ background: c.bg, color: c.text, fontFamily: FONT, ...style }}\n      {...rest}\n    >\n      <header className=\"flex flex-wrap items-center justify-between gap-x-6 gap-y-3 px-5 py-5 @3xl:px-6\">\n        <div className=\"min-w-0\">\n          <h2 className=\"m-0 text-[24px] leading-[30px] font-[590] tracking-[-0.018em]\">\n            {title}\n          </h2>\n          <p\n            aria-live=\"polite\"\n            className=\"m-0 mt-0.5 flex items-center gap-2 text-[13px] leading-[20px] tracking-[-0.011em]\"\n            style={{ color: c.sub }}\n          >\n            <Dot size={8} color={paused || open.length ? ORANGE : GREEN} />\n            {paused\n              ? \"All bots are paused\"\n              : open.length\n                ? `${open.length} need attention`\n                : \"Everything is running\"}\n          </p>\n        </div>\n        <button\n          type=\"button\"\n          data-pause=\"\"\n          aria-pressed={paused}\n          onClick={pressPause}\n          className={`h-9 shrink-0 cursor-pointer rounded-full border-0 text-[13px] leading-[20px] font-[510] tracking-[-0.011em] ${RING}`}\n          style={{\n            width: 136,\n            background: paused ? c.btn : armed ? RED : c.chip,\n            color: paused ? c.btnText : armed ? \"#FFFFFF\" : c.soft,\n          }}\n        >\n          {paused\n            ? \"Resume all\"\n            : armed\n              ? \"Press to confirm\"\n              : \"Pause all bots\"}\n        </button>\n      </header>\n\n      {/* Hairline cells, drawn by a gap over the border colour. */}\n      <div\n        className=\"grid gap-px border-y\"\n        style={{ background: c.border, borderColor: c.border }}\n      >\n        <div className=\"grid grid-cols-2 gap-px @3xl:grid-cols-4\">\n          {stats.map((s) => (\n            <div\n              key={s.label}\n              className=\"flex min-w-0 items-end justify-between gap-2 p-4 @3xl:px-6\"\n              style={{ background: c.cell }}\n            >\n              <div className=\"min-w-0\">\n                <p\n                  className=\"m-0 truncate text-[12px] leading-[16px] tracking-[-0.005em]\"\n                  style={{ color: c.faint }}\n                >\n                  {s.label}\n                </p>\n                <p className=\"m-0 mt-1 text-[22px] leading-[28px] font-[510] tracking-[-0.022em] tabular-nums\">\n                  {paused && s.label === \"Bots active\" ? \"0\" : s.value}\n                </p>\n                <p\n                  className=\"m-0 text-[12px] leading-[16px] tracking-[-0.005em] tabular-nums\"\n                  style={{ color: s.better ? GREEN : ORANGE }}\n                >\n                  {s.change.replace(\"-\", \"−\")}\n                </p>\n              </div>\n              <span className=\"hidden @3xl:block\">\n                <Trend values={s.trend} color={c.sub} />\n              </span>\n            </div>\n          ))}\n        </div>\n\n        <div className=\"grid gap-px @3xl:grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)]\">\n          <div className=\"min-w-0 p-4 @3xl:px-6\" style={{ background: c.cell }}>\n            <div className=\"flex flex-wrap items-center justify-between gap-2\">\n              <p className={cellHead}>\n                Runs{\" \"}\n                <span\n                  className=\"font-normal tabular-nums\"\n                  style={{ color: c.sub }}\n                >\n                  {hover === null\n                    ? `${series[series.length - 1] ?? 0} now`\n                    : `${series[hover]} at this point`}\n                </span>\n              </p>\n              <div role=\"group\" aria-label=\"Range\" className=\"flex gap-1\">\n                {ranges.map((r) => {\n                  const on = r.id === range;\n                  return (\n                    <button\n                      key={r.id}\n                      type=\"button\"\n                      data-range={r.id}\n                      aria-pressed={on}\n                      onClick={() => {\n                        setRange(r.id);\n                        setHover(null);\n                      }}\n                      className={`h-7 cursor-pointer rounded-full border-0 px-2.5 text-[12.5px] leading-[18px] font-[510] tracking-[-0.008em] motion-safe:transition-colors motion-safe:duration-150 ${RING}`}\n                      style={{\n                        background: on ? c.chip : \"transparent\",\n                        color: on ? c.text : c.sub,\n                      }}\n                    >\n                      {r.label}\n                    </button>\n                  );\n                })}\n              </div>\n            </div>\n            <div\n              ref={chartRef}\n              role=\"img\"\n              aria-label={`Runs over ${current?.label}, latest ${series[series.length - 1]}.`}\n              className=\"mt-2 w-full touch-pan-y\"\n              style={{ height: CHART_H }}\n              onPointerMove={(e) => setHover(pick(e.clientX, e.currentTarget))}\n              onPointerLeave={() => setHover(null)}\n            >\n              <svg\n                aria-hidden=\"true\"\n                width={width}\n                height={CHART_H}\n                className=\"block\"\n              >\n                <defs>\n                  <linearGradient id={uid} x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">\n                    <stop stopColor={ACCENT} stopOpacity={c.fill} />\n                    <stop offset=\"1\" stopColor={ACCENT} stopOpacity=\"0\" />\n                  </linearGradient>\n                </defs>\n                {gridLines.map((g) => (\n                  <g key={g}>\n                    <line\n                      x1={left}\n                      x2={width - 6}\n                      y1={y(g)}\n                      y2={y(g)}\n                      stroke={c.grid}\n                    />\n                    <text\n                      x={0}\n                      y={y(g) + 4}\n                      fontSize=\"11\"\n                      fill={c.faint}\n                      style={{ fontVariantNumeric: \"tabular-nums\" }}\n                    >\n                      {g}\n                    </text>\n                  </g>\n                ))}\n                <path d={area} fill={`url(#${uid})`} />\n                <path d={line} fill=\"none\" stroke={ACCENT} strokeWidth=\"1.75\" />\n                {hover !== null && (\n                  <>\n                    <line\n                      x1={x(hover)}\n                      x2={x(hover)}\n                      y1={top}\n                      y2={base}\n                      stroke={c.faint}\n                    />\n                    <circle\n                      cx={x(hover)}\n                      cy={y(series[hover])}\n                      r=\"4\"\n                      fill={ACCENT}\n                      stroke={c.cell}\n                      strokeWidth=\"2\"\n                    />\n                  </>\n                )}\n                {current?.ticks.map((t, i) => (\n                  <text\n                    key={t}\n                    x={round(\n                      left +\n                        (i / Math.max(current.ticks.length - 1, 1)) *\n                          (width - left - 6),\n                    )}\n                    y={CHART_H - 4}\n                    fontSize=\"11\"\n                    textAnchor={\n                      i === 0\n                        ? \"start\"\n                        : i === current.ticks.length - 1\n                          ? \"end\"\n                          : \"middle\"\n                    }\n                    fill={c.faint}\n                  >\n                    {t}\n                  </text>\n                ))}\n              </svg>\n            </div>\n          </div>\n\n          <div className=\"min-w-0 p-4 @3xl:px-5\" style={{ background: c.cell }}>\n            <p className={cellHead}>\n              Alerts{\" \"}\n              <span\n                className=\"font-normal tabular-nums\"\n                style={{ color: c.sub }}\n              >\n                {open.length}\n              </span>\n            </p>\n            {/* Rows close up when one is cleared, inside a fixed space. */}\n            <ul\n              className=\"relative m-0 mt-2 list-none p-0\"\n              style={{ height: alerts.length * ALERT_ROW }}\n            >\n              {alerts.map((alert) => {\n                const at = open.indexOf(alert);\n                const gone = at < 0;\n                return (\n                  <li\n                    key={alert.id}\n                    aria-hidden={gone}\n                    inert={gone}\n                    className=\"flex items-center gap-2.5 motion-safe:transition-[transform,opacity] motion-safe:duration-200\"\n                    style={{\n                      position: \"absolute\",\n                      top: 0,\n                      left: 0,\n                      right: 0,\n                      height: ALERT_ROW,\n                      opacity: gone ? 0 : 1,\n                      visibility: gone ? \"hidden\" : \"visible\",\n                      transform: `translateY(${Math.max(at, 0) * ALERT_ROW}px)`,\n                    }}\n                  >\n                    <Dot\n                      size={8}\n                      color={alert.level === \"critical\" ? RED : ORANGE}\n                    />\n                    <span className=\"min-w-0 flex-1\">\n                      <span\n                        className=\"line-clamp-2 text-[13px] leading-[18px] tracking-[-0.011em]\"\n                        style={{ color: c.soft }}\n                      >\n                        {alert.text}\n                      </span>\n                      <span\n                        className=\"block text-[12px] leading-[16px] tracking-[-0.005em] tabular-nums\"\n                        style={{ color: c.faint }}\n                      >\n                        {alert.when}\n                      </span>\n                    </span>\n                    <button\n                      type=\"button\"\n                      data-ack={alert.id}\n                      aria-label={`Clear: ${alert.text}`}\n                      onClick={() => acknowledge(alert)}\n                      className={`h-7 shrink-0 cursor-pointer rounded-full border-0 px-2.5 text-[12.5px] leading-[18px] font-[510] tracking-[-0.008em] ${RING}`}\n                      style={{ background: c.chip, color: c.soft }}\n                    >\n                      Clear\n                    </button>\n                  </li>\n                );\n              })}\n              {!open.length && (\n                <li\n                  className=\"flex h-full items-center justify-center gap-2 text-[13px] leading-[20px] tracking-[-0.011em]\"\n                  style={{ color: c.sub }}\n                >\n                  <Dot size={8} color={GREEN} />\n                  All clear\n                </li>\n              )}\n            </ul>\n          </div>\n        </div>\n\n        <div className=\"grid gap-px @3xl:grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)]\">\n          <div className=\"min-w-0 p-4 @3xl:px-6\" style={{ background: c.cell }}>\n            <p className={cellHead}>Fleet</p>\n            <ul className=\"m-0 mt-1 list-none p-0\">\n              {bots.map((bot) => (\n                <li\n                  key={bot.id}\n                  className=\"flex items-center gap-3\"\n                  style={{ height: (FEED_ROWS * FEED_ROW) / bots.length }}\n                >\n                  <Dot size={8} color={paused ? ORANGE : GREEN} />\n                  <span\n                    className=\"shrink-0 text-[13px] leading-[20px] font-[510] tracking-[-0.011em]\"\n                    style={{ width: 52 }}\n                  >\n                    {bot.name}\n                  </span>\n                  <span\n                    className=\"min-w-0 flex-1 truncate text-[13px] leading-[20px] tracking-[-0.011em]\"\n                    style={{ color: c.sub }}\n                  >\n                    {paused ? \"Paused\" : bot.task}\n                  </span>\n                  <svg\n                    aria-hidden=\"true\"\n                    width=\"72\"\n                    height=\"4\"\n                    viewBox=\"0 0 72 4\"\n                    className=\"block shrink-0\"\n                  >\n                    <rect width=\"72\" height=\"4\" rx=\"2\" fill={c.track} />\n                    <rect\n                      width={paused ? 0 : Math.round((bot.load / 100) * 72)}\n                      height=\"4\"\n                      rx=\"2\"\n                      fill={bot.load > 80 ? ORANGE : ACCENT}\n                      className=\"motion-safe:transition-[width] motion-safe:duration-300\"\n                    />\n                  </svg>\n                </li>\n              ))}\n            </ul>\n          </div>\n          <div className=\"min-w-0 p-4 @3xl:px-5\" style={{ background: c.cell }}>\n            <p className={cellHead}>Live activity</p>\n            <ol\n              aria-label=\"Live activity\"\n              className=\"relative m-0 mt-1 list-none overflow-hidden p-0\"\n              style={{ height: FEED_ROWS * FEED_ROW }}\n            >\n              {lines.map((line, i) => (\n                <li\n                  key={line.key}\n                  className=\"flex items-center truncate text-[13px] leading-[20px] tracking-[-0.011em] motion-safe:transition-[transform,opacity] motion-safe:duration-300\"\n                  style={{\n                    position: \"absolute\",\n                    top: 0,\n                    left: 0,\n                    right: 0,\n                    height: FEED_ROW,\n                    color: i === 0 ? c.soft : c.sub,\n                    opacity: i >= FEED_ROWS ? 0 : 1,\n                    transform: `translateY(${i * FEED_ROW}px)`,\n                  }}\n                >\n                  {line.text}\n                </li>\n              ))}\n            </ol>\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}