{$t('adventures.basic_information')}

{#if (user && ownerUser && user.uuid == ownerUser.uuid) || !ownerUser} {:else}
{#if location.category?.icon} {location.category.icon} {/if} {location.category?.display_name || location.category?.name}
{/if}
{#each [1, 2, 3, 4, 5] as star} (location.rating = star)} checked={location.rating === star} /> {/each}
{#if !Number.isNaN(location.rating)} {/if}
{#if !locationToEdit || (locationToEdit.collections && locationToEdit.collections.length === 0)}
{/if}
{#if wikiError}
{wikiError}
{/if}

{$t('adventures.tags')} ({location.tags?.length || 0})

{$t('adventures.location_map')}

{#if searchQuery && !selectedLocation} {/if}
{#if isSearching}
{$t('adventures.searching')}...
{:else if searchResults.length > 0}
{$t('adventures.search_results')}
{#each searchResults as result} {/each}
{/if}
{$t('adventures.or')}
{#if selectedLocation && selectedMarker}

{$t('adventures.location_selected')}

{selectedLocation.name}

{selectedMarker.lat.toFixed(6)}, {selectedMarker.lng.toFixed(6)}

{#if locationData?.city || locationData?.region || locationData?.country}
{#if locationData.city}
πŸ™οΈ {locationData.city.name}
{/if} {#if locationData.region}
πŸ—ΊοΈ {locationData.region.name}
{/if} {#if locationData.country}
🌎 {locationData.country.name}
{/if}
{/if}
{/if}
{$t('worldtravel.interactive_map')}
{#if isReverseGeocoding}
{$t('worldtravel.getting_location_details')}...
{/if}
{#if selectedMarker} {/if}
{#if !selectedMarker}

{$t('adventures.click_on_map')}

{/if}