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

function IconNodataComponent(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-nodata${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : 'none'} viewBox="0 0 300 234" {...rest} ref={ref}><path fill={useCurrentColor ? 'currentColor' : '#97BCFF'} d="M224.026 120.967c.023-.312.116-.564.116-5.881 0-.247-.137-27.455-3.562-39.63-.1.122-.202.238-.307.355.039.098.06.2.063.303 0 1.224-6.555 8.669-18.695 8.669-11.102 0-15.757-5.347-16.517-5.347-.124 0-.509.06-1.201.06-5.102 0-8.52-3.217-8.52-4.45a.992.992 0 0 1 .907-.963.876.876 0 0 1 .368-.072c.175 0 .373.068.856.068 1.368 0 2.529-.648 3.667-1.48a14.725 14.725 0 0 1-1.579-6.562c0-8.21 8.252-17.727 22.655-17.727 1.735 0 3.464.17 5.166.5-11.667-12.913-23.005-17.904-52.828-17.904-.475 0-.979 0-1.508-.002-8.561 0-24.091.236-37.561 8.21 3.983 2.583 3.827 6.643 3.953 8.252-.082 3.736-1.429 8.377-1.429 10.282 0 2.303 1.147 3.687 1.147 4.594 0 .662-.539 1.2-1.201 1.198a.923.923 0 0 1-.212-.026 1.391 1.391 0 0 1-.951.416c-1.613 0-2.834-3.844-2.834-6.059 0-5.27 1.485-7.165 1.485-10.387 0-1.634-.003-4.352-2.716-4.352-1.965 0-4.716 2.546-4.716 8.646v.084a1.25 1.25 0 0 1-1.27 1.273c-1.205 0-1.277-1.166-1.277-1.602V51.3c0-.28.009-.56.025-.832-.809-.366-.907-1.785-.907-2.846 0-.284.012-.566.035-.849-12.305 10.082-27.645 34.693-27.645 60.483 0 1.853.216 2.681.692 4.853 2.587-.874 5.788-1.412 9.75-1.412 12.749 0 24.392 5.739 27.201 6.874 1.543-16.739 1.627-14.035 1.797-16.984.828-14.345 14.86-26.261 32.159-26.261a38.63 38.63 0 0 1 17.958 4.39c18.522 9.668 17.746 26.752 17.806 27.009.119 0 .231.004.343.004.303 0 1.38-.128 3.263-.128 4.763 0 27.721 2.189 34.28 22.415h1.399l.296-6.357c-.17.205-.415.639-.972.639-.324 0-13.161-18.364-29.504-18.364-1.186 0-2.081.178-2.431.178-.189 0-.991-.124-.991-.975 0-.482.208-.818 1.003-1.005a.813.813 0 0 1-.019-.17v-.009c0-.816.821-.839 1.615-.839h.15c.228 0 .456.005.685.005 18.832.226 30.482 17.041 30.482 19.216a.79.79 0 0 1-.121.42c.098.137.149.212.152.212ZM104.923 81.638c-.795 0-2.876-.888-4.419-.888l-.152.002c-.075 1.255.142 3.091-1.916 4.406-.506.336-1.1.518-1.709.52-1.247 0-3.43-.436-3.43-2.977 0-1.023.43-1.596.887-2.126.068-.107.138-.207.21-.303-4.198 1.1-3.998 3.786-5.212 3.786a1.059 1.059 0 0 1-1.021-.86.998.998 0 0 1-.567-.98c0-1.967 3.58-4.883 7.546-4.883 1.718 0 2.2.772 2.692.772.243 0 .97-.31 2.247-.31 1.739 0 4.765.928 5.056 1.944.45.235.718.534.718.92 0 .147-.119.977-.93.977Zm14.793-16.27c.216-.221.51-.352.818-.368a1.114 1.114 0 0 1 1.102 1.086c-.06.478-.282.923-.624 1.266-.226.456-.632.925-1.226.925-.893 0-1.422-.723-1.422-1.573 0-.548.307-1.285 1.352-1.336Zm-6.669 36.699c0 1.998.161 3.513.161 3.55a.83.83 0 0 1-.814.912.676.676 0 0 1-.555-.222 1.194 1.194 0 0 1-.65.24c-.69 0-1.187-.144-1.187-4.438 0-.238.005-.478.005-.715v-.028c0-25.443 23.653-31.711 25.219-31.711a.973.973 0 0 1 .951.997c0 .103-.084.212-.238.327a4.52 4.52 0 0 1 .31-.017.783.783 0 0 1 .614.203.774.774 0 0 1 .249.594c0 1.607-24.065 2.66-24.065 30.308Zm43.352-44.862c-.01.011-.007.032-.021.102.403.04 4.086-.165 4.086 3.65 0 .122-.149 3.374-3.911 3.374-3.194 0-3.8-2.627-3.986-2.723-1.108 1.277-1.858 3.382-1.858 4.014 0 .09.004.189.004.238 0 .573-.347 1.065-.995 1.065a.949.949 0 0 1-.923-.702c-.259-.184-.504-.533-.504-1.195 0-.129.014-.257.045-.38 1.391-5.322 4.221-5.122 4.631-6.394 1.317-4.075 4.816-6.068 6.7-6.068h.007c.156 0 1.023.005 1.473.352.457.08.783.49.758.951 0 1.632-2.784.417-5.506 3.716Z"/><path fill={useCurrentColor ? 'currentColor' : '#41464F'} d="M229.886 127.988c-1.592 0-3.912.028-7.292.028h-.312c-6.559-20.226-29.517-22.415-34.28-22.415-1.883 0-2.96.129-3.263.129-.112 0-.224-.005-.343-.005-.06-.257.716-17.34-17.806-27.01a38.63 38.63 0 0 0-17.958-4.389c-17.299 0-31.331 11.916-32.159 26.261-.17 2.949-.254.245-1.797 16.984-2.809-1.135-14.452-6.874-27.2-6.874-20.14 0-20.6 13.862-20.842 15.2v2.101c7.145 32.032 38.49 42.883 66.476 57.673a.73.73 0 0 0 .347.091c.736 0 3.361-3.848 5.396-5.986 13.72 16.746 20.627 17.863 22.478 17.863 1.21 0 2.629-.693 2.629-2.124 0-2.874-6.2-8.909-6.2-10.727.002-.168.026-.334.07-.494a.652.652 0 0 1 .2-.031c1.625 0 9.198 6.455 14.707 6.455 1.85 0 3.62-.354 3.62-2.574 0-4.617-10.299-9.624-11.369-11.739 2.168.119 9.061 1.355 13.525 1.355 1.827 0 2.949-2.082 2.949-2.807 0-1.664-4.721-4.573-13.567-6.487 2.793-1.531 7.415-2.89 7.415-7.343 0-.773-.298-2.594-2.212-2.594-.091 0-.098.005-.259.005-.067 0-.133-.003-.2-.003-1.334 0-1.732.476-13.963.965-2.163.087-3.261.59-4.163.821 3.088-3.965 3.487-4.27 3.487-4.671 0-5.562-47.217-26.129-47.24-26.138l.033-.089c24.158.042 48.342.087 72.547.129.394 5.976.723 12.426 5.31 12.426 3.777 0 3.446-.701 4.348-1.352.17.205.566.832 3.247.832 2.424 0 3.531-.54 4.191-1.16.767.305 1.247.624 2.214.624 7.04 0 6.798-10.214 6.93-11.3.112 0 .21-.003.301-.003.236 0 5.595.145 5.884.145.755 0 1.116-.128 1.599-.128 2.729 0 14.067.028 14.795.028h.051c.424 0 1.156-.017 1.156-.809 0-.742-.156-.863-3.48-.863Zm-57.033 32.154c.655 0 .809.25.809 1.021 0 4.877-10.107 6.368-10.107 7.946 0 .201.081.392.226.534.142.14.338.217.538.215.087 0 .376-.038.888-.038 3.357 0 11.455 2.499 14.6 5.145-.602 1.17-1.08 1.17-1.728 1.17-3.363 0-11.084-1.324-12.69-1.324-.023 0-.091-.005-.191-.005-.538 0-1.986.101-1.986 1.399 0 2.981 11.506 8.037 11.506 11.895 0 .69-.21.755-.515.811a8.286 8.286 0 0 1-1.515.15c-5.11 0-12.091-6.453-14.891-6.453-1.604 0-1.669 1.679-1.669 2.138 0 2.918 6.189 8.384 6.189 10.722a.39.39 0 0 1-.326.394c-.24.068-.49.108-.739.122-6.42 0-18.194-13.588-21.334-17.229 13.52-17.452 11.22-18.613 32.935-18.613Zm-58.457-32.375c-.161.011-.312.035-.461.035-6.191 0-6.839-.031-6.863-.031-.151 0-.224.124-.566.124-.327 0-.466-.068-3.147-.96.347-.485 4.874-5.18 4.874-6.192a.733.733 0 0 0-.718-.694c-.743 0-.112.175-5.564 5.9a.708.708 0 0 1-.529.263c-.639 0-4.84-1.781-7.566-1.781-3.683 0-6.877 1.706-6.877 4.373 0 2.047 3.06 3.711 5.55 3.711 4.96 0 8.73-4.31 9.487-4.31 7.574 0 46.923 22.221 46.947 22.242-2.779 3.991-6.877 9-6.877 9.613a.69.69 0 0 0 .674.681c.79 0 2.9-3.708 7.305-9.363l6.219 4.027c-1.517 2.052-21.718 27.364-22.986 28.735-1.645-.86-3.254-1.697-4.913-2.564 1.368-1.944 8.645-10.28 8.645-10.914a.683.683 0 0 0-.673-.676c-.767 0-4.103 4.818-9.275 10.881-56.816-25.044-58.732-49.317-58.732-53.324 0-.289.009-.473.009-.543 0-10.333 8.625-14.669 19.09-14.669 12.957 0 25.821 6.396 27.089 7.04l-.142 8.396Zm-14.391-.273c-2.546 2.023-4.819 3.375-7.439 3.375-1.028 0-2.205-.112-3.704-1.517a.756.756 0 0 1-.254-.581c0-1.139 1.737-2.68 5.184-2.68 1.9 0 2.889.403 6.213 1.403Zm72.471-13.072c-.105.923-.518 1.725-1 2.548-.082-.227-.255-.919-.884-.919a.843.843 0 0 0-.827.872c0 .247.095.921.095 1.049 0 .07-.009.147-.014.252-4.606 1.433-3.664-.261-4.329 9.634h-33.389c-.457-4.839-.037-2.634-6.594-4.254-.679-.168-3.916-1.231-4.42-3.28a23.253 23.253 0 0 1-.68-5.615c0-14.9 11.54-22.38 12.778-23 7.781 9.559 13.247 7.498 15.329 8.713a3.488 3.488 0 0 1-1.229.259c-.512 0-.676-.138-.967-.138a.716.716 0 0 0-.529.193.716.716 0 0 0-.222.518c0 .816 1.348.928 1.84.928 1.869 0 2.764-.76 3.461-1.275 6.979 2.848 9.091 9.366 13.695 9.366 1.795 0 1.799-.919 1.799-1.327v-.007c0-.077-.009-.438-.009-1.018 0-12.606 2.783-13.247 3.66-13.247.098 0 .174.007.216.007.343 0 3.159.195 3.39 2.918.079.944.119 1.886.119 2.827 0 1.977-.098 3.436-1.289 13.996Zm34.298 21.918c-.597 2.005-2.401 2.912-4.159 2.912-.638 0-.641-.101-1.156-.257.434-1.513.641-3.081.616-4.652v-.166a47.048 47.048 0 0 0-.658-7.217.724.724 0 0 0-.713-.678c-.676 0-.725.571-.725 1.133 0 1.004.434 2.629.434 6.569 0 4.228-.301 5.815-3.749 5.815-1.3 0-1.86-.093-2.389-.743a1.339 1.339 0 0 1-.34-.874c0-.408.233-.989.233-2.9 0-3.494-.504-5.643-.797-8.121a.743.743 0 0 0-.709-.707c-.716 0-.727.753-.727 1.098 0 .93.62 5.464.62 7.891 0 4.669-1.508 4.914-3.24 4.914-.205 0-.411-.003-.618-.003-3.972 0-3.49-9.604-3.793-11.163-.212-1.089-.655-1.939-3.589-1.939-.168 0-.348.025-.606.044 2.07-2.909 3.482-4.86 16.112-4.86h1.018c6.508 0 10.058.175 10.058 7.394 0 2.224-.491 4.38-1.123 6.51Zm2.692-8.366c-.83-4.331-1.979-7.149-9.578-7.149-.364 0-.487.009-2.503.009h-.394c-10.17 0-10.756 1.01-12.224 1.182-.096-4.869-.317-9.713-.338-14.624 1.296-.084 1.904-.171 3.468-.171 17.805 0 30.637 12.082 32.623 20.753h-11.054Zm-7.189-79.664c-14.403 0-22.655 9.517-22.655 17.727.012 2.28.55 4.527 1.578 6.562-1.137.832-2.298 1.48-3.669 1.48-.48 0-.678-.068-.853-.068a.697.697 0 0 0-.767.702c0 .884 3.003 3.208 5.707 3.208 1.314 0 2.706-.49 3.032-.49.749 0 5.7 6.082 16.965 6.082 10.525 0 22.59-6.546 22.59-17.795 0-9.989-10.389-17.408-21.928-17.408Zm-.664 33.585c-11.098 0-15.597-6.245-16.597-6.245-.506 0-1.638.632-3.305.632a5.337 5.337 0 0 1-2.804-.776c.83-.282 2.037-.439 3.913-2.157a1.03 1.03 0 0 0 .408-.722c0-.536-.51-.616-.802-1.273a12.95 12.95 0 0 1-1.174-5.284c0-8.31 8.701-16.128 20.979-16.128 10.014 0 20.335 6.142 20.335 15.848 0 8.308-8.727 16.105-20.953 16.105Zm-95.629-31.336a1.07 1.07 0 0 0 1.095-1.165c0-.27-.102-.76-.102-1.33 0-3.668 2.408-7.062 6.202-7.062 1.024 0 3.774 1.287 3.774 6.345 0 3.615-1.389 7.503-1.389 10.198 0 1.87.842 5.895 2.452 5.895a1.199 1.199 0 0 0 1.201-1.198c0-.907-1.147-2.291-1.147-4.594 0-1.905 1.347-6.546 1.429-10.283-.126-1.61.03-5.68-3.972-8.265-.753-.485-1.571-.59-2.422-.59-5.294 0-8.462 4.406-8.462 9.112 0 1.226.129 2.937 1.341 2.937Z"/><path fill={useCurrentColor ? 'currentColor' : '#41464F'} d="M111.408 102.382c.114 3.06.005 4.147.986 4.147a.83.83 0 0 0 .813-.912c0-.037-.16-1.552-.16-3.55 0-27.648 24.065-28.701 24.065-30.307a.774.774 0 0 0-.249-.595.782.782 0 0 0-.614-.203c-2.494 0-24.717 4.555-24.841 31.42Zm82.105-1.264c-.229 0-.457-.004-.685-.004h-.15c-.794 0-1.615.023-1.615.839v.009c0 .098.021.802.981.802.14 0 .546-.033 1.282-.033 20.243 0 28.765 18.401 29.879 18.401a.793.793 0 0 0 .79-.797c0-2.175-11.65-18.99-30.482-19.217ZM88.548 83.29a.752.752 0 0 0 .755-.682c0-.245-.126-.324-.126-.53 0-.778 2.93-3.113 5.84-3.113.17 0 .342.011.512.011-.163.394-1.902 1.483-1.902 3.45 0 1.242.723 2.32 1.989 2.32 1.254 0 3.466-1.206 3.466-3.4 0-.603-.156-1.08-.315-1.731.406-.128.83-.191 1.256-.187 2.418 0 3.655 1.25 4.394 1.25a.78.78 0 0 0 .744-.781c0-1.075-3.254-2.1-5.082-2.1-1.277 0-2.004.31-2.244.31-.495 0-.977-.772-2.695-.772-3.965 0-7.546 2.916-7.546 4.884a.99.99 0 0 0 .953 1.072Zm8.58-3.176c.191.359.296.755.306 1.16 0 1.35-1.357 1.826-1.765 1.826-.172 0-.396-.07-.396-.678 0-1 .897-1.88 1.855-2.308Zm52.236-13.694a.781.781 0 0 0 .734-.712c0-.256-.163-.328-.163-.697 0-.037.706-3.011 2.648-4.195.056.216.48 2.697 2.906 2.697 1.527 0 3.455-1.315 3.455-2.835 0-1.312-1.336-2.496-3.606-2.496-.196 0-.396.007-.604.018 1.091-2.68 3.637-4.515 5.184-4.515.28.014.56.047.835.096.569 0 .669-.588.669-.714 0-.874-1.534-.88-1.748-.88h-.007c-1.884 0-5.383 1.992-6.7 6.067-.41 1.273-3.24 1.072-4.631 6.394a1.564 1.564 0 0 0-.045.38c0 1.251.867 1.391 1.073 1.391Zm6.093-6.595c.937 0 1.825.368 1.825.85 0 .54-1.068 1.187-1.793 1.187-1.312 0-1.249-1.426-1.293-1.839a4.367 4.367 0 0 1 1.261-.198ZM141.34 185.846a.847.847 0 0 0-.706-.413.788.788 0 0 0-.79.779c0 3.147 14.622 15.452 20.834 15.452a.807.807 0 0 0 .574-.24.797.797 0 0 0 .23-.576c0-1.228-12.03-2.788-20.142-15.002Zm27.623-49.126.063.002c.226 0 .848-.035.848-.664 0-.653-.657-.674-1.072-.674-1.942 0-31.131.04-31.152.04h-.086c-.012 0-.044-.002-.089-.002-.242 0-.874.049-.874.666 0 .66.667.662 1.087.662h.156c.443 0 2.599.003 10.527.003h4.857v-.033h15.735Zm25.056 7.245c-7.119 0-11.898-.021-15.105-.021-6.287 0-6.534.084-6.534.592l.002.137a.65.65 0 0 0 .532.634c.126.021.254.031.384.028l.189-.002c.268 0 1.683.002 6.569.002h3.559v-.028h3.891c2.221 0 3.783.021 4.881.021 2.287 0 2.552-.098 2.552-.701 0-.639-.629-.662-.92-.662Zm-31.255 13.011c.115.014.229.021.343.021 10.308-1.144 10.315-1.114 10.315-1.979a.784.784 0 0 0-.853-.794c-.394 0-9.157 1.074-9.805 1.198a.788.788 0 0 0 0 1.554ZM119.205 66.42a1.111 1.111 0 0 0 1.119 1.2c.991 0 1.312-1.334 1.312-1.534a1.114 1.114 0 0 0-1.102-1.087c-.571 0-1.238.576-1.329 1.404v.016Zm50.664 41.531c1.028-6.478 1.119-6.949 1.119-7.233a.802.802 0 0 0-.24-.572.803.803 0 0 0-.575-.226c-.921 0-.772.448-2.026 8.425a2.534 2.534 0 0 0-.033.398c0 .564.247.856.728.856a2.06 2.06 0 0 0 .678-.138c.077.229.114.469.112.711 0 1.266-.289 2.942-.289 3.333 0 .159.1.847.811.847.657 0 .813-.735.816-.76.151-.94.24-1.886.261-2.837 0-2.035-.588-2.543-1.362-2.804Zm-29.288-7.035c0-.762-.765-.795-.977-.839-3.606.333-5.257 3.398-5.257 4.286a.775.775 0 0 0 .814.777c.867 0 .657-1.103 1.963-2.306 1.974-1.813 3.457-.524 3.457-1.918Zm9.47 13.38-.002.025c-4.161.189-4.921 2.979-4.921 3.194a.774.774 0 0 0 .786.748c1.091 0 .911-2.27 3.946-2.27.401 0 .893.042 1.173.042.829 0 .89-.646.89-.812 0-.888-1.054-.829-1.872-.927Zm-10.352-8.422c-.764 0-.899 1.198-.899 1.634.004.396.069.79.191 1.17a.742.742 0 0 0 .741.485c.809 0 .774-.977.872-1.695-.194-.958-.156-1.594-.905-1.594Zm5.483 3.191c.736 0 .967-1.051.967-1.786 0-1.086-.55-1.382-.907-1.382-.767 0-.834.695-.834.942 0 .051.005.084.005.086 0 .161.007.324.007.485h-.028c0 .182-.012.368-.012.55 0 1.075.646 1.105.783 1.105h.019Zm49.072-39.275c.096 0 .807-.019.807-.975 0-.023-.056-3.43-.056-3.745 0-.159.018-.317.028-.492.774.396 1.114.57 1.459.57.273 0 .545-.111 1.037-.31v.339c0 .426-.021 2.298-.021 3.245l-.002.118c0 .317.056 1.089.823 1.089.727 0 .832-.55.832-1.772 0-.494-.019-1.097-.019-1.82 0-1.023.021-1.86.021-2.532 0-1.678-.121-2.338-.969-2.338-.898 0-.847.991-1.756 2.303-.934-.51-.993-2.104-2.058-2.104-.436 0-.622.298-.821.394a.897.897 0 0 0-.519.897c0 .85.265 6.019.489 6.632a.77.77 0 0 0 .725.5Zm-6.844-3.13c0 .745.061 4.092 3.049 4.092.565 0 2.681-.16 2.681-1.251 0-.096-.065-.763-.744-.763-.349 0-1.03.378-1.923.378-.704 0-.899-.214-1-.427a4.175 4.175 0 0 1-.387-1.673c.979-.13 2.485-.224 2.485-1.191a.722.722 0 0 0-.725-.718c-.312 0 .133.004-1.781.396v-2.378l.292-.002c.326 0 .769.07 1.179.07.315 0 1.42-.093 1.42-.828 0-.771-.443-.82-2.639-.82h-1.107c-.984 0-1.005.643-1.005.715v.008c0 .461.371.393.371 1.056 0 .319-.166 2.41-.166 3.335Zm12.986-3.79v.398c0 .333-.023 1.284-.023 2.496 0 4.208.07 4.902.951 4.902.226 0 .809-.102.809-1.03 0-.401-.149-2.956-.149-2.98 0-.74 2.482-1.475 2.482-3.519 0-1.172-1.163-2.326-2.636-2.326-.774 0-1.94.408-1.94 1.18.033.351.217.673.506.878Zm1.501-.488c.518 0 .926.427.926.748 0 .31-.259.746-.87 1.182l-.086-1.93h.03Zm9.392 1.135c.543.259.774.6.774 1.098 0 .168-.021.238-.021.315 0 .979-.014 1.764-.014 2.387 0 1.638.103 2.156.842 2.156a.891.891 0 0 0 .876-.925c0-3.287-.154-3.802-.154-4.236 0-1.608 1.923-2.462 1.923-3.317a.727.727 0 0 0-.699-.7c-.431 0-.529.192-2.368 2.12-.588-.301-1.122-.558-1.49-1.105a.626.626 0 0 0-.524-.287.817.817 0 0 0-.483 1.42c.422.391.835.836 1.338 1.074Zm-6.005-.958c.464 0 .504-.312.935-.312.098.002.194.014.287.04v.356c0 1.506-.017 2.7-.017 3.641 0 2.557.124 3.252 1.049 3.252.805 0 1.024-.88 1.024-1.035 0-.506-.399-.41-.413-1.012-.03-1.308-.112-4.543-.112-4.64 0-.127.021-.253.031-.374.31-.026 1.349.07 1.349-.823 0-.61-.597-.797-.867-.816-.713-.044-1.429-.118-2.144-.118-.455 0-1.963.041-1.963.995a.86.86 0 0 0 .841.846Z"/></svg>;
}

const IconNodata = React.forwardRef(IconNodataComponent);
export default IconNodata;
