{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "stacked-area-chart",
  "title": "Stacked Area Chart",
  "description": "A stacked area chart for totals and their parts: smooth layered areas that draw in on scroll, a Total / Share switch for a 100% view, legend toggles that reflow the stack, and a crosshair tooltip with every series and the total.",
  "dependencies": [
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/new-york/stacked-area-chart/stacked-area-chart.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\nimport { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nfunction cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n\nexport type ChartTheme = \"dark\" | \"light\";\n\nexport interface StackedAreaSeries {\n  label: string;\n  /** Defaults to the theme palette. */\n  color?: string;\n}\n\nexport interface StackedAreaPoint {\n  label: string;\n  /** One value per series, in the same order as `series`. */\n  values: number[];\n}\n\nexport interface StackedAreaChartProps extends Omit<\n  React.ComponentPropsWithoutRef<\"div\">,\n  \"title\"\n> {\n  theme?: ChartTheme;\n  title?: string;\n  subtitle?: string;\n  series?: StackedAreaSeries[];\n  data?: StackedAreaPoint[];\n  /** \"stacked\" shows totals; \"percent\" shows each series' share of 100%. */\n  mode?: \"stacked\" | \"percent\";\n  /** Show the Total / Share switch in the header. */\n  showModeSwitch?: boolean;\n  /** Height of the plot area, in px. */\n  height?: number;\n  /** Smooth curves instead of straight segments. */\n  curved?: boolean;\n  formatValue?: (value: number) => string;\n}\n\nconst PALETTES = {\n  dark: {\n    card: \"#0E0E0E\",\n    border: \"rgba(255,255,255,0.08)\",\n    text: \"#F4F5F7\",\n    sub: \"rgba(255,255,255,0.55)\",\n    grid: \"rgba(255,255,255,0.07)\",\n    axis: \"rgba(255,255,255,0.45)\",\n    tip: \"rgba(20,20,20,0.96)\",\n    tipBorder: \"rgba(255,255,255,0.12)\",\n    chip: \"rgba(255,255,255,0.06)\",\n    series: [\"#87FFE3\", \"#8FB8FF\", \"#B69CFF\", \"#F2A841\", \"#FF7A6B\"],\n  },\n  light: {\n    card: \"#FFFFFF\",\n    border: \"rgba(0,0,0,0.07)\",\n    text: \"#111317\",\n    sub: \"rgba(17,19,23,0.55)\",\n    grid: \"rgba(17,19,23,0.08)\",\n    axis: \"rgba(17,19,23,0.5)\",\n    tip: \"rgba(255,255,255,0.98)\",\n    tipBorder: \"rgba(0,0,0,0.08)\",\n    chip: \"rgba(0,0,0,0.05)\",\n    series: [\"#0E9F80\", \"#3B6FD8\", \"#7B5CE0\", \"#D9822B\", \"#E5484D\"],\n  },\n};\n\nconst DEFAULT_SERIES: StackedAreaSeries[] = [\n  { label: \"Organic\" },\n  { label: \"Paid\" },\n  { label: \"Referral\" },\n  { label: \"Social\" },\n];\nconst DEFAULT_DATA: StackedAreaPoint[] = [\n  { label: \"Jan\", values: [4200, 2100, 900, 600] },\n  { label: \"Feb\", values: [4600, 2300, 1000, 750] },\n  { label: \"Mar\", values: [5100, 2050, 1250, 900] },\n  { label: \"Apr\", values: [5600, 2600, 1300, 1150] },\n  { label: \"May\", values: [5900, 3100, 1500, 1050] },\n  { label: \"Jun\", values: [6800, 3300, 1650, 1400] },\n  { label: \"Jul\", values: [7400, 3000, 1800, 1700] },\n  { label: \"Aug\", values: [7100, 3600, 2050, 1900] },\n  { label: \"Sep\", values: [8200, 3900, 2200, 2300] },\n  { label: \"Oct\", values: [8900, 4300, 2500, 2150] },\n  { label: \"Nov\", values: [9800, 4700, 2700, 2600] },\n  { label: \"Dec\", values: [10600, 5200, 3100, 3000] },\n];\n\nconst compact = new Intl.NumberFormat(\"en-US\", {\n  notation: \"compact\",\n  maximumFractionDigits: 1,\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\nfunction useWidth(ref: React.RefObject<HTMLElement | null>) {\n  const [width, setWidth] = React.useState(0);\n  React.useEffect(() => {\n    const el = ref.current;\n    if (!el) return;\n    const ro = new ResizeObserver(([entry]) =>\n      setWidth(entry.contentRect.width),\n    );\n    ro.observe(el);\n    return () => ro.disconnect();\n  }, [ref]);\n  return width;\n}\n\n/** 0 → 1 (ease-out) once the element scrolls into view; 1 straight away with reduced motion. */\nfunction useReveal(\n  ref: React.RefObject<HTMLElement | null>,\n  reduce: boolean,\n  duration = 1200,\n) {\n  const [t, setT] = React.useState(0);\n  React.useEffect(() => {\n    const el = ref.current;\n    if (!el || reduce) return;\n    let raf = 0;\n    const io = new IntersectionObserver(\n      ([entry]) => {\n        if (!entry.isIntersecting) return;\n        io.disconnect();\n        const start = performance.now();\n        const tick = (now: number) => {\n          const k = Math.min(1, (now - start) / duration);\n          setT(1 - Math.pow(1 - k, 3));\n          if (k < 1) raf = requestAnimationFrame(tick);\n        };\n        raf = requestAnimationFrame(tick);\n      },\n      { threshold: 0.2 },\n    );\n    io.observe(el);\n    return () => {\n      io.disconnect();\n      cancelAnimationFrame(raf);\n    };\n  }, [ref, reduce, duration]);\n  return reduce ? 1 : t;\n}\n\n/** A round axis maximum and step, giving about `count` gridlines. */\nfunction niceScale(max: number, count = 4) {\n  if (max <= 0) return { max: 1, step: 0.25 };\n  const raw = max / count;\n  const mag = Math.pow(10, Math.floor(Math.log10(raw)));\n  const step =\n    [1, 2, 2.5, 5, 10].map((m) => m * mag).find((s) => s >= raw) ?? 10 * mag;\n  return { max: Math.ceil(max / step) * step, step };\n}\n\n/** Monotone cubic path through points (no overshoot between samples). */\nfunction linePath(pts: [number, number][], curved: boolean) {\n  if (pts.length === 0) return \"\";\n  if (!curved || pts.length < 3)\n    return pts.map(([x, y], i) => `${i ? \"L\" : \"M\"}${x},${y}`).join(\"\");\n  const n = pts.length;\n  const d: number[] = [];\n  const m: number[] = [];\n  for (let i = 0; i < n - 1; i++)\n    d.push((pts[i + 1][1] - pts[i][1]) / (pts[i + 1][0] - pts[i][0]));\n  m.push(d[0]);\n  for (let i = 1; i < n - 1; i++)\n    m.push(d[i - 1] * d[i] <= 0 ? 0 : (d[i - 1] + d[i]) / 2);\n  m.push(d[n - 2]);\n  for (let i = 0; i < n - 1; i++) {\n    if (d[i] === 0) {\n      m[i] = 0;\n      m[i + 1] = 0;\n      continue;\n    }\n    const a = m[i] / d[i];\n    const b = m[i + 1] / d[i];\n    const s = a * a + b * b;\n    if (s > 9) {\n      const k = 3 / Math.sqrt(s);\n      m[i] = k * a * d[i];\n      m[i + 1] = k * b * d[i];\n    }\n  }\n  let out = `M${pts[0][0]},${pts[0][1]}`;\n  for (let i = 0; i < n - 1; i++) {\n    const h = (pts[i + 1][0] - pts[i][0]) / 3;\n    out += `C${pts[i][0] + h},${pts[i][1] + m[i] * h} ${pts[i + 1][0] - h},${pts[i + 1][1] - m[i + 1] * h} ${pts[i + 1][0]},${pts[i + 1][1]}`;\n  }\n  return out;\n}\n\nconst M = { top: 14, right: 12, bottom: 30, left: 46 };\n\nexport function StackedAreaChart({\n  theme = \"dark\",\n  title = \"Visitors by channel\",\n  subtitle = \"Monthly unique visitors, 2025\",\n  series = DEFAULT_SERIES,\n  data = DEFAULT_DATA,\n  mode: initialMode = \"stacked\",\n  showModeSwitch = true,\n  height = 300,\n  curved = true,\n  formatValue = (v) => compact.format(v),\n  className,\n  style,\n  ...props\n}: StackedAreaChartProps) {\n  const pal = PALETTES[theme];\n  const reduce = useReducedMotion();\n  const plotRef = React.useRef<HTMLDivElement>(null);\n  const width = useWidth(plotRef);\n  const reveal = useReveal(plotRef, reduce);\n  const [mode, setMode] = React.useState(initialMode);\n  const [hidden, setHidden] = React.useState<boolean[]>(() =>\n    series.map(() => false),\n  );\n  const [active, setActive] = React.useState<number | null>(null);\n  const [focusSeries, setFocusSeries] = React.useState<number | null>(null);\n  const id = React.useId();\n  const colors = series.map(\n    (s, i) => s.color ?? pal.series[i % pal.series.length],\n  );\n\n  // Each series' weight eases between 0 and 1 when it's toggled, so the stack reflows smoothly.\n  const [weights, setWeights] = React.useState<number[]>(() =>\n    series.map(() => 1),\n  );\n  const weightRef = React.useRef<number[]>(weights);\n  const target = React.useMemo(\n    () => series.map((_, i) => (hidden[i] ? 0 : 1)),\n    [series, hidden],\n  );\n  React.useEffect(() => {\n    let raf = 0;\n    let last = performance.now();\n    const tick = (now: number) => {\n      const dt = Math.min(0.05, (now - last) / 1000);\n      last = now;\n      let moving = false;\n      const next = target.map((t, i) => {\n        const v = weightRef.current[i] ?? t;\n        if (reduce) return t;\n        const eased = v + (t - v) * (1 - Math.exp(-dt * 10));\n        if (Math.abs(eased - t) <= 0.002) return t;\n        moving = true;\n        return eased;\n      });\n      weightRef.current = next;\n      setWeights(next);\n      if (moving) raf = requestAnimationFrame(tick);\n    };\n    raf = requestAnimationFrame(tick);\n    return () => cancelAnimationFrame(raf);\n  }, [target, reduce]);\n\n  const plotW = Math.max(0, width - M.left - M.right);\n  const plotH = height;\n  const n = data.length;\n  const xAt = (i: number) =>\n    M.left + (n > 1 ? (i / (n - 1)) * plotW : plotW / 2);\n\n  // Cumulative tops per series at every point (weighted, and normalised in percent mode).\n  const stacks = React.useMemo(() => {\n    return data.map((d) => {\n      const vals = series.map(\n        (_, s) => Math.max(0, d.values[s] ?? 0) * (weights[s] ?? 1),\n      );\n      const total = vals.reduce((a, b) => a + b, 0);\n      let acc = 0;\n      return vals.map((v) => {\n        const lo = acc;\n        acc += mode === \"percent\" ? (total ? (v / total) * 100 : 0) : v;\n        return [lo, acc] as [number, number];\n      });\n    });\n  }, [data, series, weights, mode]);\n  const peak = Math.max(\n    1,\n    ...stacks.map((s) => (s.length ? s[s.length - 1][1] : 0)),\n  );\n  const scale = mode === \"percent\" ? { max: 100, step: 25 } : niceScale(peak);\n  const yAt = (v: number) => M.top + plotH - (v / scale.max) * plotH;\n  const ticks = Array.from(\n    { length: Math.round(scale.max / scale.step) + 1 },\n    (_, i) => i * scale.step,\n  );\n  const fmt = (v: number) =>\n    mode === \"percent\" ? `${Math.round(v)}%` : formatValue(v);\n\n  const areas = series.map((_, s) => {\n    const top = data.map(\n      (_, i) => [xAt(i), yAt(stacks[i][s][1])] as [number, number],\n    );\n    const bottom = data\n      .map((_, i) => [xAt(i), yAt(stacks[i][s][0])] as [number, number])\n      .reverse();\n    const upper = linePath(top, curved);\n    const lower = linePath(bottom, curved).replace(/^M/, \"L\");\n    return { fill: `${upper}${lower}Z`, line: upper };\n  });\n\n  // X labels: drop some when they'd collide.\n  const every = Math.max(1, Math.ceil((n * 34) / Math.max(1, plotW)));\n\n  const pick = (clientX: number) => {\n    const r = plotRef.current?.getBoundingClientRect();\n    if (!r || n === 0) return;\n    const x = clientX - r.left - M.left;\n    setActive(\n      Math.max(\n        0,\n        Math.min(n - 1, Math.round((x / Math.max(1, plotW)) * (n - 1))),\n      ),\n    );\n  };\n  const onKey = (event: React.KeyboardEvent) => {\n    if (n === 0) return;\n    const keys: Record<string, number> = { ArrowRight: 1, ArrowLeft: -1 };\n    if (event.key in keys) {\n      event.preventDefault();\n      setActive((a) =>\n        Math.max(\n          0,\n          Math.min(\n            n - 1,\n            (a ?? (keys[event.key] > 0 ? -1 : n)) + keys[event.key],\n          ),\n        ),\n      );\n    } else if (event.key === \"Home\") setActive(0);\n    else if (event.key === \"End\") setActive(n - 1);\n    else if (event.key === \"Escape\") setActive(null);\n  };\n\n  const activeTotal =\n    active === null\n      ? 0\n      : series.reduce(\n          (sum, _, s) => sum + (hidden[s] ? 0 : (data[active].values[s] ?? 0)),\n          0,\n        );\n  const latest = data.length\n    ? series.reduce(\n        (sum, _, s) => sum + (hidden[s] ? 0 : (data[n - 1].values[s] ?? 0)),\n        0,\n      )\n    : 0;\n  const first = data.length\n    ? series.reduce(\n        (sum, _, s) => sum + (hidden[s] ? 0 : (data[0].values[s] ?? 0)),\n        0,\n      )\n    : 0;\n  const change = first ? ((latest - first) / first) * 100 : 0;\n  const tipLeft = active === null ? 0 : xAt(active);\n  const tipFlip = tipLeft > width - 200;\n  const summary = `${title}. ${series.map((s, i) => `${s.label}: ${formatValue(data[0]?.values[i] ?? 0)} in ${data[0]?.label} to ${formatValue(data[n - 1]?.values[i] ?? 0)} in ${data[n - 1]?.label}`).join(\"; \")}.`;\n\n  return (\n    <div\n      className={cn(\n        \"w-full overflow-hidden rounded-[20px] p-5 sm:p-7\",\n        className,\n      )}\n      style={{\n        background: pal.card,\n        border: `1px solid ${pal.border}`,\n        color: pal.text,\n        fontFamily: \"Inter, -apple-system, BlinkMacSystemFont, sans-serif\",\n        ...style,\n      }}\n      {...props}\n    >\n      <div className=\"flex flex-wrap items-start justify-between gap-4\">\n        <div className=\"min-w-0\">\n          <p className=\"text-[15px] font-semibold tracking-[-0.01em]\">\n            {title}\n          </p>\n          {subtitle && (\n            <p className=\"mt-1 text-[12.5px]\" style={{ color: pal.sub }}>\n              {subtitle}\n            </p>\n          )}\n        </div>\n        <div className=\"flex items-center gap-4\">\n          <div className=\"text-right\">\n            <p className=\"text-[22px] leading-none font-semibold tracking-[-0.02em] tabular-nums\">\n              {formatValue(latest)}\n            </p>\n            <p\n              className=\"mt-1 text-[11.5px] tabular-nums\"\n              style={{\n                color:\n                  change >= 0\n                    ? theme === \"dark\"\n                      ? \"#87FFE3\"\n                      : \"#0E9F80\"\n                    : theme === \"dark\"\n                      ? \"#FF7A6B\"\n                      : \"#E5484D\",\n              }}\n            >\n              {change >= 0 ? \"▲\" : \"▼\"} {Math.abs(change).toFixed(1)}% since{\" \"}\n              {data[0]?.label}\n            </p>\n          </div>\n          {showModeSwitch && (\n            <div\n              role=\"radiogroup\"\n              aria-label=\"Scale\"\n              className=\"flex rounded-full p-0.5 text-[11.5px] font-medium\"\n              style={{ background: pal.chip }}\n            >\n              {([\"stacked\", \"percent\"] as const).map((m) => (\n                <button\n                  key={m}\n                  type=\"button\"\n                  role=\"radio\"\n                  aria-checked={mode === m}\n                  onClick={() => setMode(m)}\n                  className=\"cursor-pointer rounded-full px-2.5 py-1 transition-colors\"\n                  style={{\n                    background: mode === m ? pal.card : \"transparent\",\n                    color: mode === m ? pal.text : pal.sub,\n                    boxShadow: mode === m ? \"0 1px 2px rgba(0,0,0,.2)\" : \"none\",\n                  }}\n                >\n                  {m === \"stacked\" ? \"Total\" : \"Share\"}\n                </button>\n              ))}\n            </div>\n          )}\n        </div>\n      </div>\n\n      <div className=\"mt-4 flex flex-wrap gap-x-4 gap-y-2\">\n        {series.map((s, i) => (\n          <button\n            key={s.label}\n            type=\"button\"\n            aria-pressed={!hidden[i]}\n            onClick={() =>\n              setHidden((h) =>\n                h.filter((x) => !x).length === 1 && !h[i]\n                  ? h\n                  : h.map((x, j) => (j === i ? !x : x)),\n              )\n            }\n            onMouseEnter={() => setFocusSeries(i)}\n            onMouseLeave={() => setFocusSeries(null)}\n            onFocus={() => setFocusSeries(i)}\n            onBlur={() => setFocusSeries(null)}\n            className=\"flex cursor-pointer items-center gap-1.5 text-[12px] font-medium transition-opacity\"\n            style={{ opacity: hidden[i] ? 0.4 : 1 }}\n          >\n            <span\n              className=\"size-2.5 rounded-[3px]\"\n              style={{\n                background: hidden[i] ? \"transparent\" : colors[i],\n                boxShadow: `inset 0 0 0 1.5px ${colors[i]}`,\n              }}\n            />\n            {s.label}\n          </button>\n        ))}\n      </div>\n\n      <div\n        ref={plotRef}\n        role=\"img\"\n        aria-label={summary}\n        tabIndex={0}\n        onKeyDown={onKey}\n        onPointerMove={(e) => pick(e.clientX)}\n        onPointerDown={(e) => pick(e.clientX)}\n        onPointerLeave={(e) => e.pointerType === \"mouse\" && setActive(null)}\n        onBlur={() => setActive(null)}\n        className=\"relative mt-4 w-full rounded-lg outline-none focus-visible:ring-2\"\n        style={{ height: plotH + M.top + M.bottom }}\n      >\n        {width > 0 && (\n          <svg\n            width={width}\n            height={plotH + M.top + M.bottom}\n            className=\"block overflow-visible\"\n            aria-hidden=\"true\"\n          >\n            <defs>\n              <clipPath id={`${id}-clip`}>\n                <rect\n                  x={M.left}\n                  y={0}\n                  width={plotW * reveal}\n                  height={plotH + M.top + 1}\n                />\n              </clipPath>\n              {colors.map((c, i) => (\n                <linearGradient\n                  key={i}\n                  id={`${id}-g${i}`}\n                  x1=\"0\"\n                  y1=\"0\"\n                  x2=\"0\"\n                  y2=\"1\"\n                >\n                  <stop\n                    offset=\"0%\"\n                    stopColor={c}\n                    stopOpacity={theme === \"dark\" ? 0.55 : 0.45}\n                  />\n                  <stop\n                    offset=\"100%\"\n                    stopColor={c}\n                    stopOpacity={theme === \"dark\" ? 0.18 : 0.14}\n                  />\n                </linearGradient>\n              ))}\n            </defs>\n            {ticks.map((t) => (\n              <g key={t}>\n                <line\n                  x1={M.left}\n                  x2={M.left + plotW}\n                  y1={yAt(t)}\n                  y2={yAt(t)}\n                  stroke={pal.grid}\n                  strokeDasharray={t === 0 ? undefined : \"3 4\"}\n                />\n                <text\n                  x={M.left - 10}\n                  y={yAt(t) + 4}\n                  textAnchor=\"end\"\n                  fontSize={11}\n                  fill={pal.axis}\n                  className=\"tabular-nums\"\n                >\n                  {fmt(t)}\n                </text>\n              </g>\n            ))}\n            {data.map((d, i) =>\n              i % every === 0 || i === n - 1 ? (\n                <text\n                  key={d.label}\n                  x={xAt(i)}\n                  y={M.top + plotH + 20}\n                  textAnchor={\n                    i === 0 ? \"start\" : i === n - 1 ? \"end\" : \"middle\"\n                  }\n                  fontSize={11}\n                  fill={pal.axis}\n                >\n                  {d.label}\n                </text>\n              ) : null,\n            )}\n            <g clipPath={`url(#${id}-clip)`}>\n              {areas.map((a, s) => (\n                <g\n                  key={s}\n                  style={{\n                    opacity:\n                      focusSeries === null || focusSeries === s ? 1 : 0.25,\n                    transition: \"opacity 200ms\",\n                  }}\n                >\n                  <path d={a.fill} fill={`url(#${id}-g${s})`} />\n                  <path\n                    d={a.line}\n                    fill=\"none\"\n                    stroke={colors[s]}\n                    strokeWidth={1.6}\n                    strokeOpacity={weights[s] ?? 1}\n                  />\n                </g>\n              ))}\n            </g>\n            {active !== null && (\n              <g>\n                <line\n                  x1={xAt(active)}\n                  x2={xAt(active)}\n                  y1={M.top}\n                  y2={M.top + plotH}\n                  stroke={pal.axis}\n                  strokeDasharray=\"2 3\"\n                />\n                {series.map((_, s) =>\n                  hidden[s] ? null : (\n                    <circle\n                      key={s}\n                      cx={xAt(active)}\n                      cy={yAt(stacks[active][s][1])}\n                      r={3.5}\n                      fill={pal.card}\n                      stroke={colors[s]}\n                      strokeWidth={2}\n                    />\n                  ),\n                )}\n              </g>\n            )}\n          </svg>\n        )}\n        {active !== null && width > 0 && (\n          <div\n            className=\"pointer-events-none absolute top-2 z-10 min-w-[170px] rounded-xl px-3 py-2.5 text-[12px] shadow-xl\"\n            style={{\n              left: tipFlip ? undefined : tipLeft + 14,\n              right: tipFlip ? width - tipLeft + 14 : undefined,\n              background: pal.tip,\n              border: `1px solid ${pal.tipBorder}`,\n              backdropFilter: \"blur(8px)\",\n            }}\n          >\n            <p className=\"mb-1.5 font-semibold\">{data[active].label}</p>\n            {series\n              .map((s, i) => ({ s, i }))\n              .reverse()\n              .map(({ s, i }) =>\n                hidden[i] ? null : (\n                  <div\n                    key={s.label}\n                    className=\"mt-1 flex items-center justify-between gap-4\"\n                  >\n                    <span\n                      className=\"flex items-center gap-1.5\"\n                      style={{ color: pal.sub }}\n                    >\n                      <span\n                        className=\"size-2 rounded-full\"\n                        style={{ background: colors[i] }}\n                      />\n                      {s.label}\n                    </span>\n                    <span className=\"font-semibold tabular-nums\">\n                      {mode === \"percent\"\n                        ? `${activeTotal ? Math.round(((data[active].values[i] ?? 0) / activeTotal) * 100) : 0}%`\n                        : formatValue(data[active].values[i] ?? 0)}\n                    </span>\n                  </div>\n                ),\n              )}\n            <div\n              className=\"mt-2 flex justify-between border-t pt-1.5\"\n              style={{ borderColor: pal.tipBorder }}\n            >\n              <span style={{ color: pal.sub }}>Total</span>\n              <span className=\"font-semibold tabular-nums\">\n                {formatValue(activeTotal)}\n              </span>\n            </div>\n          </div>\n        )}\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}