// 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 SvgClockSetting = ({
  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="M8.00008 4.33335V9.00002H11.3334M2.81455 14.1855C2.36716 13.7381 1.98354 13.2388 1.66956 12.7018L1.62911 12.6318C1.30101 12.0562 1.05225 11.4385 0.889893 10.7957L2.10009 10.097C2.03439 9.74135 2.00005 9.37469 2.00005 9.00002C2.00005 8.62535 2.03439 8.25869 2.10009 7.90302L0.889893 7.20433C1.05233 6.56125 1.30125 5.94325 1.62957 5.36743L1.66908 5.299C1.98315 4.76171 2.36693 4.26219 2.81455 3.81457C2.83952 3.7896 2.86465 3.76483 2.88994 3.74026L4.10099 4.43946C4.65561 3.96484 5.29783 3.58963 6.00005 3.34143V1.94465C6.64508 1.76179 7.31761 1.66669 8.00001 1.66669C8.68241 1.66669 9.35501 1.7618 10 1.94468V3.34143C10.7023 3.58964 11.3445 3.96486 11.8991 4.4395L13.1101 3.74033C13.1354 3.76488 13.1605 3.78963 13.1855 3.81457C14.1289 4.75807 14.7888 5.93219 15.1101 7.20444L13.9 7.90309C13.9657 8.25875 14 8.62535 14 9.00002C14 9.37469 13.9657 9.74129 13.9 10.097L15.1101 10.7956C14.7888 12.0678 14.1289 13.242 13.1855 14.1855C13.1605 14.2104 13.1354 14.2352 13.1101 14.2597L11.8991 13.5606C11.3445 14.0352 10.7023 14.4104 10 14.6586V16.0554C9.35501 16.2382 8.68241 16.3334 8.00001 16.3334C7.31761 16.3334 6.64508 16.2382 6.00005 16.0554V14.6586C5.29783 14.4104 4.65561 14.0352 4.10099 13.5606L2.88993 14.2598C2.86465 14.2352 2.83952 14.2104 2.81455 14.1855Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
