The Zig library compiled to WebAssembly and driven from uri.js. Everything below is computed by the same parser the Zig tests exercise.
uri.js