// 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 SvgPasswordBlock = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M7.66675 6.66667H10.3334M3.44458 6.66667H6.11125M8.33342 11.3333H1.66675V2H16.3334V7M15.4547 13.1213C15.9976 12.5784 16.3334 11.8284 16.3334 11C16.3334 9.34313 14.9903 8 13.3334 8C12.505 8 11.755 8.3358 11.2121 8.87867M15.4547 13.1213C14.9118 13.6642 14.1618 14 13.3334 14C11.6765 14 10.3334 12.6569 10.3334 11C10.3334 10.1716 10.6692 9.4216 11.2121 8.87867M15.4547 13.1213L11.2121 8.87867"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
