{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "features-live-tabs",
  "type": "registry:component",
  "title": "Features Live Tabs",
  "description": "A light tab strip where every tab is a small, running preview of its feature. The selected preview zooms out of its tab into a large stage next to a dark copy card, and the tour advances on its own until you hover.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "features",
    "features",
    "tabs",
    "light",
    "preview",
    "autoplay",
    "design-tool"
  ],
  "docs": "https://hyperblur.dev/effects/features-live-tabs",
  "files": [
    {
      "path": "registry/hyperblur/features-live-tabs.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/features-live-tabs.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface FeaturesLiveTabsItem {\n  label: string;\n  title: string;\n  body: string;\n  stat: string;\n}\n\nexport interface FeaturesLiveTabsProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\" | \"onChange\" | \"defaultValue\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  items?: FeaturesLiveTabsItem[];\n  value?: number;\n  defaultValue?: number;\n  onChange?: (index: number) => void;\n  autoPlay?: boolean;\n  interval?: number;\n  accent?: string;\n}\n\nconst css = `\n@keyframes hb-wa2-zoom { from { opacity: 0; transform: translate3d(0, 10%, 0) scale(.34); } to { opacity: 1; transform: none; } }\n@keyframes hb-wa2-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }\n@keyframes hb-wa2-fade { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }\n@keyframes hb-wa2-cur1 { 0%, 100% { left: 18%; top: 62%; } 30% { left: 44%; top: 30%; } 55% { left: 44%; top: 30%; } 80% { left: 30%; top: 70%; } }\n@keyframes hb-wa2-cur2 { 0%, 100% { left: 78%; top: 24%; } 40% { left: 64%; top: 58%; } 70% { left: 70%; top: 40%; } }\n@keyframes hb-wa2-pop { 0%, 20% { opacity: 0; transform: scale(.4); } 30%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.9); } }\n@keyframes hb-wa2-fan { 0%, 15% { transform: translate(0, 0) rotate(0); } 45%, 85% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } 100% { transform: translate(0, 0) rotate(0); } }\n@keyframes hb-wa2-measure { 0%, 20% { transform: scaleX(0); opacity: 0; } 35%, 90% { transform: scaleX(1); opacity: 1; } 100% { opacity: 0; } }\n@keyframes hb-wa2-measurev { 0%, 30% { transform: scaleY(0); opacity: 0; } 45%, 90% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }\n@keyframes hb-wa2-draw { 0%, 15% { stroke-dashoffset: 1; } 50%, 100% { stroke-dashoffset: 0; } }\n@keyframes hb-wa2-tap { 0%, 55% { transform: scale(0); opacity: .7; } 75% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }\n.hb-wa2 {\n  --hb-wa2-accent: #ff5a36;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  background: #f7f5ef;\n  color: #131313;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-wa2 *, .hb-wa2 *::before, .hb-wa2 *::after { box-sizing: border-box; }\n.hb-wa2 em, .hb-wa2 i { font-style: normal; }\n.hb-wa2-in { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 8cqi, 104px) clamp(16px, 5cqi, 48px); }\n.hb-wa2-head { max-width: 680px; margin: 0 auto clamp(28px, 4cqi, 44px); text-align: center; }\n.hb-wa2-eyebrow { display: inline-block; margin: 0 0 14px; padding: 4px 10px; border: 1px solid rgba(0, 0, 0, .1); border-radius: 999px; background: #fff; color: #555; font-size: 12.5px; font-weight: 500; }\n.hb-wa2-title { margin: 0; font-family: var(--font-grotesk, inherit); font-size: clamp(30px, 4.6cqi, 52px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }\n.hb-wa2-sub { margin: 14px auto 0; max-width: 560px; color: #6b6b6b; font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }\n.hb-wa2-tabs { display: grid; grid-template-columns: repeat(var(--hb-wa2-n), minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }\n.hb-wa2-tab { position: relative; display: grid; gap: 10px; padding: 8px 8px 12px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 16px; background: rgba(255, 255, 255, .55); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .3s ease, border-color .3s ease, transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease; }\n.hb-wa2-tab:hover { background: #fff; transform: translate3d(0, -2px, 0); }\n.hb-wa2-tab[aria-selected=\"true\"] { background: #fff; border-color: rgba(0, 0, 0, .14); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 30px -20px rgba(0, 0, 0, .35); }\n.hb-wa2-tab:focus-visible { outline: 2px solid var(--hb-wa2-accent); outline-offset: 3px; }\n.hb-wa2-mini { overflow: hidden; border-radius: 10px; filter: saturate(.4); opacity: .75; transition: filter .3s ease, opacity .3s ease; }\n.hb-wa2-tab[aria-selected=\"true\"] .hb-wa2-mini, .hb-wa2-tab:hover .hb-wa2-mini { filter: none; opacity: 1; }\n.hb-wa2-tlabel { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; font-size: 13.5px; font-weight: 600; }\n.hb-wa2-tlabel small { color: #8a8a8a; font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; font-weight: 500; }\n.hb-wa2-prog { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(0, 0, 0, .06); opacity: 0; }\n.hb-wa2-tab[aria-selected=\"true\"] .hb-wa2-prog { opacity: 1; }\n.hb-wa2-prog i { display: block; height: 100%; background: var(--hb-wa2-accent); transform-origin: left; transform: scaleX(1); }\n.hb-wa2[data-auto=\"true\"] .hb-wa2-prog i { animation: hb-wa2-fill var(--hb-wa2-t) linear both; }\n.hb-wa2[data-paused=\"true\"] .hb-wa2-prog i { animation-play-state: paused; }\n.hb-wa2-stage { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 10px; }\n.hb-wa2-view { position: relative; overflow: hidden; padding: clamp(10px, 2cqi, 18px); border: 1px solid rgba(0, 0, 0, .08); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35); }\n.hb-wa2-zoom { transform-origin: var(--hb-wa2-x) 0; animation: hb-wa2-zoom .7s cubic-bezier(.22, 1, .36, 1) both; }\n.hb-wa2-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(18px, 3cqi, 30px); border: 1px solid rgba(0, 0, 0, .08); border-radius: 22px; background: #131313; color: #f2f2f2; }\n.hb-wa2-copy > div { animation: hb-wa2-fade .5s cubic-bezier(.22, 1, .36, 1) both; }\n.hb-wa2-copy h3 { margin: 0; font-family: var(--font-grotesk, inherit); font-size: clamp(20px, 2.4cqi, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }\n.hb-wa2-copy p { margin: 12px 0 0; color: #a3a3a3; font-size: 14.5px; line-height: 1.65; }\n.hb-wa2-stat { display: flex; align-items: baseline; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: #a3a3a3; font-size: 13px; }\n.hb-wa2-stat b { color: var(--hb-wa2-accent); font-family: var(--font-grotesk, inherit); font-size: 30px; font-weight: 600; letter-spacing: -.03em; }\n.hb-wa2-scene { position: relative; container-type: inline-size; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 12px; background: #f1efe9; background-image: radial-gradient(rgba(0, 0, 0, .09) 1px, transparent 1px); background-size: 4cqi 4cqi; font-size: 2.4cqi; }\n.hb-wa2-frame { position: absolute; border-radius: 1.6cqi; background: #fff; box-shadow: 0 .6cqi 2cqi rgba(0, 0, 0, .1); }\n.hb-wa2-ln { position: absolute; height: 1.4cqi; border-radius: 1cqi; background: #e7e5df; }\n.hb-wa2-cur { position: absolute; width: 3cqi; height: 3cqi; }\n.hb-wa2-cur span { position: absolute; left: 2.4cqi; top: 2.4cqi; padding: .3cqi 1cqi; border-radius: 1cqi; color: #fff; font-size: 1.8cqi; font-weight: 600; white-space: nowrap; }\n.hb-wa2-c1 { animation: hb-wa2-cur1 6s cubic-bezier(.65, 0, .35, 1) infinite; }\n.hb-wa2-c2 { animation: hb-wa2-cur2 7s cubic-bezier(.65, 0, .35, 1) infinite; }\n.hb-wa2-pin { position: absolute; display: grid; place-items: center; width: 4cqi; height: 4cqi; border-radius: 50% 50% 50% 0; background: var(--hb-wa2-accent); color: #fff; font-size: 1.8cqi; font-weight: 700; animation: hb-wa2-pop 6s ease infinite; }\n.hb-wa2-bubble { position: absolute; padding: 1.2cqi 1.6cqi; border-radius: 1.4cqi; background: #131313; color: #fff; font-size: 1.9cqi; line-height: 1.35; box-shadow: 0 1cqi 3cqi rgba(0, 0, 0, .2); animation: hb-wa2-pop 6s ease infinite; animation-delay: .5s; }\n.hb-wa2-bubble b { display: block; color: #ffb4a3; font-size: 1.6cqi; }\n.hb-wa2-sheet { position: absolute; left: 36%; top: 16%; width: 28%; height: 68%; border-radius: 1.4cqi; background: #fff; box-shadow: 0 .8cqi 2.4cqi rgba(0, 0, 0, .12); animation: hb-wa2-fan 5s cubic-bezier(.65, 0, .35, 1) infinite; }\n.hb-wa2-sheet span { position: absolute; left: 8%; bottom: 7%; padding: .4cqi 1cqi; border-radius: 1cqi; background: #f1efe9; color: #555; font-family: var(--font-mono, ui-monospace, monospace); font-size: 1.7cqi; }\n.hb-wa2-sheet[data-top=\"true\"] span { background: var(--hb-wa2-accent); color: #fff; }\n.hb-wa2-hero { position: absolute; left: 8%; right: 8%; top: 9%; height: 38%; border-radius: 1cqi; background: linear-gradient(135deg, var(--g1), var(--g2)); }\n.hb-wa2-btn { position: absolute; left: 30%; top: 38%; width: 30%; height: 20%; display: grid; place-items: center; border-radius: 2cqi; background: #131313; color: #fff; font-size: 2.4cqi; font-weight: 600; }\n.hb-wa2-rule { position: absolute; background: var(--hb-wa2-accent); }\n.hb-wa2-rule span { position: absolute; padding: .2cqi .8cqi; border-radius: .8cqi; background: var(--hb-wa2-accent); color: #fff; font-family: var(--font-mono, ui-monospace, monospace); font-size: 1.6cqi; white-space: nowrap; }\n.hb-wa2-rh { left: 30%; width: 30%; top: 64%; height: .3cqi; transform-origin: left; animation: hb-wa2-measure 5s ease infinite; }\n.hb-wa2-rh span { left: 50%; top: 1cqi; transform: translateX(-50%); }\n.hb-wa2-rv { left: 63%; top: 38%; height: 20%; width: .3cqi; transform-origin: top; animation: hb-wa2-measurev 5s ease infinite; }\n.hb-wa2-rv span { left: 1.2cqi; top: 50%; transform: translateY(-50%); }\n.hb-wa2-spec { position: absolute; right: 4%; top: 10%; bottom: 10%; width: 24%; padding: 1.6cqi; border-radius: 1.4cqi; background: #131313; color: #d4d4d4; font-family: var(--font-mono, ui-monospace, monospace); font-size: 1.7cqi; line-height: 2; }\n.hb-wa2-spec b { color: #fff; font-weight: 600; }\n.hb-wa2-spec i { display: inline-block; width: 1.6cqi; height: 1.6cqi; margin-right: .6cqi; border-radius: .4cqi; background: var(--hb-wa2-accent); vertical-align: -.2cqi; }\n.hb-wa2-phone { position: absolute; top: 12%; width: 18%; height: 76%; padding: 1cqi; border: .4cqi solid #131313; border-radius: 2.4cqi; background: #fff; }\n.hb-wa2-phone .hb-wa2-ln { position: relative; display: block; margin-bottom: 1cqi; }\n.hb-wa2-tile { height: 32%; margin-bottom: 1.2cqi; border-radius: 1cqi; background: linear-gradient(135deg, var(--g1), var(--g2)); }\n.hb-wa2-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.hb-wa2-flow path { fill: none; stroke: var(--hb-wa2-accent); stroke-width: .5; stroke-linecap: round; stroke-dasharray: 1; animation: hb-wa2-draw 4s cubic-bezier(.65, 0, .35, 1) infinite; }\n.hb-wa2-flow path + path { animation-delay: .9s; }\n.hb-wa2-tap { position: absolute; width: 4cqi; height: 4cqi; margin: -2cqi 0 0 -2cqi; border-radius: 50%; background: var(--hb-wa2-accent); animation: hb-wa2-tap 4s ease-out infinite; }\n@container (max-width: 820px) {\n  .hb-wa2-stage { grid-template-columns: minmax(0, 1fr); }\n}\n@container (max-width: 640px) {\n  .hb-wa2-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-wa2 *, .hb-wa2 *::before, .hb-wa2 *::after { animation: none !important; transition: none !important; }\n  .hb-wa2-pin, .hb-wa2-bubble, .hb-wa2-rule { opacity: 1; transform: none; }\n  .hb-wa2-flow path { stroke-dashoffset: 0; }\n  .hb-wa2-tap { display: none; }\n}\n`;\n\nconst defaultItems: FeaturesLiveTabsItem[] = [\n  { label: \"Comments\", title: \"Feedback pinned to the pixel\", body: \"Drop a comment anywhere on the canvas. Threads follow the layer when it moves, and resolve themselves when the change ships.\", stat: \"3.2x faster review rounds\" },\n  { label: \"Versions\", title: \"Every save is a version you can name\", body: \"Branch a frame, try something bold, and compare it side by side with main. Restoring is one click, not an archaeology dig.\", stat: \"Unlimited history on every plan\" },\n  { label: \"Handoff\", title: \"Specs that write themselves\", body: \"Spacing, radii and tokens appear the moment a developer hovers a layer. Copy the CSS or jump straight to the token in your library.\", stat: \"41% fewer questions in review\" },\n  { label: \"Prototype\", title: \"Link screens by drawing a line\", body: \"Drag from a button to a screen and the flow is live. Share a link and watch where people tap, in real time.\", stat: \"12,000 teams prototype here\" },\n];\n\nfunction SceneComments() {\n  return (\n    <div className=\"hb-wa2-scene\">\n      <div className=\"hb-wa2-frame\" style={{ left: \"12%\", top: \"12%\", width: \"52%\", height: \"76%\" }}>\n        <div className=\"hb-wa2-hero\" style={{ \"--g1\": \"#ffd2c4\", \"--g2\": \"#ff8a6b\", height: \"34%\" } as React.CSSProperties} />\n        <i className=\"hb-wa2-ln\" style={{ left: \"8%\", top: \"52%\", width: \"60%\" }} />\n        <i className=\"hb-wa2-ln\" style={{ left: \"8%\", top: \"62%\", width: \"44%\" }} />\n        <i className=\"hb-wa2-ln\" style={{ left: \"8%\", top: \"76%\", width: \"30%\", height: \"8%\", background: \"#131313\" }} />\n      </div>\n      <span className=\"hb-wa2-pin\" style={{ left: \"44%\", top: \"22%\" }}>2</span>\n      <div className=\"hb-wa2-bubble\" style={{ left: \"60%\", top: \"14%\", width: \"32%\" }}>\n        <b>Maya Okafor</b>\n        Can the hero crop tighter on mobile?\n      </div>\n      <span className=\"hb-wa2-cur hb-wa2-c1\">\n        <svg viewBox=\"0 0 12 12\" width=\"100%\" height=\"100%\" aria-hidden=\"true\"><path d=\"M1 1l9 4-4 1.2L4.6 11z\" fill=\"#2563eb\" stroke=\"#fff\" strokeWidth=\".8\" /></svg>\n        <span style={{ background: \"#2563eb\" }}>Maya</span>\n      </span>\n      <span className=\"hb-wa2-cur hb-wa2-c2\">\n        <svg viewBox=\"0 0 12 12\" width=\"100%\" height=\"100%\" aria-hidden=\"true\"><path d=\"M1 1l9 4-4 1.2L4.6 11z\" fill=\"#16a34a\" stroke=\"#fff\" strokeWidth=\".8\" /></svg>\n        <span style={{ background: \"#16a34a\" }}>Theo</span>\n      </span>\n    </div>\n  );\n}\n\nfunction SceneVersions() {\n  const sheets = [\n    { v: \"v12\", dx: \"-62%\", dy: \"4%\", r: \"-8deg\", g1: \"#e0e7ff\", g2: \"#a5b4fc\" },\n    { v: \"v13\", dx: \"62%\", dy: \"4%\", r: \"8deg\", g1: \"#dcfce7\", g2: \"#86efac\" },\n    { v: \"v14 · main\", dx: \"0%\", dy: \"-4%\", r: \"0deg\", g1: \"#ffd2c4\", g2: \"#ff8a6b\", top: true },\n  ];\n  return (\n    <div className=\"hb-wa2-scene\">\n      {sheets.map((s) => (\n        <div key={s.v} className=\"hb-wa2-sheet\" data-top={s.top ? \"true\" : undefined} style={{ \"--dx\": s.dx, \"--dy\": s.dy, \"--r\": s.r } as React.CSSProperties}>\n          <div className=\"hb-wa2-hero\" style={{ \"--g1\": s.g1, \"--g2\": s.g2 } as React.CSSProperties} />\n          <i className=\"hb-wa2-ln\" style={{ left: \"8%\", top: \"56%\", width: \"70%\" }} />\n          <i className=\"hb-wa2-ln\" style={{ left: \"8%\", top: \"66%\", width: \"48%\" }} />\n          <span>{s.v}</span>\n        </div>\n      ))}\n    </div>\n  );\n}\n\nfunction SceneHandoff() {\n  return (\n    <div className=\"hb-wa2-scene\">\n      <div className=\"hb-wa2-frame\" style={{ left: \"6%\", top: \"10%\", width: \"62%\", height: \"80%\" }}>\n        <div className=\"hb-wa2-btn\" style={{ left: \"35%\", top: \"30%\", width: \"34%\", height: \"24%\" }}>Start trial</div>\n        <i className=\"hb-wa2-rule hb-wa2-rh\" style={{ left: \"35%\", width: \"34%\", top: \"62%\" }}><span>184</span></i>\n        <i className=\"hb-wa2-rule hb-wa2-rv\" style={{ left: \"72%\", top: \"30%\", height: \"24%\" }}><span>48</span></i>\n      </div>\n      <div className=\"hb-wa2-spec\">\n        <b>Button / Primary</b>\n        <br />padding 14 24\n        <br />radius 12\n        <br /><i />accent/600\n        <br />Geist 15 / 600\n      </div>\n    </div>\n  );\n}\n\nfunction ScenePrototype() {\n  return (\n    <div className=\"hb-wa2-scene\">\n      {[8, 41, 74].map((l, j) => (\n        <div key={l} className=\"hb-wa2-phone\" style={{ left: `${l}%` }}>\n          <div className=\"hb-wa2-tile\" style={{ \"--g1\": [\"#ffd2c4\", \"#e0e7ff\", \"#dcfce7\"][j], \"--g2\": [\"#ff8a6b\", \"#a5b4fc\", \"#86efac\"][j] } as React.CSSProperties} />\n          <i className=\"hb-wa2-ln\" style={{ width: \"80%\" }} />\n          <i className=\"hb-wa2-ln\" style={{ width: \"56%\" }} />\n          <i className=\"hb-wa2-ln\" style={{ width: \"40%\", height: \"3cqi\", marginTop: \"2cqi\", background: \"#131313\" }} />\n        </div>\n      ))}\n      <svg className=\"hb-wa2-flow\" viewBox=\"0 0 100 50\" preserveAspectRatio=\"none\" aria-hidden=\"true\">\n        <path d=\"M22 33 C 30 33, 33 16, 42 16\" pathLength={1} />\n        <path d=\"M55 33 C 63 33, 66 16, 75 16\" pathLength={1} />\n      </svg>\n      <i className=\"hb-wa2-tap\" style={{ left: \"18%\", top: \"68%\" }} />\n    </div>\n  );\n}\n\nconst scenes = [SceneComments, SceneVersions, SceneHandoff, ScenePrototype];\n\nexport function FeaturesLiveTabs({\n  eyebrow = \"Plyform 4.0\",\n  title = \"The whole design loop, live in every tab\",\n  subtitle = \"Each tab is a working preview. Pick one to open it full size, or let the tour run on its own.\",\n  items = defaultItems,\n  value,\n  defaultValue = 0,\n  onChange,\n  autoPlay = true,\n  interval = 5000,\n  accent = \"#ff5a36\",\n  className,\n  style,\n  ...rest\n}: FeaturesLiveTabsProps) {\n  const [inner, setInner] = React.useState(defaultValue);\n  const [paused, setPaused] = React.useState(false);\n  const active = Math.min(value ?? inner, items.length - 1);\n  const refs = React.useRef<(HTMLButtonElement | null)[]>([]);\n  const tabsId = React.useId();\n\n  const go = (i: number, focus = false) => {\n    const n = (i + items.length) % items.length;\n    if (value === undefined) setInner(n);\n    onChange?.(n);\n    if (focus) refs.current[n]?.focus();\n  };\n\n  const onKey = (e: React.KeyboardEvent) => {\n    if (e.key === \"ArrowRight\" || e.key === \"ArrowDown\") { e.preventDefault(); go(active + 1, true); }\n    else if (e.key === \"ArrowLeft\" || e.key === \"ArrowUp\") { e.preventDefault(); go(active - 1, true); }\n    else if (e.key === \"Home\") { e.preventDefault(); go(0, true); }\n    else if (e.key === \"End\") { e.preventDefault(); go(items.length - 1, true); }\n  };\n\n  const Scene = scenes[active % scenes.length];\n  const item = items[active];\n\n  return (\n    <section\n      className={[\"hb-wa2\", className].filter(Boolean).join(\" \")}\n      data-auto={autoPlay}\n      data-paused={paused}\n      style={{ \"--hb-wa2-accent\": accent, \"--hb-wa2-n\": items.length, \"--hb-wa2-t\": `${interval}ms`, \"--hb-wa2-x\": `${(((active + 0.5) / items.length) * 100).toFixed(2)}%`, ...style } as React.CSSProperties}\n      {...rest}\n    >\n      <style href=\"hb-features-live-tabs\" precedence=\"default\">{css}</style>\n      <div className=\"hb-wa2-in\" onPointerEnter={() => setPaused(true)} onPointerLeave={() => setPaused(false)} onFocus={() => setPaused(true)} onBlur={() => setPaused(false)}>\n        <div className=\"hb-wa2-head\">\n          <p className=\"hb-wa2-eyebrow\">{eyebrow}</p>\n          <h2 className=\"hb-wa2-title\">{title}</h2>\n          <p className=\"hb-wa2-sub\">{subtitle}</p>\n        </div>\n        <div className=\"hb-wa2-tabs\" role=\"tablist\" aria-label={title} onKeyDown={onKey}>\n          {items.map((it, i) => {\n            const Mini = scenes[i % scenes.length];\n            return (\n              <button\n                key={it.label}\n                ref={(el) => {\n                  refs.current[i] = el;\n                }}\n                type=\"button\"\n                role=\"tab\"\n                id={`${tabsId}-t${i}`}\n                aria-selected={i === active}\n                aria-controls={`${tabsId}-p`}\n                tabIndex={i === active ? 0 : -1}\n                className=\"hb-wa2-tab\"\n                onClick={() => go(i)}\n              >\n                <span className=\"hb-wa2-mini\" aria-hidden=\"true\">\n                  <Mini />\n                </span>\n                <span className=\"hb-wa2-tlabel\">\n                  {it.label}\n                  <small>0{i + 1}</small>\n                </span>\n                <span className=\"hb-wa2-prog\" aria-hidden=\"true\">\n                  {i === active && <i key={active} onAnimationEnd={() => autoPlay && go(active + 1)} />}\n                </span>\n              </button>\n            );\n          })}\n        </div>\n        <div className=\"hb-wa2-stage\" role=\"tabpanel\" id={`${tabsId}-p`} aria-labelledby={`${tabsId}-t${active}`}>\n          <div className=\"hb-wa2-view\">\n            <div key={active} className=\"hb-wa2-zoom\">\n              <Scene />\n            </div>\n          </div>\n          <div className=\"hb-wa2-copy\">\n            <div key={active}>\n              <h3>{item.title}</h3>\n              <p>{item.body}</p>\n            </div>\n            <div className=\"hb-wa2-stat\">\n              <b>{item.stat.split(\" \")[0]}</b>\n              {item.stat.split(\" \").slice(1).join(\" \")}\n            </div>\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}