.class final Lcom/discord/utilities/captcha/CaptchaHelper$showCaptcha$1; .super Ljava/lang/Object; .source "CaptchaHelper.kt" # interfaces .implements Lcom/google/android/gms/tasks/e; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/utilities/captcha/CaptchaHelper;->showCaptcha(Lcom/google/android/gms/safetynet/SafetyNetClient;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lcom/google/android/gms/tasks/e<", "Lcom/google/android/gms/safetynet/SafetyNetApi$RecaptchaTokenResponse;", ">;" } .end annotation # instance fields .field final synthetic $onSuccess:Lkotlin/jvm/functions/Function1; # direct methods .method constructor (Lkotlin/jvm/functions/Function1;)V .locals 0 iput-object p1, p0, Lcom/discord/utilities/captcha/CaptchaHelper$showCaptcha$1;->$onSuccess:Lkotlin/jvm/functions/Function1; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final onSuccess(Lcom/google/android/gms/safetynet/SafetyNetApi$RecaptchaTokenResponse;)V .locals 2 const-string v0, "it" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {p1}, Lcom/google/android/gms/safetynet/SafetyNetApi$RecaptchaTokenResponse;->vv()Ljava/lang/String; move-result-object p1 const-string v0, "userResponseToken" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V move-object v0, p1 check-cast v0, Ljava/lang/CharSequence; invoke-interface {v0}, Ljava/lang/CharSequence;->length()I move-result v0 if-nez v0, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 if-nez v0, :cond_1 iget-object v0, p0, Lcom/discord/utilities/captcha/CaptchaHelper$showCaptcha$1;->$onSuccess:Lkotlin/jvm/functions/Function1; invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String; move-result-object p1 const-string v1, "android:" invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String; move-result-object p1 invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object; :cond_1 return-void .end method .method public final bridge synthetic onSuccess(Ljava/lang/Object;)V .locals 0 check-cast p1, Lcom/google/android/gms/safetynet/SafetyNetApi$RecaptchaTokenResponse; invoke-virtual {p0, p1}, Lcom/discord/utilities/captcha/CaptchaHelper$showCaptcha$1;->onSuccess(Lcom/google/android/gms/safetynet/SafetyNetApi$RecaptchaTokenResponse;)V return-void .end method