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

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

    const prefix = prefixFromProps || prefixFromContext || 'hiagent';
    const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
    return <svg className={`${prefix}-icon ${prefix}-icon-homebot-c${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : 'none'} viewBox="0 0 36 36" {...rest} ref={ref}><path fill={useCurrentColor ? 'currentColor' : 'url(#svg_79a7d8ff48__svg_be2e355aeb__a)'} d="M17.83 3.6c1.979-.02 3.839.338 5.58 1.078 1.74.74 3.268 1.746 4.584 3.018a14.095 14.095 0 0 1 3.117 4.504c.761 1.73 1.153 3.584 1.175 5.564.021 1.87-.3 3.633-.963 5.287a14.059 14.059 0 0 1-2.774 4.389 15.19 15.19 0 0 1-4.177 3.149 14.477 14.477 0 0 1-5.172 1.534c-.479.065-.99.12-1.534.163a37.73 37.73 0 0 1-4.03.098 35.256 35.256 0 0 1-2.758-.196c-2.262-.218-3.943-.5-5.042-.849-1.098-.348-1.539-.543-1.321-.587 1.153-.196 2.143-.511 2.97-.946.434-.24.614-.582.538-1.028-.076-.446-.289-.865-.637-1.257-1.11-1.218-2.007-2.638-2.692-4.258-.685-1.621-1.05-3.367-1.093-5.238-.022-1.98.337-3.84 1.077-5.58a14.582 14.582 0 0 1 3.035-4.57 14.367 14.367 0 0 1 4.536-3.1c1.74-.76 3.6-1.152 5.58-1.174Zm-.028 12.56c0 .565.206 1.055.62 1.468.413.413.902.62 1.468.62.588 0 1.082-.207 1.485-.62.402-.413.604-.903.604-1.468 0-.588-.201-1.083-.604-1.485a2.018 2.018 0 0 0-1.485-.604 2.03 2.03 0 0 0-1.468.604c-.414.402-.62.897-.62 1.485Zm-8.093-.033c0 .566.2 1.055.603 1.469.403.413.887.62 1.452.62.588 0 1.083-.207 1.485-.62.403-.414.604-.903.604-1.469a1.98 1.98 0 0 0-.604-1.452 2.018 2.018 0 0 0-1.485-.604 1.98 1.98 0 0 0-1.452.604 1.98 1.98 0 0 0-.603 1.452Z"/><defs><linearGradient id="svg_79a7d8ff48__svg_be2e355aeb__a" x1="3.361" x2="29.919" y1="3.707" y2="34.539" gradientUnits="userSpaceOnUse"><stop stopColor="#1681FF"/><stop offset="1" stopColor="#1B16FF"/></linearGradient></defs></svg>;
}

const IconHomebotC = React.forwardRef(IconHomebotCComponent);
export default IconHomebotC;
