public function toArray($request): array 	{ 		$lang = $request->lang ?? DomainLanguages::getDefaultLanguage();  		return [ 			'id' => $this->getKey(), 			'slugs' => $this->getTranslations('slug'), 			'survey_type' => $this->survey_type, 			'title' => $this->getTranslation('title', $lang), 			'published_at' => formatTimestamp($this->published_at), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 			'media' => new MediaResource($this->storage()->getFirstFile('image')), 		]; 	}