expo-openpay 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -9
- package/build/assets/AmexLogo.d.ts.map +1 -1
- package/build/assets/AmexLogo.js.map +1 -1
- package/build/assets/DiscoverLogo.d.ts +4 -0
- package/build/assets/DiscoverLogo.d.ts.map +1 -0
- package/build/assets/DiscoverLogo.js +12 -0
- package/build/assets/DiscoverLogo.js.map +1 -0
- package/build/assets/MCLogo.d.ts.map +1 -1
- package/build/assets/MCLogo.js.map +1 -1
- package/build/assets/VisaLogo.d.ts.map +1 -1
- package/build/assets/VisaLogo.js.map +1 -1
- package/build/assets/index.d.ts +1 -0
- package/build/assets/index.d.ts.map +1 -1
- package/build/assets/index.js +1 -0
- package/build/assets/index.js.map +1 -1
- package/build/components/OPCardForm.js +14 -13
- package/build/components/OPCardForm.js.map +1 -1
- package/build/components/forms/TextInput.js +2 -2
- package/build/components/forms/TextInput.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/AmexLogo.tsx +1 -1
- package/src/assets/DiscoverLogo.tsx +29 -0
- package/src/assets/MCLogo.tsx +1 -1
- package/src/assets/VisaLogo.tsx +1 -1
- package/src/assets/index.ts +1 -0
- package/src/components/OPCardForm.tsx +13 -13
- package/src/components/forms/TextInput.tsx +2 -2
- package/src/assets/photos/discover_logo.png +0 -0
package/README.md
CHANGED
|
@@ -26,7 +26,6 @@ Bare React Native Projects
|
|
|
26
26
|
For bare React Native projects:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
Copy code
|
|
30
29
|
npm install expo-openpay react-native-svg
|
|
31
30
|
# or
|
|
32
31
|
yarn add expo-openpay react-native-svg
|
|
@@ -35,7 +34,6 @@ yarn add expo-openpay react-native-svg
|
|
|
35
34
|
After installing, run CocoaPods for iOS:
|
|
36
35
|
|
|
37
36
|
```bash
|
|
38
|
-
Copy code
|
|
39
37
|
npx pod-install
|
|
40
38
|
```
|
|
41
39
|
|
|
@@ -45,14 +43,13 @@ Usage
|
|
|
45
43
|
Basic Example
|
|
46
44
|
|
|
47
45
|
```ts
|
|
48
|
-
|
|
49
|
-
import ExpoOpenpay, { ExpoOpenpayView } from 'expo-openpay';
|
|
46
|
+
import ExpoOpenpay, { ExpoOpenpayView } from "expo-openpay";
|
|
50
47
|
|
|
51
48
|
// Initialize Openpay (example)
|
|
52
49
|
ExpoOpenpay.initialize({
|
|
53
|
-
merchantId:
|
|
54
|
-
publicKey:
|
|
55
|
-
production: false
|
|
50
|
+
merchantId: "YOUR_MERCHANT_ID",
|
|
51
|
+
publicKey: "YOUR_PUBLIC_KEY",
|
|
52
|
+
production: false,
|
|
56
53
|
});
|
|
57
54
|
|
|
58
55
|
// Use the component in JSX
|
|
@@ -61,8 +58,8 @@ export default function PaymentScreen() {
|
|
|
61
58
|
<ExpoOpenpayView
|
|
62
59
|
amount={100}
|
|
63
60
|
cardType="visa"
|
|
64
|
-
onPaymentSuccess={(response) => console.log(
|
|
65
|
-
onPaymentError={(error) => console.log(
|
|
61
|
+
onPaymentSuccess={(response) => console.log("Success", response)}
|
|
62
|
+
onPaymentError={(error) => console.log("Error", error)}
|
|
66
63
|
/>
|
|
67
64
|
);
|
|
68
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmexLogo.d.ts","sourceRoot":"","sources":["../../src/assets/AmexLogo.tsx"],"names":[],"mappings":"AAAA,OAAY,
|
|
1
|
+
{"version":3,"file":"AmexLogo.d.ts","sourceRoot":"","sources":["../../src/assets/AmexLogo.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAmBhC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmexLogo.js","sourceRoot":"","sources":["../../src/assets/AmexLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"AmexLogo.js","sourceRoot":"","sources":["../../src/assets/AmexLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,EAAE,IAAI,EAAY,MAAM,kBAAkB,CAAC;AAEvD,MAAM,QAAQ,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9C,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC,CACjC;IAAA,CAAC,IAAI,CACH,CAAC,CAAC,6MAA6M,CAC/M,IAAI,CAAC,SAAS,EAEhB;IAAA,CAAC,IAAI,CACH,CAAC,CAAC,yFAAyF,CAC3F,IAAI,CAAC,SAAS,EAEhB;IAAA,CAAC,IAAI,CACH,CAAC,CAAC,4IAA4I,CAC9I,IAAI,CAAC,SAAS,EAEhB;IAAA,CAAC,IAAI,CACH,CAAC,CAAC,kGAAkG,CACpG,IAAI,CAAC,SAAS,EAElB;EAAA,EAAE,GAAG,CAAC,CACP,CAAC;AAEF,eAAe,QAAQ,CAAC","sourcesContent":["import Svg, { Path, SvgProps } from \"react-native-svg\";\n\nconst AmexLogo: React.FC<SvgProps> = (props) => (\n <Svg viewBox=\"0 0 70 70\" {...props}>\n <Path\n d=\"m59.4 49.7-2.6-2.9-2.7 2.9H37.4V36.2h-5.3l6.6-15.1h6.4l2.3 5.2v-5.2h8l1.4 3.9 1.4-3.9h6.1v-2.3c0-1.4-1.1-2.5-2.5-2.5H8.2c-1.4 0-2.5 1.1-2.5 2.5v32.5c0 1.4 1.1 2.5 2.5 2.5h53.6c1.4 0 2.5-1.1 2.5-2.5v-1.6z\"\n fill=\"#0071ce\"\n />\n <Path\n d=\"M60.1 48.1h4.2l-5.5-5.9 5.5-5.8h-4.1l-3.5 3.8-3.4-3.8h-4.2l5.6 5.9-5.6 5.8h4.1l3.5-3.8z\"\n fill=\"#0071ce\"\n />\n <Path\n d=\"M42.4 45.4v-1.8H49v-2.7h-6.6v-1.8h6.7v-2.7h-9.9v11.7h9.9v-2.7zM61.2 34.7h3V22.9l-4.8.1-2.6 7.3-2.7-7.3h-5v11.7h3.2v-8.2l3 8.2h2.8l3.1-8.2z\"\n fill=\"#0071ce\"\n />\n <Path\n d=\"M44 23h-4.1l-5.2 11.7h3.5l1-2.3h5.4l1 2.3h3.6zm-3.7 6.7 1.6-3.8 1.6 3.8zM61.4 41.9l2.9 3.2v-6.4z\"\n fill=\"#0071ce\"\n />\n </Svg>\n);\n\nexport default AmexLogo;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscoverLogo.d.ts","sourceRoot":"","sources":["../../src/assets/DiscoverLogo.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAW,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE1D,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAyBpC,CAAC;AACF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Svg, { G, Path } from "react-native-svg";
|
|
2
|
+
const DiscoverLogo = (props) => (<Svg width={400} height={256} {...props}>
|
|
3
|
+
<G fillRule="evenodd">
|
|
4
|
+
<Path d="M9.555.415C5.21 1.806 1.875 5.055.462 9.273l-.464 1.385.057 117.854.056 117.855.979 1.983c.538 1.091 1.063 2.017 1.166 2.057.104.041.188.174.188.295 0 .616 3.114 3.132 5.112 4.131l2.111 1.056 22.534.06 22.534.059 1.502-.763a38 38 0 0 0 2.899-1.67c.768-.5 1.513-.908 1.656-.908s.513-.2.823-.444c.558-.439.963-.444 35.086-.501 21.688-.036 12.375-.077-25.05-.112-65.81-.06-60.663.062-62.873-1.491-.611-.43-1.277-.841-1.48-.915a.96.96 0 0 1-.502-.502c-.074-.203-.486-.869-.916-1.48s-.93-1.614-1.11-2.23c-.289-.982-.322-15.29-.272-117.444l.058-116.326.602-1.284c.785-1.677 2.726-3.694 4.34-4.512l1.28-.648 124-.181c138.606-.203 130.638-.289 141.333 1.533 1.833.312 3.735.609 4.226.66s2.692.55 4.889 1.108c2.198.559 4.246 1.056 4.552 1.105 1.128.182 12.282 4.043 14.172 4.906.644.294 1.794.794 2.555 1.112 3.656 1.527 12.024 5.956 15.495 8.202.794.515 2.285 1.473 3.313 2.13s1.978 1.298 2.111 1.425 1.34 1.026 2.68 1.998c2.483 1.801 5.605 4.238 6.007 4.689.122.137 1.272 1.18 2.556 2.317 3.439 3.049 5.884 5.474 9.405 9.329a429 429 0 0 0 3.267 3.556c.346.316 2.993 3.72 4.408 5.666a157 157 0 0 0 2.164 2.923c.302.386 1.109 1.586 1.794 2.667a379 379 0 0 0 2.187 3.41 53 53 0 0 1 1.788 3c.938 1.724 1.293 2.167 1.551 1.934.096-.086.108-.042.028.098-.195.342.475 1.91.745 1.744.123-.076.151.029.067.249q-.15.385.111.222.26-.162.111.223c-.107.279-.067.332.148.199q.291-.18.139.07c-.199.322.263 1.205.54 1.034.118-.073.145.037.062.252q-.149.385.111.222.26-.162.111.223c-.081.211-.055.325.058.255s.218.097.234.371.492 1.418 1.056 2.543 1.026 2.139 1.026 2.251c0 .293 2.067 4.895 2.158 4.804.085-.085-.672-1.964-1.131-2.805-.167-.305-.43-.955-.585-1.444s-.614-1.555-1.021-2.368c-.604-1.209-.679-1.502-.411-1.605.181-.07 1.022-.579 1.87-1.132.847-.554 1.65-1.006 1.784-1.006.133 0 .514-.183.845-.406s1.068-.723 1.638-1.111 1.16-.706 1.311-.706c.15 0 .784-.334 1.408-.742a31 31 0 0 1 1.912-1.157 59 59 0 0 0 2.111-1.227c1.593-.97 3.85-2.263 5.736-3.286a36 36 0 0 0 2.307-1.373 18 18 0 0 1 1.889-1.087 21 21 0 0 0 1.957-1.117c.55-.362 1.475-.874 2.055-1.139s1.056-.547 1.056-.626.75-.53 1.666-1.001l1.667-.858V33.742c0-25.558.082-24.004-1.405-26.699-.266-.483-.583-1.066-.703-1.294-.121-.229-.299-.416-.396-.416s-.249-.175-.336-.389c-.538-1.31-4.056-3.693-6.779-4.593C388.643-.223 11.35-.159 9.555.415m362.889 84.331c0 .084.338 1.025.75 2.092s.804 2.09.871 2.273c.077.212.129.23.14.051.009-.156-.343-1.206-.782-2.333-.766-1.966-.979-2.417-.979-2.083m2.244 6.476c-.007.122.336 1.272.761 2.556.426 1.283.714 1.999.64 1.591-.152-.845-1.382-4.486-1.401-4.147m2.016 7.445c.012.577.362 1.525.369 1a2.6 2.6 0 0 0-.184-.889c-.117-.273-.189-.316-.185-.111m-176.871.153c.214.056.564.056.778 0s.039-.102-.389-.102-.603.046-.389.102m-5.5.437c-.244.051-1.143.256-1.998.455-.854.199-1.679.362-1.833.362s-.28.074-.28.164-.215.108-.479.04c-.357-.094-.433-.051-.299.166.112.18.093.237-.048.15-.226-.14-2.825.811-3.318 1.214-.14.115-.469.25-.731.301s-1.18.571-2.04 1.158c-.86.586-1.811 1.199-2.112 1.361-.785.422-5.862 5.556-5.862 5.928 0 .171-.132.391-.293.489-.279.169-1.806 2.277-1.818 2.511-.004.061-.322.661-.709 1.333-1.456 2.533-2.776 7.338-3.054 11.111-.323 4.404-.33 4.605-.122 3.778.155-.618.179-.462.119.753-.052 1.043-.007 1.433.141 1.223.151-.215.182-.054.101.529-.08.576-.04.791.128.687.167-.103.199.072.101.562-.093.462-.063.663.085.572s.174.073.076.466c-.107.426-.078.561.099.452.164-.101.205-.032.117.197-.161.419.98 3.67 1.287 3.67.117 0 .151.1.076.222-.076.122-.015.222.135.222s.206.067.124.148c-.209.209 1.471 3.25 2.743 4.963 2.047 2.759 6.18 6.406 8.72 7.695 1.282.65 1.403.529.167-.166-.489-.274-.888-.556-.885-.625.005-.188 2.745-1.792 4.651-2.723.923-.45 2.378-1.27 3.234-1.82 3.126-2.013 6.261-3.86 7.888-4.648.917-.444 2.028-1.035 2.469-1.315 3.796-2.407 4.746-3.004 5.329-3.344.368-.215.883-.59 1.144-.833.262-.244.564-.443.671-.443s.615-.288 1.127-.64c.513-.353 2.231-1.32 3.818-2.15 2.748-1.436 8.26-4.712 9.022-5.361.312-.266 3.876-2.071 4.089-2.071.044 0 .13.275.191.611s.067-.389.014-1.611c-.28-6.457-3.334-13.144-8.219-18-1.902-1.891-5.039-4.342-4.674-3.652.093.175-.048.069-.314-.237-.266-.305-.418-.43-.339-.278.239.464-.053.314-.787-.404-.397-.387-.836-.628-1.02-.558-.177.068-.267.036-.2-.072.133-.216-.535-.548-.723-.36-.064.064.017.117.18.117s.243.053.177.119c-.204.204-1.282-.394-1.135-.631.079-.128.027-.155-.121-.064-.337.209-1.187-.063-1.024-.327.07-.112-.045-.138-.255-.057-.273.105-.332.066-.206-.138.131-.212.05-.244-.325-.125-.349.111-.452.082-.342-.096.111-.179-.029-.214-.472-.117q-.633.14-.335-.071c.21-.148-.126-.314-1.156-.573-1.947-.489-2.404-.426-.584.08 1.941.539 1.264.539-1.333 0-1.979-.412-7.376-.596-8.778-.299m-4 .299c-.566.243.018.243.778 0 .447-.143.469-.18.111-.185a2.6 2.6 0 0 0-.889.185M377.257 101c.077.489.224 1.089.327 1.333.118.282.136.12.047-.444-.076-.489-.223-1.089-.326-1.333-.118-.283-.136-.12-.048.444m.565 2.222c0 .245.08.695.178 1 .141.44.178.463.178.111 0-.244-.08-.694-.178-1-.141-.44-.178-.463-.178-.111m1.296 8.241c.004.234.151 1.476.326 2.759.176 1.284.339 2.784.362 3.334.037.857.056.894.134.26.086-.704-.554-6.492-.74-6.686-.049-.051-.086.099-.082.333m1.046 10.426c.063 1.833.152 3.375.197 3.426.136.15.039-3.29-.143-5.093-.108-1.074-.127-.481-.054 1.667m-211.001 3.222c0 .428.045.603.101.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.101-.039-.101.389m210.91 11c.001.856.041 1.178.089.717a8.3 8.3 0 0 0-.002-1.555c-.049-.395-.088-.017-.087.838m-.232 2.667c.002.611.045.835.096.497s.05-.838-.003-1.111c-.053-.274-.094.003-.093.614m-.225 2.111c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m-.386 2.563c-.087.809-.111 1.519-.054 1.576s.174-.559.261-1.369.111-1.518.054-1.575-.175.558-.261 1.368" fill="#ea5f15"/>
|
|
5
|
+
<Path d="M194.556 98.921c-15.474 1.975-27.036 16.141-25.275 30.968.158 1.334.184 1.08.181-1.778-.006-4.833 1.178-9.969 3.045-13.213.39-.677.711-1.281.715-1.342.012-.234 1.539-2.342 1.818-2.511.161-.098.293-.318.293-.489 0-.372 5.077-5.506 5.862-5.928.301-.162 1.252-.775 2.112-1.361.86-.587 1.778-1.108 2.04-1.158.262-.051.591-.186.731-.301.493-.403 3.092-1.354 3.318-1.214.141.087.16.03.048-.15-.134-.217-.058-.26.299-.166.271.07.479.021.479-.114 0-.131.056-.183.123-.115.068.067.843-.076 1.722-.318 2.542-.702 8.035-.799 10.968-.196 2.756.568 3.404.572 1.298.009-2.984-.799-6.596-1.029-9.777-.623M148 99.438c-17.207 2.857-27.626 18.975-23.202 35.895 3.931 15.036 20.458 23.847 36.02 19.204 1-.298 2.475-.837 3.278-1.197l1.46-.655v-12.242l-1.674 1.402c-9.507 7.968-23.518 4.548-27.898-6.809-7.267-18.846 13.688-34.617 28.405-21.378l1.167 1.05v-12.431l-2.266-.94c-4.832-2.005-10.449-2.703-15.29-1.899m-48.222.141c-8.487 1.298-14.086 7.423-14.097 15.421-.011 7.677 3.062 11.026 13.763 14.997 7.872 2.921 9.937 4.672 9.963 8.447.063 9.315-13.859 10.633-19.074 1.805-.816-1.381-.345-1.622-4.218 2.157l-3.263 3.184.549.816c9.793 14.564 33.173 11.852 36.47-4.23 2.097-10.228-2.072-16.217-14.427-20.726-8.017-2.926-10.354-5.533-8.427-9.401 2.36-4.735 9.738-5.118 14.557-.757 1.146 1.037 1.39 1.171 1.648.907 1.371-1.404 5.148-6.791 4.94-7.046-2.832-3.458-12.685-6.445-18.384-5.574m258.919.456c-4.037.717-4.454 6.388-.579 7.868 3.941 1.505 7.278-3.572 4.368-6.644-1.076-1.136-2.214-1.503-3.789-1.224m-340.03 27.436v27.249l9.944-.111c8.097-.091 10.337-.183 12.056-.495 27.544-5.007 30.872-43.001 4.557-52.046-4.25-1.46-8.057-1.83-18.946-1.839l-7.611-.007zm49.555-.023v27.227l5.278-.06c2.903-.033 5.253-.134 5.222-.226s-.055-12.317-.055-27.167v-27H68.222zm155.556-27.033c0 .11.387 1.137.86 2.281.474 1.145 1.583 3.832 2.466 5.971s2.187 5.289 2.897 7c3.105 7.48 14.638 35.374 15.895 38.444l.728 1.778 2.856.062 2.856.061 3.821-9.061a49429 49429 0 0 0 19.559-46.455c.089-.224-1.064-.269-5.622-.222l-5.734.059-3.132 7.778a9010 9010 0 0 0-7.218 18c-2.248 5.622-4.156 10.305-4.242 10.405-.086.101-1.162-2.349-2.391-5.444a21517 21517 0 0 1-6.813-17.183 14589 14589 0 0 0-4.976-12.556l-.399-1-5.705-.059c-3.28-.034-5.706.026-5.706.141m56.889 27.029v27.223h30v-9.223h-19.445v-14.666l9.389-.058 9.389-.058v-9.106h-18.896l.059-6.056.059-6.056h19.445v-9.222h-30zm37.111-.025v27.248h10.444v-21.805l.806.069c.799.068.87.164 8.056 10.847l7.249 10.778 6.414.059c5.286.048 6.394.006 6.3-.239-.063-.164-3.824-5.266-8.358-11.338s-8.245-11.123-8.245-11.226c0-.102.558-.31 1.239-.463 12.411-2.777 15.08-21.669 3.984-28.187-4.009-2.355-6.368-2.726-18.278-2.873l-9.611-.118zm-108.912-26.287c.782.36 1.459.617 1.505.571.101-.101-2.459-1.265-2.732-1.242-.107.009.445.311 1.227.671m152.802.479c2.788 2.794-.22 7.288-3.651 5.453-3.167-1.695-1.991-6.397 1.601-6.397 1.007 0 1.193.085 2.05.944m-3.89 2.5v2.333h.555c.505 0 .556-.086.556-.932v-.933l.686.933c.541.735.827.932 1.352.932h.666l-.703-.887-.703-.887.462-.587c1.018-1.294.338-2.305-1.55-2.305h-1.321zm1.997-1.336c.368.443.125 1.003-.435 1.003-.353 0-.451-.145-.451-.667 0-.729.426-.891.886-.336m-24.379 6.441c4.329.917 6.623 3.963 6.32 8.389-.359 5.239-3.928 7.722-11.105 7.727l-2.389.001v-16.444l2.834.004c1.6.002 3.489.143 4.34.323m-297.559.662c14.153 2.316 19.607 20.268 9.293 30.585-3.512 3.513-7.417 4.839-14.535 4.936l-3.373.045-.057-17.777c-.032-9.778-.004-17.918.061-18.089.144-.378 5.636-.187 8.611.3" fill="#241c23"/>
|
|
6
|
+
<Path d="M197.74 4.611c11.774.032 30.974.032 42.667 0s2.06-.058-21.407-.058-33.034.026-21.26.058m64.871.218c.52.047 1.37.047 1.889 0 .519-.046.094-.085-.944-.085s-1.464.039-.945.085m3.445.219a5 5 0 0 0 1.222 0c.336-.051.061-.093-.611-.093-.673 0-.948.042-.611.093m2.447.223c.338.051.838.049 1.111-.003s-.003-.095-.614-.093c-.611.001-.835.044-.497.096m12.608 1.84c.306.098.756.178 1 .178.352 0 .329-.037-.111-.178-.306-.098-.756-.178-1-.178-.352 0-.329.037.111.178m9 2.119c.367.168.817.302 1 .299s-.017-.142-.444-.307c-1.015-.39-1.414-.385-.556.008M4.555 128.556c0 63.677.025 89.694.056 57.815s.031-83.98 0-115.778-.056-5.715-.056 57.963M320 22.1c0 .061.3.266.667.456.366.189.666.294.666.233s-.3-.266-.666-.456c-.367-.189-.667-.294-.667-.233m6.556 4.214c.366.315.758.573.87.574.241.001.238-.001-.759-.645l-.778-.502zm27.319 25.759c.342.449.667.816.722.816.154 0-.808-1.3-1.092-1.476-.139-.086.028.211.37.66m44.347 5.647c-.794.432-1.498.868-1.563.969s-.565.392-1.111.647a20 20 0 0 0-1.992 1.121c-.55.36-1.431.862-1.957 1.115-.527.253-1.377.742-1.889 1.087-.513.344-1.551.962-2.307 1.373a146 146 0 0 0-5.736 3.286 59 59 0 0 1-2.111 1.227c-.428.228-1.289.749-1.912 1.157-.624.408-1.258.742-1.408.742-.151 0-.741.318-1.311.706s-1.307.888-1.638 1.111-.71.406-.841.406-.979.475-1.883 1.055c-1.886 1.211-2.589 1.696-2.136 1.472.231-.114.276-.054.169.226-.081.209-.061.328.043.264.284-.176 1.65 2.933 1.481 3.372-.079.206-.074.306.01.221.085-.084.336.219.557.674.723 1.481 1.326 2.999 1.231 3.094-.051.051-.269-.366-.483-.928-.214-.561-.471-1.07-.57-1.132s.033.402.294 1.029c.261.628.6 1.189.755 1.248.154.06.23.24.168.401-.062.16-.004.359.129.441.132.082.183.242.113.356s-.011.207.131.207.2.154.127.345c-.086.223-.043.289.122.187.173-.107.215-.004.13.322-.081.307-.041.427.111.333.151-.093.191.027.111.334-.069.264-.043.428.059.365.203-.125 1.167 2.267 1.052 2.612-.039.118-.251-.355-.47-1.05s-.441-1.223-.492-1.172c-.121.121.572 2.198.854 2.557.12.153.14.278.045.278s.002.193.217.43c.214.237.324.537.243.667-.08.13-.028.236.115.236.152 0 .213.186.145.445-.073.28-.028.391.121.298.151-.093.191.027.111.334-.081.307-.041.427.111.333.151-.094.191.026.111.333-.069.264-.047.432.048.373.187-.116.998 2.523.827 2.694-.056.057-.224-.403-.373-1.021-.148-.618-.355-1.177-.46-1.242s-.1.161.011.501c.112.34.316 1.061.455 1.601.151.591.317.877.416.716.092-.148.162.057.159.462-.008.858.117 1.339.399 1.543.113.081.213.506.223.944.009.438.104.796.21.797.106 0 .14.2.076.445-.072.275-.028.39.115.302.151-.093.191.119.115.611-.066.422.168 2.169.531 3.976.356 1.772.667 3.447.691 3.722s.132.5.242.5.155.3.101.666-.005.667.11.667c.114 0 .168.343.119.762-.049.42.001.707.111.639.112-.07.165.32.121.883-.044.554-.006.961.086.904s.167.309.167.812c0 .635-.079.867-.257.757-.16-.099-.196-.061-.096.101.089.143.254.203.368.133.12-.075.192.414.172 1.163l-.035 1.291-.16-1.112c-.088-.611-.097.039-.021 1.445.179 3.279.181 14.899.003 18.222-.075 1.406-.065 2.106.022 1.556l.159-1 .034.975c.023.689-.081 1.069-.356 1.294-.214.176-.264.256-.111.178.2-.101.278.113.278.762 0 .496-.078.902-.173.902s-.133.413-.085.918-.001.863-.109.796-.16.27-.114.749-.011.87-.126.87c-.114 0-.211.125-.215.278-.011.4-.21 1.518-.738 4.142-.255 1.269-.41 2.45-.344 2.622.067.173.035.261-.071.196-.249-.154-.496 1.391-.326 2.04.072.275.033.5-.087.5-.119 0-.169.25-.111.555.069.36.005.556-.179.556-.157 0-.225.06-.151.134.073.074.031.399-.094.722-.547 1.414-1.309 4.355-1.201 4.637.065.169.03.253-.077.187-.253-.156-.507.844-.331 1.302.074.193.03.351-.098.351-.129 0-.195.2-.148.445.047.244-.009.444-.124.444s-.191.075-.168.167-.112.517-.298.944c-.612 1.402-.889 2.432-.725 2.697q.162.261-.13.081c-.217-.135-.26-.058-.166.299.08.307.04.427-.111.333-.152-.093-.192.026-.112.333.069.264.029.48-.089.48s-.153.1-.077.222.015.222-.135.222-.207.066-.126.146c.08.081.035.281-.101.445-.137.164-.173.298-.082.298s.064.125-.06.278c-.411.508-1.6 3.521-1.323 3.355.209-.125.208-.084-.004.178-.152.187-.21.407-.13.487s.024.146-.126.146-.216.092-.147.204.033.236-.081.277-.24.225-.279.408c-.04.184-.133.384-.208.445-.308.253-1.072 2.288-.94 2.503.09.145.035.164-.148.052-.217-.134-.259-.058-.166.299.069.264.035.424-.076.355-.182-.113-.295.196-.228.624.015.092-.079.167-.209.167-.129 0-.173.1-.098.222.076.122.026.222-.111.222-.136 0-.186.1-.111.222.076.123.051.223-.054.223-.293 0-1.196 1.996-1.027 2.271.086.139.047.178-.091.093-.224-.139-.638.648-.539 1.024.025.092-.061.167-.191.167-.129 0-.173.1-.098.222.076.123.057.223-.042.223-.307 0-1.437 2.207-1.27 2.479.095.152.061.196-.082.107-.142-.088-.357.172-.524.632-.155.43-.354.782-.441.782-.274 0-1.311 2.037-1.16 2.281.083.135.036.165-.113.073-.229-.141-.357.124-.283.59.014.092-.056.167-.156.167-.231 0-2.392 3.352-2.318 3.596.031.1-.041.181-.158.181-.32 0-1.343 1.596-1.187 1.85.076.122.023.149-.12.061-.209-.13-.378.164-.212.367.025.031-.2.315-.5.632-.966 1.02-3.88 4.924-3.823 5.122.031.105-.028.191-.131.191s-1.325 1.375-2.715 3.055c-3.159 3.82-13.963 14.673-14.285 14.35-.035-.035-.583.415-1.217 1.001-.633.586-1.152 1.027-1.152.981s-.6.388-1.333.964-1.333 1.149-1.333 1.274-.06.167-.133.094-.65.285-1.282.796c-.631.511-1.972 1.467-2.978 2.124s-1.83 1.299-1.83 1.426-.058.173-.129.101-.926.412-1.898 1.074-1.87 1.204-1.994 1.204c-.125 0-.176.083-.113.185s-.006.186-.153.186c-.148 0-1.607.773-3.243 1.717s-3.986 2.223-5.222 2.842-2.321 1.238-2.411 1.376-.165.179-.167.092c-.003-.145-.828.195-4.003 1.651-.672.309-1.872.815-2.667 1.125s-1.92.771-2.503 1.022c-.582.252-1.091.435-1.132.409s-.24.088-.442.256c-.202.167-.367.244-.367.17s-1.275.32-2.833.876-3.084 1.058-3.389 1.115c-.306.058-2.156.566-4.111 1.128-1.956.563-3.856 1.051-4.223 1.085-.366.034-2.116.366-3.889.736-1.772.371-3.847.781-4.61.91-.764.13-1.664.286-2 .349-.337.062-1.962.211-3.612.331s-4.15.316-5.555.436c-1.624.139-48.238.239-127.778.277-97.672.045-112.071.083-65.445.171 48.401.091 53.193.122 25.18.167-24.907.039-34.64.123-34.749.3-.083.134-.514.394-.958.577s-1.349.689-2.013 1.126a31 31 0 0 1-2.555 1.479l-1.349.684 167.22.056c154.134.051 167.307.027 168.333-.307 2.471-.805 6.78-3.828 6.78-4.757 0-.106.135-.272.301-.37s.74-1.07 1.277-2.161l.978-1.983.056-94.739c.032-52.107-.018-94.729-.111-94.717-.092.012-.817.376-1.612.809m-35.666 6.947c.189.366.394.666.455.666.062 0-.044-.3-.233-.666-.19-.367-.395-.667-.456-.667s.044.3.234.667m2.138 3.444c-.005.122.193.572.44 1s.378.578.292.333a3.4 3.4 0 0 1-.172-.817c-.009-.204-.086-.329-.172-.276s-.206-.029-.268-.183c-.062-.153-.116-.179-.12-.057m2.459 4.87c.579 1.151.586 1.157.547.499-.019-.302-.125-.492-.238-.422s-.139-.044-.058-.255q.15-.385-.111-.223c-.166.103-.212.042-.13-.173.075-.194.003-.333-.17-.333-.223 0-.182.228.16.907m2.028 4.33c.267.598.517 1.006.554.905.072-.19-.786-1.994-.948-1.994-.05 0 .127.49.394 1.089m8.997 27.022c0 .352-.037.329-.178-.111a4 4 0 0 1-.178-1c0-.352.037-.329.178.111.098.306.178.756.178 1m2.237 19.315c.05 3.015-.131 1.744-.251-1.759-.073-2.148-.054-2.741.054-1.667.093.917.181 2.459.197 3.426m-154.141-.092c0 .427.046.602.101.388a1.8 1.8 0 0 0 0-.777c-.055-.214-.101-.039-.101.389m.184 2.555c-.054.752-.11.913-.173.5-.051-.336-.128-.611-.172-.611-.213 0-3.777 1.805-4.089 2.071-.762.649-6.274 3.925-9.022 5.361-1.587.83-3.305 1.797-3.818 2.15-.512.352-1.019.64-1.127.64-.107 0-.409.199-.671.443a8 8 0 0 1-1.144.833c-.583.34-1.533.937-5.329 3.344-.441.28-1.552.871-2.469 1.315-1.627.788-4.762 2.635-7.888 4.648-.856.55-2.311 1.37-3.234 1.82-1.906.931-4.646 2.535-4.651 2.723-.003.069.396.351.885.625.488.275.888.546.888.601 0 .056-.4-.102-.888-.352-.489-.249-.889-.403-.889-.341 0 .061.51.37 1.133.686.624.316 1.067.467.986.335q-.15-.24.415.018c.31.141.515.334.456.429-.136.219 3.37 1.591 4.154 1.625.325.014.535.115.467.225-.067.109.143.148.467.086.323-.062.588-.043.588.041 0 .256 2.864.701 5.334.829 11.362.588 22.492-6.206 27.333-16.684 1.032-2.234 1.873-4.903 1.692-5.375-.085-.22-.041-.286.123-.184.182.112.213-.059.109-.6-.11-.572-.087-.675.094-.423.18.249.207.081.108-.667-.1-.753-.073-.918.11-.666.182.249.21.045.11-.814-.085-.726-.047-1.175.102-1.225.152-.05.21-.867.163-2.298-.045-1.355-.105-1.786-.153-1.108m153.704 10.717c-.048.461-.088.139-.089-.717-.001-.855.038-1.233.087-.838.049.394.05 1.094.002 1.555m-202.829 10.839c.788.794 1.482 1.444 1.543 1.444s-.533-.65-1.32-1.444c-.788-.795-1.482-1.445-1.543-1.445s.533.65 1.32 1.445M4.684 244.618c-.021.341.579 1.826.738 1.826.061 0-.021-.325-.182-.722a52 52 0 0 1-.416-1.055q-.12-.325-.14-.049m4.991 6.062c.129.209 1.65.736 1.772.614.046-.046-.358-.243-.899-.438-.54-.194-.933-.273-.873-.176" fill="#f48e1d"/>
|
|
7
|
+
<Path d="M10.406 5.198c-2.46.871-4.199 2.491-5.121 4.769l-.507 1.255-.056 116.33c-.053 108.438-.031 116.413.317 117.556.205.674.385 1.275.399 1.336.319 1.405 2.7 3.544 4.784 4.298l1.667.602 126.667-.068c99.999-.054 127.274-.128 129.555-.35 4.693-.456 7.768-.908 11.778-1.732 2.078-.427 4.119-.823 4.536-.88 1.285-.178 8.61-2.293 12.242-3.535 17.09-5.845 33.199-15.765 46.192-28.446 4.531-4.421 6.64-6.819 12.512-14.222 1.634-2.059 5.627-7.988 6.967-10.344.587-1.033 1.19-2.028 1.34-2.211.783-.961 7.07-13.757 7.315-14.889.04-.184.422-1.184.848-2.223 1.479-3.6 4.203-12.42 5.147-16.666 1.193-5.36 2.528-13.577 2.546-15.667.005-.611.11-2.361.233-3.889.288-3.585.29-12.907.003-16.333a235 235 0 0 1-.342-4.667c-.141-2.376-.755-6.495-1.54-10.333-.313-1.528-.617-3.128-.675-3.556-.102-.747-.354-1.731-1.875-7.333-.705-2.594-3.243-10.149-3.546-10.556-.192-.256-.912-2.062-1.02-2.555-.434-1.986-8.942-18.265-10.105-19.333-.066-.062-1.098-1.562-2.294-3.334-8.41-12.472-19.671-23.649-32.76-32.516-2.107-1.427-3.878-2.595-3.936-2.595s-1.017-.552-2.13-1.227c-7.446-4.515-17.015-8.813-25.769-11.573-2.138-.674-8.795-2.488-9.111-2.483-.184.004-1.984-.35-4-.786-4.179-.902-6.909-1.312-12.445-1.868-3.652-.367-11.569-.394-130.111-.446L11.889 4.673zm192.848 93.816c22.822 4.714 31.261 32.311 14.888 48.684-19.61 19.609-52.559 2.975-48.815-24.645 2.144-15.821 18.299-27.267 33.927-24.039m-45.587.43c2.146.444 4.41 1.183 6.533 2.132l1.578.706v6.303c0 3.467-.061 6.304-.136 6.304-.074 0-.69-.507-1.367-1.126-13.5-12.338-33.473.565-28.988 18.728 3.246 13.146 18.886 18.008 28.859 8.971.753-.682 1.428-1.24 1.5-1.24.285 0 .142 12.382-.146 12.609-2.392 1.884-10.796 3.447-15.896 2.956-29.07-2.798-35.84-41.454-9.466-54.053 5.184-2.476 12.201-3.393 17.529-2.29m-48.998.63c2.425.647 4.522 1.54 6.374 2.715 1.767 1.121 3.401 2.373 3.401 2.606 0 .174-4.547 6.269-5.245 7.03-.243.266-.509.107-1.729-1.035-5.538-5.18-14.692-3.347-14.692 2.942 0 3.031 1.248 4.069 8.149 6.776 13.056 5.121 16.639 9.714 15.314 19.632-2.294 17.166-26.28 20.998-36.852 5.887l-.722-1.032 3.467-3.338 3.466-3.338 1.107 1.653c5.583 8.348 18.503 7.018 18.513-1.905.005-4.134-1.533-5.457-10.023-8.627-10.71-3.999-13.856-7.58-13.594-15.474.364-10.996 11.034-17.7 23.066-14.492m252.562.121c2.127.966 3.075 3.4 2.132 5.474-1.902 4.186-8.03 2.951-8.03-1.619 0-3.187 3.022-5.161 5.898-3.855m-319.853.662c5.905 1.318 10.741 3.855 14.411 7.558 13.55 13.675 8.126 37.868-9.971 44.472-4.187 1.529-5.055 1.618-16.762 1.72l-10.612.094v-54.513l10.389.094c9.643.087 10.544.128 12.545.575m37.511 26.587v27.223H68v-54.445h10.889zm161.768-13.611 7.203 18.138 1.798 4.527.312-.749c.172-.412 3.445-8.537 7.273-18.055 3.829-9.518 7-17.345 7.048-17.392s2.685-.061 5.86-.028l5.774.059-1.648 3.889c-.905 2.139-2.528 5.989-3.605 8.556-10.104 24.077-18.091 42.939-18.282 43.173-.172.209-.962.268-3.014.222l-2.781-.062-.826-2c-2.82-6.824-6.487-15.689-13.863-33.519-4.593-11.102-8.35-20.227-8.35-20.277s2.631-.093 5.848-.093h5.848zm70.121-8.944v4.555l-9.722.058-9.723.058v11.996H310v9.333h-18.667v14.44l9.723.058 9.722.057v9.112l-15.167.057-15.167.057v-54.451l15.167.057 15.167.057zm27.5-4.338c9.016 1.359 14.033 6.578 14.338 14.912.3 8.215-3.347 13.681-10.653 15.963l-1.482.463 8.414 11.222c4.628 6.172 8.419 11.299 8.426 11.392.007.094-2.949.144-6.569.111l-6.581-.058-7.252-10.827c-6.61-9.868-7.306-10.827-7.863-10.833l-.612-.007v21.778h-10.888v-54.445l9.277.002c7.026.001 9.804.08 11.445.327m19.81.54c-3.017 1.37-1.975 6.245 1.334 6.242 3.389-.004 4.481-4.617 1.459-6.166-1.177-.604-1.606-.616-2.793-.076m2.72 1.023c.432.592.375 1.592-.12 2.087-.416.416-.412.435.213 1.166.822.961.81 1.077-.105 1.077-.638 0-.843-.133-1.278-.833l-.518-.833-.069.833c-.063.758-.128.833-.722.833h-.653v-2.296c0-1.263.075-2.372.166-2.466.339-.344 2.767-.004 3.086.432m-1.919 1.108c0 .605.019.62.537.421.522-.2.448-.976-.093-.976-.326 0-.444.148-.444.555m-30.445 13.747v8.142l2.723-.003c7.232-.009 10.572-2.771 10.341-8.552-.207-5.188-2.997-7.307-10.008-7.601l-3.056-.128zM29.333 127.444v17.889l2.834-.001c12.515-.006 20.079-6.745 20.079-17.888 0-11.326-7.599-17.888-20.714-17.888h-2.199z" fill="#fbfbfb"/>
|
|
8
|
+
<Path d="M270.5 5.487c.214.055.564.055.778 0 .214-.056.039-.102-.389-.102s-.603.046-.389.102m-73.549 93.121c.584.046 1.484.045 2-.001.516-.047.038-.084-1.062-.084-1.1.001-1.522.039-.938.085m-45.007.442a7 7 0 0 0 1.445 0c.397-.05.072-.09-.722-.09-.795 0-1.12.04-.723.09m-3.222.214c.214.056.564.056.778 0s.039-.101-.389-.101-.603.045-.389.101m-44.444.223c.214.055.564.055.778 0 .213-.056.038-.102-.389-.102-.428 0-.603.046-.389.102m-85.726 27.957c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593M35.5 100.383a7 7 0 0 0 1.444 0c.398-.049.073-.09-.722-.09s-1.119.041-.722.09m32.608 27.061c0 15.034.026 21.217.059 13.74.032-7.477.032-19.777 0-27.333-.033-7.557-.059-1.44-.059 13.593m10.666-.222c0 14.911.027 20.979.059 13.483.033-7.496.033-19.696 0-27.111-.032-7.416-.059-1.283-.059 13.628m201.778.222c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593m37.111 0c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593m17.174-27.061c.4.05 1 .049 1.334-.002s.007-.091-.727-.09c-.733.001-1.006.043-.607.092m-224.393.395c1.015.39 1.414.385.556-.008-.367-.168-.817-.302-1-.299s.017.142.444.307m200.316 4.111c0 2.505.033 3.53.072 2.278.04-1.253.04-3.303 0-4.556-.039-1.253-.072-.228-.072 2.278m51.018-4.375c0 .038.325.363.722.722l.722.653-.652-.722c-.609-.674-.792-.825-.792-.653m-1.556.311c.184.068.534.216.778.328.437.202.438.199.013-.141-.237-.19-.587-.337-.778-.328-.299.015-.301.035-.013.141m-2.571 1.024c-.062.162-.08 1.287-.039 2.5l.073 2.207.046-2.378.047-2.377 1.166-.082 1.167-.081-1.174-.041c-.798-.028-1.209.052-1.286.252m-192.043 6.585-.052 6.323-.945-.875-.944-.875.936.986c1.247 1.311 1.19 1.595 1.119-5.571l-.063-6.311zm-75.727-4.156-1.103 1.166 1.166-1.102c.642-.607 1.167-1.132 1.167-1.167 0-.166-.206.019-1.23 1.103m273.731-.167c.002.489.048.663.101.386.053-.276.051-.676-.005-.888-.055-.213-.099.013-.096.502m-186.068 2.722-.766.834.833-.766c.776-.713.936-.901.766-.901-.037 0-.412.375-.833.833m-121.988 1.5c.787.795 1.481 1.445 1.542 1.445s-.533-.65-1.32-1.445c-.788-.794-1.482-1.444-1.543-1.444s.533.65 1.321 1.444m303.611-.846c.214.055.564.055.777 0 .214-.056.039-.102-.388-.102-.428 0-.603.046-.389.102m-255.672.896c.395.049 1.095.05 1.556.001.461-.048.138-.088-.718-.089-.855-.001-1.232.039-.838.088m48 .444c.395.049 1.095.05 1.556.002s.138-.088-.718-.089c-.855-.001-1.232.038-.838.087m176.78 8.229-.053 8.277 2.722-.047 2.723-.048-2.609-.071-2.608-.07-.061-8.16-.061-8.159zm-299.062-7.445c-.058.153-.08 8.278-.048 18.056l.057 17.777 2.222.012 2.223.012-2.167-.075-2.167-.075v-35.746l2.056-.073 2.055-.073-2.062-.047c-1.481-.033-2.093.033-2.169.232m261.998.004c-.059.154-.079 2.929-.044 6.166l.063 5.886.052-6.054.051-6.053 9.611-.06 9.612-.06-9.619-.054c-7.592-.041-9.64.007-9.726.229m-256.155.097c.275.053.725.053 1 0s.05-.096-.5-.096-.775.043-.5.096m76.775 1.952c1.028 1.077 1.062 1.093 1.444.676.375-.408.374-.414-.008-.125-.354.268-.516.192-1.444-.676l-1.045-.977zm227.725-.22c.414.428.803.778.865.778s-.229-.35-.643-.778c-.415-.427-.804-.777-.865-.777s.228.35.643.777m-297.315-.25c.228.205 1.537.806 1.537.706 0-.128-1.232-.789-1.471-.789-.087 0-.117.037-.066.083m97.751 2.75-1.214 1.278 1.278-1.214c.702-.668 1.277-1.243 1.277-1.278 0-.165-.212.027-1.341 1.214m-43.481.278c0 .672.042.947.093.611a5 5 0 0 0 0-1.222c-.051-.336-.093-.061-.093.611m245.119 2.667c0 .917.039 1.292.087.833a9.7 9.7 0 0 0 0-1.666c-.048-.459-.087-.084-.087.833m-2.2 5.833-.652.722.722-.652c.673-.609.824-.792.653-.792-.039 0-.364.325-.723.722m-276.258 2.167c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m71.546.222c0 .428.046.603.102.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.102-.039-.102.389m-82.435 1.111c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m71.35 1.334c0 1.038.038 1.463.085.944s.047-1.369 0-1.889c-.047-.519-.085-.094-.085.945m-7.633-.598c0 .039.325.364.722.723l.722.652-.652-.722c-.609-.673-.792-.824-.792-.653m-63.722 1.598c.003.488.048.662.101.386.054-.277.052-.677-.004-.889s-.099.014-.097.503m10.889 1.333c.003.489.048.663.101.386.053-.276.051-.676-.004-.889-.056-.212-.099.014-.097.503m71.551.111c0 .428.046.603.102.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.102-.039-.102.389m156.494.946c-.059.154-.081 3.479-.049 7.389l.059 7.109 9.611.004 9.612.004-9.556-.062-9.556-.061v-14.435l9.389-.061 9.389-.06-9.396-.053c-7.385-.042-9.419.007-9.503.226m37.113 12.832c0 6.05.029 8.525.064 5.5s.035-7.975 0-11-.064-.55-.064 5.5m-278.058-7.884c-.266.547-.437.995-.38.995.151 0 1.049-1.805.948-1.906-.046-.046-.302.363-.568.911m70.036 1.995c.001 1.222.038 1.694.083 1.048s.045-1.646-.001-2.222c-.045-.577-.082-.048-.082 1.174m-73.31 2.611-1.326 1.389 1.389-1.326c1.29-1.233 1.49-1.452 1.326-1.452-.034 0-.659.625-1.389 1.389m79.229-.859c0 .238.661 1.47.789 1.47.062 0-.054-.325-.256-.722-.412-.811-.533-.98-.533-.748M139.778 141c.664.672 1.257 1.222 1.318 1.222s-.432-.55-1.096-1.222-1.257-1.222-1.318-1.222.432.55 1.096 1.222m24.877.056-.766.833.833-.766.834-.766v6.144c0 5.617-.034 6.163-.389 6.37-.214.125-.284.23-.156.233.702.021.767-.546.767-6.704 0-3.398-.081-6.178-.179-6.178s-.523.375-.944.834m-78.993 1.666-1.995 2.056 2.055-1.996c1.131-1.097 2.056-2.022 2.056-2.055 0-.161-.263.086-2.116 1.995m-30.446 4-1.549 1.611 1.611-1.549c1.496-1.44 1.712-1.673 1.549-1.673-.033 0-.758.725-1.611 1.611M310.76 150c0 2.506.033 3.531.072 2.278.04-1.253.04-3.303 0-4.556-.039-1.253-.072-.228-.072 2.278m-158.92-3.836c.584.046 1.484.045 2-.002.516-.046.038-.084-1.062-.083s-1.522.039-.938.085m-20.173 1.392c.477.488.918.888.979.888s-.28-.4-.757-.888c-.477-.489-.918-.889-.979-.889s.279.4.757.889m-47 .736c0 .038.325.363.722.722l.722.653-.653-.723c-.608-.673-.791-.824-.791-.652m-48.496 6.313c.399.05.999.049 1.333-.002.334-.05.007-.091-.726-.09-.734.002-1.007.043-.607.092m63.107 1.33c.275.053.725.053 1 0s.05-.097-.5-.097-.775.044-.5.097m3.558 0c.276.053.676.051.889-.005s-.014-.099-.503-.096c-.489.002-.663.048-.386.101m48.775.005a9.7 9.7 0 0 0 1.667 0c.458-.048.083-.088-.834-.088s-1.291.04-.833.088m95.029.123c.096.095 1.416.145 2.934.11l2.759-.064-2.934-.11c-1.614-.061-2.855-.032-2.759.064" fill="#939292"/>
|
|
9
|
+
</G>
|
|
10
|
+
</Svg>);
|
|
11
|
+
export default DiscoverLogo;
|
|
12
|
+
//# sourceMappingURL=DiscoverLogo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscoverLogo.js","sourceRoot":"","sources":["../../src/assets/DiscoverLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,EAAE,CAAC,EAAE,IAAI,EAAY,MAAM,kBAAkB,CAAC;AAE1D,MAAM,YAAY,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAClD,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CACtC;IAAA,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CACnB;MAAA,CAAC,IAAI,CACH,CAAC,CAAC,uhLAAuhL,CACzhL,IAAI,CAAC,SAAS,EAEhB;MAAA,CAAC,IAAI,CACH,CAAC,CAAC,+1GAA+1G,CACj2G,IAAI,CAAC,SAAS,EAEhB;MAAA,CAAC,IAAI,CACH,CAAC,CAAC,6yQAA6yQ,CAC/yQ,IAAI,CAAC,SAAS,EAEhB;MAAA,CAAC,IAAI,CACH,CAAC,CAAC,k/HAAk/H,CACp/H,IAAI,CAAC,SAAS,EAEhB;MAAA,CAAC,IAAI,CACH,CAAC,CAAC,w/LAAw/L,CAC1/L,IAAI,CAAC,SAAS,EAElB;IAAA,EAAE,CAAC,CACL;EAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACF,eAAe,YAAY,CAAC","sourcesContent":["import Svg, { G, Path, SvgProps } from \"react-native-svg\";\n\nconst DiscoverLogo: React.FC<SvgProps> = (props) => (\n <Svg width={400} height={256} {...props}>\n <G fillRule=\"evenodd\">\n <Path\n d=\"M9.555.415C5.21 1.806 1.875 5.055.462 9.273l-.464 1.385.057 117.854.056 117.855.979 1.983c.538 1.091 1.063 2.017 1.166 2.057.104.041.188.174.188.295 0 .616 3.114 3.132 5.112 4.131l2.111 1.056 22.534.06 22.534.059 1.502-.763a38 38 0 0 0 2.899-1.67c.768-.5 1.513-.908 1.656-.908s.513-.2.823-.444c.558-.439.963-.444 35.086-.501 21.688-.036 12.375-.077-25.05-.112-65.81-.06-60.663.062-62.873-1.491-.611-.43-1.277-.841-1.48-.915a.96.96 0 0 1-.502-.502c-.074-.203-.486-.869-.916-1.48s-.93-1.614-1.11-2.23c-.289-.982-.322-15.29-.272-117.444l.058-116.326.602-1.284c.785-1.677 2.726-3.694 4.34-4.512l1.28-.648 124-.181c138.606-.203 130.638-.289 141.333 1.533 1.833.312 3.735.609 4.226.66s2.692.55 4.889 1.108c2.198.559 4.246 1.056 4.552 1.105 1.128.182 12.282 4.043 14.172 4.906.644.294 1.794.794 2.555 1.112 3.656 1.527 12.024 5.956 15.495 8.202.794.515 2.285 1.473 3.313 2.13s1.978 1.298 2.111 1.425 1.34 1.026 2.68 1.998c2.483 1.801 5.605 4.238 6.007 4.689.122.137 1.272 1.18 2.556 2.317 3.439 3.049 5.884 5.474 9.405 9.329a429 429 0 0 0 3.267 3.556c.346.316 2.993 3.72 4.408 5.666a157 157 0 0 0 2.164 2.923c.302.386 1.109 1.586 1.794 2.667a379 379 0 0 0 2.187 3.41 53 53 0 0 1 1.788 3c.938 1.724 1.293 2.167 1.551 1.934.096-.086.108-.042.028.098-.195.342.475 1.91.745 1.744.123-.076.151.029.067.249q-.15.385.111.222.26-.162.111.223c-.107.279-.067.332.148.199q.291-.18.139.07c-.199.322.263 1.205.54 1.034.118-.073.145.037.062.252q-.149.385.111.222.26-.162.111.223c-.081.211-.055.325.058.255s.218.097.234.371.492 1.418 1.056 2.543 1.026 2.139 1.026 2.251c0 .293 2.067 4.895 2.158 4.804.085-.085-.672-1.964-1.131-2.805-.167-.305-.43-.955-.585-1.444s-.614-1.555-1.021-2.368c-.604-1.209-.679-1.502-.411-1.605.181-.07 1.022-.579 1.87-1.132.847-.554 1.65-1.006 1.784-1.006.133 0 .514-.183.845-.406s1.068-.723 1.638-1.111 1.16-.706 1.311-.706c.15 0 .784-.334 1.408-.742a31 31 0 0 1 1.912-1.157 59 59 0 0 0 2.111-1.227c1.593-.97 3.85-2.263 5.736-3.286a36 36 0 0 0 2.307-1.373 18 18 0 0 1 1.889-1.087 21 21 0 0 0 1.957-1.117c.55-.362 1.475-.874 2.055-1.139s1.056-.547 1.056-.626.75-.53 1.666-1.001l1.667-.858V33.742c0-25.558.082-24.004-1.405-26.699-.266-.483-.583-1.066-.703-1.294-.121-.229-.299-.416-.396-.416s-.249-.175-.336-.389c-.538-1.31-4.056-3.693-6.779-4.593C388.643-.223 11.35-.159 9.555.415m362.889 84.331c0 .084.338 1.025.75 2.092s.804 2.09.871 2.273c.077.212.129.23.14.051.009-.156-.343-1.206-.782-2.333-.766-1.966-.979-2.417-.979-2.083m2.244 6.476c-.007.122.336 1.272.761 2.556.426 1.283.714 1.999.64 1.591-.152-.845-1.382-4.486-1.401-4.147m2.016 7.445c.012.577.362 1.525.369 1a2.6 2.6 0 0 0-.184-.889c-.117-.273-.189-.316-.185-.111m-176.871.153c.214.056.564.056.778 0s.039-.102-.389-.102-.603.046-.389.102m-5.5.437c-.244.051-1.143.256-1.998.455-.854.199-1.679.362-1.833.362s-.28.074-.28.164-.215.108-.479.04c-.357-.094-.433-.051-.299.166.112.18.093.237-.048.15-.226-.14-2.825.811-3.318 1.214-.14.115-.469.25-.731.301s-1.18.571-2.04 1.158c-.86.586-1.811 1.199-2.112 1.361-.785.422-5.862 5.556-5.862 5.928 0 .171-.132.391-.293.489-.279.169-1.806 2.277-1.818 2.511-.004.061-.322.661-.709 1.333-1.456 2.533-2.776 7.338-3.054 11.111-.323 4.404-.33 4.605-.122 3.778.155-.618.179-.462.119.753-.052 1.043-.007 1.433.141 1.223.151-.215.182-.054.101.529-.08.576-.04.791.128.687.167-.103.199.072.101.562-.093.462-.063.663.085.572s.174.073.076.466c-.107.426-.078.561.099.452.164-.101.205-.032.117.197-.161.419.98 3.67 1.287 3.67.117 0 .151.1.076.222-.076.122-.015.222.135.222s.206.067.124.148c-.209.209 1.471 3.25 2.743 4.963 2.047 2.759 6.18 6.406 8.72 7.695 1.282.65 1.403.529.167-.166-.489-.274-.888-.556-.885-.625.005-.188 2.745-1.792 4.651-2.723.923-.45 2.378-1.27 3.234-1.82 3.126-2.013 6.261-3.86 7.888-4.648.917-.444 2.028-1.035 2.469-1.315 3.796-2.407 4.746-3.004 5.329-3.344.368-.215.883-.59 1.144-.833.262-.244.564-.443.671-.443s.615-.288 1.127-.64c.513-.353 2.231-1.32 3.818-2.15 2.748-1.436 8.26-4.712 9.022-5.361.312-.266 3.876-2.071 4.089-2.071.044 0 .13.275.191.611s.067-.389.014-1.611c-.28-6.457-3.334-13.144-8.219-18-1.902-1.891-5.039-4.342-4.674-3.652.093.175-.048.069-.314-.237-.266-.305-.418-.43-.339-.278.239.464-.053.314-.787-.404-.397-.387-.836-.628-1.02-.558-.177.068-.267.036-.2-.072.133-.216-.535-.548-.723-.36-.064.064.017.117.18.117s.243.053.177.119c-.204.204-1.282-.394-1.135-.631.079-.128.027-.155-.121-.064-.337.209-1.187-.063-1.024-.327.07-.112-.045-.138-.255-.057-.273.105-.332.066-.206-.138.131-.212.05-.244-.325-.125-.349.111-.452.082-.342-.096.111-.179-.029-.214-.472-.117q-.633.14-.335-.071c.21-.148-.126-.314-1.156-.573-1.947-.489-2.404-.426-.584.08 1.941.539 1.264.539-1.333 0-1.979-.412-7.376-.596-8.778-.299m-4 .299c-.566.243.018.243.778 0 .447-.143.469-.18.111-.185a2.6 2.6 0 0 0-.889.185M377.257 101c.077.489.224 1.089.327 1.333.118.282.136.12.047-.444-.076-.489-.223-1.089-.326-1.333-.118-.283-.136-.12-.048.444m.565 2.222c0 .245.08.695.178 1 .141.44.178.463.178.111 0-.244-.08-.694-.178-1-.141-.44-.178-.463-.178-.111m1.296 8.241c.004.234.151 1.476.326 2.759.176 1.284.339 2.784.362 3.334.037.857.056.894.134.26.086-.704-.554-6.492-.74-6.686-.049-.051-.086.099-.082.333m1.046 10.426c.063 1.833.152 3.375.197 3.426.136.15.039-3.29-.143-5.093-.108-1.074-.127-.481-.054 1.667m-211.001 3.222c0 .428.045.603.101.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.101-.039-.101.389m210.91 11c.001.856.041 1.178.089.717a8.3 8.3 0 0 0-.002-1.555c-.049-.395-.088-.017-.087.838m-.232 2.667c.002.611.045.835.096.497s.05-.838-.003-1.111c-.053-.274-.094.003-.093.614m-.225 2.111c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m-.386 2.563c-.087.809-.111 1.519-.054 1.576s.174-.559.261-1.369.111-1.518.054-1.575-.175.558-.261 1.368\"\n fill=\"#ea5f15\"\n />\n <Path\n d=\"M194.556 98.921c-15.474 1.975-27.036 16.141-25.275 30.968.158 1.334.184 1.08.181-1.778-.006-4.833 1.178-9.969 3.045-13.213.39-.677.711-1.281.715-1.342.012-.234 1.539-2.342 1.818-2.511.161-.098.293-.318.293-.489 0-.372 5.077-5.506 5.862-5.928.301-.162 1.252-.775 2.112-1.361.86-.587 1.778-1.108 2.04-1.158.262-.051.591-.186.731-.301.493-.403 3.092-1.354 3.318-1.214.141.087.16.03.048-.15-.134-.217-.058-.26.299-.166.271.07.479.021.479-.114 0-.131.056-.183.123-.115.068.067.843-.076 1.722-.318 2.542-.702 8.035-.799 10.968-.196 2.756.568 3.404.572 1.298.009-2.984-.799-6.596-1.029-9.777-.623M148 99.438c-17.207 2.857-27.626 18.975-23.202 35.895 3.931 15.036 20.458 23.847 36.02 19.204 1-.298 2.475-.837 3.278-1.197l1.46-.655v-12.242l-1.674 1.402c-9.507 7.968-23.518 4.548-27.898-6.809-7.267-18.846 13.688-34.617 28.405-21.378l1.167 1.05v-12.431l-2.266-.94c-4.832-2.005-10.449-2.703-15.29-1.899m-48.222.141c-8.487 1.298-14.086 7.423-14.097 15.421-.011 7.677 3.062 11.026 13.763 14.997 7.872 2.921 9.937 4.672 9.963 8.447.063 9.315-13.859 10.633-19.074 1.805-.816-1.381-.345-1.622-4.218 2.157l-3.263 3.184.549.816c9.793 14.564 33.173 11.852 36.47-4.23 2.097-10.228-2.072-16.217-14.427-20.726-8.017-2.926-10.354-5.533-8.427-9.401 2.36-4.735 9.738-5.118 14.557-.757 1.146 1.037 1.39 1.171 1.648.907 1.371-1.404 5.148-6.791 4.94-7.046-2.832-3.458-12.685-6.445-18.384-5.574m258.919.456c-4.037.717-4.454 6.388-.579 7.868 3.941 1.505 7.278-3.572 4.368-6.644-1.076-1.136-2.214-1.503-3.789-1.224m-340.03 27.436v27.249l9.944-.111c8.097-.091 10.337-.183 12.056-.495 27.544-5.007 30.872-43.001 4.557-52.046-4.25-1.46-8.057-1.83-18.946-1.839l-7.611-.007zm49.555-.023v27.227l5.278-.06c2.903-.033 5.253-.134 5.222-.226s-.055-12.317-.055-27.167v-27H68.222zm155.556-27.033c0 .11.387 1.137.86 2.281.474 1.145 1.583 3.832 2.466 5.971s2.187 5.289 2.897 7c3.105 7.48 14.638 35.374 15.895 38.444l.728 1.778 2.856.062 2.856.061 3.821-9.061a49429 49429 0 0 0 19.559-46.455c.089-.224-1.064-.269-5.622-.222l-5.734.059-3.132 7.778a9010 9010 0 0 0-7.218 18c-2.248 5.622-4.156 10.305-4.242 10.405-.086.101-1.162-2.349-2.391-5.444a21517 21517 0 0 1-6.813-17.183 14589 14589 0 0 0-4.976-12.556l-.399-1-5.705-.059c-3.28-.034-5.706.026-5.706.141m56.889 27.029v27.223h30v-9.223h-19.445v-14.666l9.389-.058 9.389-.058v-9.106h-18.896l.059-6.056.059-6.056h19.445v-9.222h-30zm37.111-.025v27.248h10.444v-21.805l.806.069c.799.068.87.164 8.056 10.847l7.249 10.778 6.414.059c5.286.048 6.394.006 6.3-.239-.063-.164-3.824-5.266-8.358-11.338s-8.245-11.123-8.245-11.226c0-.102.558-.31 1.239-.463 12.411-2.777 15.08-21.669 3.984-28.187-4.009-2.355-6.368-2.726-18.278-2.873l-9.611-.118zm-108.912-26.287c.782.36 1.459.617 1.505.571.101-.101-2.459-1.265-2.732-1.242-.107.009.445.311 1.227.671m152.802.479c2.788 2.794-.22 7.288-3.651 5.453-3.167-1.695-1.991-6.397 1.601-6.397 1.007 0 1.193.085 2.05.944m-3.89 2.5v2.333h.555c.505 0 .556-.086.556-.932v-.933l.686.933c.541.735.827.932 1.352.932h.666l-.703-.887-.703-.887.462-.587c1.018-1.294.338-2.305-1.55-2.305h-1.321zm1.997-1.336c.368.443.125 1.003-.435 1.003-.353 0-.451-.145-.451-.667 0-.729.426-.891.886-.336m-24.379 6.441c4.329.917 6.623 3.963 6.32 8.389-.359 5.239-3.928 7.722-11.105 7.727l-2.389.001v-16.444l2.834.004c1.6.002 3.489.143 4.34.323m-297.559.662c14.153 2.316 19.607 20.268 9.293 30.585-3.512 3.513-7.417 4.839-14.535 4.936l-3.373.045-.057-17.777c-.032-9.778-.004-17.918.061-18.089.144-.378 5.636-.187 8.611.3\"\n fill=\"#241c23\"\n />\n <Path\n d=\"M197.74 4.611c11.774.032 30.974.032 42.667 0s2.06-.058-21.407-.058-33.034.026-21.26.058m64.871.218c.52.047 1.37.047 1.889 0 .519-.046.094-.085-.944-.085s-1.464.039-.945.085m3.445.219a5 5 0 0 0 1.222 0c.336-.051.061-.093-.611-.093-.673 0-.948.042-.611.093m2.447.223c.338.051.838.049 1.111-.003s-.003-.095-.614-.093c-.611.001-.835.044-.497.096m12.608 1.84c.306.098.756.178 1 .178.352 0 .329-.037-.111-.178-.306-.098-.756-.178-1-.178-.352 0-.329.037.111.178m9 2.119c.367.168.817.302 1 .299s-.017-.142-.444-.307c-1.015-.39-1.414-.385-.556.008M4.555 128.556c0 63.677.025 89.694.056 57.815s.031-83.98 0-115.778-.056-5.715-.056 57.963M320 22.1c0 .061.3.266.667.456.366.189.666.294.666.233s-.3-.266-.666-.456c-.367-.189-.667-.294-.667-.233m6.556 4.214c.366.315.758.573.87.574.241.001.238-.001-.759-.645l-.778-.502zm27.319 25.759c.342.449.667.816.722.816.154 0-.808-1.3-1.092-1.476-.139-.086.028.211.37.66m44.347 5.647c-.794.432-1.498.868-1.563.969s-.565.392-1.111.647a20 20 0 0 0-1.992 1.121c-.55.36-1.431.862-1.957 1.115-.527.253-1.377.742-1.889 1.087-.513.344-1.551.962-2.307 1.373a146 146 0 0 0-5.736 3.286 59 59 0 0 1-2.111 1.227c-.428.228-1.289.749-1.912 1.157-.624.408-1.258.742-1.408.742-.151 0-.741.318-1.311.706s-1.307.888-1.638 1.111-.71.406-.841.406-.979.475-1.883 1.055c-1.886 1.211-2.589 1.696-2.136 1.472.231-.114.276-.054.169.226-.081.209-.061.328.043.264.284-.176 1.65 2.933 1.481 3.372-.079.206-.074.306.01.221.085-.084.336.219.557.674.723 1.481 1.326 2.999 1.231 3.094-.051.051-.269-.366-.483-.928-.214-.561-.471-1.07-.57-1.132s.033.402.294 1.029c.261.628.6 1.189.755 1.248.154.06.23.24.168.401-.062.16-.004.359.129.441.132.082.183.242.113.356s-.011.207.131.207.2.154.127.345c-.086.223-.043.289.122.187.173-.107.215-.004.13.322-.081.307-.041.427.111.333.151-.093.191.027.111.334-.069.264-.043.428.059.365.203-.125 1.167 2.267 1.052 2.612-.039.118-.251-.355-.47-1.05s-.441-1.223-.492-1.172c-.121.121.572 2.198.854 2.557.12.153.14.278.045.278s.002.193.217.43c.214.237.324.537.243.667-.08.13-.028.236.115.236.152 0 .213.186.145.445-.073.28-.028.391.121.298.151-.093.191.027.111.334-.081.307-.041.427.111.333.151-.094.191.026.111.333-.069.264-.047.432.048.373.187-.116.998 2.523.827 2.694-.056.057-.224-.403-.373-1.021-.148-.618-.355-1.177-.46-1.242s-.1.161.011.501c.112.34.316 1.061.455 1.601.151.591.317.877.416.716.092-.148.162.057.159.462-.008.858.117 1.339.399 1.543.113.081.213.506.223.944.009.438.104.796.21.797.106 0 .14.2.076.445-.072.275-.028.39.115.302.151-.093.191.119.115.611-.066.422.168 2.169.531 3.976.356 1.772.667 3.447.691 3.722s.132.5.242.5.155.3.101.666-.005.667.11.667c.114 0 .168.343.119.762-.049.42.001.707.111.639.112-.07.165.32.121.883-.044.554-.006.961.086.904s.167.309.167.812c0 .635-.079.867-.257.757-.16-.099-.196-.061-.096.101.089.143.254.203.368.133.12-.075.192.414.172 1.163l-.035 1.291-.16-1.112c-.088-.611-.097.039-.021 1.445.179 3.279.181 14.899.003 18.222-.075 1.406-.065 2.106.022 1.556l.159-1 .034.975c.023.689-.081 1.069-.356 1.294-.214.176-.264.256-.111.178.2-.101.278.113.278.762 0 .496-.078.902-.173.902s-.133.413-.085.918-.001.863-.109.796-.16.27-.114.749-.011.87-.126.87c-.114 0-.211.125-.215.278-.011.4-.21 1.518-.738 4.142-.255 1.269-.41 2.45-.344 2.622.067.173.035.261-.071.196-.249-.154-.496 1.391-.326 2.04.072.275.033.5-.087.5-.119 0-.169.25-.111.555.069.36.005.556-.179.556-.157 0-.225.06-.151.134.073.074.031.399-.094.722-.547 1.414-1.309 4.355-1.201 4.637.065.169.03.253-.077.187-.253-.156-.507.844-.331 1.302.074.193.03.351-.098.351-.129 0-.195.2-.148.445.047.244-.009.444-.124.444s-.191.075-.168.167-.112.517-.298.944c-.612 1.402-.889 2.432-.725 2.697q.162.261-.13.081c-.217-.135-.26-.058-.166.299.08.307.04.427-.111.333-.152-.093-.192.026-.112.333.069.264.029.48-.089.48s-.153.1-.077.222.015.222-.135.222-.207.066-.126.146c.08.081.035.281-.101.445-.137.164-.173.298-.082.298s.064.125-.06.278c-.411.508-1.6 3.521-1.323 3.355.209-.125.208-.084-.004.178-.152.187-.21.407-.13.487s.024.146-.126.146-.216.092-.147.204.033.236-.081.277-.24.225-.279.408c-.04.184-.133.384-.208.445-.308.253-1.072 2.288-.94 2.503.09.145.035.164-.148.052-.217-.134-.259-.058-.166.299.069.264.035.424-.076.355-.182-.113-.295.196-.228.624.015.092-.079.167-.209.167-.129 0-.173.1-.098.222.076.122.026.222-.111.222-.136 0-.186.1-.111.222.076.123.051.223-.054.223-.293 0-1.196 1.996-1.027 2.271.086.139.047.178-.091.093-.224-.139-.638.648-.539 1.024.025.092-.061.167-.191.167-.129 0-.173.1-.098.222.076.123.057.223-.042.223-.307 0-1.437 2.207-1.27 2.479.095.152.061.196-.082.107-.142-.088-.357.172-.524.632-.155.43-.354.782-.441.782-.274 0-1.311 2.037-1.16 2.281.083.135.036.165-.113.073-.229-.141-.357.124-.283.59.014.092-.056.167-.156.167-.231 0-2.392 3.352-2.318 3.596.031.1-.041.181-.158.181-.32 0-1.343 1.596-1.187 1.85.076.122.023.149-.12.061-.209-.13-.378.164-.212.367.025.031-.2.315-.5.632-.966 1.02-3.88 4.924-3.823 5.122.031.105-.028.191-.131.191s-1.325 1.375-2.715 3.055c-3.159 3.82-13.963 14.673-14.285 14.35-.035-.035-.583.415-1.217 1.001-.633.586-1.152 1.027-1.152.981s-.6.388-1.333.964-1.333 1.149-1.333 1.274-.06.167-.133.094-.65.285-1.282.796c-.631.511-1.972 1.467-2.978 2.124s-1.83 1.299-1.83 1.426-.058.173-.129.101-.926.412-1.898 1.074-1.87 1.204-1.994 1.204c-.125 0-.176.083-.113.185s-.006.186-.153.186c-.148 0-1.607.773-3.243 1.717s-3.986 2.223-5.222 2.842-2.321 1.238-2.411 1.376-.165.179-.167.092c-.003-.145-.828.195-4.003 1.651-.672.309-1.872.815-2.667 1.125s-1.92.771-2.503 1.022c-.582.252-1.091.435-1.132.409s-.24.088-.442.256c-.202.167-.367.244-.367.17s-1.275.32-2.833.876-3.084 1.058-3.389 1.115c-.306.058-2.156.566-4.111 1.128-1.956.563-3.856 1.051-4.223 1.085-.366.034-2.116.366-3.889.736-1.772.371-3.847.781-4.61.91-.764.13-1.664.286-2 .349-.337.062-1.962.211-3.612.331s-4.15.316-5.555.436c-1.624.139-48.238.239-127.778.277-97.672.045-112.071.083-65.445.171 48.401.091 53.193.122 25.18.167-24.907.039-34.64.123-34.749.3-.083.134-.514.394-.958.577s-1.349.689-2.013 1.126a31 31 0 0 1-2.555 1.479l-1.349.684 167.22.056c154.134.051 167.307.027 168.333-.307 2.471-.805 6.78-3.828 6.78-4.757 0-.106.135-.272.301-.37s.74-1.07 1.277-2.161l.978-1.983.056-94.739c.032-52.107-.018-94.729-.111-94.717-.092.012-.817.376-1.612.809m-35.666 6.947c.189.366.394.666.455.666.062 0-.044-.3-.233-.666-.19-.367-.395-.667-.456-.667s.044.3.234.667m2.138 3.444c-.005.122.193.572.44 1s.378.578.292.333a3.4 3.4 0 0 1-.172-.817c-.009-.204-.086-.329-.172-.276s-.206-.029-.268-.183c-.062-.153-.116-.179-.12-.057m2.459 4.87c.579 1.151.586 1.157.547.499-.019-.302-.125-.492-.238-.422s-.139-.044-.058-.255q.15-.385-.111-.223c-.166.103-.212.042-.13-.173.075-.194.003-.333-.17-.333-.223 0-.182.228.16.907m2.028 4.33c.267.598.517 1.006.554.905.072-.19-.786-1.994-.948-1.994-.05 0 .127.49.394 1.089m8.997 27.022c0 .352-.037.329-.178-.111a4 4 0 0 1-.178-1c0-.352.037-.329.178.111.098.306.178.756.178 1m2.237 19.315c.05 3.015-.131 1.744-.251-1.759-.073-2.148-.054-2.741.054-1.667.093.917.181 2.459.197 3.426m-154.141-.092c0 .427.046.602.101.388a1.8 1.8 0 0 0 0-.777c-.055-.214-.101-.039-.101.389m.184 2.555c-.054.752-.11.913-.173.5-.051-.336-.128-.611-.172-.611-.213 0-3.777 1.805-4.089 2.071-.762.649-6.274 3.925-9.022 5.361-1.587.83-3.305 1.797-3.818 2.15-.512.352-1.019.64-1.127.64-.107 0-.409.199-.671.443a8 8 0 0 1-1.144.833c-.583.34-1.533.937-5.329 3.344-.441.28-1.552.871-2.469 1.315-1.627.788-4.762 2.635-7.888 4.648-.856.55-2.311 1.37-3.234 1.82-1.906.931-4.646 2.535-4.651 2.723-.003.069.396.351.885.625.488.275.888.546.888.601 0 .056-.4-.102-.888-.352-.489-.249-.889-.403-.889-.341 0 .061.51.37 1.133.686.624.316 1.067.467.986.335q-.15-.24.415.018c.31.141.515.334.456.429-.136.219 3.37 1.591 4.154 1.625.325.014.535.115.467.225-.067.109.143.148.467.086.323-.062.588-.043.588.041 0 .256 2.864.701 5.334.829 11.362.588 22.492-6.206 27.333-16.684 1.032-2.234 1.873-4.903 1.692-5.375-.085-.22-.041-.286.123-.184.182.112.213-.059.109-.6-.11-.572-.087-.675.094-.423.18.249.207.081.108-.667-.1-.753-.073-.918.11-.666.182.249.21.045.11-.814-.085-.726-.047-1.175.102-1.225.152-.05.21-.867.163-2.298-.045-1.355-.105-1.786-.153-1.108m153.704 10.717c-.048.461-.088.139-.089-.717-.001-.855.038-1.233.087-.838.049.394.05 1.094.002 1.555m-202.829 10.839c.788.794 1.482 1.444 1.543 1.444s-.533-.65-1.32-1.444c-.788-.795-1.482-1.445-1.543-1.445s.533.65 1.32 1.445M4.684 244.618c-.021.341.579 1.826.738 1.826.061 0-.021-.325-.182-.722a52 52 0 0 1-.416-1.055q-.12-.325-.14-.049m4.991 6.062c.129.209 1.65.736 1.772.614.046-.046-.358-.243-.899-.438-.54-.194-.933-.273-.873-.176\"\n fill=\"#f48e1d\"\n />\n <Path\n d=\"M10.406 5.198c-2.46.871-4.199 2.491-5.121 4.769l-.507 1.255-.056 116.33c-.053 108.438-.031 116.413.317 117.556.205.674.385 1.275.399 1.336.319 1.405 2.7 3.544 4.784 4.298l1.667.602 126.667-.068c99.999-.054 127.274-.128 129.555-.35 4.693-.456 7.768-.908 11.778-1.732 2.078-.427 4.119-.823 4.536-.88 1.285-.178 8.61-2.293 12.242-3.535 17.09-5.845 33.199-15.765 46.192-28.446 4.531-4.421 6.64-6.819 12.512-14.222 1.634-2.059 5.627-7.988 6.967-10.344.587-1.033 1.19-2.028 1.34-2.211.783-.961 7.07-13.757 7.315-14.889.04-.184.422-1.184.848-2.223 1.479-3.6 4.203-12.42 5.147-16.666 1.193-5.36 2.528-13.577 2.546-15.667.005-.611.11-2.361.233-3.889.288-3.585.29-12.907.003-16.333a235 235 0 0 1-.342-4.667c-.141-2.376-.755-6.495-1.54-10.333-.313-1.528-.617-3.128-.675-3.556-.102-.747-.354-1.731-1.875-7.333-.705-2.594-3.243-10.149-3.546-10.556-.192-.256-.912-2.062-1.02-2.555-.434-1.986-8.942-18.265-10.105-19.333-.066-.062-1.098-1.562-2.294-3.334-8.41-12.472-19.671-23.649-32.76-32.516-2.107-1.427-3.878-2.595-3.936-2.595s-1.017-.552-2.13-1.227c-7.446-4.515-17.015-8.813-25.769-11.573-2.138-.674-8.795-2.488-9.111-2.483-.184.004-1.984-.35-4-.786-4.179-.902-6.909-1.312-12.445-1.868-3.652-.367-11.569-.394-130.111-.446L11.889 4.673zm192.848 93.816c22.822 4.714 31.261 32.311 14.888 48.684-19.61 19.609-52.559 2.975-48.815-24.645 2.144-15.821 18.299-27.267 33.927-24.039m-45.587.43c2.146.444 4.41 1.183 6.533 2.132l1.578.706v6.303c0 3.467-.061 6.304-.136 6.304-.074 0-.69-.507-1.367-1.126-13.5-12.338-33.473.565-28.988 18.728 3.246 13.146 18.886 18.008 28.859 8.971.753-.682 1.428-1.24 1.5-1.24.285 0 .142 12.382-.146 12.609-2.392 1.884-10.796 3.447-15.896 2.956-29.07-2.798-35.84-41.454-9.466-54.053 5.184-2.476 12.201-3.393 17.529-2.29m-48.998.63c2.425.647 4.522 1.54 6.374 2.715 1.767 1.121 3.401 2.373 3.401 2.606 0 .174-4.547 6.269-5.245 7.03-.243.266-.509.107-1.729-1.035-5.538-5.18-14.692-3.347-14.692 2.942 0 3.031 1.248 4.069 8.149 6.776 13.056 5.121 16.639 9.714 15.314 19.632-2.294 17.166-26.28 20.998-36.852 5.887l-.722-1.032 3.467-3.338 3.466-3.338 1.107 1.653c5.583 8.348 18.503 7.018 18.513-1.905.005-4.134-1.533-5.457-10.023-8.627-10.71-3.999-13.856-7.58-13.594-15.474.364-10.996 11.034-17.7 23.066-14.492m252.562.121c2.127.966 3.075 3.4 2.132 5.474-1.902 4.186-8.03 2.951-8.03-1.619 0-3.187 3.022-5.161 5.898-3.855m-319.853.662c5.905 1.318 10.741 3.855 14.411 7.558 13.55 13.675 8.126 37.868-9.971 44.472-4.187 1.529-5.055 1.618-16.762 1.72l-10.612.094v-54.513l10.389.094c9.643.087 10.544.128 12.545.575m37.511 26.587v27.223H68v-54.445h10.889zm161.768-13.611 7.203 18.138 1.798 4.527.312-.749c.172-.412 3.445-8.537 7.273-18.055 3.829-9.518 7-17.345 7.048-17.392s2.685-.061 5.86-.028l5.774.059-1.648 3.889c-.905 2.139-2.528 5.989-3.605 8.556-10.104 24.077-18.091 42.939-18.282 43.173-.172.209-.962.268-3.014.222l-2.781-.062-.826-2c-2.82-6.824-6.487-15.689-13.863-33.519-4.593-11.102-8.35-20.227-8.35-20.277s2.631-.093 5.848-.093h5.848zm70.121-8.944v4.555l-9.722.058-9.723.058v11.996H310v9.333h-18.667v14.44l9.723.058 9.722.057v9.112l-15.167.057-15.167.057v-54.451l15.167.057 15.167.057zm27.5-4.338c9.016 1.359 14.033 6.578 14.338 14.912.3 8.215-3.347 13.681-10.653 15.963l-1.482.463 8.414 11.222c4.628 6.172 8.419 11.299 8.426 11.392.007.094-2.949.144-6.569.111l-6.581-.058-7.252-10.827c-6.61-9.868-7.306-10.827-7.863-10.833l-.612-.007v21.778h-10.888v-54.445l9.277.002c7.026.001 9.804.08 11.445.327m19.81.54c-3.017 1.37-1.975 6.245 1.334 6.242 3.389-.004 4.481-4.617 1.459-6.166-1.177-.604-1.606-.616-2.793-.076m2.72 1.023c.432.592.375 1.592-.12 2.087-.416.416-.412.435.213 1.166.822.961.81 1.077-.105 1.077-.638 0-.843-.133-1.278-.833l-.518-.833-.069.833c-.063.758-.128.833-.722.833h-.653v-2.296c0-1.263.075-2.372.166-2.466.339-.344 2.767-.004 3.086.432m-1.919 1.108c0 .605.019.62.537.421.522-.2.448-.976-.093-.976-.326 0-.444.148-.444.555m-30.445 13.747v8.142l2.723-.003c7.232-.009 10.572-2.771 10.341-8.552-.207-5.188-2.997-7.307-10.008-7.601l-3.056-.128zM29.333 127.444v17.889l2.834-.001c12.515-.006 20.079-6.745 20.079-17.888 0-11.326-7.599-17.888-20.714-17.888h-2.199z\"\n fill=\"#fbfbfb\"\n />\n <Path\n d=\"M270.5 5.487c.214.055.564.055.778 0 .214-.056.039-.102-.389-.102s-.603.046-.389.102m-73.549 93.121c.584.046 1.484.045 2-.001.516-.047.038-.084-1.062-.084-1.1.001-1.522.039-.938.085m-45.007.442a7 7 0 0 0 1.445 0c.397-.05.072-.09-.722-.09-.795 0-1.12.04-.723.09m-3.222.214c.214.056.564.056.778 0s.039-.101-.389-.101-.603.045-.389.101m-44.444.223c.214.055.564.055.778 0 .213-.056.038-.102-.389-.102-.428 0-.603.046-.389.102m-85.726 27.957c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593M35.5 100.383a7 7 0 0 0 1.444 0c.398-.049.073-.09-.722-.09s-1.119.041-.722.09m32.608 27.061c0 15.034.026 21.217.059 13.74.032-7.477.032-19.777 0-27.333-.033-7.557-.059-1.44-.059 13.593m10.666-.222c0 14.911.027 20.979.059 13.483.033-7.496.033-19.696 0-27.111-.032-7.416-.059-1.283-.059 13.628m201.778.222c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593m37.111 0c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593m17.174-27.061c.4.05 1 .049 1.334-.002s.007-.091-.727-.09c-.733.001-1.006.043-.607.092m-224.393.395c1.015.39 1.414.385.556-.008-.367-.168-.817-.302-1-.299s.017.142.444.307m200.316 4.111c0 2.505.033 3.53.072 2.278.04-1.253.04-3.303 0-4.556-.039-1.253-.072-.228-.072 2.278m51.018-4.375c0 .038.325.363.722.722l.722.653-.652-.722c-.609-.674-.792-.825-.792-.653m-1.556.311c.184.068.534.216.778.328.437.202.438.199.013-.141-.237-.19-.587-.337-.778-.328-.299.015-.301.035-.013.141m-2.571 1.024c-.062.162-.08 1.287-.039 2.5l.073 2.207.046-2.378.047-2.377 1.166-.082 1.167-.081-1.174-.041c-.798-.028-1.209.052-1.286.252m-192.043 6.585-.052 6.323-.945-.875-.944-.875.936.986c1.247 1.311 1.19 1.595 1.119-5.571l-.063-6.311zm-75.727-4.156-1.103 1.166 1.166-1.102c.642-.607 1.167-1.132 1.167-1.167 0-.166-.206.019-1.23 1.103m273.731-.167c.002.489.048.663.101.386.053-.276.051-.676-.005-.888-.055-.213-.099.013-.096.502m-186.068 2.722-.766.834.833-.766c.776-.713.936-.901.766-.901-.037 0-.412.375-.833.833m-121.988 1.5c.787.795 1.481 1.445 1.542 1.445s-.533-.65-1.32-1.445c-.788-.794-1.482-1.444-1.543-1.444s.533.65 1.321 1.444m303.611-.846c.214.055.564.055.777 0 .214-.056.039-.102-.388-.102-.428 0-.603.046-.389.102m-255.672.896c.395.049 1.095.05 1.556.001.461-.048.138-.088-.718-.089-.855-.001-1.232.039-.838.088m48 .444c.395.049 1.095.05 1.556.002s.138-.088-.718-.089c-.855-.001-1.232.038-.838.087m176.78 8.229-.053 8.277 2.722-.047 2.723-.048-2.609-.071-2.608-.07-.061-8.16-.061-8.159zm-299.062-7.445c-.058.153-.08 8.278-.048 18.056l.057 17.777 2.222.012 2.223.012-2.167-.075-2.167-.075v-35.746l2.056-.073 2.055-.073-2.062-.047c-1.481-.033-2.093.033-2.169.232m261.998.004c-.059.154-.079 2.929-.044 6.166l.063 5.886.052-6.054.051-6.053 9.611-.06 9.612-.06-9.619-.054c-7.592-.041-9.64.007-9.726.229m-256.155.097c.275.053.725.053 1 0s.05-.096-.5-.096-.775.043-.5.096m76.775 1.952c1.028 1.077 1.062 1.093 1.444.676.375-.408.374-.414-.008-.125-.354.268-.516.192-1.444-.676l-1.045-.977zm227.725-.22c.414.428.803.778.865.778s-.229-.35-.643-.778c-.415-.427-.804-.777-.865-.777s.228.35.643.777m-297.315-.25c.228.205 1.537.806 1.537.706 0-.128-1.232-.789-1.471-.789-.087 0-.117.037-.066.083m97.751 2.75-1.214 1.278 1.278-1.214c.702-.668 1.277-1.243 1.277-1.278 0-.165-.212.027-1.341 1.214m-43.481.278c0 .672.042.947.093.611a5 5 0 0 0 0-1.222c-.051-.336-.093-.061-.093.611m245.119 2.667c0 .917.039 1.292.087.833a9.7 9.7 0 0 0 0-1.666c-.048-.459-.087-.084-.087.833m-2.2 5.833-.652.722.722-.652c.673-.609.824-.792.653-.792-.039 0-.364.325-.723.722m-276.258 2.167c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m71.546.222c0 .428.046.603.102.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.102-.039-.102.389m-82.435 1.111c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m71.35 1.334c0 1.038.038 1.463.085.944s.047-1.369 0-1.889c-.047-.519-.085-.094-.085.945m-7.633-.598c0 .039.325.364.722.723l.722.652-.652-.722c-.609-.673-.792-.824-.792-.653m-63.722 1.598c.003.488.048.662.101.386.054-.277.052-.677-.004-.889s-.099.014-.097.503m10.889 1.333c.003.489.048.663.101.386.053-.276.051-.676-.004-.889-.056-.212-.099.014-.097.503m71.551.111c0 .428.046.603.102.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.102-.039-.102.389m156.494.946c-.059.154-.081 3.479-.049 7.389l.059 7.109 9.611.004 9.612.004-9.556-.062-9.556-.061v-14.435l9.389-.061 9.389-.06-9.396-.053c-7.385-.042-9.419.007-9.503.226m37.113 12.832c0 6.05.029 8.525.064 5.5s.035-7.975 0-11-.064-.55-.064 5.5m-278.058-7.884c-.266.547-.437.995-.38.995.151 0 1.049-1.805.948-1.906-.046-.046-.302.363-.568.911m70.036 1.995c.001 1.222.038 1.694.083 1.048s.045-1.646-.001-2.222c-.045-.577-.082-.048-.082 1.174m-73.31 2.611-1.326 1.389 1.389-1.326c1.29-1.233 1.49-1.452 1.326-1.452-.034 0-.659.625-1.389 1.389m79.229-.859c0 .238.661 1.47.789 1.47.062 0-.054-.325-.256-.722-.412-.811-.533-.98-.533-.748M139.778 141c.664.672 1.257 1.222 1.318 1.222s-.432-.55-1.096-1.222-1.257-1.222-1.318-1.222.432.55 1.096 1.222m24.877.056-.766.833.833-.766.834-.766v6.144c0 5.617-.034 6.163-.389 6.37-.214.125-.284.23-.156.233.702.021.767-.546.767-6.704 0-3.398-.081-6.178-.179-6.178s-.523.375-.944.834m-78.993 1.666-1.995 2.056 2.055-1.996c1.131-1.097 2.056-2.022 2.056-2.055 0-.161-.263.086-2.116 1.995m-30.446 4-1.549 1.611 1.611-1.549c1.496-1.44 1.712-1.673 1.549-1.673-.033 0-.758.725-1.611 1.611M310.76 150c0 2.506.033 3.531.072 2.278.04-1.253.04-3.303 0-4.556-.039-1.253-.072-.228-.072 2.278m-158.92-3.836c.584.046 1.484.045 2-.002.516-.046.038-.084-1.062-.083s-1.522.039-.938.085m-20.173 1.392c.477.488.918.888.979.888s-.28-.4-.757-.888c-.477-.489-.918-.889-.979-.889s.279.4.757.889m-47 .736c0 .038.325.363.722.722l.722.653-.653-.723c-.608-.673-.791-.824-.791-.652m-48.496 6.313c.399.05.999.049 1.333-.002.334-.05.007-.091-.726-.09-.734.002-1.007.043-.607.092m63.107 1.33c.275.053.725.053 1 0s.05-.097-.5-.097-.775.044-.5.097m3.558 0c.276.053.676.051.889-.005s-.014-.099-.503-.096c-.489.002-.663.048-.386.101m48.775.005a9.7 9.7 0 0 0 1.667 0c.458-.048.083-.088-.834-.088s-1.291.04-.833.088m95.029.123c.096.095 1.416.145 2.934.11l2.759-.064-2.934-.11c-1.614-.061-2.855-.032-2.759.064\"\n fill=\"#939292\"\n />\n </G>\n </Svg>\n);\nexport default DiscoverLogo;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MCLogo.d.ts","sourceRoot":"","sources":["../../src/assets/MCLogo.tsx"],"names":[],"mappings":"AAAA,OAAY,
|
|
1
|
+
{"version":3,"file":"MCLogo.d.ts","sourceRoot":"","sources":["../../src/assets/MCLogo.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAe9B,CAAC;AACF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MCLogo.js","sourceRoot":"","sources":["../../src/assets/MCLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"MCLogo.js","sourceRoot":"","sources":["../../src/assets/MCLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,EAAE,IAAI,EAAY,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5C,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,KAAK,CAAC,CACpE;IAAA,CAAC,IAAI,CAAC,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,MAAM,EACzC;IAAA,CAAC,IAAI,CAAC,CAAC,CAAC,mCAAmC,CAAC,IAAI,CAAC,SAAS,EAC1D;IAAA,CAAC,IAAI,CACH,CAAC,CAAC,gGAAgG,CAClG,IAAI,CAAC,SAAS,CACd,SAAS,CAAC,0BAA0B,EAEtC;IAAA,CAAC,IAAI,CACH,CAAC,CAAC,iQAAiQ,CACnQ,IAAI,CAAC,SAAS,CACd,SAAS,CAAC,0BAA0B,EAExC;EAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["import Svg, { Path, SvgProps } from \"react-native-svg\";\n\nconst MCLogo: React.FC<SvgProps> = (props) => (\n <Svg width={203.209} height={144} viewBox=\"0 0 152.407 108\" {...props}>\n <Path d=\"M0 0h152.407v108H0z\" fill=\"none\" />\n <Path d=\"M60.412 25.697h31.5v56.606h-31.5z\" fill=\"#ff5f00\" />\n <Path\n d=\"M382.208 306a35.94 35.94 0 0 1 13.75-28.303 36 36 0 1 0 0 56.606A35.94 35.94 0 0 1 382.208 306\"\n fill=\"#eb001b\"\n transform=\"translate(-319.796 -252)\"\n />\n <Path\n d=\"M454.203 306a35.999 35.999 0 0 1-58.245 28.303 36.005 36.005 0 0 0 0-56.606A35.999 35.999 0 0 1 454.203 306M450.769 328.308v-1.16h.467v-.235h-1.19v.236h.468v1.159Zm2.31 0v-1.398h-.364l-.42.962-.42-.962h-.365v1.398h.258v-1.054l.393.908h.267l.394-.91v1.056Z\"\n fill=\"#f79e1b\"\n transform=\"translate(-319.796 -252)\"\n />\n </Svg>\n);\nexport default MCLogo;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisaLogo.d.ts","sourceRoot":"","sources":["../../src/assets/VisaLogo.tsx"],"names":[],"mappings":"AAAA,OAAY,
|
|
1
|
+
{"version":3,"file":"VisaLogo.d.ts","sourceRoot":"","sources":["../../src/assets/VisaLogo.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAOhC,CAAC;AACF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisaLogo.js","sourceRoot":"","sources":["../../src/assets/VisaLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"VisaLogo.js","sourceRoot":"","sources":["../../src/assets/VisaLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,EAAE,IAAI,EAAY,MAAM,kBAAkB,CAAC;AAEvD,MAAM,QAAQ,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9C,CAAC,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,KAAK,CAAC,CAC3C;IAAA,CAAC,IAAI,CACH,CAAC,CAAC,s0BAAs0B,CACx0B,IAAI,CAAC,MAAM,EAEf;EAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACF,eAAe,QAAQ,CAAC","sourcesContent":["import Svg, { Path, SvgProps } from \"react-native-svg\";\n\nconst VisaLogo: React.FC<SvgProps> = (props) => (\n <Svg viewBox=\"0 0 3384.54 2077.85\" {...props}>\n <Path\n d=\"m1461.26 739.84-251.37 599.74h-164l-123.7-478.62c-7.51-29.48-14.04-40.28-36.88-52.7-37.29-20.23-98.87-39.21-153.05-50.99l3.68-17.43h263.99c33.65 0 63.9 22.4 71.54 61.15l65.33 347.04 161.46-408.2h163zm642.58 403.93c.66-158.29-218.88-167.01-217.37-237.72.47-21.52 20.96-44.4 65.81-50.24 22.23-2.91 83.48-5.13 152.95 26.84l27.25-127.18c-37.33-13.55-85.36-26.59-145.12-26.59-153.35 0-261.27 81.52-262.18 198.25-.99 86.34 77.03 134.52 135.81 163.21 60.47 29.38 80.76 48.26 80.53 74.54-.43 40.23-48.23 57.99-92.9 58.69-77.98 1.2-123.23-21.1-159.3-37.87l-28.12 131.39c36.25 16.63 103.16 31.14 172.53 31.87 162.99 0 269.61-80.51 270.11-205.19m404.94 195.81h143.49l-125.25-599.74h-132.44c-29.78 0-54.9 17.34-66.02 44l-232.81 555.74h162.91L2291 1250h199.05zm-173.11-212.5 81.66-225.18 47 225.18zm-652.74-387.24-128.29 599.74H1399.5l128.34-599.74z\"\n fill=\"#fff\"\n />\n </Svg>\n);\nexport default VisaLogo;\n"]}
|
package/build/assets/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
package/build/assets/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { default as AmexLogo } from \"./AmexLogo\";\nexport { default as MCLogo } from \"./MCLogo\";\nexport { default as VisaLogo } from \"./VisaLogo\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { default as AmexLogo } from \"./AmexLogo\";\nexport { default as DiscoverLogo } from \"./DiscoverLogo\";\nexport { default as MCLogo } from \"./MCLogo\";\nexport { default as VisaLogo } from \"./VisaLogo\";\n"]}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import { useEffect } from "react";
|
|
2
2
|
import { KeyboardAvoidingView, ScrollView, StyleSheet, View, } from "react-native";
|
|
3
3
|
import { FormProvider, FormThemeProvider } from "../context";
|
|
4
|
-
|
|
4
|
+
import { initialize, createDeviceSessionId } from "../ExpoOpenpayModule";
|
|
5
5
|
import { SubmitButton } from "./forms";
|
|
6
6
|
import { OPCardNumberInput, OPCvv2Input, OPExpInput, OPExpMonthInput, OPExpYearInput, OPHolderNameInput, } from ".";
|
|
7
7
|
export default function OPCardForm({ merchantId, apiKey, isProduction = false, countryCode = "MX", options = {}, }) {
|
|
8
8
|
const { expIsMMYY = true, groupedView = true, handleSubmit, styling = {}, withAnimatedTexts, withIcons, withLabels, withPlaceholders, } = options;
|
|
9
9
|
const { buttonStyle = {}, buttonTextStyle = {}, colorScheme = "light", darkTheme, formFieldStyle = {}, defaultStyling = true, formKeyboardAvoidingViewStyle = {}, formScrollViewStyle = {}, labelStyle = {}, lightTheme, textInputStyle = {}, } = styling;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
const initOP = async () => {
|
|
12
|
+
try {
|
|
13
|
+
await initialize(merchantId, apiKey, isProduction, countryCode);
|
|
14
|
+
await createDeviceSessionId();
|
|
15
|
+
}
|
|
16
|
+
catch (e) {
|
|
17
|
+
console.error(e);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
initOP();
|
|
21
|
+
}, []);
|
|
21
22
|
return (<FormThemeProvider colorScheme={colorScheme} dark={darkTheme} light={lightTheme}>
|
|
22
23
|
<FormProvider initialValues={{ cardNumber: "" }} onSubmit={handleSubmit}>
|
|
23
24
|
<KeyboardAvoidingView behavior="padding" enabled keyboardVerticalOffset={100} style={defaultStyling
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OPCardForm.js","sourceRoot":"","sources":["../../src/components/OPCardForm.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EACL,oBAAoB,EACpB,UAAU,EAEV,UAAU,EAEV,IAAI,GAEL,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,YAAY,EAAmB,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC9E,4EAA4E;AAC5E,OAAO,EAAE,YA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AC,gBAAgB,CAAC,EAEtC;cAAA,GAAG,CACJ,CACD;YAAA,CAAC,YAAY,CACX,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,eAAe,CAAC,CAAC,eAAe,CAAC,CACjC,cAAc,CAAC,CAAC,cAAc,CAAC,EAEnC;UAAA,EAAE,UAAU,CACd;QAAA,EAAE,oBAAoB,CACxB;MAAA,EAAE,YAAY,CAChB;IAAA,EAAE,iBAAiB,CAAC,CACrB,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM;QACd,gBAAgB,EAAE,EAAE;KACrB;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC","sourcesContent":["// import { useEffect } from \"react\";\nimport {\n KeyboardAvoidingView,\n ScrollView,\n StyleProp,\n StyleSheet,\n TextStyle,\n View,\n ViewStyle,\n} from \"react-native\";\n\nimport { FormProvider, FormThemeColors, FormThemeProvider } from \"../context\";\n// import { initialize, createDeviceSessionId } from \"../ExpoOpenpayModule\";\nimport { SubmitButton } from \"./forms\";\nimport {\n OPCardNumberInput,\n OPCvv2Input,\n OPExpInput,\n OPExpMonthInput,\n OPExpYearInput,\n OPHolderNameInput,\n} from \".\";\n\n// type ThemeColors = {\n// background: string;\n// text: string;\n// error: string;\n// primary: string;\n// placeholder: string;\n// };\n\n// type ThemeProp = {\n// light: Partial<ThemeColors>;\n// dark: Partial<ThemeColors>;\n// };\n\ntype CardFormProps = {\n apiKey: string;\n countryCode?: \"MX\" | \"CO\" | \"PE\";\n isProduction: boolean;\n merchantId: string;\n options?: {\n expIsMMYY?: boolean;\n groupedView?: boolean;\n handleSubmit?: () => any;\n styling?: {\n buttonStyle?: StyleProp<ViewStyle>;\n buttonTextStyle?: StyleProp<TextStyle>;\n colorScheme?: \"light\" | \"dark\";\n darkTheme?: FormThemeColors;\n formFieldStyle?: StyleProp<ViewStyle>;\n defaultStyling?: boolean;\n formKeyboardAvoidingViewStyle?: StyleProp<ViewStyle>;\n formScrollViewStyle?: StyleProp<ViewStyle>;\n labelStyle?: StyleProp<TextStyle>;\n lightTheme?: FormThemeColors;\n textInputStyle?: StyleProp<TextStyle>;\n };\n withAnimatedTexts?: boolean;\n withIcons?: boolean;\n withLabels?: boolean;\n withPlaceholders?: boolean;\n };\n};\n\nexport default function OPCardForm({\n merchantId,\n apiKey,\n isProduction = false,\n countryCode = \"MX\",\n options = {},\n}: CardFormProps) {\n const {\n expIsMMYY = true,\n groupedView = true,\n handleSubmit,\n styling = {},\n withAnimatedTexts,\n withIcons,\n withLabels,\n withPlaceholders,\n } = options;\n\n const {\n buttonStyle = {},\n buttonTextStyle = {},\n colorScheme = \"light\",\n darkTheme,\n formFieldStyle = {},\n defaultStyling = true,\n formKeyboardAvoidingViewStyle = {},\n formScrollViewStyle = {},\n labelStyle = {},\n lightTheme,\n textInputStyle = {},\n } = styling;\n\n // useEffect(() => {\n // const initOP = async () => {\n // try {\n // await initialize(merchantId, apiKey, isProduction, countryCode);\n // await createDeviceSessionId();\n // } catch (e) {\n // console.error(e);\n // }\n // };\n // initOP();\n // }, []);\n\n return (\n <FormThemeProvider\n colorScheme={colorScheme}\n dark={darkTheme}\n light={lightTheme}\n >\n <FormProvider initialValues={{ cardNumber: \"\" }} onSubmit={handleSubmit}>\n <KeyboardAvoidingView\n behavior=\"padding\"\n enabled\n keyboardVerticalOffset={100}\n style={\n defaultStyling\n ? [styles.keyboardAvoidingView, formKeyboardAvoidingViewStyle]\n : formKeyboardAvoidingViewStyle\n }\n >\n <ScrollView\n showsVerticalScrollIndicator={false}\n style={\n defaultStyling\n ? [styles.formView, formScrollViewStyle]\n : formScrollViewStyle\n }\n >\n <OPHolderNameInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n <OPCardNumberInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n {defaultStyling && groupedView ? (\n <View style={{ flexDirection: \"row\", gap: 12 }}>\n {expIsMMYY ? (\n <OPExpInput\n options={{\n formFieldStyle: { flex: 1 },\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n ) : (\n <>\n <OPExpMonthInput\n options={{\n formFieldStyle: { flex: 1 },\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n <OPExpYearInput\n options={{\n formFieldStyle: { flex: 1 },\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n </>\n )}\n <OPCvv2Input\n options={{\n formFieldStyle: { flex: 1 },\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n </View>\n ) : (\n <>\n {expIsMMYY ? (\n <OPExpInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n ) : (\n <>\n <OPExpMonthInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle: {},\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n <OPExpYearInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n </>\n )}\n\n <OPCvv2Input\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n </>\n )}\n <SubmitButton\n buttonStyle={buttonStyle}\n buttonTextStyle={buttonTextStyle}\n defaultStyling={defaultStyling}\n />\n </ScrollView>\n </KeyboardAvoidingView>\n </FormProvider>\n </FormThemeProvider>\n );\n}\n\nconst styles = StyleSheet.create({\n formView: {\n height: \"100%\",\n marginHorizontal: 12,\n },\n keyboardAvoidingView: {\n flex: 1,\n },\n});\n"]}
|
|
1
|
+
{"version":3,"file":"OPCardForm.js","sourceRoot":"","sources":["../../src/components/OPCardForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EACL,oBAAoB,EACpB,UAAU,EAEV,UAAU,EAEV,IAAI,GAEL,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,YAAY,EAAmB,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,eAAe,EACf,cAAc,EACd,iBAAiB,GAClB,MAAM,GAAG,CAAC;AA4CX,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,UAAU,EACV,MAAM,EACN,YAAY,GAAG,K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AAe,CAAC,CAAC,gBAAgB,CAAC,EAEtC;cAAA,GAAG,CACJ,CACD;YAAA,CAAC,YAAY,CACX,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,eAAe,CAAC,CAAC,eAAe,CAAC,CACjC,cAAc,CAAC,CAAC,cAAc,CAAC,EAEnC;UAAA,EAAE,UAAU,CACd;QAAA,EAAE,oBAAoB,CACxB;MAAA,EAAE,YAAY,CAChB;IAAA,EAAE,iBAAiB,CAAC,CACrB,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM;QACd,gBAAgB,EAAE,EAAE;KACrB;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC","sourcesContent":["import { useEffect } from \"react\";\nimport {\n KeyboardAvoidingView,\n ScrollView,\n StyleProp,\n StyleSheet,\n TextStyle,\n View,\n ViewStyle,\n} from \"react-native\";\n\nimport { FormProvider, FormThemeColors, FormThemeProvider } from \"../context\";\nimport { initialize, createDeviceSessionId } from \"../ExpoOpenpayModule\";\nimport { SubmitButton } from \"./forms\";\nimport {\n OPCardNumberInput,\n OPCvv2Input,\n OPExpInput,\n OPExpMonthInput,\n OPExpYearInput,\n OPHolderNameInput,\n} from \".\";\n\n// type ThemeColors = {\n// background: string;\n// text: string;\n// error: string;\n// primary: string;\n// placeholder: string;\n// };\n\n// type ThemeProp = {\n// light: Partial<ThemeColors>;\n// dark: Partial<ThemeColors>;\n// };\n\ntype CardFormProps = {\n apiKey: string;\n countryCode?: \"MX\" | \"CO\" | \"PE\";\n isProduction: boolean;\n merchantId: string;\n options?: {\n expIsMMYY?: boolean;\n groupedView?: boolean;\n handleSubmit?: () => any;\n styling?: {\n buttonStyle?: StyleProp<ViewStyle>;\n buttonTextStyle?: StyleProp<TextStyle>;\n colorScheme?: \"light\" | \"dark\";\n darkTheme?: FormThemeColors;\n formFieldStyle?: StyleProp<ViewStyle>;\n defaultStyling?: boolean;\n formKeyboardAvoidingViewStyle?: StyleProp<ViewStyle>;\n formScrollViewStyle?: StyleProp<ViewStyle>;\n labelStyle?: StyleProp<TextStyle>;\n lightTheme?: FormThemeColors;\n textInputStyle?: StyleProp<TextStyle>;\n };\n withAnimatedTexts?: boolean;\n withIcons?: boolean;\n withLabels?: boolean;\n withPlaceholders?: boolean;\n };\n};\n\nexport default function OPCardForm({\n merchantId,\n apiKey,\n isProduction = false,\n countryCode = \"MX\",\n options = {},\n}: CardFormProps) {\n const {\n expIsMMYY = true,\n groupedView = true,\n handleSubmit,\n styling = {},\n withAnimatedTexts,\n withIcons,\n withLabels,\n withPlaceholders,\n } = options;\n\n const {\n buttonStyle = {},\n buttonTextStyle = {},\n colorScheme = \"light\",\n darkTheme,\n formFieldStyle = {},\n defaultStyling = true,\n formKeyboardAvoidingViewStyle = {},\n formScrollViewStyle = {},\n labelStyle = {},\n lightTheme,\n textInputStyle = {},\n } = styling;\n\n useEffect(() => {\n const initOP = async () => {\n try {\n await initialize(merchantId, apiKey, isProduction, countryCode);\n await createDeviceSessionId();\n } catch (e) {\n console.error(e);\n }\n };\n initOP();\n }, []);\n\n return (\n <FormThemeProvider\n colorScheme={colorScheme}\n dark={darkTheme}\n light={lightTheme}\n >\n <FormProvider initialValues={{ cardNumber: \"\" }} onSubmit={handleSubmit}>\n <KeyboardAvoidingView\n behavior=\"padding\"\n enabled\n keyboardVerticalOffset={100}\n style={\n defaultStyling\n ? [styles.keyboardAvoidingView, formKeyboardAvoidingViewStyle]\n : formKeyboardAvoidingViewStyle\n }\n >\n <ScrollView\n showsVerticalScrollIndicator={false}\n style={\n defaultStyling\n ? [styles.formView, formScrollViewStyle]\n : formScrollViewStyle\n }\n >\n <OPHolderNameInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n <OPCardNumberInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n {defaultStyling && groupedView ? (\n <View style={{ flexDirection: \"row\", gap: 12 }}>\n {expIsMMYY ? (\n <OPExpInput\n options={{\n formFieldStyle: { flex: 1 },\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n ) : (\n <>\n <OPExpMonthInput\n options={{\n formFieldStyle: { flex: 1 },\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n <OPExpYearInput\n options={{\n formFieldStyle: { flex: 1 },\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n </>\n )}\n <OPCvv2Input\n options={{\n formFieldStyle: { flex: 1 },\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n </View>\n ) : (\n <>\n {expIsMMYY ? (\n <OPExpInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n ) : (\n <>\n <OPExpMonthInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle: {},\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n <OPExpYearInput\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n </>\n )}\n\n <OPCvv2Input\n options={{\n formFieldStyle,\n defaultStyling,\n inputStyle: {},\n labelStyle,\n textInputStyle,\n }}\n withAnimatedText={withAnimatedTexts}\n withIcon={withIcons}\n withLabel={withLabels}\n withPlaceholder={withPlaceholders}\n />\n </>\n )}\n <SubmitButton\n buttonStyle={buttonStyle}\n buttonTextStyle={buttonTextStyle}\n defaultStyling={defaultStyling}\n />\n </ScrollView>\n </KeyboardAvoidingView>\n </FormProvider>\n </FormThemeProvider>\n );\n}\n\nconst styles = StyleSheet.create({\n formView: {\n height: \"100%\",\n marginHorizontal: 12,\n },\n keyboardAvoidingView: {\n flex: 1,\n },\n});\n"]}
|
|
@@ -3,10 +3,10 @@ import { Animated, Image, StyleSheet, TextInput, View, } from "react-native";
|
|
|
3
3
|
import { FontAwesome6, MaterialCommunityIcons } from "@expo/vector-icons";
|
|
4
4
|
import Styles from "../../constants/Styles";
|
|
5
5
|
import { useFormThemeContext } from "../../context/FormThemeContext";
|
|
6
|
-
import { AmexLogo, MCLogo, VisaLogo } from "../../assets";
|
|
6
|
+
import { AmexLogo, DiscoverLogo, MCLogo, VisaLogo } from "../../assets";
|
|
7
7
|
const cardIcons = {
|
|
8
8
|
amex: AmexLogo,
|
|
9
|
-
discover:
|
|
9
|
+
discover: DiscoverLogo,
|
|
10
10
|
mc: MCLogo,
|
|
11
11
|
visa: VisaLogo,
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../src/components/forms/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA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,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE;IACpB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,SAAS;KACtB;CACF,CAAC,CAAC","sourcesContent":["import { useEffect, useRef, useState } from \"react\";\nimport {\n Animated,\n Image,\n StyleProp,\n StyleSheet,\n TextInput,\n TextInputProps,\n TextStyle,\n View,\n ViewStyle,\n} from \"react-native\";\nimport { FontAwesome6, MaterialCommunityIcons } from \"@expo/vector-icons\";\n\nimport Styles from \"../../constants/Styles\";\nimport { useFormThemeContext } from \"../../context/FormThemeContext\";\nimport { AmexLogo, MCLogo, VisaLogo } from \"../../assets\";\n\ntype StylingProps = {\n formFieldStyle?: StyleProp<ViewStyle>;\n inputStyle?: StyleProp<ViewStyle>;\n textInputStyle?: StyleProp<TextStyle>;\n};\n\ntype AppTextInputProps = TextInputProps & {\n defaultStyling?: boolean;\n fieldName?: string;\n icon?:\n | { type: \"material\"; name: keyof typeof MaterialCommunityIcons.glyphMap }\n | { type: \"fa6\"; name: keyof typeof FontAwesome6.glyphMap }\n | { type: \"png\"; name: \"amex\" | \"discover\" | \"mc\" | \"visa\" };\n hasError?: boolean;\n errorText?: string;\n styling?: StylingProps;\n withAnimatedText?: boolean;\n withIcon?: boolean;\n withPlaceholder?: boolean;\n};\n\nconst cardIcons: Record<string, any> = {\n amex: AmexLogo,\n discover: require(\"../../assets/photos/discover_logo.png\"),\n mc: MCLogo,\n visa: VisaLogo,\n};\n\nexport default function AppTextInput({\n defaultStyling,\n fieldName,\n icon,\n onBlur,\n onChangeText,\n placeholder,\n hasError = false,\n errorText = \"\",\n styling: { formFieldStyle = {}, inputStyle = {}, textInputStyle = {} } = {},\n value,\n withAnimatedText,\n withIcon,\n withPlaceholder,\n ...otherProps\n}: AppTextInputProps) {\n const {\n formFieldBackground,\n formFieldErrorBorder,\n iconColor,\n iconError,\n placeholderColor,\n placeholderError,\n textInput,\n textInputCarot,\n } = useFormThemeContext();\n\n const [isFocused, setIsFocused] = useState<boolean>(false);\n const [renderedIcon, setRenderedIcon] = useState(icon);\n\n const activeAnim = useRef<Animated.CompositeAnimation | null>(null);\n const animatedIsFlipped = useRef(\n new Animated.Value(icon?.type === \"png\" ? 1 : 0)\n ).current;\n const animatedIsFocused = useRef(new Animated.Value(value ? 1 : 0)).current;\n\n useEffect(() => {\n Animated.timing(animatedIsFocused, {\n toValue: isFocused || !!value ? 1 : 0,\n duration: 200,\n useNativeDriver: false,\n }).start();\n }, [isFocused, value, animatedIsFocused]);\n\n const placeholderStyle: Animated.WithAnimatedObject<StyleProp<TextStyle>> = {\n position: \"absolute\",\n left: animatedIsFocused.interpolate({\n inputRange: [0, 1],\n outputRange: [withIcon ? 40 : 15, withIcon ? 40 : 15],\n }),\n top: animatedIsFocused.interpolate({\n inputRange: [0, 1],\n outputRange: [30, 5],\n }),\n fontSize: animatedIsFocused.interpolate({\n inputRange: [0, 1],\n outputRange: [18, 12],\n }),\n color: animatedIsFocused.interpolate({\n inputRange: [0, 1],\n outputRange: [placeholderColor, placeholderColor],\n }),\n };\n\n useEffect(() => {\n if (icon === renderedIcon) return;\n\n const hasBrandIcon = icon?.type === \"png\";\n\n if (activeAnim.current) {\n try {\n activeAnim.current.stop();\n } catch (e) {\n // ignore\n }\n activeAnim.current = null;\n }\n\n const anim = Animated.timing(animatedIsFlipped, {\n toValue: hasBrandIcon ? 1 : 0,\n duration: 500,\n useNativeDriver: true,\n });\n\n activeAnim.current = anim;\n anim.start(({ finished }) => {\n activeAnim.current = null;\n if (finished) {\n setRenderedIcon(icon);\n } else {\n setRenderedIcon(icon);\n }\n });\n }, [icon]);\n\n const rotateY = animatedIsFlipped.interpolate({\n inputRange: [0, 1],\n outputRange: [\"0deg\", \"180deg\"],\n });\n\n const rotateYBack = animatedIsFlipped.interpolate({\n inputRange: [0, 1],\n outputRange: [\"180deg\", \"360deg\"],\n });\n\n const backImageSource =\n icon?.type === \"png\"\n ? cardIcons[icon.name]\n : renderedIcon?.type === \"png\"\n ? cardIcons[renderedIcon.name]\n : null;\n\n const Icon = backImageSource;\n console.log(Icon);\n return (\n <View\n style={\n defaultStyling && [\n styles.formFieldContainer,\n { backgroundColor: formFieldBackground },\n formFieldStyle,\n hasError && { borderColor: formFieldErrorBorder },\n ]\n }\n >\n {defaultStyling && withIcon && (\n <View style={styles.iconContainer}>\n <View style={styles.flipContainer}>\n {/* Front side: generic card icon or previously rendered icon.\n We use renderedIcon so the old front stays visible until animation completes */}\n <Animated.View\n style={[\n styles.face,\n styles.front,\n {\n transform: [{ rotateY }],\n },\n ]}\n >\n {/* If previously renderedIcon was a material/fa6 show it; otherwise show generic credit-card */}\n {renderedIcon?.type === \"material\" && renderedIcon?.name ? (\n <MaterialCommunityIcons\n name={renderedIcon.name}\n size={25}\n color={hasError ? iconError : iconColor}\n />\n ) : renderedIcon?.type === \"fa6\" && renderedIcon?.name ? (\n <FontAwesome6\n name={renderedIcon.name}\n size={21}\n color={hasError ? iconError : iconColor}\n />\n ) : (\n <MaterialCommunityIcons\n name=\"credit-card\"\n size={25}\n color={hasError ? iconError : iconColor}\n />\n )}\n </Animated.View>\n <Animated.View\n style={[\n styles.face,\n {\n transform: [\n {\n rotateY: rotateYBack,\n },\n ],\n },\n ]}\n >\n {Icon ? (\n typeof Icon === \"function\" ? (\n <Icon width=\"100%\" height=\"100%\" />\n ) : (\n <Image\n source={Icon}\n style={[\n styles.logo,\n (icon?.name === \"visa\" ||\n icon?.name === \"discover\" ||\n renderedIcon?.name === \"visa\" ||\n renderedIcon?.name === \"discover\") && {\n width: \"70%\",\n height: \"70%\",\n },\n ]}\n />\n )\n ) : (\n <View style={styles.logo} />\n )}\n </Animated.View>\n </View>\n </View>\n )}\n {withPlaceholder && withAnimatedText && (\n <Animated.Text\n pointerEvents=\"none\"\n style={\n defaultStyling && [\n placeholderStyle,\n hasError && { color: placeholderError },\n ]\n }\n >\n {hasError ? errorText : placeholder}\n </Animated.Text>\n )}\n <TextInput\n onBlur={(e) => {\n setIsFocused(false);\n onBlur?.(e);\n }}\n onChangeText={onChangeText}\n onFocus={() => setIsFocused(true)}\n placeholder={\n withPlaceholder && !withAnimatedText ? placeholder : undefined\n }\n placeholderTextColor={!withAnimatedText ? placeholderColor : undefined}\n selectionColor={textInputCarot}\n style={\n defaultStyling\n ? [\n styles.textInput,\n { color: textInput },\n !withIcon && { marginLeft: 15 },\n textInputStyle,\n ]\n : textInputStyle\n }\n value={value}\n {...otherProps}\n />\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n formFieldContainer: {\n borderColor: \"#3c3c3c\",\n borderRadius: 25,\n borderWidth: 1,\n flexDirection: \"row\",\n paddingVertical: 20,\n marginTop: 12,\n },\n iconContainer: {\n marginTop: 8,\n width: 40,\n height: 25,\n justifyContent: \"center\",\n alignItems: \"center\",\n padding: 1,\n },\n textInput: { height: 40, ...Styles.text },\n\n // Flip animation styles\n flipContainer: {\n width: \"100%\",\n height: \"100%\",\n ...({ transform: [{ perspective: 1000 }] } as any),\n },\n flipCard: {\n width: \"100%\",\n height: \"100%\",\n },\n face: {\n position: \"absolute\",\n width: \"100%\",\n height: \"100%\",\n justifyContent: \"center\",\n alignItems: \"center\",\n backfaceVisibility: \"hidden\",\n },\n front: { zIndex: 2 },\n logo: {\n width: \"100%\",\n height: \"100%\",\n resizeMode: \"contain\",\n },\n});\n"]}
|
|
1
|
+
{"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../src/components/forms/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,QAAQ,EACR,KAAK,EAEL,UAAU,EACV,SAAS,EAGT,IAAI,GAEL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE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AAC,KAAK,CAAC,CACb,IAAI,UAAU,CAAC,EAEnB;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,kBAAkB,EAAE;QAClB,WAAW,EAAE,SAAS;QACtB,YAAY,EAAE,EAAE;QAChB,WAAW,EAAE,CAAC;QACd,aAAa,EAAE,KAAK;QACpB,eAAe,EAAE,EAAE;QACnB,SAAS,EAAE,EAAE;KACd;IACD,aAAa,EAAE;QACb,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,OAAO,EAAE,CAAC;KACX;IACD,SAAS,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC,IAAI,EAAE;IAEzC,wBAAwB;IACxB,aAAa,EAAE;QACb,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,GAAI,EAAE,SAAS,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,EAAU;KACnD;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,kBAAkB,EAAE,QAAQ;KAC7B;IACD,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE;IACpB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,SAAS;KACtB;CACF,CAAC,CAAC","sourcesContent":["import { useEffect, useRef, useState } from \"react\";\nimport {\n Animated,\n Image,\n StyleProp,\n StyleSheet,\n TextInput,\n TextInputProps,\n TextStyle,\n View,\n ViewStyle,\n} from \"react-native\";\nimport { FontAwesome6, MaterialCommunityIcons } from \"@expo/vector-icons\";\n\nimport Styles from \"../../constants/Styles\";\nimport { useFormThemeContext } from \"../../context/FormThemeContext\";\nimport { AmexLogo, DiscoverLogo, MCLogo, VisaLogo } from \"../../assets\";\n\ntype StylingProps = {\n formFieldStyle?: StyleProp<ViewStyle>;\n inputStyle?: StyleProp<ViewStyle>;\n textInputStyle?: StyleProp<TextStyle>;\n};\n\ntype AppTextInputProps = TextInputProps & {\n defaultStyling?: boolean;\n fieldName?: string;\n icon?:\n | { type: \"material\"; name: keyof typeof MaterialCommunityIcons.glyphMap }\n | { type: \"fa6\"; name: keyof typeof FontAwesome6.glyphMap }\n | { type: \"png\"; name: \"amex\" | \"discover\" | \"mc\" | \"visa\" };\n hasError?: boolean;\n errorText?: string;\n styling?: StylingProps;\n withAnimatedText?: boolean;\n withIcon?: boolean;\n withPlaceholder?: boolean;\n};\n\nconst cardIcons: Record<string, any> = {\n amex: AmexLogo,\n discover: DiscoverLogo,\n mc: MCLogo,\n visa: VisaLogo,\n};\n\nexport default function AppTextInput({\n defaultStyling,\n fieldName,\n icon,\n onBlur,\n onChangeText,\n placeholder,\n hasError = false,\n errorText = \"\",\n styling: { formFieldStyle = {}, inputStyle = {}, textInputStyle = {} } = {},\n value,\n withAnimatedText,\n withIcon,\n withPlaceholder,\n ...otherProps\n}: AppTextInputProps) {\n const {\n formFieldBackground,\n formFieldErrorBorder,\n iconColor,\n iconError,\n placeholderColor,\n placeholderError,\n textInput,\n textInputCarot,\n } = useFormThemeContext();\n\n const [isFocused, setIsFocused] = useState<boolean>(false);\n const [renderedIcon, setRenderedIcon] = useState(icon);\n\n const activeAnim = useRef<Animated.CompositeAnimation | null>(null);\n const animatedIsFlipped = useRef(\n new Animated.Value(icon?.type === \"png\" ? 1 : 0)\n ).current;\n const animatedIsFocused = useRef(new Animated.Value(value ? 1 : 0)).current;\n\n useEffect(() => {\n Animated.timing(animatedIsFocused, {\n toValue: isFocused || !!value ? 1 : 0,\n duration: 200,\n useNativeDriver: false,\n }).start();\n }, [isFocused, value, animatedIsFocused]);\n\n const placeholderStyle: Animated.WithAnimatedObject<StyleProp<TextStyle>> = {\n position: \"absolute\",\n left: animatedIsFocused.interpolate({\n inputRange: [0, 1],\n outputRange: [withIcon ? 40 : 15, withIcon ? 40 : 15],\n }),\n top: animatedIsFocused.interpolate({\n inputRange: [0, 1],\n outputRange: [30, 5],\n }),\n fontSize: animatedIsFocused.interpolate({\n inputRange: [0, 1],\n outputRange: [18, 12],\n }),\n color: animatedIsFocused.interpolate({\n inputRange: [0, 1],\n outputRange: [placeholderColor, placeholderColor],\n }),\n };\n\n useEffect(() => {\n if (icon === renderedIcon) return;\n\n const hasBrandIcon = icon?.type === \"png\";\n\n if (activeAnim.current) {\n try {\n activeAnim.current.stop();\n } catch (e) {\n // ignore\n }\n activeAnim.current = null;\n }\n\n const anim = Animated.timing(animatedIsFlipped, {\n toValue: hasBrandIcon ? 1 : 0,\n duration: 500,\n useNativeDriver: true,\n });\n\n activeAnim.current = anim;\n anim.start(({ finished }) => {\n activeAnim.current = null;\n if (finished) {\n setRenderedIcon(icon);\n } else {\n setRenderedIcon(icon);\n }\n });\n }, [icon]);\n\n const rotateY = animatedIsFlipped.interpolate({\n inputRange: [0, 1],\n outputRange: [\"0deg\", \"180deg\"],\n });\n\n const rotateYBack = animatedIsFlipped.interpolate({\n inputRange: [0, 1],\n outputRange: [\"180deg\", \"360deg\"],\n });\n\n const backImageSource =\n icon?.type === \"png\"\n ? cardIcons[icon.name]\n : renderedIcon?.type === \"png\"\n ? cardIcons[renderedIcon.name]\n : null;\n\n const Icon = backImageSource;\n console.log(Icon);\n return (\n <View\n style={\n defaultStyling && [\n styles.formFieldContainer,\n { backgroundColor: formFieldBackground },\n formFieldStyle,\n hasError && { borderColor: formFieldErrorBorder },\n ]\n }\n >\n {defaultStyling && withIcon && (\n <View style={styles.iconContainer}>\n <View style={styles.flipContainer}>\n {/* Front side: generic card icon or previously rendered icon.\n We use renderedIcon so the old front stays visible until animation completes */}\n <Animated.View\n style={[\n styles.face,\n styles.front,\n {\n transform: [{ rotateY }],\n },\n ]}\n >\n {/* If previously renderedIcon was a material/fa6 show it; otherwise show generic credit-card */}\n {renderedIcon?.type === \"material\" && renderedIcon?.name ? (\n <MaterialCommunityIcons\n name={renderedIcon.name}\n size={25}\n color={hasError ? iconError : iconColor}\n />\n ) : renderedIcon?.type === \"fa6\" && renderedIcon?.name ? (\n <FontAwesome6\n name={renderedIcon.name}\n size={21}\n color={hasError ? iconError : iconColor}\n />\n ) : (\n <MaterialCommunityIcons\n name=\"credit-card\"\n size={25}\n color={hasError ? iconError : iconColor}\n />\n )}\n </Animated.View>\n <Animated.View\n style={[\n styles.face,\n {\n transform: [\n {\n rotateY: rotateYBack,\n },\n ],\n },\n ]}\n >\n {Icon ? (\n typeof Icon === \"function\" ? (\n <Icon width=\"100%\" height=\"100%\" />\n ) : (\n <Image\n source={Icon}\n style={[\n styles.logo,\n (icon?.name === \"visa\" ||\n icon?.name === \"discover\" ||\n renderedIcon?.name === \"visa\" ||\n renderedIcon?.name === \"discover\") && {\n width: \"70%\",\n height: \"70%\",\n },\n ]}\n />\n )\n ) : (\n <View style={styles.logo} />\n )}\n </Animated.View>\n </View>\n </View>\n )}\n {withPlaceholder && withAnimatedText && (\n <Animated.Text\n pointerEvents=\"none\"\n style={\n defaultStyling && [\n placeholderStyle,\n hasError && { color: placeholderError },\n ]\n }\n >\n {hasError ? errorText : placeholder}\n </Animated.Text>\n )}\n <TextInput\n onBlur={(e) => {\n setIsFocused(false);\n onBlur?.(e);\n }}\n onChangeText={onChangeText}\n onFocus={() => setIsFocused(true)}\n placeholder={\n withPlaceholder && !withAnimatedText ? placeholder : undefined\n }\n placeholderTextColor={!withAnimatedText ? placeholderColor : undefined}\n selectionColor={textInputCarot}\n style={\n defaultStyling\n ? [\n styles.textInput,\n { color: textInput },\n !withIcon && { marginLeft: 15 },\n textInputStyle,\n ]\n : textInputStyle\n }\n value={value}\n {...otherProps}\n />\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n formFieldContainer: {\n borderColor: \"#3c3c3c\",\n borderRadius: 25,\n borderWidth: 1,\n flexDirection: \"row\",\n paddingVertical: 20,\n marginTop: 12,\n },\n iconContainer: {\n marginTop: 8,\n width: 40,\n height: 25,\n justifyContent: \"center\",\n alignItems: \"center\",\n padding: 1,\n },\n textInput: { height: 40, ...Styles.text },\n\n // Flip animation styles\n flipContainer: {\n width: \"100%\",\n height: \"100%\",\n ...({ transform: [{ perspective: 1000 }] } as any),\n },\n flipCard: {\n width: \"100%\",\n height: \"100%\",\n },\n face: {\n position: \"absolute\",\n width: \"100%\",\n height: \"100%\",\n justifyContent: \"center\",\n alignItems: \"center\",\n backfaceVisibility: \"hidden\",\n },\n front: { zIndex: 2 },\n logo: {\n width: \"100%\",\n height: \"100%\",\n resizeMode: \"contain\",\n },\n});\n"]}
|
package/package.json
CHANGED
package/src/assets/AmexLogo.tsx
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import Svg, { G, Path, SvgProps } from "react-native-svg";
|
|
2
|
+
|
|
3
|
+
const DiscoverLogo: React.FC<SvgProps> = (props) => (
|
|
4
|
+
<Svg width={400} height={256} {...props}>
|
|
5
|
+
<G fillRule="evenodd">
|
|
6
|
+
<Path
|
|
7
|
+
d="M9.555.415C5.21 1.806 1.875 5.055.462 9.273l-.464 1.385.057 117.854.056 117.855.979 1.983c.538 1.091 1.063 2.017 1.166 2.057.104.041.188.174.188.295 0 .616 3.114 3.132 5.112 4.131l2.111 1.056 22.534.06 22.534.059 1.502-.763a38 38 0 0 0 2.899-1.67c.768-.5 1.513-.908 1.656-.908s.513-.2.823-.444c.558-.439.963-.444 35.086-.501 21.688-.036 12.375-.077-25.05-.112-65.81-.06-60.663.062-62.873-1.491-.611-.43-1.277-.841-1.48-.915a.96.96 0 0 1-.502-.502c-.074-.203-.486-.869-.916-1.48s-.93-1.614-1.11-2.23c-.289-.982-.322-15.29-.272-117.444l.058-116.326.602-1.284c.785-1.677 2.726-3.694 4.34-4.512l1.28-.648 124-.181c138.606-.203 130.638-.289 141.333 1.533 1.833.312 3.735.609 4.226.66s2.692.55 4.889 1.108c2.198.559 4.246 1.056 4.552 1.105 1.128.182 12.282 4.043 14.172 4.906.644.294 1.794.794 2.555 1.112 3.656 1.527 12.024 5.956 15.495 8.202.794.515 2.285 1.473 3.313 2.13s1.978 1.298 2.111 1.425 1.34 1.026 2.68 1.998c2.483 1.801 5.605 4.238 6.007 4.689.122.137 1.272 1.18 2.556 2.317 3.439 3.049 5.884 5.474 9.405 9.329a429 429 0 0 0 3.267 3.556c.346.316 2.993 3.72 4.408 5.666a157 157 0 0 0 2.164 2.923c.302.386 1.109 1.586 1.794 2.667a379 379 0 0 0 2.187 3.41 53 53 0 0 1 1.788 3c.938 1.724 1.293 2.167 1.551 1.934.096-.086.108-.042.028.098-.195.342.475 1.91.745 1.744.123-.076.151.029.067.249q-.15.385.111.222.26-.162.111.223c-.107.279-.067.332.148.199q.291-.18.139.07c-.199.322.263 1.205.54 1.034.118-.073.145.037.062.252q-.149.385.111.222.26-.162.111.223c-.081.211-.055.325.058.255s.218.097.234.371.492 1.418 1.056 2.543 1.026 2.139 1.026 2.251c0 .293 2.067 4.895 2.158 4.804.085-.085-.672-1.964-1.131-2.805-.167-.305-.43-.955-.585-1.444s-.614-1.555-1.021-2.368c-.604-1.209-.679-1.502-.411-1.605.181-.07 1.022-.579 1.87-1.132.847-.554 1.65-1.006 1.784-1.006.133 0 .514-.183.845-.406s1.068-.723 1.638-1.111 1.16-.706 1.311-.706c.15 0 .784-.334 1.408-.742a31 31 0 0 1 1.912-1.157 59 59 0 0 0 2.111-1.227c1.593-.97 3.85-2.263 5.736-3.286a36 36 0 0 0 2.307-1.373 18 18 0 0 1 1.889-1.087 21 21 0 0 0 1.957-1.117c.55-.362 1.475-.874 2.055-1.139s1.056-.547 1.056-.626.75-.53 1.666-1.001l1.667-.858V33.742c0-25.558.082-24.004-1.405-26.699-.266-.483-.583-1.066-.703-1.294-.121-.229-.299-.416-.396-.416s-.249-.175-.336-.389c-.538-1.31-4.056-3.693-6.779-4.593C388.643-.223 11.35-.159 9.555.415m362.889 84.331c0 .084.338 1.025.75 2.092s.804 2.09.871 2.273c.077.212.129.23.14.051.009-.156-.343-1.206-.782-2.333-.766-1.966-.979-2.417-.979-2.083m2.244 6.476c-.007.122.336 1.272.761 2.556.426 1.283.714 1.999.64 1.591-.152-.845-1.382-4.486-1.401-4.147m2.016 7.445c.012.577.362 1.525.369 1a2.6 2.6 0 0 0-.184-.889c-.117-.273-.189-.316-.185-.111m-176.871.153c.214.056.564.056.778 0s.039-.102-.389-.102-.603.046-.389.102m-5.5.437c-.244.051-1.143.256-1.998.455-.854.199-1.679.362-1.833.362s-.28.074-.28.164-.215.108-.479.04c-.357-.094-.433-.051-.299.166.112.18.093.237-.048.15-.226-.14-2.825.811-3.318 1.214-.14.115-.469.25-.731.301s-1.18.571-2.04 1.158c-.86.586-1.811 1.199-2.112 1.361-.785.422-5.862 5.556-5.862 5.928 0 .171-.132.391-.293.489-.279.169-1.806 2.277-1.818 2.511-.004.061-.322.661-.709 1.333-1.456 2.533-2.776 7.338-3.054 11.111-.323 4.404-.33 4.605-.122 3.778.155-.618.179-.462.119.753-.052 1.043-.007 1.433.141 1.223.151-.215.182-.054.101.529-.08.576-.04.791.128.687.167-.103.199.072.101.562-.093.462-.063.663.085.572s.174.073.076.466c-.107.426-.078.561.099.452.164-.101.205-.032.117.197-.161.419.98 3.67 1.287 3.67.117 0 .151.1.076.222-.076.122-.015.222.135.222s.206.067.124.148c-.209.209 1.471 3.25 2.743 4.963 2.047 2.759 6.18 6.406 8.72 7.695 1.282.65 1.403.529.167-.166-.489-.274-.888-.556-.885-.625.005-.188 2.745-1.792 4.651-2.723.923-.45 2.378-1.27 3.234-1.82 3.126-2.013 6.261-3.86 7.888-4.648.917-.444 2.028-1.035 2.469-1.315 3.796-2.407 4.746-3.004 5.329-3.344.368-.215.883-.59 1.144-.833.262-.244.564-.443.671-.443s.615-.288 1.127-.64c.513-.353 2.231-1.32 3.818-2.15 2.748-1.436 8.26-4.712 9.022-5.361.312-.266 3.876-2.071 4.089-2.071.044 0 .13.275.191.611s.067-.389.014-1.611c-.28-6.457-3.334-13.144-8.219-18-1.902-1.891-5.039-4.342-4.674-3.652.093.175-.048.069-.314-.237-.266-.305-.418-.43-.339-.278.239.464-.053.314-.787-.404-.397-.387-.836-.628-1.02-.558-.177.068-.267.036-.2-.072.133-.216-.535-.548-.723-.36-.064.064.017.117.18.117s.243.053.177.119c-.204.204-1.282-.394-1.135-.631.079-.128.027-.155-.121-.064-.337.209-1.187-.063-1.024-.327.07-.112-.045-.138-.255-.057-.273.105-.332.066-.206-.138.131-.212.05-.244-.325-.125-.349.111-.452.082-.342-.096.111-.179-.029-.214-.472-.117q-.633.14-.335-.071c.21-.148-.126-.314-1.156-.573-1.947-.489-2.404-.426-.584.08 1.941.539 1.264.539-1.333 0-1.979-.412-7.376-.596-8.778-.299m-4 .299c-.566.243.018.243.778 0 .447-.143.469-.18.111-.185a2.6 2.6 0 0 0-.889.185M377.257 101c.077.489.224 1.089.327 1.333.118.282.136.12.047-.444-.076-.489-.223-1.089-.326-1.333-.118-.283-.136-.12-.048.444m.565 2.222c0 .245.08.695.178 1 .141.44.178.463.178.111 0-.244-.08-.694-.178-1-.141-.44-.178-.463-.178-.111m1.296 8.241c.004.234.151 1.476.326 2.759.176 1.284.339 2.784.362 3.334.037.857.056.894.134.26.086-.704-.554-6.492-.74-6.686-.049-.051-.086.099-.082.333m1.046 10.426c.063 1.833.152 3.375.197 3.426.136.15.039-3.29-.143-5.093-.108-1.074-.127-.481-.054 1.667m-211.001 3.222c0 .428.045.603.101.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.101-.039-.101.389m210.91 11c.001.856.041 1.178.089.717a8.3 8.3 0 0 0-.002-1.555c-.049-.395-.088-.017-.087.838m-.232 2.667c.002.611.045.835.096.497s.05-.838-.003-1.111c-.053-.274-.094.003-.093.614m-.225 2.111c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m-.386 2.563c-.087.809-.111 1.519-.054 1.576s.174-.559.261-1.369.111-1.518.054-1.575-.175.558-.261 1.368"
|
|
8
|
+
fill="#ea5f15"
|
|
9
|
+
/>
|
|
10
|
+
<Path
|
|
11
|
+
d="M194.556 98.921c-15.474 1.975-27.036 16.141-25.275 30.968.158 1.334.184 1.08.181-1.778-.006-4.833 1.178-9.969 3.045-13.213.39-.677.711-1.281.715-1.342.012-.234 1.539-2.342 1.818-2.511.161-.098.293-.318.293-.489 0-.372 5.077-5.506 5.862-5.928.301-.162 1.252-.775 2.112-1.361.86-.587 1.778-1.108 2.04-1.158.262-.051.591-.186.731-.301.493-.403 3.092-1.354 3.318-1.214.141.087.16.03.048-.15-.134-.217-.058-.26.299-.166.271.07.479.021.479-.114 0-.131.056-.183.123-.115.068.067.843-.076 1.722-.318 2.542-.702 8.035-.799 10.968-.196 2.756.568 3.404.572 1.298.009-2.984-.799-6.596-1.029-9.777-.623M148 99.438c-17.207 2.857-27.626 18.975-23.202 35.895 3.931 15.036 20.458 23.847 36.02 19.204 1-.298 2.475-.837 3.278-1.197l1.46-.655v-12.242l-1.674 1.402c-9.507 7.968-23.518 4.548-27.898-6.809-7.267-18.846 13.688-34.617 28.405-21.378l1.167 1.05v-12.431l-2.266-.94c-4.832-2.005-10.449-2.703-15.29-1.899m-48.222.141c-8.487 1.298-14.086 7.423-14.097 15.421-.011 7.677 3.062 11.026 13.763 14.997 7.872 2.921 9.937 4.672 9.963 8.447.063 9.315-13.859 10.633-19.074 1.805-.816-1.381-.345-1.622-4.218 2.157l-3.263 3.184.549.816c9.793 14.564 33.173 11.852 36.47-4.23 2.097-10.228-2.072-16.217-14.427-20.726-8.017-2.926-10.354-5.533-8.427-9.401 2.36-4.735 9.738-5.118 14.557-.757 1.146 1.037 1.39 1.171 1.648.907 1.371-1.404 5.148-6.791 4.94-7.046-2.832-3.458-12.685-6.445-18.384-5.574m258.919.456c-4.037.717-4.454 6.388-.579 7.868 3.941 1.505 7.278-3.572 4.368-6.644-1.076-1.136-2.214-1.503-3.789-1.224m-340.03 27.436v27.249l9.944-.111c8.097-.091 10.337-.183 12.056-.495 27.544-5.007 30.872-43.001 4.557-52.046-4.25-1.46-8.057-1.83-18.946-1.839l-7.611-.007zm49.555-.023v27.227l5.278-.06c2.903-.033 5.253-.134 5.222-.226s-.055-12.317-.055-27.167v-27H68.222zm155.556-27.033c0 .11.387 1.137.86 2.281.474 1.145 1.583 3.832 2.466 5.971s2.187 5.289 2.897 7c3.105 7.48 14.638 35.374 15.895 38.444l.728 1.778 2.856.062 2.856.061 3.821-9.061a49429 49429 0 0 0 19.559-46.455c.089-.224-1.064-.269-5.622-.222l-5.734.059-3.132 7.778a9010 9010 0 0 0-7.218 18c-2.248 5.622-4.156 10.305-4.242 10.405-.086.101-1.162-2.349-2.391-5.444a21517 21517 0 0 1-6.813-17.183 14589 14589 0 0 0-4.976-12.556l-.399-1-5.705-.059c-3.28-.034-5.706.026-5.706.141m56.889 27.029v27.223h30v-9.223h-19.445v-14.666l9.389-.058 9.389-.058v-9.106h-18.896l.059-6.056.059-6.056h19.445v-9.222h-30zm37.111-.025v27.248h10.444v-21.805l.806.069c.799.068.87.164 8.056 10.847l7.249 10.778 6.414.059c5.286.048 6.394.006 6.3-.239-.063-.164-3.824-5.266-8.358-11.338s-8.245-11.123-8.245-11.226c0-.102.558-.31 1.239-.463 12.411-2.777 15.08-21.669 3.984-28.187-4.009-2.355-6.368-2.726-18.278-2.873l-9.611-.118zm-108.912-26.287c.782.36 1.459.617 1.505.571.101-.101-2.459-1.265-2.732-1.242-.107.009.445.311 1.227.671m152.802.479c2.788 2.794-.22 7.288-3.651 5.453-3.167-1.695-1.991-6.397 1.601-6.397 1.007 0 1.193.085 2.05.944m-3.89 2.5v2.333h.555c.505 0 .556-.086.556-.932v-.933l.686.933c.541.735.827.932 1.352.932h.666l-.703-.887-.703-.887.462-.587c1.018-1.294.338-2.305-1.55-2.305h-1.321zm1.997-1.336c.368.443.125 1.003-.435 1.003-.353 0-.451-.145-.451-.667 0-.729.426-.891.886-.336m-24.379 6.441c4.329.917 6.623 3.963 6.32 8.389-.359 5.239-3.928 7.722-11.105 7.727l-2.389.001v-16.444l2.834.004c1.6.002 3.489.143 4.34.323m-297.559.662c14.153 2.316 19.607 20.268 9.293 30.585-3.512 3.513-7.417 4.839-14.535 4.936l-3.373.045-.057-17.777c-.032-9.778-.004-17.918.061-18.089.144-.378 5.636-.187 8.611.3"
|
|
12
|
+
fill="#241c23"
|
|
13
|
+
/>
|
|
14
|
+
<Path
|
|
15
|
+
d="M197.74 4.611c11.774.032 30.974.032 42.667 0s2.06-.058-21.407-.058-33.034.026-21.26.058m64.871.218c.52.047 1.37.047 1.889 0 .519-.046.094-.085-.944-.085s-1.464.039-.945.085m3.445.219a5 5 0 0 0 1.222 0c.336-.051.061-.093-.611-.093-.673 0-.948.042-.611.093m2.447.223c.338.051.838.049 1.111-.003s-.003-.095-.614-.093c-.611.001-.835.044-.497.096m12.608 1.84c.306.098.756.178 1 .178.352 0 .329-.037-.111-.178-.306-.098-.756-.178-1-.178-.352 0-.329.037.111.178m9 2.119c.367.168.817.302 1 .299s-.017-.142-.444-.307c-1.015-.39-1.414-.385-.556.008M4.555 128.556c0 63.677.025 89.694.056 57.815s.031-83.98 0-115.778-.056-5.715-.056 57.963M320 22.1c0 .061.3.266.667.456.366.189.666.294.666.233s-.3-.266-.666-.456c-.367-.189-.667-.294-.667-.233m6.556 4.214c.366.315.758.573.87.574.241.001.238-.001-.759-.645l-.778-.502zm27.319 25.759c.342.449.667.816.722.816.154 0-.808-1.3-1.092-1.476-.139-.086.028.211.37.66m44.347 5.647c-.794.432-1.498.868-1.563.969s-.565.392-1.111.647a20 20 0 0 0-1.992 1.121c-.55.36-1.431.862-1.957 1.115-.527.253-1.377.742-1.889 1.087-.513.344-1.551.962-2.307 1.373a146 146 0 0 0-5.736 3.286 59 59 0 0 1-2.111 1.227c-.428.228-1.289.749-1.912 1.157-.624.408-1.258.742-1.408.742-.151 0-.741.318-1.311.706s-1.307.888-1.638 1.111-.71.406-.841.406-.979.475-1.883 1.055c-1.886 1.211-2.589 1.696-2.136 1.472.231-.114.276-.054.169.226-.081.209-.061.328.043.264.284-.176 1.65 2.933 1.481 3.372-.079.206-.074.306.01.221.085-.084.336.219.557.674.723 1.481 1.326 2.999 1.231 3.094-.051.051-.269-.366-.483-.928-.214-.561-.471-1.07-.57-1.132s.033.402.294 1.029c.261.628.6 1.189.755 1.248.154.06.23.24.168.401-.062.16-.004.359.129.441.132.082.183.242.113.356s-.011.207.131.207.2.154.127.345c-.086.223-.043.289.122.187.173-.107.215-.004.13.322-.081.307-.041.427.111.333.151-.093.191.027.111.334-.069.264-.043.428.059.365.203-.125 1.167 2.267 1.052 2.612-.039.118-.251-.355-.47-1.05s-.441-1.223-.492-1.172c-.121.121.572 2.198.854 2.557.12.153.14.278.045.278s.002.193.217.43c.214.237.324.537.243.667-.08.13-.028.236.115.236.152 0 .213.186.145.445-.073.28-.028.391.121.298.151-.093.191.027.111.334-.081.307-.041.427.111.333.151-.094.191.026.111.333-.069.264-.047.432.048.373.187-.116.998 2.523.827 2.694-.056.057-.224-.403-.373-1.021-.148-.618-.355-1.177-.46-1.242s-.1.161.011.501c.112.34.316 1.061.455 1.601.151.591.317.877.416.716.092-.148.162.057.159.462-.008.858.117 1.339.399 1.543.113.081.213.506.223.944.009.438.104.796.21.797.106 0 .14.2.076.445-.072.275-.028.39.115.302.151-.093.191.119.115.611-.066.422.168 2.169.531 3.976.356 1.772.667 3.447.691 3.722s.132.5.242.5.155.3.101.666-.005.667.11.667c.114 0 .168.343.119.762-.049.42.001.707.111.639.112-.07.165.32.121.883-.044.554-.006.961.086.904s.167.309.167.812c0 .635-.079.867-.257.757-.16-.099-.196-.061-.096.101.089.143.254.203.368.133.12-.075.192.414.172 1.163l-.035 1.291-.16-1.112c-.088-.611-.097.039-.021 1.445.179 3.279.181 14.899.003 18.222-.075 1.406-.065 2.106.022 1.556l.159-1 .034.975c.023.689-.081 1.069-.356 1.294-.214.176-.264.256-.111.178.2-.101.278.113.278.762 0 .496-.078.902-.173.902s-.133.413-.085.918-.001.863-.109.796-.16.27-.114.749-.011.87-.126.87c-.114 0-.211.125-.215.278-.011.4-.21 1.518-.738 4.142-.255 1.269-.41 2.45-.344 2.622.067.173.035.261-.071.196-.249-.154-.496 1.391-.326 2.04.072.275.033.5-.087.5-.119 0-.169.25-.111.555.069.36.005.556-.179.556-.157 0-.225.06-.151.134.073.074.031.399-.094.722-.547 1.414-1.309 4.355-1.201 4.637.065.169.03.253-.077.187-.253-.156-.507.844-.331 1.302.074.193.03.351-.098.351-.129 0-.195.2-.148.445.047.244-.009.444-.124.444s-.191.075-.168.167-.112.517-.298.944c-.612 1.402-.889 2.432-.725 2.697q.162.261-.13.081c-.217-.135-.26-.058-.166.299.08.307.04.427-.111.333-.152-.093-.192.026-.112.333.069.264.029.48-.089.48s-.153.1-.077.222.015.222-.135.222-.207.066-.126.146c.08.081.035.281-.101.445-.137.164-.173.298-.082.298s.064.125-.06.278c-.411.508-1.6 3.521-1.323 3.355.209-.125.208-.084-.004.178-.152.187-.21.407-.13.487s.024.146-.126.146-.216.092-.147.204.033.236-.081.277-.24.225-.279.408c-.04.184-.133.384-.208.445-.308.253-1.072 2.288-.94 2.503.09.145.035.164-.148.052-.217-.134-.259-.058-.166.299.069.264.035.424-.076.355-.182-.113-.295.196-.228.624.015.092-.079.167-.209.167-.129 0-.173.1-.098.222.076.122.026.222-.111.222-.136 0-.186.1-.111.222.076.123.051.223-.054.223-.293 0-1.196 1.996-1.027 2.271.086.139.047.178-.091.093-.224-.139-.638.648-.539 1.024.025.092-.061.167-.191.167-.129 0-.173.1-.098.222.076.123.057.223-.042.223-.307 0-1.437 2.207-1.27 2.479.095.152.061.196-.082.107-.142-.088-.357.172-.524.632-.155.43-.354.782-.441.782-.274 0-1.311 2.037-1.16 2.281.083.135.036.165-.113.073-.229-.141-.357.124-.283.59.014.092-.056.167-.156.167-.231 0-2.392 3.352-2.318 3.596.031.1-.041.181-.158.181-.32 0-1.343 1.596-1.187 1.85.076.122.023.149-.12.061-.209-.13-.378.164-.212.367.025.031-.2.315-.5.632-.966 1.02-3.88 4.924-3.823 5.122.031.105-.028.191-.131.191s-1.325 1.375-2.715 3.055c-3.159 3.82-13.963 14.673-14.285 14.35-.035-.035-.583.415-1.217 1.001-.633.586-1.152 1.027-1.152.981s-.6.388-1.333.964-1.333 1.149-1.333 1.274-.06.167-.133.094-.65.285-1.282.796c-.631.511-1.972 1.467-2.978 2.124s-1.83 1.299-1.83 1.426-.058.173-.129.101-.926.412-1.898 1.074-1.87 1.204-1.994 1.204c-.125 0-.176.083-.113.185s-.006.186-.153.186c-.148 0-1.607.773-3.243 1.717s-3.986 2.223-5.222 2.842-2.321 1.238-2.411 1.376-.165.179-.167.092c-.003-.145-.828.195-4.003 1.651-.672.309-1.872.815-2.667 1.125s-1.92.771-2.503 1.022c-.582.252-1.091.435-1.132.409s-.24.088-.442.256c-.202.167-.367.244-.367.17s-1.275.32-2.833.876-3.084 1.058-3.389 1.115c-.306.058-2.156.566-4.111 1.128-1.956.563-3.856 1.051-4.223 1.085-.366.034-2.116.366-3.889.736-1.772.371-3.847.781-4.61.91-.764.13-1.664.286-2 .349-.337.062-1.962.211-3.612.331s-4.15.316-5.555.436c-1.624.139-48.238.239-127.778.277-97.672.045-112.071.083-65.445.171 48.401.091 53.193.122 25.18.167-24.907.039-34.64.123-34.749.3-.083.134-.514.394-.958.577s-1.349.689-2.013 1.126a31 31 0 0 1-2.555 1.479l-1.349.684 167.22.056c154.134.051 167.307.027 168.333-.307 2.471-.805 6.78-3.828 6.78-4.757 0-.106.135-.272.301-.37s.74-1.07 1.277-2.161l.978-1.983.056-94.739c.032-52.107-.018-94.729-.111-94.717-.092.012-.817.376-1.612.809m-35.666 6.947c.189.366.394.666.455.666.062 0-.044-.3-.233-.666-.19-.367-.395-.667-.456-.667s.044.3.234.667m2.138 3.444c-.005.122.193.572.44 1s.378.578.292.333a3.4 3.4 0 0 1-.172-.817c-.009-.204-.086-.329-.172-.276s-.206-.029-.268-.183c-.062-.153-.116-.179-.12-.057m2.459 4.87c.579 1.151.586 1.157.547.499-.019-.302-.125-.492-.238-.422s-.139-.044-.058-.255q.15-.385-.111-.223c-.166.103-.212.042-.13-.173.075-.194.003-.333-.17-.333-.223 0-.182.228.16.907m2.028 4.33c.267.598.517 1.006.554.905.072-.19-.786-1.994-.948-1.994-.05 0 .127.49.394 1.089m8.997 27.022c0 .352-.037.329-.178-.111a4 4 0 0 1-.178-1c0-.352.037-.329.178.111.098.306.178.756.178 1m2.237 19.315c.05 3.015-.131 1.744-.251-1.759-.073-2.148-.054-2.741.054-1.667.093.917.181 2.459.197 3.426m-154.141-.092c0 .427.046.602.101.388a1.8 1.8 0 0 0 0-.777c-.055-.214-.101-.039-.101.389m.184 2.555c-.054.752-.11.913-.173.5-.051-.336-.128-.611-.172-.611-.213 0-3.777 1.805-4.089 2.071-.762.649-6.274 3.925-9.022 5.361-1.587.83-3.305 1.797-3.818 2.15-.512.352-1.019.64-1.127.64-.107 0-.409.199-.671.443a8 8 0 0 1-1.144.833c-.583.34-1.533.937-5.329 3.344-.441.28-1.552.871-2.469 1.315-1.627.788-4.762 2.635-7.888 4.648-.856.55-2.311 1.37-3.234 1.82-1.906.931-4.646 2.535-4.651 2.723-.003.069.396.351.885.625.488.275.888.546.888.601 0 .056-.4-.102-.888-.352-.489-.249-.889-.403-.889-.341 0 .061.51.37 1.133.686.624.316 1.067.467.986.335q-.15-.24.415.018c.31.141.515.334.456.429-.136.219 3.37 1.591 4.154 1.625.325.014.535.115.467.225-.067.109.143.148.467.086.323-.062.588-.043.588.041 0 .256 2.864.701 5.334.829 11.362.588 22.492-6.206 27.333-16.684 1.032-2.234 1.873-4.903 1.692-5.375-.085-.22-.041-.286.123-.184.182.112.213-.059.109-.6-.11-.572-.087-.675.094-.423.18.249.207.081.108-.667-.1-.753-.073-.918.11-.666.182.249.21.045.11-.814-.085-.726-.047-1.175.102-1.225.152-.05.21-.867.163-2.298-.045-1.355-.105-1.786-.153-1.108m153.704 10.717c-.048.461-.088.139-.089-.717-.001-.855.038-1.233.087-.838.049.394.05 1.094.002 1.555m-202.829 10.839c.788.794 1.482 1.444 1.543 1.444s-.533-.65-1.32-1.444c-.788-.795-1.482-1.445-1.543-1.445s.533.65 1.32 1.445M4.684 244.618c-.021.341.579 1.826.738 1.826.061 0-.021-.325-.182-.722a52 52 0 0 1-.416-1.055q-.12-.325-.14-.049m4.991 6.062c.129.209 1.65.736 1.772.614.046-.046-.358-.243-.899-.438-.54-.194-.933-.273-.873-.176"
|
|
16
|
+
fill="#f48e1d"
|
|
17
|
+
/>
|
|
18
|
+
<Path
|
|
19
|
+
d="M10.406 5.198c-2.46.871-4.199 2.491-5.121 4.769l-.507 1.255-.056 116.33c-.053 108.438-.031 116.413.317 117.556.205.674.385 1.275.399 1.336.319 1.405 2.7 3.544 4.784 4.298l1.667.602 126.667-.068c99.999-.054 127.274-.128 129.555-.35 4.693-.456 7.768-.908 11.778-1.732 2.078-.427 4.119-.823 4.536-.88 1.285-.178 8.61-2.293 12.242-3.535 17.09-5.845 33.199-15.765 46.192-28.446 4.531-4.421 6.64-6.819 12.512-14.222 1.634-2.059 5.627-7.988 6.967-10.344.587-1.033 1.19-2.028 1.34-2.211.783-.961 7.07-13.757 7.315-14.889.04-.184.422-1.184.848-2.223 1.479-3.6 4.203-12.42 5.147-16.666 1.193-5.36 2.528-13.577 2.546-15.667.005-.611.11-2.361.233-3.889.288-3.585.29-12.907.003-16.333a235 235 0 0 1-.342-4.667c-.141-2.376-.755-6.495-1.54-10.333-.313-1.528-.617-3.128-.675-3.556-.102-.747-.354-1.731-1.875-7.333-.705-2.594-3.243-10.149-3.546-10.556-.192-.256-.912-2.062-1.02-2.555-.434-1.986-8.942-18.265-10.105-19.333-.066-.062-1.098-1.562-2.294-3.334-8.41-12.472-19.671-23.649-32.76-32.516-2.107-1.427-3.878-2.595-3.936-2.595s-1.017-.552-2.13-1.227c-7.446-4.515-17.015-8.813-25.769-11.573-2.138-.674-8.795-2.488-9.111-2.483-.184.004-1.984-.35-4-.786-4.179-.902-6.909-1.312-12.445-1.868-3.652-.367-11.569-.394-130.111-.446L11.889 4.673zm192.848 93.816c22.822 4.714 31.261 32.311 14.888 48.684-19.61 19.609-52.559 2.975-48.815-24.645 2.144-15.821 18.299-27.267 33.927-24.039m-45.587.43c2.146.444 4.41 1.183 6.533 2.132l1.578.706v6.303c0 3.467-.061 6.304-.136 6.304-.074 0-.69-.507-1.367-1.126-13.5-12.338-33.473.565-28.988 18.728 3.246 13.146 18.886 18.008 28.859 8.971.753-.682 1.428-1.24 1.5-1.24.285 0 .142 12.382-.146 12.609-2.392 1.884-10.796 3.447-15.896 2.956-29.07-2.798-35.84-41.454-9.466-54.053 5.184-2.476 12.201-3.393 17.529-2.29m-48.998.63c2.425.647 4.522 1.54 6.374 2.715 1.767 1.121 3.401 2.373 3.401 2.606 0 .174-4.547 6.269-5.245 7.03-.243.266-.509.107-1.729-1.035-5.538-5.18-14.692-3.347-14.692 2.942 0 3.031 1.248 4.069 8.149 6.776 13.056 5.121 16.639 9.714 15.314 19.632-2.294 17.166-26.28 20.998-36.852 5.887l-.722-1.032 3.467-3.338 3.466-3.338 1.107 1.653c5.583 8.348 18.503 7.018 18.513-1.905.005-4.134-1.533-5.457-10.023-8.627-10.71-3.999-13.856-7.58-13.594-15.474.364-10.996 11.034-17.7 23.066-14.492m252.562.121c2.127.966 3.075 3.4 2.132 5.474-1.902 4.186-8.03 2.951-8.03-1.619 0-3.187 3.022-5.161 5.898-3.855m-319.853.662c5.905 1.318 10.741 3.855 14.411 7.558 13.55 13.675 8.126 37.868-9.971 44.472-4.187 1.529-5.055 1.618-16.762 1.72l-10.612.094v-54.513l10.389.094c9.643.087 10.544.128 12.545.575m37.511 26.587v27.223H68v-54.445h10.889zm161.768-13.611 7.203 18.138 1.798 4.527.312-.749c.172-.412 3.445-8.537 7.273-18.055 3.829-9.518 7-17.345 7.048-17.392s2.685-.061 5.86-.028l5.774.059-1.648 3.889c-.905 2.139-2.528 5.989-3.605 8.556-10.104 24.077-18.091 42.939-18.282 43.173-.172.209-.962.268-3.014.222l-2.781-.062-.826-2c-2.82-6.824-6.487-15.689-13.863-33.519-4.593-11.102-8.35-20.227-8.35-20.277s2.631-.093 5.848-.093h5.848zm70.121-8.944v4.555l-9.722.058-9.723.058v11.996H310v9.333h-18.667v14.44l9.723.058 9.722.057v9.112l-15.167.057-15.167.057v-54.451l15.167.057 15.167.057zm27.5-4.338c9.016 1.359 14.033 6.578 14.338 14.912.3 8.215-3.347 13.681-10.653 15.963l-1.482.463 8.414 11.222c4.628 6.172 8.419 11.299 8.426 11.392.007.094-2.949.144-6.569.111l-6.581-.058-7.252-10.827c-6.61-9.868-7.306-10.827-7.863-10.833l-.612-.007v21.778h-10.888v-54.445l9.277.002c7.026.001 9.804.08 11.445.327m19.81.54c-3.017 1.37-1.975 6.245 1.334 6.242 3.389-.004 4.481-4.617 1.459-6.166-1.177-.604-1.606-.616-2.793-.076m2.72 1.023c.432.592.375 1.592-.12 2.087-.416.416-.412.435.213 1.166.822.961.81 1.077-.105 1.077-.638 0-.843-.133-1.278-.833l-.518-.833-.069.833c-.063.758-.128.833-.722.833h-.653v-2.296c0-1.263.075-2.372.166-2.466.339-.344 2.767-.004 3.086.432m-1.919 1.108c0 .605.019.62.537.421.522-.2.448-.976-.093-.976-.326 0-.444.148-.444.555m-30.445 13.747v8.142l2.723-.003c7.232-.009 10.572-2.771 10.341-8.552-.207-5.188-2.997-7.307-10.008-7.601l-3.056-.128zM29.333 127.444v17.889l2.834-.001c12.515-.006 20.079-6.745 20.079-17.888 0-11.326-7.599-17.888-20.714-17.888h-2.199z"
|
|
20
|
+
fill="#fbfbfb"
|
|
21
|
+
/>
|
|
22
|
+
<Path
|
|
23
|
+
d="M270.5 5.487c.214.055.564.055.778 0 .214-.056.039-.102-.389-.102s-.603.046-.389.102m-73.549 93.121c.584.046 1.484.045 2-.001.516-.047.038-.084-1.062-.084-1.1.001-1.522.039-.938.085m-45.007.442a7 7 0 0 0 1.445 0c.397-.05.072-.09-.722-.09-.795 0-1.12.04-.723.09m-3.222.214c.214.056.564.056.778 0s.039-.101-.389-.101-.603.045-.389.101m-44.444.223c.214.055.564.055.778 0 .213-.056.038-.102-.389-.102-.428 0-.603.046-.389.102m-85.726 27.957c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593M35.5 100.383a7 7 0 0 0 1.444 0c.398-.049.073-.09-.722-.09s-1.119.041-.722.09m32.608 27.061c0 15.034.026 21.217.059 13.74.032-7.477.032-19.777 0-27.333-.033-7.557-.059-1.44-.059 13.593m10.666-.222c0 14.911.027 20.979.059 13.483.033-7.496.033-19.696 0-27.111-.032-7.416-.059-1.283-.059 13.628m201.778.222c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593m37.111 0c0 15.034.027 21.217.059 13.74.033-7.477.033-19.777 0-27.333-.032-7.557-.059-1.44-.059 13.593m17.174-27.061c.4.05 1 .049 1.334-.002s.007-.091-.727-.09c-.733.001-1.006.043-.607.092m-224.393.395c1.015.39 1.414.385.556-.008-.367-.168-.817-.302-1-.299s.017.142.444.307m200.316 4.111c0 2.505.033 3.53.072 2.278.04-1.253.04-3.303 0-4.556-.039-1.253-.072-.228-.072 2.278m51.018-4.375c0 .038.325.363.722.722l.722.653-.652-.722c-.609-.674-.792-.825-.792-.653m-1.556.311c.184.068.534.216.778.328.437.202.438.199.013-.141-.237-.19-.587-.337-.778-.328-.299.015-.301.035-.013.141m-2.571 1.024c-.062.162-.08 1.287-.039 2.5l.073 2.207.046-2.378.047-2.377 1.166-.082 1.167-.081-1.174-.041c-.798-.028-1.209.052-1.286.252m-192.043 6.585-.052 6.323-.945-.875-.944-.875.936.986c1.247 1.311 1.19 1.595 1.119-5.571l-.063-6.311zm-75.727-4.156-1.103 1.166 1.166-1.102c.642-.607 1.167-1.132 1.167-1.167 0-.166-.206.019-1.23 1.103m273.731-.167c.002.489.048.663.101.386.053-.276.051-.676-.005-.888-.055-.213-.099.013-.096.502m-186.068 2.722-.766.834.833-.766c.776-.713.936-.901.766-.901-.037 0-.412.375-.833.833m-121.988 1.5c.787.795 1.481 1.445 1.542 1.445s-.533-.65-1.32-1.445c-.788-.794-1.482-1.444-1.543-1.444s.533.65 1.321 1.444m303.611-.846c.214.055.564.055.777 0 .214-.056.039-.102-.388-.102-.428 0-.603.046-.389.102m-255.672.896c.395.049 1.095.05 1.556.001.461-.048.138-.088-.718-.089-.855-.001-1.232.039-.838.088m48 .444c.395.049 1.095.05 1.556.002s.138-.088-.718-.089c-.855-.001-1.232.038-.838.087m176.78 8.229-.053 8.277 2.722-.047 2.723-.048-2.609-.071-2.608-.07-.061-8.16-.061-8.159zm-299.062-7.445c-.058.153-.08 8.278-.048 18.056l.057 17.777 2.222.012 2.223.012-2.167-.075-2.167-.075v-35.746l2.056-.073 2.055-.073-2.062-.047c-1.481-.033-2.093.033-2.169.232m261.998.004c-.059.154-.079 2.929-.044 6.166l.063 5.886.052-6.054.051-6.053 9.611-.06 9.612-.06-9.619-.054c-7.592-.041-9.64.007-9.726.229m-256.155.097c.275.053.725.053 1 0s.05-.096-.5-.096-.775.043-.5.096m76.775 1.952c1.028 1.077 1.062 1.093 1.444.676.375-.408.374-.414-.008-.125-.354.268-.516.192-1.444-.676l-1.045-.977zm227.725-.22c.414.428.803.778.865.778s-.229-.35-.643-.778c-.415-.427-.804-.777-.865-.777s.228.35.643.777m-297.315-.25c.228.205 1.537.806 1.537.706 0-.128-1.232-.789-1.471-.789-.087 0-.117.037-.066.083m97.751 2.75-1.214 1.278 1.278-1.214c.702-.668 1.277-1.243 1.277-1.278 0-.165-.212.027-1.341 1.214m-43.481.278c0 .672.042.947.093.611a5 5 0 0 0 0-1.222c-.051-.336-.093-.061-.093.611m245.119 2.667c0 .917.039 1.292.087.833a9.7 9.7 0 0 0 0-1.666c-.048-.459-.087-.084-.087.833m-2.2 5.833-.652.722.722-.652c.673-.609.824-.792.653-.792-.039 0-.364.325-.723.722m-276.258 2.167c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m71.546.222c0 .428.046.603.102.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.102-.039-.102.389m-82.435 1.111c0 .55.043.775.096.5a3.2 3.2 0 0 0 0-1c-.053-.275-.096-.05-.096.5m71.35 1.334c0 1.038.038 1.463.085.944s.047-1.369 0-1.889c-.047-.519-.085-.094-.085.945m-7.633-.598c0 .039.325.364.722.723l.722.652-.652-.722c-.609-.673-.792-.824-.792-.653m-63.722 1.598c.003.488.048.662.101.386.054-.277.052-.677-.004-.889s-.099.014-.097.503m10.889 1.333c.003.489.048.663.101.386.053-.276.051-.676-.004-.889-.056-.212-.099.014-.097.503m71.551.111c0 .428.046.603.102.389a1.8 1.8 0 0 0 0-.778c-.056-.214-.102-.039-.102.389m156.494.946c-.059.154-.081 3.479-.049 7.389l.059 7.109 9.611.004 9.612.004-9.556-.062-9.556-.061v-14.435l9.389-.061 9.389-.06-9.396-.053c-7.385-.042-9.419.007-9.503.226m37.113 12.832c0 6.05.029 8.525.064 5.5s.035-7.975 0-11-.064-.55-.064 5.5m-278.058-7.884c-.266.547-.437.995-.38.995.151 0 1.049-1.805.948-1.906-.046-.046-.302.363-.568.911m70.036 1.995c.001 1.222.038 1.694.083 1.048s.045-1.646-.001-2.222c-.045-.577-.082-.048-.082 1.174m-73.31 2.611-1.326 1.389 1.389-1.326c1.29-1.233 1.49-1.452 1.326-1.452-.034 0-.659.625-1.389 1.389m79.229-.859c0 .238.661 1.47.789 1.47.062 0-.054-.325-.256-.722-.412-.811-.533-.98-.533-.748M139.778 141c.664.672 1.257 1.222 1.318 1.222s-.432-.55-1.096-1.222-1.257-1.222-1.318-1.222.432.55 1.096 1.222m24.877.056-.766.833.833-.766.834-.766v6.144c0 5.617-.034 6.163-.389 6.37-.214.125-.284.23-.156.233.702.021.767-.546.767-6.704 0-3.398-.081-6.178-.179-6.178s-.523.375-.944.834m-78.993 1.666-1.995 2.056 2.055-1.996c1.131-1.097 2.056-2.022 2.056-2.055 0-.161-.263.086-2.116 1.995m-30.446 4-1.549 1.611 1.611-1.549c1.496-1.44 1.712-1.673 1.549-1.673-.033 0-.758.725-1.611 1.611M310.76 150c0 2.506.033 3.531.072 2.278.04-1.253.04-3.303 0-4.556-.039-1.253-.072-.228-.072 2.278m-158.92-3.836c.584.046 1.484.045 2-.002.516-.046.038-.084-1.062-.083s-1.522.039-.938.085m-20.173 1.392c.477.488.918.888.979.888s-.28-.4-.757-.888c-.477-.489-.918-.889-.979-.889s.279.4.757.889m-47 .736c0 .038.325.363.722.722l.722.653-.653-.723c-.608-.673-.791-.824-.791-.652m-48.496 6.313c.399.05.999.049 1.333-.002.334-.05.007-.091-.726-.09-.734.002-1.007.043-.607.092m63.107 1.33c.275.053.725.053 1 0s.05-.097-.5-.097-.775.044-.5.097m3.558 0c.276.053.676.051.889-.005s-.014-.099-.503-.096c-.489.002-.663.048-.386.101m48.775.005a9.7 9.7 0 0 0 1.667 0c.458-.048.083-.088-.834-.088s-1.291.04-.833.088m95.029.123c.096.095 1.416.145 2.934.11l2.759-.064-2.934-.11c-1.614-.061-2.855-.032-2.759.064"
|
|
24
|
+
fill="#939292"
|
|
25
|
+
/>
|
|
26
|
+
</G>
|
|
27
|
+
</Svg>
|
|
28
|
+
);
|
|
29
|
+
export default DiscoverLogo;
|
package/src/assets/MCLogo.tsx
CHANGED
package/src/assets/VisaLogo.tsx
CHANGED
package/src/assets/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { useEffect } from "react";
|
|
2
2
|
import {
|
|
3
3
|
KeyboardAvoidingView,
|
|
4
4
|
ScrollView,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "react-native";
|
|
11
11
|
|
|
12
12
|
import { FormProvider, FormThemeColors, FormThemeProvider } from "../context";
|
|
13
|
-
|
|
13
|
+
import { initialize, createDeviceSessionId } from "../ExpoOpenpayModule";
|
|
14
14
|
import { SubmitButton } from "./forms";
|
|
15
15
|
import {
|
|
16
16
|
OPCardNumberInput,
|
|
@@ -95,17 +95,17 @@ export default function OPCardForm({
|
|
|
95
95
|
textInputStyle = {},
|
|
96
96
|
} = styling;
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
98
|
+
useEffect(() => {
|
|
99
|
+
const initOP = async () => {
|
|
100
|
+
try {
|
|
101
|
+
await initialize(merchantId, apiKey, isProduction, countryCode);
|
|
102
|
+
await createDeviceSessionId();
|
|
103
|
+
} catch (e) {
|
|
104
|
+
console.error(e);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
initOP();
|
|
108
|
+
}, []);
|
|
109
109
|
|
|
110
110
|
return (
|
|
111
111
|
<FormThemeProvider
|
|
@@ -14,7 +14,7 @@ import { FontAwesome6, MaterialCommunityIcons } from "@expo/vector-icons";
|
|
|
14
14
|
|
|
15
15
|
import Styles from "../../constants/Styles";
|
|
16
16
|
import { useFormThemeContext } from "../../context/FormThemeContext";
|
|
17
|
-
import { AmexLogo, MCLogo, VisaLogo } from "../../assets";
|
|
17
|
+
import { AmexLogo, DiscoverLogo, MCLogo, VisaLogo } from "../../assets";
|
|
18
18
|
|
|
19
19
|
type StylingProps = {
|
|
20
20
|
formFieldStyle?: StyleProp<ViewStyle>;
|
|
@@ -39,7 +39,7 @@ type AppTextInputProps = TextInputProps & {
|
|
|
39
39
|
|
|
40
40
|
const cardIcons: Record<string, any> = {
|
|
41
41
|
amex: AmexLogo,
|
|
42
|
-
discover:
|
|
42
|
+
discover: DiscoverLogo,
|
|
43
43
|
mc: MCLogo,
|
|
44
44
|
visa: VisaLogo,
|
|
45
45
|
};
|
|
Binary file
|