public function getQuestions(Domain $domain, GetQuestions $request): JsonResource 	{ 		$applicant = Applicant::whereRaw('BINARY `code` = ?', [$request->code])->includes()->with([ 			'survey', 			'survey.extraQuestions' => function ($query) { 				$query->includes()->available()->orderBy('ordering'); 			}, 			'survey.demographicQuestions' => function ($query) { 				$query->includes()->available()->orderBy('ordering'); 			}, 			'scrambledQuestions' => function ($query) { 				$query->with('children'); 			}, 		]) 		->fillingOnlineSurvey() 		->hasNotCompletedSurvey() 		->first();  		if ($applicant->survey->getActiveDomain()->getKey() != $domain->getKey()) { 			abort(403, (string) __('exceptions.invalid-code-for-domain')); 		}  		$applicant->setAttribute('negativeQuestions', $applicant->scrambledQuestions->pluck('children')->flatten());  		return new ApplicantQuestionsResource($applicant); 	}