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

function IconInvokeMemoryDelComponent(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-invoke-memory-del${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : '#000'} viewBox="0 0 24 24" {...rest} ref={ref}><path d="M13.1987 1.00012C16.6742 1.00012 19.156 2.50654 20.7456 4.50989C22.308 6.47894 22.9995 8.91183 22.9995 10.84C22.9993 14.55 20.0777 18.3743 15.8989 19.5597C16.1113 19.975 16.5362 20.5602 17.2329 21.3282C17.6038 21.7372 17.5732 22.3692 17.1646 22.7404C15.5938 22.9557 15.1877 22.9562 9.81104 22.9562C9.33324 22.9561 8.72392 22.821 8.56201 22.2931C8.11247 20.8272 7.46486 19.8338 6.6792 19.2101C6.19961 18.8294 5.56065 18.742 4.60693 18.6232C4.18059 18.57 3.66273 18.5031 3.18604 18.3439C2.68649 18.1771 2.16555 17.8879 1.77979 17.3497C1.3887 16.804 1.29688 16.186 1.33057 15.6349C1.36374 15.0932 1.52032 14.5537 1.69873 14.0753C1.8791 13.5916 2.10299 13.115 2.30127 12.7013C2.32675 12.6481 2.35218 12.5965 2.37646 12.546C2.53971 12.2062 2.67495 11.9252 2.77295 11.6837C2.72002 11.6259 2.61469 11.5373 2.42822 11.421C2.32057 11.3539 2.20728 11.2906 2.0835 11.2218C2.07373 11.2164 2.06339 11.2109 2.05322 11.2052C1.94578 11.1456 1.81733 11.0736 1.70654 11.004C1.60993 10.9433 1.40136 10.8101 1.24365 10.6066C1.15649 10.494 1.02951 10.2903 1.00439 10.0079C0.976526 9.69469 1.08562 9.42462 1.23682 9.23157C1.40028 9.02297 1.6529 8.84985 1.81982 8.73938C2.03017 8.60018 2.3026 8.43688 2.62842 8.25208C3.20039 7.92766 3.9743 7.51538 4.9458 7.0177C5.36247 5.21135 6.21519 3.72391 7.55615 2.67395C9.0087 1.5367 10.9227 1.00018 13.1987 1.00012ZM11.9038 3.84875C10.6597 3.96073 9.47941 4.43087 8.99365 5.5636L8.98193 5.59192L8.97803 5.60364C8.71557 6.29589 8.60382 6.96575 8.64209 7.56653C8.67917 8.14639 8.8647 8.76251 9.31494 9.23157C9.66896 9.60032 10.0731 9.93752 10.6157 10.2179C10.8642 10.3463 11.1296 10.4571 11.4165 10.5529C11.4497 11.1306 11.6523 11.6354 11.9683 12.0441C12.2104 12.3571 12.5092 12.5998 12.8179 12.7687C12.9284 12.8291 13.0546 12.8871 13.1919 12.9357C12.6864 13.6985 12.3433 14.3717 12.1929 15.1281C12.0496 15.8499 12.518 16.5515 13.2397 16.6954C13.9618 16.8389 14.6642 16.3694 14.8081 15.6476C14.8762 15.3053 15.0594 14.8951 15.73 13.9503C16.1312 13.5564 16.3364 13.4163 16.4517 13.3478C16.5195 13.3074 16.5786 13.2788 16.6909 13.2238L16.7007 13.2189C16.8163 13.1622 16.977 13.0827 17.1636 12.9669C17.4433 12.7933 17.6357 12.532 17.729 12.2413C17.8771 12.2102 18.0219 12.1685 18.1626 12.1163C19.0175 11.799 19.5683 11.1394 19.7271 10.3829C19.9317 9.40616 19.7562 8.45724 19.478 7.75012C19.3386 7.39606 19.158 7.06368 18.9487 6.79407C18.8453 6.66098 18.7123 6.51323 18.5464 6.38489C18.4041 6.27494 18.1043 6.07459 17.6782 6.03918C17.5723 6.0304 17.4477 6.01585 17.3335 5.99524C17.2242 5.71286 17.0327 5.49299 16.8618 5.34387C16.589 5.10595 16.26 4.94344 15.9751 4.83118C15.3944 4.60243 14.6865 4.46267 14.0435 4.4093C13.9688 4.40311 13.9243 4.39424 13.9019 4.38879C13.8909 4.38615 13.8841 4.38388 13.8813 4.38293L13.8784 4.38196C13.8779 4.38171 13.8753 4.38056 13.8696 4.37708C13.8638 4.37344 13.8545 4.36724 13.8403 4.35754C13.8256 4.34742 13.8079 4.33487 13.7847 4.31848L13.7437 4.28918C13.6111 4.19674 13.3656 4.03045 13.0034 3.92786C12.6505 3.82799 12.2843 3.8146 11.9038 3.84875Z"/><path d="M17.729 12.2404C17.6358 12.5314 17.4436 12.7921 17.1636 12.9659C16.9768 13.0819 16.8164 13.1621 16.7007 13.2189L16.6899 13.2238C16.5778 13.2787 16.5195 13.3075 16.4517 13.3478C16.3365 13.4163 16.1314 13.5562 15.73 13.9503C15.059 14.8955 14.8761 15.3052 14.8081 15.6476C14.6644 16.3697 13.962 16.839 13.2397 16.6954C12.5176 16.5516 12.0483 15.8493 12.1919 15.1271C12.3424 14.3708 12.6865 13.6984 13.1919 12.9357C13.4072 13.0118 13.6508 13.0641 13.9077 13.0616C14.5582 13.0555 15.2017 12.9484 15.7593 12.6632C15.9808 12.5499 16.1795 12.4133 16.353 12.255C16.8281 12.3345 17.293 12.3319 17.729 12.2404Z" opacity=".5"/><path fillRule="evenodd" d="M13.0037 3.92802C12.6507 3.82805 12.2845 3.81433 11.9039 3.8485C10.6598 3.96046 9.47949 4.43005 8.99371 5.56281L8.98198 5.5915L8.97759 5.60309C8.71502 6.29549 8.60358 6.96489 8.64186 7.56578C8.67881 8.1459 8.86419 8.76184 9.31466 9.23113C9.66878 9.60006 10.0728 9.93728 10.6156 10.2178C10.8642 10.3462 11.1296 10.4564 11.4166 10.5522C11.4496 11.1304 11.6524 11.6351 11.9686 12.044C12.2107 12.3571 12.5088 12.5997 12.8176 12.7686C13.1016 12.9239 13.4864 13.0659 13.9073 13.062C14.558 13.0558 15.2011 12.9487 15.7588 12.6634C15.9805 12.55 16.1792 12.4131 16.3528 12.2547C16.9895 12.3614 17.608 12.3222 18.1631 12.1162C19.0181 11.7988 19.5683 11.1393 19.7269 10.3826C19.9316 9.40565 19.7564 8.45745 19.4781 7.75029C19.3387 7.3959 19.1584 7.06328 18.9489 6.79349C18.8455 6.66029 18.7123 6.51296 18.5461 6.38454C18.4039 6.27458 18.1043 6.07401 17.6781 6.03865C17.5721 6.02986 17.4481 6.01517 17.3339 5.99454C17.2245 5.71204 17.0332 5.49304 16.8623 5.34392C16.5892 5.10561 16.2599 4.94297 15.9747 4.83064C15.3939 4.60186 14.6864 4.46225 14.0433 4.40889C13.9685 4.40269 13.9243 4.39401 13.9019 4.38857C13.8907 4.38586 13.8843 4.3838 13.8816 4.38289L13.8785 4.38172C13.8785 4.38172 13.8763 4.38074 13.8692 4.37633C13.8633 4.37265 13.8545 4.36689 13.8401 4.357C13.8253 4.34681 13.8079 4.33466 13.7844 4.31812L13.7432 4.28928C13.6107 4.19682 13.366 4.03061 13.0037 3.92802Z" clipRule="evenodd" opacity=".3"/></svg>;
}

const IconInvokeMemoryDel = React.forwardRef(IconInvokeMemoryDelComponent);
export default IconInvokeMemoryDel;
