package com.discord.widgets.auth; import c0.z.d.m; import com.discord.app.AppViewFlipper; import rx.functions.Func0; /* compiled from: WidgetAgeVerify.kt */ public final class WidgetAgeVerify$configureUI$1 implements Func0 { public final /* synthetic */ WidgetAgeVerify this$0; public WidgetAgeVerify$configureUI$1(WidgetAgeVerify widgetAgeVerify) { this.this$0 = widgetAgeVerify; } @Override // rx.functions.Func0, java.util.concurrent.Callable public final Boolean call() { AppViewFlipper appViewFlipper = WidgetAgeVerify.access$getBinding$p(this.this$0).b; m.checkNotNullExpressionValue(appViewFlipper, "binding.ageVerifyViewFlipper"); int displayedChild = appViewFlipper.getDisplayedChild(); if (displayedChild == 1) { WidgetAgeVerify.access$getViewModel$p(this.this$0).onConfirmBackClicked(); } else if (displayedChild == 2) { this.this$0.requireAppActivity().j(this.this$0.requireContext()); } else if (WidgetAgeVerify.access$getViewModel$p(this.this$0).backToSafety()) { this.this$0.requireAppActivity().j(this.this$0.requireContext()); } else { this.this$0.requireActivity().finish(); } return Boolean.TRUE; } }