-- ProfessionGuides/Epochs.lua
local PT = AhUI
if not PT then return end

PT.ProfessionGuides_Epochs = PT.ProfessionGuides_Epochs or {}
local E = PT.ProfessionGuides_Epochs
local L = PT.L

E.professionsOrder = {
    "Alchemy",
    "Blacksmithing",
    -- "Enchanting",
    "Engineering",
    "Inscription",
    "Jewelcrafting",
    "Leatherworking",
    "Tailoring",
	"Cooking",
}

E.Alchemy = {
    -- порядок эпох в UI
    order = {
        2485, -- Classic
        2484, -- Outland
        2483, -- Northrend
        2482, -- Cataclysm
        2481, -- Pandaria
        2480, -- Draenor
        2479, -- Legion
        2478, -- BFA
        2750, -- Shadowlands
        2823, -- Dragon Isles (DF)
        2871, -- Khaz Algar (TWW)
    },

    -- данные эпох
    data = {
        [2485] = { name = "Classic" },
        [2484] = { name = "The Burning Crusade" },
        [2483] = { name = "Wrath of the Lich King" },
        [2482] = { name = "Cataclysm" },
        [2481] = { name = "Mists of Pandaria" },
        [2480] = { name = "Warlords of Draenor" },
        [2479] = { name = "Legion" },
        [2478] = { name = "Battle For Azeroth" },
        [2750] = { name = "Shadowlands" },
        [2823] = { name = "Dragonflight" },
        [2871] = { name = "The War Within" },
    },
}

E.Blacksmithing = {
    -- порядок эпох в UI
    order = {
        2477, -- Classic
        2476, -- Outland
        2475, -- Northrend
        2474, -- Cataclysm
        2473, -- Pandaria
        2472, -- Draenor
        2454, -- Legion
        2437, -- Battle for Azeroth (Kul Tiran)
        2751, -- Shadowlands
        2822, -- Dragon Isles (DF)
        2872, -- Khaz Algar (TWW)
    },

    -- данные эпох
    data = {
        [2477] = { name = "Classic" },
        [2476] = { name = "The Burning Crusade" },
        [2475] = { name = "Wrath of the Lich King" },
        [2474] = { name = "Cataclysm" },
        [2473] = { name = "Mists of Pandaria" },
        [2472] = { name = "Warlords of Draenor" },
        [2454] = { name = "Legion" },
        [2437] = { name = "Battle For Azeroth" },
        [2751] = { name = "Shadowlands" },
        [2822] = { name = "Dragonflight" },
        [2872] = { name = "The War Within" },
    },
}

E.Tailoring = {
    order = {
        2540, -- Classic
        2539, -- Outland
        2538, -- Northrend
        2537, -- Cataclysm
        2536, -- Pandaria
        2535, -- Draenor
        2534, -- Legion
        2533, -- Battle for Azeroth (Kul Tiran, shared)
        2759, -- Shadowlands
        2831, -- Dragon Isles (DF)
        2883, -- Khaz Algar (TWW)
        --2918, -- Midnight
    },

    data = {
        [2540] = { name = "Classic" },
        [2539] = { name = "The Burning Crusade" },
        [2538] = { name = "Wrath of the Lich King" },
        [2537] = { name = "Cataclysm" },
        [2536] = { name = "Mists of Pandaria" },
        [2535] = { name = "Warlords of Draenor" },
        [2534] = { name = "Legion" },
        [2533] = { name = "Battle For Azeroth" },
        [2759] = { name = "Shadowlands" },
        [2831] = { name = "Dragonflight" },
        [2883] = { name = "The War Within" },
        --[2918] = { name = "Midnight" },
    },
}

E.Jewelcrafting = {
    order = {
        2524, -- Classic
        2523, -- Outland
        2522, -- Northrend
        2521, -- Cataclysm
        2520, -- Pandaria
        2519, -- Draenor
        2518, -- Legion
        2517, -- Battle for Azeroth (Kul Tiran, shared)
        2757, -- Shadowlands
        2829, -- Dragon Isles (DF)
        2879, -- Khaz Algar (TWW)
        --2914, -- Midnight ()
    },

    data = {
        [2524] = { name = "Classic" },
        [2523] = { name = "The Burning Crusade" },
        [2522] = { name = "Wrath of the Lich King" },
        [2521] = { name = "Cataclysm" },
        [2520] = { name = "Mists of Pandaria" },
        [2519] = { name = "Warlords of Draenor" },
        [2518] = { name = "Legion" },
        [2517] = { name = "Battle For Azeroth" },
        [2757] = { name = "Shadowlands" },
        [2829] = { name = "Dragonflight" },
        [2879] = { name = "The War Within" },
        --[2914] = { name = "Midnight" },
    },
}

E.Inscription = {
    order = {
        2514, -- Classic
        2513, -- Outland
        2512, -- Northrend
        2511, -- Cataclysm
        2510, -- Pandaria
        2509, -- Draenor
        2508, -- Legion
        2507, -- Battle for Azeroth (Kul Tiran)
        2756, -- Shadowlands
        2828, -- Dragon Isles (DF)
        2878, -- Khaz Algar (TWW)
        --2913, -- Midnight (future)
    },

    data = {
        [2514] = { name = "Classic" },
        [2513] = { name = "The Burning Crusade" },
        [2512] = { name = "Wrath of the Lich King" },
        [2511] = { name = "Cataclysm" },
        [2510] = { name = "Mists of Pandaria" },
        [2509] = { name = "Warlords of Draenor" },
        [2508] = { name = "Legion" },
        [2507] = { name = "Battle For Azeroth" },
        [2756] = { name = "Shadowlands" },
        [2828] = { name = "Dragonflight" },
        [2878] = { name = "The War Within" },
        --[2913] = { name = "Midnight" },
    },
}

E.Leatherworking = {
    order = {
        2532, -- Classic
        2531, -- Outland
        2530, -- Northrend
        2529, -- Cataclysm
        2528, -- Pandaria
        2527, -- Draenor
        2526, -- Legion
        2525, -- Battle for Azeroth
        2758, -- Shadowlands
        2830, -- Dragon Isles (DF)
        2880, -- Khaz Algar (TWW)
    },

    data = {
        [2532] = { name = "Classic" },
        [2531] = { name = "The Burning Crusade" },
        [2530] = { name = "Wrath of the Lich King" },
        [2529] = { name = "Cataclysm" },
        [2528] = { name = "Mists of Pandaria" },
        [2527] = { name = "Warlords of Draenor" },
        [2526] = { name = "Legion" },
        [2525] = { name = "Battle For Azeroth" },
        [2758] = { name = "Shadowlands" },
        [2830] = { name = "Dragonflight" },
        [2880] = { name = "The War Within" },
    },
}

E.Cooking = {
    order = {
        -- 2548, -- Classic
        -- 2547, -- The Burning Crusade
        -- 2546, -- Wrath of the Lich King
        -- 2545, -- Cataclysm
        2544, -- Mists of Pandaria
        2543, -- Warlords of Draenor
        --2542, -- Legion
        --2541, -- Battle For Azeroth (Kul Tiran)
        2752, -- Shadowlands
        2824, -- Dragon Isles (DF)
        2873, -- Khaz Algar (TWW)
        --2908, -- Midnight
    },


    data = {
        -- [2548] = { name = "Classic" },
        -- [2547] = { name = "The Burning Crusade" },
        -- [2546] = { name = "Wrath of the Lich King" },
        -- [2545] = { name = "Cataclysm" },

        [2544] = { name = "Mists of Pandaria" },
        [2543] = { name = "Warlords of Draenor" },
        --[2542] = { name = "Legion" },
        --[2541] = { name = "Battle For Azeroth" },
        [2752] = { name = "Shadowlands" },
        [2824] = { name = "Dragonflight" },
        [2873] = { name = "The War Within" },
        -- [2908] = { name = "Midnight" },
    },
}

E.Engineering = {
    order = {
        2506, -- Classic
        2505, -- Outland
        2504, -- Northrend
        2503, -- Cataclysm
        2502, -- Pandaria
        2501, -- Draenor
        2500, -- Legion
        2499, -- Battle for Azeroth
        2755, -- Shadowlands
        2827, -- Dragon Isles
        2875, -- The War Within
        --2910, -- Midnight
    },

    data = {
        [2506] = { name = "Classic" },
        [2505] = { name = "The Burning Crusade" },
        [2504] = { name = "Wrath of the Lich King" },
        [2503] = { name = "Cataclysm" },
        [2502] = { name = "Mists of Pandaria" },
        [2501] = { name = "Warlords of Draenor" },
        [2500] = { name = "Legion" },
        [2499] = { name = "Battle For Azeroth" },
        [2755] = { name = "Shadowlands" },
        [2827] = { name = "Dragonflight" },
        [2875] = { name = "The War Within" },
        --[2910] = { name = "Midnight" },
    },
}
