{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "live-activity",
  "type": "registry:ui",
  "title": "Live Activity",
  "description": "A composable activity surface with shared-element transitions, consumer-defined views, and touch expansion gestures.",
  "files": [
    {
      "path": "registry/sonaui/live-activity/live-activity.tsx",
      "type": "registry:ui",
      "content": "\"use client\";\n\nimport {\n  animate,\n  type MotionValue,\n  motion,\n  useMotionValue,\n  useReducedMotion,\n  useTransform,\n} from \"motion/react\";\nimport {\n  type ComponentPropsWithoutRef,\n  createContext,\n  type ReactNode,\n  type PointerEvent as ReactPointerEvent,\n  useCallback,\n  useContext,\n  useId,\n  useLayoutEffect,\n  useRef,\n  useState,\n} from \"react\";\nimport { cn } from \"@/lib/sona-utils\";\n\ntype View = \"compact\" | \"expanded\";\ntype Size = { width: number; height: number };\ntype Point = { x: number; y: number };\nconst emptySize: Size = { width: 0, height: 0 };\nconst spring = {\n  type: \"spring\",\n  stiffness: 380,\n  damping: 38,\n  mass: 1,\n} as const;\nconst clamp = (value: number) => Math.min(1, Math.max(0, value));\nconst interpolate = (from: number, to: number, progress: number) =>\n  from + (to - from) * clamp(progress);\n\nexport interface LiveActivityProps extends ComponentPropsWithoutRef<\"div\"> {\n  /** The composed activity surface and views. */\n  children: ReactNode;\n  /** Controlled expansion state. @default undefined */\n  expanded?: boolean;\n  /** Initial uncontrolled expansion state. @default false */\n  defaultExpanded?: boolean;\n  /** Called when a control or gesture requests a state change. @default undefined */\n  onExpandedChange?: (expanded: boolean) => void;\n  /** Direction of growth and the opening touch gesture. @default \"down\" */\n  direction?: \"down\" | \"up\";\n  /** Horizontal edge or center kept anchored during resizing. @default \"center\" */\n  align?: \"start\" | \"center\" | \"end\";\n  /** Enable touch dragging on Trigger and Handle, or disable gestures. @default \"touch\" */\n  gestures?: \"touch\" | false;\n  /** Respect reduced motion automatically, or disable all transitions. @default \"auto\" */\n  motion?: \"auto\" | \"none\";\n}\n\ntype ActivityContext = {\n  expanded: boolean;\n  direction: \"down\" | \"up\";\n  align: \"start\" | \"center\" | \"end\";\n  gestures: \"touch\" | false;\n  reduced: boolean;\n  progress: MotionValue<number>;\n  width: number;\n  sizes: Record<View, Size>;\n  offsets: Record<string, Partial<Record<View, Point>>>;\n  panelId: string;\n  rootRef: React.RefObject<HTMLDivElement | null>;\n  views: React.RefObject<Record<View, HTMLDivElement | null>>;\n  register: (id: string, view: View, node: HTMLSpanElement | null) => void;\n  measure: () => void;\n  request: (next: boolean, immediate?: boolean) => void;\n  settle: (next: boolean, velocity?: number) => void;\n};\nconst Context = createContext<ActivityContext | null>(null);\nconst ViewContext = createContext<View | null>(null);\nfunction useActivity() {\n  const value = useContext(Context);\n  if (!value)\n    throw new Error(\"LiveActivity parts must be inside LiveActivity.Root.\");\n  return value;\n}\n\n// offset coordinates exclude animated transforms, so measurement never feeds\n// the current animation back into its own destination.\nfunction position(node: HTMLElement, boundary: HTMLElement): Point {\n  let x = 0;\n  let y = 0;\n  let current: HTMLElement | null = node;\n  while (current && current !== boundary) {\n    x += current.offsetLeft;\n    y += current.offsetTop;\n    current = current.offsetParent as HTMLElement | null;\n  }\n  return { x, y };\n}\n\nexport function LiveActivityRoot({\n  children,\n  expanded: controlled,\n  defaultExpanded = false,\n  onExpandedChange,\n  direction = \"down\",\n  align = \"center\",\n  gestures = \"touch\",\n  motion: motionPreference = \"auto\",\n  className,\n  style,\n  ...props\n}: LiveActivityProps) {\n  const [internal, setInternal] = useState(defaultExpanded);\n  const expanded = controlled ?? internal;\n  const prefersReducedMotion = useReducedMotion();\n  const reduced = Boolean(prefersReducedMotion) || motionPreference === \"none\";\n  const progress = useMotionValue(expanded ? 1 : 0);\n  const rootRef = useRef<HTMLDivElement>(null);\n  const views = useRef<Record<View, HTMLDivElement | null>>({\n    compact: null,\n    expanded: null,\n  });\n  const shared = useRef(\n    new Map<string, Partial<Record<View, HTMLSpanElement>>>(),\n  );\n  const observer = useRef<ResizeObserver | null>(null);\n  const [width, setWidth] = useState(0);\n  const [sizes, setSizes] = useState<Record<View, Size>>({\n    compact: emptySize,\n    expanded: emptySize,\n  });\n  const [offsets, setOffsets] = useState<ActivityContext[\"offsets\"]>({});\n  const panelId = useId();\n  const immediate = useRef(false);\n  const previous = useRef(expanded);\n  const reservedHeight = useMotionValue(0);\n  const reservedHeightReady = useRef(false);\n\n  const measure = useCallback(() => {\n    const root = rootRef.current;\n    if (!root) return;\n    setWidth(root.clientWidth);\n    const nextSizes = { compact: emptySize, expanded: emptySize };\n    for (const view of [\"compact\", \"expanded\"] as const) {\n      const node = views.current[view];\n      if (node)\n        nextSizes[view] = {\n          width: node.offsetWidth,\n          height: node.offsetHeight,\n        };\n    }\n    setSizes((old) =>\n      JSON.stringify(old) === JSON.stringify(nextSizes) ? old : nextSizes,\n    );\n    const nextOffsets: ActivityContext[\"offsets\"] = {};\n    shared.current.forEach((pair, id) => {\n      nextOffsets[id] = {};\n      for (const view of [\"compact\", \"expanded\"] as const) {\n        const node = pair[view];\n        const boundary = views.current[view];\n        if (node && boundary) nextOffsets[id][view] = position(node, boundary);\n      }\n    });\n    setOffsets((old) =>\n      JSON.stringify(old) === JSON.stringify(nextOffsets) ? old : nextOffsets,\n    );\n  }, []);\n\n  const register = useCallback(\n    (id: string, view: View, node: HTMLSpanElement | null) => {\n      const pair = shared.current.get(id) ?? {};\n      if (pair[view]) observer.current?.unobserve(pair[view]);\n      if (node) {\n        pair[view] = node;\n        observer.current?.observe(node);\n      } else delete pair[view];\n      if (pair.compact || pair.expanded) shared.current.set(id, pair);\n      else shared.current.delete(id);\n    },\n    [],\n  );\n\n  useLayoutEffect(() => {\n    const resize = new ResizeObserver(measure);\n    observer.current = resize;\n    if (rootRef.current) resize.observe(rootRef.current);\n    for (const node of Object.values(views.current))\n      if (node) resize.observe(node);\n    shared.current.forEach((pair) => {\n      for (const node of Object.values(pair)) resize.observe(node);\n    });\n    measure();\n    return () => {\n      resize.disconnect();\n      observer.current = null;\n      progress.stop();\n    };\n  }, [measure, progress]);\n\n  const settle = useCallback(\n    (next: boolean, velocity = 0) => {\n      progress.stop();\n      if (reduced || immediate.current) progress.jump(next ? 1 : 0);\n      else animate(progress, next ? 1 : 0, { ...spring, velocity });\n      immediate.current = false;\n    },\n    [progress, reduced],\n  );\n\n  useLayoutEffect(() => {\n    settle(expanded);\n    if (previous.current !== expanded) {\n      const outgoing = views.current[expanded ? \"compact\" : \"expanded\"];\n      if (outgoing?.contains(document.activeElement)) {\n        const incoming = views.current[expanded ? \"expanded\" : \"compact\"];\n        const target = incoming?.querySelector<HTMLElement>(\n          'button:not(:disabled), a[href], input:not(:disabled), [tabindex=\"0\"]',\n        );\n        (target ?? incoming)?.focus({ preventScroll: true });\n      }\n    }\n    previous.current = expanded;\n  }, [expanded, settle]);\n\n  useLayoutEffect(() => {\n    const next = sizes.compact.height;\n    if (!next) return;\n    if (!reservedHeightReady.current || reduced) {\n      reservedHeight.stop();\n      reservedHeight.jump(next);\n      reservedHeightReady.current = true;\n      return;\n    }\n    animate(reservedHeight, next, spring);\n  }, [reduced, reservedHeight, sizes.compact.height]);\n\n  const request = (next: boolean, instantly = false) => {\n    immediate.current = instantly;\n    if (next !== expanded) {\n      if (controlled === undefined) setInternal(next);\n      onExpandedChange?.(next);\n    }\n    // Controlled consumers may decline the request. Settle to the accepted\n    // state; a subsequent prop change retargets the same motion value.\n    settle(controlled === undefined ? next : expanded);\n  };\n\n  return (\n    <Context.Provider\n      value={{\n        expanded,\n        direction,\n        align,\n        gestures,\n        reduced,\n        progress,\n        width,\n        sizes,\n        offsets,\n        panelId,\n        rootRef,\n        views,\n        register,\n        measure,\n        request,\n        settle,\n      }}\n    >\n      <motion.div\n        {...(props as ComponentPropsWithoutRef<typeof motion.div>)}\n        ref={rootRef}\n        data-slot=\"live-activity\"\n        data-state={expanded ? \"expanded\" : \"compact\"}\n        data-direction={direction}\n        className={cn(\"relative w-full\", className)}\n        style={{ ...style, height: reservedHeight }}\n      >\n        {children}\n      </motion.div>\n    </Context.Provider>\n  );\n}\n\nexport interface LiveActivitySurfaceProps\n  extends ComponentPropsWithoutRef<\"div\"> {\n  /** Composed compact and expanded views. */\n  children: ReactNode;\n}\n\nexport function LiveActivitySurface({\n  children,\n  className,\n  style,\n  onKeyDown,\n  ...props\n}: LiveActivitySurfaceProps) {\n  const ctx = useActivity();\n  const width = useMotionValue(0);\n  const height = useMotionValue(0);\n  const dimensionsReady = useRef(false);\n\n  useLayoutEffect(() => {\n    const updateDimensions = (progress: number, contentResize: boolean) => {\n      const nextWidth = interpolate(\n        ctx.sizes.compact.width,\n        ctx.sizes.expanded.width,\n        progress,\n      );\n      const nextHeight = interpolate(\n        ctx.sizes.compact.height,\n        ctx.sizes.expanded.height,\n        progress,\n      );\n      if (!nextWidth || !nextHeight) return;\n\n      const atRest = progress <= 0.001 || progress >= 0.999;\n      if (!dimensionsReady.current || ctx.reduced) {\n        width.stop();\n        height.stop();\n        width.jump(nextWidth);\n        height.jump(nextHeight);\n        dimensionsReady.current = true;\n      } else if (contentResize && atRest) {\n        animate(width, nextWidth, spring);\n        animate(height, nextHeight, spring);\n      } else {\n        // Expansion and touch dragging remain tied directly to the shared\n        // progress value. Any active resize spring is interrupted here.\n        width.stop();\n        height.stop();\n        width.jump(nextWidth);\n        height.jump(nextHeight);\n      }\n    };\n\n    const unsubscribe = ctx.progress.on(\"change\", (progress) => {\n      updateDimensions(progress, false);\n    });\n    updateDimensions(ctx.progress.get(), true);\n    return unsubscribe;\n  }, [\n    ctx.progress,\n    ctx.reduced,\n    ctx.sizes.compact.height,\n    ctx.sizes.compact.width,\n    ctx.sizes.expanded.height,\n    ctx.sizes.expanded.width,\n    height,\n    width,\n  ]);\n  return (\n    <motion.div\n      {...(props as ComponentPropsWithoutRef<typeof motion.div>)}\n      data-slot=\"live-activity-anchor\"\n      className=\"absolute inset-x-0\"\n      style={{\n        [ctx.direction === \"down\" ? \"top\" : \"bottom\"]: 0,\n        display: \"flex\",\n        justifyContent:\n          ctx.align === \"center\"\n            ? \"center\"\n            : ctx.align === \"start\"\n              ? \"flex-start\"\n              : \"flex-end\",\n      }}\n      onKeyDown={(event) => {\n        onKeyDown?.(event);\n        if (!event.defaultPrevented && event.key === \"Escape\" && ctx.expanded) {\n          event.preventDefault();\n          event.stopPropagation();\n          ctx.request(false, true);\n        }\n      }}\n    >\n      <motion.div\n        data-slot=\"live-activity-surface\"\n        data-state={ctx.expanded ? \"expanded\" : \"compact\"}\n        className={cn(\n          \"relative isolate overflow-hidden rounded-3xl bg-background text-foreground\",\n          className,\n        )}\n        style={{ ...style, width, height, maxWidth: \"100%\" }}\n      >\n        {children}\n      </motion.div>\n    </motion.div>\n  );\n}\n\nfunction ActivityView({\n  view,\n  className,\n  style,\n  children,\n  ...props\n}: ComponentPropsWithoutRef<\"div\"> & { view: View }) {\n  const ctx = useActivity();\n  const active = ctx.expanded === (view === \"expanded\");\n  const opacity = useTransform(ctx.progress, (p) =>\n    view === \"expanded\" ? clamp(p) : 1 - clamp(p),\n  );\n  const attach = useCallback(\n    (node: HTMLDivElement | null) => {\n      ctx.views.current[view] = node;\n    },\n    [ctx.views, view],\n  );\n  useLayoutEffect(ctx.measure);\n  return (\n    <ViewContext.Provider value={view}>\n      <motion.div\n        {...(props as ComponentPropsWithoutRef<typeof motion.div>)}\n        ref={attach}\n        id={view === \"expanded\" ? ctx.panelId : props.id}\n        data-slot={`live-activity-${view}`}\n        inert={!active}\n        aria-hidden={!active}\n        tabIndex={-1}\n        className={cn(\"absolute flow-root w-max\", className)}\n        style={{\n          ...style,\n          opacity,\n          maxWidth: ctx.width || \"100vw\",\n          [ctx.direction === \"down\" ? \"top\" : \"bottom\"]: 0,\n          insetInlineStart:\n            ctx.align === \"end\"\n              ? undefined\n              : ctx.align === \"center\"\n                ? \"50%\"\n                : 0,\n          insetInlineEnd: ctx.align === \"end\" ? 0 : undefined,\n          x: ctx.align === \"center\" ? \"-50%\" : 0,\n          pointerEvents: active ? \"auto\" : \"none\",\n        }}\n      >\n        {children}\n      </motion.div>\n    </ViewContext.Provider>\n  );\n}\n\nexport function LiveActivityCompact(props: ComponentPropsWithoutRef<\"div\">) {\n  return <ActivityView {...props} view=\"compact\" />;\n}\nexport function LiveActivityExpanded(props: ComponentPropsWithoutRef<\"div\">) {\n  return <ActivityView {...props} view=\"expanded\" />;\n}\n\nexport interface LiveActivitySharedProps\n  extends Omit<ComponentPropsWithoutRef<\"span\">, \"id\"> {\n  /** Matching visual identity, unique within each view of this Root. */\n  id: string;\n}\n\nexport function LiveActivityShared({\n  id,\n  className,\n  style,\n  ...props\n}: LiveActivitySharedProps) {\n  const ctx = useActivity();\n  const view = useContext(ViewContext);\n  if (!view)\n    throw new Error(\"LiveActivity.Shared must be inside Compact or Expanded.\");\n  const pair = ctx.offsets[id];\n  const factor = ctx.align === \"center\" ? 0.5 : ctx.align === \"end\" ? 1 : 0;\n  const rtl = ctx.rootRef.current\n    ? getComputedStyle(ctx.rootRef.current).direction === \"rtl\"\n    : false;\n  const horizontalAnchor = rtl ? 1 - factor : factor;\n  const dx =\n    pair?.compact && pair.expanded\n      ? pair.expanded.x -\n        pair.compact.x +\n        (ctx.sizes.compact.width - ctx.sizes.expanded.width) * horizontalAnchor\n      : 0;\n  const dy =\n    pair?.compact && pair.expanded\n      ? pair.expanded.y -\n        pair.compact.y +\n        (ctx.direction === \"up\"\n          ? ctx.sizes.compact.height - ctx.sizes.expanded.height\n          : 0)\n      : 0;\n  const x = useTransform(\n    ctx.progress,\n    (p) => dx * (clamp(p) - (view === \"expanded\" ? 1 : 0)),\n  );\n  const y = useTransform(\n    ctx.progress,\n    (p) => dy * (clamp(p) - (view === \"expanded\" ? 1 : 0)),\n  );\n  const attach = useCallback(\n    (node: HTMLSpanElement | null) => ctx.register(id, view, node),\n    [ctx.register, id, view],\n  );\n  return (\n    <motion.span\n      {...(props as ComponentPropsWithoutRef<typeof motion.span>)}\n      ref={attach}\n      data-slot=\"live-activity-shared\"\n      data-shared-id={id}\n      className={cn(\"relative inline-block\", className)}\n      style={{ ...style, x, y }}\n    />\n  );\n}\n\nfunction useGesture() {\n  const ctx = useActivity();\n  const drag = useRef<{\n    id: number;\n    y: number;\n    start: number;\n    lastY: number;\n    time: number;\n    velocity: number;\n    moved: boolean;\n  } | null>(null);\n  const suppressClick = useRef(false);\n  const distance = Math.max(\n    80,\n    Math.abs(ctx.sizes.expanded.height - ctx.sizes.compact.height),\n  );\n  const sign = ctx.direction === \"down\" ? 1 : -1;\n  const finish = (\n    event: ReactPointerEvent<HTMLButtonElement>,\n    cancelled: boolean,\n  ) => {\n    const current = drag.current;\n    if (!current || current.id !== event.pointerId) return;\n    drag.current = null;\n    if (event.currentTarget.hasPointerCapture(event.pointerId))\n      event.currentTarget.releasePointerCapture(event.pointerId);\n    if (!current.moved) {\n      ctx.settle(ctx.expanded);\n      return;\n    }\n    suppressClick.current = true;\n    if (cancelled) {\n      ctx.settle(ctx.expanded);\n      return;\n    }\n    const velocity =\n      event.timeStamp - current.time > 100 ? 0 : current.velocity;\n    const next = clamp(ctx.progress.get() + velocity * 0.15) > 0.5;\n    ctx.request(next);\n  };\n  return {\n    onPointerDown(event: ReactPointerEvent<HTMLButtonElement>) {\n      suppressClick.current = false;\n      if (\n        !ctx.gestures ||\n        event.pointerType !== \"touch\" ||\n        !event.isPrimary ||\n        event.currentTarget.disabled ||\n        drag.current\n      )\n        return;\n      ctx.progress.stop();\n      drag.current = {\n        id: event.pointerId,\n        y: event.clientY,\n        start: ctx.progress.get(),\n        lastY: event.clientY,\n        time: event.timeStamp,\n        velocity: 0,\n        moved: false,\n      };\n      event.currentTarget.setPointerCapture(event.pointerId);\n    },\n    onPointerMove(event: ReactPointerEvent<HTMLButtonElement>) {\n      const current = drag.current;\n      if (!current || current.id !== event.pointerId) return;\n      const delta = (event.clientY - current.y) * sign;\n      if (Math.abs(delta) > 5) current.moved = true;\n      const elapsed = event.timeStamp - current.time;\n      if (elapsed > 0)\n        current.velocity =\n          ((event.clientY - current.lastY) * sign) /\n          distance /\n          (elapsed / 1000);\n      current.lastY = event.clientY;\n      current.time = event.timeStamp;\n      if (current.moved && !ctx.reduced)\n        ctx.progress.set(clamp(current.start + delta / distance));\n      // Reduced motion keeps the visual state still but preserves swipe input.\n      if (current.moved && ctx.reduced) current.start = ctx.expanded ? 1 : 0;\n    },\n    onPointerUp(event: ReactPointerEvent<HTMLButtonElement>) {\n      if (ctx.reduced && drag.current?.moved) {\n        const delta = (event.clientY - drag.current.y) * sign;\n        if (Math.abs(delta) > 24) {\n          drag.current = null;\n          suppressClick.current = true;\n          if (event.currentTarget.hasPointerCapture(event.pointerId))\n            event.currentTarget.releasePointerCapture(event.pointerId);\n          ctx.request(delta > 0, true);\n          return;\n        }\n      }\n      finish(event, false);\n    },\n    onPointerCancel(event: ReactPointerEvent<HTMLButtonElement>) {\n      finish(event, true);\n    },\n    onLostPointerCapture(event: ReactPointerEvent<HTMLButtonElement>) {\n      finish(event, true);\n    },\n    consumeClick() {\n      const value = suppressClick.current;\n      suppressClick.current = false;\n      return value;\n    },\n  };\n}\n\nconst focusClass =\n  \"cursor-pointer rounded-md focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring disabled:cursor-not-allowed disabled:opacity-50\";\nfunction ActivityButton({\n  kind,\n  className,\n  style,\n  children,\n  onClick,\n  onPointerDown,\n  onPointerMove,\n  onPointerUp,\n  onPointerCancel,\n  onLostPointerCapture,\n  ...props\n}: ComponentPropsWithoutRef<\"button\"> & {\n  kind: \"trigger\" | \"close\" | \"handle\";\n}) {\n  const ctx = useActivity();\n  const gesture = useGesture();\n  const draggable = kind !== \"close\" && ctx.gestures;\n  return (\n    <button\n      {...props}\n      type=\"button\"\n      data-slot={`live-activity-${kind}`}\n      aria-expanded={ctx.expanded}\n      aria-controls={ctx.panelId}\n      aria-label={\n        props[\"aria-label\"] ??\n        (kind === \"close\"\n          ? \"Collapse activity\"\n          : kind === \"handle\"\n            ? \"Toggle activity details\"\n            : undefined)\n      }\n      className={cn(\n        focusClass,\n        kind === \"handle\" &&\n          \"hidden h-11 w-full items-center justify-center [@media(pointer:coarse)]:flex\",\n        className,\n      )}\n      style={{\n        ...style,\n        touchAction: draggable ? \"pan-x pinch-zoom\" : style?.touchAction,\n      }}\n      onClick={(event) => {\n        if (gesture.consumeClick()) {\n          event.preventDefault();\n          return;\n        }\n        onClick?.(event);\n        if (!event.defaultPrevented)\n          ctx.request(\n            kind === \"close\" ? false : !ctx.expanded,\n            event.detail === 0,\n          );\n      }}\n      onPointerDown={(event) => {\n        onPointerDown?.(event);\n        if (!event.defaultPrevented && draggable) gesture.onPointerDown(event);\n      }}\n      onPointerMove={(event) => {\n        onPointerMove?.(event);\n        if (!event.defaultPrevented && draggable) gesture.onPointerMove(event);\n      }}\n      onPointerUp={(event) => {\n        onPointerUp?.(event);\n        if (draggable) gesture.onPointerUp(event);\n      }}\n      onPointerCancel={(event) => {\n        onPointerCancel?.(event);\n        gesture.onPointerCancel(event);\n      }}\n      onLostPointerCapture={(event) => {\n        onLostPointerCapture?.(event);\n        gesture.onLostPointerCapture(event);\n      }}\n    >\n      {children ??\n        (kind === \"handle\" ? (\n          <span\n            aria-hidden=\"true\"\n            className=\"h-1 w-8 rounded-full bg-current opacity-25\"\n          />\n        ) : kind === \"close\" ? (\n          <span aria-hidden=\"true\">×</span>\n        ) : null)}\n    </button>\n  );\n}\n\nexport function LiveActivityTrigger(props: ComponentPropsWithoutRef<\"button\">) {\n  return <ActivityButton {...props} kind=\"trigger\" />;\n}\nexport function LiveActivityClose(props: ComponentPropsWithoutRef<\"button\">) {\n  return <ActivityButton {...props} kind=\"close\" />;\n}\nexport function LiveActivityHandle(props: ComponentPropsWithoutRef<\"button\">) {\n  return <ActivityButton {...props} kind=\"handle\" />;\n}\n\nconst LiveActivity = {\n  Root: LiveActivityRoot,\n  Surface: LiveActivitySurface,\n  Compact: LiveActivityCompact,\n  Expanded: LiveActivityExpanded,\n  Shared: LiveActivityShared,\n  Trigger: LiveActivityTrigger,\n  Close: LiveActivityClose,\n  Handle: LiveActivityHandle,\n};\nexport default LiveActivity;\n",
      "target": "components/ui/live-activity/live-activity.tsx"
    }
  ],
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "@sona-ui/sona-utils"
  ]
}