{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "review-03",
  "title": "Autonomy dial",
  "description": "A dial that catches on its stops for how much an agent may do alone, then each tool on its own switch that follows the default or asks to confirm.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/agent-run.json",
    "https://ui.ndekocode.dev/r/badge.json",
    "https://ui.ndekocode.dev/r/button.json",
    "https://ui.ndekocode.dev/r/chat-motion.json",
    "https://ui.ndekocode.dev/r/checkbox.json",
    "https://ui.ndekocode.dev/r/demonstration.json",
    "https://ui.ndekocode.dev/r/icons.json",
    "https://ui.ndekocode.dev/r/live-duration.json",
    "https://ui.ndekocode.dev/r/live-region.json",
    "https://ui.ndekocode.dev/r/motion-word-roll.json",
    "https://ui.ndekocode.dev/r/segments.json",
    "https://ui.ndekocode.dev/r/theme.json",
    "https://ui.ndekocode.dev/r/use-autoplay.json",
    "https://ui.ndekocode.dev/r/use-kept-height.json",
    "https://ui.ndekocode.dev/r/use-prefers-reduced-motion.json",
    "https://ui.ndekocode.dev/r/use-timeouts.json",
    "https://ui.ndekocode.dev/r/utils.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/components/review/review-03.tsx",
      "content": "'use client';\n\nimport {\n  animate,\n  motion,\n  useMotionValue,\n  useTransform,\n  type MotionValue,\n} from 'motion/react';\nimport { useEffect, useId, useImperativeHandle, useRef, useState } from 'react';\n\nimport { WordRoll } from '@/components/core/word-roll';\nimport {\n  useAutoplay,\n  type AutoplayStep,\n} from '@/registry/ndeko/hooks/use-autoplay';\nimport { useKeptHeight } from '@/registry/ndeko/hooks/use-kept-height';\nimport { usePrefersReducedMotion } from '@/registry/ndeko/hooks/use-prefers-reduced-motion';\nimport { useTimeouts } from '@/registry/ndeko/hooks/use-timeouts';\nimport type { RiskLevel } from '@/registry/ndeko/lib/agent-run';\nimport { hold, spokenUnless } from '@/registry/ndeko/lib/demonstration';\nimport { CircleAlertIcon, TriangleAlertIcon } from '@/registry/ndeko/lib/icons';\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { Badge } from '@/registry/ndeko/ui/badge';\nimport { Button } from '@/registry/ndeko/ui/button';\nimport { Fold } from '@/registry/ndeko/ui/chat-motion';\nimport { Checkbox } from '@/registry/ndeko/ui/checkbox';\n\nimport { ClockGate } from '@/registry/ndeko/ui/live-duration';\nimport { LiveRegion } from '@/registry/ndeko/ui/live-region';\nimport { Segments, type Segment } from '@/registry/ndeko/ui/segments';\n\nexport type AutonomyLevel = 'ask' | 'risky' | 'auto';\n\nexport type ToolRule = {\n  id: string;\n  label: string;\n  /** A risky tool never acts on its own without a confirmation, and caps at Ask when risky by default. */\n  risk?: RiskLevel;\n  followsDefault: boolean;\n  level: AutonomyLevel;\n};\n\nexport type AutonomyDialHandle = {\n  /** Glides the knob to a stop, held the way a finger holds it, and lets it catch there. */\n  moveTo: (level: AutonomyLevel) => void;\n};\n\nconst LEVELS: AutonomyLevel[] = ['ask', 'risky', 'auto'];\n\nconst LAST_INDEX = LEVELS.length - 1;\n\n/** A spring just short of settling in one go: the knob runs a hair past its stop and comes back to it. */\nconst CATCH = { type: 'spring', stiffness: 420, damping: 34 } as const;\n\n/** How far a flick carries, in seconds of its release velocity. */\nconst PROJECTION_S = 0.16;\n\n/** Past either end the knob follows the finger at this fraction of the distance. */\nconst EDGE_RESISTANCE = 0.18;\n\n/** How long the knob looks held when it is moved from outside: the time of its glide. */\nconst HELD_MS = 420;\n\nconst STOP_LABEL: Record<AutonomyLevel, string> = {\n  ask: 'Ask every time',\n  risky: 'Ask when risky',\n  auto: 'Act on its own',\n};\n\n/** Short enough to stay on one line at phone width: the sentence rolls word by word. */\nconst LEVEL_SENTENCE: Record<AutonomyLevel, string> = {\n  ask: 'It asks you before every action.',\n  risky: 'It acts alone, asks before risky steps.',\n  auto: 'It acts alone and tells you after.',\n};\n\nconst LEVEL_PHRASE: Record<AutonomyLevel, string> = {\n  ask: 'Asks every time',\n  risky: 'Asks when risky',\n  auto: 'Acts on its own',\n};\n\nconst ROW_SEGMENTS: Segment<AutonomyLevel>[] = [\n  { value: 'ask', label: 'Ask' },\n  { value: 'risky', label: 'If risky' },\n  { value: 'auto', label: 'On its own' },\n];\n\ntype RiskBadge = {\n  label: string;\n  variant: 'success' | 'warning' | 'destructive';\n  icon: React.ReactNode;\n};\n\nconst RISK_BADGE: Record<RiskLevel, RiskBadge> = {\n  low: { label: 'Low risk', variant: 'success', icon: null },\n  medium: {\n    label: 'Medium risk',\n    variant: 'warning',\n    icon: <TriangleAlertIcon />,\n  },\n  high: {\n    label: 'High risk',\n    variant: 'destructive',\n    icon: <CircleAlertIcon />,\n  },\n};\n\nfunction indexOfLevel(level: AutonomyLevel) {\n  return LEVELS.indexOf(level);\n}\n\nfunction levelAt(index: number): AutonomyLevel {\n  const bounded = Math.min(LAST_INDEX, Math.max(0, index));\n  return LEVELS[bounded];\n}\n\nfunction shareOfIndex(index: number) {\n  return index / LAST_INDEX;\n}\n\nfunction percentOfIndex(index: number) {\n  const share = shareOfIndex(index);\n  return share * 100;\n}\n\nfunction nearestIndexOf(share: number) {\n  const position = share * LAST_INDEX;\n  return Math.round(position);\n}\n\n/** The knob travels by transform: its share of the width of the track, which is a size container. */\nfunction knobOffsetOf(share: number) {\n  return `calc(${share} * 100cqw)`;\n}\n\nfunction clampedShare(share: number) {\n  return Math.min(1, Math.max(0, share));\n}\n\nfunction rubberBand(share: number) {\n  if (share < 0) {\n    return share * EDGE_RESISTANCE;\n  }\n  if (share > 1) {\n    const overshoot = share - 1;\n    return 1 + overshoot * EDGE_RESISTANCE;\n  }\n  return share;\n}\n\n/** Sends the knob to a stop with the catch, or puts it there at once when motion is reduced. */\nfunction glideTo(\n  share: MotionValue<number>,\n  target: number,\n  velocity: number,\n  shouldReduceMotion: boolean | null\n) {\n  if (shouldReduceMotion) {\n    share.set(target);\n    return null;\n  }\n  return animate(share, target, { ...CATCH, velocity });\n}\n\nfunction heldScaleOf(isHeld: boolean, shouldReduceMotion: boolean | null) {\n  const canScale = isHeld && !shouldReduceMotion;\n  if (canScale) {\n    return { scale: 1.15 };\n  }\n  return { scale: 1 };\n}\n\nfunction cursorOf(isGrabbing: boolean) {\n  if (isGrabbing) {\n    return 'cursor-grabbing';\n  }\n  return 'cursor-grab';\n}\n\nfunction isRisky(rule: ToolRule) {\n  const isMedium = rule.risk === 'medium';\n  const isHigh = rule.risk === 'high';\n  return isMedium || isHigh;\n}\n\n/** Following the default, a risky tool stays at Ask when risky even when the default lets the agent act alone. */\nfunction effectiveLevelOf(rule: ToolRule, defaultLevel: AutonomyLevel) {\n  if (!rule.followsDefault) {\n    return rule.level;\n  }\n  const isCapped = isRisky(rule) && defaultLevel === 'auto';\n  if (isCapped) {\n    return 'risky';\n  }\n  return defaultLevel;\n}\n\nfunction ruleLineOf(rule: ToolRule, defaultLevel: AutonomyLevel) {\n  const effective = effectiveLevelOf(rule, defaultLevel);\n  const phrase = LEVEL_PHRASE[effective];\n  if (!rule.followsDefault) {\n    return `${phrase}, set for this tool`;\n  }\n  const isCapped = effective !== defaultLevel;\n  if (isCapped) {\n    return `${phrase}, capped for a risky tool`;\n  }\n  return `${phrase}, like the default`;\n}\n\nfunction stopAlignOf(index: number) {\n  if (index === 0) {\n    return 'start-0 text-start';\n  }\n  if (index === LAST_INDEX) {\n    return 'end-0 text-end';\n  }\n  return 'start-1/2 -translate-x-1/2 text-center';\n}\n\nfunction stopToneOf(isCurrent: boolean) {\n  if (isCurrent) {\n    return 'text-foreground';\n  }\n  return 'text-muted-foreground hover:text-foreground';\n}\n\ntype AutonomyDialProps = {\n  value: AutonomyLevel;\n  onValueChange: (level: AutonomyLevel) => void;\n  label: string;\n  handleRef?: React.Ref<AutonomyDialHandle>;\n};\n\nfunction AutonomyDial({\n  value,\n  onValueChange,\n  label,\n  handleRef,\n}: AutonomyDialProps) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const index = indexOfLevel(value);\n  const share = useMotionValue(shareOfIndex(index));\n  const knobX = useTransform(share, knobOffsetOf);\n  const fillScale = useTransform(share, clampedShare);\n  const [isGrabbing, setIsGrabbing] = useState(false);\n  const [isLifted, setIsLifted] = useState(false);\n  const { schedule, clearAll } = useTimeouts();\n  const trackRef = useRef<HTMLDivElement>(null);\n  const knobRef = useRef<HTMLSpanElement>(null);\n  const isDragging = useRef(false);\n  const settling = useRef<ReturnType<typeof animate> | null>(null);\n  const releasedAt = useRef<number | null>(null);\n  const isHeld = isGrabbing || isLifted;\n  const valueText = `${STOP_LABEL[value]}. ${LEVEL_SENTENCE[value]}`;\n\n  useEffect(() => {\n    if (isDragging.current) {\n      return;\n    }\n    const wasReleasedHere = releasedAt.current === index;\n    releasedAt.current = null;\n    // A release already sent the knob to this stop with the speed of the hand: it is left to land.\n    if (wasReleasedHere) {\n      return;\n    }\n    const target = shareOfIndex(index);\n    settling.current?.stop();\n    settling.current = glideTo(share, target, 0, shouldReduceMotion);\n  }, [index, share, shouldReduceMotion]);\n\n  function shareAt(clientX: number) {\n    const track = trackRef.current;\n    if (!track) {\n      return share.get();\n    }\n    const rect = track.getBoundingClientRect();\n    const offset = clientX - rect.left;\n    const raw = offset / rect.width;\n    return rubberBand(raw);\n  }\n\n  function startDrag(event: React.PointerEvent<HTMLDivElement>) {\n    if (event.button !== 0) {\n      return;\n    }\n    event.currentTarget.setPointerCapture(event.pointerId);\n    settling.current?.stop();\n    isDragging.current = true;\n    setIsGrabbing(true);\n    knobRef.current?.focus({ preventScroll: true });\n    share.set(shareAt(event.clientX));\n  }\n\n  function moveDrag(event: React.PointerEvent<HTMLDivElement>) {\n    if (!isDragging.current) {\n      return;\n    }\n    share.set(shareAt(event.clientX));\n  }\n\n  function endDrag() {\n    if (!isDragging.current) {\n      return;\n    }\n    isDragging.current = false;\n    setIsGrabbing(false);\n    const velocity = share.getVelocity();\n    const carried = velocity * PROJECTION_S;\n    const projected = share.get() + carried;\n    const nearest = nearestIndexOf(projected);\n    const level = levelAt(nearest);\n    const stopIndex = indexOfLevel(level);\n    const target = shareOfIndex(stopIndex);\n    releasedAt.current = stopIndex;\n    settling.current = glideTo(share, target, velocity, shouldReduceMotion);\n    onValueChange(level);\n  }\n\n  function moveFromKeys(event: React.KeyboardEvent<HTMLSpanElement>) {\n    const isBack = event.key === 'ArrowLeft' || event.key === 'ArrowDown';\n    const isForward = event.key === 'ArrowRight' || event.key === 'ArrowUp';\n    if (isBack) {\n      event.preventDefault();\n      onValueChange(levelAt(index - 1));\n      return;\n    }\n    if (isForward) {\n      event.preventDefault();\n      onValueChange(levelAt(index + 1));\n      return;\n    }\n    if (event.key === 'Home') {\n      event.preventDefault();\n      onValueChange(levelAt(0));\n      return;\n    }\n    if (event.key === 'End') {\n      event.preventDefault();\n      onValueChange(levelAt(LAST_INDEX));\n    }\n  }\n\n  function moveTo(level: AutonomyLevel) {\n    clearAll();\n    setIsLifted(true);\n    schedule(() => setIsLifted(false), HELD_MS);\n    onValueChange(level);\n  }\n\n  useImperativeHandle(handleRef, () => ({ moveTo }));\n\n  return (\n    <div className='flex flex-col gap-2'>\n      <div\n        onPointerDown={startDrag}\n        onPointerMove={moveDrag}\n        onPointerUp={endDrag}\n        onPointerCancel={endDrag}\n        className={cn(\n          'relative h-8 touch-none px-2.5 select-none',\n          cursorOf(isGrabbing)\n        )}\n      >\n        <div ref={trackRef} className='@container relative h-full'>\n          <span className='bg-foreground/[0.08] absolute inset-x-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full' />\n          <motion.span\n            aria-hidden='true'\n            style={{ scaleX: fillScale }}\n            className='bg-primary/80 absolute inset-x-0 top-1/2 h-1.5 origin-left -translate-y-1/2 rounded-full'\n          />\n          {LEVELS.map((level, stopIndex) => (\n            <span\n              key={level}\n              aria-hidden='true'\n              className='bg-foreground/25 absolute top-1/2 size-1.5 -translate-x-1/2 -translate-y-1/2 rounded-full'\n              style={{ left: `${percentOfIndex(stopIndex)}%` }}\n            />\n          ))}\n          <motion.span\n            ref={knobRef}\n            role='slider'\n            tabIndex={0}\n            aria-label={label}\n            aria-valuemin={0}\n            aria-valuemax={LAST_INDEX}\n            aria-valuenow={index}\n            aria-valuetext={valueText}\n            onKeyDown={moveFromKeys}\n            style={{ x: knobX }}\n            animate={heldScaleOf(isHeld, shouldReduceMotion)}\n            transition={{ duration: 0.12 }}\n            className='bg-card hairline-ring ring-foreground/15 dark:bg-foreground/90 focus-visible:ring-ring focus-visible:ring-offset-background absolute top-1/2 left-0 -mt-2.5 -ml-2.5 size-5 rounded-full shadow-[0_1px_3px_rgb(0_0_0/0.18)] outline-none focus-visible:ring-2 focus-visible:ring-offset-2'\n          />\n        </div>\n      </div>\n      <div className='relative h-5 text-xs'>\n        {LEVELS.map((level, stopIndex) => (\n          <button\n            key={level}\n            type='button'\n            tabIndex={-1}\n            onClick={() => onValueChange(level)}\n            className={cn(\n              'absolute top-0 cursor-pointer whitespace-nowrap transition-[color,scale] duration-150 active:scale-[0.97]',\n              stopAlignOf(stopIndex),\n              stopToneOf(level === value)\n            )}\n          >\n            {STOP_LABEL[level]}\n          </button>\n        ))}\n      </div>\n    </div>\n  );\n}\n\ntype ToolRowProps = {\n  rule: ToolRule;\n  defaultLevel: AutonomyLevel;\n  onChange: (rule: ToolRule) => void;\n};\n\nfunction ToolRow({ rule, defaultLevel, onChange }: ToolRowProps) {\n  const [isConfirming, setIsConfirming] = useState(false);\n  const confirmId = useId();\n  const checkboxId = useId();\n  const effective = effectiveLevelOf(rule, defaultLevel);\n  const line = ruleLineOf(rule, defaultLevel);\n  const risky = isRisky(rule);\n  const riskBadge = riskBadgeOf(rule);\n\n  function pick(level: AutonomyLevel) {\n    const needsConfirm = risky && level === 'auto';\n    if (needsConfirm) {\n      setIsConfirming(true);\n      return;\n    }\n    setIsConfirming(false);\n    onChange({ ...rule, followsDefault: false, level });\n  }\n\n  function confirmAuto() {\n    setIsConfirming(false);\n    onChange({ ...rule, followsDefault: false, level: 'auto' });\n  }\n\n  function cancelAuto() {\n    setIsConfirming(false);\n  }\n\n  function changeFollows(checked: boolean) {\n    setIsConfirming(false);\n    if (checked) {\n      onChange({ ...rule, followsDefault: true });\n      return;\n    }\n    onChange({ ...rule, followsDefault: false, level: effective });\n  }\n\n  return (\n    <div className='flex flex-col gap-2 py-3'>\n      <div className='flex flex-wrap items-center gap-x-2 gap-y-1'>\n        <span className='text-[13px] font-medium'>{rule.label}</span>\n        {riskBadge && (\n          <Badge variant={riskBadge.variant}>\n            {riskBadge.icon}\n            {riskBadge.label}\n          </Badge>\n        )}\n      </div>\n      <div className='flex flex-wrap items-center justify-between gap-x-3 gap-y-2'>\n        <Segments\n          value={effective}\n          segments={ROW_SEGMENTS}\n          onValueChange={pick}\n          label={`${rule.label}: how much it may do on its own`}\n        />\n        <label\n          htmlFor={checkboxId}\n          className='text-muted-foreground flex cursor-pointer items-center gap-2 text-xs'\n        >\n          <Checkbox\n            id={checkboxId}\n            checked={rule.followsDefault}\n            onCheckedChange={changeFollows}\n          />\n          Same as default\n        </label>\n      </div>\n      <p className='text-muted-foreground text-xs'>\n        <WordRoll text={line} value={indexOfLevel(effective)} />\n      </p>\n      <Fold open={isConfirming} id={confirmId}>\n        <div\n          role='group'\n          aria-label={`Confirm that ${rule.label} may act on its own`}\n          className='bg-destructive/10 flex flex-col gap-2.5 rounded-lg p-3'\n        >\n          <p className='text-destructive-ink flex items-start gap-2 text-xs leading-5'>\n            <CircleAlertIcon className='mt-0.5 size-3.5 shrink-0' />\n            {rule.label} on its own means no one checks it before it happens.\n            Some of it cannot be undone.\n          </p>\n          <div className='flex flex-wrap items-center gap-2'>\n            <Button\n              type='button'\n              size='sm'\n              variant='destructive'\n              onClick={confirmAuto}\n            >\n              Let it act on its own\n            </Button>\n            <Button\n              type='button'\n              size='sm'\n              variant='ghost'\n              onClick={cancelAuto}\n            >\n              Keep asking\n            </Button>\n          </div>\n        </div>\n      </Fold>\n    </div>\n  );\n}\n\nfunction riskBadgeOf(rule: ToolRule) {\n  if (!rule.risk) {\n    return null;\n  }\n  if (rule.risk === 'low') {\n    return null;\n  }\n  return RISK_BADGE[rule.risk];\n}\n\nexport type AutonomySettingsProps = {\n  defaultLevel: AutonomyLevel;\n  onDefaultLevelChange: (level: AutonomyLevel) => void;\n  rules: ToolRule[];\n  onRuleChange: (rule: ToolRule) => void;\n  agentName: string;\n  /** Moves the dial from outside, for a demonstration or a control beside it. */\n  dialRef?: React.Ref<AutonomyDialHandle>;\n  className?: string;\n};\n\nexport function AutonomySettings({\n  defaultLevel,\n  onDefaultLevelChange,\n  rules,\n  onRuleChange,\n  agentName,\n  dialRef,\n  className,\n}: AutonomySettingsProps) {\n  const titleId = useId();\n  const levelIndex = indexOfLevel(defaultLevel);\n\n  return (\n    <section\n      aria-labelledby={titleId}\n      className={cn(\n        'bg-card hairline-ring ring-border flex flex-col gap-4 rounded-xl p-4 shadow-[0_1px_2px_rgb(0_0_0/0.04)]',\n        className\n      )}\n    >\n      <header>\n        <h3 id={titleId} className='text-sm font-medium'>\n          What {agentName} may do on its own\n        </h3>\n        <p className='text-muted-foreground text-xs'>\n          The default applies to every tool that follows it.\n        </p>\n      </header>\n      <div className='flex flex-col gap-3'>\n        <AutonomyDial\n          value={defaultLevel}\n          onValueChange={onDefaultLevelChange}\n          label={`Default autonomy of ${agentName}`}\n          handleRef={dialRef}\n        />\n        <p className='bg-foreground/[0.03] rounded-lg px-3 py-2 text-[13px] leading-5'>\n          <WordRoll text={LEVEL_SENTENCE[defaultLevel]} value={levelIndex} />\n        </p>\n      </div>\n      <ul aria-label='Tools' className='flex flex-col gap-1'>\n        {rules.map((rule) => (\n          <li key={rule.id}>\n            <ToolRow\n              rule={rule}\n              defaultLevel={defaultLevel}\n              onChange={onRuleChange}\n            />\n          </li>\n        ))}\n      </ul>\n    </section>\n  );\n}\n\nconst INITIAL_RULES: ToolRule[] = [\n  {\n    id: 'search',\n    label: 'Search the web',\n    followsDefault: true,\n    level: 'risky',\n  },\n  { id: 'read', label: 'Read files', followsDefault: true, level: 'risky' },\n  {\n    id: 'write',\n    label: 'Write files',\n    risk: 'medium',\n    followsDefault: true,\n    level: 'risky',\n  },\n  {\n    id: 'commands',\n    label: 'Run commands',\n    risk: 'high',\n    followsDefault: false,\n    level: 'ask',\n  },\n  {\n    id: 'email',\n    label: 'Send email',\n    risk: 'high',\n    followsDefault: true,\n    level: 'risky',\n  },\n];\n\nfunction ruleAnnouncementOf(rule: ToolRule, defaultLevel: AutonomyLevel) {\n  const line = ruleLineOf(rule, defaultLevel);\n  return `${rule.label}: ${line}`;\n}\n\nconst START_LEVEL: AutonomyLevel = 'risky';\n\nexport default function Review03() {\n  const [defaultLevel, setDefaultLevel] = useState<AutonomyLevel>(START_LEVEL);\n  const [rules, setRules] = useState(INITIAL_RULES);\n  const [message, setMessage] = useState('');\n  const dial = useRef<AutonomyDialHandle>(null);\n\n  function changeDefault(level: AutonomyLevel) {\n    setDefaultLevel(level);\n    setMessage(`Default set to ${STOP_LABEL[level]}`);\n  }\n\n  function changeRule(next: ToolRule) {\n    setRules((current) =>\n      current.map((rule) => {\n        if (rule.id !== next.id) {\n          return rule;\n        }\n        return next;\n      })\n    );\n    setMessage(ruleAnnouncementOf(next, defaultLevel));\n  }\n\n  function resetDemo() {\n    setDefaultLevel(START_LEVEL);\n    setRules(INITIAL_RULES);\n  }\n\n  const steps: AutoplayStep[] = [\n    { after: 1600, run: () => dial.current?.moveTo('auto') },\n    { after: 2400, run: () => dial.current?.moveTo('risky') },\n    { after: 800, run: () => dial.current?.moveTo('ask') },\n    { after: 2400, run: () => dial.current?.moveTo('risky') },\n    { after: 1200, run: hold },\n  ];\n  const { ref, isInView, isAutoplaying } = useAutoplay(steps, {\n    loopAfter: 2600,\n    onReset: resetDemo,\n  });\n\n  useKeptHeight(ref);\n\n  return (\n    <div ref={ref} className='flex w-full max-w-[30rem] flex-col gap-2'>\n      <ClockGate isActive={isInView}>\n        <AutonomySettings\n          agentName='Researcher'\n          defaultLevel={defaultLevel}\n          onDefaultLevelChange={changeDefault}\n          rules={rules}\n          onRuleChange={changeRule}\n          dialRef={dial}\n        />\n      </ClockGate>\n      <LiveRegion message={spokenUnless(isAutoplaying, message)} />\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "review"
  ],
  "type": "registry:component"
}