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

export const IconConnectionGateway16 = 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}
                    d="M13.75.5a2.25 2.25 0 1 1-.606 4.417L12.03 6.03a.8.8 0 0 1-.14.11q.108.287.11.61v2.5q-.002.323-.11.61.075.045.14.11l1.114 1.113a2.25 2.25 0 1 1-1.24.88l-.934-.933a.8.8 0 0 1-.11-.14c-.19.071-.396.11-.61.11h-2.5A1.75 1.75 0 0 1 6 9.25v-.5H4.372a2.251 2.251 0 1 1 0-1.5H6v-.5C6 5.784 6.784 5 7.75 5h2.5q.323.002.61.11a.8.8 0 0 1 .11-.14l.933-.934A2.25 2.25 0 0 1 13.75.5m0 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m-6-6a.25.25 0 0 0-.25.25v2.5c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25v-2.5a.25.25 0 0 0-.25-.25zm-5.5.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5M13.75 2a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"
                />
            </svg>
        );
    }
);
