{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "line-chart",
  "title": "Line Chart",
  "description": "A multi-series line/area chart, smooth Catmull-Rom curves, a highlighted zone band, a reference line, endpoint value badges, and a hover crosshair with per-series tooltips.",
  "dependencies": [
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/new-york/line-chart/line-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 LineChartLineStyle = \"solid\" | \"dashed\" | \"dotted\";\nexport type LineChartTheme = \"light\" | \"dark\";\n\nexport interface LineChartSeries {\n  visible?: boolean;\n  label: string;\n  color: string;\n  style?: LineChartLineStyle;\n  area?: boolean;\n  showBadge?: boolean;\n}\n\nexport interface LineChartDataPoint {\n  x: string;\n  date: string;\n  v1: number;\n  v2: number;\n  v3: number;\n  v4: number;\n}\n\nexport interface LineChartZone {\n  visible?: boolean;\n  label: string;\n  startIndex: number;\n  endIndex: number;\n}\n\nexport interface LineChartReferenceLine {\n  visible?: boolean;\n  value: number;\n  label: string;\n}\n\nexport interface LineChartStartLabel {\n  visible?: boolean;\n  text: string;\n}\n\nexport interface LineChartProps {\n  theme?: LineChartTheme;\n  title?: string;\n  subtitle?: string;\n  chartHeight?: number;\n  showLegend?: boolean;\n  yMin?: number;\n  yMax?: number;\n  yStep?: number;\n  series1?: LineChartSeries;\n  series2?: LineChartSeries;\n  series3?: LineChartSeries;\n  series4?: LineChartSeries;\n  dataPoints?: LineChartDataPoint[];\n  zone?: LineChartZone;\n  referenceLine?: LineChartReferenceLine;\n  startLabel?: LineChartStartLabel;\n  markerIndices?: number[];\n  enableHover?: boolean;\n  className?: string;\n}\n\ninterface Pt {\n  x: number;\n  y: number;\n}\n\nconst VB_W = 1200;\nconst VB_H = 560;\nconst PAD_LEFT = 72;\nconst PAD_RIGHT = 190;\nconst PAD_TOP = 26;\nconst PAD_BOTTOM = 58;\n\nfunction readableTextOn(hex: string): string {\n  const h = hex.replace(\"#\", \"\");\n  const full = h.length === 3 ? h.split(\"\").map((c) => c + c).join(\"\") : h;\n  const r = parseInt(full.slice(0, 2), 16);\n  const g = parseInt(full.slice(2, 4), 16);\n  const b = parseInt(full.slice(4, 6), 16);\n  return 0.299 * r + 0.587 * g + 0.114 * b > 150 ? \"#0A0A0A\" : \"#FFFFFF\";\n}\n\nfunction clamp(n: number, min: number, max: number) {\n  return Math.min(max, Math.max(min, n));\n}\n\nfunction buildTicks(yMin: number, yMax: number, step: number): number[] {\n  const ticks: number[] = [];\n  let v = Math.ceil(yMin / step) * step;\n  for (; v <= yMax; v += step) ticks.push(v);\n  return ticks;\n}\n\nfunction makeGeometry(count: number, plotTop: number, yMin: number, yMax: number) {\n  const plotLeft = PAD_LEFT;\n  const plotRight = VB_W - PAD_RIGHT;\n  const plotBottom = VB_H - PAD_BOTTOM;\n  const plotWidth = plotRight - plotLeft;\n  const plotHeight = plotBottom - plotTop;\n  const xAt = (i: number) => plotLeft + (count > 1 ? (i / (count - 1)) * plotWidth : plotWidth / 2);\n  const yAt = (v: number) => plotBottom - clamp((v - yMin) / (yMax - yMin), 0, 1) * plotHeight;\n  return { plotLeft, plotRight, plotTop, plotBottom, plotWidth, plotHeight, xAt, yAt };\n}\n\nfunction dashArray(style?: LineChartLineStyle): string | undefined {\n  if (style === \"dashed\") return \"10 7\";\n  if (style === \"dotted\") return \"1.5 7\";\n  return undefined;\n}\n\nfunction smoothLinePath(pts: Pt[]): string {\n  if (pts.length < 2) return \"\";\n  if (pts.length === 2) return `M ${pts[0].x} ${pts[0].y} L ${pts[1].x} ${pts[1].y}`;\n\n  let d = `M ${pts[0].x} ${pts[0].y} `;\n  for (let i = 0; i < pts.length - 1; i++) {\n    const p0 = pts[i - 1] ?? pts[i];\n    const p1 = pts[i];\n    const p2 = pts[i + 1];\n    const p3 = pts[i + 2] ?? p2;\n    const c1x = p1.x + (p2.x - p0.x) / 6;\n    const c1y = p1.y + (p2.y - p0.y) / 6;\n    const c2x = p2.x - (p3.x - p1.x) / 6;\n    const c2y = p2.y - (p3.y - p1.y) / 6;\n    d += `C ${c1x} ${c1y}, ${c2x} ${c2y}, ${p2.x} ${p2.y} `;\n  }\n  return d;\n}\n\nfunction smoothAreaPath(pts: Pt[], baseY: number): string {\n  const line = smoothLinePath(pts);\n  if (!line) return \"\";\n  const last = pts[pts.length - 1];\n  const first = pts[0];\n  return `${line} L ${last.x} ${baseY} L ${first.x} ${baseY} Z`;\n}\n\nconst DARK_SERIES1: Required<LineChartSeries> = {\n  visible: true,\n  label: \"Expansion ARR\",\n  color: \"#F5F4F1\",\n  style: \"solid\",\n  area: true,\n  showBadge: true,\n};\nconst DARK_SERIES2: Required<LineChartSeries> = {\n  visible: true,\n  label: \"Activation rate\",\n  color: \"#87FFE3\",\n  style: \"solid\",\n  area: false,\n  showBadge: true,\n};\nconst DARK_SERIES3: Required<LineChartSeries> = {\n  visible: true,\n  label: \"Week 8 retention\",\n  color: \"#F2A841\",\n  style: \"dashed\",\n  area: false,\n  showBadge: true,\n};\nconst DARK_SERIES4: Required<LineChartSeries> = {\n  visible: true,\n  label: \"Support risk\",\n  color: \"#FF7A6B\",\n  style: \"dotted\",\n  area: false,\n  showBadge: true,\n};\nconst LIGHT_SERIES1: Required<LineChartSeries> = { ...DARK_SERIES1, color: \"#0A0A0A\" };\nconst LIGHT_SERIES2: Required<LineChartSeries> = { ...DARK_SERIES2, color: \"#0E9F80\" };\nconst LIGHT_SERIES3: Required<LineChartSeries> = { ...DARK_SERIES3, color: \"#D9822B\" };\nconst LIGHT_SERIES4: Required<LineChartSeries> = { ...DARK_SERIES4, color: \"#E5484D\" };\nconst DEFAULT_DATA: LineChartDataPoint[] = [\n  { x: \"2024\", date: \"Monday, Jan 1, 2024\", v1: 100, v2: 100, v3: 100, v4: 100 },\n  { x: \"Mar 2024\", date: \"Friday, Mar 1, 2024\", v1: 108, v2: 112, v3: 92, v4: 80 },\n  { x: \"May 2024\", date: \"Wednesday, May 1, 2024\", v1: 120, v2: 120, v3: 98, v4: 78 },\n  { x: \"Jul 2024\", date: \"Monday, Jul 1, 2024\", v1: 135, v2: 135, v3: 104, v4: 113 },\n  { x: \"Sep 2024\", date: \"Sunday, Sep 1, 2024\", v1: 150, v2: 145, v3: 108, v4: 95 },\n  { x: \"Nov 2024\", date: \"Friday, Nov 1, 2024\", v1: 205, v2: 170, v3: 118, v4: 88 },\n  { x: \"2025\", date: \"Wednesday, Jan 1, 2025\", v1: 230, v2: 185, v3: 128, v4: 98 },\n  { x: \"Mar 2025\", date: \"Saturday, Mar 1, 2025\", v1: 268, v2: 205, v3: 140, v4: 128 },\n  { x: \"May 2025\", date: \"Thursday, May 1, 2025\", v1: 318, v2: 226, v3: 146, v4: 92 },\n];\n\nconst DEFAULT_ZONE: Required<LineChartZone> = { visible: true, label: \"Scale zone\", startIndex: 3, endIndex: 6 };\nconst DEFAULT_REF_LINE: Required<LineChartReferenceLine> = { visible: true, value: 100, label: \"Risk floor\" };\nconst DEFAULT_START_LABEL: Required<LineChartStartLabel> = { visible: true, text: \"Beta baseline\" };\nconst DEFAULT_MARKER_INDICES = [3, 5, 7];\n\nexport function LineChart({\n  theme = \"dark\",\n  title = \"Release-room health index\",\n  subtitle = \"\",\n  chartHeight = 420,\n  showLegend = true,\n  yMin = 50,\n  yMax = 350,\n  yStep = 50,\n  series1 = theme === \"light\" ? LIGHT_SERIES1 : DARK_SERIES1,\n  series2 = theme === \"light\" ? LIGHT_SERIES2 : DARK_SERIES2,\n  series3 = theme === \"light\" ? LIGHT_SERIES3 : DARK_SERIES3,\n  series4 = theme === \"light\" ? LIGHT_SERIES4 : DARK_SERIES4,\n  dataPoints = DEFAULT_DATA,\n  zone = DEFAULT_ZONE,\n  referenceLine = DEFAULT_REF_LINE,\n  startLabel = DEFAULT_START_LABEL,\n  markerIndices = DEFAULT_MARKER_INDICES,\n  enableHover = true,\n  className,\n}: LineChartProps) {\n  const isDark = theme === \"dark\";\n  const containerRef = React.useRef<HTMLDivElement>(null);\n  const [hoverIndex, setHoverIndex] = React.useState<number | null>(null);\n  const [containerWidth, setContainerWidth] = React.useState(0);\n\n  React.useEffect(() => {\n    const el = containerRef.current;\n    if (!el) return;\n    const ro = new ResizeObserver(([entry]) => setContainerWidth(entry.contentRect.width));\n    ro.observe(el);\n    return () => ro.disconnect();\n  }, []);\n\n  // preserveAspectRatio=\"none\" stretches the SVG to fill its box; on a narrow\n  // container that non-uniform scaling squishes axis text near-illegibly, so\n  // below the viewBox's natural aspect ratio we shrink the box to match it.\n  const effectiveHeight = containerWidth > 0 ? Math.min(chartHeight, containerWidth * (VB_H / VB_W)) : chartHeight;\n\n  // Keep axis labels a readable ~13px on screen regardless of how far the viewBox is scaled down.\n  const viewScale = containerWidth > 0 ? Math.min(containerWidth / VB_W, effectiveHeight / VB_H) : 0.5;\n  const axisFontSize = Math.min(26, Math.max(12, 13 / viewScale));\n\n  const palette = {\n    cardBg: isDark ? \"#0E0E0E\" : \"#ffffff\",\n    cardBorder: isDark ? \"rgba(255,255,255,0.08)\" : \"rgba(0,0,0,0.06)\",\n    textPrimary: isDark ? \"#f4f5f7\" : \"#111317\",\n    textSub: isDark ? \"rgba(255,255,255,0.55)\" : \"rgba(17,19,23,0.55)\",\n    gridLine: isDark ? \"rgba(255,255,255,0.07)\" : \"rgba(17,19,23,0.08)\",\n    axisText: isDark ? \"rgba(255,255,255,0.7)\" : \"rgba(17,19,23,0.7)\",\n    zoneFill: isDark ? \"rgba(255,255,255,0.04)\" : \"rgba(17,19,23,0.04)\",\n    refLine: isDark ? \"rgba(255,255,255,0.35)\" : \"rgba(17,19,23,0.3)\",\n    hoverLine: isDark ? \"rgba(255,255,255,0.55)\" : \"rgba(17,19,23,0.45)\",\n    badgeBg: isDark ? \"rgba(28,30,38,0.85)\" : \"rgba(255,255,255,0.92)\",\n    badgeBorder: isDark ? \"rgba(255,255,255,0.12)\" : \"rgba(0,0,0,0.08)\",\n    tooltipBg: isDark ? \"rgba(22,23,29,0.95)\" : \"rgba(255,255,255,0.97)\",\n    tooltipText: isDark ? \"#f4f5f7\" : \"#111317\",\n  };\n\n  const headerHeight = (title ? 30 : 0) + (subtitle ? 22 : 0);\n\n  const series = [series1, series2, series3, series4];\n  const valueKeys: Array<keyof LineChartDataPoint> = [\"v1\", \"v2\", \"v3\", \"v4\"];\n  const n = dataPoints.length;\n  const plotTopY = PAD_TOP + (showLegend ? 34 : 0) + headerHeight;\n  const geo = makeGeometry(n, plotTopY, yMin, yMax);\n  const { plotLeft, plotRight, plotTop, plotBottom, plotWidth, plotHeight, xAt, yAt } = geo;\n\n  const yTicks = React.useMemo(() => buildTicks(yMin, yMax, yStep), [yMin, yMax, yStep]);\n\n  const seriesPoints = React.useMemo(() => {\n    return valueKeys.map((key) => dataPoints.map((d, i) => ({ x: xAt(i), y: yAt(d[key] as number) })));\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [dataPoints, n, plotLeft, plotRight, plotTop, plotBottom, yMin, yMax]);\n\n  const markerIdxList = React.useMemo(() => markerIndices.filter((i) => i >= 0 && i < n), [markerIndices, n]);\n\n  const badges = React.useMemo(() => {\n    const items = series\n      .map((s, i) => ({ s, i, value: dataPoints[n - 1]?.[valueKeys[i]] as number, y: yAt(dataPoints[n - 1]?.[valueKeys[i]] as number) }))\n      .filter((b) => b.s.visible && b.s.showBadge)\n      .sort((a, b) => a.y - b.y);\n\n    const minGap = 30;\n    for (let i = 1; i < items.length; i++) {\n      if (items[i].y - items[i - 1].y < minGap) items[i].y = items[i - 1].y + minGap;\n    }\n    return items;\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [series1, series2, series3, series4, dataPoints, n, yMin, yMax]);\n\n  const hoverBadges = React.useMemo(() => {\n    if (hoverIndex === null) return [];\n    const items = series\n      .map((s, i) => ({ s, i, value: dataPoints[hoverIndex]?.[valueKeys[i]] as number, y: yAt(dataPoints[hoverIndex]?.[valueKeys[i]] as number) }))\n      .filter((b) => b.s.visible)\n      .sort((a, b) => a.y - b.y);\n\n    const minGap = 22;\n    for (let i = 1; i < items.length; i++) {\n      if (items[i].y - items[i - 1].y < minGap) items[i].y = items[i - 1].y + minGap;\n    }\n    return items;\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [series1, series2, series3, series4, dataPoints, hoverIndex, yMin, yMax]);\n\n  const gradientId = React.useId().replace(/[^a-zA-Z0-9]/g, \"\");\n  const gradientIds = series.map((_, i) => `lc-grad-${gradientId}-${i}`);\n\n  const handleMove = (e: React.MouseEvent<HTMLDivElement>) => {\n    if (!enableHover || !containerRef.current) return;\n    const rect = containerRef.current.getBoundingClientRect();\n    const relX = clamp((e.clientX - rect.left) / rect.width, 0, 1);\n    const svgX = relX * VB_W;\n    if (svgX < plotLeft || svgX > plotRight) {\n      setHoverIndex(null);\n      return;\n    }\n    const idx = Math.round(((svgX - plotLeft) / plotWidth) * (n - 1));\n    setHoverIndex(clamp(idx, 0, n - 1));\n  };\n\n  const handleLeave = () => setHoverIndex(null);\n\n  return (\n    <div\n      className={cn(\"box-border flex w-full flex-col gap-1 overflow-hidden rounded-[20px]\", className)}\n      style={{ backgroundColor: palette.cardBg, border: `1px solid ${palette.cardBorder}`, padding: \"28px 32px\", fontFamily: \"Inter, -apple-system, BlinkMacSystemFont, sans-serif\" }}\n    >\n      {title && <div className=\"text-center text-[17px] font-bold\" style={{ color: palette.textPrimary }}>{title}</div>}\n      {subtitle && (\n        <div className=\"mx-auto mt-0.5 max-w-[760px] text-center text-[12.5px] leading-[1.5]\" style={{ color: palette.textSub }}>\n          {subtitle}\n        </div>\n      )}\n\n      {showLegend && (\n        <div className=\"mt-3.5 flex flex-wrap justify-center gap-[22px]\">\n          {series.map(\n            (s, i) =>\n              s.visible && (\n                <div key={i} className=\"flex items-center gap-1.5\">\n                  <span className=\"inline-block h-[9px] w-[9px] rounded-[3px]\" style={{ backgroundColor: s.color }} />\n                  <span className=\"text-[12.5px] font-semibold\" style={{ color: palette.textPrimary }}>\n                    {s.label}\n                  </span>\n                </div>\n              ),\n          )}\n        </div>\n      )}\n\n      <div ref={containerRef} onMouseMove={handleMove} onMouseLeave={handleLeave} className=\"relative mt-3 w-full\" style={{ height: effectiveHeight }}>\n        <svg width=\"100%\" height=\"100%\" viewBox={`0 0 ${VB_W} ${VB_H}`} preserveAspectRatio=\"none\" className=\"block overflow-visible\">\n          <defs>\n            {series.map((s, i) => (\n              <linearGradient key={gradientIds[i]} id={gradientIds[i]} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n                <stop offset=\"0%\" stopColor={s.color} stopOpacity={isDark ? 0.38 : 0.28} />\n                <stop offset=\"100%\" stopColor={s.color} stopOpacity={0} />\n              </linearGradient>\n            ))}\n          </defs>\n\n          {zone.visible && (\n            <>\n              <rect\n                x={xAt(clamp(zone.startIndex, 0, n - 1))}\n                y={plotTop}\n                width={xAt(clamp(zone.endIndex, 0, n - 1)) - xAt(clamp(zone.startIndex, 0, n - 1))}\n                height={plotHeight}\n                fill={palette.zoneFill}\n              />\n              <text x={(xAt(clamp(zone.startIndex, 0, n - 1)) + xAt(clamp(zone.endIndex, 0, n - 1))) / 2} y={plotTop + axisFontSize + 6} textAnchor=\"middle\" fontSize={axisFontSize} fill={palette.axisText}>\n                {zone.label}\n              </text>\n            </>\n          )}\n\n          {yTicks.map((v) => (\n            <g key={v}>\n              <line x1={plotLeft} x2={plotRight} y1={yAt(v)} y2={yAt(v)} stroke={palette.gridLine} strokeWidth={1} />\n              <text x={plotLeft - 14} y={yAt(v) + axisFontSize * 0.35} textAnchor=\"end\" fontSize={axisFontSize} fill={palette.axisText}>\n                {v}\n              </text>\n            </g>\n          ))}\n\n          {dataPoints.map((d, i) => (\n            <text key={i} x={xAt(i)} y={plotBottom + 12 + axisFontSize} textAnchor=\"middle\" fontSize={axisFontSize} fill={palette.axisText}>\n              {d.x}\n            </text>\n          ))}\n\n          {referenceLine.visible && (\n            <>\n              <line x1={plotLeft} x2={plotRight} y1={yAt(referenceLine.value)} y2={yAt(referenceLine.value)} stroke={palette.refLine} strokeWidth={1.3} strokeDasharray=\"6 5\" />\n              <text x={plotLeft + plotWidth * 0.5} y={yAt(referenceLine.value) + axisFontSize + 4} textAnchor=\"middle\" fontSize={axisFontSize} fill={palette.axisText}>\n                {referenceLine.label}\n              </text>\n            </>\n          )}\n\n          {startLabel.visible && (\n            <text x={plotLeft + 4} y={yAt(dataPoints[0]?.v1 ?? yMin) - 10} fontSize={axisFontSize} fill={palette.axisText}>\n              {startLabel.text}\n            </text>\n          )}\n\n          {series.map((s, i) => s.visible && s.area && <path key={`area-${i}`} d={smoothAreaPath(seriesPoints[i], plotBottom)} fill={`url(#${gradientIds[i]})`} stroke=\"none\" />)}\n\n          {series.map(\n            (s, i) =>\n              s.visible && (\n                <path key={`line-${i}`} d={smoothLinePath(seriesPoints[i])} fill=\"none\" stroke={s.color} strokeWidth={2.2} strokeDasharray={dashArray(s.style)} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n              ),\n          )}\n\n          {series[0].visible &&\n            markerIdxList.map((i) => (\n              <g key={`mk-${i}`}>\n                <circle cx={xAt(i)} cy={yAt(dataPoints[i].v1)} r={6} fill={palette.cardBg} stroke={series[0].color} strokeWidth={2} />\n                <circle cx={xAt(i)} cy={yAt(dataPoints[i].v1)} r={2} fill={series[0].color} />\n              </g>\n            ))}\n\n          {enableHover && hoverIndex !== null && (\n            <line x1={xAt(hoverIndex)} x2={xAt(hoverIndex)} y1={plotTop} y2={plotBottom} stroke={palette.hoverLine} strokeWidth={1.3} strokeDasharray=\"5 5\" />\n          )}\n        </svg>\n\n        {badges.map((b) => (\n          <div\n            key={`badge-${b.i}`}\n            className=\"absolute flex items-center gap-1.5 overflow-hidden rounded-full py-1 pr-2.5 pl-2 backdrop-blur-[6px]\"\n            style={{\n              left: `${(xAt(n - 1) / VB_W) * 100}%`,\n              top: `${(b.y / VB_H) * 100}%`,\n              // Reserve room out to the container's own right edge (not just PAD_RIGHT's\n              // viewBox share) so a narrower render still ellipsizes gracefully via the\n              // inner span's `truncate` instead of getting a hard mid-glyph clip from the\n              // card's overflow-hidden.\n              maxWidth: `calc(${100 - (xAt(n - 1) / VB_W) * 100}% - 8px)`,\n              transform: \"translate(8px, -50%)\",\n              backgroundColor: palette.badgeBg,\n              border: `1px solid ${b.s.color}55`,\n              boxShadow: isDark ? `0 0 14px ${b.s.color}33` : `0 2px 8px rgba(0,0,0,0.08)`,\n            }}\n          >\n            <span className=\"inline-block h-[7px] w-[7px] shrink-0 rounded-full\" style={{ backgroundColor: b.s.color }} />\n            <span className=\"truncate text-[11.5px] font-bold whitespace-nowrap\" style={{ color: palette.textPrimary }}>\n              {b.s.label} {Math.round(b.value)}\n            </span>\n          </div>\n        ))}\n\n        {enableHover &&\n          hoverIndex !== null &&\n          hoverBadges.map((b) => (\n            <div\n              key={`hb-${b.i}`}\n              className=\"absolute rounded-[5px] px-[7px] py-0.5 text-[11px] font-bold whitespace-nowrap\"\n              style={{ left: `${(plotLeft / VB_W) * 100}%`, top: `${(b.y / VB_H) * 100}%`, transform: \"translate(-100%, -50%)\", backgroundColor: b.s.color, color: readableTextOn(b.s.color) }}\n            >\n              {Math.round(b.value)}\n            </div>\n          ))}\n\n        {enableHover && hoverIndex !== null && (\n          <div\n            className=\"pointer-events-none absolute rounded-[7px] px-[11px] py-[5px] text-[11.5px] font-semibold whitespace-nowrap\"\n            style={{\n              left: `${(xAt(hoverIndex) / VB_W) * 100}%`,\n              top: `${(plotBottom / VB_H) * 100}%`,\n              transform: \"translate(-50%, 6px)\",\n              backgroundColor: palette.tooltipBg,\n              border: `1px solid ${palette.badgeBorder}`,\n              color: palette.tooltipText,\n              boxShadow: isDark ? \"0 8px 24px rgba(0,0,0,0.4)\" : \"0 4px 16px rgba(0,0,0,0.1)\",\n            }}\n          >\n            {dataPoints[hoverIndex].date}\n          </div>\n        )}\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}