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

function IconJapanese1Component(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-japanese_1${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 12 12" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M7.50348 11.9973C7.58533 11.5665 7.63002 10.986 7.65154 10.5161C8.15522 10.6684 11.622 7.65552 8.76226 6.44311L8.73656 6.43193C8.19433 7.36052 7.38335 8.40811 6.19357 9.26881C6.3338 9.55094 6.49949 9.81968 6.68859 10.0717C6.06646 10.5645 5.50691 10.8989 5.42952 10.9606C5.415 10.9606 5.17056 10.6449 4.88813 10.0485C4.51201 10.2308 4.12382 10.3871 3.72628 10.5161C1.52327 11.2324 0.758663 7.65217 1.06009 6.88729C1.2928 6.29728 2.1331 5.25472 4.05816 4.80691C4.08972 4.46721 4.13526 4.11634 4.20119 3.75233C3.06001 3.79647 1.84844 3.65791 0.689941 3.18468C0.928692 2.74879 1.15103 2.30412 1.35649 1.85158C1.35649 1.85158 2.41358 2.3508 4.58977 2.15832C4.81804 1.41983 5.09867 0.698566 5.42952 0L6.76262 0.592238C6.76262 0.592238 6.53131 1.09788 6.26871 1.90103C7.03849 1.73489 7.79705 1.52047 8.53989 1.25907C8.95474 1.95969 9.50284 2.36979 9.50284 2.36979C9.50284 2.36979 7.93006 3.1939 5.81699 3.57299C5.74421 3.91369 5.68411 4.25698 5.63681 4.60214C6.33325 4.57309 7.12411 4.61108 8.02168 4.73958C8.35356 4.41385 8.3178 3.85123 8.3178 3.85123L9.72493 4.07304C9.72493 4.07304 9.63749 4.47224 9.39724 5.07761C9.82075 5.23963 11.0184 5.8179 11.2801 7.40577C11.5734 9.18361 9.26594 12.1484 7.5032 11.9973H7.50348ZM2.24792 7.63652C2.20238 8.01282 2.49934 9.26574 2.9885 9.26574C3.47765 9.26574 4.0995 8.89531 4.0995 8.89531C4.0995 8.89531 3.82908 7.50914 3.80338 6.52552C2.9885 6.71744 2.29373 7.25995 2.24792 7.63624V7.63652ZM7.08779 6.26041C6.87771 6.15788 5.38455 6.26041 5.38455 6.26041C5.23984 6.58809 5.60664 7.96365 5.60664 7.96365C5.60664 7.96365 7.29759 6.36293 7.08779 6.26041Z"/></svg>;
}

const IconJapanese1 = React.forwardRef(IconJapanese1Component);
export default IconJapanese1;
