/**
 * Proxy Configuration Constants
 */

export const PROXY_CONFIG = {
  CACHE_KEY: 'active',
  CACHE_STATS_KEY: 'stats',
  CACHE_TTL: 86400, // 24 hours
  CHECK_TIMEOUT: 7000,
  CHECK_IP: '99.246.102.205',
  CHECK_URL: 'https://proxy-detection.stare.gg/?api_key=bd406bf53ddc6abe1d9de5907830a955',
  PROXY_SOURCES: [
    {
      id: 'prxchk',
      url: 'https://raw.githubusercontent.com/prxchk/proxy-list/main/http.txt',
      protocol: 'http',
    },
    {
      id: 'casals',
      url: 'https://raw.githubusercontent.com/casals-ar/proxy-list/main/http',
      protocol: 'http',
    },
    {
      id: 'sunny9577',
      url: 'https://raw.githubusercontent.com/sunny9577/proxy-scraper/master/proxies.txt',
      protocol: 'http',
    },
    {
      id: 'themiralay',
      url: 'https://raw.githubusercontent.com/themiralay/Proxy-List-World/refs/heads/master/data.txt',
      protocol: 'http',
    },
    {
      id: 'casa-ls',
      url: 'https://raw.githubusercontent.com/casa-ls/proxy-list/refs/heads/main/http',
      protocol: 'http',
    },
    {
      id: 'databay',
      url: 'https://raw.githubusercontent.com/databay-labs/free-proxy-list/refs/heads/master/http.txt',
      protocol: 'http',
    },
    {
      id: 'speedx',
      url: 'https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt',
      protocol: 'http',
    },
    {
      id: 'monosans',
      url: 'https://raw.githubusercontent.com/monosans/proxy-list/main/proxies/http.txt',
      protocol: 'http',
    },
    {
      id: 'murong',
      url: 'https://raw.githubusercontent.com/MuRongPIG/Proxy-Master/main/http.txt',
      protocol: 'http',
    },
    {
      id: 'vakhov-fresh',
      url: 'https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/http.txt',
      protocol: 'http',
    },
    {
      id: 'kangproxy',
      url: 'https://raw.githubusercontent.com/officialputuid/KangProxy/refs/heads/KangProxy/http/http.txt',
      protocol: 'http',
    },
    {
      id: 'gfpcom',
      url: 'https://raw.githubusercontent.com/gfpcom/free-proxy-list/refs/heads/main/list/http.txt',
      protocol: 'http',
    },
    {
      id: 'dpangestuw',
      url: 'https://raw.githubusercontent.com/dpangestuw/Free-Proxy/refs/heads/main/http_proxies.txt',
      protocol: 'http',
    },
    {
      id: 'gitrecon',
      url: 'https://raw.githubusercontent.com/gitrecon1455/fresh-proxy-list/refs/heads/main/proxylist.txt',
      protocol: 'http',
    },
    {
      id: 'vakhov-master',
      url: 'https://raw.githubusercontent.com/vakhov/fresh-proxy-list/refs/heads/master/http.txt',
      protocol: 'http',
    },
    {
      id: 'breaking-tech',
      url: 'https://raw.githubusercontent.com/BreakingTechFr/Proxy_Free/refs/heads/main/proxies/http.txt',
      protocol: 'http',
    },
    {
      id: 'ercindedeoglu',
      url: 'https://raw.githubusercontent.com/ErcinDedeoglu/proxies/main/proxies/http.txt',
      protocol: 'http',
    },
    {
      id: 'tuanminpay',
      url: 'https://raw.githubusercontent.com/TuanMinPay/live-proxy/master/http.txt',
      protocol: 'http',
    },

    {
      id: 'r00tee-https',
      url: 'https://raw.githubusercontent.com/r00tee/Proxy-List/refs/heads/main/Https.txt',
      protocol: 'https',
    },
    {
      id: 'ercindedeoglu-https',
      url: 'https://raw.githubusercontent.com/ErcinDedeoglu/proxies/main/proxies/https.txt',
      protocol: 'https',
    },
    {
      id: 'vakhov-fresh-https',
      url: 'https://raw.githubusercontent.com/vakhov/fresh-proxy-list/refs/heads/master/https.txt',
      protocol: 'https',
    },
    {
      id: 'databay-https',
      url: 'https://raw.githubusercontent.com/databay-labs/free-proxy-list/refs/heads/master/https.txt',
      protocol: 'https',
    },
    {
      id: 'kangproxy-https',
      url: 'https://raw.githubusercontent.com/officialputuid/KangProxy/refs/heads/KangProxy/https/https.txt',
      protocol: 'https',
    },
    {
      id: 'zloi-user-https',
      url: 'https://raw.githubusercontent.com/zloi-user/hideip.me/refs/heads/master/https.txt',
      protocol: 'https',
    },
    {
      id: 'gfpcom-https',
      url: 'https://raw.githubusercontent.com/gfpcom/free-proxy-list/refs/heads/main/list/https.txt',
      protocol: 'https',
    },
  ],
};
