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

function IconNewNoDataComponent(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-no-data${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' : '#616161'} d="M30.937 15.15a.347.347 0 0 1 .637-.171l.318.483A12.592 12.592 0 0 0 38.46 20.5c.21.069.28.33.133.496a12.614 12.614 0 0 0-3.172 7.65l-.033.578a.347.347 0 0 1-.638.17l-.317-.482a12.592 12.592 0 0 0-6.567-5.038.308.308 0 0 1-.133-.497 12.613 12.613 0 0 0 3.171-7.65l.034-.578Zm153.048 108.017a.215.215 0 0 1 .392.115l.013.358a7.813 7.813 0 0 0 1.855 4.785.19.19 0 0 1-.089.306 7.802 7.802 0 0 0-4.141 3.026l-.203.295c-.118.171-.385.092-.393-.115l-.012-.358a7.82 7.82 0 0 0-1.856-4.785.191.191 0 0 1 .09-.306 7.8 7.8 0 0 0 4.14-3.026l.204-.295Z"/><path fill={useCurrentColor ? 'currentColor' : '#A4C7FF'} d="M148.367 124.874c4.783 1.149 7.507 2.469 7.507 3.876 0 4.418-26.863 8-60 8s-60-3.582-60-8c0-1.306 2.348-2.54 6.513-3.629a4.535 4.535 0 0 0 4.464 3.741h97.017a4.533 4.533 0 0 0 4.499-3.988Zm-47.103-21.364a30.997 30.997 0 0 0 10.7 6.49h-36.59a3.5 3.5 0 1 1 0-7h25.353c.176.171.355.342.537.51ZM129.957 24a5.996 5.996 0 0 1 5.992 6v18.91a30.989 30.989 0 0 1 11.077 6.621c11.433 10.593 13.113 27.772 4.612 40.282L159.5 103l-6.455 6.968-7.875-7.198a31.069 31.069 0 0 1-3.76 2.553 31.323 31.323 0 0 0 8.176-9.487l.003-.004c6.836-12.246 4.707-28.015-6.036-37.969a31.09 31.09 0 0 0-7.653-5.22 30.86 30.86 0 0 0-4.445-1.73c-8.156-2.472-17.095-1.508-24.581 2.809 7.101-5.494 16.085-7.517 24.581-5.979V27.75a2.249 2.249 0 0 0-2.247-2.25H65.321a5.966 5.966 0 0 1 3.962-1.5h60.674Z"/><path fill={useCurrentColor ? 'currentColor' : '#386FFF'} d="M15.833 62.352a.749.749 0 0 1 1.239-.384l3.66 3.392a.75.75 0 0 1-.288 1.267l-4.764 1.477a.75.75 0 0 1-.952-.883l1.105-4.869Z"/><path fill={useCurrentColor ? 'currentColor' : '#42464E'} d="M133.104 47.315a31.718 31.718 0 0 1 14.431 7.666c12.908 11.959 13.677 32.119 1.718 45.028-.12.13-.242.259-.365.387l.024 23.932a5.286 5.286 0 0 1-5.284 5.284H46.611a5.284 5.284 0 0 1-5.282-5.283l.047-42.829h.207l-.123-.088 15.689-8.51V27.75c0-2.153 1.744-3.9 3.895-3.9h68.165a3.899 3.899 0 0 1 3.895 3.9v19.565ZM60.928 25.503a2.25 2.25 0 0 0-2.132 2.247V81.5h8.828c1.225 0 2.132.907 2.808 1.86.699.986 1.333 2.287 1.939 3.5.623 1.25 1.222 2.42 1.879 3.28.667.874 1.26 1.25 1.829 1.25h17.11c.184.505.384 1.005.595 1.5H76.079c-1.292 0-2.273-.86-3.02-1.839-.76-.994-1.42-2.297-2.03-3.52-.627-1.259-1.203-2.433-1.819-3.301-.638-.9-1.152-1.23-1.586-1.23H42.873l-.046 41.329a3.785 3.785 0 0 0 3.784 3.783h97.017a3.787 3.787 0 0 0 3.786-3.783l-.022-22.472a31.673 31.673 0 0 1-10.696 6.473 31.05 31.05 0 0 0 8.534-6.5c.094-.101.184-.205.276-.306a30.733 30.733 0 0 0 2.65-2.535c11.396-12.302 10.662-31.512-1.638-42.908-9.661-8.95-23.584-10.418-34.637-4.677a30.909 30.909 0 0 0-9.627 5.58l.257-.284c7.652-8.258 18.659-11.548 28.977-9.714l-.032-.006V27.75a2.25 2.25 0 0 0-2.131-2.247l-.116-.003H61.043l-.115.003Zm39.054 76.746c.413.429.84.851 1.282 1.261l.059.053.207.187H75.374a2.752 2.752 0 0 0-2.75 2.75l.002.142a2.752 2.752 0 0 0 2.748 2.608h34.685a31.015 31.015 0 0 0 4.066 1.431 4.325 4.325 0 0 1-.751.069h-38a4.251 4.251 0 0 1-4.244-4.03l-.005-.22a4.252 4.252 0 0 1 4.25-4.251h24.607Zm6.519-41.852c9.917-10.705 26.634-11.344 37.338-1.427l.495.47c10.227 9.969 10.693 26.334.93 36.872-9.917 10.704-26.633 11.343-37.338 1.427-10.704-9.918-11.343-26.637-1.425-37.342Zm-92.954 9.301c.386.32.851.546 1.357.641-2.013 3.906-3.353 7.671-4.057 11.156-1.343 6.657-.355 12.206 2.553 15.84 2.887 3.606 7.804 5.496 14.707 4.568a.75.75 0 0 1 .2 1.486c-7.272.978-12.774-.993-16.075-5.117-3.28-4.098-4.25-10.154-2.854-17.075.73-3.616 2.11-7.494 4.17-11.499Zm129.275-9.627c-10.098-9.355-25.867-8.753-35.223 1.345-9.354 10.098-8.752 25.867 1.344 35.22 10.098 9.356 25.867 8.753 35.223-1.345l.431-.477c8.761-9.951 8.184-25.047-1.309-34.3l-.466-.444Zm-15.509 29.127c.414.011.68.119.871.266l.086.073.007.007.018.018c.255.23.447.574.478 1.193.027.541-.09.886-.273 1.134l-.083.101-.02.022c-.196.226-.521.424-1.173.457-.538.027-.859-.087-1.075-.247l-.087-.071-.044-.043c-.291-.316-.448-.68-.472-1.16l-.002-.193c.014-.432.153-.744.394-1.01l.022-.027.002-.002.001-.002c.278-.314.619-.487 1.131-.513l.219-.003Zm-.403-23.608a32.391 32.391 0 0 1 3.29.053c1.219.081 2.349.277 3.391.58l.019.006c1.616.47 2.557 1.141 3.066 1.887l.095.15.004.006.008.012.004.006.001.003c.603.961.972 2.168 1.047 3.674.103 2.06-.25 3.614-.93 4.766l-.01.016c-.556.963-1.587 1.781-3.333 2.332l-.358.107c-.486.126-1.008.246-1.564.357a7.873 7.873 0 0 0-1.924.63 3.076 3.076 0 0 0-1.612 1.862l-.049.168a7.167 7.167 0 0 0-.206 1.532c-.024.614-.497 1.132-1.112 1.155a1.11 1.11 0 0 1-1.15-1.05l-.015-.445c-.022-1.007.066-1.8.229-2.406.151-.555.466-1.038 1.014-1.465l.008-.007.002-.002c.592-.466 1.6-.963 3.134-1.436l.021-.007c.938-.29 1.721-.542 2.345-.754l.006-.002.024-.01.013-.004.002-.002h.002c.677-.256 1.298-.561 1.795-.942.268-.204.496-.44.685-.703a.073.073 0 0 1 .107-.011.07.07 0 0 0 .114-.034l.299-1.05v-.003l.009-.034-.003.006.003-.008.114-.43a.02.02 0 0 0-.005-.017.018.018 0 0 1-.005-.015c.097-.55.117-1.155.086-1.784l-.028-.362c-.085-.843-.329-1.65-.821-2.326-.584-.802-1.414-1.28-2.357-1.48h-.002c-.748-.17-1.662-.266-2.707-.305a35.752 35.752 0 0 0-3.1.016 37.81 37.81 0 0 0-2.673.234l-.354.038h-.006a19.92 19.92 0 0 0-2.425.422c-.928.224-1.774.564-2.468 1.067-.869.632-1.361 1.567-1.306 2.678.036.728.279 1.423.639 2.068l.162.274.006.01.016.026.015.02a.39.39 0 0 1-.104.55l-.755.484c-.526.336-1.231.219-1.539-.324a8.511 8.511 0 0 1-.248-.47 7.076 7.076 0 0 1-.684-2.434l-.028-.375c-.028-.571.058-1.196.286-1.882.222-.608.617-1.22 1.237-1.83l.001-.002h.002c.571-.563 1.421-1.078 2.631-1.491l.009-.003c.005 0 .01-.002.015-.004l.008-.003c.884-.318 1.976-.59 3.286-.802l.01-.001.005-.001.013-.002a33.064 33.064 0 0 1 4.139-.457l.464-.02ZM44.444 81.5h5.954l6.75-3.662v-3.23L44.445 81.5Zm137.612-17.06a3.75 3.75 0 1 1 .378 7.49 3.75 3.75 0 0 1-.378-7.49Zm.075 1.498a2.249 2.249 0 1 0 .226 4.492 2.249 2.249 0 0 0-.226-4.492Zm-32.459-48.273c6.995-2.74 14.935-3.592 22.105-1.027 4.188 1.498 7.377 3.832 9.269 6.92 1.899 3.1 2.441 6.877 1.488 11.146-1.895 8.486-9.708 19.01-24.805 30.609a.75.75 0 0 1-.913-1.19c15.017-11.538 22.478-21.788 24.255-29.747.882-3.953.36-7.319-1.302-10.033-1.668-2.724-4.538-4.877-8.496-6.293-6.74-2.41-14.297-1.635-21.055 1.012-2.594 1.016-5.249 2.312-7.59 3.92a.75.75 0 0 1-.847-1.238c2.46-1.69 5.224-3.034 7.891-4.079ZM48.041 35.693a.75.75 0 0 1 .762 1.29c-12.86 7.63-22.266 16.342-28.566 24.853l-1.107-1.025c6.441-8.66 15.984-17.45 28.91-25.118ZM87.635 54.75a1.124 1.124 0 0 1 0 2.25H68.91a1.125 1.125 0 0 1 0-2.25h18.726Zm10.487-10.5a1.125 1.125 0 0 1 0 2.25H68.909a1.125 1.125 0 0 1 0-2.25h29.213Zm13.483-10.5a1.125 1.125 0 0 1 0 2.25H68.909a1.125 1.125 0 0 1 0-2.25h42.696Z"/><path fill={useCurrentColor ? 'currentColor' : '#386FFF'} d="M156.336 102.879a5 5 0 0 1 7.065-.271l10.844 10.046a5 5 0 0 1 .27 7.066l-3.781 4.081a5 5 0 0 1-7.066.269l-10.842-10.046a4.998 4.998 0 0 1-.27-7.065l3.78-4.08Zm-.846 7.097a.749.749 0 1 0-1.019 1.1l12.103 11.213a.75.75 0 1 0 1.02-1.1l-12.104-11.213Z"/></svg>;
}

const IconNewNoData = React.forwardRef(IconNewNoDataComponent);
export default IconNewNoData;
