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

export const IconVaultSecretsSquareColor24 = 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="#FFCF25">
                <path d="M11.196 16.083V19h1.608v-6.207H19v-1.586h-2.912c-.675 0-1.35.046-2.026.14l-.63.07.49-.397c.536-.42 1.048-.863 1.537-1.353l2.027-2.054-1.118-1.12-2.05 2.054a16.81 16.81 0 00-1.351 1.54l-.396.49.07-.63c.093-.677.14-1.354.14-2.03V5h-1.585v6.207H5v1.586h2.912c.675 0 1.35-.046 2.026-.14l.63-.07-.49.397c-.536.42-1.048.863-1.537 1.353l-2.05 2.054 1.118 1.12 2.05-2.054c.49-.49.932-1.003 1.351-1.54l.396-.49-.07.63a14.86 14.86 0 00-.14 2.03z" />
                <path d="M14.341 14.357v1.12l2.027 2.03 1.118-1.12-2.027-2.03h-1.118zM6.49 7.613l2.027 2.03h1.119v-1.12l-2.027-2.03-1.118 1.12z" />
                <path
                    fillRule="evenodd"
                    d="M0 3.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C1.52 0 2.08 0 3.2 0h17.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C24 1.52 24 2.08 24 3.2v17.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C22.48 24 21.92 24 20.8 24H3.2c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C0 22.48 0 21.92 0 20.8V3.2zM3.2 1h17.6c.577 0 .949 0 1.232.024.272.022.372.06.422.085a1 1 0 01.437.437c.025.05.063.15.085.422C23 2.25 23 2.623 23 3.2v17.6c0 .577 0 .949-.024 1.232-.022.272-.06.372-.085.422a1 1 0 01-.437.437c-.05.025-.15.063-.422.085C21.75 23 21.377 23 20.8 23H3.2c-.577 0-.949 0-1.232-.024-.272-.022-.373-.06-.422-.085a1 1 0 01-.437-.437c-.025-.05-.063-.15-.085-.422C1 21.75 1 21.377 1 20.8V3.2c0-.577 0-.949.024-1.232.022-.272.06-.373.085-.422a1 1 0 01.437-.437c.05-.025.15-.063.422-.085C2.25 1 2.623 1 3.2 1z"
                    clipRule="evenodd"
                />
            </g>
        </svg>
    );
});
