Aperçu des articles
item !== $event.detail.country.id)"
@remove-tag.window="filtered.tags = filtered.tags.filter(item => item !== $event.detail.tag.id)"
x-data="{open: false, countries: [{"id":"2179","code":"DEU","name":"Allemagne","url":"https:\/\/www.science-guide.eu\/fr\/countries\/allemagne\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_deutschland-500x500.png","position":[51.3580616,9.9536133]},{"id":"2404","code":"HRV","name":"Croatie","url":"https:\/\/www.science-guide.eu\/fr\/countries\/croatie\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_kroatien-500x500.png","position":[45.3658443,15.6575209]},{"id":"2144","code":"ESP","name":"Espagne","url":"https:\/\/www.science-guide.eu\/fr\/countries\/espagne\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_spanien-500x500.png","position":[39.1471027,-2.3950195]},{"id":"2406","code":"FIN","name":"Finlande","url":"https:\/\/www.science-guide.eu\/fr\/countries\/finlande\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_finnland-500x500.png","position":[63.2467777,25.9209164]},{"id":"1805","code":"FRA","name":"France","url":"https:\/\/www.science-guide.eu\/fr\/countries\/france\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_frankreich-500x500.png","position":[46.7135024,2.2851563]},{"id":"2166","code":"NED","name":"Pays-Bas","url":"https:\/\/www.science-guide.eu\/fr\/countries\/pays-bas\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_niederlande-500x500.png","position":[52.4024189,5.9106445]},{"id":"1808","code":"POL","name":"Pologne","url":"https:\/\/www.science-guide.eu\/fr\/countries\/pologne\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_polen-500x500.png","position":[52.0389766,18.8525391]},{"id":"2400","code":"PRT","name":"Portugal","url":"https:\/\/www.science-guide.eu\/fr\/countries\/portugal\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_portugal-500x500.png","position":[39.6621648,-8.1353519]},{"id":"2128","code":"GBR","name":"Royaume-Uni","url":"https:\/\/www.science-guide.eu\/fr\/countries\/royaume-uni\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_grossbritannien-500x500.png","position":[52.7427354,-1.9148827]},{"id":"2396","code":"RUS","name":"Russie","url":"https:\/\/www.science-guide.eu\/fr\/countries\/russie\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_russland-500x500.png","position":[64.6863136,97.7453061]},{"id":"2402","code":"CHE","name":"Suisse","url":"https:\/\/www.science-guide.eu\/fr\/countries\/suisse\/","icon":"https:\/\/www.science-guide.eu\/wp-content\/uploads\/2021\/10\/sg_schweiz-500x500.png","position":[46.7985624,8.2319736]}], tags: [{"id":"110","name":"Astronomie"},{"id":"112","name":"Biologie"},{"id":"114","name":"Chimie"},{"id":"169","name":"Climat & Environnement"},{"id":"136","name":"Math\u00e9matique"},{"id":"140","name":"M\u00e9decine"},{"id":"122","name":"Nourriture"},{"id":"124","name":"Physique"},{"id":"148","name":"Psychologie"},{"id":"174","name":"Science"},{"id":"144","name":"Sciences marines & polaires"},{"id":"162","name":"Technologie"}], filtered: {countries: [].map(String), tags: [162].map(String)}}"
x-init="$watch('filtered.countries, filtered.tags', value => $dispatch('filters-changed', filtered))">