// 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 SvgDatabaseLock = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13.6665 3.66673C13.6665 4.7713 10.9802 5.66673 7.6665 5.66673C4.3528 5.66673 1.6665 4.7713 1.6665 3.66673M13.6665 3.66673C13.6665 2.56216 10.9802 1.66673 7.6665 1.66673C4.3528 1.66673 1.6665 2.56216 1.6665 3.66673M13.6665 3.66673V7.03632M1.6665 3.66673V10.6667C1.6665 11.7713 4.3528 12.6667 7.6665 12.6667C8.12477 12.6667 8.57104 12.6496 8.99984 12.6172M1.6665 7.00006C1.6665 8.1046 4.3528 9.00006 7.6665 9.00006C8.75677 9.00006 9.77917 8.90313 10.6603 8.73366M11.9998 13V11C11.9998 10.0795 12.746 9.33333 13.6665 9.33333C14.587 9.33333 15.3332 10.0795 15.3332 11V13M10.9998 13H16.3332V16.3333H10.9998V13Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
