UNPKG

@comfortdelgro/compass-icons

Version:
150 lines (148 loc) 5.58 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "default", { enumerable: true, get: function() { return _default; } }); const _react = /*#__PURE__*/ _interop_require_wildcard(require("react")); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interop_require_wildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for(var key in obj){ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } const FlagNzl = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 1200 600", ref: ref, ...props }, /*#__PURE__*/ _react.createElement("defs", null, /*#__PURE__*/ _react.createElement("clipPath", { id: "nzl_svg__b" }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0h600v300H0z" })), /*#__PURE__*/ _react.createElement("clipPath", { id: "nzl_svg__c" }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0l300 150H0zm300 0h300L300 150zm0 150h300v150zm0 0v150H0z" })), /*#__PURE__*/ _react.createElement("g", { id: "nzl_svg__d" }, /*#__PURE__*/ _react.createElement("g", { id: "nzl_svg__a" }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0v.5L1 0z", transform: "translate(0 -.325)" }), /*#__PURE__*/ _react.createElement("path", { d: "M0 0v-.5L1 0z", transform: "rotate(-36 .5 -.162)" })), /*#__PURE__*/ _react.createElement("use", { transform: "scale(-1 1)", href: "#nzl_svg__a" }), /*#__PURE__*/ _react.createElement("use", { transform: "rotate(72 0 0)", href: "#nzl_svg__a" }), /*#__PURE__*/ _react.createElement("use", { transform: "rotate(-72 0 0)", href: "#nzl_svg__a" }), /*#__PURE__*/ _react.createElement("use", { transform: "scale(-1 1) rotate(72)", href: "#nzl_svg__a" }))), /*#__PURE__*/ _react.createElement("path", { fill: "#012169", d: "M0 0h1200v600H0z" }), /*#__PURE__*/ _react.createElement("path", { stroke: "#FFF", d: "M0 0l600 300M0 300L600 0", strokeWidth: 60, clipPath: "url(#nzl_svg__b)" }), /*#__PURE__*/ _react.createElement("path", { stroke: "#C8102E", d: "M0 0l600 300M0 300L600 0", strokeWidth: 40, clipPath: "url(#nzl_svg__c)" }), /*#__PURE__*/ _react.createElement("path", { stroke: "#FFF", d: "M300 0v300M0 150h600", strokeWidth: 100, clipPath: "url(#nzl_svg__b)" }), /*#__PURE__*/ _react.createElement("path", { stroke: "#C8102E", d: "M300 0v300M0 150h600", strokeWidth: 60, clipPath: "url(#nzl_svg__b)" }), /*#__PURE__*/ _react.createElement("g", null, /*#__PURE__*/ _react.createElement("use", { fill: "#FFF", transform: "matrix(45.4 0 0 45.4 900 120)", href: "#nzl_svg__d" }), /*#__PURE__*/ _react.createElement("use", { fill: "#C8102E", transform: "matrix(30 0 0 30 900 120)", href: "#nzl_svg__d" }), /*#__PURE__*/ _react.createElement("g", { transform: "rotate(82 900 240)" }, /*#__PURE__*/ _react.createElement("use", { fill: "#FFF", transform: "rotate(-82 519.022 -457.666) scale(40.4)", href: "#nzl_svg__d" }), /*#__PURE__*/ _react.createElement("use", { fill: "#C8102E", transform: "rotate(-82 519.022 -457.666) scale(25)", href: "#nzl_svg__d" })), /*#__PURE__*/ _react.createElement("g", { transform: "rotate(82 900 240)" }, /*#__PURE__*/ _react.createElement("use", { fill: "#FFF", transform: "rotate(-82 668.57 -327.666) scale(45.4)", href: "#nzl_svg__d" }), /*#__PURE__*/ _react.createElement("use", { fill: "#C8102E", transform: "rotate(-82 668.57 -327.666) scale(30)", href: "#nzl_svg__d" })), /*#__PURE__*/ _react.createElement("g", null, /*#__PURE__*/ _react.createElement("use", { fill: "#FFF", transform: "matrix(50.4 0 0 50.4 900 480)", href: "#nzl_svg__d" }), /*#__PURE__*/ _react.createElement("use", { fill: "#C8102E", transform: "matrix(35 0 0 35 900 480)", href: "#nzl_svg__d" })))); const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagNzl); const _default = ForwardRef;