// 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 SvgSecurityShield = ({
  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 5.66669V4.00002M8 12.6667V11M10 7.00002V6.33335C10 5.96517 9.70153 5.66669 9.33333 5.66669H6.66667C6.29848 5.66669 6 5.96517 6 6.33335V7.14617C6 7.45208 6.2082 7.71875 6.50497 7.79295L9.495 8.54042C9.7918 8.61462 10 8.88129 10 9.18722V10.3334C10 10.7016 9.70153 11 9.33333 11H6.66667C6.29848 11 6 10.7016 6 10.3334V9.66669M2 1.66669V13L7.99993 16.24L14 13V1.66669H2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
