import { forwardRef } from "react";
import type { IconProps } from "../../types";

export const IconPhotoAiSolid = forwardRef<SVGSVGElement, IconProps>(
  ({ color = "currentColor", ...props }, forwardedRef) => {
    const { className } = props;
    props = {
      ...props,
      width: `${props.width || props.size || 20}`,
      height: `${props.height || props.size || 20}`,
      className: `${
        className ? className + " " : ""
      }customeow-icon customeow-icon-icon-photo-ai-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M17.6306 7.94804L17.6306 7.82451C17.6308 6.95203 17.631 6.35711 17.5186 5.84146C17.1119 3.97586 15.6547 2.51869 13.7891 2.11203C13.2735 1.99962 12.6786 1.99979 11.8061 2.00002L9.76252 2.00004C8.43355 2.00003 7.36185 2.00002 6.50206 2.08765C5.61456 2.1781 4.84499 2.36998 4.16456 2.82577C3.63517 3.18038 3.18034 3.63521 2.82573 4.1646C2.36994 4.84503 2.17806 5.6146 2.08761 6.5021C1.99997 7.36189 1.99999 8.43358 2 9.76255V10.2875C1.99999 11.4204 1.99998 12.3342 2.06445 13.0723C2.13087 13.8328 2.27134 14.4987 2.60745 15.1078C3.05241 15.9142 3.71644 16.5782 4.52281 17.0231C5.13192 17.3593 5.79777 17.4997 6.55827 17.5661C7.24557 17.6262 8.08507 17.6303 9.11198 17.6306C9.85824 17.6388 10.5764 17.6147 11.3175 17.563L10.9946 16.7268L8.86549 15.9046C7.13049 15.2346 7.1305 12.7797 8.86549 12.1097L10.9946 11.2875L11.2338 10.668L10.5344 10.0308C9.38342 8.98225 7.61317 9.01762 6.50498 10.1113L4.50072 12.0894C4.29729 12.2902 4.12955 12.5132 3.99742 12.7506C3.95312 12.1296 3.95238 11.3395 3.95238 10.2428V9.81532C3.95238 8.4212 3.95357 7.44923 4.02993 6.70007C4.10461 5.96728 4.24303 5.55689 4.44782 5.25116C4.66059 4.93353 4.93349 4.66063 5.25112 4.44786C5.55684 4.24307 5.96724 4.10466 6.70003 4.02997C7.44919 3.95361 8.42116 3.95243 9.81528 3.95243H11.6826C12.7256 3.95243 13.091 3.95807 13.3733 4.01962C14.4927 4.26361 15.367 5.13792 15.611 6.25728C15.6725 6.53962 15.6782 6.90501 15.6782 7.94803C15.6782 8.48717 16.1152 8.92423 16.6544 8.92423C17.1935 8.92423 17.6306 8.48717 17.6306 7.94804Z"
          fill={color}
        />
        <path
          d="M12.5624 6.40267C12.5624 7.10896 11.9899 7.68152 11.2836 7.68152C10.5773 7.68152 10.0047 7.10896 10.0047 6.40267C10.0047 5.69639 10.5773 5.12382 11.2836 5.12382C11.9899 5.12382 12.5624 5.69639 12.5624 6.40267Z"
          fill={color}
        />
        <path
          opacity=".4"
          d="M13.1828 9.68602C13.3705 9.20004 14.0581 9.20004 14.2458 9.68602L15.2107 12.1846C15.2686 12.3345 15.3871 12.4529 15.5369 12.5108L18.0355 13.4758C18.5215 13.6634 18.5215 14.3511 18.0355 14.5387L15.5369 15.5037C15.3871 15.5616 15.2686 15.68 15.2107 15.8299L14.2458 18.3285C14.0581 18.8145 13.3705 18.8145 13.1828 18.3285L12.2179 15.8299C12.16 15.68 12.0415 15.5616 11.8916 15.5037L9.39305 14.5387C8.90707 14.3511 8.90707 13.6634 9.39305 13.4758L11.8916 12.5108C12.0415 12.4529 12.16 12.3345 12.2179 12.1846L13.1828 9.68602Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconPhotoAiSolid.displayName = "IconPhotoAiSolid";

export default IconPhotoAiSolid;
