public function index(FilterProduct $request): JsonResource 	{ 		$products = Product::includes($request->lang) 			->available() 			->when($request->products, static function (object $query, array $products): void { 				$query->whereIn('id', $products); 			}) 			->search($request->search, $request->lang) 			->filterPriceRange($request->price_min, $request->price_max) 			->filterCategory($request->category) 			->filterSortBy($request->sort_by, $request->sort_by_field) 			->orderby('ordering') 			->orderBy('name') 			->paginate($request->per_page) 			->withQueryString();  		return ProductListResource::collection($products); 	}