@blockend/widget 1.0.39-beta.1 → 1.0.39

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 (110) hide show
  1. package/dist/{AllRoutes-pVn5r2AF.js → AllRoutes-qDXVEBq_.js} +17 -17
  2. package/dist/{Box-2EhEu03K.js → Box-DkvAdVmJ.js} +1 -1
  3. package/dist/{EstGas-WwkfFHpv.js → EstGas-CwWMUtsV.js} +224 -54
  4. package/dist/{Grow-D4EVow-M.js → Grow-w3xFin50.js} +2 -2
  5. package/dist/{InputComp-DQBDoD71.js → InputComp-DRGHX0JB.js} +6 -6
  6. package/dist/{LoadRoute-42ZgErfe.js → LoadRoute-Dgxq32oV.js} +39 -39
  7. package/dist/{QuotesProgress-CTlZ7elT.js → QuotesProgress-mMpawJHx.js} +1 -1
  8. package/dist/{SwapAsset-CU5YEZ75.js → SwapAsset-Cm3PfEdc.js} +17 -4
  9. package/dist/{Tooltip-DSOAqpED.js → Tooltip-BQd46Vx1.js} +3 -3
  10. package/dist/{TxnButton-CfruxaOs.js → TxnButton-C7D4coqw.js} +19 -19
  11. package/dist/{add-DayuYwbp.js → add-DJRptrWn.js} +1 -1
  12. package/dist/{all-wallets-B7lOWwQ-.js → all-wallets-BEwoK0hI.js} +1 -1
  13. package/dist/{app-store-CWVen5K_.js → app-store-BO2d_fOI.js} +1 -1
  14. package/dist/{apple-Xce5ePDw.js → apple-D4_HcFag.js} +1 -1
  15. package/dist/{arrow-bottom-circle-m6M-yL2m.js → arrow-bottom-circle-Czbe973X.js} +1 -1
  16. package/dist/{arrow-bottom-CJ5QodIU.js → arrow-bottom-zyNIGfu0.js} +1 -1
  17. package/dist/{arrow-left-gbgYje3p.js → arrow-left-2Hi0GW--.js} +1 -1
  18. package/dist/{arrow-right-BWBYQ-3w.js → arrow-right-DsstxcUl.js} +1 -1
  19. package/dist/{arrow-top-TV0fK_PC.js → arrow-top-Dne06L8p.js} +1 -1
  20. package/dist/{bank-D5WUpbbn.js → bank-BmHmaR1d.js} +1 -1
  21. package/dist/{basic-yKyoIw_n.js → basic-Bhds2Wiy.js} +3 -3
  22. package/dist/{browser-C1Gw-601.js → browser-CjYfBUW5.js} +1 -1
  23. package/dist/{card-BGu7Ytfr.js → card-Bi7Hbsfs.js} +1 -1
  24. package/dist/{ccip-8pKaCE7W.js → ccip-B-yKJCDq.js} +1 -1
  25. package/dist/{checkmark-bold-C-Za8drF.js → checkmark-bold-CcJ3JQev.js} +1 -1
  26. package/dist/{checkmark-DXjp9482.js → checkmark-zC82vmPx.js} +1 -1
  27. package/dist/{chevron-bottom-pyAIkjST.js → chevron-bottom-mKbX_tpu.js} +1 -1
  28. package/dist/{chevron-left-Fo0wnlZX.js → chevron-left-CfsLd6Kh.js} +1 -1
  29. package/dist/{chevron-right-DkmxB-lW.js → chevron-right-Cis0mx_w.js} +1 -1
  30. package/dist/{chevron-top-r9CVQcQg.js → chevron-top-BZ7z4zOm.js} +1 -1
  31. package/dist/{chrome-store-CRlb0bJh.js → chrome-store-xJbsiNft.js} +1 -1
  32. package/dist/{clock-TqJS2h0Z.js → clock-BST36xyV.js} +1 -1
  33. package/dist/{close-C2cPb_3q.js → close-CUnRl6rj.js} +1 -1
  34. package/dist/{coinPlaceholder-D-_tUshz.js → coinPlaceholder-eRYldXBb.js} +1 -1
  35. package/dist/{compass-D-JOMMbC.js → compass-B53Amzmz.js} +1 -1
  36. package/dist/{copy-CS7IA_r_.js → copy-CeMF3vNH.js} +1 -1
  37. package/dist/{core-DbjedOio.js → core-Ba7AWU2F.js} +3 -3
  38. package/dist/{cursor-3K2-QZLT.js → cursor-BXkX3Iej.js} +1 -1
  39. package/dist/{cursor-transparent-DKdHMJra.js → cursor-transparent-vN3U0Y44.js} +1 -1
  40. package/dist/{desktop-CAxsE6Ga.js → desktop-CQcrUlG2.js} +1 -1
  41. package/dist/{disconnect-Dc-LNqNb.js → disconnect-DqjgPdZy.js} +1 -1
  42. package/dist/{discord-VfiQtaLg.js → discord-CAeZvfjm.js} +1 -1
  43. package/dist/{down-C69EIwo1.js → down-C7Cxaule.js} +4 -4
  44. package/dist/{etherscan-nfJcVg9R.js → etherscan-BepqbIgx.js} +1 -1
  45. package/dist/{exclamation-triangle-DaMU5L_4.js → exclamation-triangle-BQlxBTQb.js} +1 -1
  46. package/dist/{extension-BaO8FLXh.js → extension-DNJRGdDb.js} +1 -1
  47. package/dist/{external-link-B9oCkuPJ.js → external-link-CvRsvpXe.js} +1 -1
  48. package/dist/{facebook-nSdQubUH.js → facebook-C_xJkTY_.js} +1 -1
  49. package/dist/{farcaster-BtInSUqS.js → farcaster-BmW5dRUe.js} +1 -1
  50. package/dist/{filters-C9LrueAm.js → filters-BC3dndy5.js} +1 -1
  51. package/dist/{getChainIds-CQg6djVc.js → getChainIds-rz0R4QLM.js} +2 -2
  52. package/dist/{getCosmosAddress-Qwk5Y2WB.js → getCosmosAddress-DwtEOPre.js} +2 -2
  53. package/dist/{github-BVzfRJXr.js → github-SFKWAQKv.js} +1 -1
  54. package/dist/{google-C_Zkq44M.js → google-CTJCrgwS.js} +1 -1
  55. package/dist/{hamburger-Bss9ENTU.js → hamburger-Bz6xyfny.js} +5 -5
  56. package/dist/{help-circle-D9KC2TTg.js → help-circle-tDDI6xDF.js} +1 -1
  57. package/dist/{id-D5ODDUPi.js → id-HUj92mdR.js} +1 -1
  58. package/dist/{image-D9BguVkX.js → image-kh61TiAZ.js} +1 -1
  59. package/dist/{index-mLOjEWq5.js → index-51ZOYWe6.js} +46 -20
  60. package/dist/{index-B-LMuVus.js → index-BIrmH9KU.js} +6 -6
  61. package/dist/{index-DTTNs7X2.js → index-Bp8YmQ0W.js} +1 -1
  62. package/dist/{index-B-Y6H6ZT.js → index-C59cU9Oj.js} +2 -2
  63. package/dist/{index-Csnr5wYZ.js → index-COJO0042.js} +142 -116
  64. package/dist/{index-B8BzdUYX.js → index-CbrDck1Q.js} +396 -396
  65. package/dist/{index-D7cNHH01.js → index-CzOzce-R.js} +1 -1
  66. package/dist/{index-Bknn7U1s.js → index-DRvmXt-Y.js} +87 -41
  67. package/dist/{index-C3Yx39QI.js → index-DgfOGyG9.js} +109 -43
  68. package/dist/{index-CCJxyv13.js → index-MSX0Gdx1.js} +1723 -1723
  69. package/dist/{index-D1suJrBe.js → index-u7LhDe5x.js} +78 -78
  70. package/dist/{index.es-J7Adt0qn.js → index.es-BVl6m7Pn.js} +2 -2
  71. package/dist/{index.es-BvpkVeYn.js → index.es-CVMqdfN3.js} +1 -1
  72. package/dist/index.es.js +1 -1
  73. package/dist/{info-BbZu8EmP.js → info-CqS3XBRw.js} +1 -1
  74. package/dist/{info-circle-DC4d8t58.js → info-circle-rygiOkU3.js} +1 -1
  75. package/dist/{lightbulb-B_XHWcwO.js → lightbulb-CKEjyRaf.js} +1 -1
  76. package/dist/{mail-DUBlSWnW.js → mail-BWMwauvE.js} +1 -1
  77. package/dist/{mobile-DW7n1RaC.js → mobile-68osTp4b.js} +1 -1
  78. package/dist/{more-CHiJ0jdA.js → more-BC8GE3IW.js} +1 -1
  79. package/dist/{network-placeholder-fkXdFnU3.js → network-placeholder--GIoATy6.js} +1 -1
  80. package/dist/{nftPlaceholder-CzdJZ_xc.js → nftPlaceholder-Dp8gBk3E.js} +1 -1
  81. package/dist/{off-liaZCdZH.js → off-DBKQ2uD0.js} +1 -1
  82. package/dist/{play-store-Dlmh4PlW.js → play-store-DLXuifjq.js} +1 -1
  83. package/dist/{plus-QBGWemZZ.js → plus-B2UVpZoZ.js} +1 -1
  84. package/dist/{qr-code-2rARSIxP.js → qr-code-B70pCkf_.js} +1 -1
  85. package/dist/{recycle-horizontal-DByCihYW.js → recycle-horizontal-f1-LcR5k.js} +1 -1
  86. package/dist/{refresh-BFM457iN.js → refresh-DqxcTS2O.js} +1 -1
  87. package/dist/{reown-logo-C9dbpsPZ.js → reown-logo-DPYJPO0J.js} +1 -1
  88. package/dist/{search-_GMCgtU4.js → search-C2ANVg9Q.js} +1 -1
  89. package/dist/{send-CBnSvpXY.js → send-jEzvJdO5.js} +1 -1
  90. package/dist/{swapHorizontal-BiN3nSBx.js → swapHorizontal-DsfyOh5t.js} +1 -1
  91. package/dist/{swapHorizontalBold-CAWIrlnq.js → swapHorizontalBold-BklgdCvD.js} +1 -1
  92. package/dist/{swapHorizontalMedium-DrfkO94z.js → swapHorizontalMedium-xuE1OPS7.js} +1 -1
  93. package/dist/{swapHorizontalRoundedBold-DbJnc4Gs.js → swapHorizontalRoundedBold-DXR4a277.js} +1 -1
  94. package/dist/{swapVertical-nx3G0q67.js → swapVertical-BaTPHjiX.js} +1 -1
  95. package/dist/{telegram-BBmONWiX.js → telegram-nFLInMdI.js} +1 -1
  96. package/dist/{three-dots-CxLcYR_u.js → three-dots-CkFcJxrL.js} +1 -1
  97. package/dist/{twitch-BCER0FU2.js → twitch-DRXpD9lS.js} +1 -1
  98. package/dist/{twitterIcon-D7lNSGDl.js → twitterIcon-DILOWGoL.js} +1 -1
  99. package/dist/{unsupportedProp-Cgx_R3Ro.js → unsupportedProp-wLSeuqFw.js} +1 -1
  100. package/dist/{useRegisterError-CIj7yT4N.js → useRegisterError-Bcj3H5Px.js} +1 -1
  101. package/dist/{verify-BtPqlMYv.js → verify-dxcsdtk9.js} +1 -1
  102. package/dist/{verify-filled-D69dNjXa.js → verify-filled-BHXk8ei0.js} +1 -1
  103. package/dist/{w3m-modal-BRaqvs1m.js → w3m-modal-CLvDtp4W.js} +2 -2
  104. package/dist/{wallet-B0uYbj_y.js → wallet-j7M44X01.js} +1 -1
  105. package/dist/{wallet-placeholder-C64Kayjj.js → wallet-placeholder-8MIkVS8L.js} +1 -1
  106. package/dist/{walletconnect-Bl6U4E40.js → walletconnect-DP64PiDx.js} +1 -1
  107. package/dist/{warning-circle-DdcOPYkT.js → warning-circle-BLBqorXY.js} +1 -1
  108. package/dist/widget.css +1 -1
  109. package/dist/{x-PEBthjJm.js → x-jWwE-bx-.js} +1 -1
  110. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-CCJxyv13.js";
1
+ import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-MSX0Gdx1.js";
2
2
  import * as C from "react";
3
3
  import { jsxs as F, jsx as x } from "react/jsx-runtime";
4
4
  function Z(r, i = 166) {
@@ -1,19 +1,19 @@
1
- import { jsxs as b, jsx as n, Fragment as A } from "react/jsx-runtime";
1
+ import { jsxs as b, jsx as r, Fragment as A } from "react/jsx-runtime";
2
2
  import G, { useContext as H, useState as E, useEffect as v, useRef as _ } from "react";
3
- import { a as U, T as $, H as O, b as L, c as J, E as K, d as V } from "./EstGas-WwkfFHpv.js";
4
- import { u as l, l as W } from "./index-CCJxyv13.js";
5
- import { i as D, C as Q, A as X } from "./useRegisterError-CIj7yT4N.js";
6
- import { B as Y } from "./Box-2EhEu03K.js";
3
+ import { a as U, T as $, H as O, b as L, c as J, E as K, d as V } from "./EstGas-CwWMUtsV.js";
4
+ import { u as l, l as W } from "./index-MSX0Gdx1.js";
5
+ import { i as D, C as Q, A as X } from "./useRegisterError-Bcj3H5Px.js";
6
+ import { B as Y } from "./Box-DkvAdVmJ.js";
7
7
  function Z() {
8
8
  var d, w, i, e, u, c, m, g, x, s, h, y, p, C;
9
- const t = l((T) => T.persist), r = l((T) => T.configuration), { defaultCoin: a } = D;
9
+ const t = l((T) => T.persist), n = l((T) => T.configuration), { defaultCoin: a } = D;
10
10
  let f = (i = (w = (d = t == null ? void 0 : t.route) == null ? void 0 : d.providerDetails) == null ? void 0 : w.logoUrl) != null && i.length ? (u = (e = t == null ? void 0 : t.route) == null ? void 0 : e.providerDetails) == null ? void 0 : u.logoUrl : a;
11
- return W.isEmpty(t.route) ? /* @__PURE__ */ n(A, {}) : /* @__PURE__ */ b("div", { className: "bw-relative bw-mt-4 bw-flex bw-justify-center ", children: [
12
- /* @__PURE__ */ n(
11
+ return W.isEmpty(t.route) ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ b("div", { className: "bw-relative bw-mt-4 bw-flex bw-justify-center ", children: [
12
+ /* @__PURE__ */ r(
13
13
  "div",
14
14
  {
15
15
  style: {
16
- boxShadow: r && r.customTheme && ((m = (c = r.customTheme) == null ? void 0 : c.shadow) == null ? void 0 : m.boxShadow) || "1px 1px 10px 3px rgba(0, 0, 0, 0.15)"
16
+ boxShadow: n && n.customTheme && ((m = (c = n.customTheme) == null ? void 0 : c.shadow) == null ? void 0 : m.boxShadow) || "1px 1px 10px 3px rgba(0, 0, 0, 0.15)"
17
17
  },
18
18
  className: "bw-w-[200px] bw-rounded-[50%] bw-absolute bw-right-auto bw-z-0 bw-left-auto bw-h-[40px]"
19
19
  }
@@ -21,9 +21,9 @@ function Z() {
21
21
  /* @__PURE__ */ b("div", { className: "bw-flex bw-relative bw-bg-background-container bw-z-10 bw-mx-auto bw-h-[41px] bw-w-[70%] bw-border-[0.5px] bw-border-border-primary bw-border-r-0 bw-border-l-0 bw-items-center bw-gap-x-1", children: [
22
22
  " ",
23
23
  /* @__PURE__ */ b("p", { className: "bw-text-sm bw-w-full bw-text-center bw-flex bw-justify-center bw-items-center bw-font-normal bw-my-1 bw-text-text-primary", children: [
24
- /* @__PURE__ */ n("span", { className: "bw-text-sm bw-font-light", children: "via" }),
24
+ /* @__PURE__ */ r("span", { className: "bw-text-sm bw-font-light", children: "via" }),
25
25
  " ",
26
- /* @__PURE__ */ n("img", { src: f, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
26
+ /* @__PURE__ */ r("img", { src: f, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
27
27
  ((x = (g = t == null ? void 0 : t.route) == null ? void 0 : g.providerDetails) == null ? void 0 : x.name) || "",
28
28
  ": ",
29
29
  (s = t == null ? void 0 : t.route) == null ? void 0 : s.protocolsUsed[0],
@@ -40,8 +40,8 @@ function Z() {
40
40
  let N;
41
41
  function R() {
42
42
  var u, c, m, g, x;
43
- const t = l((s) => s.configuration), r = l((s) => s.persist), a = l((s) => s.setPersist), { isErrorMessage: f } = H(U), d = Math.floor(((/* @__PURE__ */ new Date()).getTime() - r.quoteStartTime) / 1e3);
44
- let w = ((u = r == null ? void 0 : r.route) == null ? void 0 : u.deadline) || 60;
43
+ const t = l((s) => s.configuration), n = l((s) => s.persist), a = l((s) => s.setPersist), { isErrorMessage: f } = H(U), d = Math.floor(((/* @__PURE__ */ new Date()).getTime() - n.quoteStartTime) / 1e3);
44
+ let w = ((u = n == null ? void 0 : n.route) == null ? void 0 : u.deadline) || 60;
45
45
  const [i, e] = E(w);
46
46
  return v(() => {
47
47
  d && e(w - d);
@@ -56,11 +56,11 @@ function R() {
56
56
  }), 0) : s - 1;
57
57
  });
58
58
  }, 1e3), () => clearInterval(N)), []), v(() => {
59
- (f || !r.isQuoteTimer) && clearInterval(N);
60
- }, [f, r.isQuoteTimer]), !(r != null && r.hash) && r.quote === "enable" ? /* @__PURE__ */ b("div", { className: "bw-absolute bw-top-0 bw-right-0 ", children: [
61
- /* @__PURE__ */ n("svg", { className: "bw-absolute bw-w-[20px] bw-h-[20px]", children: /* @__PURE__ */ b("linearGradient", { id: "linearColors", x1: "0", y1: "0", x2: "1", y2: "1", children: [
62
- /* @__PURE__ */ n("stop", { offset: "1%", stopColor: (c = t == null ? void 0 : t.gradientStyle) != null && c.spinnerColor ? (m = t == null ? void 0 : t.gradientStyle) == null ? void 0 : m.spinnerColor : "#A45EFF" }),
63
- /* @__PURE__ */ n("stop", { offset: "90%", stopColor: (g = t == null ? void 0 : t.gradientStyle) != null && g.spinnerColor ? (x = t == null ? void 0 : t.gradientStyle) == null ? void 0 : x.stopColor : "#2CFFE4" })
59
+ (f || !n.isQuoteTimer) && clearInterval(N);
60
+ }, [f, n.isQuoteTimer]), !(n != null && n.hash) && n.quote === "enable" ? /* @__PURE__ */ b("div", { className: "bw-absolute bw-top-0 bw-right-0 ", children: [
61
+ /* @__PURE__ */ r("svg", { className: "bw-absolute bw-w-[20px] bw-h-[20px]", children: /* @__PURE__ */ b("linearGradient", { id: "linearColors", x1: "0", y1: "0", x2: "1", y2: "1", children: [
62
+ /* @__PURE__ */ r("stop", { offset: "1%", stopColor: (c = t == null ? void 0 : t.gradientStyle) != null && c.spinnerColor ? (m = t == null ? void 0 : t.gradientStyle) == null ? void 0 : m.spinnerColor : "#A45EFF" }),
63
+ /* @__PURE__ */ r("stop", { offset: "90%", stopColor: (g = t == null ? void 0 : t.gradientStyle) != null && g.spinnerColor ? (x = t == null ? void 0 : t.gradientStyle) == null ? void 0 : x.stopColor : "#2CFFE4" })
64
64
  ] }) }),
65
65
  /* @__PURE__ */ b(
66
66
  Y,
@@ -70,7 +70,7 @@ function R() {
70
70
  display: "inline-flex"
71
71
  },
72
72
  children: [
73
- /* @__PURE__ */ n(
73
+ /* @__PURE__ */ r(
74
74
  Q,
75
75
  {
76
76
  variant: "determinate",
@@ -82,7 +82,7 @@ function R() {
82
82
  value: 100
83
83
  }
84
84
  ),
85
- /* @__PURE__ */ n(
85
+ /* @__PURE__ */ r(
86
86
  Q,
87
87
  {
88
88
  variant: "determinate",
@@ -102,9 +102,16 @@ function R() {
102
102
  ]
103
103
  }
104
104
  )
105
- ] }) : /* @__PURE__ */ n(A, {});
105
+ ] }) : /* @__PURE__ */ r(A, {});
106
106
  }
107
- const ee = G.memo(function({ handleOpenExchange: t, amount: r, route: a, resetAmount: f, resetBalance: d, setExchange: w }) {
107
+ const ee = G.memo(function({
108
+ handleOpenExchange: t,
109
+ amount: n,
110
+ route: a,
111
+ resetAmount: f,
112
+ resetBalance: d,
113
+ setExchange: w
114
+ }) {
108
115
  var k;
109
116
  const i = l((o) => o.setPersist), e = l((o) => o.persist), u = l((o) => o.fromChain), c = l((o) => o.fromCoin), m = l((o) => o.toChain), g = l((o) => o.toCoin), [x, s] = E(!1), [h, y] = E(!1), [p, C] = E(!1), T = !e.stepData, { txnupdate: M } = D;
110
117
  v(() => {
@@ -117,7 +124,7 @@ const ee = G.memo(function({ handleOpenExchange: t, amount: r, route: a, resetAm
117
124
  toCoin: g,
118
125
  fromChain: u,
119
126
  fromCoin: c,
120
- amount: r,
127
+ amount: n,
121
128
  quote: "enable",
122
129
  openAt: (/* @__PURE__ */ new Date()).getTime(),
123
130
  startTime: ((F = (z = (j = l) == null ? void 0 : j.getState()) == null ? void 0 : z.persist) == null ? void 0 : F.startTime) || (/* @__PURE__ */ new Date()).getTime()
@@ -143,32 +150,71 @@ const ee = G.memo(function({ handleOpenExchange: t, amount: r, route: a, resetAm
143
150
  function P() {
144
151
  t(), i({}), h && d();
145
152
  }
146
- return /* @__PURE__ */ n($.Provider, { value: { isTxnSuccessful: h, handleTxnSuccess: q }, children: /* @__PURE__ */ n(U.Provider, { value: { isErrorMessage: p, handleErrorMessage: B }, children: /* @__PURE__ */ b("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: [
147
- /* @__PURE__ */ n(O, { handleBack: P }),
148
- /* @__PURE__ */ n("div", { className: "bw-mt-[-20px] ", children: /* @__PURE__ */ n(Z, {}) }),
149
- e != null && e.isQuoteTimer ? /* @__PURE__ */ n(R, {}) : /* @__PURE__ */ n(A, {}),
150
- /* @__PURE__ */ n("div", { className: "bw-flex bw-justify-between bw-items-center" }),
153
+ return /* @__PURE__ */ r($.Provider, { value: { isTxnSuccessful: h, handleTxnSuccess: q }, children: /* @__PURE__ */ r(U.Provider, { value: { isErrorMessage: p, handleErrorMessage: B }, children: /* @__PURE__ */ b("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: [
154
+ /* @__PURE__ */ r(O, { handleBack: P }),
155
+ /* @__PURE__ */ r("div", { className: "bw-mt-[-20px] ", children: /* @__PURE__ */ r(Z, {}) }),
156
+ e != null && e.isQuoteTimer ? /* @__PURE__ */ r(R, {}) : /* @__PURE__ */ r(A, {}),
157
+ /* @__PURE__ */ r("div", { className: "bw-flex bw-justify-between bw-items-center" }),
151
158
  /* @__PURE__ */ b("div", { className: "bw-flex bw-w-full bw-mt-4 bw-justify-between bw-items-center", children: [
152
159
  /* @__PURE__ */ b("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
153
- /* @__PURE__ */ n("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
154
- /* @__PURE__ */ n(L, { amount: e == null ? void 0 : e.amount, coinData: e.fromCoin, chainData: e.fromChain, field: "from" })
160
+ /* @__PURE__ */ r("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
161
+ /* @__PURE__ */ r(
162
+ L,
163
+ {
164
+ amount: e == null ? void 0 : e.amount,
165
+ coinData: e.fromCoin,
166
+ chainData: e.fromChain,
167
+ field: "from"
168
+ }
169
+ )
155
170
  ] }),
156
- p ? /* @__PURE__ */ n("div", { className: "bw-border bw-mt-5 bw-w-[65px] 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__ */ n("img", { src: M, width: 33, height: 30, alt: "img" }) }) : /* @__PURE__ */ n(J, { isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x, startTimer: I, error: p }),
157
- /* @__PURE__ */ n("div", { className: "bw-w-full bw-z-0 md:bw-w-full bw-mt-5 bw-absolute bw-h-[1px] bw-bg-border-primary " }),
171
+ p ? /* @__PURE__ */ r(
172
+ "div",
173
+ {
174
+ className: "bw-border bw-mt-5 bw-w-[65px] bw-h-[65px] bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-card bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ",
175
+ children: /* @__PURE__ */ r("img", { src: M, width: 33, height: 30, alt: "img" })
176
+ }
177
+ ) : /* @__PURE__ */ r(
178
+ J,
179
+ {
180
+ isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x,
181
+ startTimer: I,
182
+ error: p
183
+ }
184
+ ),
185
+ /* @__PURE__ */ r("div", { className: "bw-w-full bw-z-0 md:bw-w-full bw-mt-5 bw-absolute bw-h-[1px] bw-bg-border-primary " }),
158
186
  /* @__PURE__ */ b("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
159
- /* @__PURE__ */ n("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Receive" }),
160
- /* @__PURE__ */ n(L, { amount: Number(((k = e == null ? void 0 : e.route) == null ? void 0 : k.outputAmountDisplay) || ""), coinData: e == null ? void 0 : e.toCoin, chainData: e == null ? void 0 : e.toChain, field: "to" })
187
+ /* @__PURE__ */ r("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Receive" }),
188
+ /* @__PURE__ */ r(
189
+ L,
190
+ {
191
+ amount: Number(((k = e == null ? void 0 : e.route) == null ? void 0 : k.outputAmountDisplay) || ""),
192
+ coinData: e == null ? void 0 : e.toCoin,
193
+ chainData: e == null ? void 0 : e.toChain,
194
+ field: "to"
195
+ }
196
+ )
161
197
  ] })
162
198
  ] }),
163
199
  /* @__PURE__ */ b("div", { className: "bw-h-[320px] bw-pr-1 bw-flex bw-flex-col bw-mt-8 bw-overflow-y-auto", children: [
164
- T ? /* @__PURE__ */ n(A, {}) : /* @__PURE__ */ n(K, {}),
165
- /* @__PURE__ */ n(V, { handleOpenExchange: t, setExchange: w, amount: r, startTimer: I, handleBack: P, isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x })
200
+ T ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ r(K, {}),
201
+ /* @__PURE__ */ r(
202
+ V,
203
+ {
204
+ handleOpenExchange: t,
205
+ setExchange: w,
206
+ amount: n,
207
+ startTimer: I,
208
+ handleBack: P,
209
+ isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x
210
+ }
211
+ )
166
212
  ] })
167
213
  ] }) }) });
168
214
  });
169
215
  function le({
170
216
  handleConfirmClose: t,
171
- routesData: r,
217
+ routesData: n,
172
218
  amount: a,
173
219
  resetAmount: f,
174
220
  resetBalance: d,
@@ -179,8 +225,8 @@ function le({
179
225
  var c, m;
180
226
  !i.current && Number(
181
227
  ((c = i == null ? void 0 : i.current) == null ? void 0 : c.minOutputAmount) || ((m = i == null ? void 0 : i.current) == null ? void 0 : m.outputAmountDisplay)
182
- ) !== Number((r == null ? void 0 : r.minOutputAmount) || (r == null ? void 0 : r.outputAmountDisplay)) && (i.current = r);
183
- }, [r]), v(() => {
228
+ ) !== Number((n == null ? void 0 : n.minOutputAmount) || (n == null ? void 0 : n.outputAmountDisplay)) && (i.current = n);
229
+ }, [n]), v(() => {
184
230
  w(!0);
185
231
  }, []);
186
232
  function e() {
@@ -189,12 +235,12 @@ function le({
189
235
  function u() {
190
236
  t(!1);
191
237
  }
192
- return /* @__PURE__ */ n(
238
+ return /* @__PURE__ */ r(
193
239
  ee,
194
240
  {
195
241
  handleOpenExchange: e,
196
242
  amount: a,
197
- route: r,
243
+ route: n,
198
244
  resetAmount: f,
199
245
  resetBalance: d,
200
246
  setExchange: u
@@ -1,23 +1,23 @@
1
1
  import { jsxs as G, jsx as M, Fragment as Ne } from "react/jsx-runtime";
2
- import { T as Lb } from "./Tooltip-DSOAqpED.js";
2
+ import { T as Lb } from "./Tooltip-BQd46Vx1.js";
3
3
  import { R as Bb } from "./index-CDq3vNnP.js";
4
- import { u as V1, L as Wd, H as X1, M as Y1, a as Z1, P as J1, S as Q1 } from "./hamburger-Bss9ENTU.js";
5
- import { r as Fb, a as ex, b as tx, B as rx, i as jf, u as Ub, C as nx, c as vo, f as ax, d as ix } from "./useRegisterError-CIj7yT4N.js";
6
- import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as If, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, c as _i, k as fa, m as de, l as $f } from "./index-CCJxyv13.js";
4
+ import { u as V1, L as Wd, H as X1, M as Y1, a as Z1, P as J1, S as Q1 } from "./hamburger-Bz6xyfny.js";
5
+ import { r as Fb, a as ex, b as tx, B as rx, i as jf, u as Ub, C as nx, c as vo, f as ax, d as ix } from "./useRegisterError-Bcj3H5Px.js";
6
+ import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as If, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, c as _i, k as fa, m as de, l as $f } from "./index-MSX0Gdx1.js";
7
7
  import * as Oe from "react";
8
8
  import E, { useState as ke, useEffect as ze, isValidElement as ut, Children as ir, PureComponent as Rt, forwardRef as Wb, useRef as Ca, useImperativeHandle as ox, useCallback as ux, useMemo as Bt, cloneElement as Ae, createElement as Hb, useContext as Si, createContext as pr, Component as sx } from "react";
9
- import { S as cx } from "./index-B8BzdUYX.js";
9
+ import { S as cx } from "./index-CbrDck1Q.js";
10
10
  import { useAccount as Cr } from "wagmi";
11
11
  import { useDynamicContext as Ai, useIsLoggedIn as Pi } from "@dynamic-labs/sdk-react-core";
12
12
  import { useQuery as Ti } from "@tanstack/react-query";
13
- import { D as zb, S as lx } from "./down-C69EIwo1.js";
13
+ import { D as zb, S as lx } from "./down-C7Cxaule.js";
14
14
  import { useAccount as Rf } from "graz";
15
- import { B as Gb } from "./getChainIds-CQg6djVc.js";
15
+ import { B as Gb } from "./getChainIds-rz0R4QLM.js";
16
16
  import { t as fr } from "./truncate-D9t92mVX.js";
17
17
  import { S as Hd, a as zd } from "./sortDown-CjBaDQTU.js";
18
- import { O as Gd } from "./index-DTTNs7X2.js";
19
- import { u as fx } from "./Grow-D4EVow-M.js";
20
- import { c as Nf } from "./index-D7cNHH01.js";
18
+ import { O as Gd } from "./index-Bp8YmQ0W.js";
19
+ import { u as fx } from "./Grow-w3xFin50.js";
20
+ import { c as Nf } from "./index-CzOzce-R.js";
21
21
  function dx(e) {
22
22
  return jt("PrivateSwitchBase", e);
23
23
  }
@@ -1386,27 +1386,55 @@ function hl() {
1386
1386
  TronLink: c
1387
1387
  };
1388
1388
  }
1389
- function dO({ walletDetails: e, walletName: t, i: r }) {
1389
+ function dO({
1390
+ walletDetails: e,
1391
+ walletName: t,
1392
+ i: r
1393
+ }) {
1390
1394
  var h;
1391
1395
  const [n, a] = ke(null), { address: i, chain: o, data: u, disconnect: s, ...c } = e, f = !!n, { connector: l } = Cr();
1392
- return /* @__PURE__ */ M(Ne, { children: /* @__PURE__ */ G("button", { "aria-controls": f ? "basic-menu" : void 0, "aria-haspopup": "true", "aria-expanded": f ? "true" : void 0, onClick: (y) => {
1393
- a(y.currentTarget);
1394
- }, id: "basic-button", style: { fontSize: "12px" }, className: `bw-bg-background-container ${r ? "bw-border-0 " : " bw-border-0 bw-border-b-[0.5px] bw-border-border-primary"} bw-flex bw-items-center bw-justify-between bw-py-2 bw-gap-x-1 bw-w-full `, children: [
1395
- (h = hl()) != null && h[t] || l.icon ? /* @__PURE__ */ M("img", { src: hl()[t] || l.icon, width: 26, height: 26, className: "bw-border bw-max-w-[26px] bw-max-h-[26px] bw-min-w-[26px] bw-min-h-[26px] bw-border-border-primary bw-rounded-[50%] bw-bg-background-secondary" }) : /* @__PURE__ */ M(Ne, {}),
1396
- /* @__PURE__ */ M("p", { className: "bw-text-text-primary bw-text-xs bw-font-normal", children: (i == null ? void 0 : i.substring(0, 4)) + "..." + (i == null ? void 0 : i.substring(i.length - 4, i.length)) }),
1397
- /* @__PURE__ */ M(
1398
- "div",
1399
- {
1400
- onClick: () => {
1401
- s();
1402
- },
1403
- children: /* @__PURE__ */ M(oO, { fill: "var(--tw-text-secondary)" })
1404
- }
1405
- )
1406
- ] }) });
1396
+ return /* @__PURE__ */ M(Ne, { children: /* @__PURE__ */ G(
1397
+ "button",
1398
+ {
1399
+ "aria-controls": f ? "basic-menu" : void 0,
1400
+ "aria-haspopup": "true",
1401
+ "aria-expanded": f ? "true" : void 0,
1402
+ onClick: (y) => {
1403
+ a(y.currentTarget);
1404
+ },
1405
+ id: "basic-button",
1406
+ style: { fontSize: "12px" },
1407
+ className: `bw-bg-background-container ${r ? "bw-border-0 " : " bw-border-0 bw-border-b-[0.5px] bw-border-border-primary"} bw-flex bw-items-center bw-justify-between bw-py-2 bw-gap-x-1 bw-w-full `,
1408
+ children: [
1409
+ (h = hl()) != null && h[t] || l.icon ? /* @__PURE__ */ M(
1410
+ "img",
1411
+ {
1412
+ src: hl()[t] || l.icon,
1413
+ width: 26,
1414
+ height: 26,
1415
+ className: "bw-border bw-max-w-[26px] bw-max-h-[26px] bw-min-w-[26px] bw-min-h-[26px] bw-border-border-primary bw-rounded-[50%] bw-bg-background-coin"
1416
+ }
1417
+ ) : /* @__PURE__ */ M(Ne, {}),
1418
+ /* @__PURE__ */ M("p", { className: "bw-text-text-primary bw-text-xs bw-font-normal", children: (i == null ? void 0 : i.substring(0, 4)) + "..." + (i == null ? void 0 : i.substring(i.length - 4, i.length)) }),
1419
+ /* @__PURE__ */ M(
1420
+ "div",
1421
+ {
1422
+ onClick: () => {
1423
+ s();
1424
+ },
1425
+ children: /* @__PURE__ */ M(oO, { fill: "var(--tw-text-secondary)" })
1426
+ }
1427
+ )
1428
+ ]
1429
+ }
1430
+ ) });
1407
1431
  }
1408
1432
  function pO() {
1409
- const [e, t] = E.useState(null), [r, n] = E.useState([]), a = !!e, { primaryWallet: i, handleLogOut: o } = Ai(), u = Pi(), { connector: s } = Cr(), { address: c, connected: f, disconnect: l } = Oi(), { isConnected: d } = Cr(), { isConnected: h } = Rf(), { getWallet: y } = Ub({}), v = (w) => {
1433
+ const [e, t] = E.useState(null), [r, n] = E.useState([]), a = !!e, { primaryWallet: i, handleLogOut: o } = Ai(), u = Pi(), { connector: s } = Cr(), {
1434
+ address: c,
1435
+ connected: f,
1436
+ disconnect: l
1437
+ } = Oi(), { isConnected: d } = Cr(), { isConnected: h } = Rf(), { getWallet: y } = Ub({}), v = (w) => {
1410
1438
  t(w.currentTarget);
1411
1439
  }, p = () => {
1412
1440
  t(null);
@@ -1430,19 +1458,42 @@ function pO() {
1430
1458
  const g = !d && !f && !u && !h;
1431
1459
  return /* @__PURE__ */ G(Ne, { children: [
1432
1460
  /* @__PURE__ */ G("div", { className: "bw-flex bw-items-center bw-gap-x-1 bw-justify-center bw-w-max ", children: [
1433
- /* @__PURE__ */ G("button", { id: "connect-wallet", onClick: v, className: " bw-flex bw-relative bw-items-center bw-justify-center bw-w-[135px] bw-h-[35px] bw-text-sm bw-font-medium bw-px-2 bw-rounded-2xl bw-border-[1.5px] bw-border-border-primary bw-bg-background-container bw-text-text-primary", children: [
1434
- /* @__PURE__ */ G("div", { className: "bw-flex bw-items-center bw-justify-center", children: [
1435
- r.length === 0 ? /* @__PURE__ */ M("p", { className: "bw-w-full ", children: "Connect Wallets" }) : r.map((w) => {
1436
- var x;
1437
- return /* @__PURE__ */ M("img", { src: ((x = hl()) == null ? void 0 : x[w.name]) || (s == null ? void 0 : s.icon), width: 26, height: 26, alt: "img", className: "bw-border bw-max-w-[26px] bw-max-h-[26px] bw-min-w-[26px] bw-min-h-[26px] bw-ml-[-10px] bw-border-border-primary bw-rounded-[50%] bw-bg-background-secondary" });
1438
- }),
1439
- r.length > 3 ? /* @__PURE__ */ G("div", { className: "bw-w-[26px] bw-h-[26px] bw-border bw-border-border-primary bw-ml-[-10px] bw-text-sm bw-font-medium bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-secondary", children: [
1440
- "+",
1441
- r.length - 3
1442
- ] }) : /* @__PURE__ */ M(Ne, {})
1443
- ] }),
1444
- g ? /* @__PURE__ */ M(Ne, {}) : /* @__PURE__ */ M("div", { className: `${a ? "bw-rotate-180" : ""} bw-absolute bw-right-2 bw-ml-auto`, children: /* @__PURE__ */ M(zb, { fill: "var(--tw-text-primary)" }) })
1445
- ] }),
1461
+ /* @__PURE__ */ G(
1462
+ "button",
1463
+ {
1464
+ id: "connect-wallet",
1465
+ onClick: v,
1466
+ className: " bw-flex bw-relative bw-items-center bw-justify-center bw-w-[135px] bw-h-[35px] bw-text-sm bw-font-medium bw-px-2 bw-rounded-2xl bw-border-[1.5px] bw-border-border-primary bw-bg-background-container bw-text-text-primary",
1467
+ children: [
1468
+ /* @__PURE__ */ G("div", { className: "bw-flex bw-items-center bw-justify-center", children: [
1469
+ r.length === 0 ? /* @__PURE__ */ M("p", { className: "bw-w-full ", children: "Connect Wallets" }) : r.map((w) => {
1470
+ var x;
1471
+ return /* @__PURE__ */ M(
1472
+ "img",
1473
+ {
1474
+ src: ((x = hl()) == null ? void 0 : x[w.name]) || (s == null ? void 0 : s.icon),
1475
+ width: 26,
1476
+ height: 26,
1477
+ alt: "img",
1478
+ className: "bw-border bw-max-w-[26px] bw-max-h-[26px] bw-min-w-[26px] bw-min-h-[26px] bw-ml-[-10px] bw-border-border-primary bw-rounded-[50%] bw-bg-background-coin"
1479
+ }
1480
+ );
1481
+ }),
1482
+ r.length > 3 ? /* @__PURE__ */ G("div", { className: "bw-w-[26px] bw-h-[26px] bw-border bw-border-border-primary bw-ml-[-10px] bw-text-sm bw-font-medium bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-coin", children: [
1483
+ "+",
1484
+ r.length - 3
1485
+ ] }) : /* @__PURE__ */ M(Ne, {})
1486
+ ] }),
1487
+ g ? /* @__PURE__ */ M(Ne, {}) : /* @__PURE__ */ M(
1488
+ "div",
1489
+ {
1490
+ className: `${a ? "bw-rotate-180" : ""} bw-absolute bw-right-2 bw-ml-auto`,
1491
+ children: /* @__PURE__ */ M(zb, { fill: "var(--tw-text-primary)" })
1492
+ }
1493
+ )
1494
+ ]
1495
+ }
1496
+ ),
1446
1497
  /* @__PURE__ */ M(Qb, { wallet: "connected", isNoWallet: g })
1447
1498
  ] }),
1448
1499
  /* @__PURE__ */ M(
@@ -1462,7 +1513,22 @@ function pO() {
1462
1513
  }
1463
1514
  },
1464
1515
  elevation: 0,
1465
- children: /* @__PURE__ */ M(Z1, { className: "bw-bg-background-container bw-py-0 bw-border bw-w-[135px] bw-rounded-md bw-border-border-primary ", children: r.map((w, x, _) => /* @__PURE__ */ M(kf, { className: "bw-py-0 bw-px-1 bw-justify-center hover:bw-bg-transparent ", onClick: p, children: /* @__PURE__ */ M(dO, { walletName: w.name, walletDetails: y(w), i: x == _.length - 1 }) }, x)) })
1516
+ children: /* @__PURE__ */ M(Z1, { className: "bw-bg-background-container bw-py-0 bw-border bw-w-[135px] bw-rounded-md bw-border-border-primary ", children: r.map((w, x, _) => /* @__PURE__ */ M(
1517
+ kf,
1518
+ {
1519
+ className: "bw-py-0 bw-px-1 bw-justify-center hover:bw-bg-transparent ",
1520
+ onClick: p,
1521
+ children: /* @__PURE__ */ M(
1522
+ dO,
1523
+ {
1524
+ walletName: w.name,
1525
+ walletDetails: y(w),
1526
+ i: x == _.length - 1
1527
+ }
1528
+ )
1529
+ },
1530
+ x
1531
+ )) })
1466
1532
  }
1467
1533
  )
1468
1534
  ] });
@@ -18222,9 +18288,9 @@ function SD({ row: e, chainData: t }) {
18222
18288
  },
18223
18289
  children: [
18224
18290
  /* @__PURE__ */ M(or, { className: "bw-border-b bw-pl-1 bw-bg-background-container bw-border-border-primary bw-text-xs bw-font-bold bw-text-text-primary", component: "th", scope: "row", children: /* @__PURE__ */ G("div", { className: "bw-flex bw-items-center bw-gap-x-2", children: [
18225
- /* @__PURE__ */ G("div", { className: `bw-rounded-[50%] bw-relative bw-border bw-border-border-primary bw-w-max bw-h-max ${(o = e == null ? void 0 : e.asset) != null && o.image ? "bw-bg-background-secondary" : ""}`, children: [
18291
+ /* @__PURE__ */ G("div", { className: `bw-rounded-[50%] bw-relative bw-border bw-border-border-primary bw-w-max bw-h-max ${(o = e == null ? void 0 : e.asset) != null && o.image ? "bw-bg-background-coin" : ""}`, children: [
18226
18292
  (u = e == null ? void 0 : e.asset) != null && u.image ? /* @__PURE__ */ M("img", { src: e.asset.image, className: "bw-rounded-[50%] bw-max-w-[25px] bw-object-contain bw-min-w-[25px] bw-max-h-[25px] bw-min-h-[25px]", width: 25, height: 25 }) : /* @__PURE__ */ M("img", { src: r, className: "bw-rounded-[50%] bw-min-w-[25px] bw-max-h-[25px] bw-min-h-[25px]", width: 25, height: 25 }),
18227
- /* @__PURE__ */ M("div", { className: `bw-absolute bw-border bw-border-border-primary bw-rounded-[50%] bw-right-[-5px] bw-bg-background-secondary bw-top-[60%] ${(c = t[(s = e == null ? void 0 : e.asset) == null ? void 0 : s.chainId]) != null && c.image ? "bw-bg-background-secondary" : ""}`, children: (l = t[(f = e == null ? void 0 : e.asset) == null ? void 0 : f.chainId]) != null && l.image ? /* @__PURE__ */ M("img", { src: t[e.asset.chainId].image, className: "bw-rounded-[50%] bw-min-w-[16px] bw-max-h-[16px] bw-min-h-[12px]", width: 16, height: 16 }) : /* @__PURE__ */ M("img", { src: r, className: "bw-rounded-[50%] bw-min-w-[12px] bw-max-h-[12px] bw-min-h-[12px]", width: 16, height: 16 }) })
18293
+ /* @__PURE__ */ M("div", { className: `bw-absolute bw-border bw-border-border-primary bw-rounded-[50%] bw-right-[-5px] bw-bg-background-coin bw-top-[60%] ${(c = t[(s = e == null ? void 0 : e.asset) == null ? void 0 : s.chainId]) != null && c.image ? "bw-bg-background-coin" : ""}`, children: (l = t[(f = e == null ? void 0 : e.asset) == null ? void 0 : f.chainId]) != null && l.image ? /* @__PURE__ */ M("img", { src: t[e.asset.chainId].image, className: "bw-rounded-[50%] bw-min-w-[16px] bw-max-h-[16px] bw-min-h-[12px]", width: 16, height: 16 }) : /* @__PURE__ */ M("img", { src: r, className: "bw-rounded-[50%] bw-min-w-[12px] bw-max-h-[12px] bw-min-h-[12px]", width: 16, height: 16 }) })
18228
18294
  ] }),
18229
18295
  /* @__PURE__ */ G("div", { children: [
18230
18296
  /* @__PURE__ */ M("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: ((h = (d = e == null ? void 0 : e.asset) == null ? void 0 : d.name) == null ? void 0 : h.length) > 15 ? /* @__PURE__ */ M(_D, { name: (y = e == null ? void 0 : e.asset) == null ? void 0 : y.name, children: /* @__PURE__ */ M("p", { className: "bw-text-text-primary bw-text-xs bw-font-bold", children: ((v = e == null ? void 0 : e.asset) == null ? void 0 : v.name.substring(0, 15)) + "..." }) }) : /* @__PURE__ */ M("p", { className: "bw-text-text-primary bw-text-xs bw-font-bold", children: (p = e == null ? void 0 : e.asset) == null ? void 0 : p.name }) }),