public function exportBenchmarkReportPdf(ClientSurvey $client_survey, GetBenchmarkReport $request): Response|View 	{ 		$client_survey->load([ 			'applicants' => function ($query) { 				$query->available()->final(); 			}, 		]);  		$locale = $request->benchmark_language ?? DomainLanguages::getDefaultLanguage();  		$isPreview = !$request->boolean('download');  		$view = $this->getView($request, $client_survey, $isPreview, $locale, $request->boolean('regenerate_data'));  		if ($isPreview) { 			return $view; 		}  		$data = $this->chromePdfService->generatePdf($view->render());  		$name = $client_survey->generateDownloadFileNameBenchmark($locale);  		$userActivityService = new UserActivityService($request); 		$userActivityService->createCustomEntry($client_survey, UserActivityType::Read);  		return response()->make($data, 200, [ 			'Content-Type' => 'application/pdf', 			'Content-Disposition' => "attachment; filename=$name", 		]); 	}