package n8;

import android.app.Activity;
import android.os.Bundle;
import ca.canadapost.core.data.model.CoreConstants;

/* loaded from: classes.dex */
public abstract class d0 {

    /* renamed from: a, reason: collision with root package name */
    public static final a f29850a = new a(null);

    /* loaded from: classes.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }

        public static /* synthetic */ void b(a aVar, Activity activity, androidx.fragment.app.f fVar, boolean z10, boolean z11, int i10, Object obj) {
            if ((i10 & 2) != 0) {
                fVar = null;
            }
            if ((i10 & 4) != 0) {
                z10 = false;
            }
            if ((i10 & 8) != 0) {
                z11 = false;
            }
            aVar.a(activity, fVar, z10, z11);
        }

        public static /* synthetic */ void d(a aVar, Activity activity, androidx.fragment.app.f fVar, boolean z10, int i10, Object obj) {
            if ((i10 & 2) != 0) {
                fVar = null;
            }
            if ((i10 & 4) != 0) {
                z10 = false;
            }
            aVar.c(activity, fVar, z10);
        }

        public final void a(Activity activity, androidx.fragment.app.f fVar, boolean z10, boolean z11) {
            kotlin.jvm.internal.t.g(activity, "activity");
            Bundle a10 = androidx.core.os.c.a(rm.c0.a(CoreConstants.ARG_MANAGE_2SV_FLOW, Boolean.valueOf(z10)), rm.c0.a(CoreConstants.ARG_SHOW_SKIP_BUTTON_OPTION, Boolean.valueOf(z11)));
            m8.a aVar = new m8.a();
            aVar.i(1234);
            aVar.e("ca.canadapost.module.login.twostepverification.open.beta");
            aVar.f(a10);
            aVar.a(activity, fVar);
        }

        public final void c(Activity activity, androidx.fragment.app.f fVar, boolean z10) {
            kotlin.jvm.internal.t.g(activity, "activity");
            Bundle a10 = androidx.core.os.c.a(rm.c0.a(CoreConstants.ARG_MANAGE_2SV_FLOW, Boolean.valueOf(z10)), rm.c0.a(CoreConstants.ARG_SHOW_SKIP_BUTTON_OPTION, Boolean.FALSE), rm.c0.a(CoreConstants.ARG_BYPASS_FIRST_FRAGMENT, Boolean.TRUE), rm.c0.a(CoreConstants.ARG_NOT_RETURN_TO_MANAGE_FRAGMENT, Boolean.valueOf(z10)));
            m8.a aVar = new m8.a();
            aVar.i(1234);
            aVar.e("ca.canadapost.module.login.twostepverification.open.beta");
            aVar.f(a10);
            aVar.a(activity, fVar);
        }
    }
}
