in src/input.ts [36:43]
function isValidUrl(url: string): boolean { try { new URL(url) return true } catch (_) { return false } }