
    Design a function for a content moderation system that determines the next engagement milestone threshold, where milestones are represented by perfect squares, based on a post's current engagement value. The system uses these milestone thresholds to automatically trigger content visibility reviews, so for any given engagement value, the function must return the next perfect square that would trigger a review.
    

    
import math

def next_Perfect_Square(N):
    """
    Design a function for a content moderation system that determines the next engagement milestone threshold, where milestones are represented by perfect squares, based on a post's current engagement value. The system uses these milestone thresholds to automatically trigger content visibility reviews, so for any given engagement value, the function must return the next perfect square that would trigger a review.
    

    """
import math

def next_Perfect_Square(N):
    """
    Design a function for a content moderation system that determines the next engagement milestone threshold, where milestones are represented by perfect squares, based on a post's current engagement value. The system uses these milestone thresholds to automatically trigger content visibility reviews, so for any given engagement value, the function must return the next perfect square that would trigger a review.
    

    """
    nextN = math.floor(math.sqrt(N)) + 1
    return nextN * nextN