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

function IconDeepseekComponent(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-deepseek${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 1391 1024" xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M980.736 172.527c-8.79-4.396-12.585 3.983-17.72 8.241-1.75 1.374-3.244 3.16-4.738 4.808-12.844 14.01-27.85 23.214-47.476 22.115-28.674-1.648-53.159 7.555-74.794 29.945-4.601-27.61-19.883-44.093-43.148-54.67-12.191-5.494-24.485-10.989-33.019-22.94-5.94-8.516-7.555-17.994-10.542-27.334-1.889-5.632-3.778-11.401-10.13-12.363-6.92-1.099-9.616 4.808-12.329 9.753-10.817 20.192-15.024 42.445-14.595 64.972 0.928 50.687 21.91 91.071 63.565 119.78 4.739 3.296 5.958 6.593 4.464 11.4-2.833 9.89-6.233 19.506-9.203 29.396-1.89 6.319-4.722 7.692-11.367 4.945-22.854-9.753-42.6-24.176-60.062-41.62-29.618-29.259-56.404-61.539-89.8-86.813a394.916 394.916 0 0 0-23.815-16.621c-34.083-33.791 4.464-61.538 13.393-64.835 9.323-3.434 3.245-15.247-26.923-15.11s-57.761 10.44-92.926 24.176c-5.15 2.06-10.56 3.571-16.088 4.808-31.937-6.182-65.075-7.555-99.708-3.572-65.195 7.418-117.273 38.874-155.562 92.582-45.982 64.56-56.817 137.912-43.544 214.422 13.908 80.632 54.24 147.39 116.191 199.587 64.251 54.12 138.238 80.632 222.647 75.55 51.27-3.023 108.344-10.028 172.732-65.66 16.243 8.242 33.293 11.539 61.556 14.011 21.789 2.06 42.754-1.099 58.98-4.533 25.429-5.494 23.66-29.533 14.474-33.928-74.536-35.44-58.173-21.017-73.042-32.692 37.877-45.742 94.951-93.27 117.273-247.252 1.768-12.225 0.274-19.917 0-29.807-0.138-6.044 1.201-8.38 7.984-9.066 18.664-2.198 36.796-7.418 53.434-16.758 48.282-26.923 67.77-71.154 72.372-124.176 0.687-8.104-0.137-16.483-8.534-20.741M559.911 649.722c-72.218-57.967-107.263-77.06-121.737-76.236-13.53 0.824-11.092 16.621-8.122 26.923 3.108 10.165 7.177 17.17 12.86 26.099 3.916 5.907 6.629 14.698-3.931 21.291-23.266 14.698-63.702-4.945-65.59-5.906-47.081-28.297-86.453-65.66-114.183-116.758-26.785-49.176-42.324-101.923-44.9-158.241-0.687-13.599 3.245-18.407 16.484-20.88a159.683 159.683 0 0 1 52.901-1.373c73.73 10.99 136.504 44.643 189.113 97.94 30.031 30.356 52.747 66.62 76.167 102.06 24.88 37.636 51.666 73.488 85.749 102.883 12.036 10.302 21.634 18.132 30.837 23.901-27.73 3.16-74.003 3.846-105.648-21.703m34.632-227.334c0-6.044 4.74-10.852 10.697-10.852q2.026 0.035 3.64 0.687a10.766 10.766 0 0 1 6.903 10.165 10.714 10.714 0 0 1-10.68 10.852 10.594 10.594 0 0 1-10.56-10.852m107.538 56.318c-6.886 2.885-13.788 5.358-20.433 5.632-10.268 0.55-21.497-3.708-27.575-8.928-9.478-8.105-16.244-12.638-19.077-26.786-1.219-6.044-0.55-15.384 0.533-20.741 2.438-11.539-0.275-18.956-8.242-25.687-6.49-5.495-14.75-7.006-23.815-7.006-3.383 0-6.49-1.51-8.791-2.747a9.014 9.014 0 0 1-3.915-12.637c0.944-1.923 5.546-6.594 6.628-7.418 12.31-7.143 26.51-4.807 39.628 0.55 12.174 5.082 21.36 14.423 34.633 27.61 13.53 15.934 15.968 20.33 23.66 32.28 6.096 9.34 11.642 18.956 15.42 29.944 2.317 6.869-0.67 12.5-8.654 15.934" fill={useCurrentColor ? 'currentColor' : '#4D6BFE'}/></svg>;
}

const IconDeepseek = React.forwardRef(IconDeepseekComponent);
export default IconDeepseek;
