// 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 SvgPadlockKey = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M3.99992 9.66665V7.33325H14.6666V14.6666H11.6666M6.33325 7.33325V4.33325C6.33325 2.6764 7.67639 1.33325 9.33325 1.33325C10.9901 1.33325 12.3333 2.6764 12.3333 4.33325V7.33325M4.99992 13L3.33325 14.6666H1.33325V11.3333H3.33325L4.99992 13ZM4.99992 13L7.66658 12.9999M7.66658 12.9999H9.66658V15.3332M7.66658 12.9999L7.66659 15.3333"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
