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

export const Arc: IconComponent = React.forwardRef<SVGSVGElement, IconProps>(
  function Arc(
    {
      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_2062_2184)">
          <path
            d="M11.5905 1.00115C12.8876 1.03932 14.0591 1.81814 14.6205 3.02338L16.8481 7.81637L16.8839 7.72374C16.9724 7.48485 17.0449 7.24008 17.101 6.99114L17.1321 6.8427C17.5075 4.92297 19.3317 3.68052 21.2121 4.06034C21.6587 4.15159 22.0833 4.33195 22.4618 4.59111C22.8402 4.85027 23.165 5.18315 23.4177 5.57074C23.6703 5.95833 23.8458 6.39303 23.9341 6.85002C24.0225 7.307 24.0219 7.7773 23.9325 8.23407C23.4322 10.7897 22.1424 13.1616 20.2923 15.0407L20.2337 15.0989L21.0146 16.7783C21.921 18.7277 20.9819 21.0841 19.0084 21.7453L18.9193 21.7738L18.8514 21.7948C18.5494 21.8818 18.2372 21.926 17.9235 21.9265C17.2677 21.9265 16.6253 21.7364 16.0708 21.3783C15.5163 21.0202 15.0723 20.5086 14.7904 19.903L14.1876 18.6067L14.0355 18.6453C13.2206 18.8422 12.3941 18.9514 11.5673 18.9681L11.3418 18.9704C10.5461 18.9704 9.73718 18.8758 8.92905 18.6924L8.76968 18.6544L8.19058 19.8997C7.80012 20.7394 7.10275 21.3887 6.24874 21.7074L6.14561 21.7441C5.70082 21.8941 5.2309 21.9503 4.76426 21.9094C4.29762 21.8685 3.84394 21.7312 3.43061 21.5059C1.78436 20.6108 1.15661 18.5154 1.95986 16.7847L2.67893 15.2381L2.61611 15.1758C1.63033 14.1811 0.848832 13.0505 0.330395 11.8352L0.261301 11.6691L0.251364 11.6421C-0.462168 9.82748 0.394707 7.7619 2.16771 7.02767C3.55839 6.45185 5.10002 6.86533 6.04802 7.94611L6.06583 7.96701L8.35765 3.03614C8.62934 2.4422 9.05723 1.93729 9.59344 1.57787C10.1297 1.21845 10.7531 1.0187 11.3939 1.00096L11.491 1L11.5905 1.00115Z"
            fill="#fff"
          />
          <path
            d="M8.16732 17.3057L10.2201 12.8882C8.6522 12.5476 7.07467 11.5557 6.18245 10.3489L4.03595 14.9646C5.22873 15.9995 6.66086 16.813 8.16732 17.3057Z"
            fill="#1a007f"
          />
          <path
            d="M16.7339 10.2166C15.7027 11.5094 14.2706 12.4683 12.7383 12.8419L14.7846 17.2462C16.2781 16.7303 17.6746 15.8971 18.8805 14.8292L16.7339 10.2166Z"
            fill="#4e000a"
          />
          <path
            d="M4.03592 14.9646L2.96267 17.2726C2.41629 18.4464 2.82682 19.8913 3.95182 20.503C5.1447 21.151 6.61235 20.6452 7.18779 19.4118L8.16729 17.3056C6.6547 16.8068 5.25148 16.0117 4.03592 14.9646Z"
            fill="#1a007f"
          />
          <path
            d="M20.9945 5.17753C20.691 5.11536 20.3785 5.11498 20.0748 5.17639C19.7711 5.2378 19.4823 5.3598 19.2247 5.53543C18.9671 5.71106 18.7459 5.93687 18.5737 6.19997C18.4015 6.46306 18.2816 6.75829 18.2209 7.06877C17.9946 8.22617 17.4645 9.30398 16.7339 10.2199L18.8772 14.8358C20.8556 13.08 22.3167 10.6895 22.8405 8.01444C23.0959 6.70506 22.2682 5.43538 20.9945 5.17753Z"
            fill="#ff9396"
          />
          <path
            d="M12.7383 12.8419C12.2793 12.9543 11.8105 13.0138 11.3418 13.0138C10.9765 13.0138 10.5983 12.9709 10.2201 12.8882C8.65218 12.5476 7.07465 11.5556 6.18243 10.3489C5.9593 10.048 5.77837 9.73382 5.65227 9.41307C5.16412 8.17972 3.79021 7.58463 2.5844 8.08057C1.37859 8.57987 0.796867 9.98515 1.28165 11.2184C1.8344 12.6203 2.81071 13.9066 4.03593 14.9646C5.25032 16.0117 6.65245 16.8069 8.16402 17.3057C9.20174 17.6462 10.2782 17.8347 11.3386 17.8347C12.5152 17.8347 13.6758 17.6264 14.7814 17.2462L12.7383 12.8419Z"
            fill="#002dc8"
          />
          <path
            d="M20.0086 17.2627L18.8772 14.8292L16.7339 10.2166L16.7307 10.2199C16.7307 10.2199 16.7307 10.2166 16.7339 10.2166L13.6176 3.51095C13.4263 3.09955 13.125 2.75201 12.7485 2.50858C12.372 2.26515 11.9358 2.1358 11.4905 2.1355C10.582 2.1355 9.75448 2.67114 9.36336 3.51105L6.18561 10.3489C7.07783 11.5557 8.65536 12.5477 10.2232 12.8883L11.2512 10.6795C11.3482 10.4712 11.6391 10.4712 11.7362 10.6795L12.7415 12.842H12.748H12.7415L14.7878 17.2462L15.7932 19.4086C15.9843 19.8208 16.2861 20.169 16.6632 20.4125C17.0404 20.656 17.4775 20.7849 17.9235 20.7842C18.1337 20.7842 18.3438 20.7544 18.5507 20.6949C19.9699 20.2947 20.6422 18.625 20.0086 17.2627Z"
            fill="#ff536a"
          />
        </g>
        <defs>
          <clipPath id="undefined-clip0_2062_2184">
            <path fill="#fff" transform="translate(0 1)" d="M0 0H24V21H0z" />
          </clipPath>
        </defs>
      </svg>
    );
  },
);

Arc.displayName = "Arc";

Arc.metadata = {
  name: "Arc",
  category: "icon/browser",
  tags: ["arc", "icon"],
  description: "Arc icon from icon/browser category",
  type: ["stroke", "icon"],
} as IconMetadata;

export default Arc;
