UNPKG

react-native-moyasar-sdk

Version:

Official React Native Moyasar SDK - Integrate Credit Cards, Apple Pay, Samsung Pay, and STC Pay with simple interfaces for a seamless payment experience in your React Native app

22 lines (21 loc) 7.07 kB
"use strict"; import { useColorScheme } from 'react-native'; import Svg, { Path } from 'react-native-svg'; import { jsx as _jsx } from "react/jsx-runtime"; export const PoweredByLogo = props => { const isLightTheme = useColorScheme() === 'light'; const logoColor = isLightTheme ? '#A4A4A4' : '#F9F9F9'; return /*#__PURE__*/_jsx(Svg, { width: "100%", height: "100%", viewBox: "0 0 139 11", preserveAspectRatio: "xMidYMid meet", fill: "none", ...props, children: /*#__PURE__*/_jsx(Path, { fill: logoColor, d: "M3.395 2.7c.414 0 .78.081 1.098.243.318.156.56.381.729.675.174.288.26.627.26 1.017 0 .39-.086.732-.26 1.026a1.77 1.77 0 0 1-.738.684 2.405 2.405 0 0 1-1.09.234H1.758V9H.974V2.7h2.42ZM1.757 5.859h1.566c.414 0 .744-.111.99-.333.246-.222.369-.519.369-.891s-.123-.666-.37-.882c-.24-.222-.566-.333-.98-.333H1.757v2.439Zm6.33 3.195A2.36 2.36 0 0 1 6.9 8.757a2.086 2.086 0 0 1-.8-.828 2.527 2.527 0 0 1-.289-1.224c0-.462.096-.87.288-1.224.192-.354.46-.63.801-.828a2.36 2.36 0 0 1 1.188-.297c.444 0 .837.099 1.18.297.347.198.617.474.81.828.191.354.287.762.287 1.224 0 .462-.096.87-.288 1.224-.192.354-.462.63-.81.828a2.31 2.31 0 0 1-1.179.297Zm0-.657c.3 0 .564-.072.792-.216.234-.144.414-.345.54-.603.126-.258.19-.549.19-.873 0-.324-.064-.615-.19-.873a1.425 1.425 0 0 0-.54-.603 1.451 1.451 0 0 0-.792-.216c-.3 0-.567.072-.8.216a1.445 1.445 0 0 0-.532.603 1.963 1.963 0 0 0-.189.873c0 .324.063.615.19.873.125.258.302.459.53.603.234.144.501.216.801.216Zm2.56-3.987h.774l1.143 3.735L13.77 4.41h.684l1.143 3.735 1.197-3.735h.747L16.01 9h-.81l-1.107-3.411L12.942 9l-.81.009-1.485-4.599Zm7.178 2.295c0-.468.09-.879.27-1.233a2 2 0 0 1 .774-.819 2.16 2.16 0 0 1 1.134-.297c.42 0 .792.087 1.116.261.324.174.579.426.765.756.186.33.285.717.297 1.161 0 .066-.006.171-.018.315h-3.564v.063c.012.45.15.81.414 1.08s.609.405 1.035.405c.33 0 .609-.081.837-.243.234-.168.39-.399.468-.693h.747c-.09.468-.315.852-.675 1.152-.36.294-.801.441-1.323.441-.456 0-.855-.096-1.197-.288a2.086 2.086 0 0 1-.801-.828 2.647 2.647 0 0 1-.28-1.233Zm3.59-.468c-.035-.39-.182-.693-.44-.909-.252-.216-.573-.324-.963-.324-.348 0-.654.114-.918.342a1.3 1.3 0 0 0-.45.891h2.772Zm3.939-1.827v.72h-.369c-.438 0-.753.147-.945.441-.186.294-.279.657-.279 1.089V9h-.738V4.41h.639l.099.693c.132-.21.303-.378.513-.504.21-.126.501-.189.873-.189h.207Zm.25 2.295c0-.468.09-.879.27-1.233a2 2 0 0 1 .773-.819 2.16 2.16 0 0 1 1.134-.297c.42 0 .792.087 1.116.261.324.174.58.426.765.756.186.33.285.717.297 1.161 0 .066-.006.171-.018.315h-3.564v.063c.012.45.15.81.414 1.08s.61.405 1.035.405c.33 0 .61-.081.837-.243.234-.168.39-.399.468-.693h.747c-.09.468-.315.852-.675 1.152-.36.294-.8.441-1.323.441-.456 0-.855-.096-1.197-.288a2.086 2.086 0 0 1-.8-.828 2.647 2.647 0 0 1-.28-1.233Zm3.59-.468c-.036-.39-.183-.693-.44-.909-.253-.216-.574-.324-.964-.324-.348 0-.654.114-.918.342a1.3 1.3 0 0 0-.45.891h2.772ZM35.157 2.7V9h-.639l-.099-.738c-.384.528-.909.792-1.575.792a2.32 2.32 0 0 1-1.143-.279 1.999 1.999 0 0 1-.783-.81c-.186-.354-.279-.774-.279-1.26 0-.462.093-.87.28-1.224.191-.354.455-.63.791-.828a2.191 2.191 0 0 1 1.134-.297c.372 0 .69.069.954.207.264.132.471.315.621.549V2.7h.738Zm-2.24 5.697c.293 0 .554-.069.782-.207.234-.144.414-.342.54-.594.126-.258.19-.549.19-.873 0-.33-.064-.624-.19-.882a1.414 1.414 0 0 0-.54-.612 1.435 1.435 0 0 0-.783-.216c-.456 0-.825.159-1.107.477-.276.312-.414.717-.414 1.215 0 .498.138.906.414 1.224.282.312.651.468 1.107.468Zm7.914-4.041c.426 0 .804.093 1.134.279.336.186.597.456.783.81.192.354.288.774.288 1.26 0 .462-.096.87-.288 1.224-.186.354-.447.63-.783.828a2.191 2.191 0 0 1-1.134.297c-.372 0-.69-.066-.954-.198a1.601 1.601 0 0 1-.62-.558l-.1.702h-.639V2.7h.738v2.448c.384-.528.91-.792 1.575-.792Zm-.072 4.041c.456 0 .822-.156 1.098-.468.282-.318.423-.726.423-1.224s-.14-.903-.423-1.215c-.276-.318-.642-.477-1.098-.477a1.48 1.48 0 0 0-.792.216 1.385 1.385 0 0 0-.53.594c-.127.252-.19.54-.19.864 0 .33.063.627.19.891.125.258.302.459.53.603.234.144.498.216.792.216Zm3.269-3.987 1.413 3.744 1.368-3.744h.783l-2.115 5.364a4.217 4.217 0 0 1-.288.621.809.809 0 0 1-.315.306 1.09 1.09 0 0 1-.504.099h-.882v-.675h.657a.887.887 0 0 0 .324-.045.352.352 0 0 0 .17-.153 1.76 1.76 0 0 0 .172-.342l.234-.549-1.8-4.626h.783ZM55.355 1.059c.811-.212 1.622.16 2.017.924l.778 1.503-.69 1.336-1.16-2.241a.545.545 0 0 0-.647-.297.569.569 0 0 0-.436.58v5.273c0 .432.334.552.436.58.102.026.45.083.647-.298l3.328-6.436c.395-.764 1.206-1.136 2.017-.924.81.212 1.355.937 1.355 1.804v5.274c0 .867-.544 1.592-1.355 1.804-.153.04-.304.059-.453.059-.648 0-1.243-.361-1.564-.984L58.844 7.5l.69-1.336 1.167 2.254a.544.544 0 0 0 .647.297.569.569 0 0 0 .436-.58V2.863a.569.569 0 0 0-.436-.58.63.63 0 0 0-.156-.02c-.149 0-.356.056-.491.318l-3.329 6.434c-.32.621-.916.984-1.564.984-.15 0-.3-.019-.453-.06C54.545 9.728 54 9.003 54 8.135V2.862c0-.867.544-1.592 1.355-1.803ZM85.489 2.152c1.77 0 3.21 1.415 3.21 3.155 0 1.74-1.44 3.154-3.21 3.154s-3.21-1.415-3.21-3.154c0-1.74 1.44-3.155 3.21-3.155Zm0-1.279c-2.492 0-4.511 1.985-4.511 4.434 0 2.448 2.02 4.433 4.511 4.433C87.981 9.74 90 7.755 90 5.307 90 2.858 87.98.873 85.49.873ZM115.089 9.74c-.462 0-.881-.052-1.244-.154a3.226 3.226 0 0 1-.959-.436 2.887 2.887 0 0 1-.668-.626 2.484 2.484 0 0 1-.387-.742l-.053-.167 1.273-.445.057.17c.103.308.317.58.638.812.32.231.721.348 1.192.348.588 0 1.05-.115 1.373-.344.309-.217.459-.495.459-.851a.937.937 0 0 0-.405-.79c-.297-.224-.698-.402-1.192-.529l-.895-.235a3.957 3.957 0 0 1-1.051-.437 2.371 2.371 0 0 1-.791-.762c-.199-.314-.301-.692-.301-1.125 0-.795.261-1.428.775-1.88.508-.447 1.241-.674 2.178-.674.557 0 1.047.095 1.455.28.407.186.745.426 1.005.713.259.288.446.604.554.941l.054.167-1.256.444-.062-.163a1.644 1.644 0 0 0-.672-.834c-.318-.204-.712-.307-1.171-.307-.459 0-.853.114-1.124.34-.265.221-.394.516-.394.902 0 .323.096.56.295.725.218.182.511.318.87.405l.895.224c.817.195 1.458.525 1.902.982.453.468.684.983.684 1.53 0 .463-.119.892-.352 1.275a2.429 2.429 0 0 1-1.032.914c-.444.218-1 .329-1.651.329h.001ZM94.978 4.65l-2.15-3.621H91.4l2.864 4.822.714-1.202ZM98.33 1.029 94.977 6.77V9.74h1.403V7.154l3.575-6.125h-1.627ZM105.011 2.287c.055 0 .07.034.077.05l3.148 7.403h1.519l-3.385-7.961a1.46 1.46 0 0 0-1.359-.906c-.6 0-1.121.347-1.359.906l-3.385 7.961h1.519l1.085-2.551h3.106l-.52-1.22h-2.067l1.544-3.631c.007-.017.022-.051.077-.051ZM124.689 2.287c.055 0 .071.034.077.05l3.201 7.403h1.544l-3.441-7.961a1.484 1.484 0 0 0-1.381-.906c-.61 0-1.14.347-1.381.906l-3.441 7.961h1.544l1.103-2.551h3.156l-.527-1.22h-2.102l1.57-3.631c.007-.017.022-.051.078-.051ZM139 9.731l-2.798-3h.681a2.986 2.986 0 0 0 1.762-2.719 2.99 2.99 0 0 0-2.989-2.983h-3.189v8.71h1.363V2.39h1.826c.896 0 1.626.728 1.626 1.624 0 .895-.729 1.623-1.626 1.623h-.935V6.73l2.401 3.001H139ZM73.044 4.2l-1.566-2.671a1.317 1.317 0 0 0-1.495-.607A1.334 1.334 0 0 0 69 2.223V9.74h1.41V2.498l1.812 3.089.822-1.388ZM77.19.922a1.328 1.328 0 0 0-1.504.61l-2.953 4.98c.282.42 1.201.74 2.08-.709l.216-.365 1.732-2.94V9.74h1.417V2.223c0-.616-.397-1.138-.988-1.3Z" }) }); }; //# sourceMappingURL=powered_logo.js.map