public function toArray(Request $request): array 	{ 		$lang = $request->lang;  		return [ 			'id' => $this->id, 			'type' => $this->type->value, 			'text' => $this->getTranslation('text', $lang, $this->text), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 			'media' => new MediaResource($this->storage()->getFirstFile('file')), 		]; 	}