import { ReactNode } from "react";
import type { ClanRank, RankedRegion, RankedTier, Weapon } from "./constants";

export type Bracket = "1v1" | "2v2";
export type CommentsType = Array<{
  id: number;
  brawlhalla_id: number;
  text: string;
  user: string;
  commentedAt: number;
}>;
export type PlayerStats = {
  brawlhalla_id: number;
  name: string;
  xp: number;
  level: number;
  xp_percentage: number;
  games: number;
  wins: number;
  damagebomb: string;
  damagemine: string;
  damagespikeball: string;
  damagesidekick: string;
  hitsnowball: number;
  kobomb: number;
  komine: number;
  kospikeball: number;
  kosidekick: number;
  kosnowball: number;
  legends: {
    legend_id: number;
    legend_name_key: string;
    damagedealt: string;
    damagetaken: string;
    kos: number;
    falls: number;
    suicides: number;
    teamkos: number;
    matchtime: number;
    games: number;
    wins: number;
    damageunarmed: string;
    damagethrownitem: string;
    damageweaponone: string;
    damageweapontwo: string;
    damagegadgets: string;
    kounarmed: number;
    kothrownitem: number;
    koweaponone: number;
    koweapontwo: number;
    kogadgets: number;
    timeheldweaponone: number;
    timeheldweapontwo: number;
    xp: number;
    level: number;
    xp_percentage: number;
  }[];
  clan?: {
    clan_name: string;
    clan_id: number;
    clan_xp: string;
    personal_xp: number;
  };
};
export type LeaderboardPlayer = {
  rank: number | string;
  name: string;
  brawlhalla_id: number | string;
  best_legend: number | string;
  best_legend_games: number | string;
  best_legend_wins: number | string;
  rating: number | string;
  tier:
    | "Tin 0"
    | "Tin 1"
    | "Tin 2"
    | "Tin 3"
    | "Tin 4"
    | "Tin 5"
    | "Bronze 0"
    | "Bronze 1"
    | "Bronze 2"
    | "Bronze 3"
    | "Bronze 4"
    | "Bronze 5"
    | "Silver 0"
    | "Silver 1"
    | "Silver 2"
    | "Silver 3"
    | "Silver 4"
    | "Silver 5"
    | "Gold 0"
    | "Gold 1"
    | "Gold 2"
    | "Gold 3"
    | "Gold 4"
    | "Gold 5"
    | "Platinum 0"
    | "Platinum 1"
    | "Platinum 2"
    | "Platinum 3"
    | "Platinum 4"
    | "Platinum 5"
    | "Diamond";
  games: number | string;
  wins: number | string;
  region: string;
  peak_rating: number | string;
};
export type PlayerRanked = {
  name: string;
  brawlhalla_id: number;
  global_rank: number;
  region_rank: number;
  fav_legend?: number;
  highest_rated_legend_rating?: number;
  highest_rated_legend_name?: string;
  legends: {
    legend_id: number;
    legend_name_key: string;
    rating: number;
    peak_rating: number;
    tier: RankedTier;
    wins: number;
    games: number;
  }[];
  "2v2": {
    brawlhalla_id_one: number;
    brawlhalla_id_two: number;
    rating: number;
    peak_rating: number;
    tier: RankedTier;
    wins: number;
    games: number;
    teamname: string;
    region: number;
    global_rank: number;
  }[];
  rating: number;
  peak_rating: number;
  tier: RankedTier;
  wins: number;
  games: number;
  region: RankedRegion | Uppercase<RankedRegion>;
};
export type PlayerData = {
  stats: PlayerStats;
  ranked: PlayerRanked;
};
export type Clan = {
  clan_id: number;
  clan_name: string;
  clan_create_date?: number;
  clan_xp: string;
  clan: {
    brawlhalla_id: number;
    name: string;
    rank: ClanRank;
    join_date: number;
    xp: number;
  }[];
};
export type Regions = "US-E" | "US-W" | "EU" | "AUS" | "JPN" | "BRZ" | "SEA";
export type Ranking = {
  rank: number;
  rating: number;
  tier: RankedTier;
  games: number;
  wins: number;
  region: RankedRegion | Uppercase<RankedRegion>;
  peak_rating: number;
};

export type Ranking1v1 = Ranking & {
  name: string;
  brawlhalla_id: number;
  best_legend: number;
  best_legend_games: number;
  best_legend_wins: number;
  twitch_name?: string;
};

export type Ranking2v2 = Ranking & {
  teamname: string;
  brawlhalla_id_one: number;
  brawlhalla_id_two: number;
  twitch_name_one?: string;
  twitch_name_two?: string;
};

export type Legend = {
  legend_id: number;
  legend_name_key: string;
  bio_name: string;
  bio_aka: string;
  weapon_one: Weapon;
  weapon_two: Weapon;
  strength: string;
  dexterity: string;
  defense: string;
  speed: string;
};
export interface SocialProps {
  href: string;
  social: string;
}
export interface BadgesProps {
  badges: object;
}
export interface RightSideProps {
  badges?: object;
  views: number;
}
export interface LeftSideProps {
  socials?: Array<{
    href: string;
    social: string;
  }>;
  clan_create_date?: number;
  clan?: PlayerStats["clan"];
}
export interface MiddleSideProps {
  name: string;
  brawlhalla_id: number;
  description?: string | undefined;
  account_image?: string | undefined;
  region?: string;
  // legend: string,
  share: boolean;
}
export interface DataTextProps {
  text: string | number;
  title: string;
  tooltip?: boolean;
  tooltipText?: string;
  inline?: boolean;
}
export type TotalStatsStatsType = {
  legend_id: number;
  damagedealt: number | string;
  damagetaken: number | string;
  kos: number;
  falls: number;
  suicides: number;
  teamkos: number;
  matchtime: number;
  games: number;
  wins: number;
  damageunarmed: number | string;
  damagethrownitem: number | string;
  damageweaponone: number | string;
  damageweapontwo: number | string;
  damagegadgets: number | string;
  kounarmed: number;
  kothrownitem: number;
  koweaponone: number;
  koweapontwo: number;
  kogadgets: number;
  timeheldweaponone: number;
  timeheldweapontwo: number;
  xp: number;
  level: number;
  favLegend: string;
  leastFavLegend: string;
  avg_damage_dealt: number;
  avg_damage_taken: number;
  avg_kos: number;
  avg_lvl: number;
  levels_raw: number;
};
export type TotalStatsRankedType = {
  games: number;
  wins: number;
  rating: number;
  avg_rating: number;
  peak_rating: number;
  mostPlayed: string;
  leastPlayed: string;
  raw_rating: number;
  raw_peak: number;
  playedLegends: number;
  approvedLegends: number;
  approvedLegends_games: number;
};
export interface Ranked2v2Type {
  games: number;
  wins: number;
  rating: number;
  raw_rating: number;
  avg_rating: number;
  peak_rating: number;
  raw_peak: number;
  teamsPlayed: number;
  approvedTeams: number;
  approvedTeams_games: number;
}
export type TotalStats = {
  stats: TotalStatsStatsType;
  ranked?: TotalStatsRankedType;
};
export interface UnrankedProps {
  stats: PlayerStats;
  weaponData: FullWeapon;
}
export interface WeaponProps {
  weapons: FullWeapon;
}
export interface RankedProps {
  ranked: PlayerRanked;
}
export interface LegendsProps {
  rankedExists: boolean;
  totalStats: TotalStats;
  fullLegends: FullLegend[];
}
export interface ProfileWindowProps {
  name?: string;
  description?: string;
  socials?: Array<{
    href: string;
    social: string;
  }>;
  badges?: object;
  views?: number;
  account_image?: string;
  region?: string;
  share?: boolean;
  error?: string | undefined;
  ranked: PlayerRanked;
  stats: PlayerStats;
  legends: PlayerStats["legends"];
  og?: boolean;
}

export type ClanWindowProps = Clan & {
  socials?: Array<{
    href: string;
    social: string;
  }>;
  badges?: object;
  views?: number;
  share?: boolean;
  error?: string | undefined;
};
export interface GeneralProps {
  clan: Clan["clan"];
  clan_xp: Clan["clan_xp"];
}
export interface DataProps {
  ranked: PlayerRanked;
  stats: PlayerStats;
  og?: boolean;
}
export interface ClanDataProps {
  clan: Clan["clan"];
  clan_xp: Clan["clan_xp"];
  clan_create_date: Clan["clan_create_date"];
}
export interface MainWindowProps {
  children?: ReactNode | null;
  width?: string | number;
  paddingTop?: string | number;
  paddingBottom?: string | number;
  paddingLeft?: string | number;
  paddingRight?: string | number;
  textCenter?: boolean;
  center?: boolean;
}
export type FullLegend = Legend & {
  stats?: PlayerStats["legends"][number];
  ranked?: PlayerRanked["legends"][number];
};
export type FullWeapon = {
  dmg: number;
  dmg_taken: number;
  matchtime: number;
  kos: number;
  teamkos: number;
  falls: number;
  suicides: number;
  weapons: {
    weapon: Weapon | string;
    legends: FullLegend[];
    dmg: number;
    timeheld: number;
    kos: number;
    wins: number;
    games: number;
  }[];
};
export interface TemplateProps {
  children?: ReactNode | null;
  mainWindowClassNames?: string;
  mainWindowBig?: boolean;
  center?: boolean;
  mainWindowFullWidth?: boolean;
  mainWindow?: boolean;
  useWindow?: boolean;
}
export interface SearchOptionProps {
  placeholder?: string;
  to?: string;
  pattern?: string;
  maxLength?: number;
  minLength?: number;
  numberOnly?: boolean;
  showMax?: boolean;
  maxNum?: number | string | undefined;
  minNum?: number | string | undefined;
}
export interface WeaponStats {
  weapon: string;
  legends: number;
  playrate: number;
  winrate: number;
  dmg: number;
  match_time: number;
  timeheld: number;
  games: number;
}
export type PR = {
  rank: number;
  name: string;
  earnings: string;
  raw_earnings: number;
  t1: number;
  t2: number;
  t3: number;
  t8: number;
  t32: number;
  brawlhalla_id: number;
};
export interface LegendStats {
  id: number;
  games: number;
  playrate: number;
  winrate: number;
  suicides: number;
  damagedealt: number;
  damagedealt_unarmed: number;
  damagedealt_gadgets: number;
  damagedealt_weaponone: number;
  damagedealt_weapontwo: number;
  damagetaken: number;
  matchtime: number;
  matchtime_weaponone: number;
  matchtime_weapontwo: number;
  matchtime_unarmed: number;
  falls: number;
  kos: number;
  koweaponone: number;
  koweapontwo: number;
  kounarmed: number;
  kothrownitem: number;
  kogadgets: number;
}
export interface LegendRankings {
  brawlhalla_id: number;
  name: string;
  region: Regions;
  rating: number;
  peak_rating: number;
  wins: number;
  games: number;
  level: number;
  xp: number;
}
export interface PlayerTracker {
  brawlhalla_id: number;
  name: string;
  views: number;
  badges: Array<any>;
  lastVisit: number;
  socials: string;
}
export interface ClanTracker {
  clan_id: number;
  name: string;
  views: number;
  badges: Array<any>;
  lastVisit: number;
}
export type BHArticleFullCategory = {
  id: number;
  link: string;
  name: string;
  slug: string;
};
export type BHArticleCategories = 22 | 12 | 28 | 10 | 15 | 1 | 1143;
export interface BHArticle {
  date: string;
  title: string;
  src: string;
  href: string;
  categories: Array<BHArticleFullCategory>;
}
export interface BHFullArticle {
  id: number;
  date: string;
  date_gmt: string;
  guid: {
    rendered: string;
  };
  modified: string;
  modified_gmt: string;
  slug: string;
  status: "publish" | "future" | "draft" | "pending" | "private" | "trash";
  type: "post";
  link: string;
  title: {
    rendered: string;
  };
  content: {
    rendered: string;
    protected: boolean;
  };
  excerpt: {
    rendered: string;
    protected: boolean;
  };
  author: number;
  featured_media: number;
  comment_status: "open" | "closed";
  ping_status: "open" | "closed";
  sticky: boolean;
  template: string;
  format:
    | "standard"
    | "aside"
    | "image"
    | "video"
    | "gallery"
    | "audio"
    | "quote"
    | "link"
    | "status"
    | "chat";
  meta: {
    _et_pb_use_builder: "on" | "off";
    _et_pb_old_content: string;
    _et_gb_content_width: string;
    _mi_skip_tracking: boolean;
  };
  categories: Array<BHArticleCategories>;
  tags: [];
  yoast_head: string;
  yoast_head_json: {
    title: string;
    robots: {
      index: string;
      follow: string;
      "max-snippet": string;
      "max-image-preview": string;
      "max-video-preview": string;
    };
    canonical: string;
    og_locale: string;
    og_type: string;
    og_title: string;
    og_description: string;
    og_url: string;
    og_site_name: string;
    article_publisher: string;
    article_published_time: string;
    article_modified_time: string;
    og_image: Array<{
      width: number;
      height: number;
      url: string;
      type: string;
    }>;
    author: string;
    twitter_card: string;
    twitter_creator: string;
    twitter_site: string;
    twitter_misc: {
      "Written by": string;
      "Est. reading time": string;
    };
    schema: {
      "@context": string;
      "@graph": Array<
        [
          {
            "@type": string;
            "@id": string;
            name: string;
            url: string;
            sameAs: Array<[string]>;
            logo: {
              "@type": string;
              inLanguage: string;
              "@id": string;
              url: string;
              contentUrl: string;
              width: number;
              height: number;
              caption: string;
            };
            image: {
              "@id": string;
            };
          },
          {
            "@type": string;
            "@id": string;
            url: string;
            name: string;
            description: string;
            publisher: {
              "@id": string;
            };
            potentialAction: Array<
              [
                {
                  "@type": string;
                  target: {
                    "@type": string;
                    urlTemplate: string;
                  };
                  "query-input": string;
                }
              ]
            >;
            inLanguage: string;
          },
          {
            "@type": string;
            "@id": string;
            url: string;
            name: string;
            isPartOf: {
              "@id": string;
            };
            datePublished: string;
            dateModified: string;
            breadcrumb: {
              "@id": string;
            };
            inLanguage: string;
            potentialAction: Array<
              [
                {
                  "@type": string;
                  target: Array<[string]>;
                }
              ]
            >;
          },
          {
            "@type": string;
            "@id": string;
            itemListElement: Array<
              [
                {
                  "@type": string;
                  position: number;
                  name: string;
                  item?: string;
                }
              ]
            >;
          },
          {
            "@type": string;
            "@id": string;
            isPartOf: {
              "@id": string;
            };
            author: {
              name: string;
              "@id": string;
            };
            headline: string;
            datePublished: string;
            dateModified: string;
            mainEntityOfPage: {
              "@id": string;
            };
            wordCount: number;
            commentCount: number;
            publisher: {
              "@id": string;
            };
            articleSection: Array<[BHArticleCategories]>;
            inLanguage: string;
            potentialAction: Array<
              [
                {
                  "@type": string;
                  name: string;
                  target: Array<[string]>;
                }
              ]
            >;
          },
          {
            "@type": string;
            "@id": string;
            name: string;
            url: string;
          }
        ]
      >;
    };
  };
  _links: {
    self: Array<
      [
        {
          href: string;
        }
      ]
    >;
    collection: Array<
      [
        {
          href: string;
        }
      ]
    >;
    about: Array<
      [
        {
          href: string;
        }
      ]
    >;
    author: Array<
      [
        {
          embeddable: boolean;
          href: string;
        }
      ]
    >;
    replies: Array<
      [
        {
          embeddable: boolean;
          href: string;
        }
      ]
    >;
    "version-history": Array<
      [
        {
          count: number;
          href: string;
        }
      ]
    >;
    "predecessor-version": Array<
      [
        {
          id: number;
          href: string;
        }
      ]
    >;
    "wp:featuredmedia": Array<
      [
        {
          embeddable: boolean;
          href: string;
        }
      ]
    >;
    "wp:attachment": Array<
      [
        {
          href: string;
        }
      ]
    >;
    "wp:term": Array<
      [
        {
          taxonomy: string;
          embeddable: boolean;
          href: string;
        },
        {
          taxonomy: string;
          embeddable: boolean;
          href: string;
        }
      ]
    >;
    curies: Array<
      [
        {
          name: string;
          href: string;
          templated: boolean;
        }
      ]
    >;
  };
}

export const legends: Legend[] = [
  {
    legend_id: 3,
    legend_name_key: "bodvar",
    bio_name: "Bödvar",
    bio_aka: "The Unconquered Viking, The Great Bear",
    weapon_one: "Hammer",
    weapon_two: "Sword",
    strength: "6",
    dexterity: "6",
    defense: "5",
    speed: "5",
  },
  {
    legend_id: 4,
    legend_name_key: "cassidy",
    bio_name: "Cassidy",
    bio_aka: "The Marshal of the Old West",
    weapon_one: "Blasters",
    weapon_two: "Hammer",
    strength: "6",
    dexterity: "8",
    defense: "4",
    speed: "4",
  },
  {
    legend_id: 5,
    legend_name_key: "orion",
    bio_name: "Orion",
    bio_aka: "The Mysterious Stranger",
    weapon_one: "RocketLance",
    weapon_two: "Spear",
    strength: "4",
    dexterity: "6",
    defense: "6",
    speed: "6",
  },
  {
    legend_id: 6,
    legend_name_key: "lord vraxx",
    bio_name: "Lord Vraxx",
    bio_aka: "The Despotic",
    weapon_one: "RocketLance",
    weapon_two: "Blasters",
    strength: "4",
    dexterity: "8",
    defense: "4",
    speed: "6",
  },
  {
    legend_id: 7,
    legend_name_key: "gnash",
    bio_name: "Gnash",
    bio_aka: "The First Real Man",
    weapon_one: "Hammer",
    weapon_two: "Spear",
    strength: "7",
    dexterity: "3",
    defense: "5",
    speed: "7",
  },
  {
    legend_id: 8,
    legend_name_key: "queen nai",
    bio_name: "Queen Nai",
    bio_aka: "The Jaguar Queen",
    weapon_one: "Spear",
    weapon_two: "Katars",
    strength: "7",
    dexterity: "4",
    defense: "8",
    speed: "3",
  },
  {
    legend_id: 10,
    legend_name_key: "hattori",
    bio_name: "Hattori",
    bio_aka: "Demon Bride",
    weapon_one: "Sword",
    weapon_two: "Spear",
    strength: "4",
    dexterity: "6",
    defense: "4",
    speed: "8",
  },
  {
    legend_id: 11,
    legend_name_key: "sir roland",
    bio_name: "Sir Roland",
    bio_aka: "The Scarlet Lion",
    weapon_one: "RocketLance",
    weapon_two: "Sword",
    strength: "5",
    dexterity: "5",
    defense: "8",
    speed: "4",
  },
  {
    legend_id: 12,
    legend_name_key: "scarlet",
    bio_name: "Scarlet",
    bio_aka: "Lady Necessity, The daVinci of Steam",
    weapon_one: "Hammer",
    weapon_two: "RocketLance",
    strength: "8",
    dexterity: "5",
    defense: "5",
    speed: "4",
  },
  {
    legend_id: 13,
    legend_name_key: "thatch",
    bio_name: "Thatch",
    bio_aka: "The Madman of Barbados",
    weapon_one: "Sword",
    weapon_two: "Blasters",
    strength: "7",
    dexterity: "5",
    defense: "3",
    speed: "7",
  },
  {
    legend_id: 14,
    legend_name_key: "ada",
    bio_name: "Ada",
    bio_aka: "The Ghost in the Machine",
    weapon_one: "Blasters",
    weapon_two: "Spear",
    strength: "6",
    dexterity: "7",
    defense: "3",
    speed: "6",
  },
  {
    legend_id: 15,
    legend_name_key: "sentinel",
    bio_name: "Sentinel",
    bio_aka: "The Hammer of Justice",
    weapon_one: "Hammer",
    weapon_two: "Katars",
    strength: "5",
    dexterity: "4",
    defense: "7",
    speed: "6",
  },
  {
    legend_id: 9,
    legend_name_key: "lucien",
    bio_name: "Lucien",
    bio_aka: "The Highwayman",
    weapon_one: "Katars",
    weapon_two: "Blasters",
    strength: "3",
    dexterity: "5",
    defense: "6",
    speed: "8",
  },
  {
    legend_id: 16,
    legend_name_key: "teros",
    bio_name: "Teros",
    bio_aka: "The Minotaur",
    weapon_one: "Axe",
    weapon_two: "Hammer",
    strength: "8",
    dexterity: "3",
    defense: "6",
    speed: "5",
  },
  {
    legend_id: 19,
    legend_name_key: "brynn",
    bio_name: "Brynn",
    bio_aka: "Chooser of the Slain, Slayer of the Chosen",
    weapon_one: "Axe",
    weapon_two: "Spear",
    strength: "5",
    dexterity: "5",
    defense: "5",
    speed: "7",
  },
  {
    legend_id: 20,
    legend_name_key: "asuri",
    bio_name: "Asuri",
    bio_aka: "The Night Stalker",
    weapon_one: "Katars",
    weapon_two: "Sword",
    strength: "4",
    dexterity: "7",
    defense: "5",
    speed: "6",
  },
  {
    legend_id: 21,
    legend_name_key: "barraza",
    bio_name: "Barraza",
    bio_aka: "Diesel Heart, The Lord of the Waste",
    weapon_one: "Axe",
    weapon_two: "Blasters",
    strength: "6",
    dexterity: "4",
    defense: "8",
    speed: "4",
  },
  {
    legend_id: 18,
    legend_name_key: "ember",
    bio_name: "Ember",
    bio_aka: "The Fangwild's Daughter",
    weapon_one: "Bow",
    weapon_two: "Katars",
    strength: "6",
    dexterity: "6",
    defense: "3",
    speed: "7",
  },
  {
    legend_id: 23,
    legend_name_key: "azoth",
    bio_name: "Azoth",
    bio_aka: "The One-Man Dynasty",
    weapon_one: "Bow",
    weapon_two: "Axe",
    strength: "7",
    dexterity: "5",
    defense: "6",
    speed: "4",
  },
  {
    legend_id: 24,
    legend_name_key: "koji",
    bio_name: "Koji",
    bio_aka: "The Wanderer, Honor's Blade",
    weapon_one: "Bow",
    weapon_two: "Sword",
    strength: "5",
    dexterity: "8",
    defense: "4",
    speed: "5",
  },
  {
    legend_id: 22,
    legend_name_key: "ulgrim",
    bio_name: "Ulgrim",
    bio_aka: "The Unyielding Anvil, Son of Ivaldi",
    weapon_one: "Axe",
    weapon_two: "RocketLance",
    strength: "6",
    dexterity: "3",
    defense: "7",
    speed: "6",
  },
  {
    legend_id: 25,
    legend_name_key: "diana",
    bio_name: "Diana",
    bio_aka: "The Monster Hunter",
    weapon_one: "Bow",
    weapon_two: "Blasters",
    strength: "5",
    dexterity: "6",
    defense: "5",
    speed: "6",
  },
  {
    legend_id: 26,
    legend_name_key: "jhala",
    bio_name: "Jhala",
    bio_aka: "The Unbroken",
    weapon_one: "Axe",
    weapon_two: "Sword",
    strength: "7",
    dexterity: "7",
    defense: "3",
    speed: "5",
  },
  {
    legend_id: 28,
    legend_name_key: "kor",
    bio_name: "Kor",
    bio_aka: "The Boulder",
    weapon_one: "Fists",
    weapon_two: "Hammer",
    strength: "6",
    dexterity: "5",
    defense: "7",
    speed: "4",
  },
  {
    legend_id: 29,
    legend_name_key: "wu shang",
    bio_name: "Wu Shang",
    bio_aka: "The Traveler",
    weapon_one: "Fists",
    weapon_two: "Spear",
    strength: "5",
    dexterity: "7",
    defense: "5",
    speed: "5",
  },
  {
    legend_id: 30,
    legend_name_key: "val",
    bio_name: "Val",
    bio_aka: "The Weapon",
    weapon_one: "Fists",
    weapon_two: "Sword",
    strength: "4",
    dexterity: "5",
    defense: "6",
    speed: "7",
  },
  {
    legend_id: 31,
    legend_name_key: "ragnir",
    bio_name: "Ragnir",
    bio_aka: "The Dragon",
    weapon_one: "Katars",
    weapon_two: "Axe",
    strength: "5",
    dexterity: "6",
    defense: "6",
    speed: "5",
  },
  {
    legend_id: 32,
    legend_name_key: "cross",
    bio_name: "Cross",
    bio_aka: "The Dealmaker",
    weapon_one: "Blasters",
    weapon_two: "Fists",
    strength: "7",
    dexterity: "4",
    defense: "6",
    speed: "5",
  },
  {
    legend_id: 33,
    legend_name_key: "mirage",
    bio_name: "Mirage",
    bio_aka: "The Dune Weaver",
    weapon_one: "Scythe",
    weapon_two: "Spear",
    strength: "7",
    dexterity: "6",
    defense: "4",
    speed: "5",
  },
  {
    legend_id: 34,
    legend_name_key: "nix",
    bio_name: "Nix",
    bio_aka: "Freelance Reaper",
    weapon_one: "Scythe",
    weapon_two: "Blasters",
    strength: "4",
    dexterity: "5",
    defense: "7",
    speed: "6",
  },
  {
    legend_id: 35,
    legend_name_key: "mordex",
    bio_name: "Mordex",
    bio_aka: "The Ravenous",
    weapon_one: "Scythe",
    weapon_two: "Fists",
    strength: "6",
    dexterity: "4",
    defense: "5",
    speed: "7",
  },
  {
    legend_id: 36,
    legend_name_key: "yumiko",
    bio_name: "Yumiko",
    bio_aka: "The Kitsune",
    weapon_one: "Bow",
    weapon_two: "Hammer",
    strength: "4",
    dexterity: "7",
    defense: "4",
    speed: "7",
  },
  {
    legend_id: 37,
    legend_name_key: "artemis",
    bio_name: "Artemis",
    bio_aka: "The Answer",
    weapon_one: "RocketLance",
    weapon_two: "Scythe",
    strength: "5",
    dexterity: "5",
    defense: "4",
    speed: "8",
  },
  {
    legend_id: 38,
    legend_name_key: "caspian",
    bio_name: "Caspian",
    bio_aka: "The Master Thief",
    weapon_one: "Fists",
    weapon_two: "Katars",
    strength: "7",
    dexterity: "5",
    defense: "4",
    speed: "6",
  },
  {
    legend_id: 39,
    legend_name_key: "sidra",
    bio_name: "Sidra",
    bio_aka: "The Corsair Queen",
    weapon_one: "Cannon",
    weapon_two: "Sword",
    strength: "6",
    dexterity: "4",
    defense: "6",
    speed: "6",
  },
  {
    legend_id: 40,
    legend_name_key: "xull",
    bio_name: "Xull",
    bio_aka: "The Iron Commander",
    weapon_one: "Cannon",
    weapon_two: "Axe",
    strength: "9",
    dexterity: "4",
    defense: "5",
    speed: "4",
  },
  {
    legend_id: 42,
    legend_name_key: "kaya",
    bio_name: "Kaya",
    bio_aka: "The Natural",
    weapon_one: "Spear",
    weapon_two: "Bow",
    strength: "4",
    dexterity: "4",
    defense: "7",
    speed: "7",
  },
  {
    legend_id: 41,
    legend_name_key: "isaiah",
    bio_name: "Isaiah",
    bio_aka: "The Specialist",
    weapon_one: "Cannon",
    weapon_two: "Blasters",
    strength: "5",
    dexterity: "6",
    defense: "7",
    speed: "4",
  },
  {
    legend_id: 43,
    legend_name_key: "jiro",
    bio_name: "Jiro",
    bio_aka: "The Shogun's Shadow",
    weapon_one: "Sword",
    weapon_two: "Scythe",
    strength: "5",
    dexterity: "7",
    defense: "3",
    speed: "7",
  },
  {
    legend_id: 44,
    legend_name_key: "lin fei",
    bio_name: "Lin Fei",
    bio_aka: "The Teacher",
    weapon_one: "Katars",
    weapon_two: "Cannon",
    strength: "3",
    dexterity: "8",
    defense: "4",
    speed: "7",
  },
  {
    legend_id: 45,
    legend_name_key: "zariel",
    bio_name: "Zariel",
    bio_aka: "The Celestial",
    weapon_one: "Fists",
    weapon_two: "Bow",
    strength: "7",
    dexterity: "4",
    defense: "7",
    speed: "4",
  },
  {
    legend_id: 46,
    legend_name_key: "rayman",
    bio_name: "Rayman",
    bio_aka: "Champion of the Glade of Dreams",
    weapon_one: "Fists",
    weapon_two: "Axe",
    strength: "5",
    dexterity: "5",
    defense: "6",
    speed: "6",
  },
  {
    legend_id: 47,
    legend_name_key: "dusk",
    bio_name: "Dusk",
    bio_aka: "The Renegade Sorcerer",
    weapon_one: "Spear",
    weapon_two: "Orb",
    strength: "6",
    dexterity: "7",
    defense: "4",
    speed: "5",
  },
  {
    legend_id: 48,
    legend_name_key: "fait",
    bio_name: "Fait",
    bio_aka: "The Star Speaker",
    weapon_one: "Scythe",
    weapon_two: "Orb",
    strength: "7",
    dexterity: "4",
    defense: "4",
    speed: "7",
  },
  {
    legend_id: 49,
    legend_name_key: "thor",
    bio_name: "Thor",
    bio_aka: "The God of Thunder",
    weapon_one: "Hammer",
    weapon_two: "Orb",
    strength: "6",
    dexterity: "4",
    defense: "7",
    speed: "5",
  },
  {
    legend_id: 50,
    legend_name_key: "petra",
    bio_name: "Petra",
    bio_aka: "The Darkheart",
    weapon_one: "Fists",
    weapon_two: "Orb",
    strength: "8",
    dexterity: "4",
    defense: "4",
    speed: "6",
  },
  {
    legend_id: 51,
    legend_name_key: "vector",
    bio_name: "Vector",
    bio_aka: "The Superbot",
    weapon_one: "RocketLance",
    weapon_two: "Bow",
    strength: "5",
    dexterity: "4",
    defense: "6",
    speed: "7",
  },
  {
    legend_id: 52,
    legend_name_key: "volkov",
    bio_name: "Volkov",
    bio_aka: "The Vampire King",
    weapon_one: "Axe",
    weapon_two: "Scythe",
    strength: "4",
    dexterity: "8",
    defense: "6",
    speed: "4",
  },
  {
    legend_id: 53,
    legend_name_key: "onyx",
    bio_name: "Onyx",
    bio_aka: "The Gargoyle",
    weapon_one: "Fists",
    weapon_two: "Cannon",
    strength: "5",
    dexterity: "4",
    defense: "8",
    speed: "5",
  },
  {
    legend_id: 54,
    legend_name_key: "jaeyun",
    bio_name: "Jaeyun",
    bio_aka: "The Sellsword",
    weapon_one: "Sword",
    weapon_two: "Greatsword",
    strength: "6",
    dexterity: "5",
    defense: "5",
    speed: "6",
  },
  {
    legend_id: 55,
    legend_name_key: "mako",
    bio_name: "Mako",
    bio_aka: "The Shark",
    weapon_one: "Katars",
    weapon_two: "Greatsword",
    strength: "6",
    dexterity: "4",
    defense: "4",
    speed: "8",
  },
  {
    legend_id: 56,
    legend_name_key: "magyar",
    bio_name: "Magyar",
    bio_aka: "The Spectral Guardian",
    weapon_one: "Hammer",
    weapon_two: "Greatsword",
    strength: "5",
    dexterity: "4",
    defense: "9",
    speed: "4",
  },
  {
    legend_id: 57,
    legend_name_key: "reno",
    bio_name: "Reno",
    bio_aka: "The Bounty Hunter",
    weapon_one: "Blasters",
    weapon_two: "Orb",
    strength: "4",
    dexterity: "7",
    defense: "6",
    speed: "5",
  },
  {
    legend_id: 58,
    legend_name_key: "munin",
    bio_name: "Munin",
    bio_aka: "The Raven",
    weapon_one: "Bow",
    weapon_two: "Scythe",
    strength: "5",
    dexterity: "6",
    defense: "4",
    speed: "7",
  },
  {
    legend_id: 59,
    legend_name_key: "arcadia",
    bio_name: "Arcadia",
    bio_aka: "The Faerie Queen",
    weapon_one: "Spear",
    weapon_two: "Greatsword",
    strength: "7",
    dexterity: "7",
    defense: "4",
    speed: "4",
  },
  {
    legend_id: 60,
    legend_name_key: "ezio",
    bio_name: "Ezio",
    bio_aka: "The Master Assassin",
    weapon_one: "Sword",
    weapon_two: "Orb",
    strength: "5",
    dexterity: "7",
    defense: "4",
    speed: "6",
  },
  {
    legend_id: 63,
    legend_name_key: "tezca",
    bio_name: "Tezca",
    bio_aka: "The Luchador",
    weapon_one: "Boots",
    weapon_two: "Fists",
    strength: "7",
    dexterity: "5",
    defense: "5",
    speed: "5",
  },
  {
    legend_id: 62,
    legend_name_key: "thea",
    bio_name: "Thea",
    bio_aka: "The Speedster",
    weapon_one: "Boots",
    weapon_two: "RocketLance",
    strength: "4",
    dexterity: "6",
    defense: "3",
    speed: "9",
  },
  {
    legend_id: 17,
    legend_name_key: "redraptor",
    bio_name: "Red Raptor",
    bio_aka: "The Last Sentai",
    weapon_one: "Boots",
    weapon_two: "Orb",
    strength: "6",
    dexterity: "6",
    defense: "4",
    speed: "6",
  },
  {
    legend_id: 27,
    legend_name_key: "loki",
    bio_name: "Loki",
    bio_aka: "The Mastermind",
    weapon_one: "Katars",
    weapon_two: "Scythe",
    strength: "4",
    dexterity: "8",
    defense: "5",
    speed: "5",
  },
  {
    legend_id: 61,
    legend_name_key: "seven",
    bio_name: "Seven",
    bio_aka: "The Free Heart Engineer",
    weapon_one: "Spear",
    weapon_two: "Cannon",
    strength: "7",
    dexterity: "3",
    defense: "8",
    speed: "4",
  },
  {
    legend_id: 64,
    legend_name_key: "vivi",
    bio_name: "Vivi",
    bio_aka: "The Deadly Dancer",
    weapon_one: "Boots",
    weapon_two: "Blasters",
    strength: "6",
    dexterity: "5",
    defense: "4",
    speed: "7",
  },
  {
    legend_id: 65,
    legend_name_key: "imugi",
    bio_name: "Imugi",
    bio_aka: "The Warrior Chef",
    weapon_one: "Axe",
    weapon_two: "Greatsword",
    strength: "8",
    dexterity: "3",
    defense: "8",
    speed: "3",
  },
  {
    legend_id: 66,
    legend_name_key: "king zuva",
    bio_name: "King Zuva",
    bio_aka: "The Stampede",
    weapon_one: "Hammer",
    weapon_two: "Boots",
    strength: "8",
    dexterity: "4",
    defense: "6",
    speed: "4",
  },
  {
    legend_id: 67,
    legend_name_key: "priya",
    bio_name: "Priya",
    bio_aka: "The Radiant Blade",
    weapon_one: "Chakram",
    weapon_two: "Sword",
    strength: "4",
    dexterity: "6",
    defense: "5",
    speed: "7",
  },
];
