import type { SVGProps } from "react";

export interface BaiduOriginalProps extends SVGProps<SVGSVGElement> {
  /**
   * Icon size (width and height)
   * @default 16
   */
  size?: number | string;
}

/**
 * BaiduOriginal icon from social-media category
 *
 * @example
 * <BaiduOriginal size={16} />
 * <BaiduOriginal size={32} className="text-primary" />
 */
export const BaiduOriginal = ({ size = 16, ...props }: BaiduOriginalProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <path d="M4.33143 12.6474C6.93734 12.087 6.58193 8.96622 6.5056 8.28431C6.37715 7.23249 5.14212 5.39576 3.46593 5.54251C1.35633 5.73099 1.04833 8.78144 1.04833 8.78144C0.762516 10.1941 1.73023 13.2095 4.33143 12.6474ZM9.17068 7.41592C10.6091 7.41592 11.7719 5.75657 11.7719 3.70678C11.7719 1.657 10.6091 0 9.17068 0C7.73155 0 6.56579 1.65666 6.56579 3.70678C6.56579 5.75657 7.73122 7.41592 9.17068 7.41592ZM15.3724 7.65995C17.2981 7.91238 18.5318 5.8562 18.7786 4.29816C19.0308 2.74214 17.7867 0.932334 16.4265 0.621668C15.0604 0.3073 13.3549 2.49643 13.2013 3.92455C13.014 5.67142 13.4487 7.41323 15.3724 7.65995ZM22.9981 10.2776C22.9981 9.53236 22.3818 7.286 20.0862 7.286C17.7863 7.286 17.4827 9.4058 17.4827 10.9036C17.4827 12.3331 17.6017 14.327 20.4578 14.265C23.3108 14.2018 22.9981 11.0278 22.9981 10.2776ZM20.0862 16.8194C20.0862 16.8194 17.1098 14.5145 15.3721 12.0224C13.0133 8.34792 9.66597 9.8447 8.54728 11.7104C7.43162 13.5811 5.69726 14.7625 5.44911 15.0762C5.19861 15.3835 1.85397 17.1926 2.59606 20.4962C3.33984 23.7971 5.9481 23.7345 5.9481 23.7345C5.9481 23.7345 7.87042 23.9229 10.0997 23.4235C12.3338 22.9257 14.2557 23.5456 14.2557 23.5456C14.2557 23.5456 19.4669 25.2949 20.8909 21.929C22.3166 18.5659 20.0866 16.8197 20.0866 16.8197" fill="#2319DC"/>
<path d="M9.63382 13.6057V15.8231H7.82885C7.82885 15.8231 6.02489 15.9729 5.39342 18.0197C5.17318 19.3862 5.58777 20.191 5.66006 20.3629C5.73303 20.5346 6.31574 21.5343 7.7801 21.8278H11.1671V13.6299L9.63382 13.6057ZM9.60658 20.4821H8.2421C8.2421 20.4821 7.29153 20.4326 7.00202 19.337C6.85273 18.8517 7.02421 18.2909 7.09953 18.0705C7.16846 17.8497 7.48756 17.3394 8.14526 17.1429H9.60625L9.60658 20.4821ZM11.9973 16.022V20.3384C11.9973 20.3384 12.0679 21.4124 13.581 21.8039H17.4788V16.0214H15.7965V20.3623H14.1913C14.1913 20.3623 13.6782 20.2876 13.5817 19.8749V15.9965L11.9973 16.022Z" fill="white"/>
  </svg>
);
