public function handle(NewSearchAction $event): void 	{ 		try { 			$term = $event->term;  			$term = trim(preg_replace('/\s\s+/', ' ', str_replace("
", ' ', $term))); 			$term = Str::of($term)->limit(50)->lower();  			$searchTerm = SearchTerm::firstOrCreate(['term' => $term]);  			if (!$searchTerm->wasRecentlyCreated) { 				$searchTerm->increment('count'); 			} 		} catch (Throwable) { 		} 	}