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

function IconNewGeneralDefaultComponent(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-new-general-default${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : 'none'} viewBox="0 0 200 150" {...rest} ref={ref}><path fill={useCurrentColor ? 'currentColor' : '#386FFF'} d="M189.24 77.372a3 3 0 1 1 4.743 3.674 3 3 0 0 1-4.743-3.674ZM10.022 21.748a.77.77 0 0 1 1.275-.396l3.765 3.496a.774.774 0 0 1-.296 1.305l-4.901 1.522a.772.772 0 0 1-.98-.91l1.137-5.017Z"/><path fill={useCurrentColor ? 'currentColor' : '#616161'} d="M172.037 105.769a.311.311 0 0 1 .568.161l.023.518a11.3 11.3 0 0 0 2.739 6.894c.13.15.064.384-.125.443a11.275 11.275 0 0 0-5.948 4.425l-.291.428a.312.312 0 0 1-.569-.161l-.023-.518a11.294 11.294 0 0 0-2.739-6.894.275.275 0 0 1 .126-.443 11.275 11.275 0 0 0 5.948-4.425l.291-.428Z"/><path fill={useCurrentColor ? 'currentColor' : '#727272'} d="M118.685 103.425c7.587-.3 7.587 3.825 7.587 8.325V117c0 3.14.47 5.734 1.769 7.533 1.07 1.481 2.787 2.535 5.592 2.817h-5.041a7.745 7.745 0 0 1-1.892-1.852c-1.486-2.058-1.999-4.797-2.07-7.748h-.01v-6a5.18 5.18 0 0 0-5.183-5.175H54.235v-.15l64.45-3Z"/><path fill={useCurrentColor ? 'currentColor' : '#A4C7FF'} d="M144.226 97.725V123c0 .342-.031.676-.086 1.002 7.373 1.328 11.734 2.969 11.734 4.749-.004 4.418-26.865 7.999-60 7.999-33.134 0-59.996-3.581-60-7.999 0-1.536 3.248-2.971 8.877-4.189A12.002 12.002 0 0 0 54.084 129h75.493l-2.502-4.373a5.993 5.993 0 0 1-.688-1.87l-.171-.908.581.047c.171.645.416 1.291.739 1.921 1.984 3.872 6.137 5.711 9.276 4.108 1.716-.876 2.771-2.6 3.054-4.613.452.064.895.133 1.33.2.015-.169.025-.34.025-.512V95.964l3.005 1.76Zm-18.794-7.982a1.354 1.354 0 0 1 1.605-.176l3.283 1.923a3.007 3.007 0 0 0-2.258.794l-11.208 10.405c-.646.629-1.437.859-2.371.728a2.517 2.517 0 0 1-.974-.326 2.801 2.801 0 0 1-1.226-1.265 3.08 3.08 0 0 1-.217-.555 4.216 4.216 0 0 0 2.156-1.124h.001l11.209-10.404Zm47.137-61.193c.038.393-.008.808-.138 1.243l-19.188 70.649c-.277.857-.859 1.47-1.738 1.845a2.84 2.84 0 0 1-1.446.176 2.984 2.984 0 0 1-1.054-.388l-2.958-1.733a4.497 4.497 0 0 0 2.315-.273l.019-.007.017-.007c1.284-.548 2.226-1.509 2.662-2.856l.004-.014 21.441-68.399.006-.02a5.5 5.5 0 0 0 .058-.216Zm-26.014 70.185c-.022 0-.043 0-.065-.002-.011 0-.021-.003-.032-.004.032.003.065.005.097.006Zm-.252-.022.015.002-.016-.002-.127-.022c.043.009.085.016.128.022Zm1.608-.248v-.001Zm-22.119-10.68h-.001c.077-.016.155-.027.233-.036h.001c-.078.009-.156.02-.233.035Zm16.061-40.695c1.489-.971 3.086.97 1.964 2.231-.036.04-.075.081-.117.12l-9.4 8.769-.003.002 6.924-6.46v-2.256l-14.957 13.951-18.892 12.314a3.01 3.01 0 0 1-3.167.073l-2.972-1.747a4.664 4.664 0 0 0 3.287-.694l36.701-23.921V47.5l.632-.411ZM138.216 24a6.005 6.005 0 0 1 6.01 6v3.98l-3.005 1.225V30c0-3.314-2.691-6-6.01-6h3.005Z"/><path fill={useCurrentColor ? 'currentColor' : '#42464E'} d="M166.421 23.148a4.39 4.39 0 0 1 2.363-.313 4.475 4.475 0 0 1 2.336 1.056l.13.118.009.008.008.007c.634.61 1.105 1.343 1.327 2.197.221.852.166 1.715-.083 2.545l-.006.02-21.44 68.399-.003.006-.002.008c-.436 1.347-1.378 2.308-2.661 2.856l-.019.008-.017.006c-.702.28-1.49.39-2.29.278a4.622 4.622 0 0 1-1.647-.59l-.007-.005-.007-.004-3.191-1.87V123c0 3.19-2.494 5.796-5.642 5.986a.812.812 0 0 1-.368.088c-.126 0-.252 0-.376-.003v.003H53.333c-6.264 0-11.342-5.069-11.342-11.324v-6a5.329 5.329 0 0 1 5.333-5.325h5.258V30c0-3.314 2.69-6 6.01-6h76.619a6.005 6.005 0 0 1 6.01 6v3.422l25.2-10.275v.002ZM47.324 108.075a3.679 3.679 0 0 0-3.681 3.676v6c0 5.343 4.339 9.675 9.69 9.675h75.368a7.74 7.74 0 0 1-2-1.927c-1.487-2.058-2-4.797-2.071-7.748h-.01v-4.5a5.18 5.18 0 0 0-5.183-5.176H47.324Zm87.154 19.335Zm-.671-.045.107.01-.107-.01ZM19.147 87.386c.352-.154.783-.061.993.26 4.342 6.667 11.808 10.904 19.297 10.904a.825.825 0 1 1 0 1.65c-8.069-.001-16.073-4.545-20.711-11.694-.259-.399-.015-.93.42-1.12ZM168.553 24.47a2.738 2.738 0 0 0-1.507.205L85.609 57.883c-1.12.436-1.72 1.267-1.83 2.488-.096 1.268.394 2.195 1.454 2.767l15.217 8.946a3.01 3.01 0 0 0 3.167-.074l36.011-23.47 1.007-.657 1.218-.794c1.538-1.002 3.189 1.1 1.847 2.352l-2.479 2.312-.576.538-29.398 27.423a2.995 2.995 0 0 0-.923 1.774l-2.09 14.85a2.863 2.863 0 0 0 .293 1.74 2.8 2.8 0 0 0 1.225 1.263c.265.163.595.273.976.326.933.13 1.724-.1 2.37-.728l11.208-10.404a3.01 3.01 0 0 1 3.567-.391l11.695 6.852 1.653.968 4.027 2.361c.365.21.716.34 1.054.388a2.84 2.84 0 0 0 1.447-.176c.88-.375 1.46-.988 1.738-1.846l21.441-68.398c.354-1.181.093-2.215-.807-3.08a2.817 2.817 0 0 0-1.568-.743ZM14.349 78.73a2.325 2.325 0 0 1 3.06-1.204l2.75 1.199a2.324 2.324 0 0 1 1.204 3.058l-1.198 2.751a2.325 2.325 0 0 1-3.06 1.203l-2.75-1.197a2.325 2.325 0 0 1-1.203-3.06l1.197-2.75Zm2.401.31a.675.675 0 0 0-.888.348l-1.199 2.75a.676.676 0 0 0 .35.89l2.751 1.198a.676.676 0 0 0 .889-.35l1.197-2.751a.675.675 0 0 0-.349-.889l-2.75-1.197Zm43.458-6.237a5.324 5.324 0 1 1 8.42 6.52 5.324 5.324 0 0 1-8.42-6.52Zm6.46.355a3.675 3.675 0 1 0-4.502 5.811 3.675 3.675 0 0 0 4.502-5.81Zm-23.184-35.14a.825.825 0 1 1 .528 1.563c-4.758 1.604-11.687 4.513-17.42 9.97-5.709 5.434-10.264 13.424-10.264 25.29 0 1.066-1.652 1.266-1.652 0 0-12.35 4.764-20.762 10.775-26.484 5.988-5.7 13.183-8.703 18.033-10.338Zm16.724 16.785a5.324 5.324 0 1 1 8.42 6.52 5.324 5.324 0 0 1-8.42-6.52Zm6.46.355a3.675 3.675 0 1 0-4.502 5.811 3.675 3.675 0 0 0 4.502-5.81Zm74.553-5.688v.024l.085-.079-.085.055ZM60.208 36.803a5.324 5.324 0 1 1 8.42 6.52 5.324 5.324 0 0 1-8.42-6.52Zm6.46.355a3.675 3.675 0 1 0-4.502 5.811 3.675 3.675 0 0 0 4.502-5.81Zm52.769 69.267c3.775 0 6.835 3.056 6.835 6.825V117c0 3.14.47 5.734 1.769 7.533 1.073 1.486 2.798 2.539 5.62 2.817h1.55a4.354 4.354 0 0 0 4.357-4.35V96.91l-12.532-7.343a1.353 1.353 0 0 0-1.604.176l-11.209 10.404-.001-.001c-1.045 1.001-2.35 1.347-3.724 1.155a4.238 4.238 0 0 1-1.533-.51 4.456 4.456 0 0 1-1.927-1.997v-.001a4.508 4.508 0 0 1-.441-2.685l2.09-14.85a4.648 4.648 0 0 1 1.432-2.75l29.449-27.472v-.488L104.52 73.392a4.665 4.665 0 0 1-4.91.113L84.395 64.56v-.001c-.749-.416-1.376-1-1.784-1.777-.415-.789-.545-1.66-.478-2.536l.002-.021c.076-.847.333-1.663.847-2.366.512-.7 1.207-1.19 2.003-1.505l54.584-22.258V30a4.353 4.353 0 0 0-4.357-4.35h-76.62A4.353 4.353 0 0 0 54.235 30v76.425h65.202Z"/></svg>;
}

const IconNewGeneralDefault = React.forwardRef(IconNewGeneralDefaultComponent);
export default IconNewGeneralDefault;
