@initia/interwovenkit-react 2.0.0 → 2.0.2

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.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { toPrivyWalletConnector as Aa, toPrivyWallet as Ta } from "@privy-io/cross-app-connect/rainbow-kit";
2
2
  import { useSignMessage as Ea, useAccount as Bt, useDisconnect as qa, useConnect as Da, useChainId as Pa, useSwitchChain as Ra, useWatchAsset as Ba } from "wagmi";
3
3
  import { useSuspenseQuery as ce, useQueries as nn, queryOptions as Bn, useQuery as ue, useQueryClient as vt, useMutation as Ue, useIsMutating as Oa, useSuspenseInfiniteQuery as Ma, QueryClient as La, QueryClientProvider as Fa } from "@tanstack/react-query";
4
- import { getIbcDenom as Ua, createMoveClient as za, InitiaAddress as F, fromBaseUnit as Xt, formatNumber as Vr, createUserDerivedObjectAddress as _r, formatAmount as ie, resolveBcsType as Ka, truncate as pe, toBaseUnit as On } from "@initia/utils";
4
+ import { getIbcDenom as Ua, createMoveClient as za, InitiaAddress as F, fromBaseUnit as Xt, formatNumber as Vr, createUserDerivedObjectAddress as _r, formatAmount as ie, resolveBcsType as Ka, truncate as ge, toBaseUnit as On } from "@initia/utils";
5
5
  import { TxRaw as Gr, Tx as fr, AuthInfo as Ha, TxBody as Wa } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";
6
6
  import { encodeSecp256k1Pubkey as Ls, pubkeyType as ja, pubkeyToAddress as Va } from "@cosmjs/amino";
7
7
  import { accountFromAny as Ga, SigningStargateClient as Qr, AminoTypes as Qa, QueryClient as Ya, setupTxExtension as Ja, calculateFee as Yr, GasPrice as Jr } from "@cosmjs/stargate";
@@ -228,7 +228,7 @@ function mn(e) {
228
228
  return t;
229
229
  }
230
230
  function mc(e) {
231
- const { chain_id: t, chain_name: s, pretty_name: r, logo_URIs: o, apis: a, metadata: i } = e, l = r || s, c = o?.png ?? "", { rpc: d, rest: h, api: m, ["json-rpc"]: _ } = a, f = mn(d), g = mn(h), p = i?.is_l1 ? mn(m) : g, w = i?.minitia?.type === "minievm" ? mn(_) : void 0;
231
+ const { chain_id: t, chain_name: s, pretty_name: r, logo_URIs: o, apis: a, metadata: i } = e, l = r || s, c = o?.png ?? "", { rpc: d, rest: h, ["json-rpc"]: m, indexer: _ } = a, f = mn(d), g = mn(h), p = mn(_), w = i?.minitia?.type === "minievm" ? mn(m) : void 0;
232
232
  return { ...e, chainId: t, name: l, logoUrl: c, rpcUrl: f, restUrl: g, indexerUrl: p, jsonRpcUrl: w };
233
233
  }
234
234
  function ne() {
@@ -255,7 +255,7 @@ function rn() {
255
255
  const { defaultChainId: e } = de();
256
256
  return He(e);
257
257
  }
258
- function ge() {
258
+ function ye() {
259
259
  const t = ne().find((s) => s.metadata?.is_l1);
260
260
  if (!t) throw new Error("Layer 1 not found");
261
261
  return t;
@@ -656,7 +656,7 @@ function Tc() {
656
656
  });
657
657
  }
658
658
  function ot(e) {
659
- const t = en(e), s = ge(), r = en(s), o = Ro(e);
659
+ const t = en(e), s = ye(), r = en(s), o = Ro(e);
660
660
  return (a) => {
661
661
  const i = t.find((c) => c.denom === a);
662
662
  if (i) return i;
@@ -671,7 +671,7 @@ function Po(e, t) {
671
671
  return o || s(e);
672
672
  }
673
673
  function Ro(e) {
674
- const t = ge(), s = en(e);
674
+ const t = ye(), s = en(e);
675
675
  return (r) => {
676
676
  if (e.metadata?.is_l1)
677
677
  return r;
@@ -726,7 +726,7 @@ const Zn = Pe("interwovenkit:account", {
726
726
  txs: (e, t) => [e, t]
727
727
  });
728
728
  function Bo() {
729
- const { restUrl: e } = ge(), { usernamesModuleAddress: t } = de();
729
+ const { restUrl: e } = ye(), { usernamesModuleAddress: t } = de();
730
730
  return Ec({ restUrl: e, moduleAddress: t });
731
731
  }
732
732
  function Oo() {
@@ -952,7 +952,7 @@ function Hc() {
952
952
  const Wc = "_status_tn9m1_1", jc = "_error_tn9m1_9", Cr = {
953
953
  status: Wc,
954
954
  error: jc
955
- }, G = ({ error: e, children: t }) => /* @__PURE__ */ n("p", { className: q(Cr.status, { [Cr.error]: e }), children: t }), ye = ({
955
+ }, G = ({ error: e, children: t }) => /* @__PURE__ */ n("p", { className: q(Cr.status, { [Cr.error]: e }), children: t }), he = ({
956
956
  errorBoundaryProps: e = { fallbackRender: ({ error: r }) => /* @__PURE__ */ n(G, { error: !0, children: r.message }) },
957
957
  suspenseFallback: t = /* @__PURE__ */ n(G, { children: "Loading..." }),
958
958
  children: s
@@ -1178,22 +1178,22 @@ const Vc = ({ children: e }) => {
1178
1178
  }, _l = 10;
1179
1179
  function Wo() {
1180
1180
  const e = se();
1181
- return (t) => Bn({
1181
+ return (t, s) => Bn({
1182
1182
  queryKey: Zn.txs(t.indexerUrl, e).queryKey,
1183
1183
  queryFn: async () => {
1184
- const s = {
1184
+ if (!s.enabled) return [];
1185
+ const r = {
1185
1186
  "pagination.reverse": !0,
1186
1187
  "pagination.limit": _l
1187
- };
1188
- return te.create({ prefixUrl: t.indexerUrl }).get(`indexer/tx/v1/txs/by_account/${e}`, { searchParams: s }).json();
1188
+ }, { txs: o } = await te.create({ prefixUrl: t.indexerUrl }).get(`indexer/tx/v1/txs/by_account/${e}`, { searchParams: r }).json();
1189
+ return o;
1189
1190
  },
1190
- select: (s) => s.txs,
1191
1191
  staleTime: U.SECOND
1192
1192
  });
1193
1193
  }
1194
- function fl(e) {
1195
- const t = Wo();
1196
- return ce(t(e));
1194
+ function fl(e, t) {
1195
+ const s = Wo();
1196
+ return ce(s(e, t));
1197
1197
  }
1198
1198
  function pl(e, t) {
1199
1199
  const s = e.flatMap((r, o) => (t[o] ?? []).map((i) => ({ ...i, chain: r })));
@@ -1203,7 +1203,7 @@ function pl(e, t) {
1203
1203
  }
1204
1204
  const gl = () => {
1205
1205
  const e = ne(), t = Wo(), s = nn({
1206
- queries: e.map((i) => t(i))
1206
+ queries: e.map((i) => t(i, { enabled: !0 }))
1207
1207
  }), r = s.map(Dt("data")), o = pl(e, r), a = s.some((i) => i.isLoading);
1208
1208
  return { activities: o, isLoading: a };
1209
1209
  };
@@ -1228,7 +1228,7 @@ function jo(e) {
1228
1228
  return t;
1229
1229
  }
1230
1230
  function Vo(e) {
1231
- const t = se(), { data: s } = fl(e);
1231
+ const t = se(), { data: s } = fl(e, { enabled: e.fees.fee_tokens.length >= 2 });
1232
1232
  if (e.fees.fee_tokens.length === 0)
1233
1233
  return null;
1234
1234
  const r = e.fees.fee_tokens[0].denom;
@@ -1702,7 +1702,7 @@ const gd = "_container_1xzyq_1", yd = "_toggle_1xzyq_5", vd = "_list_1xzyq_11",
1702
1702
  title: t,
1703
1703
  open: a,
1704
1704
  onOpenChange: h,
1705
- children: /* @__PURE__ */ n(ye, { children: r === "/tx" ? /* @__PURE__ */ n(Xo, {}) : s })
1705
+ children: /* @__PURE__ */ n(he, { children: r === "/tx" ? /* @__PURE__ */ n(Xo, {}) : s })
1706
1706
  }
1707
1707
  )
1708
1708
  ] });
@@ -1791,13 +1791,13 @@ const yt = ({ title: e, content: t, children: s, className: r }) => {
1791
1791
  /* @__PURE__ */ n(Dn, { value: r, children: ({ copy: a, copied: i }) => /* @__PURE__ */ u("button", { className: q(oe.derived, { [oe.copied]: i }), onClick: a, children: [
1792
1792
  /* @__PURE__ */ n("span", { className: oe.derivedLabel, children: "Derived from" }),
1793
1793
  /* @__PURE__ */ u("span", { className: oe.derivedAddress, children: [
1794
- /* @__PURE__ */ n("span", { className: oe.hexAddress, children: pe(r) }),
1794
+ /* @__PURE__ */ n("span", { className: oe.hexAddress, children: ge(r) }),
1795
1795
  /* @__PURE__ */ n(xs, { size: 12, className: oe.derivedCopy }),
1796
1796
  i && /* @__PURE__ */ n("span", { className: oe.copiedText, children: "Copied!" })
1797
1797
  ] })
1798
1798
  ] }) })
1799
1799
  ] });
1800
- }, Gd = "_header_1cvtq_1", Qd = "_account_1cvtq_16", Yd = "_name_1cvtq_27", Jd = "_address_1cvtq_31", Zd = "_icon_1cvtq_35", Xd = "_copied_1cvtq_42", eu = "_button_1cvtq_57", tu = "_qr_1cvtq_68", nu = "_disconnect_1cvtq_72", su = "_label_1cvtq_82", ru = "_expanded_1cvtq_90", me = {
1800
+ }, Gd = "_header_1cvtq_1", Qd = "_account_1cvtq_16", Yd = "_name_1cvtq_27", Jd = "_address_1cvtq_31", Zd = "_icon_1cvtq_35", Xd = "_copied_1cvtq_42", eu = "_button_1cvtq_57", tu = "_qr_1cvtq_68", nu = "_disconnect_1cvtq_72", su = "_label_1cvtq_82", ru = "_expanded_1cvtq_90", _e = {
1801
1801
  header: Gd,
1802
1802
  account: Qd,
1803
1803
  name: Yd,
@@ -1824,12 +1824,12 @@ const yt = ({ title: e, content: t, children: s, className: r }) => {
1824
1824
  };
1825
1825
  return M(() => () => {
1826
1826
  c.current && clearTimeout(c.current);
1827
- }, []), t ? /* @__PURE__ */ u("header", { className: me.header, children: [
1828
- /* @__PURE__ */ n(Dn, { value: r, children: ({ copy: f, copied: g }) => /* @__PURE__ */ u("button", { className: q(me.account, { [me.copied]: g }), onClick: f, children: [
1827
+ }, []), t ? /* @__PURE__ */ u("header", { className: _e.header, children: [
1828
+ /* @__PURE__ */ n(Dn, { value: r, children: ({ copy: f, copied: g }) => /* @__PURE__ */ u("button", { className: q(_e.account, { [_e.copied]: g }), onClick: f, children: [
1829
1829
  /* @__PURE__ */ n(K, { src: t.icon, width: 18, height: 18 }),
1830
- /* @__PURE__ */ n("div", { className: me.address, children: pe(r) }),
1831
- /* @__PURE__ */ n("div", { className: me.name, children: pe(a) }),
1832
- /* @__PURE__ */ n(xs, { className: me.icon, size: 12 }),
1830
+ /* @__PURE__ */ n("div", { className: _e.address, children: ge(r) }),
1831
+ /* @__PURE__ */ n("div", { className: _e.name, children: ge(a) }),
1832
+ /* @__PURE__ */ n(xs, { className: _e.icon, size: 12 }),
1833
1833
  g ? "Copied!" : ""
1834
1834
  ] }) }),
1835
1835
  e.metadata?.is_l1 && /* @__PURE__ */ n(
@@ -1837,21 +1837,21 @@ const yt = ({ title: e, content: t, children: s, className: r }) => {
1837
1837
  {
1838
1838
  title: "Initia address",
1839
1839
  content: () => /* @__PURE__ */ n(Vd, {}),
1840
- className: q(me.button, me.qr),
1840
+ className: q(_e.button, _e.qr),
1841
1841
  children: /* @__PURE__ */ n(Mi, { size: 16 })
1842
1842
  }
1843
1843
  ),
1844
1844
  /* @__PURE__ */ u(
1845
1845
  Ln.button,
1846
1846
  {
1847
- className: q(me.button, me.disconnect, { [me.expanded]: i }),
1847
+ className: q(_e.button, _e.disconnect, { [_e.expanded]: i }),
1848
1848
  style: d,
1849
1849
  onClick: h,
1850
1850
  onMouseLeave: m,
1851
1851
  onMouseEnter: _,
1852
1852
  children: [
1853
1853
  /* @__PURE__ */ n(Li, { size: 16 }),
1854
- /* @__PURE__ */ n("span", { className: me.label, children: "Disconnect" })
1854
+ /* @__PURE__ */ n("span", { className: _e.label, children: "Disconnect" })
1855
1855
  ]
1856
1856
  }
1857
1857
  )
@@ -1883,7 +1883,7 @@ function cu(e) {
1883
1883
  const lu = "_link_guafb_1", kr = {
1884
1884
  link: lu
1885
1885
  }, es = ({ chainId: e, txHash: t, accountAddress: s, pathSuffix: r, ...o }) => {
1886
- const { showIcon: a, className: i, children: l, onClick: c, ...d } = o, h = He(e), m = iu(h, { txHash: t, accountAddress: s, pathSuffix: r }), _ = t ? pe(t) : s ? pe(s) : "", f = l ?? _;
1886
+ const { showIcon: a, className: i, children: l, onClick: c, ...d } = o, h = He(e), m = iu(h, { txHash: t, accountAddress: s, pathSuffix: r }), _ = t ? ge(t) : s ? ge(s) : "", f = l ?? _;
1887
1887
  return m ? /* @__PURE__ */ u(
1888
1888
  "a",
1889
1889
  {
@@ -1965,7 +1965,7 @@ const hu = "_overlay_1dhd9_1", mu = "_content_1dhd9_27", _u = "_inner_1dhd9_58",
1965
1965
  o && /* @__PURE__ */ n(uu, {}),
1966
1966
  /* @__PURE__ */ n(du, {}),
1967
1967
  /* @__PURE__ */ n(ou, {}),
1968
- /* @__PURE__ */ n(ye, { errorBoundaryProps: _, children: e })
1968
+ /* @__PURE__ */ n(he, { errorBoundaryProps: _, children: e })
1969
1969
  ] }) })
1970
1970
  ] })
1971
1971
  }
@@ -2062,7 +2062,7 @@ const hu = "_overlay_1dhd9_1", mu = "_content_1dhd9_27", _u = "_inner_1dhd9_58",
2062
2062
  dt: Ru,
2063
2063
  asset: Bu
2064
2064
  }, Ou = ({ list: e, onNavigate: t, onDismiss: s }) => {
2065
- const r = ge(), o = rt(), a = ot(r);
2065
+ const r = ye(), o = rt(), a = ot(r);
2066
2066
  return /* @__PURE__ */ n(
2067
2067
  ta,
2068
2068
  {
@@ -2359,7 +2359,7 @@ const Yu = "_trigger_386xl_1", Ju = "_icon_386xl_21", Zu = "_full_386xl_25", Xu
2359
2359
  )
2360
2360
  ] })
2361
2361
  ] });
2362
- }, lh = "2.0.0", dh = "_version_1sf5y_1", uh = {
2362
+ }, lh = "2.0.2", dh = "_version_1sf5y_1", uh = {
2363
2363
  version: dh
2364
2364
  }, hh = () => /* @__PURE__ */ u("aside", { className: uh.version, children: [
2365
2365
  "v",
@@ -2753,7 +2753,10 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2753
2753
  }
2754
2754
  )
2755
2755
  ] }),
2756
- i.length === 0 ? /* @__PURE__ */ n(G, { children: "No NFTs found" }) : /* @__PURE__ */ n("div", { className: ym.grid, children: i.map((c) => /* @__PURE__ */ n(pm, { nftInfo: c, children: (d) => /* @__PURE__ */ n(fm, { normalizedNft: d }) }, c.object_addr)) })
2756
+ i.length === 0 ? /* @__PURE__ */ n(G, { children: "No NFTs found" }) : /* @__PURE__ */ n("div", { className: ym.grid, children: i.map((c) => {
2757
+ const { collection_addr: d, nft: h } = c;
2758
+ return /* @__PURE__ */ n(pm, { nftInfo: c, children: (m) => /* @__PURE__ */ n(fm, { normalizedNft: m }) }, d + h.token_id);
2759
+ }) })
2757
2760
  ] });
2758
2761
  }, wm = "_message_1g2hc_1", bm = "_more_1g2hc_8", Ar = {
2759
2762
  message: wm,
@@ -2809,7 +2812,7 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2809
2812
  ] }),
2810
2813
  /* @__PURE__ */ u("div", { className: $e.content, children: [
2811
2814
  /* @__PURE__ */ n("div", { className: $e.messages, children: /* @__PURE__ */ n(Cm, { messages: e.tx.body.messages }) }),
2812
- /* @__PURE__ */ n("div", { className: $e.changes, children: /* @__PURE__ */ n(ye, { suspenseFallback: null, errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n($m, { ...e, chain: t }) }) })
2815
+ /* @__PURE__ */ n("div", { className: $e.changes, children: /* @__PURE__ */ n(he, { suspenseFallback: null, errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n($m, { ...e, chain: t }) }) })
2813
2816
  ] })
2814
2817
  ] }) }), Fm = "_list_1wa9p_1", Um = "_dateGroup_1wa9p_7", zm = "_dateHeader_1wa9p_12", Km = "_more_1wa9p_18", vn = {
2815
2818
  list: Fm,
@@ -2819,6 +2822,7 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2819
2822
  }, Hm = ({ list: e, chainId: t }) => {
2820
2823
  const s = se(), r = H(() => e.reduce(
2821
2824
  (o, a) => {
2825
+ if (!a.timestamp) return o;
2822
2826
  const l = new Date(a.timestamp).toLocaleDateString("en-US", {
2823
2827
  month: "short",
2824
2828
  day: "numeric",
@@ -2834,7 +2838,7 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2834
2838
  return e.length === 0 ? /* @__PURE__ */ n(G, { children: "No activity found" }) : /* @__PURE__ */ u(z, { children: [
2835
2839
  /* @__PURE__ */ n("div", { className: vn.list, children: Object.entries(r).map(([o, a]) => /* @__PURE__ */ u("div", { className: vn.dateGroup, children: [
2836
2840
  /* @__PURE__ */ n("div", { className: vn.dateHeader, children: o }),
2837
- a.map((i) => /* @__PURE__ */ n(Lm, { txItem: i, chain: i.chain }, i.txhash))
2841
+ a.map((i) => /* @__PURE__ */ n(he, { errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n(Lm, { txItem: i, chain: i.chain }) }, i.txhash))
2838
2842
  ] }, o)) }),
2839
2843
  /* @__PURE__ */ n(
2840
2844
  es,
@@ -2849,7 +2853,7 @@ const cm = "_thumbnail_1lblb_1", lm = "_placeholder_1lblb_16", dm = "_clickable_
2849
2853
  )
2850
2854
  ] });
2851
2855
  }, Wm = () => {
2852
- const { activities: e, isLoading: t } = gl(), [s, r] = Le(gh), o = ge(), a = H(() => Array.from(new Set(e.map((l) => l.chain.chainId))), [e]), i = H(() => s ? e.filter((l) => l.chain.chainId === s) : e, [e, s]);
2856
+ const { activities: e, isLoading: t } = gl(), [s, r] = Le(gh), o = ye(), a = H(() => Array.from(new Set(e.map((l) => l.chain.chainId))), [e]), i = H(() => s ? e.filter((l) => l.chain.chainId === s) : e, [e, s]);
2853
2857
  return t && e.length === 0 ? /* @__PURE__ */ n(G, { children: "Loading activities..." }) : !e.length && !t ? /* @__PURE__ */ n(G, { children: "No activity yet" }) : /* @__PURE__ */ u(Ze.Root, { children: [
2854
2858
  /* @__PURE__ */ n(Ze.Controls, { children: /* @__PURE__ */ n(
2855
2859
  cr,
@@ -3210,7 +3214,7 @@ function W_(e, t, s) {
3210
3214
  return ri(Zr(t.toLowerCase()), o);
3211
3215
  });
3212
3216
  }
3213
- const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10", Q_ = "_item_1voou_14", Y_ = "_logo_1voou_35", J_ = "_info_1voou_39", Z_ = "_symbol_1voou_44", X_ = "_name_1voou_52", ef = "_balance_1voou_58", tf = "_value_1voou_65", fe = {
3217
+ const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10", Q_ = "_item_1voou_14", Y_ = "_logo_1voou_35", J_ = "_info_1voou_39", Z_ = "_symbol_1voou_44", X_ = "_name_1voou_52", ef = "_balance_1voou_58", tf = "_value_1voou_65", pe = {
3214
3218
  container: j_,
3215
3219
  search: V_,
3216
3220
  list: G_,
@@ -3223,7 +3227,7 @@ const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10",
3223
3227
  value: tf
3224
3228
  }, dn = (e) => {
3225
3229
  const { assets: t, onSelect: s, renderAsset: r = (l, c) => c(l) } = e, [o, a] = R(""), i = W_(["symbol"], o, t);
3226
- return /* @__PURE__ */ u("div", { className: fe.container, children: [
3230
+ return /* @__PURE__ */ u("div", { className: pe.container, children: [
3227
3231
  /* @__PURE__ */ n(
3228
3232
  ts,
3229
3233
  {
@@ -3231,28 +3235,28 @@ const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10",
3231
3235
  onChange: (l) => a(l.target.value),
3232
3236
  onClear: () => a(""),
3233
3237
  placeholder: "Search by symbol",
3234
- rootClassName: fe.search,
3238
+ rootClassName: pe.search,
3235
3239
  padding: 20,
3236
3240
  ref: cn()
3237
3241
  }
3238
3242
  ),
3239
- i.length === 0 ? /* @__PURE__ */ n(G, { children: "No assets" }) : /* @__PURE__ */ n("div", { className: fe.list, children: i.map((l) => /* @__PURE__ */ n(
3243
+ i.length === 0 ? /* @__PURE__ */ n(G, { children: "No assets" }) : /* @__PURE__ */ n("div", { className: pe.list, children: i.map((l) => /* @__PURE__ */ n(
3240
3244
  "button",
3241
3245
  {
3242
3246
  type: "button",
3243
- className: fe.item,
3247
+ className: pe.item,
3244
3248
  onClick: () => s(l.denom),
3245
3249
  children: r(l, (c) => {
3246
3250
  const { denom: d, logoUrl: h, symbol: m, name: _, balance: f, decimals: g, value: p = 0 } = c;
3247
3251
  return /* @__PURE__ */ u(z, { children: [
3248
- /* @__PURE__ */ n(K, { src: h, width: 32, height: 32, className: fe.logo, logo: !0 }),
3249
- /* @__PURE__ */ u("div", { className: fe.info, children: [
3250
- /* @__PURE__ */ n("div", { className: fe.symbol, children: m || d }),
3251
- /* @__PURE__ */ n("div", { className: fe.name, children: _ })
3252
+ /* @__PURE__ */ n(K, { src: h, width: 32, height: 32, className: pe.logo, logo: !0 }),
3253
+ /* @__PURE__ */ u("div", { className: pe.info, children: [
3254
+ /* @__PURE__ */ n("div", { className: pe.symbol, children: m || d }),
3255
+ /* @__PURE__ */ n("div", { className: pe.name, children: _ })
3252
3256
  ] }),
3253
- /* @__PURE__ */ u("div", { className: fe.balance, children: [
3257
+ /* @__PURE__ */ u("div", { className: pe.balance, children: [
3254
3258
  f && /* @__PURE__ */ n("div", { children: ie(f, { decimals: g }) }),
3255
- p > 0 && /* @__PURE__ */ n("div", { className: fe.value, children: Xe(p) })
3259
+ p > 0 && /* @__PURE__ */ n("div", { className: pe.value, children: Xe(p) })
3256
3260
  ] })
3257
3261
  ] });
3258
3262
  })
@@ -3260,11 +3264,11 @@ const j_ = "_container_1voou_1", V_ = "_search_1voou_6", G_ = "_list_1voou_10",
3260
3264
  l.denom
3261
3265
  )) })
3262
3266
  ] });
3263
- }, nf = () => /* @__PURE__ */ u("div", { className: fe.container, children: [
3267
+ }, nf = () => /* @__PURE__ */ u("div", { className: pe.container, children: [
3264
3268
  /* @__PURE__ */ n(
3265
3269
  ts,
3266
3270
  {
3267
- rootClassName: fe.search,
3271
+ rootClassName: pe.search,
3268
3272
  padding: 20,
3269
3273
  placeholder: "Search by symbol",
3270
3274
  readOnly: !0
@@ -3286,7 +3290,7 @@ const sf = ({ chain: e, onSelect: t }) => {
3286
3290
  };
3287
3291
  return /* @__PURE__ */ u(z, { children: [
3288
3292
  /* @__PURE__ */ n(pt.Stack, { children: /* @__PURE__ */ n(pt, { chains: d, value: i, onSelect: l }) }),
3289
- /* @__PURE__ */ n(ye, { suspenseFallback: /* @__PURE__ */ n(dn.Placeholder, {}), children: /* @__PURE__ */ n(sf, { chain: c, onSelect: h }) }, i)
3293
+ /* @__PURE__ */ n(he, { suspenseFallback: /* @__PURE__ */ n(dn.Placeholder, {}), children: /* @__PURE__ */ n(sf, { chain: c, onSelect: h }) }, i)
3290
3294
  ] });
3291
3295
  }, of = "_fields_brpej_1", af = "_divider_brpej_11", qr = {
3292
3296
  fields: of,
@@ -3313,7 +3317,7 @@ const sf = ({ chain: e, onSelect: t }) => {
3313
3317
  staleTime: U.INFINITY
3314
3318
  }), y = Math.ceil(C * Tn), E = D_({ denom: h, balances: p, gasPrices: w, lastFeeDenom: k, gas: y }), { mutate: A, isPending: D } = Ue({
3315
3319
  mutationFn: ({ chainId: S, denom: O, quantity: T, recipient: re, memo: J }) => {
3316
- const ve = On(T, { decimals: b }), he = [
3320
+ const ve = On(T, { decimals: b }), me = [
3317
3321
  {
3318
3322
  typeUrl: "/cosmos.bank.v1beta1.MsgSend",
3319
3323
  value: vr.fromPartial({
@@ -3324,7 +3328,7 @@ const sf = ({ chain: e, onSelect: t }) => {
3324
3328
  }
3325
3329
  ];
3326
3330
  return r({
3327
- messages: he,
3331
+ messages: me,
3328
3332
  memo: J,
3329
3333
  chainId: S,
3330
3334
  gas: C,
@@ -3471,7 +3475,7 @@ const kf = "_header_5w36t_1", xf = "_name_5w36t_8", $f = "_collection_5w36t_15",
3471
3475
  }, qf = Pe("interwovenkit:send-nft", {
3472
3476
  simulation: (e) => [e]
3473
3477
  }), Df = () => {
3474
- const e = ne(), t = bt(), { chain: s, collection_addr: r, collection_name: o, image: a, name: i } = t, { routerApiUrl: l } = de(), c = Qn(), d = ge(), { address: h, initiaAddress: m, requestTxSync: _ } = Se(), { watch: f, setValue: g, handleSubmit: p, formState: w } = Ot(), k = f(), { recipient: N, dstChainId: $ } = k, b = He($), v = ue({
3478
+ const e = ne(), t = bt(), { chain: s, collection_addr: r, collection_name: o, image: a, name: i } = t, { routerApiUrl: l } = de(), c = Qn(), d = ye(), { address: h, initiaAddress: m, requestTxSync: _ } = Se(), { watch: f, setValue: g, handleSubmit: p, formState: w } = Ot(), k = f(), { recipient: N, dstChainId: $ } = k, b = He($), v = ue({
3475
3479
  queryKey: qf.simulation({
3476
3480
  collection_addr: r,
3477
3481
  nft: t,
@@ -3548,7 +3552,7 @@ const kf = "_header_5w36t_1", xf = "_name_5w36t_8", $f = "_collection_5w36t_15",
3548
3552
  return /* @__PURE__ */ n(Nt, { title: "Send NFT", children: /* @__PURE__ */ n(Ys, { ...t, children: /* @__PURE__ */ n(Df, {}) }) });
3549
3553
  };
3550
3554
  function Rf() {
3551
- return ge().network_type === "testnet";
3555
+ return ye().network_type === "testnet";
3552
3556
  }
3553
3557
  function it() {
3554
3558
  return Ot();
@@ -3710,7 +3714,7 @@ function Lf(e) {
3710
3714
  });
3711
3715
  }
3712
3716
  function Ff() {
3713
- const { watch: e } = it(), { srcChainId: t, srcDenom: s, dstChainId: r, dstDenom: o } = e(), a = De(t), i = tn(a), l = Fe(s, t), c = Fe(o, r), d = ge(), h = ne();
3717
+ const { watch: e } = it(), { srcChainId: t, srcDenom: s, dstChainId: r, dstDenom: o } = e(), a = De(t), i = tn(a), l = Fe(s, t), c = Fe(o, r), d = ye(), h = ne();
3714
3718
  return i === "initia" && r === d.chainId && l.symbol === c.symbol && h.find((m) => m.chainId === t)?.metadata?.op_denoms?.includes(c.denom);
3715
3719
  }
3716
3720
  function ur(e, t) {
@@ -3740,7 +3744,7 @@ const zf = ({ address: e, chain: t, onSelect: s }) => {
3740
3744
  Pt((a) => a.symbol.toLowerCase())
3741
3745
  ],
3742
3746
  r.filter((a) => !a.hidden).map((a) => {
3743
- const { denom: i, symbol: l = pe(i), logo_uri: c } = a, d = o[i] ?? {};
3747
+ const { denom: i, symbol: l = ge(i), logo_uri: c } = a, d = o[i] ?? {};
3744
3748
  return {
3745
3749
  ...a,
3746
3750
  symbol: l,
@@ -3787,7 +3791,7 @@ const zf = ({ address: e, chain: t, onSelect: s }) => {
3787
3791
  }
3788
3792
  )
3789
3793
  ] }),
3790
- /* @__PURE__ */ n(ye, { suspenseFallback: /* @__PURE__ */ n(dn.Placeholder, {}), children: /* @__PURE__ */ n(
3794
+ /* @__PURE__ */ n(he, { suspenseFallback: /* @__PURE__ */ n(dn.Placeholder, {}), children: /* @__PURE__ */ n(
3791
3795
  zf,
3792
3796
  {
3793
3797
  address: p({
@@ -3871,7 +3875,7 @@ const Hf = "_account_iwrlj_8", Wf = "_clear_iwrlj_27", jf = "_white_iwrlj_38", Y
3871
3875
  className: q(Yt.account, { [Yt.white]: !l }),
3872
3876
  children: l ? /* @__PURE__ */ u(z, { children: [
3873
3877
  m && /* @__PURE__ */ n(K, { src: m.image, width: 18, height: 18 }),
3874
- /* @__PURE__ */ n("span", { className: "monospace", children: pe(l) })
3878
+ /* @__PURE__ */ n("span", { className: "monospace", children: ge(l) })
3875
3879
  ] }) : /* @__PURE__ */ u(z, { children: [
3876
3880
  /* @__PURE__ */ n("span", { children: "Connect wallet" }),
3877
3881
  /* @__PURE__ */ n(io, { size: 14 })
@@ -3899,7 +3903,7 @@ const Hf = "_account_iwrlj_8", Wf = "_clear_iwrlj_27", jf = "_white_iwrlj_38", Y
3899
3903
  case "initia":
3900
3904
  case "evm":
3901
3905
  return p ? k(/* @__PURE__ */ n(zn, { size: 14 })) : /* @__PURE__ */ u("div", { className: Yt.account, children: [
3902
- /* @__PURE__ */ n("span", { className: "monospace", children: pe(l) }),
3906
+ /* @__PURE__ */ n("span", { className: "monospace", children: ge(l) }),
3903
3907
  /* @__PURE__ */ n(
3904
3908
  "button",
3905
3909
  {
@@ -3914,7 +3918,7 @@ const Hf = "_account_iwrlj_8", Wf = "_clear_iwrlj_27", jf = "_white_iwrlj_38", Y
3914
3918
  case "cosmos":
3915
3919
  return k(
3916
3920
  /* @__PURE__ */ u(z, { children: [
3917
- l ? /* @__PURE__ */ n("span", { className: "monospace", children: pe(l) }) : /* @__PURE__ */ n("span", { children: "Recipient" }),
3921
+ l ? /* @__PURE__ */ n("span", { className: "monospace", children: ge(l) }) : /* @__PURE__ */ n("span", { children: "Recipient" }),
3918
3922
  /* @__PURE__ */ n(Ki, { size: 14 })
3919
3923
  ] })
3920
3924
  );
@@ -4048,7 +4052,7 @@ const up = "_form_1coq4_1", hp = "_arrow_1coq4_5", mp = "_divider_1coq4_13", _p
4048
4052
  }), S = Dr(y, {
4049
4053
  isOpWithdraw: !0,
4050
4054
  disabled: !A
4051
- }), O = A && s === "op" ? S : D, { data: T, isLoading: re, isFetching: J, error: ve } = O, { data: he } = Lf(ve), zt = y && (re || J), Kt = () => {
4055
+ }), O = A && s === "op" ? S : D, { data: T, isLoading: re, isFetching: J, error: ve } = O, { data: me } = Lf(ve), zt = y && (re || J), Kt = () => {
4052
4056
  a("srcChainId", m), a("srcDenom", _), a("dstChainId", d), a("dstDenom", h), a("quantity", "", { shouldTouch: !1, shouldDirty: !1 });
4053
4057
  }, { openModal: St, closeModal: kt } = jn(), ke = i((L) => {
4054
4058
  if (T?.warning) {
@@ -4169,7 +4173,7 @@ const up = "_form_1coq4_1", hp = "_arrow_1coq4_5", mp = "_divider_1coq4_13", _p
4169
4173
  ] }) : null }),
4170
4174
  /* @__PURE__ */ u(X.Stack, { children: [
4171
4175
  T?.extra_infos?.map((L) => /* @__PURE__ */ n(X, { level: "info", children: L }, L)),
4172
- he && /* @__PURE__ */ n(X, { level: "info", children: he }),
4176
+ me && /* @__PURE__ */ n(X, { level: "info", children: me }),
4173
4177
  xa && $a && /* @__PURE__ */ n(X, { level: "warning", children: "Make sure to leave enough for transaction fee" }),
4174
4178
  T?.warning && /* @__PURE__ */ n(X, { level: "warning", children: T.warning.message }),
4175
4179
  T?.extra_warnings?.map((L) => /* @__PURE__ */ n(X, { level: "warning", children: L }, L))
@@ -4253,7 +4257,7 @@ const up = "_form_1coq4_1", hp = "_arrow_1coq4_5", mp = "_divider_1coq4_13", _p
4253
4257
  ] }) }),
4254
4258
  /* @__PURE__ */ n(ha, { offset: 0, disabled: y.length === 0, children: /* @__PURE__ */ n(W.Small, { onClick: () => t("/op/withdrawals"), disabled: !r, children: /* @__PURE__ */ n("span", { children: "Withdrawal status" }) }) })
4255
4259
  ] }),
4256
- children: x ? I() : /* @__PURE__ */ n(Ys, { ...a, children: /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(Cp, {}) }) })
4260
+ children: x ? I() : /* @__PURE__ */ n(Ys, { ...a, children: /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n(Cp, {}) }) })
4257
4261
  }
4258
4262
  );
4259
4263
  }, Ip = "_button_1iys9_1", Sp = {
@@ -4275,7 +4279,7 @@ const up = "_form_1coq4_1", hp = "_arrow_1coq4_5", mp = "_divider_1coq4_13", _p
4275
4279
  withdrawalClaimed: (e, t) => [e, t]
4276
4280
  });
4277
4281
  function rs() {
4278
- const { restUrl: e } = ge();
4282
+ const { restUrl: e } = ye();
4279
4283
  return H(() => te.create({ prefixUrl: e }), [e]);
4280
4284
  }
4281
4285
  function kp(e) {
@@ -4388,7 +4392,7 @@ const Ep = "_asset_6h8u2_1", qp = "_info_6h8u2_7", Dp = "_symbol_6h8u2_11", Is =
4388
4392
  info: qp,
4389
4393
  symbol: Dp
4390
4394
  }, Pp = ({ amount: e, denom: t }) => {
4391
- const s = ge(), r = Po(t, s), { symbol: o, logoUrl: a, decimals: i } = r;
4395
+ const s = ye(), r = Po(t, s), { symbol: o, logoUrl: a, decimals: i } = r;
4392
4396
  return /* @__PURE__ */ u("div", { className: Is.asset, children: [
4393
4397
  /* @__PURE__ */ n(K, { src: a, width: 32, height: 32, logo: !0 }),
4394
4398
  /* @__PURE__ */ u("div", { className: Is.info, children: [
@@ -4477,7 +4481,7 @@ const Ep = "_asset_6h8u2_1", qp = "_info_6h8u2_7", Dp = "_symbol_6h8u2_11", Is =
4477
4481
  from: l,
4478
4482
  to: c,
4479
4483
  version: d
4480
- } = e, h = ge(), m = se(), { requestTxSync: _, waitForTxConfirmation: f } = Se(), g = Tp(e), p = wt(va(e)), w = ya(e, p), k = vt(), { mutate: N, isPending: $ } = Ue({
4484
+ } = e, h = ye(), m = se(), { requestTxSync: _, waitForTxConfirmation: f } = Se(), g = Tp(e), p = wt(va(e)), w = ya(e, p), k = vt(), { mutate: N, isPending: $ } = Ue({
4481
4485
  mutationFn: async () => {
4482
4486
  if (!g) throw new Error("Output not found");
4483
4487
  const { last_block_hash: b } = g;
@@ -4531,7 +4535,7 @@ const Ep = "_asset_6h8u2_1", qp = "_info_6h8u2_7", Dp = "_symbol_6h8u2_11", Is =
4531
4535
  const { amount: d } = c;
4532
4536
  return /* @__PURE__ */ u("div", { className: Xp.item, children: [
4533
4537
  /* @__PURE__ */ n(Pp, { ...d }),
4534
- /* @__PURE__ */ n(ye, { suspenseFallback: null, children: /* @__PURE__ */ n(wa.Provider, { value: { chainId: e.chainId, withdrawalTx: c }, children: /* @__PURE__ */ n(Jp, {}) }) })
4538
+ /* @__PURE__ */ n(he, { suspenseFallback: null, children: /* @__PURE__ */ n(wa.Provider, { value: { chainId: e.chainId, withdrawalTx: c }, children: /* @__PURE__ */ n(Jp, {}) }) })
4535
4539
  ] }, c.sequence);
4536
4540
  }),
4537
4541
  o && /* @__PURE__ */ n(ga, { onClick: () => r(), disabled: a })
@@ -4555,7 +4559,7 @@ const Ep = "_asset_6h8u2_1", qp = "_info_6h8u2_7", Dp = "_symbol_6h8u2_11", Is =
4555
4559
  ),
4556
4560
  /* @__PURE__ */ n("div", { className: Kr.content, children: l ? /* @__PURE__ */ u(z, { children: [
4557
4561
  /* @__PURE__ */ n("h2", { className: Kr.title, children: l.name }),
4558
- /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(eg, { chain: l }) }, r)
4562
+ /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n(eg, { chain: l }) }, r)
4559
4563
  ] }) : /* @__PURE__ */ n(X, { level: "info", children: "Select a chain to display your OP Bridge withdrawals" }) })
4560
4564
  ] });
4561
4565
  };
@@ -4660,7 +4664,7 @@ function og(e) {
4660
4664
  }
4661
4665
  const { denom: J, gas_price: ve } = re;
4662
4666
  if (!ve) throw new Error(`Gas price not found for ${J}`);
4663
- const he = await O.simulate(h, A, ""), zt = Jr.fromString(ve.average + J), Kt = Yr(Math.ceil(he * Tn), zt), St = await O.signAndBroadcastSync(h, A, Kt), kt = Eo({ txHash: St, client: O });
4667
+ const me = await O.simulate(h, A, ""), zt = Jr.fromString(ve.average + J), Kt = Yr(Math.ceil(me * Tn), zt), St = await O.signAndBroadcastSync(h, A, Kt), kt = Eo({ txHash: St, client: O });
4664
4668
  return { txHash: St, wait: kt };
4665
4669
  }
4666
4670
  if ("evm_tx" in e) {
@@ -4683,11 +4687,11 @@ function og(e) {
4683
4687
  await D;
4684
4688
  const S = hr(l) === "OP Bridge withdrawal", O = S ? { success: !0, error: null } : await dg(E, A, d);
4685
4689
  if (!O.success && O.error) {
4686
- const he = O.error instanceof Error ? O.error.message : String(O.error);
4690
+ const me = O.error instanceof Error ? O.error.message : String(O.error);
4687
4691
  s({
4688
4692
  type: "error",
4689
4693
  title: "Transaction tracking failed",
4690
- description: `Failed to track transaction: ${he}. The transaction may still be processing.`,
4694
+ description: `Failed to track transaction: ${me}. The transaction may still be processing.`,
4691
4695
  autoHide: !0
4692
4696
  });
4693
4697
  }
@@ -4695,8 +4699,8 @@ function og(e) {
4695
4699
  a(J.tx, J.details), r(ig(o));
4696
4700
  const ve = Wr(c, A);
4697
4701
  if (i("Bridge Transaction Success", ve), S) {
4698
- const he = lg(J.tx, l, m);
4699
- y(J.tx, he);
4702
+ const me = lg(J.tx, l, m);
4703
+ y(J.tx, me);
4700
4704
  }
4701
4705
  } catch (S) {
4702
4706
  const O = S instanceof Error ? S.message : String(S);
@@ -4866,7 +4870,7 @@ function hr(e) {
4866
4870
  const { operations: t, dest_asset_denom: s } = e;
4867
4871
  return ii("op_init_transfer", Mn(t)) && s === "uinit" ? "OP Bridge withdrawal" : "Skip";
4868
4872
  }
4869
- const mg = "_content_c0tee_1", _g = "_info_c0tee_6", fg = "_arrow_c0tee_11", pg = "_divider_c0tee_19", gg = "_type_c0tee_26", yg = "_asset_c0tee_44", vg = "_amount_c0tee_52", wg = "_lower_c0tee_57", bg = "_chain_c0tee_63", Cg = "_address_c0tee_69", _e = {
4873
+ const mg = "_content_c0tee_1", _g = "_info_c0tee_6", fg = "_arrow_c0tee_11", pg = "_divider_c0tee_19", gg = "_type_c0tee_26", yg = "_asset_c0tee_44", vg = "_amount_c0tee_52", wg = "_lower_c0tee_57", bg = "_chain_c0tee_63", Cg = "_address_c0tee_69", fe = {
4870
4874
  content: mg,
4871
4875
  info: _g,
4872
4876
  arrow: fg,
@@ -4878,28 +4882,28 @@ const mg = "_content_c0tee_1", _g = "_info_c0tee_6", fg = "_arrow_c0tee_11", pg
4878
4882
  chain: bg,
4879
4883
  address: Cg
4880
4884
  }, Ia = (e) => {
4881
- const { source: t, label: s, amount: r, denom: o, chainId: a, address: i, walletIcon: l } = e, { symbol: c = pe(o), decimals: d = 0, logo_uri: h = er } = e, { chain_name: m, pretty_name: _, ...f } = De(a);
4885
+ const { source: t, label: s, amount: r, denom: o, chainId: a, address: i, walletIcon: l } = e, { symbol: c = ge(o), decimals: d = 0, logo_uri: h = er } = e, { chain_name: m, pretty_name: _, ...f } = De(a);
4882
4886
  return /* @__PURE__ */ u("div", { children: [
4883
- !t && /* @__PURE__ */ u("div", { className: _e.arrow, children: [
4884
- /* @__PURE__ */ n("div", { className: _e.divider }),
4885
- s ? /* @__PURE__ */ n(ln, { label: s, children: /* @__PURE__ */ n("button", { className: _e.type, children: /* @__PURE__ */ n($s, { size: 12 }) }) }) : /* @__PURE__ */ n("span", { className: _e.type, children: /* @__PURE__ */ n($s, { size: 12 }) }),
4886
- /* @__PURE__ */ n("div", { className: _e.divider })
4887
+ !t && /* @__PURE__ */ u("div", { className: fe.arrow, children: [
4888
+ /* @__PURE__ */ n("div", { className: fe.divider }),
4889
+ s ? /* @__PURE__ */ n(ln, { label: s, children: /* @__PURE__ */ n("button", { className: fe.type, children: /* @__PURE__ */ n($s, { size: 12 }) }) }) : /* @__PURE__ */ n("span", { className: fe.type, children: /* @__PURE__ */ n($s, { size: 12 }) }),
4890
+ /* @__PURE__ */ n("div", { className: fe.divider })
4887
4891
  ] }),
4888
- /* @__PURE__ */ u("div", { className: _e.content, children: [
4892
+ /* @__PURE__ */ u("div", { className: fe.content, children: [
4889
4893
  /* @__PURE__ */ n(ns, { assetLogoUrl: h, chainLogoUrl: f.logo_uri ?? void 0 }),
4890
- /* @__PURE__ */ u("div", { className: _e.info, children: [
4891
- /* @__PURE__ */ u("div", { className: _e.asset, children: [
4892
- /* @__PURE__ */ n("span", { className: _e.amount, children: ie(r, { decimals: d }) }),
4894
+ /* @__PURE__ */ u("div", { className: fe.info, children: [
4895
+ /* @__PURE__ */ u("div", { className: fe.asset, children: [
4896
+ /* @__PURE__ */ n("span", { className: fe.amount, children: ie(r, { decimals: d }) }),
4893
4897
  /* @__PURE__ */ n("span", { children: c })
4894
4898
  ] }),
4895
- /* @__PURE__ */ u("div", { className: _e.lower, children: [
4896
- /* @__PURE__ */ u("div", { className: _e.chain, children: [
4899
+ /* @__PURE__ */ u("div", { className: fe.lower, children: [
4900
+ /* @__PURE__ */ u("div", { className: fe.chain, children: [
4897
4901
  "on ",
4898
4902
  _ || m
4899
4903
  ] }),
4900
- i && /* @__PURE__ */ n(Dn, { value: i, children: ({ copy: g, copied: p }) => /* @__PURE__ */ u("button", { className: _e.address, onClick: g, children: [
4904
+ i && /* @__PURE__ */ n(Dn, { value: i, children: ({ copy: g, copied: p }) => /* @__PURE__ */ u("button", { className: fe.address, onClick: g, children: [
4901
4905
  l,
4902
- p ? /* @__PURE__ */ n("span", { children: "Copied!" }) : /* @__PURE__ */ n("span", { className: "monospace", children: pe(i) })
4906
+ p ? /* @__PURE__ */ n("span", { children: "Copied!" }) : /* @__PURE__ */ n("span", { className: "monospace", children: ge(i) })
4903
4907
  ] }) })
4904
4908
  ] })
4905
4909
  ] })
@@ -4985,7 +4989,7 @@ const Ag = ({ addressList: e }) => {
4985
4989
  /* @__PURE__ */ u("div", { className: Zt.route, children: [
4986
4990
  /* @__PURE__ */ n(qt, { ...p, source: !0 }),
4987
4991
  /* @__PURE__ */ n(Me.Content, { className: Zt.content, children: $.map((v, x) => /* @__PURE__ */ n(
4988
- ye,
4992
+ he,
4989
4993
  {
4990
4994
  suspenseFallback: /* @__PURE__ */ n(qt.Placeholder, { ...v }),
4991
4995
  errorBoundaryProps: { fallback: /* @__PURE__ */ n(qt.Placeholder, { ...v }) },
@@ -5205,7 +5209,7 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5205
5209
  dest_asset_chain_id: k,
5206
5210
  dest_asset_denom: N,
5207
5211
  estimated_fees: $ = []
5208
- } = a, b = De(p), v = De(k), x = Fe(w, p), C = Fe(N, k), I = (T, re) => re ? /* @__PURE__ */ n(K, { src: re, width: 12, height: 12 }) : F.equals(T, h) ? /* @__PURE__ */ n(K, { src: m?.icon, width: 12, height: 12 }) : /* @__PURE__ */ n(zn, { size: 12 }), y = (T, { symbol: re, decimals: J, logo_uri: ve }, { chain_name: he, pretty_name: zt, ...Kt }, St, kt) => /* @__PURE__ */ u("div", { className: Z.row, children: [
5212
+ } = a, b = De(p), v = De(k), x = Fe(w, p), C = Fe(N, k), I = (T, re) => re ? /* @__PURE__ */ n(K, { src: re, width: 12, height: 12 }) : F.equals(T, h) ? /* @__PURE__ */ n(K, { src: m?.icon, width: 12, height: 12 }) : /* @__PURE__ */ n(zn, { size: 12 }), y = (T, { symbol: re, decimals: J, logo_uri: ve }, { chain_name: me, pretty_name: zt, ...Kt }, St, kt) => /* @__PURE__ */ u("div", { className: Z.row, children: [
5209
5213
  /* @__PURE__ */ n(ns, { assetLogoUrl: ve, chainLogoUrl: Kt.logo_uri ?? void 0 }),
5210
5214
  /* @__PURE__ */ u("div", { children: [
5211
5215
  /* @__PURE__ */ u("div", { className: Z.asset, children: [
@@ -5215,11 +5219,11 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5215
5219
  /* @__PURE__ */ u("div", { className: Z.chain, children: [
5216
5220
  /* @__PURE__ */ u("span", { children: [
5217
5221
  "on ",
5218
- zt || he
5222
+ zt || me
5219
5223
  ] }),
5220
5224
  /* @__PURE__ */ u("div", { className: Z.account, children: [
5221
5225
  kt,
5222
- /* @__PURE__ */ n("span", { className: "monospace", children: pe(St) })
5226
+ /* @__PURE__ */ n("span", { className: "monospace", children: ge(St) })
5223
5227
  ] })
5224
5228
  ] })
5225
5229
  ] })
@@ -5289,7 +5293,7 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5289
5293
  className: Nn.checkbox
5290
5294
  }
5291
5295
  ) }),
5292
- h.length === 0 ? /* @__PURE__ */ n(G, { children: "No bridge/swap activity" }) : m.map((_, f) => /* @__PURE__ */ n("div", { className: Nn.item, children: /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(oy, { tx: _ }) }) }, f)),
5296
+ h.length === 0 ? /* @__PURE__ */ n(G, { children: "No bridge/swap activity" }) : m.map((_, f) => /* @__PURE__ */ n("div", { className: Nn.item, children: /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n(oy, { tx: _ }) }) }, f)),
5293
5297
  h.length > i * Hr ? /* @__PURE__ */ n(ga, { onClick: () => l((_) => _ + 1) }) : s.length >= Rn && /* @__PURE__ */ u(G, { children: [
5294
5298
  "Only the latest ",
5295
5299
  Rn,
@@ -5339,7 +5343,7 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5339
5343
  /* @__PURE__ */ n("link", { rel: "stylesheet", href: "https://assets.initia.xyz/fonts/PilatWide.css" })
5340
5344
  ] }), my = () => {
5341
5345
  ne();
5342
- const e = ge();
5346
+ const e = ye();
5343
5347
  return rr(), Rt(localStorage.getItem(B.BRIDGE_SRC_CHAIN_ID) ?? e.chainId), Rt(localStorage.getItem(B.BRIDGE_DST_CHAIN_ID) ?? e.chainId), null;
5344
5348
  }, _y = new La({ defaultOptions: { queries: { retry: 0 } } }), vv = ({ children: e, ...t }) => (M(() => {
5345
5349
  Hc();
@@ -5349,11 +5353,11 @@ const Hg = "_link_1uidr_1", Wg = "_header_1uidr_22", jg = "_title_1uidr_30", Vg
5349
5353
  e,
5350
5354
  /* @__PURE__ */ u(Fa, { client: _y, children: [
5351
5355
  /* @__PURE__ */ n(Dd, {}),
5352
- /* @__PURE__ */ n(ye, { suspenseFallback: null, errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n(my, {}) }),
5356
+ /* @__PURE__ */ n(he, { suspenseFallback: null, errorBoundaryProps: { fallback: null }, children: /* @__PURE__ */ n(my, {}) }),
5353
5357
  /* @__PURE__ */ n(fu, { children: /* @__PURE__ */ n(Sa, {}) })
5354
5358
  ] })
5355
5359
  ] }) }) }) }) }) })
5356
- ] }) : null), wv = ({ bridge: e }) => /* @__PURE__ */ n(go, { initialEntry: { path: e ? "/bridge" : "/", state: e }, children: /* @__PURE__ */ n("div", { className: "body", children: /* @__PURE__ */ n(Ko.Provider, { value: !!e, children: /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(Sa, {}) }) }) }) });
5360
+ ] }) : null), wv = ({ bridge: e }) => /* @__PURE__ */ n(go, { initialEntry: { path: e ? "/bridge" : "/", state: e }, children: /* @__PURE__ */ n("div", { className: "body", children: /* @__PURE__ */ n(Ko.Provider, { value: !!e, children: /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n(Sa, {}) }) }) }) });
5357
5361
  export {
5358
5362
  Tn as DEFAULT_GAS_ADJUSTMENT,
5359
5363
  oc as DEFAULT_GAS_PRICE_MULTIPLIER,