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

export const IconAzureAksColor24 = 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}
                <path
                    fill="url(#azure-aks-color-24__a)"
                    d="m8.444 3-3.177.589v4.333l3.177.678 3.19-1.278V4.09z"
                />
                <path
                    fill="#341a6e"
                    d="M5.267 3.589v4.333l3.21.678V3.044zm1.355 4-.9-.178V4.078l.9-.145zm1.4.255L6.99 7.678V3.867l1.033-.178z"
                />
                <path
                    fill="url(#azure-aks-color-24__b)"
                    d="m15.322 3.056-3.177.588v4.334l3.177.678 3.178-1.29V4.145z"
                />
                <path
                    fill="#341a6e"
                    d="M12.145 3.644v4.334l3.188.678V3.1zm1.344 4-.9-.177V4.133l.9-.144zm1.4.256-1.033-.167v-3.81l1.033-.19z"
                />
                <path
                    fill="url(#azure-aks-color-24__c)"
                    d="m5.189 8.978-3.178.589V13.9l3.178.678L8.378 13.3v-3.233z"
                />
                <path
                    fill="#341a6e"
                    d="M2 9.567v4.3l3.211.677V8.99zm1.344 4.01-.9-.188v-3.333l.9-.156zm1.412.29L3.722 13.7V9.844l1.034-.177z"
                />
                <path
                    fill="url(#azure-aks-color-24__d)"
                    d="m12.045 8.933-3.178.59v4.333l3.177.688 3.178-1.288v-3.234z"
                />
                <path
                    fill="#341a6e"
                    d="M8.867 9.522v4.345l3.2.677V8.99zm1.344 4.011-.9-.189v-3.333l.9-.155zm1.4.245-1.033-.167V9.8l1.033-.178z"
                />
                <path
                    fill="url(#azure-aks-color-24__e)"
                    d="m18.9 8.989-3.178.589v4.333l3.178.678 3.189-1.278v-3.233z"
                />
                <path
                    fill="#341a6e"
                    d="M15.722 9.578v4.289l3.211.677V8.99zm1.356 4.01-.9-.188v-3.333l.9-.156zm1.4.245-1.034-.166V9.856l1.034-.178z"
                />
                <path
                    fill="url(#azure-aks-color-24__f)"
                    d="m8.367 15.022-3.178.578v4.333l3.178.69 3.189-1.29v-3.222z"
                />
                <path
                    fill="#341a6e"
                    d="M5.189 15.6v4.333l3.211.69v-5.645zm1.356 4.011-.9-.189V16.09l.9-.156zm1.4.256L6.91 19.7v-3.822l1.034-.178z"
                />
                <path
                    fill="url(#azure-aks-color-24__g)"
                    d="m15.233 15.067-3.177.589v4.333l3.177.678 3.19-1.278v-3.233z"
                />
                <path
                    fill="#341a6e"
                    d="M12.056 15.656v4.333l3.21.678V15.11zm1.355 4.01-.9-.188v-3.334l.9-.155zm1.4.245-1.033-.167v-3.81l1.033-.178z"
                />
                <defs>
                    <linearGradient
                        id="azure-aks-color-24__a"
                        x1={2}
                        x2={22.089}
                        y1={11.833}
                        y2={11.833}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-24__b"
                        x1={2}
                        x2={22.089}
                        y1={11.833}
                        y2={11.833}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-24__c"
                        x1={2}
                        x2={22.054}
                        y1={11.833}
                        y2={11.833}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-24__d"
                        x1={2}
                        x2={22.089}
                        y1={11.816}
                        y2={11.816}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-24__e"
                        x1={2}
                        x2={22.089}
                        y1={11.833}
                        y2={11.833}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-24__f"
                        x1={2}
                        x2={22.089}
                        y1={11.833}
                        y2={11.833}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-24__g"
                        x1={2}
                        x2={22.089}
                        y1={11.833}
                        y2={11.833}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                </defs>
            </svg>
        );
    }
);
