// 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 SvgWebhook = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2.44755 11.1144C1.94746 11.6145 1.6665 12.2928 1.6665 13C1.6665 13.7072 1.94746 14.3855 2.44755 14.8856C2.94765 15.3857 3.62592 15.6667 4.33317 15.6667C5.04042 15.6667 5.71869 15.3857 6.21879 14.8856C6.71888 14.3855 6.99984 13.7072 6.99984 13H13.6665M11.6665 4.33329C11.6665 3.62605 11.3856 2.94777 10.8854 2.44767C10.3854 1.94758 9.7071 1.66663 8.99984 1.66663C8.29257 1.66663 7.61432 1.94758 7.11422 2.44767C6.61412 2.94777 6.33317 3.62605 6.33317 4.33329C6.33317 5.04054 6.61412 5.71881 7.11422 6.21891C7.31882 6.42351 7.55324 6.59143 7.80724 6.71843L4.33317 13M11.7809 14.8856C12.281 15.3857 12.9593 15.6666 13.6666 15.6666C14.3738 15.6666 15.052 15.3857 15.5522 14.8856C16.0522 14.3855 16.3332 13.7072 16.3332 13C16.3332 12.2927 16.0522 11.6144 15.5522 11.1144C15.052 10.6142 14.3738 10.3333 13.6666 10.3333C13.2486 10.3333 12.8408 10.4314 12.474 10.6148L8.99984 4.33329M9.00057 4.66811C8.8161 4.66811 8.6665 4.51854 8.6665 4.33404C8.6665 4.14953 8.8161 3.99997 9.00057 3.99997C9.18504 3.99997 9.33417 4.14952 9.33417 4.33402C9.33417 4.51852 9.18504 4.66811 9.00057 4.66811ZM4.33391 13.3348C4.1494 13.3348 3.99984 13.1852 3.99984 13.0007C3.99984 12.8162 4.1494 12.6666 4.33391 12.6666C4.51841 12.6666 4.66748 12.8162 4.66748 13.0007C4.66748 13.1852 4.51841 13.3348 4.33391 13.3348ZM13.6672 13.3348C13.4828 13.3348 13.3332 13.1852 13.3332 13.0007C13.3332 12.8162 13.4828 12.6666 13.6672 12.6666C13.8517 12.6666 14.0008 12.8162 14.0008 13.0007C14.0008 13.1852 13.8517 13.3348 13.6672 13.3348Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
