local _, ns = ...

-- Imported from local HandyNotes_MapNotes_Instances data to avoid runtime dependency.
-- Coordinates are zone percentages (0-100) for instance entrances.
ns.staticInstanceWaypoints = ns.staticInstanceWaypoints or {
  { name = "Ahn'kahet: The Old Kingdom", type = "Dungeon", mapID = 115, x = 28.4, y = 51.7 },
  { name = "Algeth'ar Academy", type = "Dungeon", mapID = 2025, x = 58.3, y = 42.4 },
  { name = "Ara-Kara, City of Echoes", type = "Dungeon", mapID = 2274, x = 44.3, y = 83.7 },
  { name = "Arena der Leerennarbe", type = "Dungeon", mapID = 2444, x = 53.6, y = 33.4 },
  { name = "Assault on Violet Hold", type = "Dungeon", mapID = 627, x = 65.6, y = 67.4 },
  { name = "Atal'Dazar", type = "Dungeon", mapID = 862, x = 43.5, y = 39.5 },
  { name = "Auchenai Crypts", type = "Dungeon", mapID = 108, x = 34.7, y = 65.6 },
  { name = "Auchindoun", type = "Dungeon", mapID = 535, x = 46.3, y = 73.9 },
  { name = "Azjol-Nerub", type = "Dungeon", mapID = 115, x = 26.0, y = 50.8 },
  { name = "Black Rook Hold", type = "Dungeon", mapID = 641, x = 37.2, y = 50.3 },
  { name = "Blackfathom Deeps", type = "Dungeon", mapID = 77, x = 15.1, y = 76.6 },
  { name = "Blackmaul Slag Mines", type = "Dungeon", mapID = 525, x = 49.9, y = 24.8 },
  { name = "Blackrock Caverns", type = "Dungeon", mapID = 34, x = 71.2, y = 53.4 },
  { name = "Blackrock Depths", type = "Dungeon", mapID = 35, x = 39.3, y = 18.2 },
  { name = "Brackenhide Hollow", type = "Dungeon", mapID = 2024, x = 11.5, y = 48.9 },
  { name = "Cathedral of Eternal Night", type = "Dungeon", mapID = 646, x = 64.8, y = 16.8 },
  { name = "Cinderbrew Meadery", type = "Dungeon", mapID = 2274, x = 84.4, y = 20.6 },
  { name = "City of Threads", type = "Dungeon", mapID = 2274, x = 43.3, y = 79.8 },
  { name = "Court of Stars", type = "Dungeon", mapID = 680, x = 50.8, y = 65.5 },
  { name = "Darkflame Cleft", type = "Dungeon", mapID = 2274, x = 57.8, y = 48.9 },
  { name = "Darkheart Thicket", type = "Dungeon", mapID = 641, x = 59.1, y = 31.4 },
  { name = "Das blendende Tal", type = "Dungeon", mapID = 2413, x = 26.5, y = 78.0 },
  { name = "Dawn of the Infinite", type = "Dungeon", mapID = 2025, x = 61.1, y = 84.5 },
  { name = "De Other Side", type = "Dungeon", mapID = 1565, x = 68.7, y = 66.6 },
  { name = "Deadmines", type = "Dungeon", mapID = 55, x = 24.7, y = 51.4 },
  { name = "Dire Maul - Capital Gardens", type = "Dungeon", mapID = 12, x = 42.7, y = 67.2 },
  { name = "Dire Maul - Gordok Commons - North", type = "Dungeon", mapID = 69, x = 62.5, y = 24.9 },
  { name = "Dire Maul - Warpwood Quarter", type = "Dungeon", mapID = 69, x = 15.6, y = 61.4 },
  { name = "Dire Maul - Warpwood Quarter - East above Camp Mojache", type = "Dungeon", mapID = 69, x = 65.5, y = 35.2 },
  { name = "Drak'Tharon Keep", type = "Dungeon", mapID = 121, x = 28.7, y = 86.9 },
  { name = "Eco-Dome Al'dani", type = "Dungeon", mapID = 2371, x = 65.2, y = 68.4 },
  { name = "End Time", type = "Dungeon", mapID = 75, x = 57.0, y = 25.8 },
  { name = "Eye of Azshara", type = "Dungeon", mapID = 630, x = 61.2, y = 41.1 },
  { name = "Freehold", type = "Dungeon", mapID = 895, x = 84.6, y = 78.8 },
  { name = "Gate of the Setting Sun", type = "Dungeon", mapID = 422, x = 75.8, y = 20.3 },
  { name = "Gnomeregan", type = "Dungeon", mapID = 469, x = 32.8, y = 37.0 },
  { name = "Grim Batol", type = "Dungeon", mapID = 241, x = 19.2, y = 54.1 },
  { name = "Grimrail Depot", type = "Dungeon", mapID = 543, x = 55.1, y = 31.7 },
  { name = "Gundrak", type = "Dungeon", mapID = 121, x = 80.9, y = 28.3 },
  { name = "Halls of Atonement", type = "Dungeon", mapID = 1525, x = 78.5, y = 49.1 },
  { name = "Halls of Infusion", type = "Dungeon", mapID = 2025, x = 59.2, y = 60.6 },
  { name = "Halls of Lightning", type = "Dungeon", mapID = 120, x = 45.3, y = 21.5 },
  { name = "Halls of Origination", type = "Dungeon", mapID = 249, x = 69.1, y = 52.8 },
  { name = "Halls of Reflection", type = "Dungeon", mapID = 118, x = 55.3, y = 90.8 },
  { name = "Halls of Stone", type = "Dungeon", mapID = 120, x = 39.6, y = 26.9 },
  { name = "Halls of Valor", type = "Dungeon", mapID = 634, x = 72.6, y = 70.5 },
  { name = "Hellfire Ramparts", type = "Dungeon", mapID = 100, x = 47.9, y = 53.4 },
  { name = "Hour of Twilight", type = "Dungeon", mapID = 75, x = 68.4, y = 29.5 },
  { name = "Iron Docks", type = "Dungeon", mapID = 543, x = 45.4, y = 13.5 },
  { name = "Kings' Rest", type = "Dungeon", mapID = 862, x = 37.6, y = 39.5 },
  { name = "Lost City of the Tol'vir", type = "Dungeon", mapID = 249, x = 60.5, y = 64.2 },
  { name = "Lower Blackrock Spire", type = "Dungeon", mapID = 33, x = 80.5, y = 41.9 },
  { name = "Magisters'Terrace", type = "Dungeon", mapID = 122, x = 61.0, y = 30.7 },
  { name = "Maisarakavernen", type = "Dungeon", mapID = 2437, x = 43.8, y = 39.5 },
  { name = "Mana Tombs", type = "Dungeon", mapID = 108, x = 39.6, y = 58.1 },
  { name = "Maraudon Foulspore Cavern", type = "Dungeon", mapID = 68, x = 52.1, y = 24.2 },
  { name = "Maw of Souls", type = "Dungeon", mapID = 634, x = 52.5, y = 45.4 },
  { name = "Mists of Tirna Scithe", type = "Dungeon", mapID = 1565, x = 35.5, y = 54.1 },
  { name = "Mogu'shan Palace", type = "Dungeon", mapID = 371, x = 14.5, y = 48.6 },
  { name = "Mordergasse", type = "Dungeon", mapID = 13, x = 57.6, y = 13.4 },
  { name = "Nalorakks Bau", type = "Dungeon", mapID = 2437, x = 29.8, y = 84.5 },
  { name = "Neltharion's Lair", type = "Dungeon", mapID = 650, x = 49.6, y = 68.5 },
  { name = "Neltharus", type = "Dungeon", mapID = 2022, x = 25.7, y = 56.3 },
  { name = "Nexuspunkt Xenas", type = "Dungeon", mapID = 2405, x = 65.0, y = 61.8 },
  { name = "Old Hillsbrad Foothills", type = "Dungeon", mapID = 75, x = 26.3, y = 32.8 },
  { name = "Operation: Floodgate", type = "Dungeon", mapID = 2274, x = 52.7, y = 55.6 },
  { name = "Operation: Mechagon", type = "Dungeon", mapID = 1462, x = 72.9, y = 36.5 },
  { name = "Pit of Saron", type = "Dungeon", mapID = 118, x = 54.7, y = 91.7 },
  { name = "Plaguefall", type = "Dungeon", mapID = 1536, x = 59.4, y = 65.0 },
  { name = "Priory of the Sacred Flame", type = "Dungeon", mapID = 2274, x = 35.1, y = 52.9 },
  { name = "Ragefire", type = "Dungeon", mapID = 86, x = 51.7, y = 58.5 },
  { name = "Razorfen Downs", type = "Dungeon", mapID = 64, x = 41.7, y = 28.8 },
  { name = "Razorfen Kraul", type = "Dungeon", mapID = 199, x = 40.8, y = 94.5 },
  { name = "Return to Karazhan", type = "Dungeon", mapID = 42, x = 46.9, y = 69.8 },
  { name = "Ruby Life Pools", type = "Dungeon", mapID = 2022, x = 60.1, y = 75.7 },
  { name = "Sanguine Depths", type = "Dungeon", mapID = 1525, x = 51.1, y = 30.1 },
  { name = "Scarlet Halls", type = "Dungeon", mapID = 19, x = 79.1, y = 61.2 },
  { name = "Scarlet Monastery", type = "Dungeon", mapID = 19, x = 68.1, y = 20.6 },
  { name = "Scholomance", type = "Dungeon", mapID = 22, x = 69.8, y = 73.6 },
  { name = "Seat of the Triumvirate", type = "Dungeon", mapID = 882, x = 22.2, y = 56.6 },
  { name = "Sethekk Halls", type = "Dungeon", mapID = 108, x = 44.6, y = 65.6 },
  { name = "Shado-Pan Monastery", type = "Dungeon", mapID = 379, x = 36.7, y = 47.5 },
  { name = "Shadow Labyrinth", type = "Dungeon", mapID = 108, x = 39.6, y = 73.2 },
  { name = "Shadowfang Keep", type = "Dungeon", mapID = 21, x = 44.9, y = 67.9 },
  { name = "Shadowmoon Burial Grounds", type = "Dungeon", mapID = 539, x = 31.9, y = 42.5 },
  { name = "Shrine of Storms", type = "Dungeon", mapID = 942, x = 78.6, y = 26.6 },
  { name = "Siege of Boralus", type = "Dungeon", mapID = 895, x = 88.3, y = 51.0 },
  { name = "Siege of Niuzao Temple", type = "Dungeon", mapID = 388, x = 34.7, y = 81.5 },
  { name = "Skyreach", type = "Dungeon", mapID = 542, x = 35.6, y = 33.6 },
  { name = "Spires of Ascension", type = "Dungeon", mapID = 1533, x = 58.5, y = 28.6 },
  { name = "Stormstout Brewery", type = "Dungeon", mapID = 376, x = 36.1, y = 69.1 },
  { name = "Stratholme Service Entrance", type = "Dungeon", mapID = 23, x = 43.2, y = 18.5 },
  { name = "Tazavesh, the Veiled Market", type = "Dungeon", mapID = 2371, x = 63.6, y = 70.2 },
  { name = "Temple of Sethraliss", type = "Dungeon", mapID = 864, x = 51.9, y = 25.5 },
  { name = "Temple of the Jade Serpent", type = "Dungeon", mapID = 371, x = 56.2, y = 57.9 },
  { name = "Terrasse der Magister", type = "Dungeon", mapID = 2424, x = 63.5, y = 15.4 },
  { name = "The Arcatraz", type = "Dungeon", mapID = 109, x = 74.4, y = 57.7 },
  { name = "The Arcway", type = "Dungeon", mapID = 680, x = 41.2, y = 61.5 },
  { name = "The Azure Vault", type = "Dungeon", mapID = 2024, x = 38.9, y = 64.6 },
  { name = "The Black Morass", type = "Dungeon", mapID = 75, x = 34.4, y = 84.9 },
  { name = "The Blood Furnace", type = "Dungeon", mapID = 100, x = 46.0, y = 51.8 },
  { name = "The Botanica", type = "Dungeon", mapID = 109, x = 71.7, y = 55.1 },
  { name = "The Culling of Stratholme", type = "Dungeon", mapID = 75, x = 60.1, y = 82.7 },
  { name = "The Dawnbreaker", type = "Dungeon", mapID = 2274, x = 40.5, y = 58.0 },
  { name = "The Everbloom", type = "Dungeon", mapID = 543, x = 59.6, y = 45.7 },
  { name = "The Forge of Souls", type = "Dungeon", mapID = 118, x = 54.8, y = 89.8 },
  { name = "The Mechanar", type = "Dungeon", mapID = 109, x = 70.5, y = 69.6 },
  { name = "The Motherlode", type = "Dungeon", mapID = 862, x = 56.1, y = 59.8 },
  { name = "The Necrotic Wake", type = "Dungeon", mapID = 1533, x = 40.1, y = 55.2 },
  { name = "The Nexus", type = "Dungeon", mapID = 114, x = 28.6, y = 27.7 },
  { name = "The Nokhud Offensive", type = "Dungeon", mapID = 2023, x = 60.8, y = 39.0 },
  { name = "The Oculus", type = "Dungeon", mapID = 114, x = 26.6, y = 27.5 },
  { name = "The Rookery", type = "Dungeon", mapID = 2274, x = 70.3, y = 19.1 },
  { name = "The Shattered Halls", type = "Dungeon", mapID = 100, x = 48.1, y = 51.9 },
  { name = "The Slave Pens", type = "Dungeon", mapID = 102, x = 49.0, y = 35.9 },
  { name = "The Steamvault", type = "Dungeon", mapID = 102, x = 50.5, y = 33.3 },
  { name = "The Stockade", type = "Dungeon", mapID = 84, x = 51.2, y = 67.8 },
  { name = "The Stonecore", type = "Dungeon", mapID = 207, x = 47.4, y = 52.0 },
  { name = "The Stonevault", type = "Dungeon", mapID = 2274, x = 53.0, y = 44.0 },
  { name = "The Temple of Atal'hakkar", type = "Dungeon", mapID = 51, x = 69.7, y = 53.5 },
  { name = "The Underbog", type = "Dungeon", mapID = 102, x = 54.2, y = 34.4 },
  { name = "The Underrot", type = "Dungeon", mapID = 863, x = 51.2, y = 64.6 },
  { name = "The Violet Hold", type = "Dungeon", mapID = 127, x = 34.1, y = 44.1 },
  { name = "The Vortex Pinnacle", type = "Dungeon", mapID = 249, x = 76.7, y = 84.3 },
  { name = "Theater of Pain", type = "Dungeon", mapID = 1536, x = 53.1, y = 52.9 },
  { name = "Throne of the Tides", type = "Dungeon", mapID = 203, x = 48.2, y = 40.4 },
  { name = "Tol Dagor", type = "Dungeon", mapID = 1169, x = 38.9, y = 69.8 },
  { name = "Trial of the Champion", type = "Dungeon", mapID = 120, x = 14.8, y = 34.3 },
  { name = "Uldaman", type = "Dungeon", mapID = 48, x = 43.5, y = 87.0 },
  { name = "Uldaman: Legacy of Tyr", type = "Dungeon", mapID = 15, x = 41.1, y = 10.3 },
  { name = "Upper Blackrock Spire", type = "Dungeon", mapID = 33, x = 79.0, y = 33.8 },
  { name = "Utgarde Keep", type = "Dungeon", mapID = 117, x = 57.9, y = 49.5 },
  { name = "Utgarde Pinnacle", type = "Dungeon", mapID = 117, x = 57.2, y = 46.5 },
  { name = "Vault of the Wardens", type = "Dungeon", mapID = 630, x = 48.1, y = 82.1 },
  { name = "Wailing Caverns", type = "Dungeon", mapID = 11, x = 54.9, y = 66.5 },
  { name = "Waycrest Manor", type = "Dungeon", mapID = 896, x = 33.7, y = 12.5 },
  { name = "Well of Eternity", type = "Dungeon", mapID = 75, x = 22.1, y = 63.8 },
  { name = "Windlauferturm", type = "Dungeon", mapID = 2395, x = 35.5, y = 78.8 },
  { name = "Zul'Aman", type = "Dungeon", mapID = 95, x = 82.0, y = 64.3 },
  { name = "Zul'Farrak", type = "Dungeon", mapID = 71, x = 39.5, y = 22.1 },
  { name = "Zul'gurub", type = "Dungeon", mapID = 50, x = 72.1, y = 32.9 },
  { name = "Aberrus, the Shadowed Crucible", type = "Raid", mapID = 2133, x = 48.5, y = 11.9 },
  { name = "Amirdrassil, the Dream's Hope", type = "Raid", mapID = 2023, x = 18.9, y = 51.2 },
  { name = "Antorus, the Burning Throne", type = "Raid", mapID = 885, x = 54.8, y = 62.5 },
  { name = "Baradin Hold", type = "Raid", mapID = 244, x = 46.0, y = 47.9 },
  { name = "Bastion of Twilight", type = "Raid", mapID = 241, x = 34.1, y = 77.9 },
  { name = "Battle of Dazar'alor", type = "Raid", mapID = 862, x = 54.3, y = 29.9 },
  { name = "Black Temple", type = "Raid", mapID = 104, x = 71.0, y = 46.3 },
  { name = "Blackrock Foundry", type = "Raid", mapID = 543, x = 51.6, y = 27.2 },
  { name = "Blackwing Descent", type = "Raid", mapID = 36, x = 23.1, y = 26.4 },
  { name = "Blackwing Lair", type = "Raid", mapID = 33, x = 64.0, y = 71.5 },
  { name = "Castle Nathria", type = "Raid", mapID = 1525, x = 46.4, y = 41.5 },
  { name = "Crucible of Storms", type = "Raid", mapID = 942, x = 83.9, y = 46.9 },
  { name = "Der Traumriss", type = "Raid", mapID = 2413, x = 61.4, y = 62.9 },
  { name = "Dragon Soul", type = "Raid", mapID = 75, x = 60.9, y = 21.1 },
  { name = "Firelands", type = "Raid", mapID = 198, x = 46.8, y = 78.4 },
  { name = "Heart of Fear", type = "Raid", mapID = 422, x = 38.9, y = 35.0 },
  { name = "Hellfire Citadel", type = "Raid", mapID = 534, x = 47.0, y = 52.6 },
  { name = "Highmaul", type = "Raid", mapID = 550, x = 33.0, y = 38.4 },
  { name = "Karazhan", type = "Raid", mapID = 42, x = 47.0, y = 74.9 },
  { name = "Leerenspitze", type = "Raid", mapID = 2405, x = 45.2, y = 64.8 },
  { name = "Liberation of Undermine", type = "Raid", mapID = 2346, x = 42.0, y = 50.3 },
  { name = "Magtheridon's Lair", type = "Raid", mapID = 100, x = 46.6, y = 52.8 },
  { name = "Manaforge Omega", type = "Raid", mapID = 2371, x = 41.7, y = 21.5 },
  { name = "Marsch auf Quel'Danas", type = "Raid", mapID = 2424, x = 52.6, y = 85.3 },
  { name = "Mogu'Shan Vaults", type = "Raid", mapID = 379, x = 59.6, y = 39.2 },
  { name = "Molten Core", type = "Raid", mapID = 35, x = 53.8, y = 81.3 },
  { name = "Naxxramas", type = "Raid", mapID = 115, x = 87.3, y = 51.0 },
  { name = "Nerub-ar Palace", type = "Raid", mapID = 2213, x = 35.0, y = 72.4 },
  { name = "Ny'alotha, The Waking City", type = "Raid", mapID = 249, x = 55.2, y = 44.0 },
  { name = "Onyxias Lair", type = "Raid", mapID = 70, x = 52.2, y = 75.9 },
  { name = "Ruins of Ahn'Qiraj", type = "Raid", mapID = 327, x = 58.9, y = 14.2 },
  { name = "Sanctum of Domination", type = "Raid", mapID = 1543, x = 69.7, y = 32.0 },
  { name = "Sepulcher of the First Ones", type = "Raid", mapID = 1970, x = 80.5, y = 53.4 },
  { name = "Serpentshrine Cavern", type = "Raid", mapID = 102, x = 51.9, y = 33.5 },
  { name = "Siege of Orgrimmar", type = "Raid", mapID = 1530, x = 72.7, y = 42.1 },
  { name = "Sunwell Plateau", type = "Raid", mapID = 122, x = 44.3, y = 45.6 },
  { name = "Temple of Ahn'Qiraj", type = "Raid", mapID = 327, x = 46.8, y = 7.5 },
  { name = "Terrace of Endless Spring", type = "Raid", mapID = 433, x = 48.5, y = 61.5 },
  { name = "The Battle of Mount Hyjal", type = "Raid", mapID = 75, x = 39.6, y = 17.0 },
  { name = "The Emerald Nightmare", type = "Raid", mapID = 641, x = 56.7, y = 37.5 },
  { name = "The Eternal Palace", type = "Raid", mapID = 1528, x = 47.4, y = 31.8 },
  { name = "The Eye", type = "Raid", mapID = 109, x = 73.6, y = 63.7 },
  { name = "The Eye of Eternity", type = "Raid", mapID = 114, x = 27.5, y = 26.7 },
  { name = "The Nighthold", type = "Raid", mapID = 680, x = 44.1, y = 59.8 },
  { name = "The Obsidian Sanctum", type = "Raid", mapID = 115, x = 60.0, y = 57.0 },
  { name = "The Ruby Sanctum", type = "Raid", mapID = 115, x = 61.3, y = 52.6 },
  { name = "Throne of the Four Winds", type = "Raid", mapID = 249, x = 37.0, y = 81.4 },
  { name = "Throne of Thunder", type = "Raid", mapID = 504, x = 63.8, y = 32.0 },
  { name = "TIcecrown Citadel", type = "Raid", mapID = 118, x = 53.8, y = 87.1 },
  { name = "Tomb of Sargeras", type = "Raid", mapID = 646, x = 64.0, y = 21.4 },
  { name = "Trial of the Crusader", type = "Raid", mapID = 120, x = 15.6, y = 35.5 },
  { name = "Trial of Valor", type = "Raid", mapID = 634, x = 71.1, y = 72.8 },
  { name = "Uldir", type = "Raid", mapID = 863, x = 54.1, y = 63.0 },
  { name = "Ulduar", type = "Raid", mapID = 120, x = 41.6, y = 17.8 },
  { name = "Vault of Archavon", type = "Raid", mapID = 123, x = 50.0, y = 11.7 },
  { name = "Vault of the Incarnates", type = "Raid", mapID = 2025, x = 74.8, y = 55.1 },

  -- BEGIN MIDNIGHT IMPORT (auto-generated)
  { name = "Den of Nalorakk", type = "Dungeon", mapID = 2537, x = 38.0, y = 89.5 },
  { name = "Magisters' Terrace", type = "Dungeon", mapID = 2537, x = 29.2, y = 8.1 },
  { name = "Maisara Caverns", type = "Dungeon", mapID = 2537, x = 46.1, y = 63.5 },
  { name = "March on Quel'Danas", type = "Raid", mapID = 2537, x = 27.0, y = 22.6 },
  { name = "Murder Row", type = "Dungeon", mapID = 13, x = 57.6, y = 13.4 },
  { name = "Nexus-Point Xenas", type = "Dungeon", mapID = 2537, x = 56.1, y = 27.2 },
  { name = "The Blinding Vale", type = "Dungeon", mapID = 2537, x = 77.6, y = 24.1 },
  { name = "The Dreamrift", type = "Raid", mapID = 2537, x = 83.1, y = 19.3 },
  { name = "The Voidspire", type = "Raid", mapID = 2537, x = 52.8, y = 29.5 },
  { name = "Voidscar Arena", type = "Dungeon", mapID = 2537, x = 53.5, y = 12.6 },
  { name = "Windrunner Spire", type = "Dungeon", mapID = 2537, x = 17.8, y = 70.5 },
  -- END MIDNIGHT IMPORT
}
