// 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 SvgKeyholeShield = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M8 8.66675C7.64638 8.66675 7.30724 8.52627 7.05719 8.27622C6.80714 8.02618 6.66667 7.68704 6.66667 7.33341C6.66667 6.97979 6.80714 6.64065 7.05719 6.39061C7.30724 6.14056 7.64638 6.00008 8 6.00008C8.35362 6.00008 8.69276 6.14056 8.94281 6.39061C9.19286 6.64065 9.33333 6.97979 9.33333 7.33341C9.33333 7.68704 9.19286 8.02618 8.94281 8.27622C8.69276 8.52627 8.35362 8.66675 8 8.66675ZM8 8.66675V11.3334M2 1.66675V13.0001L7.99993 16.2401L14 13.0001V1.66675H2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
