import SymbolBnbxLight from '../logos/symbol/BnbxLight.svg';
import SymbolEthxLight from '../logos/symbol/EthxLight.svg';
import SymbolMaticxLight from '../logos/symbol/MaticxLight.svg';
import SymbolSlight from '../logos/symbol/SLight.svg';
import SymbolAave from '../logos/symbol/Aave.svg';
import SymbolUsd from '../logos/symbol/Usd.svg';
import SymbolAero from '../logos/symbol/Aero.svg';
import SymbolAgEth from '../logos/symbol/Ageth.svg';
import SymbolRsEth from '../logos/symbol/Rseth.svg';
import SymbolAnkrEth from '../logos/symbol/Ankreth.svg';
import SymbolEth from '../logos/symbol/Eth.svg';
import SymbolApe from '../logos/symbol/Ape.svg';
import SymbolApi3 from '../logos/symbol/Api3.svg';
import SymbolApxEth from '../logos/symbol/Apxeth.svg';
import SymbolPxEth from '../logos/symbol/Pxeth.svg';
import SymbolArb from '../logos/symbol/Arb.svg';
import SymbolAstr from '../logos/symbol/Astr.svg';
import SymbolAth from '../logos/symbol/Ath.svg';
import SymbolAusd from '../logos/symbol/Ausd.svg';
import SymbolAvax from '../logos/symbol/Avax.svg';
import SymbolAxs from '../logos/symbol/Axs.svg';
import SymbolBal from '../logos/symbol/Bal.svg';
import SymbolBera from '../logos/symbol/Bera.svg';
import SymbolBlast from '../logos/symbol/Blast.svg';
import SymbolBnb from '../logos/symbol/Bnb.svg';
import SymbolBnbx from '../logos/symbol/Bnbx.svg';
import SymbolBrett from '../logos/symbol/Brett.svg';
import SymbolBtc from '../logos/symbol/Btc.svg';
import SymbolCake from '../logos/symbol/Cake.svg';
import SymbolCbBtc from '../logos/symbol/Cbbtc.svg';
import SymbolCbEth from '../logos/symbol/Cbeth.svg';
import SymbolCelo from '../logos/symbol/Celo.svg';
import SymbolClo from '../logos/symbol/Clo.svg';
import SymbolCmEth from '../logos/symbol/Cmeth.svg';
import SymbolMeth from '../logos/symbol/Meth.svg';
import SymbolComp from '../logos/symbol/Comp.svg';
import SymbolCook from '../logos/symbol/Cook.svg';
import SymbolCore from '../logos/symbol/Core.svg';
import SymbolCro from '../logos/symbol/Cro.svg';
import SymbolCrv from '../logos/symbol/Crv.svg';
import SymbolCrvUsd from '../logos/symbol/Crvusd.svg';
import SymbolCvx from '../logos/symbol/Cvx.svg';
import SymbolDai from '../logos/symbol/Dai.svg';
import SymbolDegen from '../logos/symbol/Degen.svg';
import SymbolDot from '../logos/symbol/Dot.svg';
import SymbolDym from '../logos/symbol/Dym.svg';
import SymbolEbtc from '../logos/symbol/Ebtc.svg';
import SymbolWbtc from '../logos/symbol/Wbtc.svg';
import SymbolEna from '../logos/symbol/Ena.svg';
import SymbolEthfi from '../logos/symbol/Ethfi.svg';
import SymbolEthx from '../logos/symbol/Ethx.svg';
import SymbolEur from '../logos/symbol/Eur.svg';
import SymbolEurc from '../logos/symbol/Eurc.svg';
import SymbolEure from '../logos/symbol/Eure.svg';
import SymbolEzEth from '../logos/symbol/Ezeth.svg';
import SymbolFbtc from '../logos/symbol/Fbtc.svg';
import SymbolFdusd from '../logos/symbol/Fdusd.svg';
import SymbolFloki from '../logos/symbol/Floki.svg';
import SymbolFluid from '../logos/symbol/Fluid.svg';
import SymbolFrax from '../logos/symbol/Frax.svg';
import SymbolFrxUsd from '../logos/symbol/Frxusd.svg';
import SymbolFxs from '../logos/symbol/Fxs.svg';
import SymbolGho from '../logos/symbol/Gho.svg';
import SymbolGlmr from '../logos/symbol/Glmr.svg';
import SymbolGmx from '../logos/symbol/Gmx.svg';
import SymbolGno from '../logos/symbol/Gno.svg';
import SymbolHype from '../logos/symbol/Hype.svg';
import SymbolInj from '../logos/symbol/Inj.svg';
import SymbolKava from '../logos/symbol/Kava.svg';
import SymbolKsm from '../logos/symbol/Ksm.svg';
import SymbolLbtc from '../logos/symbol/Lbtc.svg';
import SymbolLdo from '../logos/symbol/Ldo.svg';
import SymbolLinea from '../logos/symbol/Linea.svg';
import SymbolLqty from '../logos/symbol/Lqty.svg';
import SymbolLsEth from '../logos/symbol/Lseth.svg';
import SymbolLumia from '../logos/symbol/Lumia.svg';
import SymbolManta from '../logos/symbol/Manta.svg';
import SymbolMaticx from '../logos/symbol/Maticx.svg';
import SymbolMatic from '../logos/symbol/Matic.svg';
import SymbolMerl from '../logos/symbol/Merl.svg';
import SymbolMnt from '../logos/symbol/Mnt.svg';
import SymbolMode from '../logos/symbol/Mode.svg';
import SymbolMog from '../logos/symbol/Mog.svg';
import SymbolMorpho from '../logos/symbol/Morpho.svg';
import SymbolMovr from '../logos/symbol/Movr.svg';
import SymbolMtl from '../logos/symbol/Mtl.svg';
import SymbolMvl from '../logos/symbol/Mvl.svg';
import SymbolOkb from '../logos/symbol/Okb.svg';
import SymbolOndo from '../logos/symbol/Ondo.svg';
import SymbolOp from '../logos/symbol/Op.svg';
import SymbolOsEth from '../logos/symbol/Oseth.svg';
import SymbolPaxg from '../logos/symbol/Paxg.svg';
import SymbolPendle from '../logos/symbol/Pendle.svg';
import SymbolPepe from '../logos/symbol/Pepe.svg';
import SymbolPol from '../logos/symbol/Pol.svg';
import SymbolPufEth from '../logos/symbol/Pufeth.svg';
import SymbolStEth from '../logos/symbol/Steth.svg';
import SymbolPyusd from '../logos/symbol/Pyusd.svg';
import SymbolQuick from '../logos/symbol/Quick.svg';
import SymbolRdnt from '../logos/symbol/Rdnt.svg';
import SymbolReth from '../logos/symbol/Reth.svg';
import SymbolRlp from '../logos/symbol/Rlp.svg';
import SymbolRon from '../logos/symbol/Ron.svg';
import SymbolRswEth from '../logos/symbol/Rsweth.svg';
import SymbolS from '../logos/symbol/S.svg';
import SymbolSafe from '../logos/symbol/Safe.svg';
import SymbolSavax from '../logos/symbol/Savax.svg';
import SymbolScr from '../logos/symbol/Scr.svg';
import SymbolScrvUsd from '../logos/symbol/Scrvusd.svg';
import SymbolSdai from '../logos/symbol/Sdai.svg';
import SymbolSei from '../logos/symbol/Sei.svg';
import SymbolSfrax from '../logos/symbol/Sfrax.svg';
import SymbolSfrxEth from '../logos/symbol/Sfrxeth.svg';
import SymbolFrxEth from '../logos/symbol/Frxeth.svg';
import SymbolSfrxUsd from '../logos/symbol/Sfrxusd.svg';
import SymbolShib from '../logos/symbol/Shib.svg';
import SymbolSky from '../logos/symbol/Sky.svg';
import SymbolSlisBnb from '../logos/symbol/Slisbnb.svg';
import SymbolSol from '../logos/symbol/Sol.svg';
import SymbolSolvBtc from '../logos/symbol/Solvbtc.svg';
import SymbolSomi from '../logos/symbol/Somi.svg';
import SymbolSpk from '../logos/symbol/Spk.svg';
import SymbolSpx from '../logos/symbol/Spx.svg';
import SymbolStone from '../logos/symbol/Stone.svg';
import SymbolStTao from '../logos/symbol/Sttao.svg';
import SymbolTao from '../logos/symbol/Tao.svg';
import SymbolSusde from '../logos/symbol/Susde.svg';
import SymbolUsde from '../logos/symbol/Usde.svg';
import SymbolSusds from '../logos/symbol/Susds.svg';
import SymbolUsds from '../logos/symbol/Usds.svg';
import SymbolSwEth from '../logos/symbol/Sweth.svg';
import SymbolSyrup from '../logos/symbol/Syrup.svg';
import SymbolSyrupUsdc from '../logos/symbol/Syrupusdc.svg';
import SymbolUsdc from '../logos/symbol/Usdc.svg';
import SymbolTaiko from '../logos/symbol/Taiko.svg';
import SymbolTbtc from '../logos/symbol/Tbtc.svg';
import SymbolTeth from '../logos/symbol/Teth.svg';
import SymbolWstEth from '../logos/symbol/Wsteth.svg';
import SymbolTusd from '../logos/symbol/Tusd.svg';
import SymbolUltraEths from '../logos/symbol/Ultraeths.svg';
import SymbolUni from '../logos/symbol/Uni.svg';
import SymbolUniEth from '../logos/symbol/Unieth.svg';
import SymbolUsd1 from '../logos/symbol/Usd1.svg';
import SymbolUsdp from '../logos/symbol/Usdp.svg';
import SymbolUsdt from '../logos/symbol/Usdt.svg';
import SymbolUsdy from '../logos/symbol/Usdy.svg';
import SymbolVelo from '../logos/symbol/Velo.svg';
import SymbolVirtual from '../logos/symbol/Virtual.svg';
import SymbolWbeth from '../logos/symbol/Wbeth.svg';
import SymbolWeEth from '../logos/symbol/Weeth.svg';
import SymbolWell from '../logos/symbol/Well.svg';
import SymbolWld from '../logos/symbol/Wld.svg';
import SymbolWos from '../logos/symbol/Wos.svg';
import SymbolOs from '../logos/symbol/Os.svg';
import SymbolWsrUsd from '../logos/symbol/Wsrusd.svg';
import SymbolRusd from '../logos/symbol/Rusd.svg';
import SymbolXaut from '../logos/symbol/Xaut.svg';
import SymbolXrp from '../logos/symbol/Xrp.svg';
import SymbolYfi from '../logos/symbol/Yfi.svg';
import SymbolYsUsdc from '../logos/symbol/Ysusdc.svg';
import SymbolYusd from '../logos/symbol/Yusd.svg';
import SymbolZk from '../logos/symbol/Zk.svg';
import SymbolZkc from '../logos/symbol/Zkc.svg';
import SymbolZrc from '../logos/symbol/Zrc.svg';
import SymbolZro from '../logos/symbol/Zro.svg';
import SymbolPlaceholder from '../logos/symbol/Placeholder.svg';
function sanitizeName(id) {
  return id.replace(/\s+|-/g, '').replace(/ExchangeRate/g, '');
}
function SymbolLogo(id, light = false) {
  if (!id) {
    return SymbolPlaceholder;
  }
  switch (sanitizeName(`${id}${light ? "light" : ""}`).toLowerCase()) {
    case "bnbxlight":
      return SymbolBnbxLight;
    case "ethxlight":
      return SymbolEthxLight;
    case "maticxlight":
      return SymbolMaticxLight;
    case "slight":
      return SymbolSlight;
    case "aave":
      return SymbolAave;
    case "usd":
      return SymbolUsd;
    case "aero":
      return SymbolAero;
    case "ageth":
      return SymbolAgEth;
    case "rseth":
      return SymbolRsEth;
    case "ankreth":
      return SymbolAnkrEth;
    case "eth":
      return SymbolEth;
    case "ape":
      return SymbolApe;
    case "api3":
      return SymbolApi3;
    case "apxeth":
      return SymbolApxEth;
    case "pxeth":
      return SymbolPxEth;
    case "arb":
      return SymbolArb;
    case "astr":
      return SymbolAstr;
    case "ath":
      return SymbolAth;
    case "ausd":
      return SymbolAusd;
    case "avax":
      return SymbolAvax;
    case "axs":
      return SymbolAxs;
    case "bal":
      return SymbolBal;
    case "bera":
      return SymbolBera;
    case "blast":
      return SymbolBlast;
    case "bnb":
      return SymbolBnb;
    case "bnbx":
      return SymbolBnbx;
    case "brett":
      return SymbolBrett;
    case "btc":
      return SymbolBtc;
    case "cake":
      return SymbolCake;
    case "cbbtc":
      return SymbolCbBtc;
    case "cbeth":
      return SymbolCbEth;
    case "celo":
      return SymbolCelo;
    case "clo":
      return SymbolClo;
    case "cmeth":
      return SymbolCmEth;
    case "meth":
      return SymbolMeth;
    case "comp":
      return SymbolComp;
    case "cook":
      return SymbolCook;
    case "core":
      return SymbolCore;
    case "cro":
      return SymbolCro;
    case "crv":
      return SymbolCrv;
    case "crvusd":
      return SymbolCrvUsd;
    case "cvx":
      return SymbolCvx;
    case "dai":
      return SymbolDai;
    case "degen":
      return SymbolDegen;
    case "dot":
      return SymbolDot;
    case "dym":
      return SymbolDym;
    case "ebtc":
      return SymbolEbtc;
    case "wbtc":
      return SymbolWbtc;
    case "ena":
      return SymbolEna;
    case "ethfi":
      return SymbolEthfi;
    case "ethx":
      return SymbolEthx;
    case "eur":
      return SymbolEur;
    case "eurc":
      return SymbolEurc;
    case "eure":
      return SymbolEure;
    case "ezeth":
      return SymbolEzEth;
    case "fbtc":
      return SymbolFbtc;
    case "fdusd":
      return SymbolFdusd;
    case "floki":
      return SymbolFloki;
    case "fluid":
      return SymbolFluid;
    case "frax":
      return SymbolFrax;
    case "frxusd":
      return SymbolFrxUsd;
    case "fxs":
      return SymbolFxs;
    case "gho":
      return SymbolGho;
    case "glmr":
      return SymbolGlmr;
    case "gmx":
      return SymbolGmx;
    case "gno":
      return SymbolGno;
    case "hype":
      return SymbolHype;
    case "inj":
      return SymbolInj;
    case "kava":
      return SymbolKava;
    case "ksm":
      return SymbolKsm;
    case "lbtc":
      return SymbolLbtc;
    case "ldo":
      return SymbolLdo;
    case "linea":
      return SymbolLinea;
    case "lqty":
      return SymbolLqty;
    case "lseth":
      return SymbolLsEth;
    case "lumia":
      return SymbolLumia;
    case "manta":
      return SymbolManta;
    case "maticx":
      return SymbolMaticx;
    case "matic":
      return SymbolMatic;
    case "merl":
      return SymbolMerl;
    case "mnt":
      return SymbolMnt;
    case "mode":
      return SymbolMode;
    case "mog":
      return SymbolMog;
    case "morpho":
      return SymbolMorpho;
    case "movr":
      return SymbolMovr;
    case "mtl":
      return SymbolMtl;
    case "mvl":
      return SymbolMvl;
    case "okb":
      return SymbolOkb;
    case "ondo":
      return SymbolOndo;
    case "op":
      return SymbolOp;
    case "oseth":
      return SymbolOsEth;
    case "paxg":
      return SymbolPaxg;
    case "pendle":
      return SymbolPendle;
    case "pepe":
      return SymbolPepe;
    case "pol":
      return SymbolPol;
    case "pufeth":
      return SymbolPufEth;
    case "steth":
      return SymbolStEth;
    case "pyusd":
      return SymbolPyusd;
    case "quick":
      return SymbolQuick;
    case "rdnt":
      return SymbolRdnt;
    case "reth":
      return SymbolReth;
    case "rlp":
      return SymbolRlp;
    case "ron":
      return SymbolRon;
    case "rsweth":
      return SymbolRswEth;
    case "s":
      return SymbolS;
    case "safe":
      return SymbolSafe;
    case "savax":
      return SymbolSavax;
    case "scr":
      return SymbolScr;
    case "scrvusd":
      return SymbolScrvUsd;
    case "sdai":
      return SymbolSdai;
    case "sei":
      return SymbolSei;
    case "sfrax":
      return SymbolSfrax;
    case "sfrxeth":
      return SymbolSfrxEth;
    case "frxeth":
      return SymbolFrxEth;
    case "sfrxusd":
      return SymbolSfrxUsd;
    case "shib":
      return SymbolShib;
    case "sky":
      return SymbolSky;
    case "slisbnb":
      return SymbolSlisBnb;
    case "sol":
      return SymbolSol;
    case "solvbtc":
      return SymbolSolvBtc;
    case "somi":
      return SymbolSomi;
    case "spk":
      return SymbolSpk;
    case "spx":
      return SymbolSpx;
    case "stone":
      return SymbolStone;
    case "sttao":
      return SymbolStTao;
    case "tao":
      return SymbolTao;
    case "susde":
      return SymbolSusde;
    case "usde":
      return SymbolUsde;
    case "susds":
      return SymbolSusds;
    case "usds":
      return SymbolUsds;
    case "sweth":
      return SymbolSwEth;
    case "syrup":
      return SymbolSyrup;
    case "syrupusdc":
      return SymbolSyrupUsdc;
    case "usdc":
      return SymbolUsdc;
    case "taiko":
      return SymbolTaiko;
    case "tbtc":
      return SymbolTbtc;
    case "teth":
      return SymbolTeth;
    case "wsteth":
      return SymbolWstEth;
    case "tusd":
      return SymbolTusd;
    case "ultraeths":
      return SymbolUltraEths;
    case "uni":
      return SymbolUni;
    case "unieth":
      return SymbolUniEth;
    case "usd1":
      return SymbolUsd1;
    case "usdp":
      return SymbolUsdp;
    case "usdt":
      return SymbolUsdt;
    case "usdy":
      return SymbolUsdy;
    case "velo":
      return SymbolVelo;
    case "virtual":
      return SymbolVirtual;
    case "wbeth":
      return SymbolWbeth;
    case "weeth":
      return SymbolWeEth;
    case "well":
      return SymbolWell;
    case "wld":
      return SymbolWld;
    case "wos":
      return SymbolWos;
    case "os":
      return SymbolOs;
    case "wsrusd":
      return SymbolWsrUsd;
    case "rusd":
      return SymbolRusd;
    case "xaut":
      return SymbolXaut;
    case "xrp":
      return SymbolXrp;
    case "yfi":
      return SymbolYfi;
    case "ysusdc":
      return SymbolYsUsdc;
    case "yusd":
      return SymbolYusd;
    case "zk":
      return SymbolZk;
    case "zkc":
      return SymbolZkc;
    case "zrc":
      return SymbolZrc;
    case "zro":
      return SymbolZro;
    default:
      return light ? SymbolLogo(id) : SymbolPlaceholder;
  }
}
export default SymbolLogo;