public function search(GlobalSearch $request): JsonResource 	{ 		$productsAndAccessories = Product::fullSearch($request->search) 			->addVariants() 			->includes() 			->get();  		$products = $productsAndAccessories->where('accessory', false); 		$accessories = $productsAndAccessories->where('accessory', true);  		$blogs = Blog::fullSearch($request->search)->includes()->get();  		$categories = Category::fullSearch($request->search)->includes()->get();  		$faq = GeneralFAQ::search($request->search)->includes()->get();  		$manufacturers = Manufacturer::fullSearch($request->search)->includes()->get();  		$data = [ 			'products' => ProductResource::collection($products), 			'accessories' => AccessoryResource::collection($accessories), 			'blogs' => BlogResource::collection($blogs), 			'categories' => CategoryResource::collection($categories), 			'faq' => GeneralFAQResource::collection($faq), 			'manufacturers' => ManufacturerResource::collection($manufacturers), 		];  		return new JsonResource($data); 	}