import React, { ForwardedRef, useContext } from 'react';
import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconArrayPointComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
    const { prefix: prefixFromContext } = useContext(Context);
    const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;

    const prefix = prefixFromProps || prefixFromContext || 'hiagent';
    const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
    return <svg className={`${prefix}-icon ${prefix}-icon-array-point${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 24 24" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M10.8397 5.00012C10.8397 4.38156 11.3411 3.88012 11.9597 3.88012C12.5782 3.88012 13.0797 4.38156 13.0797 5.00012C13.0797 5.61868 12.5782 6.12012 11.9597 6.12012C11.3411 6.12012 10.8397 5.61868 10.8397 5.00012ZM11.9597 2.12012C10.3691 2.12012 9.07968 3.40954 9.07968 5.00012C9.07968 6.5907 10.3691 7.88012 11.9597 7.88012C13.5503 7.88012 14.8397 6.5907 14.8397 5.00012C14.8397 3.40954 13.5503 2.12012 11.9597 2.12012ZM11.9597 10.8801C11.3411 10.8801 10.8397 11.3816 10.8397 12.0001C10.8397 12.6187 11.3411 13.1201 11.9597 13.1201C12.5782 13.1201 13.0797 12.6187 13.0797 12.0001C13.0797 11.3816 12.5782 10.8801 11.9597 10.8801ZM9.07968 12.0001C9.07968 10.4095 10.3691 9.12012 11.9597 9.12012C13.5503 9.12012 14.8397 10.4095 14.8397 12.0001C14.8397 13.5907 13.5503 14.8801 11.9597 14.8801C10.3691 14.8801 9.07968 13.5907 9.07968 12.0001ZM3.9598 19.0001C3.9598 18.3816 4.46124 17.8801 5.0798 17.8801C5.69836 17.8801 6.1998 18.3816 6.1998 19.0001C6.1998 19.6187 5.69836 20.1201 5.0798 20.1201C4.46124 20.1201 3.9598 19.6187 3.9598 19.0001ZM5.0798 16.1201C3.48922 16.1201 2.1998 17.4095 2.1998 19.0001C2.1998 20.5907 3.48922 21.8801 5.0798 21.8801C6.67038 21.8801 7.9598 20.5907 7.9598 19.0001C7.9598 17.4095 6.67038 16.1201 5.0798 16.1201ZM11.9597 17.8801C11.3411 17.8801 10.8397 18.3816 10.8397 19.0001C10.8397 19.6187 11.3411 20.1201 11.9597 20.1201C12.5782 20.1201 13.0797 19.6187 13.0797 19.0001C13.0797 18.3816 12.5782 17.8801 11.9597 17.8801ZM9.07968 19.0001C9.07968 17.4095 10.3691 16.1201 11.9597 16.1201C13.5503 16.1201 14.8397 17.4095 14.8397 19.0001C14.8397 20.5907 13.5503 21.8801 11.9597 21.8801C10.3691 21.8801 9.07968 20.5907 9.07968 19.0001ZM18.9201 17.8801C18.3016 17.8801 17.8001 18.3816 17.8001 19.0001C17.8001 19.6187 18.3016 20.1201 18.9201 20.1201C19.5387 20.1201 20.0401 19.6187 20.0401 19.0001C20.0401 18.3816 19.5387 17.8801 18.9201 17.8801ZM16.0401 19.0001C16.0401 17.4095 17.3296 16.1201 18.9201 16.1201C20.5107 16.1201 21.8001 17.4095 21.8001 19.0001C21.8001 20.5907 20.5107 21.8801 18.9201 21.8801C17.3296 21.8801 16.0401 20.5907 16.0401 19.0001ZM17.8001 12.0001C17.8001 11.3816 18.3015 10.8801 18.9201 10.8801C19.5387 10.8801 20.0401 11.3816 20.0401 12.0001C20.0401 12.6187 19.5387 13.1201 18.9201 13.1201C18.3015 13.1201 17.8001 12.6187 17.8001 12.0001ZM18.9201 9.12012C17.3295 9.12012 16.0401 10.4095 16.0401 12.0001C16.0401 13.5907 17.3295 14.8801 18.9201 14.8801C20.5107 14.8801 21.8001 13.5907 21.8001 12.0001C21.8001 10.4095 20.5107 9.12012 18.9201 9.12012ZM5.0798 10.8801C4.46124 10.8801 3.9598 11.3816 3.9598 12.0001C3.9598 12.6187 4.46124 13.1201 5.0798 13.1201C5.69836 13.1201 6.1998 12.6187 6.1998 12.0001C6.1998 11.3816 5.69836 10.8801 5.0798 10.8801ZM2.1998 12.0001C2.1998 10.4095 3.48922 9.12012 5.0798 9.12012C6.67038 9.12012 7.9598 10.4095 7.9598 12.0001C7.9598 13.5907 6.67038 14.8801 5.0798 14.8801C3.48922 14.8801 2.1998 13.5907 2.1998 12.0001ZM18.9201 3.88012C18.3016 3.88012 17.8001 4.38156 17.8001 5.00012C17.8001 5.61868 18.3016 6.12012 18.9201 6.12012C19.5387 6.12012 20.0401 5.61868 20.0401 5.00012C20.0401 4.38156 19.5387 3.88012 18.9201 3.88012ZM16.0401 5.00012C16.0401 3.40954 17.3296 2.12012 18.9201 2.12012C20.5107 2.12012 21.8001 3.40954 21.8001 5.00012C21.8001 6.5907 20.5107 7.88012 18.9201 7.88012C17.3296 7.88012 16.0401 6.5907 16.0401 5.00012ZM3.9598 5.00012C3.9598 4.38156 4.46124 3.88012 5.0798 3.88012C5.69836 3.88012 6.1998 4.38156 6.1998 5.00012C6.1998 5.61868 5.69836 6.12012 5.0798 6.12012C4.46124 6.12012 3.9598 5.61868 3.9598 5.00012ZM5.0798 2.12012C3.48922 2.12012 2.1998 3.40954 2.1998 5.00012C2.1998 6.5907 3.48922 7.88012 5.0798 7.88012C6.67038 7.88012 7.9598 6.5907 7.9598 5.00012C7.9598 3.40954 6.67038 2.12012 5.0798 2.12012Z"/></svg>;
}

const IconArrayPoint = React.forwardRef(IconArrayPointComponent);
export default IconArrayPoint;
