import * as React from "react";
import type { IconProps, IconMetadata, IconComponent } from "../../types";

export const Svelte: IconComponent = React.forwardRef<SVGSVGElement, IconProps>(
  function Svelte(
    {
      color = "currentColor",
      fill,
      size = 24,
      strokeWidth,
      strokeLinecap,
      strokeLinejoin,
      strokeDasharray,
      opacity,
      className,
      ...props
    },
    forwardedRef,
  ) {
    return (
      <svg
        width={size}
        height={size}
        viewBox="0 0 24 24"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        className={className}
        strokeWidth={strokeWidth}
        strokeLinecap={strokeLinecap}
        strokeLinejoin={strokeLinejoin}
        strokeDasharray={strokeDasharray}
        opacity={opacity}
        {...props}
        ref={forwardedRef}
      >
        <g clipPath="url(#undefined-clip0_2066_899)">
          <path
            d="M20.7251 3.17198C18.4932 -0.014174 14.0851 -0.958512 10.898 1.06676L5.30054 4.62515C4.54438 5.09963 3.89579 5.72625 3.39624 6.46496C2.89669 7.20366 2.55716 8.0382 2.39937 8.91523C2.13234 10.3926 2.36702 11.9165 3.06624 13.2458C2.58711 13.9708 2.26031 14.7851 2.10562 15.6395C1.94617 16.5342 1.96744 17.4517 2.16819 18.338C2.36894 19.2244 2.74513 20.0619 3.27468 20.8014C5.50702 23.9879 9.91507 24.9318 13.1018 22.9065L18.6993 19.3483C19.4555 18.8739 20.1041 18.2472 20.6037 17.5085C21.1033 16.7698 21.4428 15.9352 21.6005 15.0581C21.8674 13.5808 21.6329 12.0569 20.9341 10.7275C21.413 10.0025 21.7397 9.18826 21.8942 8.33385C22.0538 7.43916 22.0326 6.5217 21.8318 5.63529C21.6311 4.74889 21.2548 3.9114 20.7251 3.17198Z"
            fill="#ff3e00"
          />
          <path
            d="M10.3507 21.1045C8.54581 21.5726 6.63995 20.8679 5.57698 19.3397C5.25836 18.8949 5.03203 18.3911 4.91124 17.8579C4.79046 17.3247 4.77767 16.7728 4.87362 16.2345C4.90611 16.0578 4.95083 15.8836 5.00745 15.713L5.11292 15.3924L5.39971 15.6025C6.06222 16.088 6.80296 16.4571 7.59003 16.694L7.79807 16.7569L7.77893 16.9641C7.75349 17.2588 7.83348 17.553 8.00471 17.7945C8.16088 18.0192 8.38244 18.1907 8.63947 18.2859C8.8965 18.381 9.17661 18.3952 9.44198 18.3265C9.56369 18.2941 9.6797 18.2432 9.78596 18.1757L15.3852 14.6169C15.5222 14.5308 15.6397 14.4173 15.7303 14.2834C15.8209 14.1496 15.8825 13.9984 15.9113 13.8394C15.94 13.6772 15.9361 13.5109 15.8997 13.3502C15.8633 13.1895 15.7952 13.0377 15.6993 12.9035C15.5431 12.6787 15.3214 12.5072 15.0643 12.412C14.8072 12.3168 14.527 12.3025 14.2615 12.3712C14.14 12.4036 14.0242 12.4544 13.9181 12.5218L11.7814 13.8803C11.43 14.1031 11.0466 14.271 10.6444 14.3783C8.83964 14.8464 6.9337 14.1417 5.87089 12.6134C5.55225 12.1686 5.32589 11.6649 5.2051 11.1316C5.0843 10.5984 5.0715 10.0465 5.16745 9.5083C5.26235 8.98076 5.4666 8.47878 5.76713 8.03447C6.06766 7.59015 6.45785 7.21329 6.91276 6.92799L12.5115 3.36875C12.863 3.14559 13.2467 2.97746 13.6492 2.8702C15.454 2.40212 17.3599 3.10677 18.4228 4.63498C18.7414 5.07978 18.9677 5.58357 19.0885 6.1168C19.2093 6.65003 19.2221 7.20195 19.1262 7.74017C19.0936 7.91683 19.0488 8.09106 18.9924 8.26163L18.8869 8.58236L18.6002 8.37251C17.9377 7.88674 17.197 7.51745 16.4098 7.28059L16.2017 7.21755L16.2209 7.01043C16.2461 6.71576 16.1661 6.42168 15.9951 6.1801C15.8389 5.95533 15.6174 5.78379 15.3603 5.68864C15.1033 5.5935 14.8231 5.57932 14.5578 5.64804C14.4361 5.68049 14.3201 5.73134 14.2139 5.79882L8.61464 9.35784C8.47762 9.44381 8.3601 9.55734 8.26957 9.69117C8.17903 9.82501 8.11749 9.97621 8.08885 10.1351C8.05996 10.2973 8.0638 10.4637 8.10014 10.6244C8.13648 10.7851 8.20459 10.937 8.30049 11.0711C8.45676 11.2959 8.6784 11.4675 8.93551 11.5627C9.19262 11.6579 9.47283 11.6721 9.73831 11.6035C9.85997 11.571 9.97594 11.5201 10.0822 11.4527L12.2185 10.0947C12.5697 9.87162 12.9531 9.70351 13.3554 9.59628C15.1602 9.12828 17.0661 9.83293 18.129 11.3612C18.4476 11.806 18.674 12.3098 18.7947 12.843C18.9155 13.3762 18.9283 13.9281 18.8324 14.4663C18.7374 14.9938 18.5331 15.4959 18.2326 15.9402C17.9321 16.3846 17.5419 16.7616 17.0871 17.047L11.4883 20.606C11.1368 20.8291 10.7532 20.9973 10.3507 21.1045Z"
            fill="#fff"
          />
        </g>
        <defs>
          <clipPath id="undefined-clip0_2066_899">
            <path fill="#fff" transform="translate(2)" d="M0 0H20V24H0z" />
          </clipPath>
        </defs>
      </svg>
    );
  },
);

Svelte.displayName = "Svelte";

Svelte.metadata = {
  name: "Svelte",
  category: "icon/library",
  tags: ["svelte", "icon"],
  description: "Svelte icon from icon/library category",
  type: ["stroke", "icon"],
} as IconMetadata;

export default Svelte;
