// 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 SvgAiGenerateMusicSpark = ({
  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="M8.15384 13.5386C8.15384 14.0146 7.96476 14.4711 7.62819 14.8076C7.29163 15.1442 6.83515 15.3333 6.35917 15.3333C5.8832 15.3333 5.42671 15.1442 5.09015 14.8076C4.75358 14.4711 4.5645 14.0146 4.5645 13.5386C4.5645 13.3029 4.61092 13.0696 4.70111 12.8518C4.79131 12.6341 4.9235 12.4363 5.09015 12.2696C5.2568 12.103 5.45464 11.9708 5.67238 11.8806C5.89012 11.7904 6.12349 11.744 6.35917 11.744C6.59485 11.744 6.82822 11.7904 7.04596 11.8806C7.2637 11.9708 7.46154 12.103 7.62819 12.2696C7.79484 12.4363 7.92704 12.6341 8.01723 12.8518C8.10742 13.0696 8.15384 13.3029 8.15384 13.5386ZM8.15384 13.5386L8.15384 6.05979L15.3333 3.66663L15.3332 11.7433M15.3332 11.7433C15.3332 12.2193 15.1441 12.6757 14.8075 13.0123C14.471 13.3489 14.0145 13.538 13.5385 13.538C13.0625 13.538 12.606 13.3489 12.2695 13.0123C11.9329 12.6757 11.7438 12.2193 11.7438 11.7433C11.7438 11.2673 11.9329 10.8108 12.2695 10.4743C12.606 10.1377 13.0625 9.94863 13.5385 9.94863C14.0145 9.94863 14.471 10.1377 14.8075 10.4743C15.1441 10.8108 15.3332 11.2673 15.3332 11.7433ZM8.15384 8.82056L15.3333 6.42737M0.666504 3.66663C1.99984 3.66663 3.6665 1.99996 3.6665 0.666626C3.6665 1.99996 5.33317 3.66663 6.6665 3.66663C5.33317 3.66663 3.6665 5.33329 3.6665 6.66663C3.6665 5.33329 1.99984 3.66663 0.666504 3.66663Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
