/*
Read the path/query from the URL.
function urlPathQuery() {
    const hashSlash = location.href.indexOf(hashSlashString)
    let pathQuery

    if (hashSlash > -1)
      pathQuery = location.href.slice(hashSlash + hashSlashString.length)
    else if (isHashMode())
      pathQuery = '/'
    else
      pathQuery = (location.pathname + location.search).slice(1)

    return util.normalizePathQuery(pathQuery)
  }