// 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 SvgStarMedal = ({
  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="M6.33413 1.66675H1.96216L4.88418 9.46515C5.57318 8.17982 6.84669 7.25466 8.34938 7.04507L6.33413 1.66675Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M11.6655 1.66675H16.0375L13.1155 9.46515C12.4265 8.17982 11.153 7.25466 9.65032 7.04507L11.6655 1.66675Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M4.33325 11.6667C4.33325 12.2796 4.45396 12.8864 4.68848 13.4526C4.923 14.0188 5.26675 14.5332 5.70009 14.9666C6.13343 15.3999 6.64788 15.7437 7.21406 15.9782C7.78025 16.2127 8.38708 16.3334 8.99992 16.3334C9.61275 16.3334 10.2196 16.2127 10.7858 15.9782C11.352 15.7437 11.8664 15.3999 12.2997 14.9666C12.7331 14.5332 13.0768 14.0188 13.3114 13.4526C13.5459 12.8864 13.6666 12.2796 13.6666 11.6667C13.6666 11.0539 13.5459 10.4471 13.3114 9.88089C13.0768 9.31471 12.7331 8.80026 12.2997 8.36692C11.8664 7.93358 11.352 7.58983 10.7858 7.35531C10.2196 7.12079 9.61275 7.00008 8.99992 7.00008C8.38708 7.00008 7.78025 7.12079 7.21406 7.35531C6.64788 7.58983 6.13343 7.93358 5.70009 8.36692C5.26675 8.80026 4.923 9.31471 4.68848 9.88089C4.45396 10.4471 4.33325 11.0539 4.33325 11.6667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M9.34992 11.2667L8.99992 10.6667L8.64992 11.2667L7.99992 11.4667L8.44992 11.9167L8.29992 12.6667L8.99992 12.3509L9.69992 12.6667L9.54992 11.9167L9.99992 11.4667L9.34992 11.2667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
