// 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 SvgPassport = ({
  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="M12.6667 5.00001V1.75998L2 3.16668L2.00008 16.3333H14V5.00001H12.6667ZM12.6667 5.00001L4 5.00001M8 13.3333C9.47273 13.3333 10.6667 12.1394 10.6667 10.6667C10.6667 9.19395 9.47273 8.00001 8 8.00001M8 13.3333C6.52724 13.3333 5.33333 12.1394 5.33333 10.6667C5.33333 9.19395 6.52724 8.00001 8 8.00001M8 13.3333V8.00001"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
