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

export const IconFolderUsers16 = 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="M6.629 1a2.25 2.25 0 0 1 1.59.66l1.122 1.12c.14.14.331.22.53.22h3.879A2.25 2.25 0 0 1 16 5.25v5.25a.75.75 0 0 1-1.5 0V5.25a.75.75 0 0 0-.75-.75H9.871a2.25 2.25 0 0 1-1.59-.66L7.158 2.72a.75.75 0 0 0-.53-.22H2.25a.75.75 0 0 0-.75.75v9.5c0 .414.336.75.75.75h.25a.75.75 0 0 1 0 1.5h-.25A2.25 2.25 0 0 1 0 12.75v-9.5A2.25 2.25 0 0 1 2.25 1zm2.246 10c.615 0 1.168.297 1.55.76.38.46.575 1.058.575 1.657v.833a.75.75 0 0 1-1.5 0v-.833c0-.285-.095-.535-.231-.701-.134-.162-.28-.216-.394-.216h-2.75c-.114 0-.26.054-.394.216a1.1 1.1 0 0 0-.231.701v.833a.75.75 0 0 1-1.5 0v-.833c0-.6.195-1.197.574-1.656.383-.464.936-.761 1.551-.761zm2.643.589a.75.75 0 0 1 .893-.571c.567.124 1.09.41 1.475.833a2.3 2.3 0 0 1 .614 1.547v.852a.75.75 0 0 1-1.5 0v-.852a.8.8 0 0 0-.224-.538 1.3 1.3 0 0 0-.687-.378.75.75 0 0 1-.571-.893M7.5 5.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m3.02.58a.75.75 0 0 1 .899-.56c.576.133 1.1.439 1.481.884.383.447.6 1.008.6 1.596a2.45 2.45 0 0 1-.6 1.596 2.77 2.77 0 0 1-1.481.884.75.75 0 0 1-.338-1.46c.282-.066.52-.213.68-.4A.95.95 0 0 0 12 8a.95.95 0 0 0-.238-.62 1.27 1.27 0 0 0-.68-.4.75.75 0 0 1-.562-.9M7.5 7a1 1 0 1 0 0 2 1 1 0 0 0 0-2"
                />
            </svg>
        );
    }
);
