const Chain1030light = require('../logos/chain/Chain1030Light.svg');
const Chain146light = require('../logos/chain/Chain146Light.svg');
const Chain1868light = require('../logos/chain/Chain1868Light.svg');
const Chain196light = require('../logos/chain/Chain196Light.svg');
const Chain2001light = require('../logos/chain/Chain2001Light.svg');
const Chain252light = require('../logos/chain/Chain252Light.svg');
const Chain280light = require('../logos/chain/Chain280Light.svg');
const Chain324light = require('../logos/chain/Chain324Light.svg');
const Chain325000light = require('../logos/chain/Chain325000Light.svg');
const Chain34443light = require('../logos/chain/Chain34443Light.svg');
const Chain480light = require('../logos/chain/Chain480Light.svg');
const Chain4913light = require('../logos/chain/Chain4913Light.svg');
const Chain5000light = require('../logos/chain/Chain5000Light.svg');
const Chain5001light = require('../logos/chain/Chain5001Light.svg');
const Chain5003light = require('../logos/chain/Chain5003Light.svg');
const Chain57054light = require('../logos/chain/Chain57054Light.svg');
const Chain59140light = require('../logos/chain/Chain59140Light.svg');
const Chain59141light = require('../logos/chain/Chain59141Light.svg');
const Chain59144light = require('../logos/chain/Chain59144Light.svg');
const Chain60808light = require('../logos/chain/Chain60808Light.svg');
const Chain64165light = require('../logos/chain/Chain64165Light.svg');
const Chain71light = require('../logos/chain/Chain71Light.svg');
const Chain747474light = require('../logos/chain/Chain747474Light.svg');
const Chain81457light = require('../logos/chain/Chain81457Light.svg');
const Chain82light = require('../logos/chain/Chain82Light.svg');
const Chain994873017light = require('../logos/chain/Chain994873017Light.svg');
const Chain999light = require('../logos/chain/Chain999Light.svg');
const Chain33139 = require('../logos/chain/Chain33139.svg');
const Chain33111 = require('../logos/chain/Chain33111.svg');
const Chain42161 = require('../logos/chain/Chain42161.svg');
const Chain421614 = require('../logos/chain/Chain421614.svg');
const Chain43114 = require('../logos/chain/Chain43114.svg');
const Chain43113 = require('../logos/chain/Chain43113.svg');
const Chain8453 = require('../logos/chain/Chain8453.svg');
const Chain84532 = require('../logos/chain/Chain84532.svg');
const Chain80094 = require('../logos/chain/Chain80094.svg');
const Chain200901 = require('../logos/chain/Chain200901.svg');
const Chain200810 = require('../logos/chain/Chain200810.svg');
const Chain81457 = require('../logos/chain/Chain81457.svg');
const Chain168587773 = require('../logos/chain/Chain168587773.svg');
const Chain60808 = require('../logos/chain/Chain60808.svg');
const Chain808813 = require('../logos/chain/Chain808813.svg');
const Chain56 = require('../logos/chain/Chain56.svg');
const Chain97 = require('../logos/chain/Chain97.svg');
const Chain1116 = require('../logos/chain/Chain1116.svg');
const Chain1114 = require('../logos/chain/Chain1114.svg');
const Chain1 = require('../logos/chain/Chain1.svg');
const Chain560048 = require('../logos/chain/Chain560048.svg');
const Chain11155111 = require('../logos/chain/Chain11155111.svg');
const Chain252 = require('../logos/chain/Chain252.svg');
const Chain100 = require('../logos/chain/Chain100.svg');
const Chain10200 = require('../logos/chain/Chain10200.svg');
const Chain999 = require('../logos/chain/Chain999.svg');
const Chain998 = require('../logos/chain/Chain998.svg');
const Chain1776 = require('../logos/chain/Chain1776.svg');
const Chain1439 = require('../logos/chain/Chain1439.svg');
const Chain747474 = require('../logos/chain/Chain747474.svg');
const Chain737373 = require('../logos/chain/Chain737373.svg');
const Chain2222 = require('../logos/chain/Chain2222.svg');
const Chain2221 = require('../logos/chain/Chain2221.svg');
const Chain59144 = require('../logos/chain/Chain59144.svg');
const Chain994873017 = require('../logos/chain/Chain994873017.svg');
const Chain2030232745 = require('../logos/chain/Chain2030232745.svg');
const Chain169 = require('../logos/chain/Chain169.svg');
const Chain3441006 = require('../logos/chain/Chain3441006.svg');
const Chain5000 = require('../logos/chain/Chain5000.svg');
const Chain5003 = require('../logos/chain/Chain5003.svg');
const Chain4200 = require('../logos/chain/Chain4200.svg');
const Chain34443 = require('../logos/chain/Chain34443.svg');
const Chain919 = require('../logos/chain/Chain919.svg');
const Chain10143 = require('../logos/chain/Chain10143.svg');
const Chain1284 = require('../logos/chain/Chain1284.svg');
const Chain1287 = require('../logos/chain/Chain1287.svg');
const Chain1285 = require('../logos/chain/Chain1285.svg');
const Chain10 = require('../logos/chain/Chain10.svg');
const Chain11155420 = require('../logos/chain/Chain11155420.svg');
const Chain137 = require('../logos/chain/Chain137.svg');
const Chain80002 = require('../logos/chain/Chain80002.svg');
const Chain2020 = require('../logos/chain/Chain2020.svg');
const Chain2021 = require('../logos/chain/Chain2021.svg');
const Chain534352 = require('../logos/chain/Chain534352.svg');
const Chain534351 = require('../logos/chain/Chain534351.svg');
const Chain1329 = require('../logos/chain/Chain1329.svg');
const Chain1328 = require('../logos/chain/Chain1328.svg');
const Chain5031 = require('../logos/chain/Chain5031.svg');
const Chain50312 = require('../logos/chain/Chain50312.svg');
const Chain1868 = require('../logos/chain/Chain1868.svg');
const Chain1946 = require('../logos/chain/Chain1946.svg');
const Chain146 = require('../logos/chain/Chain146.svg');
const Chain14601 = require('../logos/chain/Chain14601.svg');
const Chain167000 = require('../logos/chain/Chain167000.svg');
const Chain167013 = require('../logos/chain/Chain167013.svg');
const Chain130 = require('../logos/chain/Chain130.svg');
const Chain1301 = require('../logos/chain/Chain1301.svg');
const Chain480 = require('../logos/chain/Chain480.svg');
const Chain4801 = require('../logos/chain/Chain4801.svg');
const Chain196 = require('../logos/chain/Chain196.svg');
const Chain48900 = require('../logos/chain/Chain48900.svg');
const Chain48898 = require('../logos/chain/Chain48898.svg');
const ChainPlaceholder = require('../logos/chain/Placeholder.svg');
function sanitizeName(id) {
  return id.replace(/\s+|-/g, '').replace(/ExchangeRate/g, '');
}
function ChainLogo(id, light = false) {
  if (!id) {
    return ChainPlaceholder;
  }
  switch (sanitizeName(`${id}${light ? "light" : ""}`).toLowerCase()) {
    case "1030light":
      return Chain1030light;
    case "146light":
      return Chain146light;
    case "1868light":
      return Chain1868light;
    case "196light":
      return Chain196light;
    case "2001light":
      return Chain2001light;
    case "252light":
      return Chain252light;
    case "280light":
      return Chain280light;
    case "324light":
      return Chain324light;
    case "325000light":
      return Chain325000light;
    case "34443light":
      return Chain34443light;
    case "480light":
      return Chain480light;
    case "4913light":
      return Chain4913light;
    case "5000light":
      return Chain5000light;
    case "5001light":
      return Chain5001light;
    case "5003light":
      return Chain5003light;
    case "57054light":
      return Chain57054light;
    case "59140light":
      return Chain59140light;
    case "59141light":
      return Chain59141light;
    case "59144light":
      return Chain59144light;
    case "60808light":
      return Chain60808light;
    case "64165light":
      return Chain64165light;
    case "71light":
      return Chain71light;
    case "747474light":
      return Chain747474light;
    case "81457light":
      return Chain81457light;
    case "82light":
      return Chain82light;
    case "994873017light":
      return Chain994873017light;
    case "999light":
      return Chain999light;
    case "33139":
      return Chain33139;
    case "33111":
      return Chain33111;
    case "42161":
      return Chain42161;
    case "421614":
      return Chain421614;
    case "43114":
      return Chain43114;
    case "43113":
      return Chain43113;
    case "8453":
      return Chain8453;
    case "84532":
      return Chain84532;
    case "80094":
      return Chain80094;
    case "200901":
      return Chain200901;
    case "200810":
      return Chain200810;
    case "81457":
      return Chain81457;
    case "168587773":
      return Chain168587773;
    case "60808":
      return Chain60808;
    case "808813":
      return Chain808813;
    case "56":
      return Chain56;
    case "97":
      return Chain97;
    case "1116":
      return Chain1116;
    case "1114":
      return Chain1114;
    case "1":
      return Chain1;
    case "560048":
      return Chain560048;
    case "11155111":
      return Chain11155111;
    case "252":
      return Chain252;
    case "100":
      return Chain100;
    case "10200":
      return Chain10200;
    case "999":
      return Chain999;
    case "998":
      return Chain998;
    case "1776":
      return Chain1776;
    case "1439":
      return Chain1439;
    case "747474":
      return Chain747474;
    case "737373":
      return Chain737373;
    case "2222":
      return Chain2222;
    case "2221":
      return Chain2221;
    case "59144":
      return Chain59144;
    case "994873017":
      return Chain994873017;
    case "2030232745":
      return Chain2030232745;
    case "169":
      return Chain169;
    case "3441006":
      return Chain3441006;
    case "5000":
      return Chain5000;
    case "5003":
      return Chain5003;
    case "4200":
      return Chain4200;
    case "34443":
      return Chain34443;
    case "919":
      return Chain919;
    case "10143":
      return Chain10143;
    case "1284":
      return Chain1284;
    case "1287":
      return Chain1287;
    case "1285":
      return Chain1285;
    case "10":
      return Chain10;
    case "11155420":
      return Chain11155420;
    case "137":
      return Chain137;
    case "80002":
      return Chain80002;
    case "2020":
      return Chain2020;
    case "2021":
      return Chain2021;
    case "534352":
      return Chain534352;
    case "534351":
      return Chain534351;
    case "1329":
      return Chain1329;
    case "1328":
      return Chain1328;
    case "5031":
      return Chain5031;
    case "50312":
      return Chain50312;
    case "1868":
      return Chain1868;
    case "1946":
      return Chain1946;
    case "146":
      return Chain146;
    case "14601":
      return Chain14601;
    case "167000":
      return Chain167000;
    case "167013":
      return Chain167013;
    case "130":
      return Chain130;
    case "1301":
      return Chain1301;
    case "480":
      return Chain480;
    case "4801":
      return Chain4801;
    case "196":
      return Chain196;
    case "48900":
      return Chain48900;
    case "48898":
      return Chain48898;
    default:
      return light ? ChainLogo(id) : ChainPlaceholder;
  }
}
module.exports = ChainLogo;