@arcblock/ux 2.9.91 → 2.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (337) hide show
  1. package/lib/ActionButton/index.js +36 -48
  2. package/lib/ActivityIndicator/index.js +122 -75
  3. package/lib/Address/compact-text.js +48 -66
  4. package/lib/Address/did-address.js +114 -87
  5. package/lib/Address/index.js +15 -27
  6. package/lib/Address/responsive-did-address.js +48 -50
  7. package/lib/Alert/index.js +58 -52
  8. package/lib/AnimationWaiter/index.js +123 -69
  9. package/lib/Async/index.js +8 -22
  10. package/lib/Avatar/did-motif.js +38 -52
  11. package/lib/Avatar/etherscan-blockies.js +4 -10
  12. package/lib/Avatar/index.js +71 -77
  13. package/lib/Badge/index.js +49 -56
  14. package/lib/Blocklet/blocklet.js +181 -97
  15. package/lib/Blocklet/index.js +4 -24
  16. package/lib/Blocklet/utils.js +50 -13
  17. package/lib/BlockletContext/index.js +21 -31
  18. package/lib/BlockletNFT/index.js +255 -115
  19. package/lib/Button/index.js +5 -11
  20. package/lib/Button/wrap.js +45 -56
  21. package/lib/ButtonGroup/index.js +3 -9
  22. package/lib/CardSelector/index.js +67 -43
  23. package/lib/Center/index.js +19 -20
  24. package/lib/ClickToCopy/copy-button.js +37 -50
  25. package/lib/ClickToCopy/hook.js +10 -18
  26. package/lib/ClickToCopy/index.js +54 -66
  27. package/lib/CodeBlock/LightBox.js +84 -11
  28. package/lib/CodeBlock/index.js +175 -101
  29. package/lib/Colors/index.js +3 -20
  30. package/lib/Colors/themes/default.js +1 -7
  31. package/lib/Colors/themes/temp.js +1 -7
  32. package/lib/ContactForm/index.js +95 -60
  33. package/lib/CookieConsent/index.js +58 -52
  34. package/lib/CountDown/index.js +90 -59
  35. package/lib/DID/index.js +80 -96
  36. package/lib/Datatable/CustomToolbar.js +188 -137
  37. package/lib/Datatable/DatatableContext.js +14 -21
  38. package/lib/Datatable/TableSearch.js +99 -58
  39. package/lib/Datatable/index.js +312 -139
  40. package/lib/Datatable/utils.js +9 -17
  41. package/lib/Dialog/confirm.js +46 -58
  42. package/lib/Dialog/dialog.js +110 -66
  43. package/lib/Dialog/index.js +4 -27
  44. package/lib/Dialog/use-confirm.js +40 -65
  45. package/lib/DidLogo/index.js +14 -22
  46. package/lib/DriftBot/index.js +34 -19
  47. package/lib/Earth/index.js +214 -110
  48. package/lib/Earth/util.js +6 -19
  49. package/lib/Empty/index.js +33 -38
  50. package/lib/ErrorBoundary/fallback.js +45 -43
  51. package/lib/ErrorBoundary/index.js +1 -16
  52. package/lib/Footer/index.js +96 -48
  53. package/lib/Header/auto-hidden.js +28 -31
  54. package/lib/Header/header.js +151 -69
  55. package/lib/Header/index.js +2 -20
  56. package/lib/Header/responsive-header.js +67 -60
  57. package/lib/Icon/image.js +41 -45
  58. package/lib/Icon/index.js +51 -53
  59. package/lib/Img/index.js +77 -88
  60. package/lib/InfoRow/index.js +66 -48
  61. package/lib/Layout/dashboard/external-link.js +38 -53
  62. package/lib/Layout/dashboard/full-page.js +27 -41
  63. package/lib/Layout/dashboard/index.js +177 -132
  64. package/lib/Layout/dashboard/sidebar.js +164 -61
  65. package/lib/Layout/dashboard-legacy/header.js +119 -66
  66. package/lib/Layout/dashboard-legacy/index.js +90 -79
  67. package/lib/Layout/dashboard-legacy/sidebar.js +95 -62
  68. package/lib/Layout/index.js +200 -106
  69. package/lib/LoadingMask/index.js +31 -38
  70. package/lib/Locale/browser-lang.js +2 -8
  71. package/lib/Locale/context.js +46 -69
  72. package/lib/Locale/languages.js +6 -15
  73. package/lib/Locale/selector.js +116 -92
  74. package/lib/Locale/util.js +7 -16
  75. package/lib/Logo/index.js +54 -57
  76. package/lib/Metric/index.js +103 -40
  77. package/lib/NFTDisplay/aspect-ratio-container.js +33 -40
  78. package/lib/NFTDisplay/broken.js +68 -52
  79. package/lib/NFTDisplay/index.js +140 -129
  80. package/lib/NFTDisplay/loading.js +14 -13
  81. package/lib/NFTDisplay/svg-embedder/img.js +18 -33
  82. package/lib/NFTDisplay/svg-embedder/inline-svg.js +28 -32
  83. package/lib/NavMenu/index.js +2 -13
  84. package/lib/NavMenu/nav-menu.js +133 -148
  85. package/lib/NavMenu/style.js +179 -12
  86. package/lib/PageScroller/index.js +82 -93
  87. package/lib/PageScroller/story/FifthComponent.js +4 -10
  88. package/lib/PageScroller/story/FirstComponent.js +4 -10
  89. package/lib/PageScroller/story/FourthComponent.js +4 -10
  90. package/lib/PageScroller/story/FullPage.js +21 -28
  91. package/lib/PageScroller/story/PageContain.js +23 -30
  92. package/lib/PageScroller/story/SecondComponent.js +4 -10
  93. package/lib/PageScroller/story/ThirdComponent.js +4 -10
  94. package/lib/PageScroller/usePrevValue.js +4 -11
  95. package/lib/Passport/index.js +2 -9
  96. package/lib/Passport/passport.js +38 -51
  97. package/lib/PoweredByArcBlock/index.js +19 -33
  98. package/lib/PricingTable/PricingPlan.js +90 -34
  99. package/lib/PricingTable/index.js +28 -26
  100. package/lib/QRCode/index.js +38 -50
  101. package/lib/RelativeTime/index.js +44 -59
  102. package/lib/Result/common.js +85 -107
  103. package/lib/Result/index.js +22 -34
  104. package/lib/Result/result.js +35 -41
  105. package/lib/Result/translations.js +1 -7
  106. package/lib/Screenshot/BaseScreenshot/index.js +65 -43
  107. package/lib/Screenshot/BaseScreenshot/shells/Macbook.js +17 -27
  108. package/lib/Screenshot/BaseScreenshot/shells/Phone.js +14 -25
  109. package/lib/Screenshot/index.js +103 -92
  110. package/lib/SessionBlocklet/index.js +125 -143
  111. package/lib/SessionManager/index.js +2 -9
  112. package/lib/SessionPermission/index.js +13 -23
  113. package/lib/SessionUser/components/logged-in.js +139 -158
  114. package/lib/SessionUser/components/session-user-item.js +44 -58
  115. package/lib/SessionUser/components/session-user-switch.js +133 -152
  116. package/lib/SessionUser/components/un-login.js +27 -35
  117. package/lib/SessionUser/components/user-info.js +62 -74
  118. package/lib/SessionUser/index.js +26 -34
  119. package/lib/SessionUser/libs/translation.js +1 -7
  120. package/lib/SessionUser/libs/utils.js +13 -34
  121. package/lib/Sparkline/index.js +4 -10
  122. package/lib/Spinner/index.js +11 -17
  123. package/lib/SplitButton/index.js +72 -68
  124. package/lib/Success/index.js +28 -34
  125. package/lib/Switch/index.js +64 -75
  126. package/lib/Tabs/index.js +84 -103
  127. package/lib/Tag/index.js +52 -56
  128. package/lib/TextCollapse/index.js +57 -50
  129. package/lib/Theme/index.js +8 -47
  130. package/lib/Theme/theme-provider.js +19 -26
  131. package/lib/Theme/theme.js +49 -62
  132. package/lib/Toast/index.js +41 -73
  133. package/lib/Typography/index.js +44 -55
  134. package/lib/Util/constant.js +16 -22
  135. package/lib/Util/deprecate.js +14 -26
  136. package/lib/Util/federated.js +16 -38
  137. package/lib/Util/index.js +63 -113
  138. package/lib/Util/passport.js +23 -33
  139. package/lib/Util/wallet.js +5 -14
  140. package/lib/Video/index.js +34 -34
  141. package/lib/Wallet/Action.js +72 -49
  142. package/lib/Wallet/Download.js +132 -115
  143. package/lib/Wallet/Open.js +26 -25
  144. package/lib/WalletOSIcon/index.js +33 -42
  145. package/lib/WebWalletSWKeeper/index.js +42 -55
  146. package/lib/WechatPrompt/index.js +53 -33
  147. package/lib/index.js +38 -265
  148. package/lib/withTheme/index.js +53 -33
  149. package/lib/withTracker/error_boundary.js +7 -18
  150. package/lib/withTracker/index.js +25 -34
  151. package/package.json +9 -316
  152. package/src/WalletOSIcon/index.jsx +1 -1
  153. package/es/ActionButton/index.js +0 -99
  154. package/es/ActivityIndicator/index.js +0 -180
  155. package/es/Address/compact-text.js +0 -105
  156. package/es/Address/did-address.js +0 -222
  157. package/es/Address/index.js +0 -23
  158. package/es/Address/responsive-did-address.js +0 -87
  159. package/es/Alert/index.js +0 -134
  160. package/es/AnimationWaiter/default-animation.json +0 -1
  161. package/es/AnimationWaiter/index.js +0 -240
  162. package/es/Async/index.js +0 -38
  163. package/es/Avatar/did-motif.js +0 -68
  164. package/es/Avatar/etherscan-blockies.js +0 -83
  165. package/es/Avatar/index.js +0 -179
  166. package/es/Badge/index.js +0 -98
  167. package/es/Blocklet/blocklet.js +0 -298
  168. package/es/Blocklet/index.js +0 -4
  169. package/es/Blocklet/utils.js +0 -52
  170. package/es/BlockletContext/index.js +0 -65
  171. package/es/BlockletNFT/index.js +0 -412
  172. package/es/Button/index.js +0 -8
  173. package/es/Button/wrap.js +0 -140
  174. package/es/ButtonGroup/index.js +0 -6
  175. package/es/CardSelector/index.js +0 -149
  176. package/es/Center/index.js +0 -41
  177. package/es/ClickToCopy/copy-button.js +0 -72
  178. package/es/ClickToCopy/hook.js +0 -39
  179. package/es/ClickToCopy/index.js +0 -92
  180. package/es/CodeBlock/LightBox.js +0 -85
  181. package/es/CodeBlock/index.js +0 -222
  182. package/es/Colors/index.js +0 -3
  183. package/es/Colors/themes/default.js +0 -77
  184. package/es/Colors/themes/temp.js +0 -41
  185. package/es/ContactForm/index.js +0 -230
  186. package/es/CookieConsent/index.js +0 -113
  187. package/es/CountDown/index.js +0 -178
  188. package/es/DID/index.js +0 -249
  189. package/es/Datatable/CustomToolbar.js +0 -396
  190. package/es/Datatable/DatatableContext.js +0 -34
  191. package/es/Datatable/TableSearch.js +0 -166
  192. package/es/Datatable/index.js +0 -629
  193. package/es/Datatable/utils.js +0 -132
  194. package/es/Dialog/confirm.js +0 -123
  195. package/es/Dialog/dialog.js +0 -201
  196. package/es/Dialog/index.js +0 -4
  197. package/es/Dialog/types.d.ts +0 -17
  198. package/es/Dialog/use-confirm.js +0 -133
  199. package/es/DidLogo/index.js +0 -31
  200. package/es/DriftBot/index.js +0 -70
  201. package/es/Earth/countries.json +0 -8057
  202. package/es/Earth/index.js +0 -521
  203. package/es/Earth/util.js +0 -51
  204. package/es/Empty/index.js +0 -65
  205. package/es/ErrorBoundary/fallback.js +0 -73
  206. package/es/ErrorBoundary/index.js +0 -1
  207. package/es/Footer/index.js +0 -172
  208. package/es/Header/auto-hidden.js +0 -35
  209. package/es/Header/header.js +0 -223
  210. package/es/Header/index.js +0 -2
  211. package/es/Header/responsive-header.js +0 -146
  212. package/es/Icon/image.js +0 -65
  213. package/es/Icon/index.js +0 -84
  214. package/es/Img/index.js +0 -218
  215. package/es/InfoRow/index.js +0 -87
  216. package/es/Layout/dashboard/external-link.js +0 -58
  217. package/es/Layout/dashboard/full-page.js +0 -53
  218. package/es/Layout/dashboard/index.js +0 -282
  219. package/es/Layout/dashboard/sidebar.js +0 -209
  220. package/es/Layout/dashboard-legacy/header.js +0 -174
  221. package/es/Layout/dashboard-legacy/index.js +0 -148
  222. package/es/Layout/dashboard-legacy/sidebar.js +0 -129
  223. package/es/Layout/index.js +0 -335
  224. package/es/LoadingMask/index.js +0 -102
  225. package/es/Locale/browser-lang.js +0 -52
  226. package/es/Locale/context.js +0 -139
  227. package/es/Locale/languages.js +0 -60
  228. package/es/Locale/selector.js +0 -186
  229. package/es/Locale/util.js +0 -21
  230. package/es/Logo/images/logo-dark-text.svg +0 -3
  231. package/es/Logo/images/logo-dark-top.svg +0 -6
  232. package/es/Logo/images/logo-light-text.svg +0 -3
  233. package/es/Logo/images/logo-light-top.svg +0 -6
  234. package/es/Logo/index.js +0 -136
  235. package/es/Metric/index.js +0 -132
  236. package/es/NFTDisplay/NFTBroken.svg +0 -34
  237. package/es/NFTDisplay/README.md +0 -59
  238. package/es/NFTDisplay/aspect-ratio-container.js +0 -39
  239. package/es/NFTDisplay/broken.js +0 -132
  240. package/es/NFTDisplay/demo/data/asset-state-display-url.json +0 -7
  241. package/es/NFTDisplay/demo/data/asset-state-gzipped-svg-1-1.json +0 -10
  242. package/es/NFTDisplay/demo/data/asset-state-gzipped-svg-374-130.json +0 -10
  243. package/es/NFTDisplay/demo/data/asset-state-gzipped-svg-with-foreign-object.json +0 -20
  244. package/es/NFTDisplay/demo/data/asset-state-svg.json +0 -29
  245. package/es/NFTDisplay/demo/data/asset-state-url.json +0 -10
  246. package/es/NFTDisplay/index.js +0 -328
  247. package/es/NFTDisplay/loading.js +0 -18
  248. package/es/NFTDisplay/svg-embedder/img.js +0 -45
  249. package/es/NFTDisplay/svg-embedder/inline-svg.js +0 -39
  250. package/es/NavMenu/index.js +0 -2
  251. package/es/NavMenu/nav-menu.js +0 -358
  252. package/es/NavMenu/style.js +0 -181
  253. package/es/PageScroller/index.js +0 -286
  254. package/es/PageScroller/story/FifthComponent.js +0 -9
  255. package/es/PageScroller/story/FirstComponent.js +0 -9
  256. package/es/PageScroller/story/FourthComponent.js +0 -12
  257. package/es/PageScroller/story/FullPage.js +0 -47
  258. package/es/PageScroller/story/PageContain.js +0 -59
  259. package/es/PageScroller/story/SecondComponent.js +0 -9
  260. package/es/PageScroller/story/ThirdComponent.js +0 -9
  261. package/es/PageScroller/story/index.css +0 -115
  262. package/es/PageScroller/usePrevValue.js +0 -9
  263. package/es/Passport/index.js +0 -2
  264. package/es/Passport/passport.js +0 -103
  265. package/es/PoweredByArcBlock/index.js +0 -31
  266. package/es/PricingTable/PricingPlan.js +0 -124
  267. package/es/PricingTable/index.js +0 -53
  268. package/es/QRCode/index.js +0 -73
  269. package/es/RelativeTime/index.js +0 -107
  270. package/es/Result/common.js +0 -140
  271. package/es/Result/demo/fixtures/result-image-404.svg +0 -1
  272. package/es/Result/index.js +0 -33
  273. package/es/Result/result.js +0 -59
  274. package/es/Result/translations.js +0 -54
  275. package/es/Screenshot/BaseScreenshot/index.js +0 -91
  276. package/es/Screenshot/BaseScreenshot/shells/Macbook.js +0 -51
  277. package/es/Screenshot/BaseScreenshot/shells/Phone.js +0 -36
  278. package/es/Screenshot/demo/images/bg-00.jpg +0 -0
  279. package/es/Screenshot/demo/images/bg-01.jpg +0 -0
  280. package/es/Screenshot/demo/images/bg-02.jpg +0 -0
  281. package/es/Screenshot/demo/images/bg-03.jpg +0 -0
  282. package/es/Screenshot/demo/images/bg-04.jpg +0 -0
  283. package/es/Screenshot/demo/images/bg-05.jpg +0 -0
  284. package/es/Screenshot/demo/images/bg-06.jpg +0 -0
  285. package/es/Screenshot/demo/images/bg-07.jpg +0 -0
  286. package/es/Screenshot/demo/images/bg-08.jpg +0 -0
  287. package/es/Screenshot/demo/images/bg-09.jpg +0 -0
  288. package/es/Screenshot/devices.css +0 -1366
  289. package/es/Screenshot/index.js +0 -299
  290. package/es/SessionBlocklet/index.js +0 -173
  291. package/es/SessionManager/index.js +0 -2
  292. package/es/SessionPermission/index.js +0 -28
  293. package/es/SessionUser/components/logged-in.js +0 -229
  294. package/es/SessionUser/components/session-user-item.js +0 -102
  295. package/es/SessionUser/components/session-user-switch.js +0 -223
  296. package/es/SessionUser/components/un-login.js +0 -64
  297. package/es/SessionUser/components/user-info.js +0 -167
  298. package/es/SessionUser/index.js +0 -49
  299. package/es/SessionUser/libs/translation.js +0 -19
  300. package/es/SessionUser/libs/utils.js +0 -29
  301. package/es/Sparkline/index.js +0 -193
  302. package/es/Spinner/index.js +0 -28
  303. package/es/SplitButton/index.js +0 -145
  304. package/es/Success/index.js +0 -175
  305. package/es/Switch/index.js +0 -96
  306. package/es/Tabs/index.js +0 -214
  307. package/es/Tag/index.js +0 -108
  308. package/es/TextCollapse/index.js +0 -92
  309. package/es/Theme/index.js +0 -16
  310. package/es/Theme/theme-provider.js +0 -39
  311. package/es/Theme/theme.js +0 -145
  312. package/es/Toast/index.js +0 -97
  313. package/es/Typography/index.js +0 -95
  314. package/es/Util/constant.js +0 -42
  315. package/es/Util/deprecate.js +0 -28
  316. package/es/Util/federated.js +0 -91
  317. package/es/Util/index.js +0 -363
  318. package/es/Util/passport.js +0 -62
  319. package/es/Util/wallet.js +0 -32
  320. package/es/Video/index.js +0 -89
  321. package/es/Wallet/Action.js +0 -119
  322. package/es/Wallet/Download.js +0 -331
  323. package/es/Wallet/Open.js +0 -45
  324. package/es/Wallet/images/abtwallet.png +0 -0
  325. package/es/Wallet/images/android_download.svg +0 -23
  326. package/es/Wallet/images/app-store.svg +0 -20
  327. package/es/Wallet/images/google-play.svg +0 -70
  328. package/es/WalletOSIcon/index.js +0 -82
  329. package/es/WebWalletSWKeeper/index.js +0 -117
  330. package/es/WechatPrompt/images/android.png +0 -0
  331. package/es/WechatPrompt/images/ios.png +0 -0
  332. package/es/WechatPrompt/index.js +0 -88
  333. package/es/index.js +0 -38
  334. package/es/withTheme/index.js +0 -69
  335. package/es/withTracker/README.md +0 -34
  336. package/es/withTracker/error_boundary.js +0 -34
  337. package/es/withTracker/index.js +0 -55
@@ -1,50 +1,30 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = WalletDownload;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _propTypes = _interopRequireDefault(require("prop-types"));
9
- var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
10
- var _useBrowser = _interopRequireDefault(require("@arcblock/react-hooks/lib/useBrowser"));
11
- var _Button = _interopRequireDefault(require("../Button"));
12
- var _Util = require("../Util");
13
- var _Theme = require("../Theme");
14
- var _jsxRuntime = require("react/jsx-runtime");
15
- var _templateObject;
16
- const _excluded = ["title", "children", "iosLink", "androidLink", "androidDownLoadUrl", "locale"];
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
19
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
22
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
23
- function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
24
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
25
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
1
+ import React from "react";
2
+ import PropTypes from 'prop-types';
3
+ import Typography from '@mui/material/Typography';
4
+ import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
26
5
  var AppStoreIcon = function AppStoreIcon(props) {
27
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", _objectSpread(_objectSpread({}, props), {}, {
28
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
6
+ return /*#__PURE__*/_jsxs("svg", {
7
+ ...props,
8
+ children: [/*#__PURE__*/_jsx("title", {
29
9
  children: "Appstore"
30
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
10
+ }), /*#__PURE__*/_jsxs("g", {
31
11
  fill: "none",
32
12
  fillRule: "evenodd",
33
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
13
+ children: [/*#__PURE__*/_jsx("path", {
34
14
  d: "M.198 3.792v42.064a3.594 3.594 0 0 0 3.595 3.594h164.414a3.594 3.594 0 0 0 3.595-3.594V3.792a3.594 3.594 0 0 0-3.595-3.594H3.793A3.594 3.594 0 0 0 .198 3.792z",
35
15
  fill: "#000",
36
16
  fillRule: "nonzero"
37
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
17
+ }), /*#__PURE__*/_jsx("path", {
38
18
  d: "M65.788 38.665h2.924l-6.402-17.73H59.35l-6.402 17.73h2.826l1.634-4.706h6.759l1.622 4.706zm-5.1-14.512h.21l2.567 7.496h-5.357l2.58-7.496zm15.778.91c-1.818 0-3.391.91-4.202 2.433h-.197v-2.212h-2.543v17.719h2.642v-6.365h.209c.7 1.413 2.211 2.248 4.116 2.248 3.38 0 5.53-2.666 5.53-6.918 0-4.251-2.15-6.905-5.555-6.905zm-.75 11.452c-2.21 0-3.6-1.745-3.6-4.534 0-2.802 1.39-4.547 3.613-4.547 2.237 0 3.576 1.708 3.576 4.534 0 2.839-1.34 4.547-3.588 4.547zm14.452-11.452c-1.819 0-3.391.91-4.202 2.433h-.197v-2.212h-2.544v17.719h2.642v-6.365h.21c.7 1.413 2.211 2.248 4.116 2.248 3.379 0 5.529-2.666 5.529-6.918 0-4.251-2.15-6.905-5.554-6.905zm-.75 11.452c-2.211 0-3.6-1.745-3.6-4.534 0-2.802 1.389-4.547 3.613-4.547 2.236 0 3.575 1.708 3.575 4.534 0 2.839-1.339 4.547-3.588 4.547zm11.896-2.617c.197 3.17 2.839 5.197 6.771 5.197 4.202 0 6.832-2.125 6.832-5.517 0-2.666-1.5-4.14-5.136-4.989l-1.954-.479c-2.31-.54-3.244-1.266-3.244-2.531 0-1.598 1.45-2.642 3.625-2.642 2.064 0 3.49 1.02 3.748 2.654h2.678c-.16-2.986-2.789-5.087-6.39-5.087-3.87 0-6.45 2.101-6.45 5.26 0 2.604 1.462 4.152 4.669 4.902l2.286.553c2.346.553 3.379 1.364 3.379 2.716 0 1.572-1.622 2.715-3.834 2.715-2.372 0-4.018-1.069-4.252-2.752h-2.728zm15.877-11.858v3.305h-2.2v2.224h2.2v7.557c0 2.58 1.167 3.613 4.104 3.613.516 0 .995-.061 1.413-.135v-2.2c-.368.037-.577.062-.983.062-1.315 0-1.892-.615-1.892-2.015v-6.882h2.998v-2.224h-2.998V22.04h-2.642zm12.19 14.536c-2.298 0-3.588-1.683-3.588-4.608 0-2.9 1.29-4.595 3.588-4.595 2.286 0 3.588 1.696 3.588 4.595 0 2.913-1.302 4.608-3.588 4.608zm0 2.347c3.908 0 6.304-2.617 6.304-6.955 0-4.313-2.409-6.942-6.304-6.942-3.907 0-6.316 2.63-6.316 6.942 0 4.338 2.396 6.955 6.316 6.955zm7.509-.258h2.642v-7.9c0-1.88 1.413-3.146 3.403-3.146.443 0 1.254.086 1.463.16v-2.606c-.283-.073-.787-.11-1.168-.11-1.745 0-3.22.958-3.6 2.273h-.197v-2.052h-2.543v13.381zm13.456-11.39c1.953 0 3.231 1.363 3.293 3.465h-6.759c.148-2.09 1.512-3.465 3.466-3.465zm3.28 7.778c-.491 1.044-1.585 1.622-3.182 1.622-2.114 0-3.478-1.487-3.564-3.834v-.148h9.45v-.921c0-4.203-2.249-6.746-5.972-6.746-3.773 0-6.169 2.715-6.169 6.992 0 4.276 2.347 6.905 6.181 6.905 3.06 0 5.198-1.474 5.8-3.87h-2.544zM55.423 7.094v8.443h3.048c2.516 0 3.973-1.55 3.973-4.248 0-2.656-1.468-4.195-3.973-4.195h-3.048zm1.31 1.193h1.592c1.75 0 2.785 1.112 2.785 3.02 0 1.936-1.018 3.037-2.785 3.037h-1.592V8.287zm10.323 6.255c-1.094 0-1.708-.801-1.708-2.194 0-1.38.614-2.188 1.708-2.188 1.089 0 1.709.807 1.709 2.188 0 1.387-.62 2.194-1.709 2.194zm0 1.118c1.861 0 3.002-1.246 3.002-3.312 0-2.054-1.147-3.306-3.002-3.306-1.86 0-3.007 1.252-3.007 3.306 0 2.066 1.14 3.312 3.007 3.312zM79.92 9.165H78.66l-1.136 4.863h-.099l-1.31-4.863H74.91l-1.31 4.863h-.094l-1.141-4.863h-1.276l1.755 6.372h1.294l1.31-4.693h.1l1.316 4.693h1.305l1.75-6.372zm1.598 6.372h1.258V11.81c0-.995.62-1.615 1.633-1.615.936 0 1.392.509 1.392 1.533v3.81h1.258v-4.126c0-1.515-.801-2.37-2.223-2.37-.96 0-1.703.427-2.013 1.135h-.094V9.165h-1.21v6.372zm7.667 0h1.258V6.678h-1.258v8.86zm6.133-.995c-1.094 0-1.709-.801-1.709-2.194 0-1.38.615-2.188 1.709-2.188 1.088 0 1.708.807 1.708 2.188 0 1.387-.62 2.194-1.708 2.194zm0 1.118c1.86 0 3.002-1.246 3.002-3.312 0-2.054-1.147-3.306-3.002-3.306-1.86 0-3.008 1.252-3.008 3.306 0 2.066 1.141 3.312 3.008 3.312zm6.894-1.077c-.685 0-1.182-.333-1.182-.907 0-.561.398-.86 1.276-.918l1.556-.1v.533c0 .79-.702 1.392-1.65 1.392zm-.322 1.06c.837 0 1.533-.363 1.913-1.001h.1v.895h1.211v-4.353c0-1.346-.9-2.142-2.498-2.142-1.446 0-2.475.702-2.604 1.797h1.217c.14-.451.626-.708 1.328-.708.86 0 1.305.38 1.305 1.053v.55l-1.726.1c-1.516.093-2.37.754-2.37 1.901 0 1.164.895 1.908 2.124 1.908zm7.643 0c.878 0 1.62-.416 2.001-1.112h.1v1.006h1.205V6.678h-1.258v3.5h-.094c-.345-.703-1.082-1.118-1.954-1.118-1.609 0-2.645 1.275-2.645 3.288 0 2.019 1.024 3.295 2.645 3.295zm.357-5.454c1.053 0 1.714.837 1.714 2.165 0 1.334-.655 2.16-1.714 2.16-1.065 0-1.703-.814-1.703-2.166 0-1.34.644-2.159 1.703-2.159zm11.4 4.353c-1.094 0-1.708-.801-1.708-2.194 0-1.38.614-2.188 1.709-2.188 1.088 0 1.708.807 1.708 2.188 0 1.387-.62 2.194-1.708 2.194zm0 1.118c1.861 0 3.002-1.246 3.002-3.312 0-2.054-1.146-3.306-3.001-3.306-1.861 0-3.008 1.252-3.008 3.306 0 2.066 1.141 3.312 3.008 3.312zm4.812-.123h1.258V11.81c0-.995.62-1.615 1.632-1.615.936 0 1.393.509 1.393 1.533v3.81h1.258v-4.126c0-1.515-.802-2.37-2.224-2.37-.96 0-1.702.427-2.013 1.135h-.093V9.165H126.1v6.372zM137.73 7.62v1.574h-1.048v1.06h1.048v3.598c0 1.229.555 1.72 1.954 1.72.246 0 .474-.029.673-.064V14.46c-.176.017-.275.029-.468.029-.626 0-.901-.293-.901-.96v-3.277h1.427V9.194h-1.427V7.62h-1.258zm4.477 7.917h1.258v-3.721c0-.966.638-1.615 1.668-1.615.947 0 1.421.515 1.421 1.533v3.803h1.258v-4.113c0-1.516-.819-2.376-2.252-2.376-.96 0-1.697.427-2.007 1.141h-.1V6.68h-1.246v8.858zm10.294-5.424c.93 0 1.538.65 1.568 1.65h-3.219c.07-.995.72-1.65 1.65-1.65zm1.562 3.704c-.234.497-.755.772-1.516.772-1.006 0-1.656-.708-1.697-1.825v-.07h4.5v-.44c0-2-1.07-3.212-2.844-3.212-1.796 0-2.937 1.293-2.937 3.33 0 2.036 1.118 3.288 2.943 3.288 1.457 0 2.475-.702 2.762-1.843h-1.211z",
39
19
  fill: "#FFF"
40
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
20
+ }), /*#__PURE__*/_jsx("g", {
41
21
  fill: "#FFF",
42
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
22
+ children: /*#__PURE__*/_jsx("path", {
43
23
  d: "M37.747 25.07c-.038-4.285 3.51-6.37 3.672-6.468-2.01-2.93-5.124-3.33-6.218-3.361-2.616-.276-5.153 1.565-6.486 1.565-1.359 0-3.41-1.539-5.622-1.493-2.846.043-5.508 1.691-6.968 4.25-3.013 5.216-.766 12.883 2.121 17.1 1.444 2.066 3.132 4.37 5.34 4.29 2.161-.088 2.969-1.378 5.576-1.378 2.584 0 3.342 1.377 5.595 1.324 2.319-.034 3.779-2.073 5.173-4.158 1.669-2.365 2.339-4.698 2.365-4.818-.053-.017-4.502-1.715-4.548-6.852M33.492 12.467c1.162-1.454 1.958-3.431 1.737-5.438-1.682.075-3.786 1.164-4.998 2.585-1.071 1.253-2.029 3.306-1.781 5.237 1.89.141 3.83-.953 5.042-2.384"
44
24
  })
45
25
  })]
46
26
  })]
47
- }));
27
+ });
48
28
  };
49
29
  AppStoreIcon.defaultProps = {
50
30
  width: "172",
@@ -53,118 +33,119 @@ AppStoreIcon.defaultProps = {
53
33
  xmlns: "http://www.w3.org/2000/svg"
54
34
  };
55
35
  var GooglePlayIcon = function GooglePlayIcon(props) {
56
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", _objectSpread(_objectSpread({}, props), {}, {
57
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
36
+ return /*#__PURE__*/_jsxs("svg", {
37
+ ...props,
38
+ children: [/*#__PURE__*/_jsx("title", {
58
39
  children: "Playstore"
59
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
60
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
40
+ }), /*#__PURE__*/_jsxs("defs", {
41
+ children: [/*#__PURE__*/_jsxs("linearGradient", {
61
42
  x1: "50%",
62
43
  y1: "0%",
63
44
  x2: "50%",
64
45
  y2: "38.913%",
65
46
  id: "b",
66
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
47
+ children: [/*#__PURE__*/_jsx("stop", {
67
48
  stopColor: "#FBDA09",
68
49
  offset: "0%"
69
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
50
+ }), /*#__PURE__*/_jsx("stop", {
70
51
  stopColor: "#FFBC00",
71
52
  offset: "100%"
72
53
  })]
73
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
54
+ }), /*#__PURE__*/_jsx("path", {
74
55
  d: "M28.354 14.689c1.77 1.006 1.77 2.638 0 3.645L3.228 32.625C1.458 33.632.023 32.8.023 30.763V2.26C.023.225 1.458-.609 3.228.398l25.126 14.29z",
75
56
  id: "a"
76
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
57
+ }), /*#__PURE__*/_jsxs("linearGradient", {
77
58
  x1: "0%",
78
59
  y1: "58.476%",
79
60
  x2: "69.306%",
80
61
  y2: "39.083%",
81
62
  id: "c",
82
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
63
+ children: [/*#__PURE__*/_jsx("stop", {
83
64
  stopColor: "#01E2FF",
84
65
  offset: "0%"
85
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
66
+ }), /*#__PURE__*/_jsx("stop", {
86
67
  stopColor: "#01C4FF",
87
68
  offset: "100%"
88
69
  })]
89
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
70
+ }), /*#__PURE__*/_jsxs("linearGradient", {
90
71
  x1: "20.281%",
91
72
  y1: "20.102%",
92
73
  x2: "83.82%",
93
74
  y2: "83.621%",
94
75
  id: "e",
95
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
76
+ children: [/*#__PURE__*/_jsx("stop", {
96
77
  stopColor: "#28D781",
97
78
  offset: "0%"
98
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
79
+ }), /*#__PURE__*/_jsx("stop", {
99
80
  stopColor: "#02F076",
100
81
  offset: "100%"
101
82
  })]
102
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
83
+ }), /*#__PURE__*/_jsxs("linearGradient", {
103
84
  x1: "74.488%",
104
85
  y1: "17.43%",
105
86
  x2: "10.108%",
106
87
  y2: "91.184%",
107
88
  id: "f",
108
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
89
+ children: [/*#__PURE__*/_jsx("stop", {
109
90
  stopColor: "#F2414E",
110
91
  offset: "0%"
111
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
92
+ }), /*#__PURE__*/_jsx("stop", {
112
93
  stopColor: "#E02554",
113
94
  offset: "100%"
114
95
  })]
115
96
  })]
116
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
97
+ }), /*#__PURE__*/_jsxs("g", {
117
98
  fill: "none",
118
99
  fillRule: "evenodd",
119
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
100
+ children: [/*#__PURE__*/_jsx("path", {
120
101
  d: "M.17 4.852V44.54a4.681 4.681 0 0 0 4.682 4.681h162.296a4.682 4.682 0 0 0 4.682-4.681V4.85a4.681 4.681 0 0 0-4.682-4.68H4.852A4.682 4.682 0 0 0 .17 4.85z",
121
102
  fill: "#000",
122
103
  fillRule: "nonzero"
123
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
104
+ }), /*#__PURE__*/_jsx("g", {
124
105
  fill: "#FFF",
125
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
106
+ children: /*#__PURE__*/_jsx("path", {
126
107
  d: "M91.207 16.084a4.213 4.213 0 1 1 0-8.425 4.213 4.213 0 0 1 0 8.425zm0-1.287a2.925 2.925 0 1 0 0-5.85 2.925 2.925 0 0 0 0 5.85zM62.656 12.34v2.574h3.393v.936h-4.68V8.01h4.68v.936h-3.393v2.457h3.042v.937h-3.042zM70.613 8.946v6.904h-1.288V8.946h-1.989V8.01h5.266v.936h-1.99zM82.08 8.946v6.904h-1.287V8.946h-1.99V8.01h5.266v.936H82.08zM76.346 8.01h1.287v7.84h-1.287zM97.233 8.01h-.76v7.84h1.287V9.731l3.744 6.119h1.288V8.01h-1.288v5.737l-3.51-5.737h-.76zM59.376 8.916c-.686-.723-1.69-1.14-2.883-1.14a4.133 4.133 0 0 0-4.135 4.13 4.135 4.135 0 0 0 4.135 4.13c2.322.022 4.258-1.614 3.871-4.454v-.042h-1.03c.009.119.012.241.01.366.002 2.029-1.168 2.98-2.816 2.98a2.982 2.982 0 0 1-2.983-2.98 2.982 2.982 0 0 1 2.983-2.98c.824 0 1.539.282 2.042.796l.806-.806z"
127
108
  })
128
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
109
+ }), /*#__PURE__*/_jsxs("g", {
129
110
  fill: "#FFF",
130
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
111
+ children: [/*#__PURE__*/_jsx("path", {
131
112
  d: "M125.375 22.052h6.634s3.82.65 3.82 5.035-3.82 5.035-3.82 5.035h-6.634v-10.07zm1.287 2.436v5.404h4.504s2.05 0 2.05-2.702-2.05-2.702-2.05-2.702h-4.504z"
132
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
113
+ }), /*#__PURE__*/_jsx("path", {
133
114
  d: "M124.79 22.052h2.34v16.382h-2.34zM137.193 22.052h2.34v16.382h-2.34zM148.208 37.262c-.645.532-1.675 1.033-3.303 1.135-3.729.232-3.73-3.17-3.73-3.4 0-.23-.185-3.004 2.782-3.445 2.1-.313 3.571.208 4.251.538v-.481c-.167-.637-.684-1.809-2.235-1.809-2.131 0-2.602 1.152-2.602 1.152l-1.949-1.152s1.09-2.249 4.364-2.249c4.07 0 4.763 2.808 4.763 3.753V38.428h-2.341v-1.166zm-.167-3.508s-4.509-1.216-4.666 1.317c-.156 2.533 4.326 1.317 4.726-.479 0-.57-.06-.838-.06-.838zM154.94 37.812l-2.183 5.185h2.34l6.331-15.038h-2.34l-2.978 7.074-3.002-7.13h-2.34l4.172 9.91zM119.55 31.732l-7.4 3.059s.477 1.692 2.703 1.703c1.742.009 2.726-1.545 2.726-1.545l1.878 1.272s-1.516 2.451-4.62 2.451c-3.813 0-5.493-3.335-5.493-5.5 0-2.087 1.334-5.62 5.257-5.62 3.924 0 4.95 4.18 4.95 4.18zm-2.815-.867s-.931-1.417-2.36-1.155c-3.02.552-2.64 3.196-2.64 3.196l5-2.04zM105.834 22.052h2.476V38.4h-2.476zM101.872 27.907l2.288.02V38.24c0 2.636-1.569 5.418-5.262 5.418-3.694 0-4.887-3.273-4.887-3.273l2.102-.884s.64 2.017 2.894 2.017c2.566 0 2.865-2.334 2.865-3.133v-1.12s-.888 1.39-3.093 1.39c-2.39 0-5.232-2.049-5.232-5.54 0-3.493 2.676-5.49 5.26-5.563 2.07-.058 3.065 1.374 3.065 1.374v-1.02zm-2.897 8.653c1.669 0 3.022-1.53 3.022-3.415 0-1.886-1.353-3.415-3.022-3.415-1.67 0-3.022 1.529-3.022 3.415 0 1.886 1.353 3.415 3.022 3.415zM86.949 38.668a5.564 5.564 0 0 1-5.571-5.558 5.564 5.564 0 0 1 5.57-5.559 5.564 5.564 0 0 1 5.571 5.559 5.564 5.564 0 0 1-5.57 5.558zm-.037-2.18c1.73 0 3.132-1.512 3.132-3.378s-1.402-3.379-3.132-3.379c-1.73 0-3.131 1.513-3.131 3.379s1.402 3.378 3.131 3.378zM74.896 38.668a5.564 5.564 0 0 1-5.57-5.558 5.564 5.564 0 0 1 5.57-5.559 5.564 5.564 0 0 1 5.57 5.559 5.564 5.564 0 0 1-5.57 5.558zm-.036-2.18c1.73 0 3.131-1.512 3.131-3.378S76.59 29.73 74.86 29.73c-1.73 0-3.131 1.513-3.131 3.379s1.401 3.378 3.13 3.378z"
134
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
135
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
115
+ }), /*#__PURE__*/_jsxs("g", {
116
+ children: [/*#__PURE__*/_jsx("path", {
136
117
  d: "M60.512 29.314h7.355l-.073 2.325h-7.282z"
137
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
118
+ }), /*#__PURE__*/_jsx("path", {
138
119
  d: "M66.42 23.843c-1.432-1.508-3.526-2.376-6.017-2.376-4.766 0-8.63 3.854-8.63 8.61 0 4.754 3.864 8.602 8.63 8.61 4.845.043 8.886-3.366 8.078-9.287v-.086h-2.149c.018.247.024.501.018.762.005 4.23-2.436 6.212-5.875 6.212-3.438 0-6.226-2.78-6.226-6.212 0-3.43 2.788-6.212 6.226-6.212 1.72 0 3.212.587 4.261 1.658l1.683-1.679z"
139
120
  })]
140
121
  })]
141
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
122
+ }), /*#__PURE__*/_jsxs("g", {
142
123
  transform: "translate(11.755 8.127)",
143
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("mask", {
124
+ children: [/*#__PURE__*/_jsx("mask", {
144
125
  id: "d",
145
126
  fill: "#fff",
146
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
127
+ children: /*#__PURE__*/_jsx("use", {
147
128
  xlinkHref: "#a"
148
129
  })
149
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
130
+ }), /*#__PURE__*/_jsx("use", {
150
131
  fill: "url(#b)",
151
132
  xlinkHref: "#a"
152
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
133
+ }), /*#__PURE__*/_jsx("path", {
153
134
  fill: "url(#c)",
154
135
  mask: "url(#d)",
155
136
  d: "M0-.012l16.357 16.258-16.568 16.9z"
156
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
137
+ }), /*#__PURE__*/_jsx("path", {
157
138
  fill: "url(#e)",
158
139
  mask: "url(#d)",
159
140
  d: "M-3.364-3.358l19.72 19.609 5.862-5.593z"
160
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
141
+ }), /*#__PURE__*/_jsx("path", {
161
142
  fill: "url(#f)",
162
143
  mask: "url(#d)",
163
144
  d: "M16.358 16.247l8.975 9.046L-1.48 34.34z"
164
145
  })]
165
146
  })]
166
147
  })]
167
- }));
148
+ });
168
149
  };
169
150
  GooglePlayIcon.defaultProps = {
170
151
  width: "172",
@@ -174,45 +155,46 @@ GooglePlayIcon.defaultProps = {
174
155
  xmlnsXlink: "http://www.w3.org/1999/xlink"
175
156
  };
176
157
  var AndroidDownloadIcon = function AndroidDownloadIcon(props) {
177
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", _objectSpread(_objectSpread({}, props), {}, {
178
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
158
+ return /*#__PURE__*/_jsxs("svg", {
159
+ ...props,
160
+ children: [/*#__PURE__*/_jsx("title", {
179
161
  children: "android"
180
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
162
+ }), /*#__PURE__*/_jsxs("g", {
181
163
  fill: "none",
182
164
  fillRule: "evenodd",
183
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
165
+ children: [/*#__PURE__*/_jsx("path", {
184
166
  d: "M172 44.328c0 3.133-2.794 5.672-6.24 5.672H6.24c-1.654 0-3.242-.598-4.412-1.661C.658 47.275 0 45.832 0 44.329V5.671C0 2.539 2.794 0 6.24 0h159.52c3.446 0 6.24 2.54 6.24 5.672v38.656",
185
167
  fill: "#100F0D",
186
168
  fillRule: "nonzero"
187
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("text", {
169
+ }), /*#__PURE__*/_jsx("text", {
188
170
  fill: "#FFF",
189
171
  fontFamily: "Arial-BoldMT, Arial",
190
172
  fontSize: "23.441",
191
173
  fontWeight: "bold",
192
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("tspan", {
174
+ children: /*#__PURE__*/_jsx("tspan", {
193
175
  x: "63.624",
194
176
  y: "42.135",
195
177
  children: "Android"
196
178
  })
197
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("text", {
179
+ }), /*#__PURE__*/_jsx("text", {
198
180
  fill: "#FFF",
199
181
  fillRule: "nonzero",
200
182
  fontFamily: "ArialMT, Arial",
201
183
  fontSize: "11.721",
202
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("tspan", {
184
+ children: /*#__PURE__*/_jsx("tspan", {
203
185
  x: "64",
204
186
  y: "19",
205
187
  children: "Download for"
206
188
  })
207
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
189
+ }), /*#__PURE__*/_jsx("g", {
208
190
  fill: "#9FC732",
209
191
  fillRule: "nonzero",
210
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
192
+ children: /*#__PURE__*/_jsx("path", {
211
193
  d: "M40.48 18.031H20.153a.818.818 0 0 0-.818.817v17.01c0 .45.366.816.818.816h3.625v5.732c0 1.33 1.08 2.409 2.413 2.409a2.411 2.411 0 0 0 2.414-2.409v-5.732h3.376v5.732c0 1.33 1.08 2.409 2.413 2.409a2.41 2.41 0 0 0 2.414-2.409v-5.732h3.674a.82.82 0 0 0 .819-.817V18.848a.818.818 0 0 0-.82-.817m-24.588-.004a2.411 2.411 0 0 0-2.413 2.408v9.782a2.41 2.41 0 0 0 2.413 2.408 2.41 2.41 0 0 0 2.414-2.408v-9.782a2.41 2.41 0 0 0-2.414-2.408M44.877 17.66c-1.33 0-2.41 1.091-2.41 2.436v9.895c0 1.345 1.08 2.436 2.41 2.436s2.41-1.09 2.41-2.436v-9.895c0-1.345-1.08-2.436-2.41-2.436m-19.441-6.768a.924.924 0 0 1 .813.464.945.945 0 0 1 0 .945.924.924 0 0 1-.813.464.932.932 0 0 1-.913-.936c0-.512.406-.93.913-.937zm10.96.937a.939.939 0 0 1-.454.836.918.918 0 0 1-.944 0 .939.939 0 0 1-.454-.836.931.931 0 0 1 .926-.906c.5 0 .91.4.926.906zm-15.902 4.628h19.918c.52 0 .907-.483.8-.998a11.12 11.12 0 0 0-5.37-7.395l1.702-3.106a.44.44 0 0 0-.168-.592.426.426 0 0 0-.585.17l-1.716 3.129a10.856 10.856 0 0 0-4.622-1.027 10.854 10.854 0 0 0-4.622 1.027l-1.716-3.13a.428.428 0 0 0-.58-.16.438.438 0 0 0-.173.582l1.702 3.107a11.123 11.123 0 0 0-5.37 7.395.825.825 0 0 0 .8.998"
212
194
  })
213
195
  })]
214
196
  })]
215
- }));
197
+ });
216
198
  };
217
199
  AndroidDownloadIcon.defaultProps = {
218
200
  width: "172",
@@ -220,68 +202,74 @@ AndroidDownloadIcon.defaultProps = {
220
202
  viewBox: "0 0 172 50",
221
203
  xmlns: "http://www.w3.org/2000/svg"
222
204
  };
223
- function WalletDownload(props) {
224
- const browser = (0, _useBrowser.default)();
225
- const newProps = (0, _Util.mergeProps)(props, WalletDownload, ['style']);
205
+ import Button from '../Button';
206
+ import { mergeProps } from '../Util';
207
+ import { styled } from '../Theme';
208
+ import { jsx as _jsx } from "react/jsx-runtime";
209
+ import { jsxs as _jsxs } from "react/jsx-runtime";
210
+ export default function WalletDownload(props) {
211
+ const browser = useBrowser();
212
+ const newProps = mergeProps(props, WalletDownload, ['style']);
226
213
  const {
227
- title,
228
- children,
229
- iosLink,
230
- androidLink,
231
- androidDownLoadUrl,
232
- locale
233
- } = newProps,
234
- rest = _objectWithoutProperties(newProps, _excluded);
214
+ title,
215
+ children,
216
+ iosLink,
217
+ androidLink,
218
+ androidDownLoadUrl,
219
+ locale,
220
+ ...rest
221
+ } = newProps;
235
222
  const isAndroid = browser.mobile.android.phone || browser.mobile.android.tablet;
236
223
  const isIOS = browser.mobile.apple.phone || browser.mobile.apple.tablet;
237
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Container, _objectSpread(_objectSpread({}, rest), {}, {
238
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
224
+ return /*#__PURE__*/_jsxs(Container, {
225
+ ...rest,
226
+ children: [/*#__PURE__*/_jsxs("div", {
239
227
  className: "download-text",
240
- children: [!!title && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
228
+ children: [!!title && /*#__PURE__*/_jsx(Typography, {
241
229
  className: "download-title",
242
230
  component: "div",
243
231
  children: title
244
- }), children && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
232
+ }), children && /*#__PURE__*/_jsx(Typography, {
245
233
  className: "download-extra",
246
234
  component: "div",
247
235
  children: children
248
236
  })]
249
- }), !browser.mobile.any && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
237
+ }), !browser.mobile.any && /*#__PURE__*/_jsxs("div", {
250
238
  className: "download-store-list",
251
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
239
+ children: [/*#__PURE__*/_jsx(Button, {
252
240
  className: "download-link",
253
241
  component: "a",
254
242
  href: iosLink,
255
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(AppStoreIcon, {})
256
- }), locale === 'zh' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
243
+ children: /*#__PURE__*/_jsx(AppStoreIcon, {})
244
+ }), locale === 'zh' && /*#__PURE__*/_jsx(Button, {
257
245
  component: "a",
258
246
  className: "download-link",
259
247
  href: androidDownLoadUrl,
260
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(AndroidDownloadIcon, {})
261
- }), locale === 'en' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
248
+ children: /*#__PURE__*/_jsx(AndroidDownloadIcon, {})
249
+ }), locale === 'en' && /*#__PURE__*/_jsx(Button, {
262
250
  component: "a",
263
251
  className: "download-link",
264
252
  href: androidLink,
265
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(GooglePlayIcon, {})
253
+ children: /*#__PURE__*/_jsx(GooglePlayIcon, {})
266
254
  })]
267
- }), isAndroid && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
255
+ }), isAndroid && /*#__PURE__*/_jsxs("div", {
268
256
  className: "download-store-list",
269
- children: [locale === 'zh' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
257
+ children: [locale === 'zh' && /*#__PURE__*/_jsx(Button, {
270
258
  component: "a",
271
259
  href: androidDownLoadUrl,
272
260
  variant: "outlined",
273
261
  color: "primary",
274
262
  children: "\u672C\u5730\u4E0B\u8F7D"
275
- }), locale === 'en' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
263
+ }), locale === 'en' && /*#__PURE__*/_jsx(Button, {
276
264
  component: "a",
277
265
  href: androidLink,
278
266
  variant: "outlined",
279
267
  color: "primary",
280
268
  children: "Download"
281
269
  })]
282
- }), isIOS && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
270
+ }), isIOS && /*#__PURE__*/_jsx("div", {
283
271
  className: "download-store-list",
284
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
272
+ children: /*#__PURE__*/_jsx(Button, {
285
273
  component: "a",
286
274
  href: iosLink,
287
275
  variant: "outlined",
@@ -289,17 +277,17 @@ function WalletDownload(props) {
289
277
  children: "Download"
290
278
  })
291
279
  })]
292
- }));
280
+ });
293
281
  }
294
282
  WalletDownload.propTypes = {
295
- title: _propTypes.default.string,
296
- layout: _propTypes.default.oneOf(['vertical', 'horizontal']),
297
- storeLayout: _propTypes.default.oneOf(['vertical', 'horizontal']),
298
- style: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
299
- iosLink: _propTypes.default.string,
300
- androidLink: _propTypes.default.string,
301
- androidDownLoadUrl: _propTypes.default.string,
302
- locale: _propTypes.default.oneOf(['en', 'zh'])
283
+ title: PropTypes.string,
284
+ layout: PropTypes.oneOf(['vertical', 'horizontal']),
285
+ storeLayout: PropTypes.oneOf(['vertical', 'horizontal']),
286
+ style: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
287
+ iosLink: PropTypes.string,
288
+ androidLink: PropTypes.string,
289
+ androidDownLoadUrl: PropTypes.string,
290
+ locale: PropTypes.oneOf(['en', 'zh'])
303
291
  };
304
292
  WalletDownload.defaultProps = {
305
293
  title: 'Download DID Wallet',
@@ -311,4 +299,33 @@ WalletDownload.defaultProps = {
311
299
  style: {},
312
300
  locale: 'zh'
313
301
  };
314
- const Container = (0, _Theme.styled)('div')(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n\n .download-title {\n margin-right: ", ";\n margin-bottom: ", ";\n }\n\n .download-store-list {\n display: flex;\n flex-direction: ", ";\n justify-content: space-between;\n align-items: center;\n\n .download-link {\n padding: 0;\n margin: 0;\n\n margin-right: ", ";\n margin-bottom: ", ";\n\n &:last-of-type {\n margin-right: 0;\n margin-bottom: 0;\n }\n }\n }\n"])), props => props.layout === 'vertical' ? 'column' : 'row', props => props.layout === 'vertical' ? '0' : '16px', props => props.layout === 'vertical' ? '16px' : '0', props => props.storeLayout === 'vertical' ? 'column' : 'row', props => props.storeLayout === 'vertical' ? '0' : '16px', props => props.storeLayout === 'vertical' ? '16px' : '0');
302
+ const Container = styled('div')`
303
+ display: flex;
304
+ flex-direction: ${props => props.layout === 'vertical' ? 'column' : 'row'};
305
+ align-items: center;
306
+
307
+ .download-title {
308
+ margin-right: ${props => props.layout === 'vertical' ? '0' : '16px'};
309
+ margin-bottom: ${props => props.layout === 'vertical' ? '16px' : '0'};
310
+ }
311
+
312
+ .download-store-list {
313
+ display: flex;
314
+ flex-direction: ${props => props.storeLayout === 'vertical' ? 'column' : 'row'};
315
+ justify-content: space-between;
316
+ align-items: center;
317
+
318
+ .download-link {
319
+ padding: 0;
320
+ margin: 0;
321
+
322
+ margin-right: ${props => props.storeLayout === 'vertical' ? '0' : '16px'};
323
+ margin-bottom: ${props => props.storeLayout === 'vertical' ? '16px' : '0'};
324
+
325
+ &:last-of-type {
326
+ margin-right: 0;
327
+ margin-bottom: 0;
328
+ }
329
+ }
330
+ }
331
+ `;
@@ -1,27 +1,17 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = OpenInWallet;
7
- var _propTypes = _interopRequireDefault(require("prop-types"));
8
- var _useBrowser = _interopRequireDefault(require("@arcblock/react-hooks/lib/useBrowser"));
9
- var _Fab = _interopRequireDefault(require("@mui/material/Fab"));
10
- var _Theme = require("../Theme");
11
- var _jsxRuntime = require("react/jsx-runtime");
12
- var _templateObject;
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
- function OpenInWallet(_ref) {
16
- let {
17
- locale,
18
- link
19
- } = _ref;
1
+ import PropTypes from 'prop-types';
2
+ import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
3
+ import Fab from '@mui/material/Fab';
4
+ import { styled } from '../Theme';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ export default function OpenInWallet({
7
+ locale,
8
+ link
9
+ }) {
20
10
  const buttonText = locale === 'zh' ? '在 DID 钱包打开' : 'Open in DID Wallet';
21
- const browser = (0, _useBrowser.default)();
11
+ const browser = useBrowser();
22
12
  if (browser.mobile.any && !browser.wallet && !browser.wechat) {
23
- const deepLink = "abt://abtwallet.io/i?action=requestOpenUrl&url=".concat(encodeURIComponent(link));
24
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(Button, {
13
+ const deepLink = `abt://abtwallet.io/i?action=requestOpenUrl&url=${encodeURIComponent(link)}`;
14
+ return /*#__PURE__*/_jsx(Button, {
25
15
  size: "small",
26
16
  href: deepLink,
27
17
  variant: "extended",
@@ -35,10 +25,21 @@ function OpenInWallet(_ref) {
35
25
  return null;
36
26
  }
37
27
  OpenInWallet.propTypes = {
38
- locale: _propTypes.default.oneOf(['en', 'zh']),
39
- link: _propTypes.default.string.isRequired
28
+ locale: PropTypes.oneOf(['en', 'zh']),
29
+ link: PropTypes.string.isRequired
40
30
  };
41
31
  OpenInWallet.defaultProps = {
42
32
  locale: 'zh'
43
33
  };
44
- const Button = (0, _Theme.styled)(_Fab.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n && {\n font-size: 12px;\n position: fixed;\n bottom: 24px;\n left: 50%;\n transform-origin: 50% 50%;\n transform: translateX(-50%);\n min-width: 120px;\n z-index: ", ";\n }\n"])), props => props.theme.zIndex.tooltip);
34
+ const Button = styled(Fab)`
35
+ && {
36
+ font-size: 12px;
37
+ position: fixed;
38
+ bottom: 24px;
39
+ left: 50%;
40
+ transform-origin: 50% 50%;
41
+ transform: translateX(-50%);
42
+ min-width: 120px;
43
+ z-index: ${props => props.theme.zIndex.tooltip};
44
+ }
45
+ `;
@@ -1,40 +1,31 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = WalletOSIcon;
7
- var _propTypes = _interopRequireDefault(require("prop-types"));
8
- var _react = require("@iconify/react");
9
- var _api = _interopRequireDefault(require("@iconify-icons/mdi/api"));
10
- var _iosRounded = _interopRequireDefault(require("@iconify-icons/material-symbols/ios-rounded"));
11
- var _language = _interopRequireDefault(require("@iconify-icons/material-symbols/language"));
12
- var _android = _interopRequireDefault(require("@iconify-icons/material-symbols/android"));
13
- var _questionMarkRounded = _interopRequireDefault(require("@iconify-icons/material-symbols/question-mark-rounded"));
14
- var _mailOutlineRounded = _interopRequireDefault(require("@iconify-icons/material-symbols/mail-outline-rounded"));
15
- var _constant = require("../../es/Util/constant");
16
- var _jsxRuntime = require("react/jsx-runtime");
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1
+ import PropTypes from 'prop-types';
2
+ import { Icon } from '@iconify/react';
3
+ import ApiIcon from '@iconify-icons/mdi/api';
4
+ import IOSRoundedIcon from '@iconify-icons/material-symbols/ios-rounded';
5
+ import LanguageIcon from '@iconify-icons/material-symbols/language';
6
+ import AndroidIcon from '@iconify-icons/material-symbols/android';
7
+ import QuestionMarkRoundedIcon from '@iconify-icons/material-symbols/question-mark-rounded';
18
8
  // import Auth0Icon from '@iconify-icons/logos/auth0-icon';
19
-
20
- function WalletOSIcon(_ref) {
21
- let {
22
- loading,
23
- walletOS,
24
- provider,
25
- color
26
- } = _ref;
9
+ import MailOutlineRoundedIcon from '@iconify-icons/material-symbols/mail-outline-rounded';
10
+ import { LOGIN_PROVIDER } from '../Util/constant';
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ export default function WalletOSIcon({
13
+ loading,
14
+ walletOS,
15
+ provider,
16
+ color
17
+ }) {
27
18
  if (loading) {
28
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Icon, {
29
- icon: _questionMarkRounded.default,
19
+ return /*#__PURE__*/_jsx(Icon, {
20
+ icon: QuestionMarkRoundedIcon,
30
21
  style: {
31
22
  color: 'transparent'
32
23
  }
33
24
  });
34
25
  }
35
- if (provider === _constant.LOGIN_PROVIDER.AUTH0) {
36
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Icon, {
37
- icon: _mailOutlineRounded.default,
26
+ if (provider === LOGIN_PROVIDER.AUTH0) {
27
+ return /*#__PURE__*/_jsx(Icon, {
28
+ icon: MailOutlineRoundedIcon,
38
29
  style: {
39
30
  color,
40
31
  transform: 'scale(0.85)'
@@ -42,8 +33,8 @@ function WalletOSIcon(_ref) {
42
33
  });
43
34
  }
44
35
  if (walletOS === 'ios') {
45
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Icon, {
46
- icon: _iosRounded.default,
36
+ return /*#__PURE__*/_jsx(Icon, {
37
+ icon: IOSRoundedIcon,
47
38
  style: {
48
39
  color,
49
40
  transform: 'scale(1.1)'
@@ -51,24 +42,24 @@ function WalletOSIcon(_ref) {
51
42
  });
52
43
  }
53
44
  if (walletOS === 'android') {
54
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Icon, {
55
- icon: _android.default,
45
+ return /*#__PURE__*/_jsx(Icon, {
46
+ icon: AndroidIcon,
56
47
  style: {
57
48
  color
58
49
  }
59
50
  });
60
51
  }
61
52
  if (walletOS === 'web') {
62
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Icon, {
63
- icon: _language.default,
53
+ return /*#__PURE__*/_jsx(Icon, {
54
+ icon: LanguageIcon,
64
55
  style: {
65
56
  color
66
57
  }
67
58
  });
68
59
  }
69
60
  if (walletOS === 'api') {
70
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Icon, {
71
- icon: _api.default,
61
+ return /*#__PURE__*/_jsx(Icon, {
62
+ icon: ApiIcon,
72
63
  style: {
73
64
  color,
74
65
  transform: 'scale(1.05)'
@@ -78,10 +69,10 @@ function WalletOSIcon(_ref) {
78
69
  return null;
79
70
  }
80
71
  WalletOSIcon.propTypes = {
81
- loading: _propTypes.default.bool,
82
- walletOS: _propTypes.default.string,
83
- provider: _propTypes.default.string,
84
- color: _propTypes.default.string
72
+ loading: PropTypes.bool,
73
+ walletOS: PropTypes.string,
74
+ provider: PropTypes.string,
75
+ color: PropTypes.string
85
76
  };
86
77
  WalletOSIcon.defaultProps = {
87
78
  loading: false,