{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "google-ai-overview",
  "title": "Google AI Overview",
  "description": "A full recreation of Google's AI Overview built from the AI Overview components on shadcn Base UI.",
  "dependencies": [
    "cn",
    "sonner"
  ],
  "registryDependencies": [
    "avatar",
    "badge",
    "button",
    "collapsible",
    "hover-card",
    "separator",
    "skeleton",
    "sonner"
  ],
  "files": [
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview.tsx",
      "content": "\"use client\";\n\nimport { cn } from \"cn\";\n\nimport { Collapsible, CollapsibleTrigger } from \"@/components/ui/collapsible\";\n\nimport type { AIOverviewProps } from \"../types/google-ai-overview\";\nimport { AIOverviewChevronIcon } from \"./ai-overview-icons\";\n\nexport const AIOverview = ({\n  children,\n  className,\n  collapsible = true,\n  open,\n  render = <section />,\n  showMoreLabel = \"Show more\",\n  ...props\n}: AIOverviewProps) => (\n  <Collapsible\n    className={cn(\n      \"group/ai-overview bg-aio-bg font-aio text-aio-fg relative text-base leading-6 font-normal antialiased\",\n      collapsible &&\n        \"data-closed:max-h-[var(--aio-collapsed-height,36.4375rem)] data-closed:overflow-y-clip\",\n      className\n    )}\n    data-slot=\"ai-overview\"\n    open={collapsible ? open : true}\n    render={render}\n    {...props}\n  >\n    {children}\n    {collapsible && (\n      <>\n        <div\n          aria-hidden=\"true\"\n          className=\"pointer-events-none absolute inset-x-0 bottom-0 z-2 h-37 bg-[linear-gradient(transparent_0,color-mix(in_srgb,var(--aio-bg)_90%,transparent)_3.25rem,var(--aio-bg)_5rem)] group-data-open/ai-overview:hidden\"\n        />\n        <div className=\"bg-aio-bg absolute inset-x-0 bottom-5 z-2 pb-0.5 group-data-open/ai-overview:hidden\">\n          <CollapsibleTrigger className=\"border-aio-button-border text-aio-button-fg hover:bg-aio-button-icon/[8.24%] focus-visible:outline-aio-focus active:bg-aio-button-icon/[22.4%] inline-flex h-12.5 w-full max-w-177 cursor-pointer items-center justify-center rounded-full border bg-transparent px-[0.9375rem] py-[0.6875rem] text-sm leading-5 font-medium whitespace-nowrap outline-none select-none focus-visible:outline-2 focus-visible:outline-offset-3 focus-visible:outline-solid\">\n            {showMoreLabel}\n            <AIOverviewChevronIcon className=\"text-aio-button-icon ml-2 size-5\" />\n          </CollapsibleTrigger>\n        </div>\n      </>\n    )}\n  </Collapsible>\n);\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview-icons.tsx",
      "content": "import type { ComponentProps } from \"react\";\n\nexport const AIOverviewSparkleIcon = (props: ComponentProps<\"svg\">) => (\n  <svg aria-hidden=\"true\" viewBox=\"0 0 471 471\" {...props}>\n    <path\n      d=\"M235.5 471C235.5 438.423 229.22 407.807 216.66 379.155C204.492 350.503 187.811 325.579 166.616 304.384C145.421 283.189 120.498 266.508 91.845 254.34C63.1925 241.78 32.5775 235.5 0 235.5C32.5775 235.5 63.1925 229.416 91.845 217.249C120.498 204.689 145.421 187.811 166.616 166.616C187.811 145.421 204.492 120.497 216.66 91.845C229.22 63.1925 235.5 32.5775 235.5 0C235.5 32.5775 241.584 63.1925 253.751 91.845C266.311 120.497 283.189 145.421 304.384 166.616C325.579 187.811 350.503 204.689 379.155 217.249C407.807 229.416 438.423 235.5 471 235.5C438.423 235.5 407.807 241.78 379.155 254.34C350.503 266.508 325.579 283.189 304.384 304.384C283.189 325.579 266.311 350.503 253.751 379.155C241.584 407.807 235.5 438.423 235.5 471Z\"\n      fill=\"currentColor\"\n    />\n  </svg>\n);\n\nexport const AIOverviewChevronIcon = (props: ComponentProps<\"svg\">) => (\n  <svg aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 24 24\" {...props}>\n    <path d=\"M5.41 7.59L4 9l8 8 8-8-1.41-1.41L12 14.17\" />\n  </svg>\n);\n\nexport const AIOverviewMoreIcon = (props: ComponentProps<\"svg\">) => (\n  <svg aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 24 24\" {...props}>\n    <path d=\"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z\" />\n  </svg>\n);\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview-icons.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/types/google-ai-overview.ts",
      "content": "import type { ComponentProps, ReactNode } from \"react\";\n\nimport type { Avatar } from \"@/components/ui/avatar\";\nimport type { Collapsible } from \"@/components/ui/collapsible\";\n\nexport interface AIOverviewSource {\n  description?: string;\n  favicon: string;\n  href: string;\n  meta?: string;\n  siteName: string;\n  thumbnail?: string;\n  title?: string;\n}\n\nexport interface AIOverviewProps extends ComponentProps<typeof Collapsible> {\n  collapsible?: boolean;\n  showMoreLabel?: ReactNode;\n}\n\nexport interface AIOverviewHeaderProps extends Omit<\n  ComponentProps<\"div\">,\n  \"title\"\n> {\n  icon?: ReactNode;\n  title?: ReactNode;\n}\n\nexport interface AIOverviewHighlightProps extends ComponentProps<\"mark\"> {\n  active?: boolean;\n}\n\nexport interface AIOverviewCitationProps extends Omit<\n  ComponentProps<\"a\">,\n  \"href\" | \"children\"\n> {\n  preview?: boolean;\n  renderSourceAction?: (source: AIOverviewSource) => ReactNode;\n  sources: [AIOverviewSource, ...AIOverviewSource[]];\n}\n\nexport interface AIOverviewFaviconProps extends ComponentProps<typeof Avatar> {\n  name: string;\n  src: string;\n}\n\nexport interface AIOverviewSkeletonLine {\n  id: string;\n  width: string;\n}\n\nexport interface AIOverviewSkeletonProps extends ComponentProps<\"div\"> {\n  lines?: AIOverviewSkeletonLine[];\n}\n",
      "type": "registry:lib",
      "target": "components/google-ai-overview/types/google-ai-overview.ts"
    },
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview-header.tsx",
      "content": "import { cn } from \"cn\";\n\nimport type { AIOverviewHeaderProps } from \"../types/google-ai-overview\";\nimport { AIOverviewSparkleIcon } from \"./ai-overview-icons\";\n\nexport const AIOverviewHeader = ({\n  children,\n  className,\n  icon = <AIOverviewSparkleIcon className=\"size-6 shrink-0\" />,\n  title = \"AI Overview\",\n  ...props\n}: AIOverviewHeaderProps) => (\n  <div\n    className={cn(\"flex items-center justify-between gap-4 pb-4\", className)}\n    data-slot=\"ai-overview-header\"\n    {...props}\n  >\n    <div className=\"text-aio-sparkle flex items-center gap-1.5\">\n      {icon}\n      <h2 className=\"text-aio-label text-sm font-medium\">{title}</h2>\n    </div>\n    {children}\n  </div>\n);\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview-header.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview-content.tsx",
      "content": "import { cn } from \"cn\";\nimport type { ComponentProps } from \"react\";\n\nexport const AIOverviewContent = ({\n  className,\n  ...props\n}: ComponentProps<\"div\">) => (\n  <div\n    className={cn(\"max-w-177 wrap-break-word\", className)}\n    data-slot=\"ai-overview-content\"\n    {...props}\n  />\n);\n\nexport const AIOverviewParagraph = ({\n  className,\n  ...props\n}: ComponentProps<\"p\">) => (\n  <p\n    className={cn(\"mb-4 last:mb-0\", className)}\n    data-slot=\"ai-overview-paragraph\"\n    {...props}\n  />\n);\n\nexport const AIOverviewHeading = ({\n  children,\n  className,\n  ...props\n}: ComponentProps<\"h3\">) => (\n  <h3\n    className={cn(\n      \"text-aio-heading mt-6 mb-3 text-xl leading-7 font-semibold tracking-normal first:mt-0\",\n      className\n    )}\n    data-slot=\"ai-overview-heading\"\n    {...props}\n  >\n    {children}\n  </h3>\n);\n\nexport const AIOverviewList = ({\n  className,\n  ...props\n}: ComponentProps<\"ul\">) => (\n  <ul\n    className={cn(\"mt-3 mb-4 list-disc ps-4.5 [&_ul]:list-[circle]\", className)}\n    data-slot=\"ai-overview-list\"\n    {...props}\n  />\n);\n\nexport const AIOverviewListItem = ({\n  className,\n  ...props\n}: ComponentProps<\"li\">) => (\n  <li\n    className={cn(\"mb-3 ps-1\", className)}\n    data-slot=\"ai-overview-list-item\"\n    {...props}\n  />\n);\n\nexport const AIOverviewLink = ({\n  children,\n  className,\n  rel = \"noopener noreferrer\",\n  target = \"_blank\",\n  ...props\n}: ComponentProps<\"a\">) => (\n  <a\n    className={cn(\n      \"text-aio-link decoration-aio-link font-medium underline decoration-1 underline-offset-[0.0625rem]\",\n      className\n    )}\n    data-slot=\"ai-overview-link\"\n    rel={rel}\n    target={target}\n    {...props}\n  >\n    {children}\n  </a>\n);\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview-content.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview-highlight.tsx",
      "content": "import { cn } from \"cn\";\n\nimport type { AIOverviewHighlightProps } from \"../types/google-ai-overview\";\n\nexport const AIOverviewHighlight = ({\n  active = false,\n  className,\n  ...props\n}: AIOverviewHighlightProps) => (\n  <mark\n    className={cn(\n      \"rounded-sm bg-transparent bg-[linear-gradient(90deg,var(--aio-mark)_50%,transparent_50%)] bg-size-[200%_100%] bg-position-[100%_0] px-0.5 text-inherit transition-[background-position] duration-750 ease-[cubic-bezier(0.05,0.7,0.1,1)] motion-reduce:transition-none\",\n      \"[&:has(+[data-slot=ai-overview-citation]:is(:hover,:focus-within))]:bg-aio-hover [&:has(+[data-slot=ai-overview-citation]:is(:hover,:focus-within))]:rounded-none [&:has(+[data-slot=ai-overview-citation]:is(:hover,:focus-within))]:bg-none\",\n      active &&\n        \"text-aio-mark-fg bg-position-[0_0] font-medium delay-250 starting:bg-position-[100%_0]\",\n      className\n    )}\n    data-active={active || undefined}\n    data-slot=\"ai-overview-highlight\"\n    {...props}\n  />\n);\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview-highlight.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview-citation.tsx",
      "content": "import { cn } from \"cn\";\n\nimport { Badge, badgeVariants } from \"@/components/ui/badge\";\nimport {\n  HoverCard,\n  HoverCardContent,\n  HoverCardTrigger,\n} from \"@/components/ui/hover-card\";\nimport { Separator } from \"@/components/ui/separator\";\n\nimport {\n  AI_OVERVIEW_HOVER_CLOSE_DELAY_MS,\n  AI_OVERVIEW_HOVER_OPEN_DELAY_MS,\n} from \"../constants/google-ai-overview\";\nimport type {\n  AIOverviewCitationProps,\n  AIOverviewSource,\n} from \"../types/google-ai-overview\";\nimport { AIOverviewFavicon } from \"./ai-overview-favicon\";\n\nconst sourceLabel = (source: AIOverviewSource) =>\n  source.meta ? `${source.siteName} · ${source.meta}` : source.siteName;\n\nexport const AIOverviewCitation = ({\n  className,\n  preview = true,\n  rel = \"noopener noreferrer\",\n  renderSourceAction,\n  sources,\n  target = \"_blank\",\n  ...props\n}: AIOverviewCitationProps) => {\n  const [source] = sources;\n  const label = sourceLabel(source);\n  const extra = sources.length - 1;\n  const chipClassName = cn(\n    badgeVariants({ variant: \"secondary\" }),\n    \"bg-aio-chip text-aio-muted focus-visible:outline-aio-focus [a]:hover:bg-aio-chip-hover max-w-[10.9375rem] justify-start rounded-full border-0 py-px ps-px pe-2 align-text-top text-[0.6875rem] leading-4 focus-visible:ring-0 focus-visible:outline-2 focus-visible:outline-solid\",\n    className\n  );\n  const chip = (\n    <>\n      <AIOverviewFavicon name={source.siteName} src={source.favicon} />\n      <span className=\"truncate\">{label}</span>\n      {extra > 0 && <span className=\"-ms-1 shrink-0\">&nbsp;+{extra}</span>}\n    </>\n  );\n  const ariaLabel = extra > 0 ? `${label} (+${extra})` : label;\n\n  return (\n    <span className=\"whitespace-nowrap\" data-slot=\"ai-overview-citation\">\n      <span aria-hidden=\"true\">&nbsp;</span>\n      {preview ? (\n        <HoverCard>\n          <HoverCardTrigger\n            aria-label={ariaLabel}\n            closeDelay={AI_OVERVIEW_HOVER_CLOSE_DELAY_MS}\n            delay={AI_OVERVIEW_HOVER_OPEN_DELAY_MS}\n            className={chipClassName}\n            href={source.href}\n            rel={rel}\n            target={target}\n            {...props}\n          >\n            {chip}\n          </HoverCardTrigger>\n          <HoverCardContent\n            align=\"start\"\n            alignOffset={-10}\n            className=\"bg-aio-popover font-aio text-aio-popover-fg max-h-72.5 w-90 overflow-y-auto rounded-[1.25rem] p-0 antialiased shadow-[0_1px_2px_0_rgb(0_0_0/0.3),0_2px_6px_2px_rgb(0_0_0/0.15)] ring-0\"\n            sideOffset={8}\n          >\n            <ul>\n              {sources.map((item, index) => (\n                <li\n                  className=\"after:bg-aio-border relative after:absolute after:inset-x-4 after:bottom-0 after:h-px last:after:hidden\"\n                  key={item.href}\n                >\n                  {index > 0 && (\n                    <Separator className=\"bg-aio-border mx-4 data-horizontal:w-auto\" />\n                  )}\n                  <a\n                    aria-label={item.title ?? item.siteName}\n                    className=\"focus-visible:outline-aio-focus absolute inset-0.5 rounded-2xl focus-visible:outline-2 focus-visible:outline-solid\"\n                    href={item.href}\n                    rel={rel}\n                    target={target}\n                  />\n                  <div className=\"pointer-events-none flex flex-col gap-2 p-3\">\n                    <div className=\"text-aio-popover-muted flex h-4.5 min-w-0 items-center pe-6 text-xs leading-4\">\n                      <AIOverviewFavicon\n                        name={item.siteName}\n                        src={item.favicon}\n                      />\n                      <span className=\"ms-[0.3125rem] truncate\">\n                        {item.siteName}\n                      </span>\n                      {item.meta && (\n                        <>\n                          <span className=\"mx-1.5\">·</span>\n                          <span className=\"truncate text-[0.6875rem]\">\n                            {item.meta}\n                          </span>\n                        </>\n                      )}\n                    </div>\n                    <div className=\"flex gap-2\">\n                      <div className=\"flex min-w-0 flex-1 flex-col gap-1 pe-3\">\n                        <span className=\"line-clamp-2 text-sm leading-4.5 font-medium\">\n                          {item.title ?? item.siteName}\n                        </span>\n                        {item.description && (\n                          <span className=\"text-aio-popover-muted line-clamp-2 text-xs leading-4\">\n                            {item.description}\n                          </span>\n                        )}\n                      </div>\n                      {item.thumbnail && (\n                        <img\n                          alt=\"\"\n                          className=\"size-17 shrink-0 rounded-lg object-cover\"\n                          src={item.thumbnail}\n                        />\n                      )}\n                    </div>\n                  </div>\n                  {renderSourceAction && (\n                    <div className=\"absolute end-0.75 top-0.75\">\n                      {renderSourceAction(item)}\n                    </div>\n                  )}\n                </li>\n              ))}\n            </ul>\n          </HoverCardContent>\n        </HoverCard>\n      ) : (\n        <Badge\n          className={chipClassName}\n          render={\n            <a\n              aria-label={ariaLabel}\n              href={source.href}\n              rel={rel}\n              target={target}\n              {...props}\n            />\n          }\n          variant=\"secondary\"\n        >\n          {chip}\n        </Badge>\n      )}\n    </span>\n  );\n};\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview-citation.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview-favicon.tsx",
      "content": "import { cn } from \"cn\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\";\n\nimport type { AIOverviewFaviconProps } from \"../types/google-ai-overview\";\n\nexport const AIOverviewFavicon = ({\n  className,\n  name,\n  src,\n  ...props\n}: AIOverviewFaviconProps) => (\n  <Avatar\n    className={cn(\n      \"after:border-aio-border size-4.5 bg-white after:mix-blend-normal dark:after:mix-blend-normal\",\n      className\n    )}\n    data-slot=\"ai-overview-favicon\"\n    {...props}\n  >\n    <AvatarImage alt=\"\" className=\"object-contain p-0.5\" src={src} />\n    <AvatarFallback className=\"text-aio-muted bg-white text-[0.5rem] font-medium\">\n      {Array.from(name)[0]}\n    </AvatarFallback>\n  </Avatar>\n);\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview-favicon.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview-skeleton.tsx",
      "content": "import { cn } from \"cn\";\n\nimport { Skeleton } from \"@/components/ui/skeleton\";\n\nimport { AI_OVERVIEW_SKELETON_LINES } from \"../constants/google-ai-overview\";\nimport type { AIOverviewSkeletonProps } from \"../types/google-ai-overview\";\n\nexport const AIOverviewSkeleton = ({\n  className,\n  lines = AI_OVERVIEW_SKELETON_LINES,\n  ...props\n}: AIOverviewSkeletonProps) => (\n  <div\n    aria-busy=\"true\"\n    className={cn(\"flex max-w-177 flex-col gap-3\", className)}\n    data-slot=\"ai-overview-skeleton\"\n    {...props}\n  >\n    {lines.map((line) => (\n      <Skeleton\n        className=\"bg-aio-chip h-4 rounded-full\"\n        key={line.id}\n        style={{ width: line.width }}\n      />\n    ))}\n  </div>\n);\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview-skeleton.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/constants/google-ai-overview.ts",
      "content": "import type { AIOverviewSkeletonLine } from \"../types/google-ai-overview\";\n\nexport const AI_OVERVIEW_SKELETON_LINES: AIOverviewSkeletonLine[] = [\n  { id: \"line-1\", width: \"100%\" },\n  { id: \"line-2\", width: \"94%\" },\n  { id: \"line-3\", width: \"97%\" },\n  { id: \"line-4\", width: \"62%\" },\n];\n\nexport const AI_OVERVIEW_HOVER_OPEN_DELAY_MS = 150;\n\nexport const AI_OVERVIEW_HOVER_CLOSE_DELAY_MS = 100;\n",
      "type": "registry:lib",
      "target": "components/google-ai-overview/constants/google-ai-overview.ts"
    },
    {
      "path": "registry/notra/google-ai-overview/constants/vercel-sources.ts",
      "content": "import type { AIOverviewSource } from \"../types/google-ai-overview\";\n\nexport const VERCEL = {\n  favicon: \"/google-ai-overview/vercel.svg\",\n  href: \"https://vercel.com/blog/what-is-vercel\",\n  siteName: \"Vercel\",\n  description:\n    '\"Technically\" newsletter founder Justin Gage explains how Vercel makes building web applications as easy as possible.',\n  title: \"What does Vercel do?\",\n} satisfies AIOverviewSource;\n\nexport const VERCEL_DOCS = {\n  favicon: \"/google-ai-overview/vercel.svg\",\n  href: \"https://vercel.com/docs\",\n  siteName: \"Vercel\",\n  description:\n    \"Vercel is the AI Cloud, a unified platform for building, deploying, and scaling AI-powered applications.\",\n  title: \"Vercel Documentation\",\n} satisfies AIOverviewSource;\n\nexport const YOUTUBE_VERCEL = {\n  favicon: \"/google-ai-overview/youtube.svg\",\n  href: \"https://www.youtube.com/@VercelHQ\",\n  meta: \"Vercel\",\n  siteName: \"YouTube\",\n  description:\n    \"Vercel Product Walkthrough hey I'm Lee and I'll be your guide in this video as we do a walkthrough of the platform.\",\n  title: \"Vercel Product Walkthrough\",\n} satisfies AIOverviewSource;\n\nexport const GITHUB_VERCEL = {\n  favicon: \"/google-ai-overview/github.svg\",\n  href: \"https://github.com/vercel\",\n  siteName: \"GitHub\",\n  thumbnail: \"https://opengraph.githubassets.com/1/vercel/vercel\",\n  description:\n    \"Develop. Preview. Ship. Creators of Next.js, the React framework.\",\n  title: \"Vercel on GitHub\",\n} satisfies AIOverviewSource;\n\nexport const NEXTJS = {\n  favicon: \"/google-ai-overview/nextjs.svg\",\n  href: \"https://nextjs.org\",\n  siteName: \"nextjs.org\",\n  thumbnail: \"https://opengraph.githubassets.com/1/vercel/next.js\",\n  description:\n    \"Used by some of the world's largest companies, Next.js enables you to create high-quality web applications.\",\n  title: \"Next.js by Vercel: The React Framework\",\n} satisfies AIOverviewSource;\n",
      "type": "registry:lib",
      "target": "components/google-ai-overview/constants/vercel-sources.ts"
    },
    {
      "path": "registry/notra/google-ai-overview/components/ai-overview-source-action.tsx",
      "content": "import { cn } from \"cn\";\nimport type { ComponentProps } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\n\nimport { AIOverviewMoreIcon } from \"./ai-overview-icons\";\n\nexport const AIOverviewSourceAction = ({\n  \"aria-label\": ariaLabel = \"About this result\",\n  className,\n  ...props\n}: ComponentProps<typeof Button>) => (\n  <Button\n    aria-label={ariaLabel}\n    className={cn(\n      \"text-aio-action hover:bg-aio-action/8 hover:text-aio-action dark:hover:bg-aio-action/8 focus-visible:outline-aio-focus active:bg-aio-action/22 size-9 rounded-full p-2.25 focus-visible:border-transparent focus-visible:ring-0 focus-visible:outline-2 focus-visible:outline-solid\",\n      className\n    )}\n    data-slot=\"ai-overview-source-action\"\n    size=\"icon\"\n    variant=\"ghost\"\n    {...props}\n  >\n    <AIOverviewMoreIcon className=\"size-4.5\" />\n  </Button>\n);\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/components/ai-overview-source-action.tsx"
    },
    {
      "path": "registry/notra/google-ai-overview/examples/google-ai-overview-demo.tsx",
      "content": "\"use client\";\n\nimport { toast } from \"sonner\";\n\nimport { AIOverview } from \"../components/ai-overview\";\nimport { AIOverviewCitation } from \"../components/ai-overview-citation\";\nimport {\n  AIOverviewContent,\n  AIOverviewHeading,\n  AIOverviewLink,\n  AIOverviewList,\n  AIOverviewListItem,\n  AIOverviewParagraph,\n} from \"../components/ai-overview-content\";\nimport { AIOverviewHeader } from \"../components/ai-overview-header\";\nimport { AIOverviewHighlight } from \"../components/ai-overview-highlight\";\nimport { AIOverviewSourceAction } from \"../components/ai-overview-source-action\";\nimport {\n  GITHUB_VERCEL,\n  NEXTJS,\n  VERCEL,\n  VERCEL_DOCS,\n  YOUTUBE_VERCEL,\n} from \"../constants/vercel-sources\";\nimport type { AIOverviewSource } from \"../types/google-ai-overview\";\n\nconst renderSourceAction = (source: AIOverviewSource) => (\n  <AIOverviewSourceAction\n    onClick={() => toast(\"3 dot button clicked\", { description: source.title })}\n  />\n);\n\nexport default function GoogleAIOverviewDemo() {\n  return (\n    <AIOverview className=\"p-6\">\n      <AIOverviewHeader />\n      <AIOverviewContent>\n        <AIOverviewParagraph>\n          <AIOverviewLink href=\"https://vercel.com\">Vercel</AIOverviewLink> is{\" \"}\n          <AIOverviewHighlight active>\n            a cloud platform that helps developers build, deploy, and host fast\n            modern websites and web applications\n          </AIOverviewHighlight>\n          .\n          <AIOverviewCitation\n            renderSourceAction={renderSourceAction}\n            sources={[VERCEL, VERCEL_DOCS]}\n          />\n        </AIOverviewParagraph>\n        <AIOverviewHeading>What Vercel Does</AIOverviewHeading>\n        <AIOverviewList>\n          <AIOverviewListItem>\n            <strong>Easy Hosting:</strong>{\" \"}\n            <AIOverviewHighlight>\n              It handles the servers and infrastructure so you can launch\n              user-facing websites quickly.\n            </AIOverviewHighlight>\n            <AIOverviewCitation\n              renderSourceAction={renderSourceAction}\n              sources={[VERCEL, VERCEL_DOCS]}\n            />\n          </AIOverviewListItem>\n          <AIOverviewListItem>\n            <strong>Git Integration:</strong>{\" \"}\n            <AIOverviewHighlight>\n              It connects to GitHub, GitLab, or Bitbucket and deploys a live\n              version of your site every time you push changes.\n            </AIOverviewHighlight>\n            <AIOverviewCitation\n              renderSourceAction={renderSourceAction}\n              sources={[YOUTUBE_VERCEL, GITHUB_VERCEL, VERCEL_DOCS]}\n            />\n          </AIOverviewListItem>\n          <AIOverviewListItem>\n            <strong>Preview Links:</strong>{\" \"}\n            <AIOverviewHighlight>\n              Every pull request gets a unique preview URL so teams can review\n              work before it goes public.\n            </AIOverviewHighlight>\n            <AIOverviewCitation\n              renderSourceAction={renderSourceAction}\n              sources={[GITHUB_VERCEL, VERCEL_DOCS]}\n            />\n          </AIOverviewListItem>\n          <AIOverviewListItem>\n            <strong>Global Speed:</strong>{\" \"}\n            <AIOverviewHighlight>\n              A global CDN serves your site from servers close to your users.\n            </AIOverviewHighlight>\n            <AIOverviewCitation\n              renderSourceAction={renderSourceAction}\n              sources={[VERCEL_DOCS]}\n            />\n          </AIOverviewListItem>\n        </AIOverviewList>\n        <AIOverviewHeading>Key Features</AIOverviewHeading>\n        <AIOverviewList>\n          <AIOverviewListItem>\n            <strong>Framework Support:</strong> It supports React, Vue, Svelte,\n            and Astro, and is the creator and primary host of Next.js.\n            <AIOverviewCitation\n              renderSourceAction={renderSourceAction}\n              sources={[NEXTJS, VERCEL]}\n            />\n          </AIOverviewListItem>\n          <AIOverviewListItem>\n            <strong>Serverless Functions:</strong> It runs backend code tied to\n            HTTP requests without a full-time server.\n          </AIOverviewListItem>\n          <AIOverviewListItem>\n            <strong>AI Tools:</strong> It makes v0, which generates website code\n            from text prompts.\n            <AIOverviewCitation\n              renderSourceAction={renderSourceAction}\n              sources={[VERCEL, NEXTJS, YOUTUBE_VERCEL]}\n            />\n          </AIOverviewListItem>\n        </AIOverviewList>\n      </AIOverviewContent>\n    </AIOverview>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/google-ai-overview/examples/google-ai-overview-demo.tsx"
    },
    {
      "path": "public/google-ai-overview/vercel.svg",
      "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 222\" preserveAspectRatio=\"xMidYMid\"><path d=\"m128 0 128 221.705H0z\"/></svg>",
      "type": "registry:file",
      "target": "~/public/google-ai-overview/vercel.svg"
    },
    {
      "path": "public/google-ai-overview/github.svg",
      "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\" fill=\"none\"><path fill=\"#1b1f23\" fill-rule=\"evenodd\" d=\"M512 0C229.12 0 0 229.12 0 512c0 226.56 146.56 417.92 350.08 485.76 25.6 4.48 35.2-10.88 35.2-24.32 0-12.16-.64-52.48-.64-95.36-128.64 23.68-161.92-31.36-172.16-60.16-5.76-14.72-30.72-60.16-52.48-72.32-17.92-9.6-43.52-33.28-.64-33.92 40.32-.64 69.12 37.12 78.72 52.48 46.08 77.44 119.68 55.68 149.12 42.24 4.48-33.28 17.92-55.68 32.64-68.48-113.92-12.8-232.96-56.96-232.96-252.8 0-55.68 19.84-101.76 52.48-137.6-5.12-12.8-23.04-65.28 5.12-135.68 0 0 42.88-13.44 140.8 52.48 40.96-11.52 84.48-17.28 128-17.28s87.04 5.76 128 17.28c97.92-66.56 140.8-52.48 140.8-52.48 28.16 70.4 10.24 122.88 5.12 135.68 32.64 35.84 52.48 81.28 52.48 137.6 0 196.48-119.68 240-233.6 252.8 18.56 16 34.56 46.72 34.56 94.72 0 68.48-.64 123.52-.64 140.8 0 13.44 9.6 29.44 35.2 24.32C877.44 929.92 1024 737.92 1024 512 1024 229.12 794.88 0 512 0\" clip-rule=\"evenodd\"/></svg>",
      "type": "registry:file",
      "target": "~/public/google-ai-overview/github.svg"
    },
    {
      "path": "public/google-ai-overview/youtube.svg",
      "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMidYMid\" viewBox=\"0 0 256 180\"><path fill=\"red\" d=\"M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134Z\"/><path fill=\"#FFF\" d=\"m102.421 128.06 66.328-38.418-66.328-38.418z\"/></svg>",
      "type": "registry:file",
      "target": "~/public/google-ai-overview/youtube.svg"
    },
    {
      "path": "public/google-ai-overview/nextjs.svg",
      "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 180 180\"><mask height=\"180\" id=\":r8:mask0_408_134\" maskUnits=\"userSpaceOnUse\" width=\"180\" x=\"0\" y=\"0\" style=\"mask-type:alpha\"><circle cx=\"90\" cy=\"90\" fill=\"black\" r=\"90\"/></mask><g mask=\"url(#:r8:mask0_408_134)\"><circle cx=\"90\" cy=\"90\" data-circle=\"true\" fill=\"black\" r=\"90\"/><path d=\"M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z\" fill=\"url(#:r8:paint0_linear_408_134)\"/><rect fill=\"url(#:r8:paint1_linear_408_134)\" height=\"72\" width=\"12\" x=\"115\" y=\"54\"/></g><defs><linearGradient gradientUnits=\"userSpaceOnUse\" id=\":r8:paint0_linear_408_134\" x1=\"109\" x2=\"144.5\" y1=\"116.5\" y2=\"160.5\"><stop stop-color=\"white\"/><stop offset=\"1\" stop-color=\"white\" stop-opacity=\"0\"/></linearGradient><linearGradient gradientUnits=\"userSpaceOnUse\" id=\":r8:paint1_linear_408_134\" x1=\"121\" x2=\"120.799\" y1=\"54\" y2=\"106.875\"><stop stop-color=\"white\"/><stop offset=\"1\" stop-color=\"white\" stop-opacity=\"0\"/></linearGradient></defs></svg>",
      "type": "registry:file",
      "target": "~/public/google-ai-overview/nextjs.svg"
    }
  ],
  "cssVars": {
    "theme": {
      "color-aio-bg": "var(--aio-bg)",
      "color-aio-fg": "var(--aio-fg)",
      "color-aio-label": "var(--aio-label)",
      "color-aio-heading": "var(--aio-heading)",
      "color-aio-muted": "var(--aio-muted)",
      "color-aio-link": "var(--aio-link)",
      "color-aio-mark": "var(--aio-mark)",
      "color-aio-mark-fg": "var(--aio-mark-fg)",
      "color-aio-chip": "var(--aio-chip)",
      "color-aio-chip-hover": "var(--aio-chip-hover)",
      "color-aio-border": "var(--aio-border)",
      "color-aio-sparkle": "var(--aio-sparkle)",
      "color-aio-button-border": "var(--aio-button-border)",
      "color-aio-button-fg": "var(--aio-button-fg)",
      "color-aio-button-icon": "var(--aio-button-icon)",
      "color-aio-focus": "var(--aio-focus)",
      "color-aio-hover": "var(--aio-hover)",
      "color-aio-popover": "var(--aio-popover)",
      "color-aio-popover-fg": "var(--aio-popover-fg)",
      "color-aio-popover-muted": "var(--aio-popover-muted)",
      "color-aio-action": "var(--aio-action)",
      "font-aio": "\"Google Sans\", \"Google Sans Flex\", Roboto, Arial, sans-serif"
    },
    "light": {
      "aio-bg": "#ffffff",
      "aio-fg": "#0a0a0a",
      "aio-label": "#1f1f1f",
      "aio-heading": "#001d35",
      "aio-muted": "#56595e",
      "aio-link": "#1a0dab",
      "aio-mark": "#d3e3fd",
      "aio-mark-fg": "#001d35",
      "aio-chip": "#e9ebf0",
      "aio-chip-hover": "#e1e3e8",
      "aio-border": "#d2d2d2",
      "aio-sparkle": "#3179ed",
      "aio-button-border": "#a3c9ff",
      "aio-button-fg": "#001d35",
      "aio-button-icon": "#0b57d0",
      "aio-focus": "#336ef3",
      "aio-hover": "#f3f5f6",
      "aio-popover": "#f7f8fa",
      "aio-popover-fg": "#1f1f1f",
      "aio-popover-muted": "#636363",
      "aio-action": "#545d7e"
    },
    "dark": {
      "aio-bg": "#22242a",
      "aio-fg": "#e6e8f0",
      "aio-label": "#e8e8e8",
      "aio-heading": "#eef0ff",
      "aio-muted": "#adafb8",
      "aio-link": "#99c3ff",
      "aio-mark": "#203da0",
      "aio-mark-fg": "#eef0ff",
      "aio-chip": "#363840",
      "aio-chip-hover": "#50525b",
      "aio-border": "#444746",
      "aio-sparkle": "#7aacff",
      "aio-button-border": "#515a7b",
      "aio-button-fg": "#eef0ff",
      "aio-button-icon": "#a8c7fa",
      "aio-focus": "#336ef3",
      "aio-hover": "#36383f",
      "aio-popover": "#2c2e34",
      "aio-popover-fg": "#e8e8e8",
      "aio-popover-muted": "#9e9e9e",
      "aio-action": "#9e9e9e"
    }
  },
  "type": "registry:block"
}