@blockend/widget 1.0.53 → 1.0.55-beta.1

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 (118) hide show
  1. package/dist/{AllRoutes-D7SQ_djS.js → AllRoutes-D6S-NFxZ.js} +9 -9
  2. package/dist/{Box-eYBli8DE.js → Box-DESo1bHm.js} +6 -6
  3. package/dist/EstGas-Dy3XfCzY.js +1496 -0
  4. package/dist/{Grow-DIpP1jgy.js → Grow-DzEr7XrA.js} +2 -2
  5. package/dist/{InputComp-CqKp9s9s.js → InputComp-GcnDqx_s.js} +3 -3
  6. package/dist/{LoadRoute-U-YYy2K3.js → LoadRoute-BmUgvDid.js} +4 -4
  7. package/dist/{QuotesProgress-zqHV9NVn.js → QuotesProgress-E5JnUMS0.js} +1 -1
  8. package/dist/{SwapAsset-BELTzo8V.js → SwapAsset-MBXcdeBf.js} +1 -1
  9. package/dist/{Tooltip-DHYTtHrE.js → Tooltip-DSAJT2x7.js} +3 -3
  10. package/dist/TxnButton-Br8R19rF.js +215 -0
  11. package/dist/{add-BwIWDVOf.js → add-BryKCrpI.js} +1 -1
  12. package/dist/{all-wallets-BV7E6F_5.js → all-wallets-BMVOK2Ci.js} +1 -1
  13. package/dist/{app-store-YEMLMArP.js → app-store-3WurbJdI.js} +1 -1
  14. package/dist/{apple-CgQVpLw3.js → apple-eM872Ubz.js} +1 -1
  15. package/dist/{arrow-bottom-CRrVrT6a.js → arrow-bottom-HMc73fJ8.js} +1 -1
  16. package/dist/{arrow-bottom-circle-uSjT8Rwu.js → arrow-bottom-circle-B1N_R8Ux.js} +1 -1
  17. package/dist/{arrow-left-CCnLL3nn.js → arrow-left-Q7GAZkD7.js} +1 -1
  18. package/dist/{arrow-right-DlnbfdJg.js → arrow-right-ft3TcIM3.js} +1 -1
  19. package/dist/{arrow-top-D-LM7HS0.js → arrow-top-C2xmF6tK.js} +1 -1
  20. package/dist/{bank-a2jDISgY.js → bank-Bk-2ZR5E.js} +1 -1
  21. package/dist/{basic-BPGeEjKa.js → basic-CWrKgDAB.js} +3 -3
  22. package/dist/{browser-CkPcErHl.js → browser-BFB3TFfv.js} +1 -1
  23. package/dist/{card-D7wnivhY.js → card-DCx59si8.js} +1 -1
  24. package/dist/{ccip-CHcnnTPb.js → ccip-CXr08uP1.js} +16 -16
  25. package/dist/{checkmark-Cs2cMRQF.js → checkmark-BGsuJuhE.js} +1 -1
  26. package/dist/{checkmark-bold-CqH2C5X1.js → checkmark-bold-DvjIl-51.js} +1 -1
  27. package/dist/{chevron-bottom-DgUwkJku.js → chevron-bottom-DAEnG7QP.js} +1 -1
  28. package/dist/{chevron-left-BcVL0AJj.js → chevron-left-D33h2ppx.js} +1 -1
  29. package/dist/{chevron-right-B2gAVYyw.js → chevron-right-C8Z_feNK.js} +1 -1
  30. package/dist/{chevron-top-CbzTNOsN.js → chevron-top-DwDMd3p9.js} +1 -1
  31. package/dist/{chrome-store-ClqKW_b4.js → chrome-store-B7ZDs2Fj.js} +1 -1
  32. package/dist/{clock-CZ61HTR5.js → clock-DnELUxSR.js} +1 -1
  33. package/dist/{close-BK4LD1ho.js → close-Dnt29Pss.js} +1 -1
  34. package/dist/{coinPlaceholder-BV1cYtd2.js → coinPlaceholder-C09pzuXv.js} +1 -1
  35. package/dist/{compass-DBPni3SF.js → compass-D8ZY16nH.js} +1 -1
  36. package/dist/{copy-DtT5Ilfh.js → copy-DEh4RBKI.js} +1 -1
  37. package/dist/{core-DW1LfS8S.js → core-CgIQaiRa.js} +16 -17
  38. package/dist/{cursor-DFsOHbuU.js → cursor-BtzkAOER.js} +1 -1
  39. package/dist/{cursor-transparent-B1EDdNh4.js → cursor-transparent-B0nCflmb.js} +1 -1
  40. package/dist/{desktop-BSVZc50y.js → desktop-toTG92uH.js} +1 -1
  41. package/dist/{disconnect-viKgGwNY.js → disconnect-C97lbAtY.js} +1 -1
  42. package/dist/{discord-CbPDNoe9.js → discord-BNJ3JePY.js} +1 -1
  43. package/dist/{down-BdHOrfT4.js → down-BFx-Bg5Q.js} +2 -2
  44. package/dist/{etherscan-BzCPwNdI.js → etherscan-CK87TQMS.js} +1 -1
  45. package/dist/{exclamation-triangle-BLtYhryv.js → exclamation-triangle-LWnOk0uz.js} +1 -1
  46. package/dist/{extension-D51cnS_y.js → extension-5eIZU28A.js} +1 -1
  47. package/dist/{external-link-1EdliA4O.js → external-link-DDlCfigP.js} +1 -1
  48. package/dist/{facebook-CFlh7Dpj.js → facebook-1lTMXKeH.js} +1 -1
  49. package/dist/{farcaster-mcqUptUZ.js → farcaster-Di2TUKlZ.js} +1 -1
  50. package/dist/{filters-3wQB0cY5.js → filters-B_THnHaX.js} +1 -1
  51. package/dist/{getChainIds-BANkCOEE.js → getChainIds-CeLEUxe0.js} +69 -69
  52. package/dist/getCosmosAddress-B8s9Ycj4.js +6075 -0
  53. package/dist/{github-BZ6HjM3r.js → github-D5B1FE4K.js} +1 -1
  54. package/dist/{google-DDSxVvC_.js → google-C8_WSUfw.js} +1 -1
  55. package/dist/{hamburger-CzgucnXk.js → hamburger-BzMrQx9y.js} +5 -5
  56. package/dist/{help-circle-D5aDSl5K.js → help-circle-C-ZOzjAP.js} +1 -1
  57. package/dist/{id-CYNm8Iqt.js → id-BynpKmej.js} +1 -1
  58. package/dist/{image-CQMOZulk.js → image-BRYUh760.js} +1 -1
  59. package/dist/{index-C5kvo12a.js → index-A8ClQmZo.js} +1 -1
  60. package/dist/{index-3VdzF1gV.js → index-BFUVWgoD.js} +78 -78
  61. package/dist/{index-Df1lOqUE.js → index-BK0BZT6j.js} +2600 -2622
  62. package/dist/index-C5bv1F_u.js +48843 -0
  63. package/dist/{index-C1UDOLq9.js → index-CN6pVc2G.js} +233 -241
  64. package/dist/index-CZwuzz6v.js +6712 -0
  65. package/dist/{index-CEbOV6hy.js → index-DHYWnqST.js} +1 -1
  66. package/dist/{index-DMD0kcnG.js → index-Dnyeih-W.js} +884 -813
  67. package/dist/{index-DlGQW646.js → index-DpHhW0_2.js} +2 -2
  68. package/dist/{index-oTak4j0W.js → index-SkYFFVLL.js} +11 -11
  69. package/dist/index-krrwn6Pi.js +206 -0
  70. package/dist/{index.es-BhN1DTXX.js → index.es-DB9y_DEM.js} +1 -1
  71. package/dist/index.es-vIyUKt0W.js +13232 -0
  72. package/dist/index.es.js +3 -2
  73. package/dist/{info-jv27M7m3.js → info-DSQyHS8b.js} +1 -1
  74. package/dist/{info-circle-CUy7raCU.js → info-circle-BfpWcI4c.js} +1 -1
  75. package/dist/{lightbulb-Dg84wz9J.js → lightbulb-DEMYYsZd.js} +1 -1
  76. package/dist/{mail-BmvI1eEM.js → mail-DNZ2to_6.js} +1 -1
  77. package/dist/{mobile-nbT-f90s.js → mobile-qsyS8oMK.js} +1 -1
  78. package/dist/{more-D5N_--2B.js → more-CnBuKwll.js} +1 -1
  79. package/dist/{network-placeholder-Dqj58Jvo.js → network-placeholder-DhJITakA.js} +1 -1
  80. package/dist/{nftPlaceholder-CwRHJWFO.js → nftPlaceholder-DD3-Cc9U.js} +1 -1
  81. package/dist/{off-CbNfAER2.js → off-CBApAdDk.js} +1 -1
  82. package/dist/{play-store-S7vuVGZC.js → play-store-DDoeRc-b.js} +1 -1
  83. package/dist/{plus-Dm_WFpLs.js → plus-C3J-XWCn.js} +1 -1
  84. package/dist/{qr-code-C57hb-Nm.js → qr-code-CEoOYtHk.js} +1 -1
  85. package/dist/{recycle-horizontal-C5RQV_TS.js → recycle-horizontal-BHJ_s9Yx.js} +1 -1
  86. package/dist/{refresh-BkmZxxGf.js → refresh-CtzOoHls.js} +1 -1
  87. package/dist/{reown-logo-qD9cAPWZ.js → reown-logo-BOj4YDUQ.js} +1 -1
  88. package/dist/{search-REmhFYCv.js → search--Miza3A_.js} +1 -1
  89. package/dist/{send-BeT9MX93.js → send-Bhl1lz4j.js} +1 -1
  90. package/dist/{swapHorizontal-DOphmFlr.js → swapHorizontal-CCvKCngz.js} +1 -1
  91. package/dist/{swapHorizontalBold-AuZckFTe.js → swapHorizontalBold-B90V-dXL.js} +1 -1
  92. package/dist/{swapHorizontalMedium-O3G4LtoW.js → swapHorizontalMedium-CYjeHjnI.js} +1 -1
  93. package/dist/{swapHorizontalRoundedBold-BTI3vDN8.js → swapHorizontalRoundedBold-DSMWeXdW.js} +1 -1
  94. package/dist/{swapVertical-C7PVGBzc.js → swapVertical-DOJUNIvk.js} +1 -1
  95. package/dist/{telegram-vQ5xN0Ac.js → telegram-CufEY_4d.js} +1 -1
  96. package/dist/{three-dots-Bfs9BhnJ.js → three-dots-J2ngva7G.js} +1 -1
  97. package/dist/{twitch-3OzmB49Y.js → twitch-B4vTKVf5.js} +1 -1
  98. package/dist/{twitterIcon-B5PBw26A.js → twitterIcon-DLrxpAGg.js} +1 -1
  99. package/dist/{unsupportedProp-CdKLbhlE.js → unsupportedProp-BLzY2-w_.js} +1 -1
  100. package/dist/{useRegisterError-DY4SqZO0.js → useRegisterError-Cf6oylnR.js} +1 -1
  101. package/dist/{verify-Rne5G5VT.js → verify-CbHqPQKs.js} +1 -1
  102. package/dist/{verify-filled-D7HTBXJf.js → verify-filled-CzKx9Cph.js} +1 -1
  103. package/dist/{w3m-modal-w8n6vImv.js → w3m-modal-DhpjK4cG.js} +2 -2
  104. package/dist/{wallet-a9Xlbfi8.js → wallet-CvIeO6On.js} +1 -1
  105. package/dist/{wallet-placeholder-BeGMf_JP.js → wallet-placeholder-BqELXTBj.js} +1 -1
  106. package/dist/{walletconnect-CnA6lXAN.js → walletconnect-BN4c4XQ5.js} +1 -1
  107. package/dist/{warning-circle-oQbNOUJk.js → warning-circle--dqxXujk.js} +1 -1
  108. package/dist/widget.css +1 -1
  109. package/dist/{x-0bdSPLtI.js → x-CkCp5gtL.js} +1 -1
  110. package/package.json +4 -2
  111. package/dist/EstGas-uPThONt-.js +0 -20281
  112. package/dist/TxnButton-CtczuoSf.js +0 -223
  113. package/dist/getCosmosAddress-BOA-n4al.js +0 -9566
  114. package/dist/index-B705NMZ_.js +0 -160
  115. package/dist/index-CmMHlKPv.js +0 -206
  116. package/dist/index-DTish3yr.js +0 -1014
  117. package/dist/index-DaSDqtx4.js +0 -30694
  118. package/dist/index.es-BjSHM6VO.js +0 -11678
@@ -0,0 +1,1496 @@
1
+ import { jsx as r, jsxs as h, Fragment as G } from "react/jsx-runtime";
2
+ import { u as c, l as rt, S as wt, a as jt, aI as _t, aJ as ot, aM as Zt, aN as Kt, aO as Xt, aP as Yt, aQ as te } from "./index-C5bv1F_u.js";
3
+ import { O as pt } from "./index-A8ClQmZo.js";
4
+ import ht, { useState as mt, useContext as J, useRef as dt, useEffect as H, createContext as ee, useMemo as ne } from "react";
5
+ import { W as re, C as Ut, B as se, L as oe, i as Gt, u as ie, f as ae, c as Mt, d as le, F as it } from "./useRegisterError-Cf6oylnR.js";
6
+ import { useAccount as ft, useConfig as ce, useWalletClient as xe, useSwitchChain as be } from "wagmi";
7
+ import { S as me } from "./shareicon-CG3v7iKI.js";
8
+ import { T as Ht } from "./Tooltip-DSAJT2x7.js";
9
+ import { L as de } from "./index.es-DB9y_DEM.js";
10
+ import { useStargateSigningClient as Lt, useAccount as ue } from "graz";
11
+ import { l as we, S as pe, D as he } from "./down-BFx-Bg5Q.js";
12
+ import { u as ye, g as Dt } from "./getCosmosAddress-B8s9Ycj4.js";
13
+ import { useDynamicContext as Ot } from "@dynamic-labs/sdk-react-core";
14
+ import { v as yt } from "./validError-CDlJpg_f.js";
15
+ import { useMutation as fe, useQuery as ke } from "@tanstack/react-query";
16
+ import { e as ge } from "./ethertousd-CC_ezooz.js";
17
+ function Se({ field: n }) {
18
+ var e, i;
19
+ const s = c((d) => d.persist), t = n == "from" ? ((e = s == null ? void 0 : s.route) == null ? void 0 : e.userWalletAddress) || "" : ((i = s == null ? void 0 : s.route) == null ? void 0 : i.recipient) || "";
20
+ return /* @__PURE__ */ r("button", { style: { fontSize: "12px" }, className: "bw-bg-background-container bw-flex bw-items-center bw-justify-center bw-gap-x-2 bw-mb-[4px] bw-w-[100px] bw-h-[25px] bw-rounded-xl bw-border bw-border-border-primary", children: t ? /* @__PURE__ */ h(G, { children: [
21
+ /* @__PURE__ */ r("p", { className: "bw-text-text-primary bw-text-xs bw-font-normal", children: ((t == null ? void 0 : t.substring(0, 4)) || "") + "..." + ((t == null ? void 0 : t.substring(t.length - 4, t.length)) || "") }),
22
+ /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(re, { fill: "var(--tw-text-primary)" }) })
23
+ ] }) : /* @__PURE__ */ r("div", { className: "bw-w-[10px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[10px]", children: /* @__PURE__ */ r(Ut, { size: 10, thickness: 5, color: "inherit" }) }) });
24
+ }
25
+ function Q0({ chainData: n, coinData: s, amount: t, field: e }) {
26
+ var a, w, f, m, y;
27
+ const i = c((k) => k.configuration), d = c((k) => k.persist);
28
+ return /* @__PURE__ */ h(
29
+ "div",
30
+ {
31
+ style: {
32
+ boxShadow: i && i.customTheme && ((w = (a = i.customTheme) == null ? void 0 : a.shadow) == null ? void 0 : w.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
33
+ },
34
+ className: `bw-bg-background-container bw-relative bw-z-10 bw-min-w-[50%] bw-px-2 md:bw-min-w-[153px] bw-flex bw-flex-col bw-items-center bw-justify-start bw-pt-2 bw-rounded-lg bw-h-[75px] bw-border ${(((f = d.statusData) == null ? void 0 : f.status) == "partial-success" || ((m = d.statusData) == null ? void 0 : m.status) == "refunded") && e == "to" ? "bw-border-text-redtext" : "bw-border-border-primary"} `,
35
+ children: [
36
+ /* @__PURE__ */ h("div", { className: `${((y = s == null ? void 0 : s.symbol) == null ? void 0 : y.length) > 6 ? "bw-text-base" : "bw-text-lg"} bw-text-center bw-font-medium bw-text-text-primary`, children: [
37
+ /* @__PURE__ */ r("span", { children: t ? /* @__PURE__ */ r(pt, { value: t == null ? void 0 : t.toString(), decimal: 8 }) : 0 }),
38
+ " ",
39
+ /* @__PURE__ */ r("span", { children: (s == null ? void 0 : s.symbol) || "" }),
40
+ /* @__PURE__ */ r("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: `on ${n == null ? void 0 : n.name}` })
41
+ ] }),
42
+ /* @__PURE__ */ r("div", { className: "bw-absolute -bw-bottom-4", children: /* @__PURE__ */ r(Se, { field: e }) })
43
+ ]
44
+ }
45
+ );
46
+ }
47
+ function z0({ handleBack: n }) {
48
+ return /* @__PURE__ */ r("div", { className: "bw-flex bw-z-20 bw-relative bw-justify-center bw-mb-5", children: /* @__PURE__ */ r(
49
+ "button",
50
+ {
51
+ onClick: () => {
52
+ n();
53
+ },
54
+ className: "bw-absolute bw-left-0 bw-top-[25%]",
55
+ children: /* @__PURE__ */ r(se, { fill: "var(--tw-text-secondary)" })
56
+ }
57
+ ) });
58
+ }
59
+ const Te = "_loader_1g6xv_1", ve = {
60
+ loader: Te
61
+ };
62
+ function It() {
63
+ return /* @__PURE__ */ h("div", { className: ve.loader, children: [
64
+ /* @__PURE__ */ r("span", {}),
65
+ /* @__PURE__ */ r("span", {}),
66
+ /* @__PURE__ */ r("span", {})
67
+ ] });
68
+ }
69
+ const at = ht.createContext(!1);
70
+ function Ee({ children: n }) {
71
+ return /* @__PURE__ */ r(
72
+ Ht,
73
+ {
74
+ onClose: () => {
75
+ },
76
+ disableInteractive: !0,
77
+ onClick: () => {
78
+ },
79
+ slotProps: {
80
+ popper: {
81
+ modifiers: [
82
+ {
83
+ name: "offset",
84
+ options: {
85
+ offset: [0, -10]
86
+ }
87
+ }
88
+ ]
89
+ }
90
+ },
91
+ className: "bw-text-text-button",
92
+ title: "Transaction Link",
93
+ children: n
94
+ }
95
+ );
96
+ }
97
+ function Ce({ fill: n }) {
98
+ return /* @__PURE__ */ h("svg", { width: "18", height: "9", viewBox: "0 0 18 9", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
99
+ /* @__PURE__ */ r("path", { d: "M6.34375 4.49902H11.4231", stroke: n, "stroke-width": "2", "stroke-linecap": "round" }),
100
+ /* @__PURE__ */ r("path", { d: "M4.81007 1C-0.269325 1 -0.270722 8 4.81007 8", stroke: n, "stroke-width": "2", "stroke-linecap": "round" }),
101
+ /* @__PURE__ */ r("path", { d: "M13.1899 1C18.2693 1 18.2707 8 13.1899 8", stroke: n, "stroke-width": "2", "stroke-linecap": "round" })
102
+ ] });
103
+ }
104
+ function kt({ txnHash: n, children: s }) {
105
+ const [t, e] = mt(!1);
106
+ return /* @__PURE__ */ r(
107
+ Ht,
108
+ {
109
+ onClose: () => {
110
+ setTimeout(() => {
111
+ e(!1);
112
+ }, [1e3]);
113
+ },
114
+ disableInteractive: !0,
115
+ onClick: () => {
116
+ navigator.clipboard.writeText(n).then(() => {
117
+ e(!0);
118
+ });
119
+ },
120
+ slotProps: {
121
+ popper: {
122
+ modifiers: [
123
+ {
124
+ name: "offset",
125
+ options: {
126
+ offset: [0, -10]
127
+ }
128
+ }
129
+ ]
130
+ }
131
+ },
132
+ className: "bw-text-text-button",
133
+ title: `${t ? "Copied!" : "Copy"}`,
134
+ children: s
135
+ }
136
+ );
137
+ }
138
+ function gt({ fill: n }) {
139
+ return /* @__PURE__ */ h("svg", { width: "11", height: "13", viewBox: "0 0 11 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
140
+ /* @__PURE__ */ r("rect", { x: "0.5", y: "3.5", width: "7", height: "9", rx: "1.5", stroke: n }),
141
+ /* @__PURE__ */ r("path", { d: "M3 1H8C9.10457 1 10 1.89543 10 3V10", stroke: n, "stroke-linecap": "round" })
142
+ ] });
143
+ }
144
+ const Ne = "4.8.0", Ae = { g: "LottieFiles AE 3.5.7", a: "", k: "", d: "", tc: "" }, De = 30, Ie = 0, Fe = 54, Be = 512, $e = 512, Ve = "Comp 1", Pe = 0, je = /* @__PURE__ */ JSON.parse('[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Outer Line Effect End Sphere 2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":35,"s":[100]},{"t":44,"s":[18]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":35,"s":[256,256,0],"to":[4.86,0.612,0],"ti":[-4.86,-0.612,0]},{"t":44,"s":[285.162,259.669,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[6.875,6.875],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[49.625,-52.688],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":35,"op":44,"st":-5,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Outer Line Effect End Sphere 1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":35,"s":[100]},{"t":44,"s":[18]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":35,"s":[256,256,0],"to":[2.124,2.897,0],"ti":[-2.124,-2.897,0]},{"t":44,"s":[268.746,273.381,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[3.75,3.75],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[45.875,-50.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":35,"op":44,"st":-5,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Tick End Effect Sphere 2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":13,"s":[100]},{"t":19,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":13,"s":[310.847,201.925,0],"to":[1.674,-2.382,0],"ti":[-1.674,2.382,0]},{"t":19,"s":[320.89,187.634,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[216.3,216.3,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.691,0],[0,-1.691],[-1.691,0],[0,1.691]],"o":[[-1.691,0],[0,1.691],[1.691,0],[0,-1.691]],"v":[[0,-3.062],[-3.062,0],[0,3.062],[3.062,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[44.125,-57.438],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 2","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.691,0],[0,-1.691],[-1.691,0],[0,1.691]],"o":[[-1.691,0],[0,1.691],[1.691,0],[0,-1.691]],"v":[[0,-3.062],[-3.062,0],[0,3.062],[3.062,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[44.125,-57.438],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":13,"op":19,"st":-5,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Tick End Effect Sphere 1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":13,"s":[100]},{"t":19,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":13,"s":[256,256,0],"to":[-0.515,-3.058,0],"ti":[0.515,3.058,0]},{"t":19,"s":[252.91,237.653,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.691,0],[0,-1.691],[-1.691,0],[0,1.691]],"o":[[-1.691,0],[0,1.691],[1.691,0],[0,-1.691]],"v":[[0,-3.062],[-3.062,0],[0,3.062],[3.062,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[44.125,-57.438],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 2","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.691,0],[0,-1.691],[-1.691,0],[0,1.691]],"o":[[-1.691,0],[0,1.691],[1.691,0],[0,-1.691]],"v":[[0,-3.062],[-3.062,0],[0,3.062],[3.062,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[44.125,-57.438],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":13,"op":19,"st":-5,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Tick Mid Effect Sphere 3","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":8,"s":[100]},{"t":18,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":8,"s":[257.448,257.835,0],"to":[-1.577,2.543,0],"ti":[1.577,-2.543,0]},{"t":18,"s":[247.985,273.092,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.759,0],[0,-0.759],[-0.759,0],[0,0.759]],"o":[[-0.759,0],[0,0.759],[0.759,0],[0,-0.759]],"v":[[0,-1.375],[-1.375,0],[0,1.375],[1.375,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-12.406,36.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":8,"op":18,"st":-5,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Tick Mid Effect Sphere 2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":8,"s":[100]},{"t":18,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":8,"s":[256,256,0],"to":[-1.481,3.734,0],"ti":[1.481,-3.734,0]},{"t":18,"s":[247.116,278.403,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[6.375,6.375],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-7.594,40.438],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":8,"op":18,"st":-5,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"Tick Mid Effect Sphere 1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":8,"s":[100]},{"t":18,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":8,"s":[256,256,0],"to":[3.251,2.768,0],"ti":[-3.251,-2.768,0]},{"t":18,"s":[275.506,272.609,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.484,0],[0,-1.484],[-1.484,0],[0,1.484]],"o":[[-1.484,0],[0,1.484],[1.484,0],[0,-1.484]],"v":[[0,-2.688],[-2.688,0],[0,2.688],[2.688,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-2.156,37.688],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":8,"op":18,"st":-5,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Intro Effect Sphere 1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":3,"s":[100]},{"t":11,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":3,"s":[55.247,114.922,0],"to":[-0.161,-1.899,0],"ti":[1.159,2.993,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":7,"s":[54.281,103.528,0],"to":[-1.159,-2.993,0],"ti":[0.998,1.094,0]},{"t":11,"s":[48.294,96.962,0]}],"ix":2},"a":{"a":0,"k":[-54.781,-49.094,0],"ix":1},"s":{"a":0,"k":[185.4,185.4,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[4.688,4.688],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-54.781,-49.094],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":3,"op":11,"st":-5,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Intro Effect Sphere 1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":3,"s":[100]},{"t":11,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":3,"s":[78.035,105.266,0],"to":[0.483,-1.996,0],"ti":[-1.642,2.8,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":7,"s":[80.932,93.292,0],"to":[1.642,-2.8,0],"ti":[-1.159,0.805,0]},{"t":11,"s":[87.885,88.464,0]}],"ix":2},"a":{"a":0,"k":[-54.781,-49.094,0],"ix":1},"s":{"a":0,"k":[185.4,185.4,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[4.688,4.688],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-54.781,-49.094],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":3,"op":11,"st":-5,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Tick Thin Line","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[256,256,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-34.25,11],[-7,37.75],[35.5,-21]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":5,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":8,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":9,"s":[3]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":10,"s":[12]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":11,"s":[28]},{"t":12,"s":[57]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":5,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":8,"s":[22]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":9,"s":[43]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":10,"s":[77]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":11,"s":[100]},{"t":12,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":5,"op":12,"st":-5,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"Ball","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[32]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[32]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":5,"s":[45]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[47]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":7,"s":[-57]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":14,"s":[-57]},{"i":{"x":[0.583],"y":[0.795]},"o":{"x":[0.167],"y":[0]},"t":20,"s":[-57]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.417],"y":[-1.147]},"t":21,"s":[-104.5]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":22,"s":[-96]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":23,"s":[-53]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":24,"s":[-19]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":25,"s":[34]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":26,"s":[111]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":27,"s":[174]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":28,"s":[201]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":29,"s":[214]},{"t":30,"s":[226]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[34.486,166.197,0],"to":[5.794,-6.438,0],"ti":[-18.669,-10.429,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":3,"s":[69.248,127.572,0],"to":[18.669,10.429,0],"ti":[-22.016,-28.84,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":5,"s":[146.498,228.769,0],"to":[22.016,28.84,0],"ti":[-19.57,-8.755,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":6,"s":[201.346,300.612,0],"to":[19.57,8.755,0],"ti":[-17.381,13.004,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":7,"s":[263.918,281.299,0],"to":[17.381,-13.004,0],"ti":[-12.36,17.253,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":8,"s":[305.633,222.589,0],"to":[12.36,-17.253,0],"ti":[-12.875,17.381,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":9,"s":[338.078,177.784,0],"to":[12.875,-17.381,0],"ti":[-7.468,9.914,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.333,"y":0.333},"t":13,"s":[382.883,118.302,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":14,"s":[382.883,118.302,0],"to":[10.557,9.399,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":15,"s":[382.883,118.302,0],"to":[10.557,9.399,0],"ti":[-21.91,-41.023,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":20,"s":[434.641,186.282,0],"to":[16.555,30.997,0],"ti":[-0.386,-0.772,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":22,"s":[451.056,263.146,0],"to":[0.386,0.772,0],"ti":[0,-1.416,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":23,"s":[395.436,388.291,0],"to":[0,1.416,0],"ti":[0.386,-0.644,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":24,"s":[300.419,445.456,0],"to":[-0.386,0.644,0],"ti":[1.288,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":25,"s":[136.649,407.603,0],"to":[-1.288,0,0],"ti":[1.288,1.545,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":26,"s":[84.891,170.446,0],"to":[-1.288,-1.545,0],"ti":[-1.03,0.772,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":27,"s":[248.661,66.158,0],"to":[1.03,-0.772,0],"ti":[-1.931,0.129,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":28,"s":[335.954,87.016,0],"to":[1.931,-0.129,0],"ti":[-0.129,-0.386,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":29,"s":[369.171,107.101,0],"to":[0.129,0.386,0],"ti":[-0.193,-0.064,0]},{"t":30,"s":[380.759,115.598,0]}],"ix":2},"a":{"a":0,"k":[-59.688,-42.062,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[309,309,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":3,"s":[309,309,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":5,"s":[302.82,250.29,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":6,"s":[358.44,213.21,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":7,"s":[358.44,213.21,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":9,"s":[284.28,213.21,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":13,"s":[244.11,244.11,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":14,"s":[244.11,244.11,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":20,"s":[244.11,244.11,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":22,"s":[342.99,244.11,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":23,"s":[342.99,210.12,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":24,"s":[342.99,222.48,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":25,"s":[373.89,207.03,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":26,"s":[373.89,207.03,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":27,"s":[315.18,176.13,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":28,"s":[216.3,117.42,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":29,"s":[163.77,86.52,100]},{"t":30,"s":[71.07,55.62,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[21.375,21.375],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-60.562,-43.562],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":30,"st":-5,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Tick Main","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[256.386,247.116,0],"ix":2},"a":{"a":0,"k":[0.125,-2.875,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-27.375,2.625],[-7.75,21.5],[27.625,-27.25]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":12,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":5,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[11]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":7,"s":[51]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":8,"s":[79]},{"t":11,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":5,"op":49,"st":-5,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Main Outer Line","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":40,"ix":10},"p":{"a":0,"k":[254.455,259.863,0],"ix":2},"a":{"a":0,"k":[-0.5,1.25,0],"ix":1},"s":{"a":0,"k":[309,309,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[123.5,123.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":16,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":21,"s":[11]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":23,"s":[27]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":24,"s":[35]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":25,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":26,"s":[73]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":27,"s":[89]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":28,"s":[96]},{"t":29,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":7,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[98.384,97.558],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":16,"op":49,"st":-5,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Outer Thin Stroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":40,"ix":10},"p":{"a":0,"k":[254.455,259.863,0],"ix":2},"a":{"a":0,"k":[-0.5,1.25,0],"ix":1},"s":{"a":0,"k":[355.35,355.35,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[123.5,123.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":16,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":21,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":25,"s":[6]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":26,"s":[20]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":29,"s":[23]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":30,"s":[29]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":31,"s":[45]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":32,"s":[69]},{"t":35,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":16,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":21,"s":[11]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":25,"s":[29]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":28,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":29,"s":[57]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":31,"s":[81]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":32,"s":[100]},{"t":35,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"st","c":{"a":0,"k":[0.290196078431,0.78431372549,0.733333333333,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[98.384,97.558],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":16,"op":35,"st":-5,"bm":0}]}]'), _e = [{ ddd: 0, ind: 1, ty: 3, nm: "Null 1", sr: 1, ks: { o: { a: 0, k: 0, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [256, 256, 0], ix: 2 }, a: { a: 0, k: [0, 0, 0], ix: 1 }, s: { a: 0, k: [309, 309, 100], ix: 6 } }, ao: 0, ip: 0, op: 54, st: 0, bm: 0 }, { ddd: 0, ind: 2, ty: 0, nm: "Pre-comp 1", refId: "comp_0", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [256, 256, 0], ix: 2 }, a: { a: 0, k: [256, 256, 0], ix: 1 }, s: { a: 0, k: [100, 100, 100], ix: 6 } }, ao: 0, ef: [{ ty: 21, nm: "Fill", np: 9, mn: "ADBE Fill", ix: 1, en: 1, ef: [{ ty: 10, nm: "Fill Mask", mn: "ADBE Fill-0001", ix: 1, v: { a: 0, k: 0, ix: 1 } }, { ty: 7, nm: "All Masks", mn: "ADBE Fill-0007", ix: 2, v: { a: 0, k: 0, ix: 2 } }, { ty: 2, nm: "Color", mn: "ADBE Fill-0002", ix: 3, v: { a: 0, k: [0.289119571447, 0.784313738346, 0.731881439686, 1], ix: 3 } }, { ty: 7, nm: "Invert", mn: "ADBE Fill-0006", ix: 4, v: { a: 0, k: 0, ix: 4 } }, { ty: 0, nm: "Horizontal Feather", mn: "ADBE Fill-0003", ix: 5, v: { a: 0, k: 0, ix: 5 } }, { ty: 0, nm: "Vertical Feather", mn: "ADBE Fill-0004", ix: 6, v: { a: 0, k: 0, ix: 6 } }, { ty: 0, nm: "Opacity", mn: "ADBE Fill-0005", ix: 7, v: { a: 0, k: 1, ix: 7 } }] }], w: 512, h: 512, ip: 5, op: 54, st: 5, bm: 0 }], Ue = [], Ge = {
145
+ v: Ne,
146
+ meta: Ae,
147
+ fr: De,
148
+ ip: Ie,
149
+ op: Fe,
150
+ w: Be,
151
+ h: $e,
152
+ nm: Ve,
153
+ ddd: Pe,
154
+ assets: je,
155
+ layers: _e,
156
+ markers: Ue
157
+ }, Me = "_gradienttext_uc65n_6", He = "_gradientbutton_uc65n_19", st = {
158
+ gradienttext: Me,
159
+ gradientbutton: He
160
+ };
161
+ function Le({ handleBack: n }) {
162
+ var x, g, N, S, b, p, A;
163
+ const s = c((D) => D.gradient), t = c((D) => D.persist), e = c((D) => D.configuration), i = t == null ? void 0 : t.stepData.stepType, a = ((t == null ? void 0 : t.txnHashObj) || [])[(x = t == null ? void 0 : t.stepData) == null ? void 0 : x.stepId] || {}, w = i === "bridge" ? (a == null ? void 0 : a.destTxnHash) || (a == null ? void 0 : a.srcTxnHash) : (a == null ? void 0 : a.srcTxnHash) || "", f = (g = t == null ? void 0 : t.historyData) == null ? void 0 : g.finalTxnHash, m = w || f || "", y = i === "bridge" ? (a == null ? void 0 : a.destTxnUrl) || (a == null ? void 0 : a.srcTxnUrl) : (a == null ? void 0 : a.srcTxnUrl) || "", k = (N = t == null ? void 0 : t.historyData) == null ? void 0 : N.finalTxnUrl, C = y || k || "", I = t.toCoin || {}, v = t.route || {}, j = t.toChain || {};
164
+ let o = ((S = t == null ? void 0 : t.statusData) == null ? void 0 : S.outputAmountDisplay) || 0, l = (Number(o) ? o : Number(o)) || (v == null ? void 0 : v.outputAmountDisplay) || 0;
165
+ return /* @__PURE__ */ h("div", { className: "bw-absolute bw-bg-background-container bw-border-t bw-pt-3 bw-border-border-primary bw-w-full bw-flex bw-flex-col bw-z-50 bw-items-center bw-justify-center bw-bottom-0", children: [
166
+ /* @__PURE__ */ h(
167
+ "div",
168
+ {
169
+ style: {
170
+ boxShadow: e && e.customTheme && ((p = (b = e.customTheme) == null ? void 0 : b.shadow) == null ? void 0 : p.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
171
+ },
172
+ className: "bw-flex bw-items-center bw-rounded-xl bw-w-full bw-justify-between bw-bg-background-container bw-border bw-border-border-primary bw-p-2",
173
+ children: [
174
+ /* @__PURE__ */ h("div", { children: [
175
+ /* @__PURE__ */ r(
176
+ "p",
177
+ {
178
+ style: { ...e.gradientStyle, backgroundClip: "text" },
179
+ className: `bw-text-lg ${s || `${(A = e == null ? void 0 : e.gradientStyle) != null && A.background ? "" : "bw-bg-gradient-to-l bw-from-[#2CFFE4] bw-to-[#A45EFF]"}`} bw-bg-clip-text bw-font-medium bw-text-transparent`,
180
+ children: "Transaction Successful"
181
+ }
182
+ ),
183
+ /* @__PURE__ */ h("p", { className: "bw-text-2xl bw-font-medium bw-text-text-primary", children: [
184
+ /* @__PURE__ */ r(pt, { value: l, decimal: 10 }),
185
+ " ",
186
+ I.symbol
187
+ ] }),
188
+ /* @__PURE__ */ r("p", { className: "bw-text-sm bw-mb-2 bw-font-normal bw-text-text-secondary", children: `Received on ${j.name || j.blockchain} chain` }),
189
+ /* @__PURE__ */ h("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
190
+ /* @__PURE__ */ r("p", { className: "bw-text-sm bw-font-normal bw-text-text-secondary", children: `Tx id: ${m ? `${m.substring(0, 5)}...${m.substring(
191
+ m.length - 5,
192
+ m.length
193
+ )}` : ""}` }),
194
+ /* @__PURE__ */ r("div", { className: "bw-cursor-pointer", children: /* @__PURE__ */ r(kt, { txnHash: m, children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(gt, { fill: "var(--tw-text-secondary)" }) }) }) }),
195
+ /* @__PURE__ */ r("a", { href: C, target: "_blank", children: /* @__PURE__ */ r("div", { className: "bw-cursor-pointer", children: /* @__PURE__ */ r(me, { fill: "var(--tw-text-secondary)" }) }) })
196
+ ] })
197
+ ] }),
198
+ /* @__PURE__ */ r("div", { className: " bw-flex bw-justify-center bw-items-center bw-w-[105px] bw-h-[105px]", children: /* @__PURE__ */ r(de, { animationData: Ge, loop: !0 }) })
199
+ ]
200
+ }
201
+ ),
202
+ /* @__PURE__ */ r(
203
+ "button",
204
+ {
205
+ onClick: n,
206
+ style: { ...e == null ? void 0 : e.gradientStyle },
207
+ className: `bw-w-full ${st.gradientbutton} bw-rounded-sm bw-h-[50px] bw-p-[3px] bw-mt-3 bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-50 bw-text-2xl bw-font-bold bw-text-text-primary`,
208
+ children: /* @__PURE__ */ r(
209
+ "div",
210
+ {
211
+ onClick: n,
212
+ className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full",
213
+ children: "Start Again"
214
+ }
215
+ )
216
+ }
217
+ )
218
+ ] });
219
+ }
220
+ const Rt = ht.createContext(!1);
221
+ function Oe({ disableButton: n, handleStep: s, txnProcessType: t, txnTextObj: e }) {
222
+ var k, C, I;
223
+ const i = c((v) => v.persist), d = c((v) => v.configuration);
224
+ c((v) => v.cosmosChainIds);
225
+ const a = c((v) => v.fromChain);
226
+ let w = n ? {} : { ...d == null ? void 0 : d.gradientStyle };
227
+ const { data: f, isLoading: m } = Lt({
228
+ chainId: [a.chainId],
229
+ multiChain: !0
230
+ });
231
+ let y = ((k = i == null ? void 0 : i.fromChain) == null ? void 0 : k.networkType) == "cosmos" ? m : !1;
232
+ return !rt.isEmpty(i == null ? void 0 : i.stepData) && !y ? /* @__PURE__ */ r(
233
+ "button",
234
+ {
235
+ disabled: n || !e,
236
+ className: `bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-full bw-rounded-sm ${n ? "bw-bg-border-primary bw-p-[1px]" : st.gradientbutton + " bw-p-[3px]"}`,
237
+ onClick: s,
238
+ style: {
239
+ ...w,
240
+ boxShadow: d && d.customTheme && ((I = (C = d.customTheme) == null ? void 0 : C.shadow) == null ? void 0 : I.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
241
+ },
242
+ children: /* @__PURE__ */ h("div", { className: "bw-bg-background-container bw-w-full bw-h-full bw-flex bw-items-center bw-justify-center", children: [
243
+ n || !e && /* @__PURE__ */ r("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ r(Ut, { size: 22, thickness: 5, color: "inherit" }) }),
244
+ /* @__PURE__ */ r(
245
+ "p",
246
+ {
247
+ className: ` ${n ? "bw-text-text-secondary bw-font-normal" : "bw-text-text-primary bw-font-bold"} bw-text-2xl `,
248
+ children: e == null ? void 0 : e[t == "process" ? "processingCta" : "preCta"]
249
+ }
250
+ )
251
+ ] })
252
+ }
253
+ ) : /* @__PURE__ */ r(wt, { className: "bw-bg-background-secondary bw-rounded-sm bw-w-full", animation: "wave", height: 50 });
254
+ }
255
+ function Qt({ errorText: n, heading: s = "Transaction Failed" }) {
256
+ const t = c((e) => e.persist);
257
+ return /* @__PURE__ */ h(G, { children: [
258
+ /* @__PURE__ */ r("p", { className: "bw-text-lg bw-font-medium bw-text-text-primary bw-mb-1 bw-text-center", children: s }),
259
+ /* @__PURE__ */ h("div", { className: "bw-w-full bw-mb-2 ", children: [
260
+ /* @__PURE__ */ r("p", { className: "bw-text-sm bw-font-bold bw-text-text-primary ", children: "Route Id" }),
261
+ /* @__PURE__ */ h("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
262
+ /* @__PURE__ */ r("p", { className: "bw-text-sm bw-font-normal bw-text-text-secondary", children: t == null ? void 0 : t.routeId }),
263
+ /* @__PURE__ */ r(kt, { txnHash: t == null ? void 0 : t.routeId, children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(gt, { fill: "var(--tw-text-secondary)" }) }) })
264
+ ] })
265
+ ] }),
266
+ /* @__PURE__ */ h("div", { className: "bw-text-left bw-w-full bw-mb-2 ", children: [
267
+ n != null && n.length ? /* @__PURE__ */ r("p", { className: "bw-text-sm bw-font-bold bw-text-text-primary ", children: "Error" }) : /* @__PURE__ */ r(G, {}),
268
+ /* @__PURE__ */ r("div", { className: "bw-text-left bw-max-h-[60px] bw-overflow-auto ", children: /* @__PURE__ */ r("p", { style: { wordBreak: "break-all" }, className: "bw-text-xs bw-leading-5 bw-pr-2 bw-w-full md:bw-max-w-[420px] bw-font-normal bw-mb-2 bw-text-left bw-text-text-redtext", children: n }) })
269
+ ] })
270
+ ] });
271
+ }
272
+ function Re({ handleGoBack: n, errorText: s, txnTextObj: t, handleExeTxn: e, handleDisable: i }) {
273
+ var w, f, m, y;
274
+ const d = c((k) => k.configuration), a = c((k) => k.persist);
275
+ return /* @__PURE__ */ h("div", { className: "bw-absolute bw-bg-background-container bw-border-t bw-border-border-primary bw-pt-3 bw-w-full bw-bottom-0 bw-flex bw-flex-col bw-justify-center bw-items-center", children: [
276
+ /* @__PURE__ */ r(Qt, { errorText: s }),
277
+ a.isHistory ? /* @__PURE__ */ r(G, {}) : /* @__PURE__ */ h("div", { className: "bw-w-full bw-flex bw-items-center bw-gap-x-2", children: [
278
+ /* @__PURE__ */ r(
279
+ "button",
280
+ {
281
+ style: {
282
+ boxShadow: d && d.customTheme && ((f = (w = d.customTheme) == null ? void 0 : w.shadow) == null ? void 0 : f.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
283
+ },
284
+ className: "bw-border bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-[50%] bw-bg-background-container bw-border-border-primary",
285
+ onClick: () => {
286
+ n();
287
+ },
288
+ children: /* @__PURE__ */ r(
289
+ "p",
290
+ {
291
+ style: {
292
+ ...d.gradientStyle,
293
+ backgroundClip: "text"
294
+ },
295
+ className: ` ${st.gradienttext} bw-text-2xl bw-font-normal`,
296
+ children: "Home"
297
+ }
298
+ )
299
+ }
300
+ ),
301
+ /* @__PURE__ */ r(
302
+ "button",
303
+ {
304
+ style: {
305
+ ...d == null ? void 0 : d.gradientStyle,
306
+ boxShadow: d && d.customTheme && ((y = (m = d.customTheme) == null ? void 0 : m.shadow) == null ? void 0 : y.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
307
+ },
308
+ className: ` bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-[50%] ${st.gradientbutton} bw-rounded-sm bw-p-[3px] `,
309
+ onClick: () => {
310
+ e(), i(!0);
311
+ },
312
+ children: /* @__PURE__ */ r("div", { className: " bw-bg-background-container bw-w-full bw-h-full bw-flex bw-items-center bw-justify-center", children: /* @__PURE__ */ r(
313
+ "p",
314
+ {
315
+ style: {
316
+ ...d.gradientStyle,
317
+ backgroundClip: "text"
318
+ },
319
+ className: " bw-text-text-primary bw-text-2xl bw-font-bold",
320
+ children: "Try Again"
321
+ }
322
+ ) })
323
+ }
324
+ )
325
+ ] })
326
+ ] });
327
+ }
328
+ function Qe({ txnTextObj: n, txnProcessType: s, errorText: t, allSteps: e }) {
329
+ var d, a, w;
330
+ const i = c((f) => f.persist);
331
+ return /* @__PURE__ */ h(G, { children: [
332
+ /* @__PURE__ */ r("p", { className: "bw-text-lg bw-font-medium bw-mb-1 bw-text-text-primary", children: i != null && i.stepStatus && (i != null && i.stepStatus[e == null ? void 0 : e.currentStep]) ? ((a = n == null ? void 0 : n.status) == null ? void 0 : a[(d = i == null ? void 0 : i.stepStatus[e == null ? void 0 : e.currentStep]) == null ? void 0 : d.status]) || (n == null ? void 0 : n[(w = i == null ? void 0 : i.stepStatus[e == null ? void 0 : e.currentStep]) == null ? void 0 : w.type]) : "" }),
333
+ /* @__PURE__ */ r("p", { className: "bw-text-sm bw-text-center bw-font-medium bw-mb-4 bw-text-text-secondary", children: n == null ? void 0 : n[s == "process" ? "processingDescription" : s == "loading" ? "loadingDescription" : "preDescription"] }),
334
+ /* @__PURE__ */ r("p", { className: "bw-text-xs bw-font-normal bw-text-center bw-text-text-redtext ", children: t })
335
+ ] });
336
+ }
337
+ function ze({ i: n, item: s }) {
338
+ var w, f, m, y;
339
+ const t = c((k) => k.persist), e = (t == null ? void 0 : t.txnHashObj) || [], i = (f = (w = e[s.stepId]) == null ? void 0 : w.destTxnUrl) != null && f.length ? (m = e[s.stepId]) == null ? void 0 : m.destTxnUrl : (y = e[s.stepId]) == null ? void 0 : y.srcTxnUrl, d = s.destTxnUrl || s.srcTxnUrl, a = i || d;
340
+ return a != null && a.length ? /* @__PURE__ */ r("a", { target: "_blank", className: "bw-relative bw-z-50 bw-mt-1", href: a, children: /* @__PURE__ */ r(Ee, { children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(Ce, { fill: "var(--tw-text-primary)" }) }) }) }) : /* @__PURE__ */ r(G, {});
341
+ }
342
+ function We({ item: n, i: s }) {
343
+ var d, a, w, f, m, y, k, C, I, v, j;
344
+ const { isErrorMessage: t, handleErrorMessage: e } = J(at), i = c((o) => o.persist);
345
+ return i == null || i.allSteps, /* @__PURE__ */ h("div", { children: [
346
+ /* @__PURE__ */ r("h1", { className: ` ${((a = (d = n == null ? void 0 : n.texts) == null ? void 0 : d.heading) == null ? void 0 : a.length) > 34 ? "bw-text-base" : "bw-text-lg"} ${((w = i == null ? void 0 : i.allSteps) == null ? void 0 : w.currentStep) == s ? "bw-text-text-primary" : "bw-text-text-secondary"} bw-leading-none bw-mt-[-2px]`, children: (f = n == null ? void 0 : n.texts) == null ? void 0 : f.heading }),
347
+ i != null && i.stepStatus && (i != null && i.stepStatus[s]) ? /* @__PURE__ */ r(G, { children: /* @__PURE__ */ r("p", { className: "bw-text-sm bw-text-text-secondary bw-ml-3 bw-mt-1", children: t && ((m = i == null ? void 0 : i.stepStatus[s]) == null ? void 0 : m.status) !== "failed" && s == ((y = i == null ? void 0 : i.allSteps) == null ? void 0 : y.currentStep) ? "Failed" : ((I = (k = n == null ? void 0 : n.texts) == null ? void 0 : k.status) == null ? void 0 : I[(C = i == null ? void 0 : i.stepStatus[s]) == null ? void 0 : C.status]) || ((j = n == null ? void 0 : n.texts) == null ? void 0 : j[(v = i == null ? void 0 : i.stepStatus[s]) == null ? void 0 : v.type]) }) }) : s == 0 ? /* @__PURE__ */ r("div", { className: "bw-h-[20px] bw-mt-[4px] bw-w-full", children: /* @__PURE__ */ r(wt, { className: "bw-bg-background-secondary bw-rounded-lg bw-w-full", animation: "wave" }) }) : /* @__PURE__ */ r(G, {})
348
+ ] });
349
+ }
350
+ function Ft({ spinnerColor: n, stopColor: s }) {
351
+ return /* @__PURE__ */ h(
352
+ "svg",
353
+ {
354
+ width: "17",
355
+ height: "18",
356
+ viewBox: "0 0 17 18",
357
+ fill: "none",
358
+ xmlns: "http://www.w3.org/2000/svg",
359
+ children: [
360
+ /* @__PURE__ */ r(
361
+ "path",
362
+ {
363
+ d: "M5.23438 8.90997L7.625 11.1346L12.0948 5.18945",
364
+ stroke: "url(#paint0_linear_2764_26377)",
365
+ "stroke-width": "1.5"
366
+ }
367
+ ),
368
+ /* @__PURE__ */ r(
369
+ "path",
370
+ {
371
+ d: "M16.0563 13.3423C14.5038 15.802 11.778 17.4336 8.67473 17.4336C5.16232 17.4336 2.1335 15.3435 0.742188 12.3281",
372
+ stroke: "#8A8F8E",
373
+ "stroke-width": "0.25"
374
+ }
375
+ ),
376
+ /* @__PURE__ */ r(
377
+ "path",
378
+ {
379
+ d: "M16.0563 13.3423C14.5038 15.802 11.778 17.4336 8.67473 17.4336C5.16232 17.4336 2.1335 15.3435 0.742188 12.3281",
380
+ stroke: "#8A8F8E",
381
+ "stroke-width": "0.25"
382
+ }
383
+ ),
384
+ /* @__PURE__ */ r("circle", { cx: "8.68848", cy: "8.7041", r: "7.48535", stroke: "#8A8F8E" }),
385
+ /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ h(
386
+ "linearGradient",
387
+ {
388
+ id: "paint0_linear_2764_26377",
389
+ x1: "13.3956",
390
+ y1: "7.30551",
391
+ x2: "0.983954",
392
+ y2: "7.29133",
393
+ gradientUnits: "userSpaceOnUse",
394
+ children: [
395
+ /* @__PURE__ */ r("stop", { "stop-color": n || "#2CFFE4" }),
396
+ /* @__PURE__ */ r("stop", { offset: "1", "stop-color": s || "#A45EFF" })
397
+ ]
398
+ }
399
+ ) })
400
+ ]
401
+ }
402
+ );
403
+ }
404
+ const qe = "4.8.0", Je = { g: "LottieFiles AE 3.5.7", a: "", k: "", d: "", tc: "" }, Ze = 25, Ke = 0, Xe = 51, Ye = 512, t0 = 512, e0 = "Comp 1", n0 = 0, r0 = [], s0 = [{ ddd: 0, ind: 1, ty: 4, nm: "Shape Layer 1", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [256, 256, 0], ix: 2 }, a: { a: 0, k: [-7, -8, 0], ix: 1 }, s: { a: 0, k: [100, 100, 100], ix: 6 } }, ao: 0, shapes: [{ ty: "gr", it: [{ d: 1, ty: "el", s: { a: 0, k: [214, 214], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, nm: "Ellipse Path 1", mn: "ADBE Vector Shape - Ellipse", hd: !1 }, { ty: "fl", c: { a: 0, k: [1, 1, 1, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 2, nm: "Fill 1", mn: "ADBE Vector Graphic - Fill", hd: !1 }, { ty: "tr", p: { a: 0, k: [-7, -8], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "Transform" }], nm: "Ellipse 1", np: 3, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: !1 }], ip: 0, op: 51, st: 0, bm: 0 }, { ddd: 0, ind: 2, ty: 4, nm: "Shape Layer 2", sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 11, s: [100] }, { i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 25, s: [0] }, { i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 37, s: [100] }, { t: 51, s: [0] }], ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [256, 256, 0], ix: 2 }, a: { a: 0, k: [-7, -8, 0], ix: 1 }, s: { a: 1, k: [{ i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] }, o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] }, t: 0, s: [59, 59, 100] }, { i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] }, o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] }, t: 25, s: [228, 228, 100] }, { i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] }, o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] }, t: 26, s: [59, 59, 100] }, { t: 51, s: [228, 228, 100] }], ix: 6 } }, ao: 0, shapes: [{ ty: "gr", it: [{ d: 1, ty: "el", s: { a: 0, k: [214, 214], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, nm: "Ellipse Path 1", mn: "ADBE Vector Shape - Ellipse", hd: !1 }, { ty: "fl", c: { a: 0, k: [1, 1, 1, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 2, nm: "Fill 1", mn: "ADBE Vector Graphic - Fill", hd: !1 }, { ty: "tr", p: { a: 0, k: [-7, -8], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "Transform" }], nm: "Ellipse 1", np: 3, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: !1 }], ip: 0, op: 51, st: 0, bm: 0 }], o0 = [], i0 = {
405
+ v: qe,
406
+ meta: Je,
407
+ fr: Ze,
408
+ ip: Ke,
409
+ op: Xe,
410
+ w: Ye,
411
+ h: t0,
412
+ nm: e0,
413
+ ddd: n0,
414
+ assets: r0,
415
+ layers: s0,
416
+ markers: o0
417
+ };
418
+ function a0() {
419
+ const n = dt(null), s = c((t) => t.configuration);
420
+ return H(() => {
421
+ var e, i;
422
+ const t = oe.loadAnimation({
423
+ container: n.current,
424
+ animationData: we.flatten(
425
+ (e = s == null ? void 0 : s.gradientStyle) != null && e.spinnerColor ? (i = s == null ? void 0 : s.gradientStyle) == null ? void 0 : i.spinnerColor : "#2CFFE4",
426
+ i0
427
+ )
428
+ });
429
+ return () => t.destroy();
430
+ }, []), /* @__PURE__ */ r("div", { style: { width: "100%", height: "100%" }, ref: n });
431
+ }
432
+ function l0({ allSteps: n, disableButton: s, i: t, arr: e }) {
433
+ var y, k, C, I;
434
+ const i = c((v) => v.configuration), { txnupdate: d } = Gt, { isErrorMessage: a } = J(at), w = c((v) => v.persist), f = w == null ? void 0 : w.historyData, m = (f == null ? void 0 : f.currentStepStatus) || "";
435
+ return /* @__PURE__ */ h("div", { className: "bw-w-[18px] bw-min-h-full bw-relative bw-flex bw-flex-col bw-justify-center bw-items-center ", children: [
436
+ (n == null ? void 0 : n.currentStep) < t ? /* @__PURE__ */ r("div", { className: "bw-w-[18px] bw-rounded-[50%] bw-h-[18px] bw-bg-background-container bw-border bw-border-border-primary " }) : (n == null ? void 0 : n.currentStep) == t ? s ? /* @__PURE__ */ r(G, { children: /* @__PURE__ */ r("div", { className: " bw-w-[18px] bw-h-[18px] ", children: /* @__PURE__ */ r(pe, {}) }) }) : a ? (
437
+ // <CloseIcon width={18} height={18} fill={"var(--tw-text-primary)"} />
438
+ /* @__PURE__ */ r("img", { src: d, width: 27, height: 27, alt: "img" })
439
+ ) : m == "success" ? /* @__PURE__ */ r(
440
+ Ft,
441
+ {
442
+ spinnerColor: (y = i == null ? void 0 : i.gradientStyle) == null ? void 0 : y.spinnerColor,
443
+ stopColor: (k = i == null ? void 0 : i.gradientStyle) == null ? void 0 : k.stopColor
444
+ }
445
+ ) : m == "failed" ? /* @__PURE__ */ r("img", { src: d, width: 27, height: 27, alt: "img" }) : /* @__PURE__ */ r("div", { className: "bw-w-[18px] bw-h-[18px]", children: /* @__PURE__ */ r(a0, {}) }) : /* @__PURE__ */ r(
446
+ Ft,
447
+ {
448
+ spinnerColor: (C = i == null ? void 0 : i.gradientStyle) == null ? void 0 : C.spinnerColor,
449
+ stopColor: (I = i == null ? void 0 : i.gradientStyle) == null ? void 0 : I.stopColor
450
+ }
451
+ ),
452
+ t !== e.length - 1 ? /* @__PURE__ */ r(
453
+ "div",
454
+ {
455
+ className: "bw-h-[30px] bw-absolute bw-w-[1px] bw-bottom-[-200%] bw-bg-background-secondary"
456
+ }
457
+ ) : /* @__PURE__ */ r(G, {})
458
+ ] });
459
+ }
460
+ const c0 = "_container_1e7nb_1", x0 = "_dash_1e7nb_9", b0 = "_uno_1e7nb_17", m0 = "_dos_1e7nb_23", d0 = "_tres_1e7nb_29", u0 = "_cuatro_1e7nb_35", q = {
461
+ container: c0,
462
+ dash: x0,
463
+ uno: b0,
464
+ dos: m0,
465
+ tres: d0,
466
+ cuatro: u0
467
+ };
468
+ function w0() {
469
+ return /* @__PURE__ */ h("div", { className: q.container, children: [
470
+ /* @__PURE__ */ r("div", { className: `${q.dash} ${q.uno}` }),
471
+ /* @__PURE__ */ r("div", { className: `${q.dash} ${q.dos}` }),
472
+ /* @__PURE__ */ r("div", { className: `${q.dash} ${q.tres}` }),
473
+ /* @__PURE__ */ r("div", { className: `${q.dash} ${q.cuatro}` })
474
+ ] });
475
+ }
476
+ function p0({ handleUpdate: n }) {
477
+ var E, M, B, $, O, _, U, Q, P, R, z, W, Z, K, X, Y, tt, lt, ct, xt;
478
+ const s = c((V) => V.configuration), t = c((V) => V.persist), { address: e } = ft(), { address: i } = jt(), { primaryWallet: d } = Ot(), { getWallet: a } = ie({}), w = c((V) => V.setPersist), f = c((V) => V.customWallet), m = c((V) => V.customFee), y = c((V) => V.broadCastMode), k = c((V) => V.evmGas), C = c((V) => V.evmSpeed), I = c((V) => V.slippage), v = c((V) => V.option), j = c((V) => V.gasless), { data: o } = ue(), u = ["routesTxn", e, t == null ? void 0 : t.fromChain, t == null ? void 0 : t.toChain, t == null ? void 0 : t.fromCoin, t == null ? void 0 : t.toCoin, (t == null ? void 0 : t.amount) || ((E = t == null ? void 0 : t.route) == null ? void 0 : E.inputAmountDisplay) || 0, d == null ? void 0 : d.address, i, f, o == null ? void 0 : o.bech32Address, m, k, C, I, y, v.value, "", j];
479
+ let l = (y === "Priority Fee" || y === "Both") && (m != null && m.length) ? m : v.value, x = (y === "Jito Tip" || y === "Both") && (m != null && m.length) ? m : v.value, g = k != null && k.length ? k : C.value;
480
+ const N = ((M = t == null ? void 0 : t.fromChain) == null ? void 0 : M.networkType) === "sol" ? y === "Priority Fee" ? `&solanaPriorityFee=${l}` : y === "Jito Tip" ? `&solanaJitoTip=${x}` : `&solanaPriorityFee=${l}&solanaJitoTip=${x}` : ((B = t == null ? void 0 : t.fromChain) == null ? void 0 : B.networkType) === "evm" ? `&evmPriorityFee=${g}` : "", { routes: S, routesData: b } = ye({
481
+ enabled: !0,
482
+ dependency: u,
483
+ payload: [
484
+ (($ = t == null ? void 0 : t.fromChain) == null ? void 0 : $.networkType) === "cosmos" ? Dt(o == null ? void 0 : o.bech32Address, (_ = (O = t == null ? void 0 : t.fromChain) == null ? void 0 : O.chainInfo) == null ? void 0 : _.bech32Config.bech32PrefixAccAddr) : ((U = t == null ? void 0 : t.route) == null ? void 0 : U.userWalletAddress) || ((Q = a(t == null ? void 0 : t.fromChain)) == null ? void 0 : Q.address) || "",
485
+ t == null ? void 0 : t.fromChain,
486
+ t == null ? void 0 : t.toChain,
487
+ t == null ? void 0 : t.fromCoin,
488
+ t == null ? void 0 : t.toCoin,
489
+ (t == null ? void 0 : t.amount) || ((P = t == null ? void 0 : t.route) == null ? void 0 : P.inputAmountDisplay) || 0,
490
+ Number(I) * 100,
491
+ (f == null ? void 0 : f.length) > 30 ? ((R = t == null ? void 0 : t.route) == null ? void 0 : R.recipient) || ((z = a({})) == null ? void 0 : z.address) || "" : ((W = t == null ? void 0 : t.toChain) == null ? void 0 : W.networkType) === "cosmos" ? Dt(o == null ? void 0 : o.bech32Address, (K = (Z = t == null ? void 0 : t.toChain) == null ? void 0 : Z.chainInfo) == null ? void 0 : K.bech32Config.bech32PrefixAccAddr) : ((X = t == null ? void 0 : t.route) == null ? void 0 : X.recipient) || ((Y = a(t == null ? void 0 : t.toChain)) == null ? void 0 : Y.address) || "",
492
+ N,
493
+ 1,
494
+ j
495
+ ]
496
+ });
497
+ let p = (b == null ? void 0 : b.outputAmountDisplay) || "";
498
+ async function A() {
499
+ if (t.isQuoteTimer === !1) {
500
+ let V = await S.refetch();
501
+ V.status === "success" && V.data.status === "success" && w({
502
+ ...c.getState().persist,
503
+ isQuoteTimer: !0
504
+ });
505
+ }
506
+ }
507
+ H(() => {
508
+ A();
509
+ }, [t.isQuoteTimer]);
510
+ function D() {
511
+ n(), w({
512
+ stepData: {},
513
+ quote: "enable",
514
+ isTimerStarted: !1,
515
+ routeId: (b == null ? void 0 : b.routeId) || "",
516
+ route: b,
517
+ toChain: (t == null ? void 0 : t.toChain) || {},
518
+ toCoin: (t == null ? void 0 : t.toCoin) || {},
519
+ fromChain: (t == null ? void 0 : t.fromChain) || {},
520
+ fromCoin: (t == null ? void 0 : t.fromCoin) || {},
521
+ amount: t == null ? void 0 : t.amount,
522
+ openAt: (/* @__PURE__ */ new Date()).getTime(),
523
+ nextTx: null,
524
+ startTime: (/* @__PURE__ */ new Date()).getTime(),
525
+ showAcceptQuote: !1,
526
+ loading: !0
527
+ });
528
+ }
529
+ return /* @__PURE__ */ h("div", { className: "bw-w-full bw-absolute bw-border-t bw-border-border-primary bw-pt-3 bw-bottom-0 bw-flex bw-flex-col bw-justify-center bw-items-center", children: [
530
+ /* @__PURE__ */ r("p", { className: "bw-text-text-primary bw-text-lg bw-font-semibold", children: "Quote Expired!" }),
531
+ /* @__PURE__ */ r("p", { className: "bw-text-text-secondary bw-text-sm bw-font-medium", children: "Please accept the new quote, or go back to select manually" }),
532
+ /* @__PURE__ */ h("div", { className: "bw-w-full bw-mt-4 bw-px-2 bw-flex bw-items-center ba-gap-x-2 bw-justify-between", children: [
533
+ /* @__PURE__ */ h("div", { children: [
534
+ S.isLoading || S.isFetching ? /* @__PURE__ */ r(wt, { className: "bw-bg-background-secondary bw-mb-1 bw-rounded-lg bw-h-[20px] bw-w-[150px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 100 }) : /* @__PURE__ */ h("p", { className: "bw-text-text-lg bw-font-bold bw-text-text-primary", children: [
535
+ /* @__PURE__ */ r(pt, { value: p == null ? void 0 : p.toString(), decimal: 12 }),
536
+ " ",
537
+ ((tt = b == null ? void 0 : b.to) == null ? void 0 : tt.symbol) || ""
538
+ ] }),
539
+ S.isLoading || S.isFetching ? /* @__PURE__ */ r(wt, { className: "bw-bg-background-secondary bw-rounded-lg bw-h-[20px] bw-w-[70px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 70 }) : /* @__PURE__ */ h("p", { className: "bw-text-text-sm bw-font-normal bw-text-text-secondary", children: [
540
+ "$ ",
541
+ /* @__PURE__ */ r(pt, { value: ae(((b == null ? void 0 : b.outputAmountDisplay) || "") * ((lt = b == null ? void 0 : b.to) == null ? void 0 : lt.lastPrice) || 0, 10), decimal: 12 })
542
+ ] })
543
+ ] }),
544
+ /* @__PURE__ */ r(
545
+ "button",
546
+ {
547
+ disabled: S.isFetching || S.isLoading,
548
+ className: `bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-1/2 bw-rounded-sm ${st.gradientbutton + " bw-p-[3px]"}`,
549
+ onClick: D,
550
+ style: {
551
+ ...s == null ? void 0 : s.gradientStyle,
552
+ boxShadow: s && s.customTheme && ((xt = (ct = s.customTheme) == null ? void 0 : ct.shadow) == null ? void 0 : xt.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
553
+ },
554
+ children: /* @__PURE__ */ r("p", { className: "bw-w-full bw-h-full bw-bg-background-container bw-text-text-primary bw-font-bold bw-flex bw-items-center bw-justify-center", children: "Accept Quote" })
555
+ }
556
+ )
557
+ ] })
558
+ ] });
559
+ }
560
+ function h0({ handleBack: n }) {
561
+ var y, k, C, I, v, j, o, u, l, x;
562
+ const { txnupdate: s } = Gt, t = c((g) => g.persist), e = c((g) => g.configuration), i = t == null ? void 0 : t.stepData.stepType, a = ((t == null ? void 0 : t.txnHashObj) || [])[(y = t == null ? void 0 : t.stepData) == null ? void 0 : y.stepId] || {}, w = i === "bridge" ? (a == null ? void 0 : a.destTxnHash) || (a == null ? void 0 : a.srcTxnHash) : (a == null ? void 0 : a.srcTxnHash) || "", f = (k = t == null ? void 0 : t.historyData) == null ? void 0 : k.finalTxnHash, m = w || f || "";
563
+ return i === "bridge" ? a != null && a.destTxnUrl || (a == null || a.srcTxnUrl) : a != null && a.srcTxnUrl, (C = t == null ? void 0 : t.historyData) == null || C.finalTxnUrl, t.toCoin, t.route, t.toChain, /* @__PURE__ */ h("div", { className: "bw-absolute bw-bg-background-container bw-bottom-0", children: [
564
+ /* @__PURE__ */ h("div", { className: "bw-w-full bw-flex bw-items-center bw-p-3 bw-h-[141px] bw-rounded-xl bw-border bw-border-border-primary", children: [
565
+ /* @__PURE__ */ h("div", { className: "bw-w-[60%]", children: [
566
+ /* @__PURE__ */ r("p", { className: "bw-text-text-secondary bw-mb-2 bw-text-lg bw-font-medium", children: "Transaction Update" }),
567
+ /* @__PURE__ */ h("p", { className: "bw-text-text-primary bw-text-2xl bw-font-bold", children: [
568
+ Mt(((I = t == null ? void 0 : t.statusData) == null ? void 0 : I.outputAmountDisplay) || "", 10),
569
+ " ",
570
+ ((j = (v = t == null ? void 0 : t.statusData) == null ? void 0 : v.outputToken) == null ? void 0 : j.symbol) || "",
571
+ " ",
572
+ /* @__PURE__ */ r("br", {})
573
+ ] }),
574
+ /* @__PURE__ */ h("p", { className: "bw-text-text-secondary bw-mb-2 bw-text-sm bw-font-normal", children: [
575
+ "Received on ",
576
+ t.toChain.name,
577
+ " chain",
578
+ " "
579
+ ] }),
580
+ /* @__PURE__ */ h("div", { className: "bw-text-text-secondary bw-flex bw-items-center bw-gap-x-1 bw-mb-2 bw-text-sm bw-font-medium", children: [
581
+ `Txn Id:${m ? `${m.substring(0, 5)}...${m.substring(
582
+ m.length - 5,
583
+ m.length
584
+ )}` : ""}`,
585
+ /* @__PURE__ */ r("div", { className: "bw-cursor-pointer ", children: /* @__PURE__ */ r(kt, { txnHash: m, children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(gt, { fill: "var(--tw-text-secondary)" }) }) }) })
586
+ ] })
587
+ ] }),
588
+ /* @__PURE__ */ r("div", { className: "bw-w-[40%] bw-flex bw-items-center bw-justify-center", children: /* @__PURE__ */ r("img", { src: s, width: 108, height: 100, alt: "img" }) })
589
+ ] }),
590
+ /* @__PURE__ */ h("p", { className: "bw-text-sm bw-text-center bw-text-text-secondary bw-font-normal bw-mt-3", children: [
591
+ "Due to liquidity error on providers end your",
592
+ " ",
593
+ /* @__PURE__ */ h("b", { className: "bw-text-text-primary", children: [
594
+ "receiving token has been changed to",
595
+ " ",
596
+ ((u = (o = t == null ? void 0 : t.statusData) == null ? void 0 : o.outputToken) == null ? void 0 : u.symbol) || "",
597
+ " on",
598
+ " ",
599
+ (x = (l = t == null ? void 0 : t.statusData) == null ? void 0 : l.outputToken) == null ? void 0 : x.blockchain
600
+ ] })
601
+ ] }),
602
+ /* @__PURE__ */ r(
603
+ "button",
604
+ {
605
+ onClick: n,
606
+ style: { ...e == null ? void 0 : e.gradientStyle },
607
+ className: `bw-w-full ${st.gradientbutton} bw-rounded-sm bw-h-[50px] bw-p-[3px] bw-mt-3 bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-50 bw-text-2xl bw-font-bold bw-text-text-primary`,
608
+ children: /* @__PURE__ */ r(
609
+ "div",
610
+ {
611
+ onClick: n,
612
+ className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full",
613
+ children: "Start Again"
614
+ }
615
+ )
616
+ }
617
+ )
618
+ ] });
619
+ }
620
+ function Bt({ handleBack: n, errorText: s }) {
621
+ const t = c((e) => e.configuration);
622
+ return /* @__PURE__ */ h(G, { children: [
623
+ /* @__PURE__ */ r(Qt, { errorText: s, heading: "Transaction Expired" }),
624
+ /* @__PURE__ */ r("button", { onClick: n, style: { ...t == null ? void 0 : t.gradientStyle }, className: `bw-w-full ${st.gradientbutton} bw-rounded-sm bw-h-[50px] bw-p-[3px] bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-50 bw-text-2xl bw-font-bold bw-text-text-primary`, children: /* @__PURE__ */ r("div", { onClick: n, className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full", children: "Start a New Transaction" }) })
625
+ ] });
626
+ }
627
+ function y0({ fill: n, stroke: s }) {
628
+ return /* @__PURE__ */ h(
629
+ "svg",
630
+ {
631
+ width: "113",
632
+ height: "62",
633
+ viewBox: "0 0 113 62",
634
+ fill: "none",
635
+ xmlns: "http://www.w3.org/2000/svg",
636
+ children: [
637
+ /* @__PURE__ */ r(
638
+ "rect",
639
+ {
640
+ x: "8.4375",
641
+ y: "24.9023",
642
+ width: "78.9692",
643
+ height: "36.4567",
644
+ rx: "9.5",
645
+ fill: n,
646
+ stroke: s
647
+ }
648
+ ),
649
+ /* @__PURE__ */ r(
650
+ "rect",
651
+ {
652
+ x: "15.5742",
653
+ y: "32.5957",
654
+ width: "42.7954",
655
+ height: "14.5366",
656
+ rx: "4",
657
+ fill: s
658
+ }
659
+ ),
660
+ /* @__PURE__ */ r(
661
+ "rect",
662
+ {
663
+ x: "38.8398",
664
+ y: "50.0684",
665
+ width: "42.7954",
666
+ height: "6.99623",
667
+ rx: "3.49811",
668
+ fill: s
669
+ }
670
+ ),
671
+ /* @__PURE__ */ r(
672
+ "rect",
673
+ {
674
+ x: "1.25",
675
+ y: "19.043",
676
+ width: "15.3647",
677
+ height: "15.2004",
678
+ rx: "4.5",
679
+ fill: n,
680
+ stroke: s
681
+ }
682
+ ),
683
+ /* @__PURE__ */ h("g", { filter: "url(#filter0_d_8010_16559)", children: [
684
+ /* @__PURE__ */ r(
685
+ "path",
686
+ {
687
+ d: "M87.8168 13.1918L101.18 36.3366C102.795 39.134 100.776 42.6307 97.5456 42.6307H70.8202C67.5901 42.6307 65.5713 39.134 67.1864 36.3366L80.549 13.1918C82.1641 10.3944 86.2018 10.3944 87.8168 13.1918Z",
688
+ fill: n,
689
+ stroke: s
690
+ }
691
+ ),
692
+ /* @__PURE__ */ r(
693
+ "path",
694
+ {
695
+ d: "M85.6358 19.2969V26.2041C85.6358 26.9367 85.5995 27.6572 85.5271 28.3656C85.4546 29.066 85.362 29.8107 85.2493 30.5996H83.2206C83.1079 29.8107 83.0154 29.066 82.9429 28.3656C82.8705 27.6572 82.8342 26.9367 82.8342 26.2041V19.2969H85.6358ZM82.3633 35.1159C82.3633 34.8663 82.4076 34.6288 82.4961 34.4034C82.5927 34.178 82.7215 33.9848 82.8825 33.8238C83.0516 33.6628 83.2488 33.534 83.4742 33.4374C83.6996 33.3408 83.9412 33.2925 84.1988 33.2925C84.4483 33.2925 84.6858 33.3408 84.9112 33.4374C85.1366 33.534 85.3298 33.6628 85.4909 33.8238C85.6599 33.9848 85.7927 34.178 85.8893 34.4034C85.986 34.6288 86.0343 34.8663 86.0343 35.1159C86.0343 35.3735 85.986 35.615 85.8893 35.8404C85.7927 36.0578 85.6599 36.247 85.4909 36.408C85.3298 36.569 85.1366 36.6938 84.9112 36.7823C84.6858 36.8789 84.4483 36.9272 84.1988 36.9272C83.9412 36.9272 83.6996 36.8789 83.4742 36.7823C83.2488 36.6938 83.0516 36.569 82.8825 36.408C82.7215 36.247 82.5927 36.0578 82.4961 35.8404C82.4076 35.615 82.3633 35.3735 82.3633 35.1159Z",
696
+ fill: s
697
+ }
698
+ )
699
+ ] }),
700
+ /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ h(
701
+ "filter",
702
+ {
703
+ id: "filter0_d_8010_16559",
704
+ x: "56.1172",
705
+ y: "0.59375",
706
+ width: "56.1328",
707
+ height: "52.5371",
708
+ filterUnits: "userSpaceOnUse",
709
+ "color-interpolation-filters": "sRGB",
710
+ children: [
711
+ /* @__PURE__ */ r("feFlood", { "flood-opacity": "0", result: "BackgroundImageFix" }),
712
+ /* @__PURE__ */ r(
713
+ "feColorMatrix",
714
+ {
715
+ in: "SourceAlpha",
716
+ type: "matrix",
717
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
718
+ result: "hardAlpha"
719
+ }
720
+ ),
721
+ /* @__PURE__ */ r("feOffset", {}),
722
+ /* @__PURE__ */ r("feGaussianBlur", { stdDeviation: "5" }),
723
+ /* @__PURE__ */ r("feComposite", { in2: "hardAlpha", operator: "out" }),
724
+ /* @__PURE__ */ r(
725
+ "feColorMatrix",
726
+ {
727
+ type: "matrix",
728
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"
729
+ }
730
+ ),
731
+ /* @__PURE__ */ r(
732
+ "feBlend",
733
+ {
734
+ mode: "normal",
735
+ in2: "BackgroundImageFix",
736
+ result: "effect1_dropShadow_8010_16559"
737
+ }
738
+ ),
739
+ /* @__PURE__ */ r(
740
+ "feBlend",
741
+ {
742
+ mode: "normal",
743
+ in: "SourceGraphic",
744
+ in2: "effect1_dropShadow_8010_16559",
745
+ result: "shape"
746
+ }
747
+ )
748
+ ]
749
+ }
750
+ ) })
751
+ ]
752
+ }
753
+ );
754
+ }
755
+ function $t({ text: n }) {
756
+ return /* @__PURE__ */ h("div", { style: { wordBreak: "break-all" }, className: "bw-text-text-error bw-mb-12 bw-w-full bw-text-sm bw-flex bw-flex-col bw-justify-center bw-items-center bw-text-center bw-text-text-redtext", children: [
757
+ /* @__PURE__ */ r(y0, { fill: "var(--tw-background-networkcard)", stroke: "var(--tw-border-primary)" }),
758
+ /* @__PURE__ */ r("p", { className: "bw-text-2xl bw-mt-3 bw-text-text-primary", children: n }),
759
+ /* @__PURE__ */ r("p", { className: "bw-text-sm bw-mt-2 bw-font-normal bw-text-text-secondary", children: "Please start your transaction again" })
760
+ ] });
761
+ }
762
+ function St(n) {
763
+ var I, v, j;
764
+ const s = c((o) => o.setPersist), t = c((o) => o.persist), e = _t(), { setErrorMessage: i } = J(at), d = dt(!1), a = t.isHistory, w = !rt.isEmpty((v = (I = c.getState()) == null ? void 0 : I.persist) == null ? void 0 : v.historyData);
765
+ H(() => (d.current = !0, () => {
766
+ d.current = !1;
767
+ }), []);
768
+ const f = fe({
769
+ mutationKey: "nexttx",
770
+ mutationFn: async ({ id: o, routeId: u }) => await Zt({ stepId: o, routeId: u }),
771
+ refetchOnWindowFocus: !1,
772
+ refetchOnMount: !1,
773
+ cacheTime: 1e3,
774
+ onSuccess: (o, u) => {
775
+ var l, x, g, N, S, b, p;
776
+ d.current && (o.status == "error" ? i(o) : i({ error: "" }), e.emit(ot.TransactionData, {
777
+ ...o
778
+ }), y(o), s({
779
+ ...(l = c.getState()) == null ? void 0 : l.persist,
780
+ loading: !1,
781
+ txnEvm: (g = (x = o == null ? void 0 : o.data) == null ? void 0 : x.txnData) == null ? void 0 : g.txnEvm,
782
+ nextTx: o,
783
+ hash: null,
784
+ txnType: ((S = (N = o == null ? void 0 : o.data) == null ? void 0 : N.txnData) == null ? void 0 : S.txnType) || null,
785
+ gasless: (p = (b = o == null ? void 0 : o.data) == null ? void 0 : b.txnData) == null ? void 0 : p.gasless
786
+ }));
787
+ },
788
+ onError: (o) => {
789
+ var l;
790
+ let u = o.details || o.message || "";
791
+ i({ error: u }), e.emit(ot.TransactionData, {
792
+ error: u,
793
+ routeId: (t == null ? void 0 : t.routeId) || "",
794
+ stepId: ((l = t == null ? void 0 : t.stepData) == null ? void 0 : l.stepId) || ""
795
+ });
796
+ }
797
+ });
798
+ async function m(o, u, l) {
799
+ s({
800
+ ...c.getState().persist,
801
+ loading: !0
802
+ });
803
+ try {
804
+ await f.mutateAsync({
805
+ id: o == null ? void 0 : o.stepId,
806
+ routeId: u
807
+ }), s({
808
+ ...c.getState().persist,
809
+ stepData: o
810
+ });
811
+ } catch {
812
+ s({
813
+ ...c.getState().persist,
814
+ loading: !1
815
+ });
816
+ }
817
+ }
818
+ function y(o) {
819
+ var u, l, x, g, N, S, b;
820
+ if (((u = o == null ? void 0 : o.data) == null ? void 0 : u.skipTxn) === !0) {
821
+ let p = ((g = (x = (l = C == null ? void 0 : C.data) == null ? void 0 : l.data) == null ? void 0 : x.steps) == null ? void 0 : g[t.allSteps.currentStep + 1]) || ((S = (N = t == null ? void 0 : t.allSteps) == null ? void 0 : N.steps) == null ? void 0 : S[t.allSteps.currentStep + 1]) || {};
822
+ !rt.isEmpty(p) && ((b = o == null ? void 0 : o.data) != null && b.routeId) && setTimeout(() => {
823
+ var A;
824
+ k(), m(p, (A = o == null ? void 0 : o.data) == null ? void 0 : A.routeId);
825
+ }, 0);
826
+ } else
827
+ return;
828
+ }
829
+ function k() {
830
+ var o;
831
+ s({
832
+ ...c.getState().persist,
833
+ loading: !0,
834
+ allSteps: {
835
+ ...c.getState().persist.allSteps,
836
+ steps: ((o = t == null ? void 0 : t.allSteps) == null ? void 0 : o.steps) || [],
837
+ currentStep: t.allSteps.currentStep + 1,
838
+ type: "preText"
839
+ }
840
+ });
841
+ }
842
+ const C = ke({
843
+ queryKey: ["txnbody", t == null ? void 0 : t.routeId],
844
+ queryFn: async () => await Kt({ routeId: t == null ? void 0 : t.routeId }),
845
+ refetchOnWindowFocus: !1,
846
+ refetchOnMount: !1,
847
+ enabled: !!((j = t.routeId) != null && j.length && !t.nextTx && !a)
848
+ });
849
+ return H(() => {
850
+ var o, u, l, x, g, N, S;
851
+ if (C.data && !(t != null && t.nextTx) && n) {
852
+ let b = C.data;
853
+ b.status == "error" ? (i(b), e.emit(ot.TransactionSteps, {
854
+ ...b
855
+ })) : (e.emit(ot.TransactionSteps, {
856
+ routeId: ((o = b == null ? void 0 : b.data) == null ? void 0 : o.routeId) || "",
857
+ steps: ((u = b == null ? void 0 : b.data) == null ? void 0 : u.steps) || [],
858
+ numOfSteps: ((x = (l = b == null ? void 0 : b.data) == null ? void 0 : l.steps) == null ? void 0 : x.length) || 0
859
+ }), i({ error: "" })), typeof (b == null ? void 0 : b.data) < "u" && !w && (m((g = b == null ? void 0 : b.data) == null ? void 0 : g.steps[0], (N = b == null ? void 0 : b.data) == null ? void 0 : N.routeId), setTimeout(() => {
860
+ var p, A, D;
861
+ s({
862
+ ...c.getState().persist,
863
+ stepData: (p = b == null ? void 0 : b.data) == null ? void 0 : p.steps[0]
864
+ }), s({
865
+ ...c.getState().persist,
866
+ allSteps: {
867
+ steps: ((A = b == null ? void 0 : b.data) == null ? void 0 : A.steps) || ((D = t == null ? void 0 : t.allSteps) == null ? void 0 : D.steps) || [],
868
+ currentStep: 0,
869
+ type: "preText"
870
+ }
871
+ });
872
+ }, 1200), ((S = b == null ? void 0 : b.data) == null ? void 0 : S.status) == "error" && i({ ...b.data }));
873
+ }
874
+ }, [C.data, t == null ? void 0 : t.nextTx, w, n]), H(() => {
875
+ if (C.error) {
876
+ let o = C.error, u = o.details || o.message || "";
877
+ e.emit(ot.TransactionSteps, {
878
+ error: u,
879
+ routeId: (t == null ? void 0 : t.routeId) || ""
880
+ }), i({ error: u });
881
+ }
882
+ }, [C.error]), H(() => {
883
+ var o;
884
+ t.routeId && s({ ...(o = c.getState()) == null ? void 0 : o.persist, isSuccess: !0 });
885
+ }, [t.routeId]), { nextTx: f, callNextTx: m, handleSkipTxn: y, setNextStep: k, txnBody: C };
886
+ }
887
+ function zt() {
888
+ var v, j;
889
+ const n = c((o) => o.persist), s = c((o) => o.setPersist), { registerError: t } = le(), { handleErrorMessage: e, setErrorMessage: i } = J(at), d = (n == null ? void 0 : n.showAcceptQuote) && !n.hash && ((v = n == null ? void 0 : n.allSteps) == null ? void 0 : v.currentStep) == 0 && ((j = n == null ? void 0 : n.nextTx) == null ? void 0 : j.status) === "success", { txnBody: a, callNextTx: w } = St();
890
+ function f(o) {
891
+ var l, x, g, N, S, b, p, A, D;
892
+ let u = [...((x = (l = c.getState()) == null ? void 0 : l.persist) == null ? void 0 : x.stepStatus) || []];
893
+ return u.length ? u[(g = n.allSteps) == null ? void 0 : g.currentStep] = {
894
+ ...u[(N = n.allSteps) == null ? void 0 : N.currentStep],
895
+ type: (S = n.allSteps) == null ? void 0 : S.type
896
+ } : u[0] = {
897
+ ...u[(b = n.allSteps) == null ? void 0 : b.currentStep],
898
+ type: (p = n.allSteps) == null ? void 0 : p.type
899
+ }, o && (u[(A = n.allSteps) == null ? void 0 : A.currentStep] = {
900
+ ...u[(D = n.allSteps) == null ? void 0 : D.currentStep],
901
+ ...o
902
+ }), u;
903
+ }
904
+ function m() {
905
+ s({
906
+ ...c.getState().persist,
907
+ stepData: {},
908
+ allSteps: {
909
+ steps: null,
910
+ currentStep: 0
911
+ }
912
+ });
913
+ }
914
+ function y() {
915
+ i({ error: "" });
916
+ }
917
+ function k(o, u) {
918
+ var l, x;
919
+ t({
920
+ module: o,
921
+ routeId: (n == null ? void 0 : n.routeId) || "",
922
+ stepId: ((l = n == null ? void 0 : n.stepData) == null ? void 0 : l.stepId) || "",
923
+ error: u.error,
924
+ userWalletAddress: (x = n == null ? void 0 : n.route) == null ? void 0 : x.userWalletAddress
925
+ });
926
+ }
927
+ function C(o) {
928
+ var x, g, N, S, b, p, A, D, E, M, B, $, O, _, U, Q, P, R;
929
+ let l = { ...((N = (g = (x = c) == null ? void 0 : x.getState()) == null ? void 0 : g.persist) == null ? void 0 : N.txnHashObj) || {} };
930
+ rt.isEmpty(l[(S = o == null ? void 0 : o.data) == null ? void 0 : S.stepId]) ? l[(B = o == null ? void 0 : o.data) == null ? void 0 : B.stepId] = {
931
+ srcTxnUrl: (($ = o == null ? void 0 : o.data) == null ? void 0 : $.srcTxnUrl) || "",
932
+ stepId: ((O = o == null ? void 0 : o.data) == null ? void 0 : O.stepId) || "",
933
+ srcTxnHash: ((_ = o == null ? void 0 : o.data) == null ? void 0 : _.srcTxnHash) || "",
934
+ destTxnUrl: ((U = o == null ? void 0 : o.data) == null ? void 0 : U.destTxnUrl) || "",
935
+ destTxnHash: ((Q = o == null ? void 0 : o.data) == null ? void 0 : Q.destTxnHash) || ""
936
+ } : l[(b = o == null ? void 0 : o.data) == null ? void 0 : b.stepId] = {
937
+ ...l[(p = o == null ? void 0 : o.data) == null ? void 0 : p.stepId],
938
+ destTxnHash: ((A = o == null ? void 0 : o.data) == null ? void 0 : A.destTxnHash) || (o == null ? void 0 : o.destTxnHash) || "",
939
+ destTxnUrl: ((D = o == null ? void 0 : o.data) == null ? void 0 : D.destTxnUrl) || (o == null ? void 0 : o.destTxnUrl) || "",
940
+ srcTxnUrl: ((E = o == null ? void 0 : o.data) == null ? void 0 : E.srcTxnUrl) || (o == null ? void 0 : o.srcTxnUrl) || "",
941
+ srcTxnHash: ((M = o == null ? void 0 : o.data) == null ? void 0 : M.srcTxnHash) || (o == null ? void 0 : o.srcTxnHash) || ""
942
+ }, s({
943
+ ...(R = (P = c) == null ? void 0 : P.getState()) == null ? void 0 : R.persist,
944
+ txnHashObj: l
945
+ });
946
+ }
947
+ function I() {
948
+ var o, u, l, x;
949
+ s({
950
+ ...(o = c.getState()) == null ? void 0 : o.persist,
951
+ stepStatus: f({ status: "loadingText" }),
952
+ isTryAgain: !0,
953
+ loading: !0,
954
+ hash: null
955
+ }), e(!1), y(), w(((u = n == null ? void 0 : n.allSteps) == null ? void 0 : u.steps[n.allSteps.currentStep]) || {}, (n == null ? void 0 : n.routeId) || ((x = (l = a.data) == null ? void 0 : l.data) == null ? void 0 : x.routeId), !0);
956
+ }
957
+ return { handleStepStatus: f, handleUpdate: m, handleErrorReset: y, isShowNewQuote: d, handleTxnObj: C, callRegisterError: k, handleTryAgain: I };
958
+ }
959
+ const Wt = ee(new AbortController());
960
+ function W0({ children: n }) {
961
+ const s = dt(new AbortController());
962
+ return H(() => (s.current = new AbortController(), () => {
963
+ var t;
964
+ (t = s.current) == null || t.abort();
965
+ }), []), /* @__PURE__ */ r(Wt.Provider, { value: s.current, children: n });
966
+ }
967
+ function qt(n) {
968
+ return typeof n != "string" || n.length === 0 ? n : n.charAt(0).toUpperCase() + n.slice(1).toLowerCase();
969
+ }
970
+ function f0() {
971
+ var b;
972
+ const n = c((p) => p.setPersist), s = c((p) => p.persist), { callRegisterError: t, handleTxnObj: e, handleStepStatus: i } = zt(), { errorMessage: d, setErrorMessage: a } = J(at), w = J(Wt), { connector: f, chainId: m } = ft(), y = ce(), { data: k } = xe({ config: y, connector: f, chainId: m }), { primaryWallet: C } = Ot(), { setNextStep: I, callNextTx: v } = St(), j = _t(), { wallet: o } = jt(), u = dt(), { data: l, isLoading: x } = Lt({
973
+ chainId: [(b = s == null ? void 0 : s.fromChain) == null ? void 0 : b.chainId],
974
+ multiChain: !0
975
+ });
976
+ async function g() {
977
+ var A, D;
978
+ let p;
979
+ ((A = s == null ? void 0 : s.fromChain) == null ? void 0 : A.networkType) == "sol" && (p = await C.connector.getSigner());
980
+ try {
981
+ let E;
982
+ E = await te({
983
+ txDataResponse: s.nextTx,
984
+ quote: s.route,
985
+ step: s.stepData,
986
+ provider: k || null,
987
+ cosmosClient: (l == null ? void 0 : l[(D = s == null ? void 0 : s.fromChain) == null ? void 0 : D.chainId]) || null,
988
+ walletAdapter: p || null,
989
+ signTransaction: (p == null ? void 0 : p.signTransaction) || null,
990
+ tronAdapter: o,
991
+ bitcoinWallet: C
992
+ }), typeof E == "object" && (E = E.signature), n({
993
+ ...c.getState().persist,
994
+ hash: E
995
+ }), N(E);
996
+ } catch (E) {
997
+ const M = yt(E.message || E.details || E), B = E.message || E.details || E;
998
+ M && (B != null && B.length) && u.current && t("/wallet error", {
999
+ error: B
1000
+ }), a({ error: B, type: "wallet" });
1001
+ }
1002
+ }
1003
+ async function N(p) {
1004
+ var A, D;
1005
+ try {
1006
+ let E = await Xt({ routeId: s.routeId, stepId: (A = s == null ? void 0 : s.stepData) == null ? void 0 : A.stepId, txnHash: p }), M = await Yt({
1007
+ routeId: s.routeId,
1008
+ stepId: (D = s == null ? void 0 : s.stepData) == null ? void 0 : D.stepId,
1009
+ txnHash: p,
1010
+ signal: w.signal,
1011
+ pollingIntervalMs: 2e3,
1012
+ onStatusUpdate: (B, $) => {
1013
+ var _, U, Q, P, R, z, W;
1014
+ n({
1015
+ ...(U = (_ = c) == null ? void 0 : _.getState()) == null ? void 0 : U.persist,
1016
+ stepStatus: i({
1017
+ status: "pending"
1018
+ })
1019
+ });
1020
+ let O = ((Q = s == null ? void 0 : s.allSteps) == null ? void 0 : Q.currentStep) === ((R = (P = s == null ? void 0 : s.allSteps) == null ? void 0 : P.steps) == null ? void 0 : R.length) - 1;
1021
+ j.emit(ot.TransactionStatus, {
1022
+ ...$,
1023
+ status: !O && ((z = $ == null ? void 0 : $.data) == null ? void 0 : z.status) === "success" ? "in-progress" : (W = $ == null ? void 0 : $.data) == null ? void 0 : W.status,
1024
+ isLastStep: O
1025
+ }), $ && S($);
1026
+ }
1027
+ });
1028
+ } catch (E) {
1029
+ const M = yt(E.message || E.details || E), B = E.message || E.details || E;
1030
+ M && (B != null && B.length) && u.current && t("/wallet error", {
1031
+ error: B
1032
+ }), a({ error: B, type: "wallet" });
1033
+ }
1034
+ }
1035
+ function S(p) {
1036
+ var A, D, E, M, B, $, O, _, U, Q, P, R, z, W, Z, K, X, Y;
1037
+ if ((A = p == null ? void 0 : p.data) != null && A.status && u.current && n({
1038
+ ...(E = (D = c) == null ? void 0 : D.getState()) == null ? void 0 : E.persist,
1039
+ statusData: p == null ? void 0 : p.data,
1040
+ stepStatus: i({
1041
+ status: ((M = p == null ? void 0 : p.data) == null ? void 0 : M.status) == "in-progress" ? "pending" : (B = p == null ? void 0 : p.data) == null ? void 0 : B.status
1042
+ })
1043
+ }), e(p), p.status == "error" && a(p), (($ = p.data) == null ? void 0 : $.status) == "success") {
1044
+ let tt = s.allSteps.steps[s.allSteps.currentStep + 1];
1045
+ if (a({ error: "" }), n({
1046
+ ...c.getState().persist,
1047
+ stepData: tt || c.getState().persist.stepData
1048
+ }), s.allSteps.currentStep == ((_ = (O = s.allSteps) == null ? void 0 : O.steps) == null ? void 0 : _.length) - 1)
1049
+ n({
1050
+ ...c.getState().persist,
1051
+ allSteps: {
1052
+ ...c.getState().persist.allSteps,
1053
+ currentStep: s.allSteps.currentStep + 1,
1054
+ type: "preText"
1055
+ }
1056
+ });
1057
+ else if (s.allSteps.currentStep <= ((Q = (U = s.allSteps) == null ? void 0 : U.steps) == null ? void 0 : Q.length) - 1)
1058
+ I(), v(s.allSteps.steps[s.allSteps.currentStep + 1], (s == null ? void 0 : s.routeId) || ((R = (P = txnBody.data) == null ? void 0 : P.data) == null ? void 0 : R.routeId));
1059
+ else
1060
+ return;
1061
+ } else ((z = p.data) == null ? void 0 : z.status) == "failed" || (((W = p.data) == null ? void 0 : W.status) == "refunded" ? a({ error: `${qt(((Z = s == null ? void 0 : s.stepData) == null ? void 0 : Z.stepType) || "")} failed! Tokens have been refunded to the source chain.` }) : ((K = p.data) == null ? void 0 : K.status) == "in-progress" && (X = d == null ? void 0 : d.error) != null && X.length && (n({ ...(Y = c.getState()) == null ? void 0 : Y.persist, loading: !0 }), a({ error: "" })));
1062
+ }
1063
+ return H(() => (s.hash && N(s.hash), () => {
1064
+ w.abort();
1065
+ }), []), H(() => (u.current = !0, () => {
1066
+ u.current = !1;
1067
+ }), []), { handleExeTxn: g };
1068
+ }
1069
+ function q0({ setExchange: n, startTimer: s, handleBack: t }) {
1070
+ var $, O, _, U, Q, P, R, z, W, Z, K, X, Y, tt, lt, ct, xt, V, Tt, vt, Et, Ct, Nt;
1071
+ const e = c((T) => T.persist), i = c((T) => T.setPersist), [d, a] = mt(!1), { handleTxnSuccess: w } = J(Rt), { isErrorMessage: f, handleErrorMessage: m, errorMessage: y } = J(at), { chain: k } = ft(), C = e.isHistory, { handleStepStatus: I, handleUpdate: v, handleTryAgain: j, isShowNewQuote: o, callRegisterError: u } = zt(), { handleExeTxn: l } = f0(), { nextTx: x, handleSkipTxn: g, callNextTx: N, txnBody: S } = St(!0), { switchChain: b } = be({
1072
+ chainId: Number(((O = ($ = e == null ? void 0 : e.stepData) == null ? void 0 : $.from) == null ? void 0 : O.chainId) || "0"),
1073
+ throwForSwitchChainNotSupported: !0,
1074
+ onError(T) {
1075
+ yt(T.message) && u("wallet-error-switch", { data: { error: T.message } });
1076
+ }
1077
+ }), p = !rt.isEmpty((U = (_ = c.getState()) == null ? void 0 : _.persist) == null ? void 0 : U.historyData);
1078
+ let A = (W = (z = (Q = e == null ? void 0 : e.allSteps) == null ? void 0 : Q.steps) == null ? void 0 : z[((P = e.allSteps) == null ? void 0 : P.currentStep) || ((R = e == null ? void 0 : e.allSteps) == null ? void 0 : R.currentStep)]) == null ? void 0 : W.texts, D = e != null && e.loading ? e.hash ? "process" : "loading" : "pre", E = (Z = y == null ? void 0 : y.error) != null && Z.length ? y.error : null;
1079
+ H(() => {
1080
+ var T, F, L;
1081
+ p && typeof ((T = e == null ? void 0 : e.historyData) == null ? void 0 : T.currentStepIndex) < "u" && ((F = e == null ? void 0 : e.historyData) == null ? void 0 : F.currentStepStatus) == "not-started" ? N(e == null ? void 0 : e.stepData, e == null ? void 0 : e.routeId) : ((L = e == null ? void 0 : e.historyData) == null ? void 0 : L.currentStepStatus) == "in-progress" && s(!0);
1082
+ }, [p]), H(() => {
1083
+ var T;
1084
+ if (((T = e == null ? void 0 : e.allSteps) == null ? void 0 : T.currentStep) === 0 && x.data) {
1085
+ let F = x.data;
1086
+ i({
1087
+ ...c.getState().persist,
1088
+ isQuoteTimer: !(F.status == "error" || e != null && e.isTryAgain),
1089
+ quote: F.status == "error" || e != null && e.isTryAgain ? "disable" : "enable",
1090
+ quoteStartTime: (/* @__PURE__ */ new Date()).getTime()
1091
+ });
1092
+ } else
1093
+ i({
1094
+ ...c.getState().persist,
1095
+ isQuoteTimer: !1,
1096
+ quote: "disable"
1097
+ });
1098
+ }, [(K = e == null ? void 0 : e.allSteps) == null ? void 0 : K.steps, x.data]), H(() => {
1099
+ var T, F;
1100
+ ((T = e.statusData) == null ? void 0 : T.status) == "success" && e.allSteps.currentStep === ((F = e.allSteps.steps) == null ? void 0 : F.length) && (S.isSuccess || e.isSuccess) ? w(!0) : w(!1);
1101
+ }, [e.allSteps, S.isSuccess, e.isSuccess, e == null ? void 0 : e.statusData]), H(() => {
1102
+ var T, F, L, et, nt;
1103
+ (T = y == null ? void 0 : y.error) != null && T.length || ((F = e.statusData) == null ? void 0 : F.status) == "failed" || ((L = e.statusData) == null ? void 0 : L.status) == "partial-success" || ((et = e.statusData) == null ? void 0 : et.status) == "txn-expired" || ((nt = e.statusData) == null ? void 0 : nt.status) == "refunded" ? m(!0) : m(!1);
1104
+ }, [y, e == null ? void 0 : e.statusData]), H(() => {
1105
+ var T, F;
1106
+ !((T = y == null ? void 0 : y.error) != null && T.length) && (e != null && e.hash) && ((F = e == null ? void 0 : e.statusData) == null ? void 0 : F.srcTxnHash) !== (e == null ? void 0 : e.hash) && i({
1107
+ ...c.getState().persist,
1108
+ allSteps: {
1109
+ ...c.getState().persist.allSteps,
1110
+ type: "postText"
1111
+ }
1112
+ });
1113
+ }, [y == null ? void 0 : y.error, e == null ? void 0 : e.hash]), H(() => {
1114
+ var F, L;
1115
+ let T = { ...(F = c.getState()) == null ? void 0 : F.persist };
1116
+ ((L = e == null ? void 0 : e.allSteps) == null ? void 0 : L.steps) !== null && (T = {
1117
+ ...T,
1118
+ stepStatus: I()
1119
+ }, i(T));
1120
+ }, [e.allSteps]), H(() => {
1121
+ var T;
1122
+ rt.isEmpty(e == null ? void 0 : e.allSteps) || e.hash || i({
1123
+ ...c.getState().persist,
1124
+ allSteps: { ...c.getState().persist.allSteps, type: "preText" },
1125
+ loading: !1
1126
+ }), e != null && e.routeId && !C && n(), g(e == null ? void 0 : e.nextTx), ((T = e == null ? void 0 : e.nextTx) == null ? void 0 : T.status) === "error" && (i({
1127
+ ...c.getState().persist,
1128
+ loading: !0
1129
+ }), N(e == null ? void 0 : e.stepData, e == null ? void 0 : e.routeId));
1130
+ }, []), H(() => {
1131
+ var T;
1132
+ f && !d && i({ ...(T = c.getState()) == null ? void 0 : T.persist, loading: !1 });
1133
+ }, [f, d]), H(() => {
1134
+ var T, F, L;
1135
+ (L = (F = (T = c.getState()) == null ? void 0 : T.persist) == null ? void 0 : F.nextTx) != null && L.data && d && (B(), a(!1));
1136
+ }, [(tt = (Y = (X = c.getState()) == null ? void 0 : X.persist) == null ? void 0 : Y.nextTx) == null ? void 0 : tt.data]);
1137
+ function M(T) {
1138
+ a(T);
1139
+ }
1140
+ async function B() {
1141
+ var T, F, L, et, nt, bt;
1142
+ (F = e.allSteps.steps) != null && F[((T = e.allSteps) == null ? void 0 : T.currentStep) || 0] && (i({
1143
+ ...(L = c.getState()) == null ? void 0 : L.persist,
1144
+ loading: !0,
1145
+ isTimerStarted: !0,
1146
+ statusData: null,
1147
+ isQuoteTimer: !1,
1148
+ showAcceptQuote: !1,
1149
+ quote: "disable",
1150
+ startTime: ((bt = (nt = (et = c) == null ? void 0 : et.getState()) == null ? void 0 : nt.persist) == null ? void 0 : bt.startTime) || (/* @__PURE__ */ new Date()).getTime()
1151
+ }), s(!0), l(), i({
1152
+ ...c.getState().persist,
1153
+ allSteps: {
1154
+ ...c.getState().persist.allSteps,
1155
+ type: "loadingText"
1156
+ }
1157
+ }));
1158
+ }
1159
+ return H(() => {
1160
+ var T, F, L, et, nt, bt, At;
1161
+ if ((F = (T = e == null ? void 0 : e.stepData) == null ? void 0 : T.from) != null && F.chainId)
1162
+ Number((et = (L = e == null ? void 0 : e.stepData) == null ? void 0 : L.from) == null ? void 0 : et.chainId) !== (k == null ? void 0 : k.chainId) && ((nt = e == null ? void 0 : e.fromChain) == null ? void 0 : nt.networkType) === "evm" && b({
1163
+ chainId: Number(((At = (bt = e == null ? void 0 : e.stepData) == null ? void 0 : bt.from) == null ? void 0 : At.chainId) || "0")
1164
+ });
1165
+ else return;
1166
+ }, [e == null ? void 0 : e.stepData]), /* @__PURE__ */ h(G, { children: [
1167
+ ((lt = e == null ? void 0 : e.statusData) == null ? void 0 : lt.status) !== "txn-expired" ? /* @__PURE__ */ r("div", { className: `bw-pt-4 bw-h-[80%] bw-mt-2 bw-relative ${o ? "bw-pointer-events-none bw-opacity-60" : ""}`, children: !S.isFetching && !rt.isEmpty(e == null ? void 0 : e.stepData) ? S.isSuccess && S.data || e != null && e.routeId ? (Tt = ((ct = e == null ? void 0 : e.allSteps) == null ? void 0 : ct.steps) || ((V = (xt = S.data) == null ? void 0 : xt.data) == null ? void 0 : V.steps)) == null ? void 0 : Tt.map((T, F, L) => /* @__PURE__ */ h(G, { children: [
1168
+ " ",
1169
+ /* @__PURE__ */ h("div", { className: "bw-flex bw-items-start bw-mb-4 bw-justify-between", children: [
1170
+ /* @__PURE__ */ h("div", { className: "bw-flex bw-relative bw-items-start bw-w-max bw-justify-center bw-gap-x-3", children: [
1171
+ /* @__PURE__ */ r(l0, { allSteps: e.allSteps, disableButton: e == null ? void 0 : e.loading, i: F, arr: L }),
1172
+ /* @__PURE__ */ r(We, { item: T, i: F })
1173
+ ] }),
1174
+ /* @__PURE__ */ r(ze, { i: F, item: T })
1175
+ ] })
1176
+ ] })) : /* @__PURE__ */ r(G, {}) : /* @__PURE__ */ r("div", { className: "bw-w-full bw-flex-1 bw-h-full bw-mt-[-5%] bw-flex bw-flex-col bw-justify-center bw-items-center ", children: E ? /* @__PURE__ */ r($t, { text: "Unable to complete the request!" }) : /* @__PURE__ */ h(G, { children: [
1177
+ /* @__PURE__ */ r("div", { className: "bw-relative bw-pb-4", children: /* @__PURE__ */ r(w0, {}) }),
1178
+ /* @__PURE__ */ r("p", { className: "bw-text-2xl bw-text-center bw-font-medium bw-text-text-secondary", children: "Initializing Transaction..." })
1179
+ ] }) }) }) : /* @__PURE__ */ r(G, {}),
1180
+ !S.isFetching && !rt.isEmpty(e == null ? void 0 : e.stepData) ? o ? /* @__PURE__ */ r(p0, { handleUpdate: v }) : ((vt = e == null ? void 0 : e.statusData) == null ? void 0 : vt.status) == "success" && e.allSteps.currentStep == ((Et = e.allSteps.steps) == null ? void 0 : Et.length) ? /* @__PURE__ */ r(Le, { handleBack: t }) : f ? ((Ct = e.statusData) == null ? void 0 : Ct.status) == "partial-success" ? /* @__PURE__ */ r(h0, { handleBack: t }) : ((Nt = e == null ? void 0 : e.statusData) == null ? void 0 : Nt.status) == "txn-expired" ? /* @__PURE__ */ h("div", { className: "bw-mt-6", children: [
1181
+ /* @__PURE__ */ r($t, { text: "Transaction expired!" }),
1182
+ /* @__PURE__ */ r("div", { className: "bw-absolute bw-bg-background-container bw-border-t bw-pt-3 bw-border-border-primary bw-w-full bw-flex bw-flex-col bw-items-center bw-justify-center bw-bottom-0", children: /* @__PURE__ */ r(Bt, { handleBack: t, errorText: E }) })
1183
+ ] }) : /* @__PURE__ */ r(Re, { errorText: E, handleGoBack: t, txnTextObj: A, handleExeTxn: j, handleDisable: M }) : /* @__PURE__ */ h("div", { className: "bw-absolute bw-bg-background-container bw-border-t bw-pt-3 bw-border-border-primary bw-w-full bw-flex bw-flex-col bw-items-center bw-justify-center bw-bottom-0", children: [
1184
+ /* @__PURE__ */ r(Qe, { txnProcessType: D, txnTextObj: A, errorText: E, allSteps: e == null ? void 0 : e.allSteps }),
1185
+ /* @__PURE__ */ r(Oe, { txnProcessType: D, txnTextObj: A, disableButton: e.loading, handleStep: B })
1186
+ ] }) : E != null && E.length ? /* @__PURE__ */ r("div", { className: "bw-absolute bw-bg-background-container bw-border-t bw-pt-3 bw-border-border-primary bw-w-full bw-flex bw-flex-col bw-items-center bw-justify-center bw-bottom-0", children: /* @__PURE__ */ r(Bt, { handleBack: t, errorText: E }) }) : /* @__PURE__ */ r(G, {})
1187
+ ] });
1188
+ }
1189
+ var ut = { exports: {} }, k0 = ut.exports, Vt;
1190
+ function g0() {
1191
+ return Vt || (Vt = 1, function(n, s) {
1192
+ (function(t, e) {
1193
+ n.exports = e(ht);
1194
+ })(typeof self < "u" ? self : k0, (t) => (() => {
1195
+ var e = { 155: (u) => {
1196
+ u.exports = t;
1197
+ } }, i = {};
1198
+ function d(u) {
1199
+ var l = i[u];
1200
+ if (l !== void 0) return l.exports;
1201
+ var x = i[u] = { exports: {} };
1202
+ return e[u](x, x.exports, d), x.exports;
1203
+ }
1204
+ d.d = (u, l) => {
1205
+ for (var x in l) d.o(l, x) && !d.o(u, x) && Object.defineProperty(u, x, { enumerable: !0, get: l[x] });
1206
+ }, d.o = (u, l) => Object.prototype.hasOwnProperty.call(u, l), d.r = (u) => {
1207
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(u, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(u, "__esModule", { value: !0 });
1208
+ };
1209
+ var a = {};
1210
+ d.r(a), d.d(a, { default: () => o, useStopwatch: () => v, useTime: () => j, useTimer: () => I });
1211
+ var w = d(155);
1212
+ class f {
1213
+ static expiryTimestamp(l) {
1214
+ const x = new Date(l).getTime() > 0;
1215
+ return x;
1216
+ }
1217
+ static onExpire(l) {
1218
+ const x = l && typeof l == "function";
1219
+ return x;
1220
+ }
1221
+ }
1222
+ class m {
1223
+ static getTimeFromSeconds(l) {
1224
+ const x = Math.ceil(l), g = Math.floor(x / 86400), N = Math.floor(x % 86400 / 3600), S = Math.floor(x % 3600 / 60);
1225
+ return { totalSeconds: x, seconds: Math.floor(x % 60), minutes: S, hours: N, days: g };
1226
+ }
1227
+ static getSecondsFromExpiry(l, x) {
1228
+ const g = l - (/* @__PURE__ */ new Date()).getTime();
1229
+ if (g > 0) {
1230
+ const N = g / 1e3;
1231
+ return x ? Math.round(N) : N;
1232
+ }
1233
+ return 0;
1234
+ }
1235
+ static getSecondsFromPrevTime(l, x) {
1236
+ const g = (/* @__PURE__ */ new Date()).getTime() - l;
1237
+ if (g > 0) {
1238
+ const N = g / 1e3;
1239
+ return x ? Math.round(N) : N;
1240
+ }
1241
+ return 0;
1242
+ }
1243
+ static getSecondsFromTimeNow() {
1244
+ const l = /* @__PURE__ */ new Date();
1245
+ return l.getTime() / 1e3 - 60 * l.getTimezoneOffset();
1246
+ }
1247
+ static getFormattedTimeFromSeconds(l, x) {
1248
+ const { seconds: g, minutes: N, hours: S } = m.getTimeFromSeconds(l);
1249
+ let b = "", p = S;
1250
+ return x === "12-hour" && (b = S >= 12 ? "pm" : "am", p = S % 12), { seconds: g, minutes: N, hours: p, ampm: b };
1251
+ }
1252
+ }
1253
+ function y(u, l) {
1254
+ const x = (0, w.useRef)();
1255
+ (0, w.useEffect)(() => {
1256
+ x.current = u;
1257
+ }), (0, w.useEffect)(() => {
1258
+ if (!l) return () => {
1259
+ };
1260
+ const g = setInterval(() => {
1261
+ x.current && x.current();
1262
+ }, l);
1263
+ return () => clearInterval(g);
1264
+ }, [l]);
1265
+ }
1266
+ const k = 1e3;
1267
+ function C(u) {
1268
+ if (!f.expiryTimestamp(u)) return null;
1269
+ const l = m.getSecondsFromExpiry(u), x = Math.floor(1e3 * (l - Math.floor(l)));
1270
+ return x > 0 ? x : k;
1271
+ }
1272
+ function I() {
1273
+ let { expiryTimestamp: u, onExpire: l, autoStart: x = !0 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1274
+ const [g, N] = (0, w.useState)(u), [S, b] = (0, w.useState)(m.getSecondsFromExpiry(g)), [p, A] = (0, w.useState)(x), [D, E] = (0, w.useState)(x), [M, B] = (0, w.useState)(C(g)), $ = (0, w.useCallback)(() => {
1275
+ f.onExpire(l) && l(), A(!1), B(null);
1276
+ }, [l]), O = (0, w.useCallback)(() => {
1277
+ A(!1);
1278
+ }, []), _ = (0, w.useCallback)(function(P) {
1279
+ let R = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1];
1280
+ B(C(P)), E(R), A(R), N(P), b(m.getSecondsFromExpiry(P));
1281
+ }, []), U = (0, w.useCallback)(() => {
1282
+ const P = /* @__PURE__ */ new Date();
1283
+ P.setMilliseconds(P.getMilliseconds() + 1e3 * S), _(P);
1284
+ }, [S, _]), Q = (0, w.useCallback)(() => {
1285
+ D ? (b(m.getSecondsFromExpiry(g)), A(!0)) : U();
1286
+ }, [g, D, U]);
1287
+ return y(() => {
1288
+ M !== k && B(k);
1289
+ const P = m.getSecondsFromExpiry(g);
1290
+ b(P), P <= 0 && $();
1291
+ }, p ? M : null), { ...m.getTimeFromSeconds(S), start: Q, pause: O, resume: U, restart: _, isRunning: p };
1292
+ }
1293
+ function v() {
1294
+ let { autoStart: u, offsetTimestamp: l } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1295
+ const [x, g] = (0, w.useState)(m.getSecondsFromExpiry(l, !0) || 0), [N, S] = (0, w.useState)(/* @__PURE__ */ new Date()), [b, p] = (0, w.useState)(x + m.getSecondsFromPrevTime(N || 0, !0)), [A, D] = (0, w.useState)(u);
1296
+ y(() => {
1297
+ p(x + m.getSecondsFromPrevTime(N, !0));
1298
+ }, A ? 1e3 : null);
1299
+ const E = (0, w.useCallback)(() => {
1300
+ const $ = /* @__PURE__ */ new Date();
1301
+ S($), D(!0), p(x + m.getSecondsFromPrevTime($, !0));
1302
+ }, [x]), M = (0, w.useCallback)(() => {
1303
+ g(b), D(!1);
1304
+ }, [b]), B = (0, w.useCallback)(function() {
1305
+ let $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, O = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1];
1306
+ const _ = m.getSecondsFromExpiry($, !0) || 0, U = /* @__PURE__ */ new Date();
1307
+ S(U), g(_), D(O), p(_ + m.getSecondsFromPrevTime(U, !0));
1308
+ }, []);
1309
+ return { ...m.getTimeFromSeconds(b), start: E, pause: M, reset: B, isRunning: A };
1310
+ }
1311
+ function j() {
1312
+ let { format: u } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1313
+ const [l, x] = (0, w.useState)(m.getSecondsFromTimeNow());
1314
+ return y(() => {
1315
+ x(m.getSecondsFromTimeNow());
1316
+ }, 1e3), { ...m.getFormattedTimeFromSeconds(l, u) };
1317
+ }
1318
+ function o(u) {
1319
+ if ((0, w.useEffect)(() => {
1320
+ }, []), u.expiryTimestamp) {
1321
+ const x = I(u);
1322
+ return { ...x, startTimer: x.start, stopTimer: x.pause, resetTimer: () => {
1323
+ } };
1324
+ }
1325
+ const l = v(u);
1326
+ return { ...l, startTimer: l.start, stopTimer: l.pause, resetTimer: l.reset };
1327
+ }
1328
+ return a;
1329
+ })());
1330
+ }(ut)), ut.exports;
1331
+ }
1332
+ var S0 = g0();
1333
+ function Pt(n) {
1334
+ return n > 9 || n < 0 ? n : `0${n}`;
1335
+ }
1336
+ function T0({ handleExpiry: n }) {
1337
+ var a;
1338
+ const s = c((w) => w.persist), t = (s == null ? void 0 : s.route) || {};
1339
+ let e = (s == null ? void 0 : s.startTime) || ((a = s == null ? void 0 : s.historyData) == null ? void 0 : a.createdAt);
1340
+ const { minutes: i, seconds: d } = S0.useTimer({
1341
+ expiryTimestamp: e + (t == null ? void 0 : t.estimatedTimeInSeconds) * 1e3,
1342
+ onExpire: () => {
1343
+ n();
1344
+ }
1345
+ });
1346
+ return `${Pt(i)}:${Pt(d)}`;
1347
+ }
1348
+ const J0 = ht.memo(function({ route: s, isTimerStarted: t, startTimer: e, isErrorMessage: i }) {
1349
+ const [d, a] = mt(!1), { isTxnSuccessful: w } = J(Rt), m = !c((k) => k.persist).stepData;
1350
+ function y() {
1351
+ a(!0), e(!1);
1352
+ }
1353
+ return /* @__PURE__ */ r("div", { className: "bw-border bw-w-[65px] bw-mt-5 bw-h-[65px] bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-container bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ", children: /* @__PURE__ */ r("p", { className: " bw-text-sm bw-text-center bw-font-medium bw-text-text-primary", children: m ? /* @__PURE__ */ r(It, {}) : w ? "Done" : t && !d ? /* @__PURE__ */ r(T0, { route: s, handleExpiry: y }) : d ? /* @__PURE__ */ r(It, {}) : "Start Txn" }) });
1354
+ });
1355
+ function Jt(n, s) {
1356
+ return ge(n, s) || 0;
1357
+ }
1358
+ function v0() {
1359
+ var s, t, e, i, d, a, w;
1360
+ const n = c((f) => f.persist);
1361
+ return /* @__PURE__ */ h("div", { className: "bw-w-full bw-px-3 bw-py-2 bw-border-t bw-border-border-primary", children: [
1362
+ /* @__PURE__ */ r("div", { children: (t = (s = n == null ? void 0 : n.route) == null ? void 0 : s.fee) == null ? void 0 : t.filter((f, m) => f.source == "FROM_SOURCE_WALLET").map((f, m) => f.amountInUSD ? /* @__PURE__ */ h("div", { className: "bw-flex bw-mb-1 bw-items-center bw-justify-between", children: [
1363
+ /* @__PURE__ */ r("p", { className: "bw-text-text-secondary bw-text-sm bw-font-semibold", children: `${qt(f.type)} Fee` }),
1364
+ /* @__PURE__ */ h("span", { className: "bw-text-text-secondary bw-text-sm bw-font-bold", children: [
1365
+ /* @__PURE__ */ r(it, { value: Jt(f.amountInToken, f.token.decimals).toFixed(20) || 0, options: { maxDecimals: 8 } }),
1366
+ ` ${f.token.symbol} ${f.amountInUSD ? " ($" : ""}`,
1367
+ f.amountInUSD ? /* @__PURE__ */ h(G, { children: [
1368
+ /* @__PURE__ */ r(it, { value: f.amountInUSD || 0, options: { maxDecimals: 8 } }),
1369
+ ")"
1370
+ ] }) : ""
1371
+ ] })
1372
+ ] }, m) : /* @__PURE__ */ r(G, {})) }),
1373
+ /* @__PURE__ */ r("div", { className: "bw-w-full bw-h-[1px] bw-border-b bw-my-2 bw-border-border-primary" }),
1374
+ /* @__PURE__ */ h("div", { className: "bw-w-full", children: [
1375
+ /* @__PURE__ */ h("div", { className: "bw-flex bw-items-center bw-mb-2 bw-justify-between", children: [
1376
+ /* @__PURE__ */ r("p", { className: "bw-text-text-primary bw-text-sm bw-font-medium", children: "Max Slippage" }),
1377
+ /* @__PURE__ */ h("span", { className: "bw-text-text-primary bw-text-sm bw-font-medium", children: [
1378
+ (((e = n == null ? void 0 : n.route) == null ? void 0 : e.slippage) || 0) / 100,
1379
+ "%"
1380
+ ] })
1381
+ ] }),
1382
+ /* @__PURE__ */ h("div", { className: "bw-flex bw-items-center bw-justify-between", children: [
1383
+ /* @__PURE__ */ r("p", { className: "bw-text-text-primary bw-text-sm bw-font-medium", children: "Minimum Received" }),
1384
+ /* @__PURE__ */ r("span", { className: "bw-text-text-primary bw-text-sm bw-font-medium", children: (i = n == null ? void 0 : n.route) != null && i.minOutputAmountDisplay || (d = n == null ? void 0 : n.route) != null && d.minOutputAmount ? `${Mt(n.route.minOutputAmountDisplay || n.route.minOutputAmount, 10)} ${(w = (a = n == null ? void 0 : n.route) == null ? void 0 : a.to) == null ? void 0 : w.symbol}` : "" })
1385
+ ] })
1386
+ ] })
1387
+ ] });
1388
+ }
1389
+ function E0({ isShowFull: n }) {
1390
+ return /* @__PURE__ */ r("button", { className: "bw-w-[20px] bw-h-[20px] bw-flex bw-items-center bw-justify-center bw-border bw-border-border-primary bw-rounded-full bw-text-text-secondary bw-text-lg bw-font-normal", children: /* @__PURE__ */ r("div", { className: `bw-mt-[1px] ${n ? "bw-rotate-180" : ""}`, children: /* @__PURE__ */ r(he, { fill: "var(--tw-text-primary)" }) }) });
1391
+ }
1392
+ function C0({ gasData: n }) {
1393
+ var t;
1394
+ const s = c((e) => e.persist);
1395
+ return /* @__PURE__ */ h("div", { className: "bw-flex bw-w-full bw-h-full bw-items-center", children: [
1396
+ /* @__PURE__ */ r("span", { className: "bw-text-xs bw-font-normal bw-text-text-secondary", children: "Max Slippage:" }),
1397
+ /* @__PURE__ */ h("span", { className: "bw-text-xs bw-ml-[3px] bw-font-bold bw-text-text-secondary", children: [
1398
+ (((t = s == null ? void 0 : s.route) == null ? void 0 : t.slippage) || 0) / 100,
1399
+ "%"
1400
+ ] }),
1401
+ /* @__PURE__ */ r("div", { className: "bw-w-[2px] bw-h-[24px] bw-mx-3 bw-bg-text-secondary" }),
1402
+ /* @__PURE__ */ r("span", { className: "bw-text-xs bw-font-normal bw-text-text-secondary", children: "Fees:" }),
1403
+ /* @__PURE__ */ h("span", { className: "bw-text-xs bw-ml-[3px] bw-font-bold bw-text-text-secondary", children: [
1404
+ /* @__PURE__ */ r(it, { value: (n == null ? void 0 : n.payableInToken) || 0, options: { maxDecimals: 8 } }),
1405
+ ` ${n == null ? void 0 : n.symbol} ${n != null && n.payableInUSD ? " ($" : ""}`,
1406
+ n != null && n.payableInUSD ? /* @__PURE__ */ h(G, { children: [
1407
+ /* @__PURE__ */ r(it, { value: (n == null ? void 0 : n.payableInUSD) || 0, options: { maxDecimals: 8 } }),
1408
+ ")"
1409
+ ] }) : ""
1410
+ ] })
1411
+ ] });
1412
+ }
1413
+ function N0({ gasData: n }) {
1414
+ return /* @__PURE__ */ h("div", { className: "bw-w-full bw-flex bw-items-center bw-justify-between bw-border-border-primary", children: [
1415
+ /* @__PURE__ */ r("span", { className: "bw-text-sm bw-font-bold bw-text-text-primary", children: "Fees" }),
1416
+ /* @__PURE__ */ h("span", { className: "bw-text-sm bw-ml-[3px] bw-font-bold bw-text-text-primary", children: [
1417
+ /* @__PURE__ */ r(it, { value: (n == null ? void 0 : n.payableInToken) || 0, options: { maxDecimals: 8 } }),
1418
+ ` ${n == null ? void 0 : n.symbol} ${n != null && n.payableInUSD ? " ($" : ""}`,
1419
+ n != null && n.payableInUSD ? /* @__PURE__ */ h(G, { children: [
1420
+ /* @__PURE__ */ r(it, { value: (n == null ? void 0 : n.payableInUSD) || 0, options: { maxDecimals: 8 } }),
1421
+ ")"
1422
+ ] }) : ""
1423
+ ] })
1424
+ ] });
1425
+ }
1426
+ function A0({ gasData: n, isShowFull: s }) {
1427
+ return /* @__PURE__ */ h("div", { className: "bw-flex bw-items-center bw-justify-between bw-gap-x-2 bw-h-[35px] bw-px-3", children: [
1428
+ s ? /* @__PURE__ */ r(N0, { gasData: n }) : /* @__PURE__ */ r(C0, { gasData: n }),
1429
+ /* @__PURE__ */ r(E0, { isShowFull: s })
1430
+ ] });
1431
+ }
1432
+ function Z0() {
1433
+ var m, y;
1434
+ const n = c((k) => k.persist), [s, t] = mt(!1), e = c((k) => k.configuration), i = dt(null), [d, a] = mt(0);
1435
+ H(() => {
1436
+ if (i.current) {
1437
+ const k = setTimeout(() => {
1438
+ const C = i.current.scrollHeight;
1439
+ a(C);
1440
+ }, 50);
1441
+ return () => clearTimeout(k);
1442
+ }
1443
+ }, [n == null ? void 0 : n.route, s]);
1444
+ function w() {
1445
+ t(!s);
1446
+ }
1447
+ const f = ne(() => {
1448
+ var C, I;
1449
+ let k = {
1450
+ payableInUSD: 0,
1451
+ payableInToken: 0,
1452
+ symbol: ""
1453
+ };
1454
+ return (I = (C = n == null ? void 0 : n.route) == null ? void 0 : C.fee) == null || I.forEach((v) => {
1455
+ v.source == "FROM_SOURCE_WALLET" && (k.payableInUSD += Number(v.amountInUSD), k.payableInToken += Jt(Number(v.amountInToken), v.token.decimals), k.symbol = v.token.symbol);
1456
+ }), k;
1457
+ }, [n == null ? void 0 : n.route]);
1458
+ return /* @__PURE__ */ h(
1459
+ "div",
1460
+ {
1461
+ onClick: () => {
1462
+ w();
1463
+ },
1464
+ style: {
1465
+ boxShadow: e && e.customTheme && ((y = (m = e.customTheme) == null ? void 0 : m.shadow) == null ? void 0 : y.boxShadow) || "0px 0px 5.8px 0px #00000026"
1466
+ },
1467
+ className: "bw-w-full bw-sticky bw-top-0 bw-z-20 bw-select-none bw-cursor-pointer bw-bg-background-container bw-rounded-lg bw-min-h-max bw-border bw-border-border-primary bw-overflow-hidden",
1468
+ children: [
1469
+ /* @__PURE__ */ r(A0, { gasData: f, isShowFull: s }),
1470
+ /* @__PURE__ */ r(
1471
+ "div",
1472
+ {
1473
+ ref: i,
1474
+ style: {
1475
+ height: s ? `${d}px` : "0",
1476
+ transition: "height 0.3s ease-in-out",
1477
+ overflow: "hidden",
1478
+ visibility: d === 0 ? "hidden" : "visible"
1479
+ },
1480
+ children: /* @__PURE__ */ r("div", { className: "bw-h-auto", children: /* @__PURE__ */ r(v0, { showFull: s }) })
1481
+ }
1482
+ )
1483
+ ]
1484
+ }
1485
+ );
1486
+ }
1487
+ export {
1488
+ Z0 as E,
1489
+ z0 as H,
1490
+ Rt as T,
1491
+ at as a,
1492
+ Q0 as b,
1493
+ J0 as c,
1494
+ q0 as d,
1495
+ W0 as e
1496
+ };