import { jsx as n } from "react/jsx-runtime";
import { isEqualAddress as c } from "@argent/x-shared";
import { ArgentUIProvider as r } from "../../features/providers/ArgentUIProvider.js";
import { useMemo as s } from "react";
const l = [
  {
    name: "Account 1",
    networkId: "mainnet-alpha",
    address: "0x05f1f0a38429dcab9ffd8a786c0d827e84c1cbd8f60243e6d25d066a13af4a25"
  },
  {
    name: "Lorem Contact",
    networkId: "mainnet-alpha",
    address: "0x05417fc252d9b7b6ea311485a9e946cc814e3aa4d00f740f7e5f6b11ce0db9fa"
  },
  {
    name: "Ipsum Contact",
    networkId: "mainnet-alpha",
    address: "0x04aaa0b704c86cdf386aa9da915bcb551987e689b3655ec567b44e860cf3c747"
  },
  {
    name: "Dolor Contact",
    networkId: "mainnet-alpha",
    address: "0x45d0fc8ac60c3276d39ccda71d71fdd9c0c58851715eb9c36d3de4bc4956255"
  },
  {
    name: "Sit Amet Contact",
    networkId: "mainnet-alpha",
    address: "0x07c05078d10ba8cfdaa360b8a403080d2a99a74a9af8493c0db784ea71fcb9d8"
  },
  {
    name: "Lorem Ipsum Contact",
    networkId: "mainnet-alpha",
    address: "0x035515f03a70a04a196f47b6be3d6e4e3eb5bbc649c390cdb1265c496676805f"
  }
], p = ({ address: e, networkId: a }) => s(() => {
  const d = l.find((t) => a === t.networkId && c(e, t.address));
  return d == null ? void 0 : d.name;
}, [e, a]), i = [
  {
    key: "account_multisig_add_signers",
    value: "Lorem ipsum Multisign add signers label replacement"
  }
], b = (e) => {
  const a = i.find((d) => e === d.key);
  return a == null ? void 0 : a.value;
}, f = [
  {
    argentVerified: !0,
    dappId: "b513a7c1-eb8a-4201-876c-becd8d445e15",
    dappUrl: "https://app.ekubo.org/",
    logoUrl: "https://www.dappland.com/dapps/ekubo/ekubo-logo.png",
    name: "Ekubo"
  },
  {
    argentVerified: !1,
    dappId: "d030723c-e9e9-435b-bb72-e1df16ea9d2b",
    dappUrl: "https://app.avnu.fi/",
    logoUrl: "https://static.argent.net/dapp/logos/57c19c8d-c95d-4daf-8c58-48862565e60c.jpg",
    name: "AVNU"
  },
  {
    argentVerified: !0,
    dappId: "b39c1e1c-f4be-4344-afae-3792ccdc3977",
    dappUrl: "https://app.jediswap.xyz/",
    logoUrl: "https://www.dappland.com/dapps/jediswap/dapp-icon-jediswap.png",
    name: "JediSwap"
  },
  {
    argentVerified: !0,
    dappId: "test-dapp",
    dappUrl: "https://app.jediswap.xyz/",
    logoUrl: "https://www.dappland.com/dapps/jediswap/dapp-icon-jediswap.png",
    name: "Test Dapp"
  }
], m = (e) => f.find((a) => a.dappId === e), u = [
  {
    address: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
    decimals: 18,
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/eth.png",
    id: 1,
    name: "Ether",
    network: "mainnet-alpha",
    networkId: "mainnet-alpha",
    showAlways: !0,
    symbol: "ETH"
  },
  {
    id: 6,
    address: "0x00da114221cb83fa859dbdb4c44beeaa0bb37c7537ad5ae66fe5e0efd20e6eb3",
    name: "DAI",
    symbol: "DAI",
    decimals: "18",
    network: "mainnet-alpha",
    networkId: "mainnet-alpha",
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/dai.png"
  },
  {
    id: 6,
    address: "3e85bfbb8e2a42b7bead9e88e9a1b19dbccf661471061807292120462396ec9",
    name: "DAI",
    symbol: "DAI",
    decimals: "18",
    network: "mainnet-alpha",
    networkId: "mainnet-alpha",
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/dai.png"
  },
  {
    address: "0x0124aeb495b947201f5fac96fd1138e326ad86195b98df6dec9009158a533b49",
    decimals: 18,
    network: "mainnet-alpha",
    networkId: "mainnet-alpha",
    id: 175,
    name: "Lords",
    symbol: "LORDS",
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/lords.png"
  },
  {
    address: "0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d",
    name: "Starknet",
    symbol: "STRK",
    decimals: 18,
    network: "mainnet-alpha",
    networkId: "mainnet-alpha",
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/strk.png"
  },
  {
    address: "0xaa77901620bdae04ffe72235a50f53c02c4bdfccbe00e86f99ae6373064d3c",
    name: "JediSwap Placeholder",
    symbol: "JSPL",
    decimals: 18,
    network: "mainnet-alpha",
    networkId: "mainnet-alpha"
  },
  {
    address: "0x1fad7c03b2ea7fbef306764e20977f8d4eae6191b3a54e4514cc5fc9d19e569",
    networkId: "mainnet-alpha",
    name: "Ekubo Protocol",
    symbol: "EKUBO",
    decimals: 18,
    id: 5226,
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/ekubo.png"
  },
  {
    address: "0x27ef4670397069d7d5442cb7945b27338692de0d8896bdb15e6400cf5249f94",
    networkId: "mainnet-alpha",
    name: "usd-coin",
    symbol: "USDC",
    decimals: 6,
    id: 6460,
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/usdc.png"
  },
  {
    address: "0x57181b39020af1416747a7d0d2de6ad5a5b721183136585e8774e1425efd5d2",
    networkId: "mainnet-alpha",
    name: "wrapped-steth",
    symbol: "wstETH",
    decimals: 18,
    id: 6462,
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/steth.png"
  },
  {
    address: "0x63d32a3fa6074e72e7a1e06fe78c46a0c8473217773e19f11d8c8cbfc4ff8ca",
    networkId: "mainnet-alpha",
    name: "wrapped-bitcoin",
    symbol: "WBTC",
    decimals: 8,
    id: 6459,
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/wbtc.png"
  },
  {
    address: "0x772131070c7d56f78f3e46b27b70271d8ca81c7c52e3f62aa868fab4b679e43",
    networkId: "mainnet-alpha",
    name: "starknet",
    symbol: "STRK",
    decimals: 18,
    id: 6463,
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/strk.png"
  },
  {
    address: "0x7809bb63f557736e49ff0ae4a64bd8aa6ea60e3f77f26c520cb92c24e3700d3",
    networkId: "mainnet-alpha",
    name: "ethereum",
    symbol: "ETH",
    decimals: 18,
    id: 6458,
    iconUrl: "https://dv3jj1unlp2jl.cloudfront.net/128/color/eth.png"
  }
], o = ({ address: e, networkId: a }) => u.find((d) => d.networkId === a && c(d.address, e)), h = ({ address: e, networkId: a }) => {
}, w = ({ hash: e, networkId: a }) => {
}, k = () => ({
  title: "Console Dot Log",
  onOpenAddress: h,
  onOpenTransaction: w
}), j = () => ({
  code: "USD",
  name: "United States Dollar",
  symbol: "$",
  decimals: 2
}), g = "https://content.hydrogen.argent47.net/image", I = (e) => /* @__PURE__ */ n(r, { useAddressName: p, useBlockExplorer: k, useDappId: m, useLabel: b, useToken: o, useSelectedCurrency: j, useTokenInfo: o, imageOptimizationUrl: g, ...e }), A = (e) => /* @__PURE__ */ n(I, { children: /* @__PURE__ */ n(e, {}) });
export {
  I as TestArgentUIProvider,
  A as storybookUIProviderDecorator
};
