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

export const IconDiscussionCircle24 = 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}
                <g fill={color}>
                    <path
                        fillRule="evenodd"
                        d="M14.256 6a7.253 7.253 0 0 1 6.476 10.51l.002.022q.011.14.078.413c.091.362.243.813.413 1.266a30 30 0 0 0 .651 1.589l.063.14a.75.75 0 0 1-.152.84.755.755 0 0 1-.839.154l-.008-.003-.027-.013-.106-.046c-.092-.04-.227-.1-.386-.167-.323-.136-.76-.315-1.21-.482a13 13 0 0 0-1.267-.413 3 3 0 0 0-.414-.08h-.018A7.25 7.25 0 1 1 14.256 6m0 1.5a5.751 5.751 0 1 0 2.653 10.853c.276-.143.584-.131.751-.117a4 4 0 0 1 .65.119c.44.11.956.287 1.427.462l.132.05-.049-.129a14 14 0 0 1-.463-1.428 4 4 0 0 1-.118-.655c-.014-.172-.024-.476.12-.752A5.753 5.753 0 0 0 14.256 7.5"
                        clipRule="evenodd"
                    />
                    <path d="M9.353 2c1.759 0 3.377.63 4.632 1.674.316.265.36.738.097 1.055a.75.75 0 0 1-1.056.097 5.751 5.751 0 0 0-8.776 7.077c.143.275.132.58.118.752a4 4 0 0 1-.117.655 14 14 0 0 1-.512 1.557c.562-.213 1.188-.429 1.694-.545a.753.753 0 0 1 .898.564.753.753 0 0 1-.563.898c-.535.123-1.301.402-1.961.666-.322.129-.612.251-.819.34l-.243.107-.064.028-.016.007-.004.002a.752.752 0 0 1-.992-.993v-.003l.004-.006.013-.028.046-.104a35 35 0 0 0 .65-1.59c.17-.452.323-.903.414-1.265q.067-.273.078-.413l.001-.021A7.251 7.251 0 0 1 9.353 2" />
                </g>
            </svg>
        );
    }
);
