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

export const IconTransformData24 = 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={color}>
                    <path
                        fillRule="evenodd"
                        d="M5.73 9.137l-.96-.275.014-.05.042-.145a116.732 116.732 0 01.62-2.066c.176-.564.362-1.136.52-1.57.079-.214.154-.407.222-.55.033-.07.072-.146.117-.212a.709.709 0 01.108-.127A.538.538 0 016.774 4c.198 0 .325.11.363.144a.705.705 0 01.108.128c.045.066.083.143.115.212.066.145.14.337.216.552.154.434.334 1.005.504 1.57a102.987 102.987 0 01.598 2.066l.04.144.014.05L8.25 9l-.482.133-.014-.05-.04-.142c-.033-.122-.083-.297-.142-.508l-.06-.206H5.998l-.063.211-.148.508-.041.142-.014.05zm1.392-2.243l.1.333h-.923L6.4 6.9c.125-.398.252-.792.368-1.134.113.34.235.733.354 1.13z"
                        clipRule="evenodd"
                    />
                    <path d="M8.25 9l.482-.134a.5.5 0 01-.964.267L8.25 9zM4.77 8.862a.5.5 0 00.96.275l-.96-.275z" />
                    <path
                        fillRule="evenodd"
                        d="M2 4.75A2.75 2.75 0 014.75 2h4a2.75 2.75 0 012.75 2.75v4a2.75 2.75 0 01-2.75 2.75h-4A2.75 2.75 0 012 8.75v-4zM4.75 3.5c-.69 0-1.25.56-1.25 1.25v4c0 .69.56 1.25 1.25 1.25h4C9.44 10 10 9.44 10 8.75v-4c0-.69-.56-1.25-1.25-1.25h-4z"
                        clipRule="evenodd"
                    />
                    <path d="M17.5 11.25a.75.75 0 001.5 0v-3.5A2.75 2.75 0 0016.25 5h-3.5a.75.75 0 000 1.5h3.5c.69 0 1.25.56 1.25 1.25v3.5zM6.5 12.75a.75.75 0 00-1.5 0v3.5A2.75 2.75 0 007.75 19h3.5a.75.75 0 000-1.5h-3.5c-.69 0-1.25-.56-1.25-1.25v-3.5zM17.762 15.125a.5.5 0 00-1 0v1.299l-1.132-.644a.508.508 0 00-.687.184.492.492 0 00.182.679l1.06.603-1.06.603a.492.492 0 00-.182.678c.14.239.447.321.687.185l1.132-.644v1.307a.5.5 0 101 0v-1.232l1.107.63c.24.137.548.054.688-.184a.492.492 0 00-.182-.678l-1.168-.665 1.168-.665a.492.492 0 00.182-.679.508.508 0 00-.688-.184l-1.107.63v-1.223z" />
                    <path
                        fillRule="evenodd"
                        d="M12.5 15.25a2.75 2.75 0 012.75-2.75h4A2.75 2.75 0 0122 15.25v4A2.75 2.75 0 0119.25 22h-4a2.75 2.75 0 01-2.75-2.75v-4zM15.25 14c-.69 0-1.25.56-1.25 1.25v4c0 .69.56 1.25 1.25 1.25h4c.69 0 1.25-.56 1.25-1.25v-4c0-.69-.56-1.25-1.25-1.25h-4z"
                        clipRule="evenodd"
                    />
                </g>
            </svg>
        );
    }
);
