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 = 'NU 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"
  }, props), title ? /*#__PURE__*/React.createElement("title", {
    id: titleId
  }, title) : null, /*#__PURE__*/React.createElement("path", {
    d: "M0 0h640v480H0z",
    fill: "#fedd00"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M0 0h320v240H0z",
    fill: "#012169"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M37.5 0l122 90.5L281 0h39v31l-120 89.5 120 89V240h-40l-120-89.5L40.5 240H0v-30l119.5-89L0 32V0z",
    fill: "#fff"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M212 140.5L320 220v20l-135.5-99.5zm-92 10l3 17.5-96 72H0zM320 0v1.5l-124.5 94 1-22L295 0zM0 0l119.5 88h-30L0 21z",
    fill: "#c8102e"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M120.5 0v240h80V0zM0 80v80h320V80z",
    fill: "#fff"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M0 96.5v48h320v-48zM136.5 0v240h48V0z",
    fill: "#c8102e"
  }), /*#__PURE__*/React.createElement("circle", {
    cx: 160,
    cy: 120,
    fill: "#012169",
    r: 40.8
  }), /*#__PURE__*/React.createElement("path", {
    d: "M160 79.2l24 73.8-62.8-45.6h77.6L136 153M66.7 98.3l14 43.4L43.9 115h45.7l-37 26.8m200.7-43.5l14.1 43.4-36.9-26.8h45.7l-37 26.8M160 178.3l14.1 43.4-37-26.8h45.7l-37 26.8M160 18.3l14.1 43.4-37-26.8h45.7l-37 26.8",
    fill: "#fedd00"
  }));
};
const FlagIconWithForwardedRef = /*#__PURE__*/forwardRef((iconProps, ref) => /*#__PURE__*/React.createElement(FlagIcon, _extends({}, iconProps, {
  svgRef: ref
})));
export const NUFlagIcon = /*#__PURE__*/memo(createStyledFlagIcon(FlagIconWithForwardedRef));
NUFlagIcon.displayName = 'NUFlagIcon';