Widget:Test2
<!DOCTYPE html> <html lang="pt-BR">
<head>
<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Seleção e Exibição de Imagens</title> <style> .d-flex { display: flex; justify-content: center; align-items: center; flex-direction: column; margin-top: -15px; /* Ajuste este valor conforme necessário para subir o botão */ }
.hidden { display: none; }
.image-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 5px; }
.image-container .image-item { flex: 1 0 30%; text-align: center; }
.image-container img {
object-fit: cover; /* Mantém a proporção da imagem, cortando se necessário */ margin-bottom: 5px;
}
.image-info { margin-top: 5px; }
select, input[type="text"], button { margin: 5px; }
#filterButton, #searchButton { background: none; /* Remove o fundo do botão */ border: none; /* Remove a borda do botão */ padding: 0; /* Remove o padding do botão */ cursor: pointer; /* Mostra o cursor de ponteiro ao passar sobre o botão */ margin-top: 5px; /* Ajuste a margem superior para subir o botão */ }
#filterButton img, #searchButton img { border-radius: 12px; width: auto; /* Garante que a largura se ajuste ao tamanho original da imagem */ height: auto; /* Garante que a altura se ajuste ao tamanho original da imagem */ }
.mw-body-content { display: flex; }
.mw-parser-output { display: inline-block; padding: .5rem 2rem; margin: 0 auto; border: 30px solid transparent; border-image: url(https://wiki.pokexgames.com/images/3/37/Calculadora-de-Boost.png) 38; min-width: 340px; min-height: 270px; }
.input-group { position: relative; margin: 20px 0; /* Ajuste a margem para mover o campo para cima */ }
.input-group label { position: absolute; top: -18px; /* Eleva o texto para cima */ background: none; padding: 0 5px; font-size: 14px; font-weight: bold; color: #0d0d0d; }
.maps__select { width: 100%; /* Mantém a largura total disponível */ padding: 10px; font-size: 16px; border-radius: 5px; border: 1px solid #ccc; appearance: none; background-color: #fff; /* Adiciona um fundo branco */ box-sizing: border-box; /* Inclui o padding e a borda na largura total */ }
.input-group input[type="text"] { width: 100%; /* Mantém a largura total disponível */ padding: 10px; font-size: 16px; border-radius: 5px; border: 1px solid #ccc; box-sizing: border-box; /* Inclui o padding e a borda na largura total */ }
.maps__label { position: absolute; top: -18px; /* Eleva o texto um pouco mais para cima */ background: none; padding: 0 5px; font-size: 14px; font-weight: bold; /* Deixa o texto em negrito */ color: #0d0d0d; }
.hover-minimize:hover { transform: scale(0.95); /* Adiciona um efeito de minimizar ao passar o mouse */ }
.filter-container { display: flex; align-items: center;
}
.filter-container input[type="checkbox"] { margin: 0; padding: 0; width: auto; /* Ajusta o tamanho da checkbox conforme necessário */ height: auto; /* Ajusta o tamanho da checkbox conforme necessário */ /* Alinha verticalmente a checkbox com o texto */ vertical-align: middle; }
.filter-label { margin-left: 10px; /* Espaço entre a checkbox e o texto */ font-size: 14px; font-weight: bold; color: #0d0d0d; line-height: 1.5; /* Ajusta a altura da linha para um alinhamento adequado */ } </style>
</head> <body>
<form id="mapForm">
<select id="mapType" class="maps__select"> <option value="">Selecione um mapa</option> <option value="1">Mapa Vermelho</option> <option value="2">Mapa Verde</option> <option value="3">Mapa Roxo</option> </select> <label class="maps__label" for="mapType">Tipo de Mapa</label>
<select id="specificOption" class="maps__select"> <option value="">Selecione uma opção</option> <option value="Areia">Areia</option> <option value="Gelo">Gelo</option> <option value="Grama">Grama</option> <option value="Pedra">Pedra</option> <option value="Subaquático">Subaquático</option> <option value="Terra">Terra</option> <option value="Pisos">Pisos</option> </select> <label class="maps__label" for="specificOption">Local do X</label>
<input type="checkbox" id="enableFilter"> <label for="enableFilter" class="filter-label">Ativar filtro</label>
<label for="filterOption" class="maps__label">Filtrar Por</label> <select id="filterOption" class="maps__select"> <option value="">Escolha uma Opção</option> <option value="number">Filtrar por Número</option> <option value="tag">Filtrar por Tag</option> </select> <input type="text" id="searchIds" placeholder="Digite os números ou tags separados por vírgula" class="mapsCalc__select">
<button type="button" id="filterButton" class="hover-minimize"> <img src="https://wiki.pokexgames.com/images/8/82/Botao_Filtrar_Mapas_Adv.png" alt="Imagem botão filtrar"> </button>
</form>
<script>
const specificOptions = { 1: { 'Areia': [ { id: '101', local: 'Green Island', coordinates: '3780, 3326, 7',tags:['Areia','Água','Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/4/4c/Mapas_de_ADV_VERMELHO_-_3780%2C_3326%2C_7.webp' }, { id: '102', local: 'Wildwind Island', coordinates: '3969, 3300, 7',tags:['Areia','Terra','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/5/58/Mapas_de_ADV_VERMELHO_-_3969%2C_3300%2C_7.webp' }, { id: '103', local: 'Wildwind Island', coordinates: '4002, 3320, 7',tags:['Areia','Árvore','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/0/07/Mapas_de_ADV_VERMELHO_-_4002%2C_3320%2C_7.webp' }, { id: '104', local: 'Saffron', coordinates: '4009, 3601, 7',tags:['Areia','Árvore','Terra','Água'], imageUrl: 'https://wiki.pokexgames.com/images/f/f5/Mapas_de_ADV_VERMELHO_-_4009%2C_3601%2C_7.webp' }, { id: '105', local: 'Hurricane Island', coordinates: '4166, 3302, 7',tags:['Areia','Árvore','Água'], imageUrl: 'https://wiki.pokexgames.com/images/0/0d/Mapas_de_ADV_VERMELHO_-_4166%2C_3302%2C_7.webp' }, { id: '106', local: 'Shell Island', coordinates: '4266, 3359, 7',tags:['Areia','Água'], imageUrl: 'https://wiki.pokexgames.com/images/b/b1/Mapas_de_ADV_VERMELHO_-_4266%2C_3359%2C_7.webp' }, { id: '107', local: 'Shell Island', coordinates: '4299, 3333, 6',tags:['Areia','Água','Terra','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/c/c4/Mapas_de_ADV_VERMELHO_-_4299%2C_3333%2C_6.webp' }, { id: '108', local: 'Shell Island', coordinates: '4342, 3311, 6',tags:['Areia','Água','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/8/86/Mapas_de_ADV_VERMELHO_-_4342%2C_3311%2C_6.webp' }, { id: '109', local: 'Tropical Island', coordinates: '4360, 3927, 7',tags:['Areia','Água','Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/9/91/Mapas_de_ADV_VERMELHO_-_4360%2C_3927%2C_7.webp' }, { id: '110', local: 'Tropical Island', coordinates: '4393, 3893, 7',tags:['Areia','Água'], imageUrl: 'https://wiki.pokexgames.com/images/8/8c/Mapas_de_ADV_VERMELHO_-_4393%2C_3893%2C_7.webp' }, { id: '111', local: 'Tropical Island', coordinates: '4404, 3819, 4',tags:['Areia','Água','Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/e/ec/Mapas_de_ADV_VERMELHO_-_4404%2C_3819%2C_4.webp' }, { id: '112', local: 'Power Plant', coordinates: '4434, 3503, 7',tags:['Areia','Pedra','Grama','Água'], imageUrl: 'https://wiki.pokexgames.com/images/2/2a/Mapas_de_ADV_VERMELHO_-_4434%2C_3503%2C_7.webp' }, { id: '113', local: 'Tropical Island', coordinates: '4442, 3894, 7',tags:['Areia','Grama','Terra'], imageUrl: 'https://wiki.pokexgames.com/images/6/65/Mapas_de_ADV_VERMELHO_-_4442%2C_3894%2C_7.webp' }, { id: '114', local: 'Dark Light Island', coordinates: '4699, 3495, 7',tags:['Areia','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/f/f0/Mapas_de_ADV_VERMELHO_-_4699%2C_3495%2C_7.webp' }, ], 'Gelo': [ { id: '201', local: ' test', coordinates: '3780, 3326, 7',tags:['teste','testes'], imageUrl: 'https://wiki.pokexgames.com/images/d/db/3780%2C_3326%2C_7.png' }, ], 'Grama': [ { id: '301', local: 'Charicific Valley', coordinates: '3508, 3208, 6',tags:['Grama','Árvore','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/4/46/Mapas_de_ADV_VERMELHO_-_3508%2C_3208%2C_6.webp' }, { id: '302', local: 'Lightstorm Island', coordinates: '4637, 3333, 7',tags:['Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/8/89/Mapas_de_ADV_VERMELHO_-_4637%2C_3333%2C_7.webp' }, { id: '303', local: 'Charicific Valley', coordinates: '3623, 3301, 7',tags:['Grama','Árvore','Terra'], imageUrl: 'https://wiki.pokexgames.com/images/4/44/Mapas_de_ADV_VERMELHO_-_3623%2C_3301%2C_7.webp' }, { id: '304', local: 'Pewter', coordinates: '3645, 3504, 6',tags:['Grama','Árvore','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/5/59/Mapas_de_ADV_VERMELHO_-_3645%2C_3504%2C_6.webp' }, { id: '305', local: 'Charicific Valley', coordinates: '3652, 3189, 4',tags:['Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/8/87/Mapas_de_ADV_VERMELHO_-_3652%2C_3189%2C_4.webp' }, { id: '306', local: 'Pewter', coordinates: '3748, 3564, 7',tags:['Grama','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/1/1b/Mapas_de_ADV_VERMELHO_-_3748%2C_3564%2C_7.webp' }, { id: '307', local: 'Mt. Moon', coordinates: '3768, 3499, 5',tags:['Grama','Árvore','Terra'], imageUrl: 'https://wiki.pokexgames.com/images/1/13/Mapas_de_ADV_VERMELHO_-_3768%2C_3499%2C_5.webp' }, { id: '308', local: 'Green Island', coordinates: '3847, 3348, 7',tags:['Grama','Terra','Árvore', 'Areia'], imageUrl: 'https://wiki.pokexgames.com/images/1/12/Mapas_de_ADV_VERMELHO_-_3847%2C_3348%2C_7.webp' }, { id: '309', local: 'Cerulean Swamp', coordinates: '3900, 3529, 6',tags:['Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/6/6e/Mapas_de_ADV_VERMELHO_-_3900%2C_3529%2C_6.webp' }, { id: '310', local: 'Cerulean Swamp', coordinates: '3949, 3522, 8',tags:['Grama','Pedra','Terra'], imageUrl: 'https://wiki.pokexgames.com/images/6/65/Mapas_de_ADV_VERMELHO_-_3949%2C_3522%2C_8.webp' }, { id: '311', local: 'Wildwind Island', coordinates: '4054, 3277, 6',tags:['Grama','Terra','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/2/2f/Mapas_de_ADV_VERMELHO_-_4054%2C_3277%2C_6.webp' }, { id: '312', local: 'Saffron', coordinates: '4159, 3548, 7',tags:['Grama','Pedra','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/9/99/Mapas_de_ADV_VERMELHO_-_4159%2C_3548%2C_7.webp' }, { id: '313', local: 'Rock Tunnel', coordinates: '4267, 3457, 7',tags:['Grama','Árvore','Água'], imageUrl: 'https://wiki.pokexgames.com/images/e/ed/Mapas_de_ADV_VERMELHO_-_4267%2C_3457%2C_7.webp' }, { id: '314', local: 'Power Plant', coordinates: '4377, 3523, 7',tags:['Grama','Água','Construção'], imageUrl: 'https://wiki.pokexgames.com/images/0/05/Mapas_de_ADV_VERMELHO_-_4377%2C_3523%2C_7.webp' }, { id: '315', local: 'Power Plant', coordinates: '4398, 3508, 7',tags:['Grama','Terra','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/0/02/Mapas_de_ADV_VERMELHO_-_4398%2C_3508%2C_7.webp' }, { id: '316', local: 'Power Plant (Ilha próxima ao Aerodactyl)', coordinates: '4457, 3453, 7',tags:['Grama','Árvore','Água'], imageUrl: 'https://wiki.pokexgames.com/images/6/69/Mapas_de_ADV_VERMELHO_-_4457%2C_3453%2C_7.webp' }, { id: '317', local: 'Pewter', coordinates: '3611, 3440, 7',tags:['Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/7/7c/Mapas_de_ADV_VERMELHO_-_3611%2C_3440%2C_7.webp' }, ], 'Pedra': [ { id: '401', local: 'Pewter', coordinates: '3670, 3538, 7',tags:['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/7/7c/Mapas_de_ADV_VERMELHO_-_3670%2C_3538%2C_7.webp' }, { id: '402', local: 'Pewter', coordinates: '3732, 3546, 6',tags:['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/a/a9/Mapas_de_ADV_VERMELHO_-_3732%2C_3546%2C_6.webp' }, { id: '403', local: 'Mt. Moon', coordinates: '3851, 3490, 2',tags:['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/0/04/Mapas_de_ADV_VERMELHO_-_3851%2C_3490%2C_2.webp' }, { id: '404', local: 'Mt. Moon', coordinates: '3867, 3508, 7',tags:['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/3/38/Mapas_de_ADV_VERMELHO_-_3867%2C_3508%2C_7.webp' }, { id: '405', local: 'Rock Tunnel', coordinates: '4224, 3572, 6',tags:['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/3/31/Mapas_de_ADV_VERMELHO_-_4224%2C_3572%2C_6.webp' }, { id: '406', local: 'Power Plant (Caminho da Outland South)', coordinates: '4463, 3524, 8',tags:['Pedra','Piso','Construção'], imageUrl: 'https://wiki.pokexgames.com/images/9/99/Mapas_de_ADV_VERMELHO_-_4463%2C_3524%2C_8.webp' }, ], 'Subaquáticos': [ { id: '501', local: 'Pewter', coordinates: '3469, 3454, 8',tags:['Água','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/8/8e/Mapas_de_ADV_VERMELHO_-_3469%2C_3454%2C_8.webp' }, { id: '502', local: 'Pewter', coordinates: '3595, 3562, 8',tags:['Água'], imageUrl: 'https://wiki.pokexgames.com/images/d/d3/Mapas_de_ADV_VERMELHO_-_3595%2C_3562%2C_8.webp' }, { id: '503', local: 'Shell Island', coordinates: '4278, 3327, 7',tags:['Água','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/0/04/Mapas_de_ADV_VERMELHO_-_4278%2C_3327%2C_7.webp' }, { id: '504', local: 'Shell Island', coordinates: '4352, 3351, 7',tags:['Água','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/6/68/Mapas_de_ADV_VERMELHO_-_4352%2C_3351%2C_7.webp' }, ], 'Terra': [ { id: '601', local: 'Charicific Valley', coordinates: '3522, 3264, 5',tags:['Terra','Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/3/3b/Mapas_de_ADV_VERMELHO_-_3522%2C_3264%2C_5.webp' }, { id: '602', local: 'Charicific Valley', coordinates: '3561, 3256, 4',tags:['Terra','Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/9/99/Mapas_de_ADV_VERMELHO_-_3561%2C_3256%2C_4.webp' }, { id: '603', local: 'Pewter', coordinates: '3666, 3415, 7',tags:['Terra','Árvore','Água'], imageUrl: 'https://wiki.pokexgames.com/images/b/b3/Mapas_de_ADV_VERMELHO_-_3666%2C_3415%2C_7.webp' }, { id: '604', local: 'Hurricane Island', coordinates: '4135, 3305, 5',tags:['Terra','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/7/72/Mapas_de_ADV_VERMELHO_-_4135%2C_3305%2C_5.webp' }, { id: '605', local: 'Hurricane Island', coordinates: '4150, 3283, 4',tags:['Terra','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/b/b8/Mapas_de_ADV_VERMELHO_-_4150%2C_3283%2C_4.webp' }, { id: '606', local: 'Cubones Lair', coordinates: '4186, 3439, 7', tags:['Terra'], imageUrl: 'https://wiki.pokexgames.com/images/1/10/Mapas_de_ADV_VERMELHO_-_4186%2C_3439%2C_7.webp' }, { id: '607', local: 'Cerulean', coordinates: '4191, 3516, 7',tags:['Terra'], imageUrl: 'https://wiki.pokexgames.com/images/c/c7/Mapas_de_ADV_VERMELHO_-_4191%2C_3516%2C_7.webp' }, { id: '608', local: 'Lightstorm Island', coordinates: '4624, 3263, 6',tags:['Terra','Grama','Árvore','Construção'], imageUrl: 'https://wiki.pokexgames.com/images/0/09/Mapas_de_ADV_VERMELHO_-_4624%2C_3263%2C_6.webp' },
],
'Pisos':[ { id: '701', local: 'Pewter', coordinates: '3698, 3447, 8', tags:['Piso','Construção'], imageUrl: 'https://wiki.pokexgames.com/images/e/ea/Mapas_de_ADV_VERMELHO_-_3698%2C_3447%2C_8.webp' },
] }, 2: {
'Areia': [ { id: '1001', local: ' Outland Water', coordinates: '2847, 2827, 6', tags: ['Areia', 'Água', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/b/b9/Mapa_Verde_ADV_-_2847%2C_2827%2C_6.webp' },
{ id: '1002', local: ' Outland Water', coordinates: '2863, 2850, 6', tags: ['Areia', 'Grama', 'Pedra', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/c/c9/Mapa_Verde_ADV_-_2863%2C_2850%2C_6.webp' }, { id: '1003', local: ' Respawn de Baltoy', coordinates: '5575, 5658, 5', tags: ['Areia', 'Terra'], imageUrl: 'https://wiki.pokexgames.com/images/3/3f/Mapa_Verde_ADV_-_5575%2C_5658%2C_5.webp' }, { id: '1004', local: ' Respawn de Vibrava', coordinates: '5616, 5729, 7', tags: ['Areia', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/6/67/Mapa_Verde_ADV_-_5616%2C_5729%2C_7.webp' }, { id: '1005', local: ' Respawn de Flygon', coordinates: '5730, 5708, 7', tags: ['Areia'], imageUrl: 'https://wiki.pokexgames.com/images/6/6b/Mapa_Verde_ADV_-_5730%2C_5708%2C_7.webp' }, { id: '1006', local: ' Respawn de Pelipper', coordinates: '5814, 6111, 7', tags: ['Areia', 'Grama', 'Pedra', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/0/06/Mapa_Verde_ADV_-_5814%2C_6111%2C_7.webp' }, { id: '1007', local: ' Outland Psychic', coordinates: '2603, 2860, 7', tags: ['Areia', 'Construção'], imageUrl: 'https://wiki.pokexgames.com/images/1/15/Mapa_Verde_ADV_-_2603%2C_2860%2C_7.webp' }, { id: '1008', local: ' Respawn de Tropius', coordinates: '5345, 5808, 7', tags: ['Areia', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/8/86/Mapa_Verde_ADV_-_5345%2C_5808%2C_7.webp' },
], 'Gelo': [ { id: '2001', local: ' Outland Ice', coordinates: '2562, 3244, 6', tags: ['Gelo', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/4/40/Mapa_Verde_ADV_-_2562%2C_3244%2C_6.webp' },
{ id: '2002', local: ' Outland Ice', coordinates: '2670, 3318, 8', tags: ['Gelo', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/7/71/Mapa_Verde_ADV_-_2670%2C_3318%2C_8.webp' }, { id: '2003', local: ' Outland Ice', coordinates: '2695, 3286, 7', tags: ['Gelo', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/e/e5/Mapa_Verde_ADV_-_2695%2C_3286%2C_7.webp' }, { id: '2004', local: ' Outland Dragon', coordinates: '2710, 3287, 4', tags: ['Gelo', 'Árvore', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/9/94/Mapa_Verde_ADV_-_2710%2C_3287%2C_4.webp' }, { id: '2005', local: ' Respawn de Swellow', coordinates: '5047, 5744, 5', tags: ['Gelo', 'Piso'], imageUrl: 'https://wiki.pokexgames.com/images/7/7c/Mapa_Verde_ADV_-_5047%2C_5744%2C_5.webp' }, { id: '2006', local: ' Respawn de Walrein', coordinates: '5845, 5800, 7', tags: ['Gelo', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/9/93/Mapa_Verde_ADV_-_5845%2C_5800%2C_7.webp' }, { id: '2007', local: ' Respawn de Altaria', coordinates: '5051, 5854, 5', tags: ['Gelo', 'Piso', 'Construção'], imageUrl: 'https://wiki.pokexgames.com/images/e/ea/Mapa_Verde_ADV_-_5051%2C_5854%2C_5.webp' }, { id: '2008', local: ' Respawn de Shelgon', coordinates: '5340, 5697, 5', tags: ['Gelo', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/6/62/Mapa_Verde_ADV_-_5340%2C_5697%2C_5.webp' }, { id: '2009', local: ' Respawn de Froslass', coordinates: '5858, 5783, 6', tags: ['Gelo', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/8/8e/Mapa_Verde_ADV_-_5858%2C_5783%2C_6.webp' }, { id: '2010', local: ' Respawn de Glalie', coordinates: '5868, 5839, 8', tags: ['Gelo'], imageUrl: 'https://wiki.pokexgames.com/images/1/12/Mapa_Verde_ADV_-_5868%2C_5839%2C_8.webp' },
], 'Grama': [ { id: '3001', local: ' Outland Bug', coordinates: '2633, 3039, 7', tags: ['Grama', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/4/40/Mapa_Verde_ADV_-_2633%2C_3039%2C_7.webp' },
{ id: '3002', local: ' Outland Water', coordinates: '2654, 2810, 7', tags: ['Grama', 'Árvore', 'Água'], imageUrl: 'https://wiki.pokexgames.com/images/2/26/Mapa_Verde_ADV_-_2654%2C_2810%2C_7.webp' }, { id: '3003', local: ' Outland Grass', coordinates: '2863, 2879, 7', tags: ['Grama', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/8/8d/Mapa_Verde_ADV_-_2863%2C_2879%2C_7.webp' }, { id: '3004', local: ' Respawn de Nuzleaf', coordinates: '5355, 5962, 7', tags: ['Grama', 'Árvore', 'Água'], imageUrl: 'https://wiki.pokexgames.com/images/d/d8/Mapa_Verde_ADV_-_5355%2C_5962%2C_7.webp' }, { id: '3005', local: ' Respawn de Grovyle', coordinates: '5383, 5892, 6', tags: ['Grama', 'Árvore', 'Piso'], imageUrl: 'https://wiki.pokexgames.com/images/9/9c/Mapa_Verde_ADV_-_5383%2C_5892%2C_6.webp' }, { id: '3006', local: ' Respawn de Sceptile', coordinates: '5395, 5795, 6', tags: ['Grama', 'Árvore', 'Água'], imageUrl: 'https://wiki.pokexgames.com/images/d/de/Mapa_Verde_ADV_-_5395%2C_5795%2C_6.webp' }, { id: '3007', local: ' Respawn de Zangoose', coordinates: '5417, 5757, 7', tags: ['Grama', 'Árvore', 'Pedra', 'Água'], imageUrl: 'https://wiki.pokexgames.com/images/4/49/Mapa_Verde_ADV_-_5417%2C_5757%2C_7.webp' }, { id: '3008', local: ' Respawn de Exploud', coordinates: '5437, 5561, 5', tags: ['Grama', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/6/6c/Mapa_Verde_ADV_-_5437%2C_5561%2C_5.webp' }, { id: '3009', local: ' Respawn de Ludicolo', coordinates: '5463, 5838, 7', tags: ['Grama', 'Terra', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/c/c3/Mapa_Verde_ADV_-_5463%2C_5838%2C_7.webp' }, { id: '3010', local: ' Respawn de Wingull', coordinates: '5726, 6160, 7', tags: ['Grama', 'Areia', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/3/37/Mapa_Verde_ADV_-_5729%2C_6160%2C_7.webp' }, { id: '3011', local: ' Artificial Safari', coordinates: '5797, 5661, 7', tags: ['Grama', 'Árvore', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/3/3e/Mapa_Verde_ADV_-_5797%2C_5661%2C_7.webp' }, { id: '3012', local: ' Artificial Safari', coordinates: '5871, 5532, 7', tags: ['Grama', 'Árvore', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/b/b7/Mapa_Verde_ADV_-_5871%2C_5532%2C_7.webp' }, { id: '3013', local: ' Outland Bug', coordinates: '2694, 3034, 6', tags: ['Grama', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/0/04/Mapa_Verde_ADV_-_2694%2C_3034%2C_6.webp' }, { id: '3014', local: ' Outland Flying', coordinates: '2860, 3273, 5', tags: ['Grama', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/d/d2/Mapa_Verde_ADV_-_2860%2C_3273%2C_5.webp' }, { id: '3015', local: ' Outland Poison', coordinates: '2865, 2947, 7', tags: ['Grama', 'Árvore', 'Terra'], imageUrl: 'https://wiki.pokexgames.com/images/2/21/Mapa_Verde_ADV_-_2865%2C_2947%2C_7.webp' }, { id: '3016', local: ' Outland Poison', coordinates: '2892, 2897, 7', tags: ['Grama', 'Pedra', 'Terra', 'Pântano'], imageUrl: 'https://wiki.pokexgames.com/images/0/03/Mapa_Verde_ADV_-_2892%2C_2897%2C_7.webp' }, { id: '3017', local: ' Outland Normal', coordinates: '2906, 3183, 7', tags: ['Grama', 'Pedra', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/f/f8/Mapa_Verde_ADV_-_2906%2C_3183%2C_7.webp' }, { id: '3018', local: ' Outland Fairy', coordinates: '2907, 3127, 4', tags: ['Grama', 'Pedra', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/7/7a/Mapa_Verde_ADV_-_2907%2C_3127%2C_4.webp' }, { id: '3019', local: ' Outland Flying', coordinates: '2922, 3236, 5', tags: ['Grama', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/1/1f/Mapa_Verde_ADV_-_2922%2C_3236%2C_5.webp' },
], 'Pedra': [ { id: '4001', local: ' Outland Fire', coordinates: '2793, 3029, 7', tags: ['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/f/fc/Mapa_Verde_ADV_-_2793%2C_3029%2C_7.webp' },
{ id: '4002', local: ' Outland Water', coordinates: '2808, 2864, 7', tags: ['Pedra', 'Árvore', 'Areia'], imageUrl: 'https://wiki.pokexgames.com/images/0/0a/Mapa_Verde_ADV_-_2808%2C_2864%2C_7.webp' }, { id: '4003', local: ' Respawn de Hariyama', coordinates: '5368, 5779, 5', tags: ['Pedra', 'Construção'], imageUrl: 'https://wiki.pokexgames.com/images/4/45/Mapa_Verde_ADV_-_5368%2C_5779%2C_5.webp' }, { id: '4004', local: ' Respawn de Blaziken', coordinates: '5613, 5910, 4', tags: ['Pedra', 'Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/a/ab/Mapa_Verde_ADV_-_5613%2C_5910%2C_4.webp' }, { id: '4005', local: ' Respawn de Camerupt', coordinates: '5617, 5925, 5', tags: ['Pedra', 'Fogo', 'Terra'], imageUrl: 'https://wiki.pokexgames.com/images/a/a1/Mapa_Verde_ADV_-_5617%2C_5925%2C_5.webp' }, { id: '4006', local: ' Respawn de Claydol', coordinates: '5621, 5667, 5', tags: ['Pedra', 'Terra'], imageUrl: 'https://wiki.pokexgames.com/images/7/72/Mapa_Verde_ADV_-_5621%2C_5667%2C_5.webp' }, { id: '4007', local: ' Respawn de Torkoal', coordinates: '5650, 5914, 6', tags: ['Pedra', 'Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/c/c9/Mapa_Verde_ADV_-_5650%2C_5914%2C_6.webp' }, { id: '4008', local: ' Outland Water', coordinates: '2708, 2909, 9', tags: ['Pedra', 'Água'], imageUrl: 'https://wiki.pokexgames.com/images/f/f8/Mapa_Verde_ADV_-_2708%2C_2909%2C_9.webp' }, { id: '4009', local: ' Outland Water', coordinates: '2725, 2830, 9', tags: ['Pedra', 'Água'], imageUrl: 'https://wiki.pokexgames.com/images/e/ec/Mapa_Verde_ADV_-_2725%2C_2830%2C_9.webp' }, { id: '4010', local: ' Outland Flying', coordinates: '2787, 3308, 5', tags: ['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/2/20/Mapa_Verde_ADV_-_2787%2C_3308%2C_5.webp' }, { id: '4011', local: ' Outland Rock', coordinates: '2884, 3118, 6', tags: ['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/9/97/Mapa_Verde_ADV_-_2884%2C_3118%2C_6.webp' }, { id: '4012', local: ' Outland Fairy', coordinates: '2889, 3148, 7', tags: ['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/f/f8/Mapa_Verde_ADV_-_2889%2C_3148%2C_7.webp' }, { id: '4013', local: ' Outland Ghost', coordinates: '2899, 2931, 8', tags: ['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/a/a3/Mapa_Verde_ADV_-_2899%2C_2931%2C_8.webp' }, { id: '4014', local: ' Outland Rock', coordinates: '2923, 3074, 5', tags: ['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/a/af/Mapa_Verde_ADV_-_2923%2C_3074%2C_5.webp' }, { id: '4015', local: ' Outland Rock', coordinates: '3060, 3063, 6', tags: ['Pedra', 'Terra'], imageUrl: 'https://wiki.pokexgames.com/images/e/e0/Mapa_Verde_ADV_-_3060%2C_3063%2C_6.webp' }, { id: '4016', local: ' Caminho da Outland East', coordinates: '3786, 3979, 11', tags: ['Pedra', 'Terra', 'Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/c/c6/Mapa_Verde_ADV_-_3786%2C_3979%2C_11.webp' }, { id: '4017', local: ' Caminho da Outland East', coordinates: '3808, 3928, 11', tags: ['Pedra', 'Terra'], imageUrl: 'https://wiki.pokexgames.com/images/e/e7/Mapa_Verde_ADV_-_3808%2C_3928%2C_11.webp' }, { id: '4018', local: ' Respawn de Mawile', coordinates: '5375, 5661, 6', tags: ['Pedra', 'Piso'], imageUrl: 'https://wiki.pokexgames.com/images/8/82/Mapa_Verde_ADV_-_5375%2C_5661%2C_6.webp' }, { id: '4019', local: ' Respawn de Sableye', coordinates: '5462, 5553, 7', tags: ['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/c/ca/Mapa_Verde_ADV_-_5462%2C_5553%2C_7.webp' },
], 'Subaquáticos': [ { id: '5001', local: ' Caminho da Outland North', coordinates: '4204, 4404, 12', tags: ['Água', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/4/4b/Mapa_Verde_ADV_-_4204%2C_4404%2C_12.webp' },
{ id: '5002', local: ' Área subaquática próximo aos Zangoose', coordinates: '5425, 5747, 8', tags: ['Água', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/6/63/Mapa_Verde_ADV_-_5425%2C_5747%2C_8.webp' },
], 'Terra': [ { id: '6001', local: ' Outland Ground', coordinates: '2551, 3105, 7', tags: ['Terra', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/8/8d/Mapa_Verde_ADV_-_2551%2C_3105%2C_7.webp' },
{ id: '6002', local: ' Outland Bug', coordinates: '2720, 3039, 7', tags: ['Terra'], imageUrl: 'https://wiki.pokexgames.com/images/e/e7/Mapa_Verde_ADV_-_2720%2C_3039%2C_7.webp' }, { id: '6003', local: ' Outland Fire', coordinates: '2842, 3073, 6', tags: ['Terra', 'Pedra', 'Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/f/f1/Mapa_Verde_ADV_-_2842%2C_3073%2C_6.webp' }, { id: '6004', local: ' Outland Grass', coordinates: '2922, 2913, 6', tags: ['Terra', 'Grama', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/3/3f/Mapa_Verde_ADV_-_2922%2C_2913%2C_6.webp' }, { id: '6005', local: ' Respawn de Toxicroak', coordinates: '5309, 5805, 6', tags: ['Terra', 'Pântano'], imageUrl: 'https://wiki.pokexgames.com/images/4/40/Mapa_Verde_ADV_-_5309%2C_5805%2C_6.webp' }, { id: '6006', local: ' Respawn de Seviper', coordinates: '5317, 5787, 7', tags: ['Terra', 'Grama', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/6/67/Mapa_Verde_ADV_-_5317%2C_5787%2C_7.webp' }, { id: '6007', local: ' Respawn de Shiftry', coordinates: '5400, 6039, 6', tags: ['Terra', 'Grama', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/d/d7/Mapa_Verde_ADV_-_5400%2C_6039%2C_6.webp' }, { id: '6008', local: ' Respawn de Poochyena', coordinates: '5414, 6019, 8', tags: ['Terra', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/3/31/Mapa_Verde_ADV_-_5414%2C_6019%2C_8.webp' }, { id: '6009', local: ' Respawn de Vigoroth', coordinates: '5569, 5883, 5', tags: ['Terra', 'Construção'], imageUrl: 'https://wiki.pokexgames.com/images/b/b2/Mapa_Verde_ADV_-_5569%2C_5883%2C_5.webp' }, { id: '6010', local: ' Respawn de Medicham', coordinates: '5606, 5682, 6', tags: ['Terra'], imageUrl: 'https://wiki.pokexgames.com/images/b/b3/Mapa_Verde_ADV_-_5606%2C_5682%2C_6.webp' }, { id: '6011', local: ' Entrada dos Castform de Phenac', coordinates: '5612, 5638, 7', tags: ['Terra', 'Pedra', 'Água'], imageUrl: 'https://wiki.pokexgames.com/images/a/a5/Mapa_Verde_ADV_-_5612%2C_5638%2C_7.webp' }, { id: '6012', local: ' Respawn de Swampert', coordinates: '5694, 5804, 7', tags: ['Terra', 'Areia', 'Água', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/8/82/Mapa_Verde_ADV_-_5694%2C_5804%2C_7.webp' }, { id: '6013', local: ' Outland Ground', coordinates: '2628, 3109, 7', tags: ['Terra'], imageUrl: 'https://wiki.pokexgames.com/images/e/e7/Mapa_Verde_ADV_-_2628%2C_3109%2C_7.webp' }, { id: '6014', local: ' Outland Normal', coordinates: '2786, 3169, 7', tags: ['Terra', 'Árvore', 'Grama'], imageUrl: 'https://wiki.pokexgames.com/images/b/b1/Mapa_Verde_ADV_-_2786%2C_3169%2C_7.webp' }, { id: '6015', local: ' Outland Flying', coordinates: '2798, 3261, 6', tags: ['Terra', 'Pântano'], imageUrl: 'https://wiki.pokexgames.com/images/4/47/Mapa_Verde_ADV_-_2798%2C_3261%2C_6.webp' }, { id: '6016', local: ' Respawn de Banette', coordinates: '5510, 5611, 8', tags: ['Terra', 'Piso'], imageUrl: 'https://wiki.pokexgames.com/images/2/21/Mapa_Verde_ADV_-_5510%2C_5611%2C_8.webp' },
], 'Pisos':[ { id: '7001', local: ' Outland Electric', coordinates: '2505, 3105, 10', tags: ['Piso', 'Construção'], imageUrl: 'https://wiki.pokexgames.com/images/b/b8/Mapa_Verde_ADV_-_2505%2C_3105%2C_10.webp' }, { id: '7002', local: ' Outland Psychic', coordinates: '2586, 2968, 7', tags: ['Piso', 'Pirâmide'], imageUrl: 'https://wiki.pokexgames.com/images/8/84/Mapa_Verde_ADV_-_2586%2C_2968%2C_7.webp' }, { id: '7003', local: ' Outland Psychic', coordinates: '2607, 2958, 6', tags: ['Piso', 'Pirâmide'], imageUrl: 'https://wiki.pokexgames.com/images/f/f3/Mapa_Verde_ADV_-_2607%2C_2958%2C_6.webp' },
{ id: '7004', local: ' Respawn de Lairon', coordinates: '5361, 5682, 7', tags: ['Piso', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/e/eb/Mapa_Verde_ADV_-_5361%2C_5682%2C_7.webp' }, { id: '7005', local: ' Respawn de Metang', coordinates: '5437, 5561, 6', tags: ['Piso', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/b/b0/Mapa_Verde_ADV_-_5437%2C_5561%2C_6.webp' }, { id: '7006', local: ' Respawn de Mightyena', coordinates: '5485, 5987, 8', tags: ['Piso'], imageUrl: 'https://wiki.pokexgames.com/images/0/06/Mapa_Verde_ADV_-_5485%2C_5987%2C_8.webp' }, { id: '7007', local: ' Pirâmide nos Cacturne', coordinates: '5631, 5589, 7', tags: ['Piso', 'Pirâmide'], imageUrl: 'https://wiki.pokexgames.com/images/9/93/Mapa_Verde_ADV_-_5631%2C_5589%2C_7.webp' }, { id: '7008', local: ' Outland Psychic', coordinates: '2616, 2949, 5', tags: ['Piso', 'Pirâmide', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/4/4f/Mapa_Verde_ADV_-_2616%2C_2949%2C_5.webp' }, { id: '7009', local: ' Outland Ghost', coordinates: '2858, 2956, 8', tags: ['Piso'], imageUrl: 'https://wiki.pokexgames.com/images/f/f2/Mapa_Verde_ADV_-_2858%2C_2956%2C_8.webp' }, { id: '7010', local: ' Outland Dark - Murkrow', coordinates: '2894, 2935, 2', tags: ['Piso', 'Construção'], imageUrl: 'https://wiki.pokexgames.com/images/6/63/Mapa_Verde_ADV_-_2894%2C_2935%2C_2.webp' }, { id: '7011', local: ' Outland Fighting', coordinates: '3017, 3109, 8', tags: ['Piso', 'Construção'], imageUrl: 'https://wiki.pokexgames.com/images/7/72/Mapa_Verde_ADV_-_3017%2C_3109%2C_8.webp' }, { id: '7012', local: ' Respawn de Manectric', coordinates: '5520, 5994, 6', tags: ['Piso', 'Construção', 'Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/4/49/Mapa_Verde_ADV_-_5520%2C_5994%2C_6.webp' }, { id: '7013', local: ' Respawn de Bronzong', coordinates: '5594, 5739, 9', tags: ['Piso', 'Construção', 'Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/2/26/Mapa_Verde_ADV_-_5594%2C_5739%2C_9.webp' },
] }, 3: { 'Areia': [ { id: '10001', local: ' Respawn de Grumpig', coordinates: '30815, 20315, 6',tags:['Areia','Terra'], imageUrl: 'https://wiki.pokexgames.com/images/4/4b/Mapas_de_ADV_ROXO_-_30815%2C_20315%2C_6.webp' }, ], 'Gelo': [ { id: '20001', local: ' Respawn de Dragonite e Garchomp', coordinates: '30802, 20395, 2',tags:['Gelo','Árvore','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/c/c4/Mapas_de_ADV_ROXO_-_30802%2C_20395%2C_2.webp' },
{ id: '20002', local: ' Respawn de Altaria', coordinates: '30816, 20323, 3',tags:['Gelo'], imageUrl: 'https://wiki.pokexgames.com/images/8/8e/Mapas_de_ADV_ROXO_-_30816%2C_20323%2C_3.webp' }, { id: '20003', local: ' Respawn de Dratini e Dragonair', coordinates: '30851, 20351, 5',tags:['Gelo','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/b/b3/Mapas_de_ADV_ROXO_-_30851%2C_20351%2C_5.webp' }, { id: '20004', local: ' Respawn de Dragonite e Garchomp', coordinates: '30860, 20398, 2',tags:['Gelo','Pedra','Árvore','Água'], imageUrl: 'https://wiki.pokexgames.com/images/e/ea/Mapas_de_ADV_ROXO_-_30860%2C_20398%2C_2.webp' }, { id: '20005', local: ' Respawn de Snorunt', coordinates: '30890, 20277, 5',tags:['Gelo','Pedra','Árvore','Água'], imageUrl: 'https://wiki.pokexgames.com/images/5/58/Mapas_de_ADV_ROXO_-_30890%2C_20277%2C_5.webp' },
], 'Grama': [ { id: '30001', local: ' Respawn de Darkrai', coordinates: '30792, 20621, 5',tags:['Grama','Árvore','Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/2/23/Mapas_de_ADV_ROXO_-_30792%2C_20621%2C_5.webp' },
{ id: '30002', local: ' Respawn de Darkrai', coordinates: '30823, 20758, 5',tags:['Grama','Árvore'], imageUrl: 'https://wiki.pokexgames.com/images/e/ee/Mapas_de_ADV_ROXO_-_30823%2C_20758%2C_5.webp' },
], 'Pedra': [ { id: '40001', local: ' Respawn de Cranidos', coordinates: '30800, 20697, 5',tags:['Pedra','Água'], imageUrl: 'https://wiki.pokexgames.com/images/f/f1/Mapas_de_ADV_ROXO_-_30800%2C_20697%2C_5.webp' },
{ id: '40002', local: ' Respawn de Cranidos', coordinates: '30838, 20548, 5',tags:['Pedra','Água','Construção'], imageUrl: 'https://wiki.pokexgames.com/images/7/74/Mapas_de_ADV_ROXO_-_30838%2C_20548%2C_5.webp' }, { id: '40003', local: ' Respawn de Bagon', coordinates: '30846, 20350, 4',tags:['Pedra','Gelo'], imageUrl: 'https://wiki.pokexgames.com/images/2/27/Mapas_de_ADV_ROXO_-_30846%2C_20350%2C_4.webp' }, { id: '40004', local: ' Respawn de Tyranitar', coordinates: '30875, 20550, 4',tags:['Pedra'], imageUrl: 'https://wiki.pokexgames.com/images/6/68/Mapas_de_ADV_ROXO_-_30875%2C_20550%2C_4.webp' }, { id: '40005', local: ' Respawn de Gible e Gabite', coordinates: '30896, 20314, 4',tags:['Pedra', 'Gelo'], imageUrl: 'https://wiki.pokexgames.com/images/1/18/Mapas_de_ADV_ROXO_-_30896%2C_20314%2C_4.webp' },
], 'Subaquáticos': [ { id: '50001', local: ' test', coordinates: '3780, 3326, 7',tags:['teste','testes'], imageUrl: 'https://wiki.pokexgames.com/images/d/db/3780%2C_3326%2C_7.png' }, ], 'Terra': [ { id: '60001', local: ' Respawn Sudowoodo e Rampardos', coordinates: '30841, 20620, 5',tags:['Terra','Grama'], imageUrl: 'https://wiki.pokexgames.com/images/c/c2/Mapas_de_ADV_ROXO_-_30841%2C_20620%2C_5.webp' },
], 'Pisos':[ { id: '70001', local: ' Respawn de Infernape', coordinates: '30793, 20532, 3', tags:['Piso','Construção', 'Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/6/6f/Mapas_de_ADV_ROXO_-_30793%2C_20532%2C_3.webp' },
{ id: '70002', local: ' Respawn de Steelix', coordinates: '30805, 20398, 7', tags:['Piso','Construção','Pedra','Terra'], imageUrl: 'https://wiki.pokexgames.com/images/0/06/Mapas_de_ADV_ROXO_-_30805%2C_20398%2C_7.webp' }, { id: '70003', local: ' Respawn de Espurr', coordinates: '30807, 20231, 5', tags:['Piso','Construção','Areia', 'Água', 'Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/e/e7/Mapas_de_ADV_ROXO_-_30807%2C_20231%2C_5.webp' }, { id: '70004', local: ' Respawn de Starmie', coordinates: '30828, 20254, 7', tags:['Piso','Construção','Água','Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/5/5c/Mapas_de_ADV_ROXO_-_30828%2C_20254%2C_7.webp' }, { id: '70005', local: ' Respawn de Starmie', coordinates: '30845, 20256, 7', tags:['Piso','Construção','Água','Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/6/62/Mapas_de_ADV_ROXO_-_30845%2C_20256%2C_7.webp' }, { id: '70006', local: ' Saída norte de Lavender', coordinates: '30881, 20394, 7', tags:['Piso','Construção','Fogo'], imageUrl: 'https://wiki.pokexgames.com/images/5/5e/Mapas_de_ADV_ROXO_-_30881%2C_20394%2C_7.webp' },
] },
};
document.getElementById('enableFilter').addEventListener('change', function () { const filterSection = document.getElementById('filterSection'); if (this.checked) { filterSection.classList.remove('hidden'); } else { filterSection.classList.add('hidden'); } });
document.getElementById('searchIds').addEventListener('keypress', function (event) { if (event.key === 'Enter') { event.preventDefault(); document.getElementById('filterButton').click(); } });
document.getElementById('mapType').addEventListener('change', function () { const selectedMapType = this.value; const specificOptionSelect = document.getElementById('specificOption');
if (selectedMapType) { specificOptionSelect.innerHTML = '<option value="">Selecione uma opção</option>'; const options = Object.keys(specificOptions[selectedMapType]); options.forEach(option => { specificOptionSelect.innerHTML += `<option value="${option}">${option}</option>`; }); document.getElementById('specificOptions').classList.remove('hidden'); } else { document.getElementById('specificOptions').classList.add('hidden'); } });
document.getElementById('specificOption').addEventListener('change', function () { const selectedMapType = document.getElementById('mapType').value; const selectedOption = this.value; const imageContainer = document.getElementById('imageContainer');
if (selectedMapType && selectedOption) { const images = specificOptions[selectedMapType][selectedOption]; let imagesHtml = ;
if (Array.isArray(images)) { images.forEach(image => { imagesHtml += `
<img src="${image.imageUrl}" alt="${selectedOption}">
Número do Mapa: ${image.id}
Local: ${image.local}
Coordenada: ${image.coordinates}
Tag(s): ${image.tags.join(', ') || 'Nenhuma'}
`; }); }
imageContainer.innerHTML = imagesHtml; imageContainer.classList.remove('hidden'); } else { imageContainer.classList.add('hidden'); } });
document.getElementById('filterButton').addEventListener('click', function () {
const searchIds = document.getElementById('searchIds').value.split(',').map(id => id.trim().toLowerCase()); const filterOption = document.getElementById('filterOption').value; const selectedMapType = document.getElementById('mapType').value; const selectedSpecificOption = document.getElementById('specificOption').value; const imageContainer = document.getElementById('imageContainer'); let imagesHtml = ; let allImages = [];
if (filterOption === 'tag') { if (selectedMapType) { const mapOptions = specificOptions[selectedMapType]; if (selectedSpecificOption) { const images = mapOptions[selectedSpecificOption].filter(image => searchIds.some(tag => image.tags.map(t => t.toLowerCase()).includes(tag)) ); allImages = allImages.concat(images); } else { Object.keys(mapOptions).forEach(option => { const images = mapOptions[option].filter(image => searchIds.some(tag => image.tags.map(t => t.toLowerCase()).includes(tag)) ); allImages = allImages.concat(images); }); } } } else if (filterOption === 'number') { if (searchIds.length > 0) { Object.keys(specificOptions).forEach(mapType => { const mapOptions = specificOptions[mapType]; Object.keys(mapOptions).forEach(option => { const images = mapOptions[option].filter(image => searchIds.includes(image.id)); allImages = allImages.concat(images); }); }); } }
if (allImages.length > 0) { allImages.sort((a, b) => a.local.localeCompare(b.local));
allImages.forEach(image => { imagesHtml += `
<img src="${image.imageUrl}" alt="Imagem ID ${image.id}">
Número do Mapa: ${image.id}
Local: ${image.local}
Coordenada: ${image.coordinates}
Tag(s): ${image.tags.join(', ') || 'Nenhuma'}
`; }); } else { imagesHtml = 'Nenhuma imagem encontrada com os critérios fornecidos.'; }
imageContainer.innerHTML = imagesHtml; imageContainer.classList.toggle('hidden', allImages.length === 0);
});
</script>
</body> </html>