import { html } from 'lit'
import { Router } from '@thepassle/app-tools/router.js'
// views
import '../components/MapView.js'
import '../components/NewMapModal.js'
if (!globalThis.URLPattern) {
await import('urlpattern-polyfill')
}
// router
export default new Router({
fallback: '/404',
routes: [
{
path: '/',
title: 'ethermap | index',
render: () => html`