everest-npm-features 0.0.7 → 0.0.8

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.
Files changed (211) hide show
  1. package/dist/Alert-BtAF4uo6.js +342 -0
  2. package/dist/{ArrowDropDown-DRUQbGft.js → ArrowDropDown-HhWGPJLx.js} +1 -1
  3. package/dist/{ArrowRight-t-YgAHUn.js → ArrowRight-D1Uf-LL_.js} +1 -1
  4. package/dist/{Box-BOgpENcC.js → Box-Bt8cGqC7.js} +4 -4
  5. package/dist/{Button-DXdgxFxa.js → Button-S_vW7i_8.js} +4 -4
  6. package/dist/{ButtonBase-AOLUTpPg.js → ButtonBase-ILHWXvZi.js} +5 -5
  7. package/dist/{Cancel-kWZwZbQf.js → Cancel-5JDQ2Kc0.js} +1 -1
  8. package/dist/{CardContent-DEA5pnhr.js → CardContent-BLsvyJUZ.js} +3 -3
  9. package/dist/CheckCircle-Czm8oSt7.js +8 -0
  10. package/dist/{CircularProgress-BAEiXRSn.js → CircularProgress-DYCklg37.js} +3 -3
  11. package/dist/{Close-mXCsZSxZ.js → Close-BMBeNE5d.js} +1 -1
  12. package/dist/{Container-BOehNoF1.js → Container-Htc6vdB5.js} +4 -4
  13. package/dist/{ContentCopy-HD_Xx6nx.js → ContentCopy-C-P8eJzn.js} +1 -1
  14. package/dist/{DefaultPropsProvider-DmUB0SYC.js → DefaultPropsProvider-BV5W_lW_.js} +3 -3
  15. package/dist/{DefaultPropsProvider-tqUom3mB.js → DefaultPropsProvider-CMlwfX3T.js} +1 -1
  16. package/dist/{Delete-BbHDZPfy.js → Delete-Dfs1xFC1.js} +1 -1
  17. package/dist/{DialogContent-zttWtNJM.js → DialogContent-BgKUjL4i.js} +6 -6
  18. package/dist/{DialogTitle-BqL8DXBp.js → DialogTitle-1A1JxHKy.js} +4 -4
  19. package/dist/{Divider-EGEkrkBH.js → Divider-CeyW_GlS.js} +3 -3
  20. package/dist/{FormControl-Nd-4LC8N.js → FormControl-CKGUH1ax.js} +3 -3
  21. package/dist/{FormControlLabel-BMeMEwyK.js → FormControlLabel-Do2nmNuE.js} +7 -7
  22. package/dist/{GlobalStyles-CModZHM-.js → GlobalStyles-BUcuFXdM.js} +2 -2
  23. package/dist/{Grid-EISqvBSJ.js → Grid-LdrR4mx1.js} +5 -5
  24. package/dist/{Grid2-B0mJbwjl.js → Grid2-IYppkw5f.js} +6 -6
  25. package/dist/{Grow-dkRwE_ok.js → Grow-Cl5q_s4E.js} +5 -5
  26. package/dist/{IconButton-DAR3jsEV.js → IconButton-DJRmyJ7l.js} +3 -3
  27. package/dist/{Info-CkE3Gsf2.js → Info-DTcjrneu.js} +1 -1
  28. package/dist/{InputAdornment-DZJP9Njd.js → InputAdornment-HG4f5A6g.js} +3 -3
  29. package/dist/Link-BoX8sDwo.js +263 -0
  30. package/dist/{ListItemIcon-JAntieDc.js → ListItemIcon-SEyOLp6t.js} +4 -4
  31. package/dist/{MenuItem-D12FP5Iq.js → MenuItem-DI0pq5k0.js} +6 -6
  32. package/dist/{Modal-DceAu_d2.js → Modal-DXE_7QA2.js} +9 -9
  33. package/dist/{Paper-L8ipwfkc.js → Paper-B2H6ZIFg.js} +3 -3
  34. package/dist/{PlayArrow-Dwss80PJ.js → PlayArrow-DNFHtcCO.js} +6 -6
  35. package/dist/{Portal-DxdKGEvu.js → Portal-lSfc4EZw.js} +3 -3
  36. package/dist/{Select-DTQDmdn_.js → Select-Bs7YLhIQ.js} +15 -15
  37. package/dist/{Slide-CWqC2RDG.js → Slide-BjOaaE2D.js} +4 -4
  38. package/dist/{Stack-CkCveRRR.js → Stack-Ce-OQAtj.js} +5 -5
  39. package/dist/{TextField-BqIvz6Zw.js → TextField-D4JEGFa0.js} +7 -7
  40. package/dist/{Typography-Dx54MRM5.js → Typography-Du8mj1kr.js} +3 -3
  41. package/dist/assets/index10.css +1 -1
  42. package/dist/assets/index11.css +1 -1
  43. package/dist/assets/index12.css +1 -0
  44. package/dist/assets/index8.css +1 -1
  45. package/dist/assets/index9.css +1 -1
  46. package/dist/auth-Czk2iJ8q.js +58 -0
  47. package/dist/{bank-CRy2oyUW.js → bank-D37HPNrs.js} +1 -1
  48. package/dist/components/Account/index.js +15 -15
  49. package/dist/components/History/index.js +13 -13
  50. package/dist/components/MoveToEthereumOrEverChain/index.js +31 -31
  51. package/dist/components/Profile/documents.js +16 -16
  52. package/dist/components/Profile/index.js +13 -13
  53. package/dist/components/Receive/index.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/form.js +8 -8
  55. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  56. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +17 -0
  57. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +16 -0
  58. package/dist/components/RocketRamp/Player/Buy/form.js +26 -0
  59. package/dist/components/RocketRamp/{Buy → Player/Buy}/index.d.ts +1 -1
  60. package/dist/components/RocketRamp/Player/Buy/index.js +35 -0
  61. package/dist/components/RocketRamp/{Buy → Player/Buy}/types.d.ts +2 -2
  62. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.js +8 -8
  63. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.d.ts +1 -1
  64. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.js +15 -17
  65. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.js +6 -6
  66. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.d.ts +3 -0
  67. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +20 -0
  68. package/dist/components/RocketRamp/Player/Sell/form.d.ts +3 -0
  69. package/dist/components/RocketRamp/Player/Sell/form.js +26 -0
  70. package/dist/components/RocketRamp/Player/Sell/index.d.ts +7 -0
  71. package/dist/components/RocketRamp/Player/Sell/index.js +36 -0
  72. package/dist/components/RocketRamp/Player/Sell/types.d.ts +35 -0
  73. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.d.ts +1 -1
  74. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.js +9 -9
  75. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.js +8 -8
  76. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.js +12 -12
  77. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/email.d.ts +1 -1
  78. package/dist/components/RocketRamp/Player/SignUp/email.js +73 -0
  79. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.d.ts +1 -1
  80. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.js +26 -24
  81. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/personalInfo.d.ts +1 -1
  82. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +165 -0
  83. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.js +4 -4
  84. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/types.d.ts +2 -0
  85. package/dist/components/RocketRamp/Player/SignUp/types.js +1 -0
  86. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.js +6 -6
  87. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  88. package/dist/components/RocketRamp/Shared/Input/index.d.ts +2 -1
  89. package/dist/components/RocketRamp/Shared/Input/index.js +25 -23
  90. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  91. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  92. package/dist/components/RocketRamp/Store/Dashboard/balance.d.ts +9 -0
  93. package/dist/components/RocketRamp/Store/Dashboard/balance.js +75 -0
  94. package/dist/components/RocketRamp/Store/Dashboard/index.d.ts +5 -0
  95. package/dist/components/RocketRamp/Store/Dashboard/index.js +64 -0
  96. package/dist/components/RocketRamp/Store/Dashboard/transaction.d.ts +8 -0
  97. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +28 -0
  98. package/dist/components/RocketRamp/Store/SignUp/index.d.ts +3 -0
  99. package/dist/components/RocketRamp/Store/SignUp/index.js +158 -0
  100. package/dist/components/RocketRamp/Store/SignUp/personalInfo.d.ts +3 -0
  101. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +164 -0
  102. package/dist/components/RocketRamp/Store/SignUp/storeInfo.d.ts +3 -0
  103. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +136 -0
  104. package/dist/components/RocketRamp/Store/SignUp/summary.d.ts +3 -0
  105. package/dist/components/RocketRamp/Store/SignUp/summary.js +55 -0
  106. package/dist/components/RocketRamp/Store/SignUp/types.d.ts +49 -0
  107. package/dist/components/RocketRamp/Store/SignUp/types.js +1 -0
  108. package/dist/components/RocketRamp/Store/SignUp/validateEmail.d.ts +3 -0
  109. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +100 -0
  110. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  111. package/dist/components/Send/index.js +14 -14
  112. package/dist/components/Shared/ConnectWallet/index.js +10 -10
  113. package/dist/components/Shared/HistoryItem/index.js +45 -45
  114. package/dist/components/Shared/Keyboard/keyboard.js +3 -3
  115. package/dist/components/Shared/TokenModal/index.js +11 -11
  116. package/dist/components/Shared/TokenModal/tokenGrid.js +4 -4
  117. package/dist/components/Shared/addBank.js +10 -10
  118. package/dist/components/Shared/button.js +1 -1
  119. package/dist/components/Shared/connectPlaidBank.js +5 -5
  120. package/dist/components/Shared/incode.js +9 -9
  121. package/dist/components/Shared/inputField.js +1 -1
  122. package/dist/components/Shared/noData.js +2 -2
  123. package/dist/components/Shared/pin.js +3 -3
  124. package/dist/components/Shared/step.js +2 -2
  125. package/dist/components/Shared/tooltip.js +77 -77
  126. package/dist/components/Shared/transition.js +1 -1
  127. package/dist/components/SignIn/index.js +15 -15
  128. package/dist/components/SignUp/index.js +4 -4
  129. package/dist/components/SignUp/pin.js +10 -10
  130. package/dist/components/SignUp/privacy.js +2 -2
  131. package/dist/components/SignUp/terms.js +2 -2
  132. package/dist/components/SignUp/userInfo.js +3 -3
  133. package/dist/components/Stake/gems/index.js +10 -10
  134. package/dist/components/Stake/id/index.js +11 -11
  135. package/dist/components/Stake/index.js +9 -9
  136. package/dist/components/Swap/index.js +14 -14
  137. package/dist/components/SwapAndUniSwap/index.js +3 -3
  138. package/dist/components/WalletPortfolio/index.js +14 -14
  139. package/dist/components/WalletPortfolio/tokenRow.js +6 -6
  140. package/dist/{constants-Bg2zYFVK.js → constants-Bb9tNMO0.js} +336 -332
  141. package/dist/{createSvgIcon-jkXneOQN.js → createSvgIcon-DhzhBkIq.js} +2 -2
  142. package/dist/{createTheme-F9Dk4FhK.js → createTheme-BYjetuXd.js} +3 -3
  143. package/dist/defaultTheme-BauSyTuG.js +5 -0
  144. package/dist/{dividerClasses-SUAUDDqL.js → dividerClasses-DxWPaPyZ.js} +2 -2
  145. package/dist/{documents-BGFSTan8.js → documents-DvBUIEko.js} +26 -26
  146. package/dist/{elementTypeAcceptingRef-BufevUW8.js → elementTypeAcceptingRef-BPeKuzZ8.js} +1 -1
  147. package/dist/{emotion-react.browser.esm-CI0uV1W5.js → emotion-react.browser.esm-GqNZEJqq.js} +2 -2
  148. package/dist/{extendSxProp-Cm2UBzGf.js → extendSxProp-Ydv2_GZV.js} +1 -1
  149. package/dist/fiatAssets-Dymvf3Le.js +8 -0
  150. package/dist/hoc/withThemeProvider.js +5 -5
  151. package/dist/hooks/useDialog/index.js +4 -4
  152. package/dist/hooks/useRrDialog/index.js +4 -4
  153. package/dist/hooks/useSnackBar.js +292 -625
  154. package/dist/icons/buyIcon.js +1 -1
  155. package/dist/icons/canceledBuyIcon.js +1 -1
  156. package/dist/icons/canceledRedeemIcon.js +1 -1
  157. package/dist/icons/failedBuyIcon.js +1 -1
  158. package/dist/icons/failedRedeemIcon.js +1 -1
  159. package/dist/icons/pendingBuyIcon.js +1 -1
  160. package/dist/icons/pendingRedeemIcon.js +1 -1
  161. package/dist/icons/redeemIcon.js +1 -1
  162. package/dist/{index-BJlsh9ro.js → index-BiAKQoFR.js} +1 -1
  163. package/dist/{index-CX4sR9ID.js → index-CMHIKDWK.js} +127 -129
  164. package/dist/{index-_kqRfgnc.js → index-CrpPVKHn.js} +5 -5
  165. package/dist/index-DYCdRrDV.js +670 -0
  166. package/dist/main.d.ts +6 -4
  167. package/dist/main.js +21 -17
  168. package/dist/order-DMts-8Nr.js +30 -0
  169. package/dist/{ownerWindow-C-760D__.js → ownerWindow-mVfGbIa3.js} +1 -1
  170. package/dist/{resolveComponentProps-BdTgLKBb.js → resolveComponentProps-q6q4ysGz.js} +1 -1
  171. package/dist/{stake-CQWZT4ug.js → stake-BRmggIPz.js} +1 -1
  172. package/dist/store.d.ts +3 -1
  173. package/dist/styled-wRBkgUU9.js +5 -0
  174. package/dist/{tokenRow-CgnPD-4U.js → tokenRow-g9IBe02c.js} +5 -5
  175. package/dist/{useSlot-DaP6eodX.js → useSlot-D3uYAK6m.js} +1 -1
  176. package/dist/useTheme-CqTIiZp7.js +9 -0
  177. package/dist/{useTheme-c0OHvtiA.js → useTheme-D5is61S1.js} +3 -3
  178. package/dist/{useThemeProps-CV9AmzHf.js → useThemeProps-PA8LTWC3.js} +4 -4
  179. package/dist/{useThemeWithoutDefault-D8MaPbCK.js → useThemeWithoutDefault-Dka2QjJP.js} +1 -1
  180. package/dist/{useTimeout-D29bZ7Gz.js → useTimeout-Bcu0-_W1.js} +3 -3
  181. package/dist/user-CsPLUenD.js +24 -0
  182. package/dist/util/functions.d.ts +1 -0
  183. package/dist/util/functions.js +9 -2
  184. package/dist/{utils-EFg3So7T.js → utils-gxE2aXKK.js} +1 -1
  185. package/dist/{wallet-CmeFL8-U.js → wallet-Dfn4nFOn.js} +12 -12
  186. package/package.json +2 -2
  187. package/dist/auth-NmISGQ2S.js +0 -46
  188. package/dist/components/RocketRamp/Buy/cardPayment.js +0 -17
  189. package/dist/components/RocketRamp/Buy/confirmTransaction.js +0 -16
  190. package/dist/components/RocketRamp/Buy/form.js +0 -26
  191. package/dist/components/RocketRamp/Buy/index.js +0 -34
  192. package/dist/components/RocketRamp/SignUp/email.js +0 -70
  193. package/dist/components/RocketRamp/SignUp/personalInfo.js +0 -415
  194. package/dist/defaultTheme-Bc00Q3Kt.js +0 -5
  195. package/dist/order-CtACU1eX.js +0 -27
  196. package/dist/styled-BTIMwpiX.js +0 -5
  197. package/dist/useTheme-BghcbbEW.js +0 -9
  198. package/dist/user-Djw_k_OF.js +0 -24
  199. /package/dist/components/RocketRamp/{Buy → Player/Buy}/cardPayment.d.ts +0 -0
  200. /package/dist/components/RocketRamp/{Buy → Player/Buy}/confirmTransaction.d.ts +0 -0
  201. /package/dist/components/RocketRamp/{Buy → Player/Buy}/form.d.ts +0 -0
  202. /package/dist/components/RocketRamp/{Buy → Player/Buy}/types.js +0 -0
  203. /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.d.ts +0 -0
  204. /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.d.ts +0 -0
  205. /package/dist/components/RocketRamp/{SignIn → Player/Sell}/types.js +0 -0
  206. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.d.ts +0 -0
  207. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.d.ts +0 -0
  208. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/types.d.ts +0 -0
  209. /package/dist/components/RocketRamp/{SignUp → Player/SignIn}/types.js +0 -0
  210. /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.d.ts +0 -0
  211. /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { u as n } from "../useTheme-c0OHvtiA.js";
2
+ import { u as n } from "../useTheme-D5is61S1.js";
3
3
  const i = (o) => {
4
4
  const e = n();
5
5
  return /* @__PURE__ */ t("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: /* @__PURE__ */ t(
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { u as i } from "../useTheme-c0OHvtiA.js";
2
+ import { u as i } from "../useTheme-D5is61S1.js";
3
3
  const h = (r) => {
4
4
  const e = i();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { u as i } from "../useTheme-c0OHvtiA.js";
2
+ import { u as i } from "../useTheme-D5is61S1.js";
3
3
  const h = (r) => {
4
4
  const e = i();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { u as s } from "../useTheme-c0OHvtiA.js";
2
+ import { u as s } from "../useTheme-D5is61S1.js";
3
3
  const n = (r) => {
4
4
  const e = s();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { u as s } from "../useTheme-c0OHvtiA.js";
2
+ import { u as s } from "../useTheme-D5is61S1.js";
3
3
  const n = (r) => {
4
4
  const e = s();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { u as n } from "../useTheme-c0OHvtiA.js";
2
+ import { u as n } from "../useTheme-D5is61S1.js";
3
3
  const l = (r) => {
4
4
  const t = n();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { u as n } from "../useTheme-c0OHvtiA.js";
2
+ import { u as n } from "../useTheme-D5is61S1.js";
3
3
  const h = (o) => {
4
4
  const t = n();
5
5
  return /* @__PURE__ */ r("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { u as n } from "../useTheme-c0OHvtiA.js";
2
+ import { u as n } from "../useTheme-D5is61S1.js";
3
3
  const i = (t) => {
4
4
  const o = n();
5
5
  return /* @__PURE__ */ e("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t, children: /* @__PURE__ */ e(
@@ -1,5 +1,5 @@
1
1
  import * as t from "react";
2
- import { P as o } from "./createTheme-F9Dk4FhK.js";
2
+ import { P as o } from "./createTheme-BYjetuXd.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  const r = /* @__PURE__ */ t.createContext();
5
5
  function u({
@@ -1,27 +1,28 @@
1
- import { jsxs as n, Fragment as T, jsx as e } from "react/jsx-runtime";
2
- import { useState as c, useEffect as g } from "react";
3
- import ze from "./hoc/withThemeProvider.js";
4
- import { P as Re, F as Oe } from "./PlayArrow-Dwss80PJ.js";
5
- import { I as we } from "./Info-CkE3Gsf2.js";
1
+ import { jsxs as n, Fragment as F, jsx as e } from "react/jsx-runtime";
2
+ import { useState as c, useEffect as _ } from "react";
3
+ import Se from "./hoc/withThemeProvider.js";
4
+ import { P as Re, F as Oe } from "./PlayArrow-DNFHtcCO.js";
5
+ import { I as we } from "./Info-DTcjrneu.js";
6
6
  import { G as Be } from "./generic-token-B_ptO5yb.js";
7
7
  import ee from "./components/RocketRamp/Shared/Input/index.js";
8
- import { ID_TOKEN_SYMBOL as de, FIAT_TO_EVER_ID as te, FIAT_TO_TOKEN as re, ESTIMATE_TOOLTIP_TEXT as Le, VISA_PAYMENT as Ve, VISA_PAYMENT_ACTIVE as Ye, SEPA_PAYMENT as We, SEPA_PAYMENT_ACTIVE as De, PAYMENT_BANK as ue, SEPA_ICON as Ke, VISA_ICON as _e, PAYMENT_PROVIDER_CHECKOUT as pe } from "./util/constants.js";
9
- import { a7 as qe } from "./constants-Bg2zYFVK.js";
10
- import { a as $e, b as ge, c as Ge, d as Ue, e as he } from "./order-CtACU1eX.js";
8
+ import { ID_TOKEN_SYMBOL as de, FIAT_TO_EVER_ID as te, FIAT_TO_TOKEN as re, ESTIMATE_TOOLTIP_TEXT as Le, VISA_PAYMENT as Ve, VISA_PAYMENT_ACTIVE as Ye, SEPA_PAYMENT as We, SEPA_PAYMENT_ACTIVE as De, PAYMENT_BANK as ue, SEPA_ICON as Ke, VISA_ICON as ge, PAYMENT_PROVIDER_CHECKOUT as pe } from "./util/constants.js";
9
+ import "./constants-Bb9tNMO0.js";
10
+ import { c as qe, d as _e, a as $e, f as Ge, e as he } from "./order-DMts-8Nr.js";
11
11
  import je from "./components/Shared/tooltip.js";
12
- import { getCurrencySymbol as be, removeExtraSpace as He, getOrionBalance as Xe } from "./util/functions.js";
12
+ import { getCurrencySymbol as be, removeExtraSpace as Ue, getOrionBalance as He } from "./util/functions.js";
13
13
  import ne from "./components/RocketRamp/Shared/Button/index.js";
14
14
  import Ce from "./components/RocketRamp/Shared/backBtn.js";
15
- import { T as s } from "./Typography-Dx54MRM5.js";
16
- import { B as f } from "./Box-BOgpENcC.js";
17
- import { G as o } from "./Grid2-B0mJbwjl.js";
18
- import { C as A } from "./CircularProgress-BAEiXRSn.js";
15
+ import { T as s } from "./Typography-Du8mj1kr.js";
16
+ import { B as f } from "./Box-Bt8cGqC7.js";
17
+ import { G as o } from "./Grid2-IYppkw5f.js";
18
+ import { C as A } from "./CircularProgress-DYCklg37.js";
19
19
  import "@incodetech/welcome";
20
20
  import "./axios-BEX6n2A7.js";
21
- import { useSnackBar as Qe } from "./hooks/useSnackBar.js";
21
+ import { useSnackBar as Xe } from "./hooks/useSnackBar.js";
22
22
  import "./components/SignUp/pin.js";
23
- import { u as Je, a as $ } from "./react-redux-B4BZippc.js";
24
- import './assets/main.css';import './assets/index9.css';/* empty css */
23
+ import { f as Je } from "./fiatAssets-Dymvf3Le.js";
24
+ import { u as Qe, a as $ } from "./react-redux-B4BZippc.js";
25
+ import './assets/main.css';import './assets/index10.css';/* empty css */
25
26
  import "./util/conversions.js";
26
27
  import "./index-CAoLi5Qq.js";
27
28
  import "./react-webcam-B3cXh1XT.js";
@@ -32,22 +33,19 @@ import "./index.esm-BsMAMhYW.js";
32
33
  import "./web3-u4qDZYpo.js";
33
34
  import "./index-B8QKlEgj.js";
34
35
  import Ze from "./components/RocketRamp/MinimalKyc/form.js";
35
- import { c as et } from "./createSvgIcon-jkXneOQN.js";
36
+ import { c as et } from "./createSvgIcon-DhzhBkIq.js";
36
37
  import { s as fe, p as tt, h as rt, v as nt } from "./index-ceeCtFuh.js";
37
- import { I as it } from "./TextField-BqIvz6Zw.js";
38
- import { F as at } from "./FormControl-Nd-4LC8N.js";
39
- import { S as ot } from "./Select-DTQDmdn_.js";
40
- import { M as ye } from "./MenuItem-D12FP5Iq.js";
41
- import { L as st } from "./ListItemIcon-JAntieDc.js";
42
- import { I as xe } from "./IconButton-DAR3jsEV.js";
43
- const ct = (N) => ({
44
- type: qe,
45
- payload: N
46
- }), L = {
38
+ import { I as it } from "./TextField-D4JEGFa0.js";
39
+ import { F as at } from "./FormControl-CKGUH1ax.js";
40
+ import { S as ot } from "./Select-Bs7YLhIQ.js";
41
+ import { M as ye } from "./MenuItem-DI0pq5k0.js";
42
+ import { L as st } from "./ListItemIcon-SEyOLp6t.js";
43
+ import { I as xe } from "./IconButton-DJRmyJ7l.js";
44
+ const L = {
47
45
  "confirm-payment": "_confirm-payment_alxbn_1",
48
46
  "confirm-transaction-network": "_confirm-transaction-network_alxbn_33",
49
47
  "buy-info": "_buy-info_alxbn_57"
50
- }, lt = ({
48
+ }, ct = ({
51
49
  setScreen: N,
52
50
  orderData: b,
53
51
  dispatch: u,
@@ -55,22 +53,22 @@ const ct = (N) => ({
55
53
  cryptoAssets: C,
56
54
  getCryptoAssets: r,
57
55
  showAlertMessage: y,
58
- partnerKey: F,
56
+ partnerKey: T,
59
57
  balance: v
60
58
  }) => {
61
- const E = "USD", m = be(E), p = h.fiats, P = h.loader, x = C.featureTokens.list, M = C.featureTokens.default, G = C.loader, d = b.loader, k = b.estimate, S = k.crypto_out_amount, R = k.conversion_price, U = k.total_fee;
62
- let V = 0, j = 0;
59
+ const E = "USD", m = be(E), p = h.fiats, P = h.loader, x = C.featureTokens.list, M = C.featureTokens.default, G = C.loader, d = b.loader, k = b.estimate, z = k.crypto_out_amount, R = k.conversion_price, j = k.total_fee;
60
+ let V = 0, U = 0;
63
61
  const Y = k.fee_breakdown;
64
62
  for (let t = 0; t < Y.length; t++) {
65
63
  const a = Y[t];
66
- a.name === "ev_fee" ? V = Number(a.value) : a.name === "network_fee" && (j = Number(a.value));
64
+ a.name === "ev_fee" ? V = Number(a.value) : a.name === "network_fee" && (U = Number(a.value));
67
65
  }
68
- const [_, O] = c({
66
+ const [g, O] = c({
69
67
  symbol: ""
70
- }), [W, z] = c(!1), [I, H] = c(0), [i, D] = c(0), [X, J] = c([]), [Q, Ne] = c(!1), [oe, ve] = c(50), [se, Ee] = c(3e3), [Z, ke] = c(50), [ce, Ie] = c(3e3), [Ae, K] = c(""), [w, le] = c(
68
+ }), [W, S] = c(!1), [I, H] = c(0), [i, D] = c(0), [X, Q] = c([]), [J, Ne] = c(!1), [oe, ve] = c(50), [se, Ee] = c(3e3), [Z, ke] = c(50), [ce, Ie] = c(3e3), [Ae, K] = c(""), [w, le] = c(
71
69
  k.fiat_amount || Z.toString()
72
70
  );
73
- g(() => {
71
+ _(() => {
74
72
  if (k.crypto_currency) {
75
73
  const t = x.find(
76
74
  (a) => a.symbol === k.crypto_currency
@@ -78,9 +76,9 @@ const ct = (N) => ({
78
76
  O(t);
79
77
  } else
80
78
  M && M.id && O(M);
81
- }, [M, k.crypto_currency]), g(() => {
79
+ }, [M, k.crypto_currency]), _(() => {
82
80
  i && r(i);
83
- }, [i]), g(() => {
81
+ }, [i]), _(() => {
84
82
  if (p.length === 0)
85
83
  return;
86
84
  const t = [];
@@ -95,54 +93,54 @@ const ct = (N) => ({
95
93
  }
96
94
  q || H(t[0].id);
97
95
  }
98
- J(t);
96
+ Q(t);
99
97
  }
100
- }, [E, p]), g(() => {
101
- if (_ && _.id && w && I && i) {
102
- u($e()), z(!1), K("");
98
+ }, [E, p]), _(() => {
99
+ if (g && g.id && w && I && i) {
100
+ u(qe()), S(!1), K("");
103
101
  const t = setTimeout(() => {
104
- Te();
102
+ Fe();
105
103
  }, 1e3);
106
104
  return () => clearTimeout(t);
107
105
  }
108
- }, [_, w, I, x, i]);
109
- const Te = () => {
106
+ }, [g, w, I, x, i]);
107
+ const Fe = () => {
110
108
  var q;
111
109
  const t = parseFloat(w);
112
- if (_.symbol === de) {
110
+ if (g.symbol === de) {
113
111
  if (oe > t)
114
112
  return K(
115
113
  `Minimum value should be greater than ${m + oe}`
116
- ), z(!0), !1;
114
+ ), S(!0), !1;
117
115
  if (se * 1 < t)
118
116
  return K(
119
117
  `Maximum value should be less than ${m + se}`
120
- ), z(!0), !1;
118
+ ), S(!0), !1;
121
119
  } else {
122
120
  if (Z * 1 > t)
123
121
  return K(
124
122
  `Minimum value should be greater than ${m + Z}`
125
- ), z(!0), !1;
123
+ ), S(!0), !1;
126
124
  if (ce * 1 < t)
127
125
  return K(
128
126
  `Maximum value should be less than ${m + ce}`
129
- ), z(!0), !1;
127
+ ), S(!0), !1;
130
128
  }
131
129
  const a = X.find((B) => B.id === I), l = a.payment_type;
132
130
  u(
133
- ge({
134
- apiKey: F,
135
- transaction_type: _.symbol === de ? te : re,
131
+ _e({
132
+ apiKey: T,
133
+ transaction_type: g.symbol === de ? te : re,
136
134
  coin_amount: w,
137
- exchange: _.exchange,
135
+ exchange: g.exchange,
138
136
  payment_type: l,
139
137
  fiat_ccy: E,
140
- crypto_ccy: _.symbol,
141
- network: (q = _.network) == null ? void 0 : q.name,
138
+ crypto_ccy: g.symbol,
139
+ network: (q = g.network) == null ? void 0 : q.name,
142
140
  payment_provider: a.payment_provider
143
141
  })
144
142
  );
145
- }, Fe = ({ value: t, label: a }) => {
143
+ }, Te = ({ value: t, label: a }) => {
146
144
  let l;
147
145
  if (a === "credit_debit_card" ? (l = Ve, I === t && (l = Ye)) : (l = We, I === t && (l = De)), a)
148
146
  return /* @__PURE__ */ e(
@@ -155,7 +153,7 @@ const ct = (N) => ({
155
153
  }
156
154
  );
157
155
  };
158
- g(() => {
156
+ _(() => {
159
157
  const t = b.types.length;
160
158
  if (t > 0)
161
159
  for (let a = 0; a < t; a++) {
@@ -176,20 +174,20 @@ const ct = (N) => ({
176
174
  }, Pe = (t) => {
177
175
  const a = x.find((l) => l.symbol === t);
178
176
  O(a);
179
- }, Se = () => {
180
- if (!_.id)
177
+ }, ze = () => {
178
+ if (!g.id)
181
179
  return y({ message: "Please select token" }), !1;
182
180
  if (!I)
183
181
  return y({ message: "Please select payment method" }), !1;
184
182
  if (!w)
185
183
  return y({ message: "Please enter amount" }), !1;
186
- if (!S)
184
+ if (!z)
187
185
  return y({
188
186
  message: "Please wait for the estimate to be calculated and then press next"
189
187
  }), !1;
190
188
  N(ae);
191
189
  };
192
- return /* @__PURE__ */ n(T, { children: [
190
+ return /* @__PURE__ */ n(F, { children: [
193
191
  /* @__PURE__ */ n(o, { mt: 0.5, spacing: 1, container: !0, children: [
194
192
  /* @__PURE__ */ e(o, { size: { xs: 3.5 }, children: /* @__PURE__ */ n(f, { className: L["buy-info"], children: [
195
193
  /* @__PURE__ */ e(s, { variant: "2xl", children: /* @__PURE__ */ e("strong", { children: "Buy Credits" }) }),
@@ -245,7 +243,7 @@ const ct = (N) => ({
245
243
  /* @__PURE__ */ n(f, { className: "text-left", mt: 3, children: [
246
244
  /* @__PURE__ */ e(s, { variant: "sm", fontWeight: 600, children: "Select Payment Method" }),
247
245
  P ? /* @__PURE__ */ e(A, { sx: { ml: 1, mt: 3 }, size: 50 }) : /* @__PURE__ */ e(o, { mt: 0.5, container: !0, children: X.map((t) => /* @__PURE__ */ e(o, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(
248
- Fe,
246
+ Te,
249
247
  {
250
248
  label: t.payment_type,
251
249
  value: t.id
@@ -258,7 +256,7 @@ const ct = (N) => ({
258
256
  {
259
257
  label: "You Receive",
260
258
  labelFontWeight: 600,
261
- value: S && parseFloat((+S * 1).toFixed(5)),
259
+ value: z && parseFloat((+z * 1).toFixed(5)),
262
260
  type: "text",
263
261
  error: W,
264
262
  readOnly: !0,
@@ -266,7 +264,7 @@ const ct = (N) => ({
266
264
  fullWidth: !0
267
265
  }
268
266
  ) }),
269
- /* @__PURE__ */ e(o, { size: { xs: 5 }, className: "content-center", children: G ? /* @__PURE__ */ e(A, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ n(T, { children: [
267
+ /* @__PURE__ */ e(o, { size: { xs: 5 }, className: "content-center", children: G ? /* @__PURE__ */ e(A, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ n(F, { children: [
270
268
  /* @__PURE__ */ e(it, { children: " " }),
271
269
  /* @__PURE__ */ e(at, { variant: "outlined", fullWidth: !0, children: /* @__PURE__ */ n(
272
270
  ot,
@@ -279,7 +277,7 @@ const ct = (N) => ({
279
277
  padding: "10px"
280
278
  }
281
279
  },
282
- value: _.symbol,
280
+ value: g.symbol,
283
281
  onChange: (t) => Pe(t.target.value),
284
282
  children: [
285
283
  /* @__PURE__ */ e(ye, { value: "", children: "Please select" }),
@@ -317,7 +315,7 @@ const ct = (N) => ({
317
315
  Re,
318
316
  {
319
317
  sx: {
320
- transform: `rotate(${Q ? "90" : "0"}deg)`,
318
+ transform: `rotate(${J ? "90" : "0"}deg)`,
321
319
  fontSize: "15px"
322
320
  }
323
321
  }
@@ -325,7 +323,7 @@ const ct = (N) => ({
325
323
  ]
326
324
  }
327
325
  ) }),
328
- Q && /* @__PURE__ */ n(T, { children: [
326
+ J && /* @__PURE__ */ n(F, { children: [
329
327
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Everest Fee" }) }),
330
328
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(s, { variant: "caption", children: [
331
329
  m,
@@ -348,18 +346,18 @@ const ct = (N) => ({
348
346
  size: 15,
349
347
  color: "primary"
350
348
  }
351
- ) : j.toFixed(2)
349
+ ) : U.toFixed(2)
352
350
  ] }) })
353
351
  ] }),
354
352
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Total Fees" }) }),
355
353
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(s, { variant: "caption", children: [
356
354
  m,
357
- d ? /* @__PURE__ */ e(A, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(U).toFixed(2)
355
+ d ? /* @__PURE__ */ e(A, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(j).toFixed(2)
358
356
  ] }) }),
359
- _ && /* @__PURE__ */ n(T, { children: [
357
+ g && /* @__PURE__ */ n(F, { children: [
360
358
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ n(s, { variant: "caption", children: [
361
359
  "1 ",
362
- _.symbol,
360
+ g.symbol,
363
361
  " ",
364
362
  /* @__PURE__ */ e(
365
363
  je,
@@ -393,29 +391,29 @@ const ct = (N) => ({
393
391
  /* @__PURE__ */ e(f, { mt: 4, children: /* @__PURE__ */ e(
394
392
  ne,
395
393
  {
396
- onClick: Se,
397
- disabled: W || !S,
394
+ onClick: ze,
395
+ disabled: W || !z,
398
396
  fullWidth: !0,
399
397
  children: /* @__PURE__ */ e("strong", { children: "Next" })
400
398
  }
401
399
  ) })
402
400
  ] });
403
- }, mt = ({
401
+ }, lt = ({
404
402
  setScreen: N,
405
403
  partnerKey: b,
406
404
  orderData: u,
407
405
  dispatch: h,
408
406
  walletAddress: C
409
407
  }) => {
410
- const r = u.estimate, y = u.create.order_id, F = u.loader, v = r.fiat_amount, E = be(r.fiat_currency), [m, p] = c(!1);
411
- g(() => {
412
- y && m && N(pt);
413
- }, [y]), g(() => {
408
+ const r = u.estimate, y = u.create.order_id, T = u.loader, v = r.fiat_amount, E = be(r.fiat_currency), [m, p] = c(!1);
409
+ _(() => {
410
+ y && m && N(ut);
411
+ }, [y]), _(() => {
414
412
  P();
415
413
  }, []);
416
414
  const P = () => {
417
415
  h(
418
- ge({
416
+ _e({
419
417
  ...r,
420
418
  apiKey: b,
421
419
  transaction_type: r.transaction_type,
@@ -430,21 +428,21 @@ const ct = (N) => ({
430
428
  );
431
429
  }, x = () => {
432
430
  h(
433
- Ge({
431
+ $e({
434
432
  apiKey: b,
435
433
  quoteId: r.quote_id,
436
434
  walletAddress: C
437
435
  })
438
436
  ), p(!0);
439
437
  };
440
- return /* @__PURE__ */ n(T, { children: [
438
+ return /* @__PURE__ */ n(F, { children: [
441
439
  /* @__PURE__ */ e(Ce, { onClickHandler: () => N(ie) }),
442
440
  /* @__PURE__ */ e(s, { mt: 2, variant: "sm", fontWeight: 600, children: "Using payment method" }),
443
441
  /* @__PURE__ */ n(f, { mt: 2, className: L["confirm-payment"], children: [
444
442
  /* @__PURE__ */ e(
445
443
  "img",
446
444
  {
447
- src: r.payment_type === ue ? Ke : _e,
445
+ src: r.payment_type === ue ? Ke : ge,
448
446
  width: 100,
449
447
  alt: "payment"
450
448
  }
@@ -509,18 +507,18 @@ const ct = (N) => ({
509
507
  ne,
510
508
  {
511
509
  onClick: x,
512
- disabled: F,
510
+ disabled: T,
513
511
  fullWidth: !0,
514
- children: /* @__PURE__ */ e("strong", { children: F ? /* @__PURE__ */ n(T, { children: [
512
+ children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ n(F, { children: [
515
513
  /* @__PURE__ */ e(A, { size: 15, color: "inherit" }),
516
514
  " Processing..."
517
515
  ] }) : "Payment Details" })
518
516
  }
519
517
  ) })
520
518
  ] });
521
- }, dt = et(/* @__PURE__ */ e("path", {
519
+ }, mt = et(/* @__PURE__ */ e("path", {
522
520
  d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
523
- }), "ErrorOutline"), ut = ({
521
+ }), "ErrorOutline"), dt = ({
524
522
  checkoutKey: N,
525
523
  setScreen: b,
526
524
  showAlertMessage: u,
@@ -528,38 +526,38 @@ const ct = (N) => ({
528
526
  orderData: C,
529
527
  dispatch: r
530
528
  }) => {
531
- const y = C.estimate, F = C.create.order_id, v = C.payment, [E, m] = c(!0), [p, P] = c(""), [x, M] = c(!1), [G, d] = c({
529
+ const y = C.estimate, T = C.create.order_id, v = C.payment, [E, m] = c(!0), [p, P] = c(""), [x, M] = c(!1), [G, d] = c({
532
530
  name: "",
533
531
  billingAddress: {
534
532
  addressLine1: ""
535
533
  }
536
- }), [k, S] = c(!1), [R, U] = c(!0), [V, j] = c(!0), [Y, _] = c(!0), [O, W] = c(!0);
537
- g(() => {
534
+ }), [k, z] = c(!1), [R, j] = c(!0), [V, U] = c(!0), [Y, g] = c(!0), [O, W] = c(!0);
535
+ _(() => {
538
536
  v._links.redirect.href && window.location.replace(v._links.redirect.href);
539
- }, [v]), g(() => {
537
+ }, [v]), _(() => {
540
538
  d({
541
539
  name: p,
542
540
  billingAddress: {
543
541
  addressLine1: ""
544
542
  }
545
543
  });
546
- }, [p]), g(() => {
547
- !V && !Y && !O && p !== "" ? R && U(!1) : R || U(!0);
544
+ }, [p]), _(() => {
545
+ !V && !Y && !O && p !== "" ? R && j(!1) : R || j(!0);
548
546
  }, [p, V, Y, O]);
549
- const z = (i, D, X, J = /./) => {
550
- if (i !== "" && !J.test(i))
547
+ const S = (i, D, X, Q = /./) => {
548
+ if (i !== "" && !Q.test(i))
551
549
  return !1;
552
550
  D(i);
553
- const Q = typeof i == "string" ? He(i) : i;
554
- X(!Q);
551
+ const J = typeof i == "string" ? Ue(i) : i;
552
+ X(!J);
555
553
  }, I = (i) => {
556
554
  if (i && i.element)
557
555
  switch (i.element) {
558
556
  case "card-number":
559
- j(i.isEmpty || !i.isValid);
557
+ U(i.isEmpty || !i.isValid);
560
558
  break;
561
559
  case "expiry-date":
562
- _(i.isEmpty || !i.isValid);
560
+ g(i.isEmpty || !i.isValid);
563
561
  break;
564
562
  case "cvv":
565
563
  W(i.isEmpty || !i.isValid);
@@ -570,23 +568,23 @@ const ct = (N) => ({
570
568
  }
571
569
  }, H = (i) => {
572
570
  if (i === "") {
573
- u({ message: "Error processing card" }), S(!1), b(ie);
571
+ u({ message: "Error processing card" }), z(!1), b(ie);
574
572
  return;
575
573
  }
576
574
  const D = {
577
575
  token: i,
578
576
  amount: Number(y.fiat_amount),
579
577
  currency: y.fiat_currency,
580
- reference: F,
578
+ reference: T,
581
579
  success_url: `${h}/dashboard?payment=success`,
582
580
  fail_url: `${h}/dashboard?payment=failed`
583
581
  };
584
- r(Ue(D));
582
+ r(Ge(D));
585
583
  };
586
- return /* @__PURE__ */ n(T, { children: [
584
+ return /* @__PURE__ */ n(F, { children: [
587
585
  /* @__PURE__ */ e(Ce, { onClickHandler: () => b(ae) }),
588
586
  /* @__PURE__ */ n(s, { className: "text-center", variant: "subtitle1", mt: 2, children: [
589
- /* @__PURE__ */ e("img", { src: _e, width: 140, alt: "Debit Card" }),
587
+ /* @__PURE__ */ e("img", { src: ge, width: 140, alt: "Debit Card" }),
590
588
  /* @__PURE__ */ e("br", {}),
591
589
  /* @__PURE__ */ e("b", { children: "Debit Card" })
592
590
  ] }),
@@ -597,7 +595,7 @@ const ct = (N) => ({
597
595
  variant: "caption",
598
596
  mt: 2,
599
597
  children: [
600
- /* @__PURE__ */ e(dt, {}),
598
+ /* @__PURE__ */ e(mt, {}),
601
599
  "   ",
602
600
  /* @__PURE__ */ e("b", { style: { marginTop: "3px" }, children: "Fiat purchasing is not available for users with Chase and Citi bank accounts" })
603
601
  ]
@@ -653,7 +651,7 @@ const ct = (N) => ({
653
651
  I(i);
654
652
  },
655
653
  cardSubmitted: () => {
656
- S(!0);
654
+ z(!0);
657
655
  },
658
656
  cardTokenized: (i) => {
659
657
  H(i.token);
@@ -667,7 +665,7 @@ const ct = (N) => ({
667
665
  {
668
666
  label: "Name on Card",
669
667
  value: p,
670
- onChange: (i) => z(i.target.value, P, M),
668
+ onChange: (i) => S(i.target.value, P, M),
671
669
  error: x
672
670
  }
673
671
  ),
@@ -712,7 +710,7 @@ const ct = (N) => ({
712
710
  },
713
711
  fullWidth: !0,
714
712
  disabled: R,
715
- children: /* @__PURE__ */ e("strong", { children: k ? /* @__PURE__ */ n(T, { children: [
713
+ children: /* @__PURE__ */ e("strong", { children: k ? /* @__PURE__ */ n(F, { children: [
716
714
  /* @__PURE__ */ e(A, { size: 15, color: "inherit" }),
717
715
  " Processing..."
718
716
  ] }) : "Pay" })
@@ -723,25 +721,25 @@ const ct = (N) => ({
723
721
  ) }),
724
722
  /* @__PURE__ */ e(f, { mt: 8, children: /* @__PURE__ */ e("div", { id: "st-animated-card" }) })
725
723
  ] });
726
- }, ie = "FORM_SCREEN", ae = "CONFIRM_SCREEN", pt = "PAYMENT_SCREEN", ht = "MINIMAL_KYC_SCREEN", ft = ({ partnerKey: N, rrBaseUrl: b }) => {
727
- const u = Je(), h = $((d) => d.order), C = $(
724
+ }, ie = "FORM_SCREEN", ae = "CONFIRM_SCREEN", ut = "PAYMENT_SCREEN", pt = "MINIMAL_KYC_SCREEN", ht = ({ partnerKey: N, rrBaseUrl: b }) => {
725
+ const u = Qe(), h = $((d) => d.order), C = $(
728
726
  (d) => d.user.profile
729
727
  ), r = h.error, y = $(
730
728
  (d) => d.user.profile.everWalletAddress
731
- ), F = $(
729
+ ), T = $(
732
730
  (d) => d.fiatAssets
733
731
  ), v = $(
734
732
  (d) => d.cryptoAssets
735
- ), [E, m] = c(ie), [p, P] = c(0), { showAlertMessage: x, snackBar: M } = Qe();
736
- return g(() => {
737
- P(Xe(C.tokens.list));
738
- }, [C.tokens]), g(() => {
733
+ ), [E, m] = c(ie), [p, P] = c(0), { showAlertMessage: x, snackBar: M } = Xe();
734
+ return _(() => {
735
+ P(He(C.tokens.list));
736
+ }, [C.tokens]), _(() => {
739
737
  r && x({ message: r });
740
- }, [r]), g(() => {
741
- h.initMinimalKyc && (x({ message: r, type: "info" }), m(ht));
742
- }, [h.initMinimalKyc]), g(() => {
743
- u(ct()), u(he(re)), u(he(te));
744
- }, []), /* @__PURE__ */ n(T, { children: [
738
+ }, [r]), _(() => {
739
+ h.initMinimalKyc && (x({ message: r, type: "info" }), m(pt));
740
+ }, [h.initMinimalKyc]), _(() => {
741
+ u(Je()), u(he(re)), u(he(te));
742
+ }, []), /* @__PURE__ */ n(F, { children: [
745
743
  M,
746
744
  /* @__PURE__ */ e(
747
745
  f,
@@ -754,11 +752,11 @@ const ct = (N) => ({
754
752
  },
755
753
  children: {
756
754
  FORM_SCREEN: /* @__PURE__ */ e(
757
- lt,
755
+ ct,
758
756
  {
759
757
  showAlertMessage: x,
760
758
  setScreen: m,
761
- fiatAssets: F,
759
+ fiatAssets: T,
762
760
  cryptoAssets: v,
763
761
  orderData: h,
764
762
  dispatch: u,
@@ -770,7 +768,7 @@ const ct = (N) => ({
770
768
  }
771
769
  ),
772
770
  CONFIRM_SCREEN: /* @__PURE__ */ e(
773
- mt,
771
+ lt,
774
772
  {
775
773
  partnerKey: N,
776
774
  setScreen: m,
@@ -781,7 +779,7 @@ const ct = (N) => ({
781
779
  }
782
780
  ),
783
781
  PAYMENT_SCREEN: /* @__PURE__ */ e(
784
- ut,
782
+ dt,
785
783
  {
786
784
  checkoutKey: "pk_sbox_xnmwsvzydkhjeyi34z4b6ea5qi4",
787
785
  setScreen: m,
@@ -803,14 +801,14 @@ const ct = (N) => ({
803
801
  }
804
802
  )
805
803
  ] });
806
- }, ir = ze(ft);
804
+ }, ir = Se(ht);
807
805
  export {
808
- lt as B,
809
- ut as C,
806
+ ct as B,
807
+ dt as C,
810
808
  ie as F,
811
- ht as M,
812
- pt as P,
813
- mt as a,
809
+ pt as M,
810
+ ut as P,
811
+ lt as a,
814
812
  ae as b,
815
813
  ir as i
816
814
  };