// 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 SvgRefreshLocation = ({
  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="M16.3332 3.00002V6.33335H13.3332M1.6665 15V11.6667H4.6665M1.6665 9.00002C1.6665 4.94993 4.94975 1.66669 8.99984 1.66669C12.1092 1.66669 14.7665 3.60178 15.8332 6.33335M16.3332 9.00002C16.3332 13.0501 13.05 16.3334 8.9999 16.3334C5.8906 16.3334 3.23326 14.3983 2.1665 11.6667M5.99984 8.36882C5.99984 10.3924 8.99984 12.5156 8.99984 12.5156C8.99984 12.5156 11.9998 10.3924 11.9998 8.36882C11.9998 6.69237 10.6567 5.33335 8.99984 5.33335C7.34298 5.33335 5.99984 6.69237 5.99984 8.36882ZM8.83317 8.16669H9.1665V8.50002H8.83317V8.16669Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
