2020-07-08 16:44:49 +00:00
|
|
|
.class public final Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1;
|
2020-07-20 19:00:44 +00:00
|
|
|
.super Lj0/o/c/i;
|
2020-07-08 16:44:49 +00:00
|
|
|
.source "WidgetAgeVerify.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/auth/WidgetAgeVerify;->configureBirthdayInput(Lcom/discord/widgets/auth/WidgetAgeVerifyViewModel$ViewState;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-07-20 19:00:44 +00:00
|
|
|
"Lj0/o/c/i;",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Landroid/view/View;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $timeOfBirth:Ljava/lang/Long;
|
|
|
|
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/widgets/auth/WidgetAgeVerify;Ljava/lang/Long;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1;->$timeOfBirth:Ljava/lang/Long;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-direct {p0, p1}, Lj0/o/c/i;-><init>(I)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1;->invoke(Landroid/view/View;)V
|
|
|
|
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke(Landroid/view/View;)V
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
sget-object v0, Lf/a/a/i;->j:Lf/a/a/i$a;
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string p1, "parentFragmentManager"
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-static {v1, p1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1;->this$0:Lcom/discord/widgets/auth/WidgetAgeVerify;
|
|
|
|
|
|
|
|
const v2, 0x7f1200c0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string p1, "getString(R.string.age_gate_date_of_birth)"
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-static {v2, p1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1;->$timeOfBirth:Ljava/lang/Long;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
sget-object p1, Lcom/discord/utilities/birthday/BirthdayHelper;->INSTANCE:Lcom/discord/utilities/birthday/BirthdayHelper;
|
|
|
|
|
|
|
|
const/16 v3, 0x12
|
|
|
|
|
|
|
|
invoke-virtual {p1, v3}, Lcom/discord/utilities/birthday/BirthdayHelper;->subtractYearsFromToday(I)J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
sget-object p1, Lcom/discord/utilities/birthday/BirthdayHelper;->INSTANCE:Lcom/discord/utilities/birthday/BirthdayHelper;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/utilities/birthday/BirthdayHelper;->getMaxDateOfBirth()J
|
|
|
|
|
|
|
|
move-result-wide v5
|
|
|
|
|
|
|
|
invoke-virtual/range {v0 .. v6}, Lf/a/a/i$a;->a(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;JJ)Lf/a/a/i;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1$$special$$inlined$apply$lambda$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1$$special$$inlined$apply$lambda$1;-><init>(Lcom/discord/widgets/auth/WidgetAgeVerify$configureBirthdayInput$1;)V
|
|
|
|
|
|
|
|
iput-object v0, p1, Lf/a/a/i;->d:Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "it"
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|