public function index(Request $request): View 	{ 		$disk = $request->disk;  		$disks = Media::without('model')->select('disk')->groupBy('disk')->orderBy('disk')->get();  		$records = Media::without('model') 			->selectRaw('model_type, sum(size) as files_size, count(*) as files_count') 			->when($disk, static function (Builder $query, string $disk): void { 				$query->where('disk', $disk); 			}) 			->groupBy('model_type') 			->orderBy('model_type') 			->get();  		return view('storage.list', ['disks' => $disks, 'records' => $records, 'disk' => $disk]); 	}