2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2;
|
2020-09-09 19:21:20 +00:00
|
|
|
.super Lk0/n/c/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "WidgetAuthRegister.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/auth/WidgetAuthRegister;-><init>()V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-09 19:21:20 +00:00
|
|
|
"Lk0/n/c/j;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lcom/discord/utilities/view/validators/ValidationManager;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/auth/WidgetAuthRegister;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/widgets/auth/WidgetAuthRegister;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2;->this$0:Lcom/discord/widgets/auth/WidgetAuthRegister;
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct {p0, p1}, Lk0/n/c/j;-><init>(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final invoke()Lcom/discord/utilities/view/validators/ValidationManager;
|
|
|
|
.locals 10
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/utilities/view/validators/ValidationManager;
|
|
|
|
|
|
|
|
const/4 v1, 0x4
|
|
|
|
|
|
|
|
new-array v1, v1, [Lcom/discord/utilities/view/validators/Input;
|
|
|
|
|
|
|
|
new-instance v2, Lcom/discord/utilities/view/validators/Input$TextInputLayoutInput;
|
|
|
|
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2;->this$0:Lcom/discord/widgets/auth/WidgetAuthRegister;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lcom/discord/widgets/auth/WidgetAuthRegister;->access$getUsernameWrap$p(Lcom/discord/widgets/auth/WidgetAuthRegister;)Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
new-array v5, v4, [Lcom/discord/utilities/view/validators/InputValidator;
|
|
|
|
|
|
|
|
sget-object v6, Lcom/discord/utilities/view/validators/BasicTextInputValidator;->Companion:Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const v7, 0x7f1217f0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v6, v7}, Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;->createRequiredInputValidator(I)Lcom/discord/utilities/view/validators/BasicTextInputValidator;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
aput-object v6, v5, v7
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const-string/jumbo v6, "username"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-direct {v2, v6, v3, v5}, Lcom/discord/utilities/view/validators/Input$TextInputLayoutInput;-><init>(Ljava/lang/String;Lcom/google/android/material/textfield/TextInputLayout;[Lcom/discord/utilities/view/validators/InputValidator;)V
|
|
|
|
|
|
|
|
aput-object v2, v1, v7
|
|
|
|
|
|
|
|
new-instance v2, Lcom/discord/utilities/view/validators/Input$TextInputLayoutInput;
|
|
|
|
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2;->this$0:Lcom/discord/widgets/auth/WidgetAuthRegister;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lcom/discord/widgets/auth/WidgetAuthRegister;->access$getEmailWrap$p(Lcom/discord/widgets/auth/WidgetAuthRegister;)Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const/4 v5, 0x2
|
|
|
|
|
|
|
|
new-array v6, v5, [Lcom/discord/utilities/view/validators/InputValidator;
|
|
|
|
|
|
|
|
sget-object v8, Lcom/discord/utilities/view/validators/BasicTextInputValidator;->Companion:Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const v9, 0x7f1205ff
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v8, v9}, Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;->createRequiredInputValidator(I)Lcom/discord/utilities/view/validators/BasicTextInputValidator;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
aput-object v8, v6, v7
|
|
|
|
|
|
|
|
sget-object v8, Lcom/discord/utilities/auth/AuthUtils;->INSTANCE:Lcom/discord/utilities/auth/AuthUtils;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const v9, 0x7f1205fe
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v8, v9}, Lcom/discord/utilities/auth/AuthUtils;->createEmailInputValidator(I)Lcom/discord/utilities/view/validators/BasicTextInputValidator;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
aput-object v8, v6, v4
|
|
|
|
|
|
|
|
const-string v8, "email"
|
|
|
|
|
|
|
|
invoke-direct {v2, v8, v3, v6}, Lcom/discord/utilities/view/validators/Input$TextInputLayoutInput;-><init>(Ljava/lang/String;Lcom/google/android/material/textfield/TextInputLayout;[Lcom/discord/utilities/view/validators/InputValidator;)V
|
|
|
|
|
|
|
|
aput-object v2, v1, v4
|
|
|
|
|
|
|
|
new-instance v2, Lcom/discord/utilities/view/validators/Input$TextInputLayoutInput;
|
|
|
|
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2;->this$0:Lcom/discord/widgets/auth/WidgetAuthRegister;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lcom/discord/widgets/auth/WidgetAuthRegister;->access$getPasswordWrap$p(Lcom/discord/widgets/auth/WidgetAuthRegister;)Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
new-array v6, v5, [Lcom/discord/utilities/view/validators/InputValidator;
|
|
|
|
|
|
|
|
sget-object v8, Lcom/discord/utilities/view/validators/BasicTextInputValidator;->Companion:Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const v9, 0x7f121136
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v8, v9}, Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;->createRequiredInputValidator(I)Lcom/discord/utilities/view/validators/BasicTextInputValidator;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
aput-object v8, v6, v7
|
|
|
|
|
|
|
|
sget-object v7, Lcom/discord/utilities/auth/AuthUtils;->INSTANCE:Lcom/discord/utilities/auth/AuthUtils;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const v8, 0x7f121130
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Lcom/discord/utilities/auth/AuthUtils;->createPasswordInputValidator(I)Lcom/discord/utilities/view/validators/BasicTextInputValidator;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
aput-object v7, v6, v4
|
|
|
|
|
|
|
|
const-string v4, "password"
|
|
|
|
|
|
|
|
invoke-direct {v2, v4, v3, v6}, Lcom/discord/utilities/view/validators/Input$TextInputLayoutInput;-><init>(Ljava/lang/String;Lcom/google/android/material/textfield/TextInputLayout;[Lcom/discord/utilities/view/validators/InputValidator;)V
|
|
|
|
|
|
|
|
aput-object v2, v1, v5
|
|
|
|
|
|
|
|
new-instance v2, Lcom/discord/utilities/view/validators/Input$GenericInput;
|
|
|
|
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2;->this$0:Lcom/discord/widgets/auth/WidgetAuthRegister;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lcom/discord/widgets/auth/WidgetAuthRegister;->access$getTosOptIn$p(Lcom/discord/widgets/auth/WidgetAuthRegister;)Landroid/widget/CheckBox;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
new-instance v4, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2$1;
|
|
|
|
|
|
|
|
invoke-direct {v4, p0}, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2$1;-><init>(Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2;)V
|
|
|
|
|
|
|
|
sget-object v5, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2$2;->INSTANCE:Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2$2;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const-string v6, "tos"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-direct {v2, v6, v3, v4, v5}, Lcom/discord/utilities/view/validators/Input$GenericInput;-><init>(Ljava/lang/String;Landroid/view/View;Lcom/discord/utilities/view/validators/InputValidator;Lkotlin/jvm/functions/Function2;)V
|
|
|
|
|
|
|
|
const/4 v3, 0x3
|
|
|
|
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/utilities/view/validators/ValidationManager;-><init>([Lcom/discord/utilities/view/validators/Input;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/auth/WidgetAuthRegister$validationManager$2;->invoke()Lcom/discord/utilities/view/validators/ValidationManager;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|