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

export const IconPhoneOff16 = 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={16}
                height={16}
                fill="none"
                viewBox="0 0 16 16"
                aria-hidden={!title}
                ref={svgRef}
                aria-labelledby={titleId}
                {...props}
            >
                {title ? <title id={titleId}>{title}</title> : null}
                <path
                    fill={color}
                    fillRule="evenodd"
                    d="M13.72 1.22a.751.751 0 0 1 1.06 1.06L8.05 9.012c.403.334.84.633 1.313.92l.52-.519a2.21 2.21 0 0 1 2.327-.496 8.6 8.6 0 0 0 1.885.469h.007a2.206 2.206 0 0 1 1.898 2.238c-.008.317-.002 1.703 0 2.087v.075a2.2 2.2 0 0 1-1.5 2.098c-.291.098-.6.135-.906.107h-.014a15.2 15.2 0 0 1-6.618-2.351c-.751-.487-1.426-.948-2.05-1.49l-2.63 2.63a.75.75 0 0 1-1.061-1.06zm-2.785 9.26-.922.922a.75.75 0 0 1-.9.121c-.743-.421-1.463-.878-2.129-1.447l-1.01 1.01c.518.44 1.1.84 1.802 1.295a13.7 13.7 0 0 0 5.95 2.116l-.066.747.081-.746h-.008a.715.715 0 0 0 .707-.42c.04-.09.06-.188.06-.286l-.001-.071a149 149 0 0 1 0-2.134.706.706 0 0 0-.602-.715l.099-.743-.106.742c-.752-.1-1.493-.284-2.205-.549h-.002a.72.72 0 0 0-.746.158l.001-.003-.53-.53zM4.392 0a2.206 2.206 0 0 1 2.204 1.896v.007c.085.642.243 1.273.47 1.88a2.21 2.21 0 0 1-.498 2.326l-.003.003-.925.924a.75.75 0 0 1-1.062 0 .75.75 0 0 1 .002-1.061l.924-.922a.71.71 0 0 0 .157-.742v-.002a10 10 0 0 1-.55-2.205A.71.71 0 0 0 4.4 1.5H2.208a.72.72 0 0 0-.523.23.7.7 0 0 0-.182.534 13.6 13.6 0 0 0 2.12 5.972.75.75 0 1 1-1.258.817A15.14 15.14 0 0 1 .01 2.416l-.001-.012A2.21 2.21 0 0 1 2.206 0z"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
