namespace NexusShell.Services;

public static class SafePocRuntime
{
    public const string SafeModeMessage =
        "Nexus Lockdown POC kører kun i safe mode. Production lockdown er ikke aktiveret.";

    public static bool IsSafePocMode { get; private set; }

    public static bool IsOverlayMode { get; private set; }

    public static void Initialize(string[] args)
    {
        IsSafePocMode = args.Contains("--safe-poc", StringComparer.OrdinalIgnoreCase);
        IsOverlayMode = args.Contains("--overlay", StringComparer.OrdinalIgnoreCase) || IsSafePocMode;
    }

    public static bool AllowsLockdown => IsSafePocMode || IsOverlayMode;
}
