UNPKG

baseui

Version:

A React Component library implementing the Base design language

82 lines (79 loc) 12.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(require("react")); function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } /* Copyright (c) Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ const UnionPay = ({ size }) => /*#__PURE__*/React.createElement("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /*#__PURE__*/React.createElement("path", { d: "M1 4V20H9.5L13.12 4H1Z", fill: "#D0112B" }), /*#__PURE__*/React.createElement("path", { d: "M9.85999 4L6.23999 20H16.5L20.12 4H9.85999Z", fill: "#002857" }), /*#__PURE__*/React.createElement("path", { d: "M22.9999 4H17.7599L14.1399 20H22.9999V4Z", fill: "#007178" }), /*#__PURE__*/React.createElement("path", { d: "M18.0499 12.52C17.9699 12.52 17.9299 12.5 17.9299 12.45L17.9199 12.1899H17.2199C16.9999 12.1899 16.3199 12.21 16.1799 12.25C16.0099 12.29 15.8399 12.42 15.8399 12.42L15.9099 12.1899H15.2499L15.1099 12.65L14.4199 14.92H14.2999L14.1699 15.35H15.4799L15.4399 15.49H16.0799L16.1199 15.35H16.2999L16.4399 14.89H16.2599L16.9399 12.65H17.1599L17.2299 12.42L17.2399 12.6801C17.2299 12.8401 17.3599 12.98 17.6799 12.96H18.0599L18.1899 12.53H18.0499V12.52ZM15.6199 14.9H15.0999L15.2499 14.4H15.7699L15.6199 14.9ZM15.9199 13.9301C15.9199 13.9301 15.7599 13.95 15.6499 13.97C15.5399 14 15.3399 14.1 15.3399 14.1L15.5199 13.5H16.0399L15.9199 13.9301ZM16.1699 13.0699C16.1699 13.0699 16.0099 13.08 15.8999 13.11C15.7899 13.14 15.5999 13.23 15.5999 13.23L15.7699 12.66H16.2899L16.1699 13.0699Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M17.32 14.24H16.65L16.76 13.86H17.52L17.63 13.51H16.88L17.01 13.08H19.11L18.98 13.51H18.28L18.17 13.86H18.88L18.76 14.24H18L17.86 14.4H18.17L18.25 14.88C18.26 14.93 18.26 14.96 18.27 14.98C18.29 15 18.38 15.01 18.43 15.01H18.52L18.38 15.48H18.14C18.1 15.48 18.05 15.48 17.97 15.47C17.9 15.46 17.85 15.42 17.8 15.4C17.76 15.38 17.69 15.33 17.68 15.24L17.61 14.76L17.26 15.23C17.15 15.38 17 15.5 16.75 15.5H16.27L16.4 15.08H16.59C16.64 15.08 16.69 15.06 16.73 15.04C16.77 15.03 16.8 15.01 16.83 14.95L17.32 14.24Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M10.0001 13.1899H11.7701L11.6401 13.61H10.9301L10.8201 13.97H11.5401L11.4101 14.41H10.6901L10.5101 15C10.4901 15.06 10.6801 15.0699 10.7501 15.0699L11.1101 15.02L10.9601 15.5H10.1401C10.0701 15.5 10.0301 15.49 9.95011 15.47C9.88011 15.45 9.85011 15.42 9.82011 15.38C9.79011 15.33 9.74011 15.2899 9.78011 15.1899L10.0101 14.42H9.61011L9.74011 13.98H10.1401L10.2501 13.62H9.85011L10.0001 13.1899Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M11.1899 12.4301H11.9199L11.7899 12.87H10.7999L10.6899 12.96C10.6399 13 10.6299 12.99 10.5699 13.02C10.5099 13.05 10.3999 13.1 10.2399 13.1H9.91992L10.0499 12.6801H10.1499C10.2299 12.6801 10.2899 12.67 10.3099 12.66C10.3399 12.64 10.3799 12.59 10.4199 12.52L10.5999 12.1899H11.3199L11.1899 12.4301Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5801 13.16C12.5801 13.16 12.7801 12.98 13.1201 12.92C13.2001 12.91 13.6801 12.91 13.6801 12.91L13.7501 12.67H12.7301L12.5801 13.16ZM13.5401 13.34H12.5301L12.4701 13.54H13.3501C13.4501 13.53 13.4701 13.54 13.4801 13.54L13.5401 13.34ZM12.2301 12.2H12.8501L12.7601 12.51C12.7601 12.51 12.9601 12.35 13.0901 12.3C13.2301 12.25 13.5301 12.2 13.5301 12.2L14.5301 12.1899L14.1901 13.33C14.1301 13.52 14.0701 13.65 14.0201 13.71C13.9801 13.77 13.9401 13.82 13.8501 13.87C13.7701 13.92 13.6901 13.94 13.6201 13.95C13.5501 13.95 13.4501 13.96 13.3101 13.96H12.3501L12.0801 14.86C12.0501 14.95 12.0401 14.99 12.0601 15.02C12.0701 15.04 12.1101 15.0601 12.1501 15.0601L12.5801 15.02L12.4301 15.51H11.9601C11.8101 15.51 11.7001 15.51 11.6201 15.5C11.5501 15.49 11.4701 15.5 11.4201 15.46C11.3801 15.42 11.3101 15.3699 11.3101 15.3199C11.3101 15.2699 11.3401 15.19 11.3701 15.08L12.2301 12.2Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M14.0301 14.03L13.9701 14.3C13.9501 14.39 13.9201 14.45 13.8601 14.5C13.7901 14.56 13.7101 14.62 13.5301 14.62L13.1901 14.63V14.9399C13.1901 15.0299 13.2101 15.02 13.2201 15.03C13.2401 15.05 13.2501 15.0501 13.2601 15.0601L13.3701 15.05L13.7001 15.03L13.5601 15.48H13.1801C12.9201 15.48 12.7201 15.47 12.6601 15.42C12.6001 15.38 12.5901 15.33 12.5901 15.24L12.6101 14.04H13.2101L13.2001 14.29H13.3401C13.3901 14.29 13.4201 14.29 13.4401 14.27C13.4601 14.26 13.4701 14.24 13.4801 14.21L13.5401 14.02H14.0301V14.03Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M5.46996 8.01001C5.44996 8.11001 5.05996 9.88001 5.05996 9.89001C4.97996 10.25 4.91996 10.51 4.70996 10.67C4.58996 10.77 4.45996 10.8101 4.29996 10.8101C4.04996 10.8101 3.89996 10.68 3.86996 10.45V10.37L3.94996 9.89001C3.94996 9.89001 4.34996 8.27006 4.42996 8.06006C4.42996 8.05006 4.42996 8.04004 4.43996 8.04004C3.64996 8.05004 3.50996 8.04003 3.49996 8.03003C3.48996 8.05003 3.47996 8.15002 3.47996 8.15002L3.06996 9.96997L3.02996 10.12L2.95996 10.63C2.95996 10.78 2.98996 10.9 3.04996 11.01C3.23996 11.34 3.76996 11.39 4.07996 11.39C4.46996 11.39 4.83996 11.31 5.08996 11.16C5.51996 10.91 5.62996 10.51 5.72996 10.16L5.77996 9.97998C5.77996 9.97998 6.19996 8.29996 6.26996 8.07996C6.26996 8.06996 6.26996 8.06006 6.27996 8.06006C5.68996 8.03006 5.51996 8.02001 5.46996 8.01001Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M7.76994 11.35C7.48994 11.35 7.38994 11.35 7.06994 11.36L7.05994 11.34C7.08994 11.22 7.11994 11.09 7.14994 10.97L7.18994 10.8C7.24994 10.54 7.30994 10.23 7.31994 10.14C7.32994 10.08 7.34994 9.93994 7.17994 9.93994C7.10994 9.93994 7.03994 9.97001 6.96994 10.01C6.92994 10.15 6.84994 10.55 6.80994 10.72C6.72994 11.1 6.71994 11.14 6.68994 11.33L6.66994 11.36C6.37994 11.36 6.27994 11.36 5.94994 11.37L5.93994 11.34C5.98994 11.12 6.04994 10.89 6.09994 10.66C6.23994 10.05 6.26994 9.82001 6.30994 9.51001L6.33994 9.48999C6.65994 9.43999 6.73994 9.43999 7.08994 9.35999L7.11994 9.39001L7.06994 9.57996C7.12994 9.53996 7.18994 9.50998 7.24994 9.47998C7.40994 9.39998 7.59994 9.37 7.69994 9.37C7.84994 9.37 8.01994 9.40997 8.08994 9.58997C8.15994 9.74997 8.10994 9.93995 8.02994 10.3199L7.98994 10.52C7.89994 10.95 7.88994 11.0199 7.83994 11.3199L7.76994 11.35Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M8.9099 11.35C8.7399 11.35 8.6299 11.35 8.5299 11.35C8.4199 11.35 8.3199 11.36 8.1699 11.36L8.1599 11.35L8.1499 11.34C8.1899 11.18 8.2199 11.1199 8.2399 11.0699C8.2599 11.0099 8.2799 10.96 8.3199 10.79C8.3699 10.58 8.3999 10.43 8.4199 10.3C8.4399 10.17 8.4599 10.0699 8.4699 9.93994L8.4799 9.93005L8.4899 9.92004C8.6599 9.90004 8.7599 9.87999 8.8699 9.85999C8.9799 9.84999 9.0899 9.82004 9.2599 9.79004L9.2699 9.80005V9.81995C9.2399 9.94995 9.2099 10.08 9.1699 10.22C9.1399 10.35 9.1099 10.49 9.0799 10.62C9.0199 10.9 8.9899 11.01 8.9799 11.08C8.9699 11.15 8.9599 11.19 8.9399 11.34L8.9199 11.35H8.9099Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M10.68 10.35C10.67 10.42 10.6 10.6901 10.52 10.8101C10.46 10.8901 10.39 10.95 10.31 10.95C10.29 10.95 10.15 10.95 10.15 10.74C10.15 10.64 10.17 10.54 10.19 10.42C10.26 10.1 10.35 9.81995 10.57 9.81995C10.75 9.82995 10.76 10.03 10.68 10.35ZM11.41 10.38C11.51 9.95 11.43 9.75 11.34 9.63C11.19 9.44 10.94 9.38 10.67 9.38C10.51 9.38 10.13 9.40004 9.82995 9.67004C9.61995 9.87004 9.51995 10.14 9.45995 10.39C9.39995 10.65 9.32995 11.13 9.76995 11.3C9.89995 11.36 10.1 11.37 10.22 11.37C10.54 11.37 10.86 11.28 11.11 11.02C11.3 10.83 11.38 10.51 11.41 10.38Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M18.6699 9.41003C18.3199 9.47003 18.2299 9.49004 17.8899 9.54004L17.8599 9.56006C17.8599 9.59006 17.8499 9.62001 17.8499 9.64001C17.7999 9.55001 17.7199 9.47994 17.6099 9.43994C17.4599 9.37994 17.1099 9.45998 16.8099 9.72998C16.5999 9.92998 16.4999 10.19 16.4399 10.45C16.3799 10.71 16.3099 11.18 16.7399 11.35C16.8799 11.41 16.9999 11.43 17.1299 11.42C17.2599 11.41 17.3899 11.34 17.4999 11.25C17.4899 11.29 17.4799 11.33 17.4699 11.37L17.4899 11.4C17.7999 11.39 17.8999 11.39 18.2299 11.39L18.2599 11.37C18.3099 11.08 18.3599 10.8 18.4799 10.25C18.5399 9.98 18.5999 9.71996 18.6699 9.45996V9.41003ZM17.5599 10.85C17.4999 10.93 17.3699 10.98 17.2899 10.98C17.2699 10.98 17.1299 10.98 17.1299 10.78C17.1299 10.68 17.1499 10.58 17.1799 10.46C17.2499 10.14 17.3399 9.87 17.5599 9.87C17.6999 9.87 17.7699 10.01 17.7499 10.24C17.7399 10.29 17.7299 10.34 17.7199 10.4C17.6999 10.5 17.6699 10.5899 17.6499 10.6899C17.6199 10.7499 17.5899 10.81 17.5599 10.85Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M13.32 11.35C13.04 11.35 12.94 11.35 12.62 11.36L12.61 11.34C12.64 11.22 12.67 11.09 12.7 10.97L12.74 10.8C12.8 10.54 12.86 10.23 12.87 10.14C12.88 10.08 12.9 9.93994 12.74 9.93994C12.67 9.93994 12.6 9.97001 12.53 10.01C12.49 10.15 12.41 10.55 12.37 10.72C12.29 11.1 12.29 11.14 12.25 11.33L12.23 11.36C11.94 11.36 11.84 11.36 11.51 11.37L11.5 11.34C11.55 11.12 11.61 10.89 11.66 10.66C11.8 10.05 11.83 9.82001 11.87 9.51001L11.89 9.48999C12.21 9.43999 12.29 9.43999 12.64 9.35999L12.67 9.39001L12.62 9.57996C12.68 9.53996 12.74 9.50998 12.79 9.47998C12.95 9.39998 13.14 9.37 13.24 9.37C13.39 9.37 13.56 9.40997 13.63 9.58997C13.69 9.74997 13.65 9.93995 13.56 10.3199L13.52 10.52C13.43 10.95 13.41 11.0199 13.37 11.3199L13.32 11.35Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M15.74 8H15.51C14.91 8.01 14.66 8.00999 14.57 7.98999C14.56 8.02999 14.55 8.10999 14.55 8.10999L14.33 9.10999C14.33 9.10999 13.81 11.24 13.79 11.34C14.32 11.33 14.53 11.33 14.62 11.34C14.64 11.24 14.76 10.64 14.76 10.64C14.76 10.64 14.86 10.1999 14.87 10.1899C14.87 10.1899 14.9 10.14 14.94 10.13H14.99C15.44 10.13 15.96 10.13 16.36 9.82996C16.63 9.62996 16.82 9.32996 16.9 8.95996C16.92 8.86996 16.94 8.76003 16.94 8.66003C16.94 8.52003 16.91 8.38002 16.83 8.27002C16.62 8.01002 16.21 8.01 15.74 8ZM16.04 9.05005C15.99 9.27005 15.85 9.46005 15.66 9.55005C15.51 9.63005 15.32 9.63 15.13 9.63H15L15.01 9.57996L15.24 8.57996L15.25 8.53003V8.48999L15.34 8.5C15.34 8.5 15.81 8.54004 15.82 8.54004C16.01 8.62004 16.09 8.80005 16.04 9.05005Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M9.20998 9.62995C9.38998 9.49995 9.41998 9.31992 9.25998 9.22992C9.09998 9.13992 8.82998 9.16998 8.63998 9.28998C8.44998 9.41998 8.42998 9.58988 8.58998 9.68988C8.74998 9.78988 9.02998 9.75995 9.20998 9.62995Z", fill: "white" }), /*#__PURE__*/React.createElement("path", { d: "M20.99 9.40002L20.9599 9.37C20.6199 9.44 20.55 9.44999 20.24 9.48999L20.2199 9.51001V9.52002V9.51001C19.9799 10.05 19.9899 9.93999 19.7999 10.36C19.7999 10.34 19.7999 10.3301 19.7999 10.3101L19.75 9.38L19.7199 9.34998C19.3599 9.41998 19.35 9.42997 19.02 9.46997L18.99 9.48999C18.99 9.49999 18.9899 9.51003 18.9799 9.53003C19.0199 9.74003 19.0099 9.70003 19.0499 10.03C19.0699 10.19 19.1 10.36 19.12 10.52C19.15 10.79 19.1699 10.93 19.2099 11.34C18.9899 11.71 18.9299 11.8501 18.7199 12.1801L18.57 12.42C18.55 12.45 18.54 12.46 18.51 12.47C18.49 12.48 18.45 12.48 18.41 12.48H18.33L18.2 12.9L18.6299 12.91C18.8799 12.91 19.0399 12.79 19.1299 12.63L19.4 12.17L19.43 12.14C19.6 11.78 20.99 9.40002 20.99 9.40002Z", fill: "white" })); var _default = exports.default = UnionPay;