// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-nocheck
import type { VariantProps } from 'class-variance-authority'
import * as React from 'react'
import type { SVGProps } from 'react'
import { iconVariants } from '../../iconVariants'

type Color = VariantProps<typeof iconVariants>['color'] | undefined

export const SvgAiNetworkSpark = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M12.3332 9.99987C12.3332 12.9453 9.94537 15.3332 6.99984 15.3332C4.05432 15.3332 1.6665 12.9453 1.6665 9.99987M12.3332 9.99987C12.3332 7.05433 9.94537 4.66651 6.99984 4.66651C4.05432 4.66651 1.6665 7.05433 1.6665 9.99987M12.3332 9.99987H1.6665M6.33303 4.66667L4.66636 10L6.33303 15.3333M7.49992 15.3333L9.33324 10L7.49984 4.66651M10.9998 3C12.3332 3 13.9998 1.33333 13.9998 0C13.9998 1.33333 15.6665 3 16.9998 3C15.6665 3 13.9998 4.66667 13.9998 6C13.9998 4.66667 12.3332 3 10.9998 3Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
