"use client";
import { b as i } from "./fetcher-D4o2k9tU.js";
import { a as f, s as l } from "./adjustDecimals-C6VuqYob.js";
import { n as p } from "./utils-Cfv96A32.js";
function o(n) {
  const e = /* @__PURE__ */ new Set();
  return n.filter((t) => {
    const r = `${t.address.toLowerCase()}-${t.chainId}`;
    return e.has(r) ? !1 : (e.add(r), !0);
  });
}
function a(n) {
  const e = Object.values(n ?? []);
  if (e) {
    const t = e.reduce((r, s) => r.concat(...s), []);
    return o(t);
  }
  return [];
}
export {
  f as adjustDecimals,
  i as bungeeApiFetcher,
  a as getFormattedTokenList,
  p as normalizeRouteData,
  o as removeDuplicateTokens,
  l as shortenAddress
};
//# sourceMappingURL=utils.js.map
