// 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 SvgMapSearch = ({
  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="M15.3335 15.3333L13.2191 13.2189M14.6668 6.66665V1.33331L10.2224 2.33331M10.2224 2.33331L5.77794 1.33331M10.2224 2.33331L10.2224 6.66667M5.77794 1.33331L1.3335 2.35895V14.6667L5.77794 13.6666V1.33331ZM14.0002 11.3333C14.0002 12.8061 12.8062 14 11.3335 14C9.86076 14 8.66683 12.8061 8.66683 11.3333C8.66683 9.8606 9.86076 8.66667 11.3335 8.66667C12.8062 8.66667 14.0002 9.8606 14.0002 11.3333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
