import { forwardRef, useMemo } from 'react';
import { IconProps } from './types';

export const IconSupport24 = forwardRef<SVGSVGElement, IconProps>(
    ({ color = 'currentColor', title, ...props }, svgRef) => {
        const titleId = useMemo(
            () =>
                title
                    ? 'title-' + Math.random().toString(36).substr(2, 9)
                    : undefined,
            [title]
        );
        return (
            <svg
                xmlns="http://www.w3.org/2000/svg"
                width={24}
                height={24}
                fill="none"
                viewBox="0 0 24 24"
                aria-hidden={!title}
                ref={svgRef}
                aria-labelledby={titleId}
                {...props}
            >
                {title ? <title id={titleId}>{title}</title> : null}
                <path
                    fill={color}
                    d="M12 1c3.012 0 5.742 1.21 7.729 3.172q.054.046.1.1A10.97 10.97 0 0 1 23 12c0 3.012-1.21 5.742-3.172 7.729a1 1 0 0 1-.1.1A10.97 10.97 0 0 1 12 23c-3.012 0-5.742-1.21-7.729-3.172a1 1 0 0 1-.1-.1A10.97 10.97 0 0 1 1 12c0-3.012 1.21-5.742 3.172-7.729a1 1 0 0 1 .1-.1A10.97 10.97 0 0 1 12 1m2.966 15.026A4.98 4.98 0 0 1 12 17a4.98 4.98 0 0 1-2.966-.974l-3.2 3.2A9.46 9.46 0 0 0 12 21.5a9.46 9.46 0 0 0 6.166-2.273zM4.773 5.834A9.46 9.46 0 0 0 2.5 12c0 2.353.856 4.507 2.273 6.166l3.2-3.2A4.98 4.98 0 0 1 7 12c0-1.11.362-2.136.974-2.966zm11.253 3.2C16.64 9.864 17 10.89 17 12s-.361 2.136-.974 2.966l3.2 3.2A9.46 9.46 0 0 0 21.5 12a9.46 9.46 0 0 0-2.273-6.166zM12 8.5c-.932 0-1.779.364-2.406.958a.8.8 0 0 1-.136.136A3.5 3.5 0 0 0 8.5 12c0 .932.364 1.779.958 2.406q.076.06.136.136A3.5 3.5 0 0 0 12 15.5c.932 0 1.779-.364 2.406-.958a.8.8 0 0 1 .136-.136A3.5 3.5 0 0 0 15.5 12c0-.932-.364-1.779-.958-2.406a.8.8 0 0 1-.136-.136A3.5 3.5 0 0 0 12 8.5m0-6a9.46 9.46 0 0 0-6.166 2.273l3.2 3.2A4.98 4.98 0 0 1 12 7c1.11 0 2.136.362 2.966.974l3.2-3.2A9.46 9.46 0 0 0 12 2.5"
                />
            </svg>
        );
    }
);
