+ import SearchPage from './pages/SearchPage.svelte';
+ import ReversePage from './pages/ReversePage.svelte';
+ import DetailsPage from './pages/DetailsPage.svelte';
+ import PolygonsPage from './pages/PolygonsPage.svelte';
+ import DeletablePage from './pages/DeletablePage.svelte';
+
+ $: view = $page.tab;
+
+ refresh_page();
+</script>
+
+<!-- deal with back-button and other user action -->
+<svelte:window on:popstate={refresh_page} />