836 lines
22 KiB
Smali
836 lines
22 KiB
Smali
.class public final Lcom/discord/a/a;
|
|
.super Lcom/discord/app/AppDialog;
|
|
.source "PremiumUpsellDialog.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/a/a$d;,
|
|
Lcom/discord/a/a$c;,
|
|
Lcom/discord/a/a$b;,
|
|
Lcom/discord/a/a$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
.field public static final ww:Lcom/discord/a/a$a;
|
|
|
|
|
|
# instance fields
|
|
.field private final close$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field private final learnMore$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field private final viewPager$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field private final wu:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field private wv:Lcom/discord/a/a$d;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 6
|
|
|
|
const/4 v0, 0x4
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v1, Lkotlin/jvm/internal/v;
|
|
|
|
const-class v2, Lcom/discord/a/a;
|
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/w;->Q(Ljava/lang/Class;)Lkotlin/reflect/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "viewPager"
|
|
|
|
const-string v4, "getViewPager()Landroidx/viewpager/widget/ViewPager;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/v;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/w;->a(Lkotlin/jvm/internal/u;)Lkotlin/reflect/d;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lkotlin/jvm/internal/v;
|
|
|
|
const-class v3, Lcom/discord/a/a;
|
|
|
|
invoke-static {v3}, Lkotlin/jvm/internal/w;->Q(Ljava/lang/Class;)Lkotlin/reflect/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "tabDots"
|
|
|
|
const-string v5, "getTabDots()Lcom/google/android/material/tabs/TabLayout;"
|
|
|
|
invoke-direct {v1, v3, v4, v5}, Lkotlin/jvm/internal/v;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/w;->a(Lkotlin/jvm/internal/u;)Lkotlin/reflect/d;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lkotlin/jvm/internal/v;
|
|
|
|
const-class v3, Lcom/discord/a/a;
|
|
|
|
invoke-static {v3}, Lkotlin/jvm/internal/w;->Q(Ljava/lang/Class;)Lkotlin/reflect/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "close"
|
|
|
|
const-string v5, "getClose()Landroid/view/View;"
|
|
|
|
invoke-direct {v1, v3, v4, v5}, Lkotlin/jvm/internal/v;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/w;->a(Lkotlin/jvm/internal/u;)Lkotlin/reflect/d;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v3, 0x2
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lkotlin/jvm/internal/v;
|
|
|
|
const-class v3, Lcom/discord/a/a;
|
|
|
|
invoke-static {v3}, Lkotlin/jvm/internal/w;->Q(Ljava/lang/Class;)Lkotlin/reflect/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "learnMore"
|
|
|
|
const-string v5, "getLearnMore()Landroid/view/View;"
|
|
|
|
invoke-direct {v1, v3, v4, v5}, Lkotlin/jvm/internal/v;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/w;->a(Lkotlin/jvm/internal/u;)Lkotlin/reflect/d;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v3, 0x3
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
sput-object v0, Lcom/discord/a/a;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v0, Lcom/discord/a/a$a;
|
|
|
|
invoke-direct {v0, v2}, Lcom/discord/a/a$a;-><init>(B)V
|
|
|
|
sput-object v0, Lcom/discord/a/a;->ww:Lcom/discord/a/a$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppDialog;-><init>()V
|
|
|
|
const v0, 0x7f0a0516
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/a/a;->viewPager$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0512
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/a/a;->wu:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0511
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/a/a;->close$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0515
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/a/a;->learnMore$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a(Landroidx/fragment/app/FragmentManager;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 8
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
move-object v3, p3
|
|
|
|
move-object v5, p4
|
|
|
|
invoke-static/range {v0 .. v7}, Lcom/discord/a/a$a;->a(Landroidx/fragment/app/FragmentManager;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final dS()Landroidx/viewpager/widget/ViewPager;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/a/a;->viewPager$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/a/a;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/viewpager/widget/ViewPager;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getContentViewResId()I
|
|
.locals 1
|
|
|
|
const v0, 0x7f0d005a
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final onCreate(Landroid/os/Bundle;)V
|
|
.locals 11
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppDialog;->onCreate(Landroid/os/Bundle;)V
|
|
|
|
invoke-virtual {p0}, Lcom/discord/a/a;->getActivity()Landroidx/fragment/app/FragmentActivity;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/app/Activity;
|
|
|
|
const/4 v0, 0x4
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {p1, v2, v1, v0, v1}, Lcom/discord/utilities/keyboard/Keyboard;->setKeyboardOpen$default(Landroid/app/Activity;ZLandroid/view/View;ILjava/lang/Object;)V
|
|
|
|
const/4 p1, 0x6
|
|
|
|
new-array p1, p1, [Lcom/discord/a/a$b;
|
|
|
|
new-instance v1, Lcom/discord/a/a$b;
|
|
|
|
const v3, 0x7f120e39
|
|
|
|
invoke-virtual {p0, v3}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "getString(R.string.premi\u2026psell_tag_passive_mobile)"
|
|
|
|
invoke-static {v3, v4}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v4, 0x7f120e38
|
|
|
|
invoke-virtual {p0, v4}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "getString(R.string.premi\u2026l_tag_description_mobile)"
|
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v5, 0x7f080409
|
|
|
|
invoke-direct {v1, v5, v3, v4}, Lcom/discord/a/a$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
|
|
|
aput-object v1, p1, v2
|
|
|
|
new-instance v1, Lcom/discord/a/a$b;
|
|
|
|
const v3, 0x7f120e36
|
|
|
|
invoke-virtual {p0, v3}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "getString(R.string.premi\u2026ell_emoji_passive_mobile)"
|
|
|
|
invoke-static {v3, v4}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v4, 0x7f120e35
|
|
|
|
invoke-virtual {p0, v4}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "getString(R.string.premi\u2026emoji_description_mobile)"
|
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v5, 0x7f0803eb
|
|
|
|
invoke-direct {v1, v5, v3, v4}, Lcom/discord/a/a$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aput-object v1, p1, v3
|
|
|
|
new-instance v1, Lcom/discord/a/a$b;
|
|
|
|
const v4, 0x7f120e30
|
|
|
|
invoke-virtual {p0, v4}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "getString(R.string.premi\u2026ed_emojis_passive_mobile)"
|
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v5, 0x7f120e2f
|
|
|
|
invoke-virtual {p0, v5}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v6, "getString(R.string.premi\u2026mojis_description_mobile)"
|
|
|
|
invoke-static {v5, v6}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v6, 0x7f0803c8
|
|
|
|
invoke-direct {v1, v6, v4, v5}, Lcom/discord/a/a$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v4, 0x2
|
|
|
|
aput-object v1, p1, v4
|
|
|
|
new-instance v1, Lcom/discord/a/a$b;
|
|
|
|
const v5, 0x7f120e3c
|
|
|
|
invoke-virtual {p0, v5}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v6, "getString(R.string.premi\u2026ll_upload_passive_mobile)"
|
|
|
|
invoke-static {v5, v6}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-array v4, v4, [Ljava/lang/Object;
|
|
|
|
const v6, 0x7f1205aa
|
|
|
|
invoke-virtual {p0, v6}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
aput-object v6, v4, v2
|
|
|
|
const v6, 0x7f1205a8
|
|
|
|
invoke-virtual {p0, v6}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
aput-object v6, v4, v3
|
|
|
|
const v6, 0x7f120e3b
|
|
|
|
invoke-virtual {p0, v6, v4}, Lcom/discord/a/a;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v6, "getString(R.string.premi\u2026le_upload_limit_premium))"
|
|
|
|
invoke-static {v4, v6}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v6, 0x7f08040a
|
|
|
|
invoke-direct {v1, v6, v5, v4}, Lcom/discord/a/a$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v4, 0x3
|
|
|
|
aput-object v1, p1, v4
|
|
|
|
new-instance v1, Lcom/discord/a/a$b;
|
|
|
|
const v4, 0x7f120e2d
|
|
|
|
invoke-virtual {p0, v4}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "getString(R.string.premi\u2026ed_avatar_passive_mobile)"
|
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v5, 0x7f120e2c
|
|
|
|
invoke-virtual {p0, v5}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v6, "getString(R.string.premi\u2026vatar_description_mobile)"
|
|
|
|
invoke-static {v5, v6}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v6, 0x7f0803d0
|
|
|
|
invoke-direct {v1, v6, v4, v5}, Lcom/discord/a/a$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
|
|
|
aput-object v1, p1, v0
|
|
|
|
new-instance v0, Lcom/discord/a/a$b;
|
|
|
|
const v1, 0x7f120e33
|
|
|
|
invoke-virtual {p0, v1}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v4, "getString(R.string.premi\u2026ell_badge_passive_mobile)"
|
|
|
|
invoke-static {v1, v4}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v4, 0x7f120e32
|
|
|
|
invoke-virtual {p0, v4}, Lcom/discord/a/a;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "getString(R.string.premi\u2026badge_description_mobile)"
|
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v5, 0x7f0803d3
|
|
|
|
invoke-direct {v0, v5, v1, v4}, Lcom/discord/a/a$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x5
|
|
|
|
aput-object v0, p1, v1
|
|
|
|
invoke-static {p1}, Lkotlin/a/m;->l([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/a/a;->getArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "extra_page_number"
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Lcom/discord/a/a;->getArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v4, "<set-?>"
|
|
|
|
const-string v5, ""
|
|
|
|
const-string v6, "extra_header_string"
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
invoke-virtual {v1, v6}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-ne v1, v3, :cond_3
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/discord/a/a$b;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/a/a;->getArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v7
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
invoke-virtual {v7, v6}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
if-nez v7, :cond_2
|
|
|
|
:cond_1
|
|
move-object v7, v5
|
|
|
|
:cond_2
|
|
invoke-static {v7, v4}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iput-object v7, v1, Lcom/discord/a/a$b;->headerText:Ljava/lang/String;
|
|
|
|
:cond_3
|
|
invoke-virtual {p0}, Lcom/discord/a/a;->getArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v7, "extra_body_text"
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
invoke-virtual {v1, v7}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-ne v1, v3, :cond_6
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/discord/a/a$b;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/a/a;->getArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v8
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
invoke-virtual {v8, v7}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
if-nez v8, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
move-object v5, v8
|
|
|
|
:cond_5
|
|
:goto_1
|
|
invoke-static {v5, v4}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iput-object v5, v1, Lcom/discord/a/a$b;->bodyText:Ljava/lang/String;
|
|
|
|
:cond_6
|
|
new-instance v1, Lcom/discord/a/a$d;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/a/a;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "childFragmentManager"
|
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {v1, v4}, Lcom/discord/a/a$d;-><init>(Landroidx/fragment/app/FragmentManager;)V
|
|
|
|
iput-object v1, p0, Lcom/discord/a/a;->wv:Lcom/discord/a/a$d;
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/discord/a/a$b;
|
|
|
|
iget-object v4, p0, Lcom/discord/a/a;->wv:Lcom/discord/a/a$d;
|
|
|
|
if-nez v4, :cond_7
|
|
|
|
const-string v5, "pagerAdapter"
|
|
|
|
invoke-static {v5}, Lkotlin/jvm/internal/k;->dR(Ljava/lang/String;)V
|
|
|
|
:cond_7
|
|
invoke-static {v1}, Lkotlin/a/m;->ba(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/util/Collection;
|
|
|
|
check-cast p1, Ljava/lang/Iterable;
|
|
|
|
new-instance v5, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
check-cast v5, Ljava/util/Collection;
|
|
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v8, 0x0
|
|
|
|
:goto_2
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v9
|
|
|
|
if-eqz v9, :cond_b
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
add-int/lit8 v10, v8, 0x1
|
|
|
|
if-gez v8, :cond_8
|
|
|
|
invoke-static {}, Lkotlin/a/m;->DV()V
|
|
|
|
:cond_8
|
|
if-eq v8, v0, :cond_9
|
|
|
|
const/4 v8, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_9
|
|
const/4 v8, 0x0
|
|
|
|
:goto_3
|
|
if-eqz v8, :cond_a
|
|
|
|
invoke-interface {v5, v9}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_a
|
|
move v8, v10
|
|
|
|
goto :goto_2
|
|
|
|
:cond_b
|
|
check-cast v5, Ljava/util/List;
|
|
|
|
check-cast v5, Ljava/lang/Iterable;
|
|
|
|
invoke-static {v1, v5}, Lkotlin/a/m;->b(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Iterable;
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
const/16 v1, 0xa
|
|
|
|
invoke-static {p1, v1}, Lkotlin/a/m;->a(Ljava/lang/Iterable;I)I
|
|
|
|
move-result v1
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
check-cast v0, Ljava/util/Collection;
|
|
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_4
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/discord/a/a$b;
|
|
|
|
sget-object v2, Lcom/discord/a/a$c;->wy:Lcom/discord/a/a$c$a;
|
|
|
|
iget v2, v1, Lcom/discord/a/a$b;->wx:I
|
|
|
|
iget-object v3, v1, Lcom/discord/a/a$b;->headerText:Ljava/lang/String;
|
|
|
|
iget-object v1, v1, Lcom/discord/a/a$b;->bodyText:Ljava/lang/String;
|
|
|
|
const-string v5, "headerText"
|
|
|
|
invoke-static {v3, v5}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v5, "bodyText"
|
|
|
|
invoke-static {v1, v5}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v5, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v5}, Landroid/os/Bundle;-><init>()V
|
|
|
|
const-string v8, "extra_image_id"
|
|
|
|
invoke-virtual {v5, v8, v2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
invoke-virtual {v5, v6, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v5, v7, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
new-instance v1, Lcom/discord/a/a$c;
|
|
|
|
invoke-direct {v1}, Lcom/discord/a/a$c;-><init>()V
|
|
|
|
invoke-virtual {v1, v5}, Lcom/discord/a/a$c;->setArguments(Landroid/os/Bundle;)V
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_4
|
|
|
|
:cond_c
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
iput-object v0, v4, Lcom/discord/a/a$d;->wz:Ljava/util/List;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onViewBound(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
const-string v0, "view"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppDialog;->onViewBound(Landroid/view/View;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/a/a;->dS()Landroidx/viewpager/widget/ViewPager;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/discord/a/a;->wv:Lcom/discord/a/a$d;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v1, "pagerAdapter"
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/k;->dR(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
check-cast v0, Landroidx/viewpager/widget/PagerAdapter;
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/viewpager/widget/ViewPager;->setAdapter(Landroidx/viewpager/widget/PagerAdapter;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/a/a;->wu:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v0, Lcom/discord/a/a;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
invoke-interface {p1, p0, v0}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/google/android/material/tabs/TabLayout;
|
|
|
|
invoke-direct {p0}, Lcom/discord/a/a;->dS()Landroidx/viewpager/widget/ViewPager;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Lcom/google/android/material/tabs/TabLayout;->setupWithViewPager(Landroidx/viewpager/widget/ViewPager;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/a/a;->close$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v0, Lcom/discord/a/a;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
invoke-interface {p1, p0, v0}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
new-instance v0, Lcom/discord/a/a$e;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/a/a$e;-><init>(Lcom/discord/a/a;)V
|
|
|
|
check-cast v0, Landroid/view/View$OnClickListener;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/a/a;->learnMore$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v0, Lcom/discord/a/a;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v1, 0x3
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
invoke-interface {p1, p0, v0}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
new-instance v0, Lcom/discord/a/a$f;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/a/a$f;-><init>(Lcom/discord/a/a;)V
|
|
|
|
check-cast v0, Landroid/view/View$OnClickListener;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
.end method
|