{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "megaphone-off",
  "type": "registry:ui",
  "addGlobalCss": false,
  "registryDependencies": [],
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "files": [
    {
      "path": "megaphone-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 MegaphoneOffIconHandle {\n startAnimation: () => void;\n stopAnimation: () => void;\n}\n\ninterface MegaphoneOffIconProps 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 MegaphoneOffIcon = forwardRef<\n MegaphoneOffIconHandle,\n MegaphoneOffIconProps\n>(\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: [29, 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=\"M10.5703 6.5L14.9221 4.41103C16.4493 3.67794 17.2129 3.3114 18.0642 3.5971C18.9156 3.88281 19.2078 4.49586 19.7922 5.72196C21.1971 8.66932 21.3721 11.9657 20.3174 15\" />\n       <path d=\"M7.49609 7.83269C7.21995 7.86593 6.93778 7.85078 6.65284 7.78695C6.28786 7.70519 6.10535 7.66431 5.9584 7.64752C4.13352 7.43913 2.99609 8.88344 2.99609 10.5443V11.4558C2.99609 13.1166 4.13352 14.5609 5.9584 14.3525C6.10535 14.3357 6.28787 14.2948 6.65284 14.2131C7.21053 14.0882 7.7576 14.1497 8.26962 14.3955L14.9223 17.589C16.4495 18.3221 17.2131 18.6886 18.0645 18.4029\" />\n       <path d=\"M12.9961 17V17.5C12.9961 18.7841 12.9961 19.4261 12.7721 19.7886C12.4734 20.2719 11.9272 20.545 11.3614 20.4939C10.937 20.4557 10.4234 20.0704 9.39609 19.3L8.19609 18.4C7.21863 17.6669 6.99609 17.2218 6.99609 16V14.5\" />\n       <path d=\"M7.49609 14V8\" />\n      </m.g>\n      <m.path\n       d=\"M1.99609 2L21.9961 22\"\n       strokeDasharray=\"29\"\n       strokeDashoffset=\"0\"\n       variants={slashVariants}\n      />\n     </m.svg>\n    </m.div>\n   </LazyMotion>\n  );\n },\n);\n\nMegaphoneOffIcon.displayName = \"MegaphoneOffIcon\";\nexport { MegaphoneOffIcon };\n",
      "type": "registry:ui"
    }
  ]
}