import _extends from "@babel/runtime/helpers/esm/extends";
// **********************************
// Auto-generated file, do NOT modify
// **********************************
import React, { forwardRef, memo, useId } from 'react';
import { createStyledFlagIcon } from '../base';
const FlagIcon = _ref => {
  let {
    svgRef,
    title = 'VE flag',
    theme,
    ...props
  } = _ref;
  const uniqueTitleId = useId();
  const titleId = title ? props.titleId || uniqueTitleId : undefined;
  const ariaHidden = titleId ? undefined : true;
  return /*#__PURE__*/React.createElement("svg", _extends({
    "aria-hidden": ariaHidden,
    "aria-labelledby": titleId,
    ref: svgRef,
    viewBox: "0 0 640 480",
    xmlnsXlink: "http://www.w3.org/1999/xlink"
  }, props), title ? /*#__PURE__*/React.createElement("title", {
    id: titleId
  }, title) : null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("g", {
    id: "VEFlagIcon__d",
    transform: "translate(0 -36)"
  }, /*#__PURE__*/React.createElement("g", {
    id: "VEFlagIcon__c"
  }, /*#__PURE__*/React.createElement("g", {
    id: "VEFlagIcon__b"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M0-5L-1.5-.2l2.8.9z",
    fill: "#fff",
    id: "VEFlagIcon__a"
  }), /*#__PURE__*/React.createElement("use", {
    height: 120,
    transform: "scale(-1 1)",
    width: 180,
    xlinkHref: "#VEFlagIcon__a"
  })), /*#__PURE__*/React.createElement("use", {
    height: 120,
    transform: "rotate(72)",
    width: 180,
    xlinkHref: "#VEFlagIcon__b"
  })), /*#__PURE__*/React.createElement("use", {
    height: 120,
    transform: "rotate(-72)",
    width: 180,
    xlinkHref: "#VEFlagIcon__b"
  }), /*#__PURE__*/React.createElement("use", {
    height: 120,
    transform: "rotate(144)",
    width: 180,
    xlinkHref: "#VEFlagIcon__c"
  }))), /*#__PURE__*/React.createElement("path", {
    d: "M0 0h640v480H0z",
    fill: "#cf142b"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M0 0h640v320H0z",
    fill: "#00247d"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M0 0h640v160H0z",
    fill: "#fc0"
  }), /*#__PURE__*/React.createElement("g", {
    id: "VEFlagIcon__f",
    transform: "matrix(4 0 0 4 320 336)"
  }, /*#__PURE__*/React.createElement("g", {
    id: "VEFlagIcon__e"
  }, /*#__PURE__*/React.createElement("use", {
    height: 120,
    transform: "rotate(10)",
    width: 180,
    xlinkHref: "#VEFlagIcon__d"
  }), /*#__PURE__*/React.createElement("use", {
    height: 120,
    transform: "rotate(30)",
    width: 180,
    xlinkHref: "#VEFlagIcon__d"
  })), /*#__PURE__*/React.createElement("use", {
    height: 120,
    transform: "rotate(40)",
    width: 180,
    xlinkHref: "#VEFlagIcon__e"
  })), /*#__PURE__*/React.createElement("use", {
    height: 120,
    transform: "rotate(-80 320 336)",
    width: 180,
    xlinkHref: "#VEFlagIcon__f"
  }));
};
const FlagIconWithForwardedRef = /*#__PURE__*/forwardRef((iconProps, ref) => /*#__PURE__*/React.createElement(FlagIcon, _extends({}, iconProps, {
  svgRef: ref
})));
export const VEFlagIcon = /*#__PURE__*/memo(createStyledFlagIcon(FlagIconWithForwardedRef));
VEFlagIcon.displayName = 'VEFlagIcon';