public function toArray($request): array 	{ 		$language = new Language;  		$lang = $request->lang ?? $language->getDefaultLanguage();  		return [ 			'id' => $this->id, 			'slug' => $this->getTranslation('slug', $lang), 			'name' => $this->getTranslation('name', $lang), 			'short_description' => $this->getTranslation('short_description', $lang), 			'description' => $this->getTranslation('description', $lang), 			'media' => new MediaResource($this->storage()->getFirstFile('image')), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}