public function handleLocationsAndDepartmentDeletion(Request $request, ClientSurvey $survey): void 	{ 		$locations_uuids = array_keys(Arr::where($request->locations ?? [], function ($value, $key) { 			return Str::isUuid($key); 		}));  		$departments_uuids = array_keys(Arr::where($request->departments ?? [], function ($value, $key) { 			return Str::isUuid($key); 		}));  		$survey->locations()->whereNotIn('id', $locations_uuids)->delete(); 		$survey->departments()->whereNotIn('id', $departments_uuids)->delete(); 	}