193 lines
6.1 KiB
Smali
193 lines
6.1 KiB
Smali
.class public final Lcom/discord/stores/StoreAuthentication$register$1;
|
|
.super Ljava/lang/Object;
|
|
.source "StoreAuthentication.kt"
|
|
|
|
# interfaces
|
|
.implements Lr0/k/b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreAuthentication;->register(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lrx/Observable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lr0/k/b<",
|
|
"TT;",
|
|
"Lrx/Observable<",
|
|
"+TR;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $captchaKey:Ljava/lang/String;
|
|
|
|
.field public final synthetic $consent:Z
|
|
|
|
.field public final synthetic $dateOfBirth:Ljava/lang/String;
|
|
|
|
.field public final synthetic $email:Ljava/lang/String;
|
|
|
|
.field public final synthetic $password:Ljava/lang/String;
|
|
|
|
.field public final synthetic $username:Ljava/lang/String;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreAuthentication;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreAuthentication;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreAuthentication$register$1;->this$0:Lcom/discord/stores/StoreAuthentication;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreAuthentication$register$1;->$username:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lcom/discord/stores/StoreAuthentication$register$1;->$email:Ljava/lang/String;
|
|
|
|
iput-object p4, p0, Lcom/discord/stores/StoreAuthentication$register$1;->$password:Ljava/lang/String;
|
|
|
|
iput-object p5, p0, Lcom/discord/stores/StoreAuthentication$register$1;->$captchaKey:Ljava/lang/String;
|
|
|
|
iput-boolean p6, p0, Lcom/discord/stores/StoreAuthentication$register$1;->$consent:Z
|
|
|
|
iput-object p7, p0, Lcom/discord/stores/StoreAuthentication$register$1;->$dateOfBirth:Ljava/lang/String;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreAuthentication$register$1;->call(Ljava/lang/String;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final call(Ljava/lang/String;)Lrx/Observable;
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lrx/Observable<",
|
|
"Lcom/discord/models/domain/ModelUser$Token;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getInviteSettings()Lcom/discord/stores/StoreInviteSettings;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreInviteSettings;->getInviteCode()Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getGuildTemplates()Lcom/discord/stores/StoreGuildTemplates;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreGuildTemplates;->getDynamicLinkGuildTemplateCode()Lrx/Observable;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v2, Lcom/discord/stores/StoreAuthentication$register$1$1;->INSTANCE:Lcom/discord/stores/StoreAuthentication$register$1$1;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
new-instance v3, Lcom/discord/stores/StoreAuthentication$sam$rx_functions_Func2$0;
|
|
|
|
invoke-direct {v3, v2}, Lcom/discord/stores/StoreAuthentication$sam$rx_functions_Func2$0;-><init>(Lkotlin/jvm/functions/Function2;)V
|
|
|
|
move-object v2, v3
|
|
|
|
:cond_0
|
|
check-cast v2, Lrx/functions/Func2;
|
|
|
|
invoke-static {v0, v1, v2}, Lrx/Observable;->j(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v0, "Observable.combineLatest\u2026RequestParams\n )"
|
|
|
|
invoke-static {v3, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-wide/16 v4, 0x1f4
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x2
|
|
|
|
const/4 v8, 0x0
|
|
|
|
invoke-static/range {v3 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/stores/StoreAuthentication$register$1$2;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreAuthentication$register$1$2;-><init>(Lcom/discord/stores/StoreAuthentication$register$1;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->v(Lr0/k/b;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "Observable.combineLatest\u2026 )\n }"
|
|
|
|
invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {p1, v0, v1, v2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
|
|
|
|
move-result-object v3
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
const/4 v7, 0x3
|
|
|
|
invoke-static/range {v3 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Lcom/discord/stores/StoreAuthentication$register$1$3;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/stores/StoreAuthentication$register$1$3;-><init>(Lcom/discord/stores/StoreAuthentication$register$1;)V
|
|
|
|
invoke-virtual {p1, v0}, Lrx/Observable;->r(Lrx/functions/Action1;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|