public function scopeCanViewRouteQuery(Builder $query, string $route): Builder 	{ 		return $query->where(function (object $query) use ($route): void { 			$query->where('mode', RoleMode::White)->whereHas('routes', function (object $query) use ($route): void { 				$query->where('route', $route); 			}); 		}) 		->orWhere(function (object $query) use ($route): void { 			$query->where('mode', RoleMode::Black)->whereDoesntHave('routes', function (object $query) use ($route): void { 				$query->where('route', $route); 			}); 		}); 	}