everest-npm-features 0.0.48 → 0.0.49

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 (96) hide show
  1. package/dist/{PlayArrow-Cnrxi5yr.js → PlayArrow-C3uVNo4F.js} +1 -1
  2. package/dist/{auth-C45E0xvK.js → auth-ClBgT--j.js} +1 -1
  3. package/dist/{bank-DIdz4BaB.js → bank-Dz5km1qK.js} +3 -3
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
  5. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  8. package/dist/components/RocketRamp/Player/Buy/index.js +12 -11
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
  10. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Sell/index.js +12 -11
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
  14. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/index.js +39 -38
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
  21. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  23. package/dist/components/RocketRamp/Transactions/index.js +14 -13
  24. package/dist/components/Shared/FullKyc/edd.js +41 -41
  25. package/dist/components/Shared/FullKyc/index.js +11 -10
  26. package/dist/components/Shared/FullKyc/pep.js +1 -1
  27. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  28. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  29. package/dist/components/Shared/MinimalKyc/index.js +31 -30
  30. package/dist/components/Wallet/Account/createIban.d.ts +2 -0
  31. package/dist/components/Wallet/Account/createIban.js +70 -62
  32. package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
  33. package/dist/components/Wallet/Account/eWallet.js +96 -0
  34. package/dist/components/Wallet/Account/iban.d.ts +2 -0
  35. package/dist/components/Wallet/Account/iban.js +38 -32
  36. package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
  37. package/dist/components/Wallet/Account/ibanItem.js +233 -76
  38. package/dist/components/Wallet/Account/index.d.ts +2 -0
  39. package/dist/components/Wallet/Account/index.js +164 -143
  40. package/dist/components/Wallet/Account/sendIban.js +3 -3
  41. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
  42. package/dist/components/Wallet/Buy/form.js +5 -5
  43. package/dist/components/Wallet/Buy/index.js +14 -13
  44. package/dist/components/Wallet/Deposit/index.js +1 -1
  45. package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
  46. package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
  47. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
  48. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  49. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  50. package/dist/components/Wallet/History/index.js +25 -24
  51. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
  52. package/dist/components/Wallet/Portfolio/index.js +21 -20
  53. package/dist/components/Wallet/Profile/documents.js +34 -33
  54. package/dist/components/Wallet/Profile/index.js +20 -19
  55. package/dist/components/Wallet/Profile/storage.js +26 -26
  56. package/dist/components/Wallet/Receive/index.js +22 -21
  57. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  58. package/dist/components/Wallet/Sell/form.js +5 -5
  59. package/dist/components/Wallet/Sell/index.js +13 -12
  60. package/dist/components/Wallet/Send/index.js +19 -18
  61. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  62. package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
  63. package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
  64. package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
  65. package/dist/components/Wallet/Shared/addBank.js +39 -38
  66. package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
  67. package/dist/components/Wallet/Shared/manualSend.js +6 -5
  68. package/dist/components/Wallet/SignIn/index.js +24 -23
  69. package/dist/components/Wallet/SignUp/index.js +22 -21
  70. package/dist/components/Wallet/Stake/index.js +30 -29
  71. package/dist/components/Wallet/Swap/form.js +8 -7
  72. package/dist/components/Wallet/Swap/index.js +11 -10
  73. package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
  74. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  75. package/dist/components/Wallet/Withdraw/form.js +4 -4
  76. package/dist/components/Wallet/Withdraw/index.js +12 -11
  77. package/dist/{constants-BSdmHYnc.js → constants-t7n9qCW3.js} +245 -244
  78. package/dist/{cryptoAssets-BdNVnpA_.js → cryptoAssets-shEFU26O.js} +1 -1
  79. package/dist/hooks/useEverestDispatch.d.ts +6 -0
  80. package/dist/hooks/useEverestDispatch.js +5 -0
  81. package/dist/{index-Be3ndI6s.js → index-B6MSTmAM.js} +104 -103
  82. package/dist/{index-HZ9RrpTC.js → index-C2EjFXaz.js} +87 -86
  83. package/dist/{index-BXF4OI74.js → index-Cs7bSfT3.js} +17 -16
  84. package/dist/{index-D3OzGVxQ.js → index-DFRU-R-5.js} +38 -37
  85. package/dist/{index-CRyby3Qm.js → index-Da0r8FX2.js} +11 -10
  86. package/dist/{index-BlfzmV5M.js → index-RDV0mQbt.js} +36 -35
  87. package/dist/{index-Cvp4wWrB.js → index-j0zehpzg.js} +40 -39
  88. package/dist/{kyc-BQsiHtP6.js → kyc-D9xahfH9.js} +1 -1
  89. package/dist/main.js +7 -7
  90. package/dist/{order-BKKCskeq.js → order-jqH948WM.js} +29 -25
  91. package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
  92. package/dist/{stake-WjG22nIX.js → stake-Dcq6QpaA.js} +3 -3
  93. package/dist/util/constants.d.ts +2 -0
  94. package/dist/util/constants.js +21 -19
  95. package/dist/{wallet-BXA-R-Ks.js → wallet-DpkUmmq0.js} +1 -1
  96. package/package.json +3 -2
@@ -1,4 +1,4 @@
1
- import { a1 as t, a2 as s, a3 as e } from "./constants-BSdmHYnc.js";
1
+ import { a2 as t, a3 as s, a4 as e } from "./constants-t7n9qCW3.js";
2
2
  const p = (a) => ({
3
3
  type: t,
4
4
  payload: a
@@ -0,0 +1,6 @@
1
+ type EverestAction = {
2
+ type: string;
3
+ };
4
+ export type EverestDispatch = <A extends EverestAction>(action: A) => A;
5
+ declare const useEverestDispatch: () => EverestDispatch;
6
+ export default useEverestDispatch;
@@ -0,0 +1,5 @@
1
+ import { a as s } from "../react-redux-C7I9-1M6.js";
2
+ const a = () => s();
3
+ export {
4
+ a as default
5
+ };
@@ -3,22 +3,23 @@ import { useState as c, useEffect as f } from "react";
3
3
  import Re from "./hoc/withThemeProvider.js";
4
4
  import Se from "./components/RocketRamp/Shared/backBtn.js";
5
5
  import { getCurrencySymbol as ue, getOrionBalance as Me } from "./util/functions.js";
6
- import { PAYMENT_BANK as ie, SEPA_ICON as ze, VISA_ICON as Oe, ID_TOKEN_SYMBOL as Pe, FIAT_WITHDRAW as we, FIAT_TO_EVER_ID as We, FIAT_TO_TOKEN as Be, ESTIMATE_TOOLTIP_TEXT as Le, TOKEN_TO_FIAT as Xe } from "./util/constants.js";
6
+ import { PAYMENT_BANK as oe, SEPA_ICON as ze, VISA_ICON as Oe, ID_TOKEN_SYMBOL as Pe, FIAT_WITHDRAW as we, FIAT_TO_EVER_ID as We, FIAT_TO_TOKEN as Be, ESTIMATE_TOOLTIP_TEXT as Le, TOKEN_TO_FIAT as Xe } from "./util/constants.js";
7
7
  import U from "./components/RocketRamp/Shared/Button/index.js";
8
- import { aB as j } from "./constants-BSdmHYnc.js";
9
- import { f as pe, g as De, k as Ye, e as qe, h as Ke } from "./order-BKKCskeq.js";
8
+ import { aC as j } from "./constants-t7n9qCW3.js";
9
+ import { f as pe, g as De, k as Ye, e as qe, h as Ke } from "./order-jqH948WM.js";
10
10
  import "./index-DlQqWbXG.js";
11
11
  import "./components/Wallet/Shared/appButton.js";
12
- import { u as $e, a as W } from "./react-redux-B4BZippc.js";
12
+ import { u as W } from "./react-redux-C7I9-1M6.js";
13
13
  import "./components/Wallet/Shared/Auth/otpForm.js";
14
- import { P as Ge, f as Ue } from "./PlayArrow-Cnrxi5yr.js";
15
- import { f as je } from "./cryptoAssets-BdNVnpA_.js";
14
+ import { P as $e, f as Ge } from "./PlayArrow-C3uVNo4F.js";
15
+ import { f as Ue } from "./cryptoAssets-shEFU26O.js";
16
16
  import "./context/snackBarContext.js";
17
+ import je from "./hooks/useEverestDispatch.js";
17
18
  import "./util/conversions.js";
18
19
  import "./index-CAoLi5Qq.js";
19
20
  import { useSnackBar as Ve } from "./hooks/useSnackBar.js";
20
21
  import "./react-webcam-B3cXh1XT.js";
21
- import oe from "./components/Shared/transition.js";
22
+ import ae from "./components/Shared/transition.js";
22
23
  import { M as He } from "./tooltip-3UvETWtS.js";
23
24
  import "./components/Wallet/Shared/pin.js";
24
25
  import "./moment-h96o7c8I.js";
@@ -32,7 +33,7 @@ import { G as Ze } from "./generic-token-B_ptO5yb.js";
32
33
  import se from "./components/RocketRamp/Shared/Input/index.js";
33
34
  import { G as n } from "./Grid-CFe3amXO.js";
34
35
  import { B as C } from "./Box-B0YSYLco.js";
35
- import { T as a } from "./Typography-pAaje37G.js";
36
+ import { T as i } from "./Typography-pAaje37G.js";
36
37
  import { C as I } from "./CircularProgress-xZA3lvba.js";
37
38
  import { I as et } from "./TextField-DPpRUQe3.js";
38
39
  import { F as tt } from "./FormControl-RtZDQMdA.js";
@@ -47,7 +48,7 @@ import './assets/index7.css';const E = {
47
48
  "confirm-transaction-network": "_confirm-transaction-network_1oe7d_33",
48
49
  "buy-info": "_buy-info_1oe7d_57",
49
50
  "close-btn": "_close-btn_1oe7d_77"
50
- }, at = ({
51
+ }, it = ({
51
52
  setScreen: T,
52
53
  partnerKey: y,
53
54
  orderData: d,
@@ -56,7 +57,7 @@ import './assets/index7.css';const E = {
56
57
  navigate: S,
57
58
  store: p
58
59
  }) => {
59
- const i = d.estimate, A = d.create.order_id, x = d.loader, h = d.card, l = i.crypto_amount, b = ue(i.fiat_currency), [F, _] = c(!1), [B, N] = c(!1), [s, L] = c(!1);
60
+ const o = d.estimate, A = d.create.order_id, x = d.loader, h = d.card, l = o.crypto_amount, b = ue(o.fiat_currency), [F, _] = c(!1), [B, N] = c(!1), [s, L] = c(!1);
60
61
  f(() => {
61
62
  A && F && (N(!1), L(!0));
62
63
  }, [A]), f(() => {
@@ -67,14 +68,14 @@ import './assets/index7.css';const E = {
67
68
  pe(
68
69
  {
69
70
  apiKey: y,
70
- transaction_type: i.transaction_type,
71
- coin_amount: i.fiat_amount,
72
- exchange: i.exchange,
73
- payment_type: i.payment_type,
74
- fiat_ccy: i.fiat_currency,
75
- crypto_ccy: i.crypto_currency,
76
- network: i.network,
77
- payment_provider: i.payment_provider
71
+ transaction_type: o.transaction_type,
72
+ coin_amount: o.fiat_amount,
73
+ exchange: o.exchange,
74
+ payment_type: o.payment_type,
75
+ fiat_ccy: o.fiat_currency,
76
+ crypto_ccy: o.crypto_currency,
77
+ network: o.network,
78
+ payment_provider: o.payment_provider
78
79
  },
79
80
  j
80
81
  )
@@ -83,7 +84,7 @@ import './assets/index7.css';const E = {
83
84
  k(
84
85
  De({
85
86
  apiKey: y,
86
- quoteId: i.quote_id,
87
+ quoteId: o.quote_id,
87
88
  walletAddress: u,
88
89
  paymentMethodId: h.payment_method.id,
89
90
  storeId: p.info.id
@@ -95,70 +96,70 @@ import './assets/index7.css';const E = {
95
96
  ] });
96
97
  return /* @__PURE__ */ t(v, { children: [
97
98
  /* @__PURE__ */ e(Se, { onClickHandler: () => T(he) }),
98
- /* @__PURE__ */ e(a, { mt: 2, variant: "sm", fontWeight: 600, children: "Token Send From" }),
99
+ /* @__PURE__ */ e(i, { mt: 2, variant: "sm", fontWeight: 600, children: "Token Send From" }),
99
100
  /* @__PURE__ */ t(C, { mt: 2, className: E["confirm-payment"], children: [
100
101
  /* @__PURE__ */ e(
101
102
  "img",
102
103
  {
103
- src: i.payment_type === ie ? ze : Oe,
104
+ src: o.payment_type === oe ? ze : Oe,
104
105
  width: 100,
105
106
  alt: "payment"
106
107
  }
107
108
  ),
108
- /* @__PURE__ */ e(a, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: i.payment_type === ie ? "Bank Account" : "Debit Card" }) })
109
+ /* @__PURE__ */ e(i, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: o.payment_type === oe ? "Bank Account" : "Debit Card" }) })
109
110
  ] }),
110
- /* @__PURE__ */ e(a, { mt: 4, variant: "sm", fontWeight: 600, children: "To Wallet Address" }),
111
+ /* @__PURE__ */ e(i, { mt: 4, variant: "sm", fontWeight: 600, children: "To Wallet Address" }),
111
112
  /* @__PURE__ */ e(
112
113
  C,
113
114
  {
114
115
  mt: 2,
115
116
  className: E["confirm-payment"],
116
117
  sx: { width: "100% !important" },
117
- children: /* @__PURE__ */ e(a, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: u }) })
118
+ children: /* @__PURE__ */ e(i, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: u }) })
118
119
  }
119
120
  ),
120
- /* @__PURE__ */ e(a, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
121
+ /* @__PURE__ */ e(i, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
121
122
  /* @__PURE__ */ e(C, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ t(n, { container: !0, children: [
122
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
123
- i.crypto_currency.toUpperCase(),
123
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
124
+ o.crypto_currency.toUpperCase(),
124
125
  " @",
125
126
  " ",
126
- Number(i.conversion_price).toFixed(2),
127
+ Number(o.conversion_price).toFixed(2),
127
128
  " ",
128
- i.fiat_currency
129
+ o.fiat_currency
129
130
  ] }) }),
130
131
  /* @__PURE__ */ e(n, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
131
132
  "span",
132
133
  {
133
134
  className: E["confirm-transaction-network"],
134
135
  style: {
135
- backgroundColor: i.network === "Ethereum" ? "#A1A9DC" : "#5D8CCC"
136
+ backgroundColor: o.network === "Ethereum" ? "#A1A9DC" : "#5D8CCC"
136
137
  },
137
- children: i.network
138
+ children: o.network
138
139
  }
139
140
  ) }),
140
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
141
- Number(i.crypto_amount).toFixed(2),
141
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
142
+ Number(o.crypto_amount).toFixed(2),
142
143
  " ",
143
- i.crypto_currency.toUpperCase()
144
+ o.crypto_currency.toUpperCase()
144
145
  ] }) }),
145
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
146
- (Number(l) - Number(i.total_fee)).toFixed(2),
146
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
147
+ (Number(l) - Number(o.total_fee)).toFixed(2),
147
148
  " ",
148
- i.fiat_currency
149
+ o.fiat_currency
149
150
  ] }) }),
150
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Total Fees" }) }),
151
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
152
- Number(i.total_fee).toFixed(2),
151
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
152
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
153
+ Number(o.total_fee).toFixed(2),
153
154
  " ",
154
- i.fiat_currency
155
+ o.fiat_currency
155
156
  ] }) }),
156
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Total Receive" }) }) }),
157
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: /* @__PURE__ */ t("strong", { children: [
157
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Total Receive" }) }) }),
158
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ t("strong", { children: [
158
159
  b,
159
- Number(i.fiat_out_amount).toFixed(2),
160
+ Number(o.fiat_out_amount).toFixed(2),
160
161
  " ",
161
- i.fiat_currency
162
+ o.fiat_currency
162
163
  ] }) }) })
163
164
  ] }) }),
164
165
  /* @__PURE__ */ e(C, { mt: 4, children: /* @__PURE__ */ e(
@@ -182,7 +183,7 @@ import './assets/index7.css';const E = {
182
183
  open: B,
183
184
  fullWidth: !0,
184
185
  onClose: () => N(!1),
185
- TransitionComponent: oe,
186
+ TransitionComponent: ae,
186
187
  children: [
187
188
  /* @__PURE__ */ e(
188
189
  V,
@@ -194,8 +195,8 @@ import './assets/index7.css';const E = {
194
195
  }
195
196
  ),
196
197
  /* @__PURE__ */ t(de, { sx: { mt: 1 }, children: [
197
- /* @__PURE__ */ e(a, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Payout Details" }) }),
198
- /* @__PURE__ */ e(a, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "You will receieve funds in the following card:" }),
198
+ /* @__PURE__ */ e(i, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Payout Details" }) }),
199
+ /* @__PURE__ */ e(i, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "You will receieve funds in the following card:" }),
199
200
  /* @__PURE__ */ t(n, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, children: [
200
201
  /* @__PURE__ */ e(z, { label: "Name", value: h.account_holder_name }),
201
202
  /* @__PURE__ */ e(
@@ -239,7 +240,7 @@ import './assets/index7.css';const E = {
239
240
  open: s,
240
241
  fullWidth: !0,
241
242
  onClose: () => L(!1),
242
- TransitionComponent: oe,
243
+ TransitionComponent: ae,
243
244
  children: [
244
245
  /* @__PURE__ */ e(
245
246
  V,
@@ -251,8 +252,8 @@ import './assets/index7.css';const E = {
251
252
  }
252
253
  ),
253
254
  /* @__PURE__ */ t(de, { sx: { mt: 1 }, children: [
254
- /* @__PURE__ */ e(a, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Order Complete" }) }),
255
- /* @__PURE__ */ e(a, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "Your order has been successfully completed. You can track your order either from dashboard or transaction history page." }),
255
+ /* @__PURE__ */ e(i, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Order Complete" }) }),
256
+ /* @__PURE__ */ e(i, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "Your order has been successfully completed. You can track your order either from dashboard or transaction history page." }),
256
257
  /* @__PURE__ */ t(n, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, children: [
257
258
  /* @__PURE__ */ e(z, { label: "Order ID ", value: A }),
258
259
  /* @__PURE__ */ e(
@@ -270,7 +271,7 @@ import './assets/index7.css';const E = {
270
271
  }
271
272
  )
272
273
  ] });
273
- }, it = ({
274
+ }, ot = ({
274
275
  setScreen: T,
275
276
  orderData: y,
276
277
  dispatch: d,
@@ -278,7 +279,7 @@ import './assets/index7.css';const E = {
278
279
  cryptoAssets: u,
279
280
  getCryptoAssets: S,
280
281
  showAlertMessage: p,
281
- partnerKey: i,
282
+ partnerKey: o,
282
283
  balance: A,
283
284
  store: x
284
285
  }) => {
@@ -288,12 +289,12 @@ import './assets/index7.css';const E = {
288
289
  let Y = 0, q = 0;
289
290
  const Z = s.fee_breakdown;
290
291
  for (let r = 0; r < Z.length; r++) {
291
- const o = Z[r];
292
- o.name === "ev_fee" ? Y = Number(o.value) : o.name === "network_fee" && (q = Number(o.value));
292
+ const a = Z[r];
293
+ a.name === "ev_fee" ? Y = Number(a.value) : a.name === "network_fee" && (q = Number(a.value));
293
294
  }
294
295
  const [g, H] = c({
295
296
  symbol: ""
296
- }), [J, O] = c(!1), [X, ye] = c(0), [K, xe] = c(0), [_e, ge] = c([]), [ee, be] = c(!1), [te, Ne] = c(50), [re, ve] = c(3e3), [Q, Ce] = c(50), [ne, ke] = c(3e3), [Fe, P] = c(""), [w, ae] = c(
297
+ }), [J, O] = c(!1), [X, ye] = c(0), [K, xe] = c(0), [_e, ge] = c([]), [ee, be] = c(!1), [te, Ne] = c(50), [re, ve] = c(3e3), [Q, Ce] = c(50), [ne, ke] = c(3e3), [Fe, P] = c(""), [w, ie] = c(
297
298
  s.crypto_amount || Q.toString()
298
299
  );
299
300
  f(() => {
@@ -301,7 +302,7 @@ import './assets/index7.css';const E = {
301
302
  }, []), f(() => {
302
303
  if (s.crypto_currency) {
303
304
  const r = F.find(
304
- (o) => o.symbol === s.crypto_currency
305
+ (a) => a.symbol === s.crypto_currency
305
306
  );
306
307
  H(r);
307
308
  } else
@@ -312,10 +313,10 @@ import './assets/index7.css';const E = {
312
313
  if (b.length === 0)
313
314
  return;
314
315
  const r = [];
315
- for (let o = 0; o < b.length; o++) {
316
- if (b[o].symbol === h) {
317
- const m = b[o].payment_options;
318
- xe(b[o].id);
316
+ for (let a = 0; a < b.length; a++) {
317
+ if (b[a].symbol === h) {
318
+ const m = b[a].payment_options;
319
+ xe(b[a].id);
319
320
  let $ = !1;
320
321
  for (let R = 0; R < m.length; R++) {
321
322
  const G = m[R];
@@ -356,8 +357,8 @@ import './assets/index7.css';const E = {
356
357
  `Maximum value should be less than ${l + ne}`
357
358
  ), O(!0), !1;
358
359
  }
359
- const o = parseFloat(x.balance.usd);
360
- if (r > o)
360
+ const a = parseFloat(x.balance.usd);
361
+ if (r > a)
361
362
  return P(
362
363
  `Store doesn't have enough balance. Currently only ${x.balance.usd} credits can be purchased`
363
364
  ), O(!0), !1;
@@ -365,7 +366,7 @@ import './assets/index7.css';const E = {
365
366
  d(
366
367
  pe(
367
368
  {
368
- apiKey: i,
369
+ apiKey: o,
369
370
  transaction_type: we,
370
371
  coin_amount: w,
371
372
  exchange: g.exchange,
@@ -382,8 +383,8 @@ import './assets/index7.css';const E = {
382
383
  f(() => {
383
384
  const r = y.types.length;
384
385
  if (r > 0)
385
- for (let o = 0; o < r; o++) {
386
- const m = y.types[o];
386
+ for (let a = 0; a < r; a++) {
387
+ const m = y.types[a];
387
388
  if (m.type === We) {
388
389
  Ne(parseFloat(m.min_deposit_amount)), ve(parseFloat(m.max_deposit_amount));
389
390
  break;
@@ -395,11 +396,11 @@ import './assets/index7.css';const E = {
395
396
  }
396
397
  }, [y.types]);
397
398
  const Ee = (r) => {
398
- const o = r.target.value;
399
- o ? /^([0-9]+)$/.test(o) && ae(o) : ae("");
399
+ const a = r.target.value;
400
+ a ? /^([0-9]+)$/.test(a) && ie(a) : ie("");
400
401
  }, Te = (r) => {
401
- const o = F.find((m) => m.symbol === r);
402
- H(o);
402
+ const a = F.find((m) => m.symbol === r);
403
+ H(a);
403
404
  }, Ae = () => {
404
405
  if (!g.id)
405
406
  return p({ message: "Please select token" }), !1;
@@ -420,8 +421,8 @@ import './assets/index7.css';const E = {
420
421
  return /* @__PURE__ */ t(v, { children: [
421
422
  /* @__PURE__ */ t(n, { mt: 0.5, spacing: 1, container: !0, children: [
422
423
  /* @__PURE__ */ e(n, { size: { xs: 3.5 }, children: /* @__PURE__ */ t(C, { className: E["buy-info"], children: [
423
- /* @__PURE__ */ e(a, { variant: "2xl", children: /* @__PURE__ */ e("strong", { children: "Redeem Request" }) }),
424
- /* @__PURE__ */ t(a, { variant: "md", children: [
424
+ /* @__PURE__ */ e(i, { variant: "2xl", children: /* @__PURE__ */ e("strong", { children: "Redeem Request" }) }),
425
+ /* @__PURE__ */ t(i, { variant: "md", children: [
425
426
  "1 credit = ",
426
427
  D,
427
428
  l
@@ -436,8 +437,8 @@ import './assets/index7.css';const E = {
436
437
  alignItems: "center"
437
438
  },
438
439
  children: [
439
- /* @__PURE__ */ e(a, { variant: "md", children: "MAX amount you can request:" }),
440
- /* @__PURE__ */ e(a, { variant: "md", children: x.balanceLoader ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : /* @__PURE__ */ t(v, { children: [
440
+ /* @__PURE__ */ e(i, { variant: "md", children: "MAX amount you can request:" }),
441
+ /* @__PURE__ */ e(i, { variant: "md", children: x.balanceLoader ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : /* @__PURE__ */ t(v, { children: [
441
442
  x.balance.usd,
442
443
  " credits"
443
444
  ] }) })
@@ -453,8 +454,8 @@ import './assets/index7.css';const E = {
453
454
  color: "white !important"
454
455
  },
455
456
  children: [
456
- /* @__PURE__ */ e(a, { variant: "md", className: "text-right", children: "Game Balance" }),
457
- /* @__PURE__ */ e(a, { variant: "lg", className: "text-right", children: A })
457
+ /* @__PURE__ */ e(i, { variant: "md", className: "text-right", children: "Game Balance" }),
458
+ /* @__PURE__ */ e(i, { variant: "lg", className: "text-right", children: A })
458
459
  ]
459
460
  }
460
461
  ) })
@@ -496,8 +497,8 @@ import './assets/index7.css';const E = {
496
497
  "img",
497
498
  {
498
499
  src: r.icon_uri,
499
- onError: ({ currentTarget: o }) => {
500
- o.onerror = null, o.src = Ze;
500
+ onError: ({ currentTarget: a }) => {
501
+ a.onerror = null, a.src = Ze;
501
502
  },
502
503
  alt: "tokenImg",
503
504
  width: "36",
@@ -533,9 +534,9 @@ import './assets/index7.css';const E = {
533
534
  disableFocusRipple: !0,
534
535
  disableRipple: !0,
535
536
  children: [
536
- /* @__PURE__ */ e(a, { variant: "md", fontWeight: 500, children: "Fee Calculation" }),
537
+ /* @__PURE__ */ e(i, { variant: "md", fontWeight: 500, children: "Fee Calculation" }),
537
538
  /* @__PURE__ */ e(
538
- Ge,
539
+ $e,
539
540
  {
540
541
  sx: {
541
542
  transform: `rotate(${ee ? "90" : "0"}deg)`,
@@ -547,8 +548,8 @@ import './assets/index7.css';const E = {
547
548
  }
548
549
  ) }),
549
550
  ee && /* @__PURE__ */ t(v, { children: [
550
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Everest Fee" }) }),
551
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
551
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
552
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
552
553
  l,
553
554
  N ? /* @__PURE__ */ e(
554
555
  I,
@@ -559,8 +560,8 @@ import './assets/index7.css';const E = {
559
560
  }
560
561
  ) : Y.toFixed(2)
561
562
  ] }) }),
562
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Network Fee" }) }),
563
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
563
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
564
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
564
565
  l,
565
566
  N ? /* @__PURE__ */ e(
566
567
  I,
@@ -572,13 +573,13 @@ import './assets/index7.css';const E = {
572
573
  ) : q.toFixed(2)
573
574
  ] }) })
574
575
  ] }),
575
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Total Fees" }) }),
576
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
576
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
577
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
577
578
  l,
578
579
  N ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(z).toFixed(2)
579
580
  ] }) }),
580
581
  g && /* @__PURE__ */ t(v, { children: [
581
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
582
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
582
583
  "1 ",
583
584
  g.symbol,
584
585
  " ",
@@ -598,7 +599,7 @@ import './assets/index7.css';const E = {
598
599
  }
599
600
  )
600
601
  ] }) }),
601
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
602
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
602
603
  l,
603
604
  N ? /* @__PURE__ */ e(
604
605
  I,
@@ -621,10 +622,10 @@ import './assets/index7.css';const E = {
621
622
  }
622
623
  ) })
623
624
  ] });
624
- }, he = "FORM_SCREEN", fe = "CONFIRM_SCREEN", Qt = "PAYMENT_SCREEN", ot = "MINIMAL_KYC_SCREEN", st = ({ partnerKey: T, navigate: y }) => {
625
- const d = $e(), k = W((s) => s.app), u = W((s) => s.order), S = W(
625
+ }, he = "FORM_SCREEN", fe = "CONFIRM_SCREEN", Zt = "PAYMENT_SCREEN", at = "MINIMAL_KYC_SCREEN", st = ({ partnerKey: T, navigate: y }) => {
626
+ const d = je(), k = W((s) => s.app), u = W((s) => s.order), S = W(
626
627
  (s) => s.user.profile
627
- ), p = u.error, i = W(
628
+ ), p = u.error, o = W(
628
629
  (s) => s.user.profile.everWalletAddress
629
630
  ), A = W(
630
631
  (s) => s.fiatAssets
@@ -636,9 +637,9 @@ import './assets/index7.css';const E = {
636
637
  }, [S.tokens]), f(() => {
637
638
  p && _({ message: p });
638
639
  }, [p]), f(() => {
639
- u.initMinimalKyc && (_({ message: p, type: "info" }), l(ot));
640
+ u.initMinimalKyc && (_({ message: p, type: "info" }), l(at));
640
641
  }, [u.initMinimalKyc]), f(() => {
641
- d(Ue()), d(Ke(Xe));
642
+ d(Ge()), d(Ke(Xe));
642
643
  }, []), /* @__PURE__ */ t(v, { children: [
643
644
  B,
644
645
  /* @__PURE__ */ e(
@@ -652,7 +653,7 @@ import './assets/index7.css';const E = {
652
653
  },
653
654
  children: {
654
655
  FORM_SCREEN: /* @__PURE__ */ e(
655
- it,
656
+ ot,
656
657
  {
657
658
  showAlertMessage: _,
658
659
  setScreen: l,
@@ -661,7 +662,7 @@ import './assets/index7.css';const E = {
661
662
  orderData: u,
662
663
  dispatch: d,
663
664
  getCryptoAssets: (s) => {
664
- d(je({ type: j, id: s, partnerKey: T }));
665
+ d(Ue({ type: j, id: s, partnerKey: T }));
665
666
  },
666
667
  partnerKey: T,
667
668
  balance: b,
@@ -669,14 +670,14 @@ import './assets/index7.css';const E = {
669
670
  }
670
671
  ),
671
672
  CONFIRM_SCREEN: /* @__PURE__ */ e(
672
- at,
673
+ it,
673
674
  {
674
675
  partnerKey: T,
675
676
  setScreen: l,
676
677
  showAlertMessage: _,
677
678
  orderData: u,
678
679
  dispatch: d,
679
- walletAddress: i,
680
+ walletAddress: o,
680
681
  navigate: y,
681
682
  store: k.store
682
683
  }
@@ -693,13 +694,13 @@ import './assets/index7.css';const E = {
693
694
  }
694
695
  )
695
696
  ] });
696
- }, Zt = Re(st);
697
+ }, er = Re(st);
697
698
  export {
698
- at as B,
699
+ it as B,
699
700
  fe as C,
700
701
  he as F,
701
- ot as M,
702
- Qt as P,
703
- it as S,
704
- Zt as i
702
+ at as M,
703
+ Zt as P,
704
+ ot as S,
705
+ er as i
705
706
  };