public function index(Request $request): View 	{ 		$domain = auth()->user()->user->activeDomain; 		$survey_type = $request->enum('survey_type', SurveyType::class);  		$cookies = Cookies::with('domain')->byDomain($domain)->byType($survey_type)->first();  		// Array unique because sometimes the main language is included in $domain->languages 		$translations = array_unique(array_merge([$domain->mainLanguage()], $domain->languages)); 		$domains = Domain::orderBy('domain')->get();  		return view('cookies.add', compact('cookies', 'domains', 'translations', 'survey_type')); 	}