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

function IconAgentVoiceInterruptionTurnonComponent(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-agent_voice_interruption_turnon${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 16 16" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M7.91699 4.33301C7.91682 3.45871 7.20735 2.75 6.33301 2.75 5.45881 2.75018 4.75018 3.45882 4.75 4.33301 4.75 5.20735 5.4587 5.91682 6.33301 5.91699 7.20746 5.91699 7.91699 5.20746 7.91699 4.33301zM9.41699 4.33301C9.41699 6.03589 8.03589 7.41699 6.33301 7.41699 4.63028 7.41682 3.25 6.03578 3.25 4.33301 3.25018 2.63039 4.63039 1.25018 6.33301 1.25 8.03578 1.25 9.41682 2.63028 9.41699 4.33301zM11.6943 6.28392C11.5375 6.66729 11.0992 6.85091 10.7158 6.69407 10.3328 6.53722 10.1492 6.09972 10.3057 5.71653L11.6943 6.28392zM10.665 1.99583C11.0355 1.81089 11.4857 1.96141 11.6709 2.33177L11.6719 2.33274V2.33372C11.6723 2.33459 11.6733 2.33562 11.6738 2.33665 11.675 2.33897 11.6763 2.34237 11.6777 2.34544 11.6807 2.3515 11.6843 2.35897 11.6885 2.3679 11.6969 2.38613 11.708 2.41041 11.7207 2.44016 11.7461 2.49961 11.779 2.58177 11.8145 2.68431 11.8853 2.88895 11.9677 3.1778 12.0225 3.53099 12.1322 4.2384 12.1318 5.21456 11.6943 6.28392L11 5.99974 10.3057 5.71653C10.6182 4.95267 10.6178 4.26135 10.54 3.76048 10.5011 3.50989 10.4428 3.30934 10.3965 3.17552 10.3734 3.10879 10.3535 3.05877 10.3408 3.02903 10.3346 3.01435 10.3303 3.00434 10.3281 2.99974L10.3272 2.99876 10.3291 2.99974C10.1454 2.62962 10.2952 2.18074 10.665 1.99583zM12.9691.678064C13.3311.476935 13.7874.607118 13.9886.969079L13.4496 1.26888 13.9896.970056 13.9925.975915C13.9941.978817 13.9961.982472 13.9984.986658 14.003.995249 14.0088 1.00699 14.016 1.02084 14.0302 1.04849 14.0499 1.08623 14.0726 1.13412 14.1181 1.23003 14.1785 1.36594 14.2445 1.53744 14.3762 1.87987 14.5316 2.36819 14.6351 2.9681 14.8425 4.17119 14.8407 5.82954 14.016 7.64388 13.8445 8.02081 13.3998 8.18732 13.0228 8.01595 12.6459 7.84448 12.4794 7.3998 12.6507 7.02279 13.3259 5.53722 13.3241 4.19485 13.1566 3.22299 13.0725 2.73566 12.9467 2.34237 12.8441 2.07552 12.793 1.94277 12.7478 1.84224 12.7171 1.77767 12.7018 1.74539 12.6899 1.72182 12.6829 1.70834 12.6795 1.70171 12.6771 1.69745 12.6761 1.69564H12.6771V1.69662C12.4768 1.33474 12.6075.879087 12.9691.678064zM7.06673 8.58325C7.80106 8.58325 8.39695 8.58291 8.87923 8.62231 9.37025 8.66243 9.80955 8.74717 10.2181 8.95532 10.8609 9.28288 11.3837 9.80569 11.7113 10.4485 11.9194 10.857 12.0041 11.2963 12.0443 11.7874 12.0837 12.2696 12.0833 12.8655 12.0833 13.5999V14.0002C12.0832 14.4143 11.7474 14.7502 11.3333 14.7502H1.33333C.919223 14.7502.583504 14.4143.583328 14.0002V13.5999C.583328 12.8655.582987 12.2696.622391 11.7874.662514 11.2963.747232 10.857.955399 10.4485 1.28294 9.80569 1.80576 9.28288 2.44856 8.95532 2.85711 8.74717 3.2964 8.66243 3.78743 8.62231 4.26971 8.58291 4.8656 8.58325 5.59993 8.58325H7.06673zM5.59993 10.0833C4.84086 10.0833 4.31654 10.0842 3.9095 10.1174 3.51151 10.15 3.29203 10.2098 3.1302 10.2922 2.76956 10.476 2.47607 10.7695 2.29231 11.1301 2.20991 11.292 2.15004 11.5114 2.11751 11.9094 2.08962 12.2508 2.08614 12.6747 2.08528 13.2502H10.5814C10.5805 12.6747 10.577 12.2508 10.5491 11.9094 10.5166 11.5114 10.4567 11.292 10.3743 11.1301 10.1906 10.7695 9.8971 10.476 9.53645 10.2922 9.37463 10.2098 9.15515 10.15 8.75716 10.1174 8.35012 10.0842 7.8258 10.0833 7.06673 10.0833H5.59993z"/></svg>;
}

const IconAgentVoiceInterruptionTurnon = React.forwardRef(IconAgentVoiceInterruptionTurnonComponent);
export default IconAgentVoiceInterruptionTurnon;
