public function store(StoreFilter $request): RedirectResponse 	{ 		$request->validate([ 			'name' => ['required', 'max:50', 'string', 'unique:' . Filter::class], 			'name_en' => [ 				'nullable', 'string', 'max:50', Rule::unique(Translation::class, 'value') 				->where(function ($query) { 					return $query->where('item_type', Filter::class); 				}), 			], 		]);  		$filter = Filter::create([ 			'name' => $request->name, 			'display_label' => $request->display_label, 			'type' => $request->type, 			'min' => $request->min, 			'max' => $request->max, 			'step' => $request->step, 			'value' => $request->value, 			'message' => $request->message, 			'required' => $request->boolean('required'), 			'searchable' => $request->boolean('searchable'), 			'active' => $request->boolean('active'), 		]);  		$filter->updateTranslations([ 			'name' => [ 				'en' => $request->name_en, 			], 			'display_label' => [ 				'en' => $request->display_label_en, 			], 			'value' => [ 				'en' => $filter->trimSelectValues($request->value_en), 			], 			'message' => [ 				'en' => $request->message_en, 			], 		]);  		return $this->redirectFromSave('filters.list'); 	}