public function getValidationRulesTextImage(): array 	{ 		$rules = [];  		foreach (getCurrentLanguages() as $lang) { 			$required = ($lang === getMainActiveLanguage()) || ($lang === getDefaultLanguage());  			$rules['text.' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:2000']; 			$rules['button_text.' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:50']; 		}  		$rules['text_position'] = ['required', 'string', 'max:50']; 		$rules['text_color'] = ['required', 'string', 'max:50']; 		$rules['background_color'] = ['required', 'string', 'max:50']; 		$rules['button_type'] = ['required', new Enum(ButtonType::class)]; 		$rules['button_url'] = ['required', 'url']; 		$rules['media'] = ['required', 'max:' . setting('max_upload_size') / 1024, new SafeWebp];  		return $rules; 	}