package com.discord.widgets.auth; import android.view.View; import androidx.fragment.app.FragmentActivity; import com.discord.utilities.captcha.CaptchaHelper; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: WidgetAuthCaptcha.kt */ public final class WidgetAuthCaptcha$onViewBound$2 implements View.OnClickListener { public final /* synthetic */ WidgetAuthCaptcha this$0; /* compiled from: WidgetAuthCaptcha.kt */ /* renamed from: com.discord.widgets.auth.WidgetAuthCaptcha$onViewBound$2$1 reason: invalid class name */ public static final class AnonymousClass1 extends o implements Function0 { public final /* synthetic */ WidgetAuthCaptcha$onViewBound$2 this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public AnonymousClass1(WidgetAuthCaptcha$onViewBound$2 widgetAuthCaptcha$onViewBound$2) { super(0); this.this$0 = widgetAuthCaptcha$onViewBound$2; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final void mo1invoke() { FragmentActivity activity = this.this$0.this$0.getActivity(); if (activity != null) { activity.finish(); } } } public WidgetAuthCaptcha$onViewBound$2(WidgetAuthCaptcha widgetAuthCaptcha) { this.this$0 = widgetAuthCaptcha; } @Override // android.view.View.OnClickListener public final void onClick(View view) { CaptchaHelper.INSTANCE.showCaptchaHelpDialog(this.this$0.getAppActivity(), new AnonymousClass1(this)); } }