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

function IconTraditionalChineseComponent(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-Traditional_Chinese${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 fillRule="evenodd" d="M3.15479 6.39961C3.15479 4.57707 4.63225 3.09961 6.45479 3.09961H17.6548C19.4773 3.09961 20.9548 4.57707 20.9548 6.39961V17.5996C20.9548 19.4221 19.4773 20.8996 17.6548 20.8996H6.45478C4.63224 20.8996 3.15479 19.4221 3.15479 17.5996V6.39961ZM6.45479 4.89961C5.62636 4.89961 4.95479 5.57118 4.95479 6.39961V17.5996C4.95479 18.428 5.62636 19.0996 6.45478 19.0996H17.6548C18.4832 19.0996 19.1548 18.428 19.1548 17.5996V6.39961C19.1548 5.57118 18.4832 4.89961 17.6548 4.89961H6.45479Z" clipRule="evenodd"/><path d="M13.488 6.10001L14.748 6.41201C14.532 7.02801 14.248 7.62001 13.896 8.18801C13.544 8.75601 13.16 9.22801 12.744 9.60401C12.672 9.51601 12.576 9.41601 12.456 9.30401C12.344 9.19201 12.228 9.08001 12.108 8.96801C11.988 8.84801 11.88 8.75201 11.784 8.68001C12.16 8.36801 12.496 7.98801 12.792 7.54001C13.096 7.08401 13.328 6.60401 13.488 6.10001ZM15.48 7.64801L16.8 7.76801C16.624 8.56801 16.352 9.25601 15.984 9.83201C15.624 10.408 15.172 10.896 14.628 11.296C14.084 11.688 13.452 12.012 12.732 12.268C12.684 12.18 12.608 12.072 12.504 11.944C12.408 11.808 12.304 11.68 12.192 11.56C12.088 11.432 11.996 11.328 11.916 11.248C12.908 10.96 13.704 10.532 14.304 9.96401C14.912 9.38801 15.304 8.61601 15.48 7.64801ZM13.38 7.19201H17.46V8.27201H12.84L13.38 7.19201ZM7.87202 6.08801L9.06002 6.38801C8.86002 6.82001 8.60402 7.24001 8.29202 7.64801C7.98802 8.04801 7.68002 8.38401 7.36802 8.65601C7.29602 8.59201 7.19602 8.51601 7.06802 8.42801C6.94802 8.34001 6.82002 8.25601 6.68402 8.17601C6.55602 8.09601 6.44402 8.02801 6.34802 7.97201C6.66802 7.74001 6.96002 7.46001 7.22402 7.13201C7.49602 6.79601 7.71202 6.44801 7.87202 6.08801ZM7.90802 6.82001H12.276V7.70801H7.46402L7.90802 6.82001ZM13.86 8.03201C14.172 8.84001 14.652 9.52401 15.3 10.084C15.956 10.644 16.78 11.036 17.772 11.26C17.636 11.396 17.484 11.58 17.316 11.812C17.156 12.036 17.032 12.232 16.944 12.4C15.88 12.088 15.008 11.584 14.328 10.888C13.656 10.184 13.136 9.31601 12.768 8.28401L13.86 8.03201ZM11.232 14.872H12.66V17.38H11.232V14.872ZM11.004 11.62L12.192 12.172C11.856 12.428 11.508 12.672 11.148 12.904C10.796 13.136 10.472 13.332 10.176 13.492L9.28802 13.012C9.48002 12.884 9.68002 12.74 9.88802 12.58C10.104 12.42 10.308 12.256 10.5 12.088C10.7 11.92 10.868 11.764 11.004 11.62ZM13.368 12.076L14.532 12.736C14.1 13.024 13.636 13.308 13.14 13.588C12.644 13.86 12.148 14.124 11.652 14.38C11.156 14.628 10.688 14.84 10.248 15.016L9.40802 14.428C9.84002 14.228 10.296 13.996 10.776 13.732C11.264 13.46 11.732 13.18 12.18 12.892C12.636 12.604 13.032 12.332 13.368 12.076ZM7.77602 13.24L8.74802 12.496C9.02002 12.616 9.31202 12.76 9.62402 12.928C9.93602 13.096 10.236 13.268 10.524 13.444C10.812 13.612 11.048 13.776 11.232 13.936L10.2 14.764C10.032 14.612 9.81202 14.444 9.54002 14.26C9.26802 14.076 8.97602 13.896 8.66402 13.72C8.36002 13.536 8.06402 13.376 7.77602 13.24ZM13.824 13.744L14.808 13.108C15.12 13.276 15.448 13.464 15.792 13.672C16.136 13.88 16.46 14.096 16.764 14.32C17.076 14.544 17.336 14.756 17.544 14.956L16.476 15.652C16.3 15.468 16.064 15.264 15.768 15.04C15.472 14.808 15.152 14.58 14.808 14.356C14.472 14.124 14.144 13.92 13.824 13.744ZM13.428 15.964L14.472 15.244C14.776 15.34 15.104 15.46 15.456 15.604C15.816 15.748 16.16 15.896 16.488 16.048C16.824 16.2 17.104 16.344 17.328 16.48L16.224 17.284C16.024 17.156 15.764 17.012 15.444 16.852C15.132 16.692 14.796 16.532 14.436 16.372C14.084 16.22 13.748 16.084 13.428 15.964ZM6.70802 14.272C7.29202 14.272 7.94802 14.268 8.67602 14.26C9.41202 14.252 10.196 14.244 11.028 14.236C11.868 14.228 12.728 14.22 13.608 14.212C14.488 14.196 15.36 14.18 16.224 14.164L16.164 15.136C15.324 15.168 14.476 15.196 13.62 15.22C12.764 15.244 11.924 15.268 11.1 15.292C10.284 15.316 9.50802 15.336 8.77202 15.352C8.03602 15.368 7.37202 15.38 6.78002 15.388L6.70802 14.272ZM9.27602 15.316L10.548 15.82C10.284 16.02 9.97602 16.212 9.62402 16.396C9.28002 16.58 8.92402 16.748 8.55602 16.9C8.18802 17.06 7.83602 17.196 7.50002 17.308C7.42002 17.22 7.32002 17.116 7.20002 16.996C7.08002 16.876 6.95202 16.756 6.81602 16.636C6.68802 16.516 6.57602 16.42 6.48002 16.348C6.98402 16.228 7.49202 16.08 8.00402 15.904C8.52402 15.72 8.94802 15.524 9.27602 15.316ZM7.44002 8.10401H8.54402C8.48802 8.51201 8.42402 8.94401 8.35202 9.40001C8.28002 9.84801 8.20802 10.284 8.13602 10.708C8.06402 11.124 7.99602 11.492 7.93202 11.812L6.81602 11.704C6.89602 11.384 6.97202 11.02 7.04402 10.612C7.12402 10.196 7.19602 9.77201 7.26002 9.34001C7.33202 8.90001 7.39202 8.48801 7.44002 8.10401ZM9.14402 8.40401H10.092C10.068 8.67601 10.036 8.96401 9.99602 9.26801C9.96402 9.56401 9.92802 9.85201 9.88802 10.132C9.85602 10.412 9.82002 10.66 9.78002 10.876L8.82002 10.864C8.86002 10.648 8.90002 10.4 8.94002 10.12C8.98802 9.84001 9.02802 9.55201 9.06002 9.25601C9.09202 8.95201 9.12002 8.66801 9.14402 8.40401ZM7.82402 8.10401H11.196V8.83601H7.82402V8.10401ZM6.50402 9.29201H12.456V10.048H6.50402V9.29201ZM7.54802 10.528H12.468V11.284H7.54802V10.528ZM10.824 8.10401H11.868C11.868 8.10401 11.864 8.15601 11.856 8.26001C11.856 8.36401 11.852 8.45201 11.844 8.52401C11.796 9.28401 11.744 9.90401 11.688 10.384C11.632 10.856 11.568 11.22 11.496 11.476C11.424 11.732 11.34 11.916 11.244 12.028C11.148 12.14 11.04 12.224 10.92 12.28C10.808 12.328 10.676 12.36 10.524 12.376C10.404 12.376 10.248 12.38 10.056 12.388C9.86402 12.388 9.66002 12.384 9.44402 12.376C9.43602 12.248 9.40802 12.104 9.36002 11.944C9.32002 11.776 9.26402 11.64 9.19202 11.536C9.38402 11.552 9.55202 11.564 9.69602 11.572C9.84802 11.572 9.96402 11.572 10.044 11.572C10.124 11.572 10.188 11.564 10.236 11.548C10.284 11.532 10.332 11.496 10.38 11.44C10.444 11.368 10.5 11.22 10.548 10.996C10.604 10.772 10.656 10.44 10.704 10C10.752 9.56001 10.792 8.98001 10.824 8.26001V8.10401Z"/></svg>;
}

const IconTraditionalChinese = React.forwardRef(IconTraditionalChineseComponent);
export default IconTraditionalChinese;
