{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "bot-off",
  "type": "registry:ui",
  "addGlobalCss": false,
  "registryDependencies": [],
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "files": [
    {
      "path": "bot-off-icon.tsx",
      "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport type { Variants } from \"motion/react\";\nimport {\n LazyMotion,\n domMin,\n m,\n useAnimation,\n useReducedMotion,\n} from \"motion/react\";\nimport {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useRef,\n type HTMLAttributes,\n} from \"react\";\nexport interface BotOffIconHandle {\n startAnimation: () => void;\n stopAnimation: () => void;\n}\n\ninterface BotOffIconProps extends Omit<\n HTMLAttributes<HTMLDivElement>,\n | \"color\"\n | \"onDrag\"\n | \"onDragStart\"\n | \"onDragEnd\"\n | \"onAnimationStart\"\n | \"onAnimationEnd\"\n | \"onAnimationIteration\"\n> {\n size?: number;\n duration?: number;\n isAnimated?: boolean;\n color?: string;\n}\n\nconst BotOffIcon = forwardRef<BotOffIconHandle, BotOffIconProps>(\n (\n  {\n   onMouseEnter,\n   onMouseLeave,\n   className,\n   size = 24,\n   duration = 1,\n   isAnimated = true,\n   color,\n   ...props\n  },\n  ref,\n ) => {\n  const controls = useAnimation();\n  const reduced = useReducedMotion();\n  const isControlled = useRef(false);\n\n  useImperativeHandle(ref, () => {\n   isControlled.current = true;\n   return {\n    startAnimation: () =>\n     reduced ? controls.start(\"normal\") : controls.start(\"animate\"),\n    stopAnimation: () => controls.start(\"normal\"),\n   };\n  });\n\n  const handleEnter = useCallback(\n   (e?: React.MouseEvent<HTMLDivElement>) => {\n    if (!isAnimated || reduced) return;\n    if (!isControlled.current) controls.start(\"animate\");\n    else onMouseEnter?.(e as any);\n   },\n   [controls, reduced, isAnimated, onMouseEnter],\n  );\n\n  const handleLeave = useCallback(\n   (e?: React.MouseEvent<HTMLDivElement>) => {\n    if (!isControlled.current) controls.start(\"normal\");\n    else onMouseLeave?.(e as any);\n   },\n   [controls, onMouseLeave],\n  );\n\n  const bodyVariants: Variants = {\n   normal: { opacity: 1 },\n   animate: {\n    opacity: [1, 0.4, 1],\n    transition: { duration: 0.7 * duration, ease: \"easeInOut\" },\n   },\n  };\n\n  const slashVariants: Variants = {\n   normal: { strokeDashoffset: 0 },\n   animate: {\n    strokeDashoffset: [30, 0],\n    transition: {\n     duration: 0.45 * duration,\n     ease: \"easeInOut\",\n     delay: 0.1 * duration,\n    },\n   },\n  };\n\n  return (\n   <LazyMotion features={domMin} strict>\n    <m.div\n     className={cn(\"inline-flex items-center justify-center\", className)}\n     onMouseEnter={handleEnter}\n     onMouseLeave={handleLeave}\n     {...props}\n     style={{ color, ...props.style }}\n    >\n     <m.svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      strokeWidth=\"2\"\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      animate={controls}\n      initial=\"normal\"\n     >\n      <m.g variants={bodyVariants}>\n       <path d=\"M18.5 18.7071C17.8984 18.9995 16.9958 18.9995 15.5 18.9995H12.6304C12.3177 18.9995 12.1613 18.9995 12.0146 19.0458C11.8678 19.0921 11.7397 19.1817 11.4835 19.3611L9.86731 20.4924C8.74196 21.2802 8.17928 21.674 7.71769 21.5382C7.59333 21.5016 7.47728 21.4412 7.37599 21.3603C7 21.06 7 20.3732 7 18.9995C6.53534 18.9995 6.30302 18.9995 6.10982 18.9611C5.31644 18.8033 4.69624 18.1831 4.53843 17.3897C4.5 17.1965 4.5 16.9642 4.5 16.4995V11.9995C4.5 10.1139 4.5 9.17111 5.08579 8.58532C5.61733 8.05377 6.44285 8.00456 8 8\" />\n       <path d=\"M19.4957 16C19.5 15.6996 19.5 15.3677 19.5 15V12C19.5 10.1144 19.5 9.17157 18.9142 8.58579C18.3284 8 17.3856 8 15.5 8H12\" />\n       <path d=\"M12 8V5\" />\n       <path d=\"M4.50098 16H4.00098C3.05817 16 2.58676 16 2.29387 15.7071C2.00098 15.4142 2.00098 14.9428 2.00098 14V12.5C2.00098 12.0341 2.00098 11.8011 2.0771 11.6173C2.17859 11.3723 2.37327 11.1776 2.61829 11.0761C2.80206 11 3.03504 11 3.50098 11H4.50098\" />\n       <path d=\"M19.4971 11H19.9971C20.9399 11 21.4113 11 21.7042 11.2929C21.9971 11.5858 21.9971 12.0572 21.9971 13V14C21.9971 14.9428 21.9971 15.4142 21.7042 15.7071C21.4113 16 20.9399 16 19.9971 16H19.4971\" />\n       <path d=\"M13.5 3.5C13.5 4.32843 12.8284 5 12 5C11.1716 5 10.5 4.32843 10.5 3.5C10.5 2.67157 11.1716 2 12 2C12.8284 2 13.5 2.67157 13.5 3.5Z\" />\n       <path d=\"M9 11.5V12.5\" />\n       <path d=\"M10 15.5C10 15.5 10.6667 16 12 16C13.3333 16 14 15.5 14 15.5\" />\n      </m.g>\n      <m.path\n       d=\"M2 2L22 22\"\n       strokeDasharray=\"30\"\n       strokeDashoffset=\"0\"\n       variants={slashVariants}\n      />\n     </m.svg>\n    </m.div>\n   </LazyMotion>\n  );\n },\n);\n\nBotOffIcon.displayName = \"BotOffIcon\";\nexport { BotOffIcon };\n",
      "type": "registry:ui"
    }
  ]
}