RoomsYoutubeComponent.smali

.class public final Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.super Lcom/imo/hd/component/BaseActivityComponent;
.source "SourceFile"

# interfaces
.implements Lcom/imo/android/imoim/rooms/av/component/j;
.implements Lcom/imo/android/imoim/web/youtube/a;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/imo/hd/component/BaseActivityComponent<",
        "Lcom/imo/android/imoim/rooms/av/component/j;",
        ">;",
        "Lcom/imo/android/imoim/rooms/av/component/j;",
        "Lcom/imo/android/imoim/web/youtube/a;"
    }
.end annotation


# static fields
.field static final synthetic b:[Lkotlin/k/g;


# instance fields
.field public final c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

.field public d:Lcom/imo/android/imoim/util/bl;

.field public e:Z

.field private final f:Landroidx/cardview/widget/CardView;

.field private g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

.field private h:Z

.field private i:Ljava/lang/String;

.field private j:Z

.field private k:Ljava/lang/String;

.field private l:Lcom/imo/android/imoim/rooms/data/v;

.field private m:Z

.field private n:Lkotlin/f/a/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lkotlin/f/a/a<",
            "Lkotlin/w;",
            ">;"
        }
    .end annotation
.end field

.field private final o:Lkotlin/f;

.field private final p:Lkotlin/f;

.field private q:Z

.field private final r:Ljava/lang/String;

.field private s:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

.field private t:Lcom/imo/android/imoim/util/bk;

.field private final u:Lcom/imo/android/core/component/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/imo/android/core/component/c<",
            "*>;"
        }
    .end annotation
.end field

.field private final v:Landroid/view/View;


# direct methods
.method static constructor <clinit>()V
    .registers 6

    const-class v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    const/4 v1, 0x2

    new-array v1, v1, [Lkotlin/k/g;

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v3

    const-string v4, "youtubeViewModel"

    const-string v5, "getYoutubeViewModel()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;"

    invoke-direct {v2, v3, v4, v5}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v2

    check-cast v2, Lkotlin/k/g;

    const/4 v3, 0x0

    aput-object v2, v1, v3

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v0

    const-string v3, "youtubeTagViewModel"

    const-string v4, "getYoutubeTagViewModel()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;"

    invoke-direct {v2, v0, v3, v4}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v0

    check-cast v0, Lkotlin/k/g;

    const/4 v2, 0x1

    aput-object v0, v1, v2

    sput-object v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->b:[Lkotlin/k/g;

    return-void
.end method

.method public constructor <init>(Lcom/imo/android/core/component/c;Landroid/view/View;Z)V
    .registers 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/imo/android/core/component/c<",
            "*>;",
            "Landroid/view/View;",
            "Z)V"
        }
    .end annotation

    const-string v0, "help"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "rootView"

    invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 46
    invoke-direct {p0, p1}, Lcom/imo/hd/component/BaseActivityComponent;-><init>(Lcom/imo/android/core/component/c;)V

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->u:Lcom/imo/android/core/component/c;

    iput-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    iput-boolean p3, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    const p1, 0x7f09154f

    .line 48
    invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    const-string p2, "rootView.findViewById(R.id.view_player_controls)"

    invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast p1, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    .line 49
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    const p2, 0x7f09154e

    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    const-string p2, "rootView.findViewById(R.id.view_player_container)"

    invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast p1, Landroidx/cardview/widget/CardView;

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f:Landroidx/cardview/widget/CardView;

    const-string p1, ""

    .line 53
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i:Ljava/lang/String;

    .line 57
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k:Ljava/lang/String;

    .line 58
    new-instance p1, Lcom/imo/android/imoim/rooms/data/v;

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x7

    const/4 v5, 0x0

    move-object v0, p1

    invoke-direct/range {v0 .. v5}, Lcom/imo/android/imoim/rooms/data/v;-><init>(Ljava/util/List;Ljava/lang/String;Ljava/lang/String;ILkotlin/f/b/j;)V

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 61
    sget-object p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$a;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$a;

    check-cast p1, Lkotlin/f/a/a;

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n:Lkotlin/f/a/a;

    .line 63
    sget-object p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$n;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$n;

    check-cast p1, Lkotlin/f/a/a;

    invoke-static {p1}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object p1

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->o:Lkotlin/f;

    .line 66
    new-instance p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$m;

    invoke-direct {p1, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$m;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast p1, Lkotlin/f/a/a;

    invoke-static {p1}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object p1

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->p:Lkotlin/f;

    const-string p1, "video"

    .line 100
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r:Ljava/lang/String;

    return-void
.end method

.method public static final synthetic A(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
    .registers 1

    .line 45
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h()Z

    move-result p0

    return p0
.end method

.method public static final synthetic B(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Landroid/view/View;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    return-object p0
.end method

.method public static final synthetic C(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
    .registers 1

    .line 45
    iget-boolean p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j:Z

    return p0
.end method

.method public static final synthetic D(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
    .registers 3

    .line 50267
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v0

    sget-object v1, Lcom/imo/android/imoim/story/g/b$a;->ENDED:Lcom/imo/android/imoim/story/g/b$a;

    if-eq v0, v1, :cond_17

    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p0

    .line 50268
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 50269
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 50270
    iget-boolean p0, p0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->c:Z

    if-eqz p0, :cond_15

    goto :goto_17

    :cond_15
    const/4 p0, 0x0

    return p0

    :cond_17
    :goto_17
    const/4 p0, 0x1

    return p0
.end method

.method static synthetic a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V
    .registers 3

    .line 442
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 28011
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/data/v;->c:Ljava/lang/String;

    const/4 v1, 0x0

    .line 442
    invoke-direct {p0, v1, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(ZLjava/lang/String;)V

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;F)V
    .registers 2

    .line 45
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(F)V

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;Z)V
    .registers 11

    .line 50157
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "updateVideo videoInfo: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, ", videoId="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ", manualSync="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v1, ", playState="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "RoomsYoutubeComponent"

    .line 50217
    invoke-static {v1, v0}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "popular"

    const/4 v2, 0x1

    if-eqz p1, :cond_171

    .line 50219
    iget-object v3, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->k:Ljava/lang/String;

    .line 50159
    check-cast v3, Ljava/lang/CharSequence;

    const-string v4, "stop"

    check-cast v4, Ljava/lang/CharSequence;

    invoke-static {v3, v4}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v3

    xor-int/2addr v3, v2

    invoke-virtual {p0, v3}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Z)V

    .line 50160
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h()Z

    move-result v3

    if-nez v3, :cond_54

    const-string p0, "player not ready yet"

    .line 50220
    invoke-static {v1, p0}, Lcom/imo/android/imoim/util/bt;->e(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    .line 50164
    :cond_54
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v1

    .line 50222
    iget-object v1, v1, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    invoke-virtual {v1, p1, p2}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->a(Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;Z)Z

    move-result v1

    const-string v3, "playing"

    if-eqz v1, :cond_7f

    .line 50223
    iget-wide v4, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->j:J

    const-wide/16 v6, 0x0

    cmp-long v1, v4, v6

    if-nez v1, :cond_171

    .line 50224
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->k:Ljava/lang/String;

    .line 50165
    check-cast v1, Ljava/lang/CharSequence;

    check-cast v3, Ljava/lang/CharSequence;

    invoke-static {v1, v3}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_171

    .line 50167
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

    if-eqz v1, :cond_171

    invoke-virtual {v1}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->h()V

    goto/16 :goto_171

    .line 50225
    :cond_7f
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->k:Ljava/lang/String;

    .line 50172
    check-cast v1, Ljava/lang/CharSequence;

    check-cast v3, Ljava/lang/CharSequence;

    invoke-static {v1, v3}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    .line 50226
    iget-object v3, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->e:Ljava/lang/String;

    .line 50173
    invoke-direct {p0, v3}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(Ljava/lang/String;)V

    .line 50227
    iget-object v3, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->h:Ljava/lang/String;

    .line 50174
    invoke-direct {p0, v3}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e(Ljava/lang/String;)V

    .line 50177
    iget-object v3, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

    if-eqz v3, :cond_9a

    invoke-virtual {v3}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->h()V

    .line 50228
    :cond_9a
    iget-object v3, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;

    .line 50179
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v3

    const/4 v4, 0x0

    if-eqz v3, :cond_e6

    .line 50181
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t()Z

    move-result v3

    if-nez v3, :cond_af

    if-nez v1, :cond_115

    .line 50229
    :cond_af
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->k:Ljava/lang/String;

    .line 50182
    check-cast v1, Ljava/lang/CharSequence;

    const-string v3, "pause"

    check-cast v3, Ljava/lang/CharSequence;

    invoke-static {v1, v3}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_d1

    if-eqz p2, :cond_115

    .line 50183
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->p()F

    move-result v1

    .line 50230
    iget-wide v5, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->j:J

    long-to-float v3, v5

    cmpg-float v1, v1, v3

    if-eqz v1, :cond_115

    .line 50231
    iget-wide v5, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->j:J

    long-to-float v1, v5

    .line 50184
    invoke-direct {p0, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e(F)V

    goto :goto_115

    .line 50232
    :cond_d1
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->k:Ljava/lang/String;

    .line 50186
    check-cast v1, Ljava/lang/CharSequence;

    const-string v3, "seek"

    check-cast v3, Ljava/lang/CharSequence;

    invoke-static {v1, v3}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_115

    .line 50233
    iget-wide v5, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->j:J

    long-to-float v1, v5

    .line 50187
    invoke-direct {p0, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e(F)V

    goto :goto_115

    .line 50234
    :cond_e6
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;

    .line 50190
    check-cast v1, Ljava/lang/CharSequence;

    invoke-interface {v1}, Ljava/lang/CharSequence;->length()I

    move-result v1

    if-nez v1, :cond_f2

    const/4 v1, 0x1

    goto :goto_f3

    :cond_f2
    const/4 v1, 0x0

    :goto_f3
    if-nez v1, :cond_110

    .line 50191
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h()Z

    move-result v1

    if-nez v1, :cond_106

    .line 50235
    iget-wide v5, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->j:J

    long-to-float v1, v5

    .line 50192
    invoke-direct {p0, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(F)V

    .line 50236
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;

    .line 50193
    invoke-virtual {p0, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->b(Ljava/lang/String;)V

    .line 50195
    :cond_106
    iget-boolean v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    if-nez v1, :cond_115

    .line 50196
    sget-object v1, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->e()V

    goto :goto_115

    .line 50199
    :cond_110
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->b()V

    .line 50202
    :cond_115
    :goto_115
    iget-boolean v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    if-nez v1, :cond_134

    .line 50237
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->f:Ljava/lang/String;

    .line 50202
    check-cast v1, Ljava/lang/CharSequence;

    invoke-static {v1}, Lkotlin/m/p;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    xor-int/2addr v1, v2

    if-eqz v1, :cond_134

    .line 50238
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->f:Ljava/lang/String;

    .line 50202
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k()Ljava/lang/String;

    move-result-object v3

    invoke-static {v1, v3}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    xor-int/2addr v1, v2

    if-eqz v1, :cond_134

    .line 50239
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->f:Ljava/lang/String;

    goto :goto_16e

    .line 50204
    :cond_134
    iget-boolean v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    if-nez v1, :cond_14d

    .line 50240
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->f:Ljava/lang/String;

    .line 50204
    check-cast v1, Ljava/lang/CharSequence;

    invoke-static {v1}, Lkotlin/m/p;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_14d

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 50241
    iget-object v1, v1, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 50204
    invoke-interface {v1}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_14d

    goto :goto_16d

    :cond_14d
    if-eqz p2, :cond_171

    .line 50206
    iget-boolean v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    if-eqz v1, :cond_171

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 50242
    iget-object v1, v1, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 50206
    invoke-interface {v1}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_171

    .line 50243
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->f:Ljava/lang/String;

    .line 50208
    check-cast v1, Ljava/lang/CharSequence;

    invoke-interface {v1}, Ljava/lang/CharSequence;->length()I

    move-result v1

    if-lez v1, :cond_168

    const/4 v4, 0x1

    :cond_168
    if-eqz v4, :cond_16d

    .line 50244
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->f:Ljava/lang/String;

    goto :goto_16e

    :cond_16d
    :goto_16d
    move-object v1, v0

    .line 50208
    :goto_16e
    invoke-direct {p0, v2, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(ZLjava/lang/String;)V

    :cond_171
    :goto_171
    if-eqz p2, :cond_17c

    if-nez p1, :cond_17c

    .line 50212
    iget-boolean p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    if-eqz p1, :cond_17c

    .line 50213
    invoke-direct {p0, v2, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(ZLjava/lang/String;)V

    .line 50215
    :cond_17c
    iput-boolean v2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j:Z

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Lcom/imo/android/imoim/rooms/data/v;)V
    .registers 2

    .line 45
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    return-void
.end method

.method static synthetic a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
    .registers 3

    const/4 v0, 0x1

    .line 598
    invoke-direct {p0, p1, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method private final a(Ljava/lang/String;Z)V
    .registers 10

    if-nez p1, :cond_3

    return-void

    .line 601
    :cond_3
    sget-object v0, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->b()V

    .line 602
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-interface {v0}, Ljava/lang/CharSequence;->length()I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-lez v0, :cond_18

    const/4 v0, 0x1

    goto :goto_19

    :cond_18
    const/4 v0, 0x0

    :goto_19
    if-eqz v0, :cond_2f

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0, p1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    xor-int/2addr v0, v1

    if-eqz v0, :cond_2f

    .line 603
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r:Ljava/lang/String;

    new-array v1, v2, [Lkotlin/m;

    const-string v3, "switch"

    invoke-static {v3, v0, v1}, Lcom/imo/android/imoim/rooms/b/g;->a(Ljava/lang/String;Ljava/lang/String;[Lkotlin/m;)V

    .line 605
    :cond_2f
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c(Ljava/lang/String;)V

    .line 606
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    if-eqz v0, :cond_39

    invoke-virtual {v0, p1, v2, p2}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->a(Ljava/lang/String;IZ)V

    .line 607
    :cond_39
    new-instance p1, Ljava/lang/StringBuilder;

    const-string v0, "loadVideo "

    invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "RoomsYoutubeComponent"

    .line 28071
    invoke-static {v0, p1}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 608
    sget-object p1, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 29070
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 608
    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v1

    if-eqz p2, :cond_62

    const-string p1, "playing"

    goto :goto_64

    :cond_62
    const-string p1, "pause"

    :goto_64
    move-object v2, p1

    .line 609
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k()Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q()Ljava/lang/String;

    move-result-object v5

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r()Ljava/lang/String;

    move-result-object v6

    .line 608
    invoke-static/range {v0 .. v6}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    .line 610
    sget-object p1, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->e()V

    return-void
.end method

.method private final a(ZLjava/lang/String;)V
    .registers 10

    .line 444
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 24011
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/data/v;->c:Ljava/lang/String;

    .line 444
    invoke-static {p2, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    xor-int/lit8 v0, v0, 0x1

    if-eqz v0, :cond_19

    .line 445
    new-instance v0, Lcom/imo/android/imoim/rooms/data/v;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v5, 0x3

    const/4 v6, 0x0

    move-object v1, v0

    move-object v4, p2

    invoke-direct/range {v1 .. v6}, Lcom/imo/android/imoim/rooms/data/v;-><init>(Ljava/util/List;Ljava/lang/String;Ljava/lang/String;ILkotlin/f/b/j;)V

    iput-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 447
    :cond_19
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;

    move-result-object p2

    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    const-string v2, "roomId"

    invoke-static {v0, v2}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v2, "res"

    invoke-static {v1, v2}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    if-eqz p1, :cond_44

    .line 25007
    iget-object p1, v1, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 24024
    check-cast p1, Ljava/util/Collection;

    invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z

    move-result p1

    xor-int/lit8 p1, p1, 0x1

    if-eqz p1, :cond_44

    .line 24026
    invoke-virtual {p2}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;->a()Landroidx/lifecycle/MutableLiveData;

    move-result-object p1

    .line 26007
    iget-object v2, v1, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 24026
    invoke-virtual {p1, v2}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V

    .line 24028
    :cond_44
    iget-boolean p1, p2, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;->b:Z

    if-eqz p1, :cond_52

    .line 26011
    iget-object p1, v1, Lcom/imo/android/imoim/rooms/data/v;->c:Ljava/lang/String;

    .line 24028
    iget-object v2, p2, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;->c:Ljava/lang/String;

    invoke-static {p1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_66

    .line 27011
    :cond_52
    iget-object p1, v1, Lcom/imo/android/imoim/rooms/data/v;->c:Ljava/lang/String;

    .line 24031
    iput-object p1, p2, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;->c:Ljava/lang/String;

    .line 24033
    invoke-virtual {p2}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;->h()Lkotlinx/coroutines/af;

    move-result-object p1

    new-instance v2, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM$b;

    const/4 v3, 0x0

    invoke-direct {v2, p2, v0, v1, v3}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM$b;-><init>(Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;Ljava/lang/String;Lcom/imo/android/imoim/rooms/data/v;Lkotlin/c/c;)V

    check-cast v2, Lkotlin/f/a/m;

    const/4 p2, 0x3

    invoke-static {p1, v3, v3, v2, p2}, Lkotlinx/coroutines/e;->a(Lkotlinx/coroutines/af;Lkotlin/c/e;Lkotlinx/coroutines/ah;Lkotlin/f/a/m;I)Lkotlinx/coroutines/br;

    :cond_66
    return-void
.end method

.method public static final synthetic b(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
    .registers 2

    .line 45
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(Ljava/lang/String;)V

    return-void
.end method

.method public static final synthetic b(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t()Z

    move-result p0

    return p0
.end method

.method public static final synthetic c(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V
    .registers 9

    .line 50074
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    move-object v1, v0

    check-cast v1, Landroid/content/Context;

    const v0, 0x7f0f07ea

    .line 50075
    invoke-static {v0}, Lcom/imo/hd/util/d;->a(I)Ljava/lang/String;

    move-result-object v3

    .line 50077
    new-instance v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$j;

    invoke-direct {v0, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$j;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    move-object v5, v0

    check-cast v5, Lcom/imo/xui/widget/a/b$c;

    const/4 v2, 0x0

    const v4, 0x7f0f0287

    const v6, 0x7f0f01f0

    const/4 v7, 0x0

    .line 50074
    invoke-static/range {v1 .. v7}, Lcom/imo/android/imoim/util/common/l;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/imo/xui/widget/a/b$c;ILcom/imo/xui/widget/a/b$c;)V

    return-void
.end method

.method public static final synthetic c(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
    .registers 2

    .line 45
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e(Ljava/lang/String;)V

    return-void
.end method

.method private final c(Ljava/lang/String;)V
    .registers 3

    .line 73
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 2039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 2044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 73
    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->b(Ljava/lang/String;)V

    return-void
.end method

.method private final d(F)V
    .registers 3

    .line 82
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 6039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 6044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 6396
    iput p1, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->d:F

    return-void
.end method

.method public static final synthetic d(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V
    .registers 4

    const/4 v0, 0x0

    .line 50082
    invoke-virtual {p0, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Z)V

    const-string v1, "chat"

    .line 50083
    invoke-static {v1}, Lcom/imo/android/imoim/rooms/av/a/c;->b(Ljava/lang/String;)V

    .line 50084
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r:Ljava/lang/String;

    new-array v0, v0, [Lkotlin/m;

    const-string v2, "close"

    invoke-static {v2, v1, v0}, Lcom/imo/android/imoim/rooms/b/g;->a(Ljava/lang/String;Ljava/lang/String;[Lkotlin/m;)V

    .line 50085
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n:Lkotlin/f/a/a;

    invoke-interface {p0}, Lkotlin/f/a/a;->invoke()Ljava/lang/Object;

    return-void
.end method

.method public static final synthetic d(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
    .registers 2

    .line 45
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k:Ljava/lang/String;

    return-void
.end method

.method private final d(Ljava/lang/String;)V
    .registers 3

    .line 87
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 8039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 8044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 8400
    iput-object p1, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->h:Ljava/lang/String;

    .line 88
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->setVideoTitle(Ljava/lang/String;)V

    return-void
.end method

.method public static final synthetic e(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/util/bk;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    return-object p0
.end method

.method private final e(F)V
    .registers 4

    .line 703
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(F)V

    .line 704
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->p()F

    move-result v0

    float-to-int v0, v0

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->o()F

    move-result v1

    invoke-virtual {p1, v0, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a(IF)V

    return-void
.end method

.method public static final synthetic e(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
    .registers 3

    const/4 v0, 0x0

    .line 45
    invoke-direct {p0, p1, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method private final e(Ljava/lang/String;)V
    .registers 3

    .line 95
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 11039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 11044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 95
    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->a(Ljava/lang/String;)V

    return-void
.end method

.method public static final synthetic f(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
    .registers 7

    .line 50245
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/b/d;->d()Z

    move-result v0

    if-eqz v0, :cond_64

    .line 50248
    sget-object v0, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->e()Lcom/imo/android/imoim/rooms/data/j;

    move-result-object v0

    if-eqz v0, :cond_64

    .line 50249
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    instance-of v2, v1, Lcom/imo/android/imoim/rooms/av/RoomsAVActivity;

    const/4 v3, 0x0

    if-nez v2, :cond_18

    move-object v1, v3

    :cond_18
    check-cast v1, Lcom/imo/android/imoim/rooms/av/RoomsAVActivity;

    if-eqz v1, :cond_23

    .line 50253
    iget-object v2, v0, Lcom/imo/android/imoim/rooms/data/j;->c:Ljava/lang/String;

    .line 50254
    iget-object v4, v0, Lcom/imo/android/imoim/rooms/data/j;->d:Ljava/lang/String;

    .line 50249
    invoke-virtual {v1, v2, v4, p1}, Lcom/imo/android/imoim/rooms/av/RoomsAVActivity;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 50250
    :cond_23
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object p0

    instance-of v1, p0, Lcom/imo/android/imoim/av/party/ui/AudioActivity2;

    if-nez v1, :cond_2c

    goto :goto_2d

    :cond_2c
    move-object v3, p0

    :goto_2d
    check-cast v3, Lcom/imo/android/imoim/av/party/ui/AudioActivity2;

    if-eqz v3, :cond_64

    .line 50255
    iget-object p0, v0, Lcom/imo/android/imoim/rooms/data/j;->c:Ljava/lang/String;

    .line 50256
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/data/j;->d:Ljava/lang/String;

    .line 50257
    iget-object v1, v3, Lcom/imo/android/imoim/av/party/ui/AudioActivity2;->d:Lcom/imo/android/imoim/av/party/component/AudioFeatureComponent;

    const/4 v2, 0x1

    if-eqz v1, :cond_41

    invoke-virtual {v1}, Lcom/imo/android/imoim/av/party/component/AudioFeatureComponent;->g()Z

    move-result v1

    if-ne v1, v2, :cond_41

    return-void

    .line 50261
    :cond_41
    iget-object v1, v3, Lcom/imo/android/imoim/av/party/ui/AudioActivity2;->b:Lcom/imo/android/imoim/rooms/av/view/PartyNotifyView;

    if-nez v1, :cond_56

    .line 50262
    new-instance v1, Lcom/imo/android/imoim/rooms/av/view/PartyNotifyView;

    move-object v4, v3

    check-cast v4, Landroid/content/Context;

    invoke-direct {v1, v4}, Lcom/imo/android/imoim/rooms/av/view/PartyNotifyView;-><init>(Landroid/content/Context;)V

    iput-object v1, v3, Lcom/imo/android/imoim/av/party/ui/AudioActivity2;->b:Lcom/imo/android/imoim/rooms/av/view/PartyNotifyView;

    .line 50263
    iget-object v1, v3, Lcom/imo/android/imoim/av/party/ui/AudioActivity2;->b:Lcom/imo/android/imoim/rooms/av/view/PartyNotifyView;

    if-eqz v1, :cond_56

    invoke-virtual {v1, v2}, Lcom/imo/android/imoim/rooms/av/view/PartyNotifyView;->setNotifyType(I)V

    .line 50265
    :cond_56
    iget-object v1, v3, Lcom/imo/android/imoim/av/party/ui/AudioActivity2;->c:Landroid/view/View;

    if-eqz v1, :cond_64

    new-instance v2, Lcom/imo/android/imoim/av/party/ui/AudioActivity2$s;

    invoke-direct {v2, v3, p0, v0, p1}, Lcom/imo/android/imoim/av/party/ui/AudioActivity2$s;-><init>(Lcom/imo/android/imoim/av/party/ui/AudioActivity2;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    check-cast v2, Ljava/lang/Runnable;

    invoke-virtual {v1, v2}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z

    :cond_64
    return-void
.end method

.method public static final synthetic f(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
    .registers 1

    .line 45
    iget-boolean p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    return p0
.end method

.method public static final synthetic g(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    return-object p0
.end method

.method public static final synthetic g(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
    .registers 3

    const/4 v0, 0x1

    .line 45
    invoke-direct {p0, v0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(ZLjava/lang/String;)V

    return-void
.end method

.method public static final synthetic h(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method public static final synthetic i(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method public static final synthetic j(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->p()F

    move-result p0

    return p0
.end method

.method private final k()Ljava/lang/String;
    .registers 2

    .line 59
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 1011
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/data/v;->c:Ljava/lang/String;

    if-nez v0, :cond_8

    const-string v0, ""

    :cond_8
    return-object v0
.end method

.method public static final synthetic k(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private final l()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;
    .registers 2

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->p:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;

    return-object v0
.end method

.method public static final synthetic l(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private final m()Ljava/lang/String;
    .registers 2

    .line 71
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 1039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 1044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 1403
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->j:Ljava/lang/String;

    return-object v0
.end method

.method public static final synthetic m(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r:Ljava/lang/String;

    return-object p0
.end method

.method private final n()Lcom/imo/android/imoim/story/g/b$a;
    .registers 2

    .line 76
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 3039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 3044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 3388
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->a:Lcom/imo/android/imoim/story/g/b$a;

    return-object v0
.end method

.method public static final synthetic n(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/story/g/b$a;
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object p0

    return-object p0
.end method

.method private final o()F
    .registers 2

    .line 78
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 4039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 4044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 4397
    iget v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->e:F

    return v0
.end method

.method public static final synthetic o(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;
    .registers 1

    .line 45
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p0

    return-object p0
.end method

.method private final p()F
    .registers 2

    .line 80
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 5039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 5044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 5396
    iget v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->d:F

    return v0
.end method

.method public static final synthetic p(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;
    .registers 2

    .line 50087
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 50088
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 50087
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s()I

    move-result p0

    invoke-static {v0, p0}, Lkotlin/a/k;->b(Ljava/util/List;I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    return-object p0
.end method

.method private final q()Ljava/lang/String;
    .registers 2

    .line 85
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 7039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 7044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 7400
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->h:Ljava/lang/String;

    return-object v0
.end method

.method public static final synthetic q(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V
    .registers 9

    .line 50092
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    if-eqz v0, :cond_7

    invoke-virtual {v0}, Lcom/imo/android/imoim/util/bk;->a()V

    .line 50094
    :cond_7
    sget-object v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;->c:Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment$a;

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r:Ljava/lang/String;

    .line 50151
    new-instance v2, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;

    invoke-direct {v2}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;-><init>()V

    .line 50152
    invoke-static {v2, v0}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;->b(Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;Ljava/lang/String;)V

    .line 50153
    invoke-static {v2, v1}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;->c(Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;Ljava/lang/String;)V

    .line 50095
    new-instance v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;

    invoke-direct {v0, p0, v2}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;)V

    check-cast v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAdapter$a;

    invoke-virtual {v2, v0}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;->a(Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAdapter$a;)V

    .line 50144
    new-instance v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$l;

    invoke-direct {v0, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$l;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v0, Lkotlin/f/a/a;

    .line 50155
    iput-object v0, v2, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;->b:Lkotlin/f/a/a;

    .line 50147
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const-string v1, "context"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v0}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;

    move-result-object v0

    const-string v1, "RoomsYoutubeSelectFragment"

    invoke-virtual {v2, v0, v1}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V

    .line 50148
    sget-object v0, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 50156
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 50148
    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v1

    .line 50149
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k()Ljava/lang/String;

    move-result-object v4

    const/4 v5, 0x0

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q()Ljava/lang/String;

    move-result-object v6

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r()Ljava/lang/String;

    move-result-object v7

    const-string v2, ""

    const-string v3, "switch"

    .line 50148
    invoke-static/range {v1 .. v7}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public static final synthetic r(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->o()F

    move-result p0

    return p0
.end method

.method private final r()Ljava/lang/String;
    .registers 2

    .line 93
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 10039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 10044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 10401
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->i:Ljava/lang/String;

    return-object v0
.end method

.method private final s()I
    .registers 7

    .line 330
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 22007
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 827
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_a
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_26

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    .line 828
    check-cast v4, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    .line 22050
    iget-object v4, v4, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;

    .line 332
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_23

    goto :goto_27

    :cond_23
    add-int/lit8 v3, v3, 0x1

    goto :goto_a

    :cond_26
    const/4 v3, -0x1

    .line 334
    :goto_27
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    sub-int/2addr v1, v3

    const/4 v4, 0x3

    const/4 v5, 0x1

    if-ge v1, v4, :cond_47

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 23011
    iget-object v1, v1, Lcom/imo/android/imoim/rooms/data/v;->c:Ljava/lang/String;

    .line 334
    check-cast v1, Ljava/lang/CharSequence;

    if-eqz v1, :cond_41

    invoke-static {v1}, Lkotlin/m/p;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_3f

    goto :goto_41

    :cond_3f
    const/4 v1, 0x0

    goto :goto_42

    :cond_41
    :goto_41
    const/4 v1, 0x1

    :goto_42
    if-nez v1, :cond_47

    .line 335
    invoke-static {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    .line 337
    :cond_47
    invoke-static {v0}, Lkotlin/a/k;->a(Ljava/util/List;)I

    move-result v0

    if-ne v3, v0, :cond_4e

    return v2

    :cond_4e
    add-int/2addr v3, v5

    return v3
.end method

.method public static final synthetic s(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    return-object p0
.end method

.method private final t()Z
    .registers 3

    .line 632
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v0

    sget-object v1, Lcom/imo/android/imoim/story/g/b$a;->PLAYING:Lcom/imo/android/imoim/story/g/b$a;

    if-eq v0, v1, :cond_13

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v0

    sget-object v1, Lcom/imo/android/imoim/story/g/b$a;->BUFFERING:Lcom/imo/android/imoim/story/g/b$a;

    if-ne v0, v1, :cond_11

    goto :goto_13

    :cond_11
    const/4 v0, 0x0

    return v0

    :cond_13
    :goto_13
    const/4 v0, 0x1

    return v0
.end method

.method public static final synthetic t(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
    .registers 1

    .line 45
    iget-boolean p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m:Z

    return p0
.end method

.method public static final synthetic u(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

    return-object p0
.end method

.method private final u()V
    .registers 4

    .line 709
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    if-eqz v0, :cond_5

    return-void

    :cond_5
    const/4 v0, 0x1

    .line 710
    iput-boolean v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h:Z

    .line 711
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 36039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 36044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 711
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->a(Lcom/imo/android/imoim/story/g/b$a;)V

    .line 712
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    move-object v1, p0

    check-cast v1, Lcom/imo/android/imoim/web/youtube/a;

    const-string v2, "listener"

    invoke-static {v1, v2}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 36124
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->a(Lcom/imo/android/imoim/web/youtube/a;)Z

    .line 713
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f:Landroidx/cardview/widget/CardView;

    check-cast v1, Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->a(Landroid/view/ViewGroup;)Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    move-result-object v0

    if-nez v0, :cond_37

    return-void

    :cond_37
    iput-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    .line 714
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->p()F

    move-result v0

    .line 36808
    invoke-direct {p0, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e(F)V

    .line 715
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->o()F

    move-result v0

    invoke-virtual {p0, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->b(F)V

    .line 717
    new-instance v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$i;

    invoke-direct {v0, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$i;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v0, Ljava/lang/Runnable;

    invoke-static {v0}, Lcom/imo/android/imoim/util/ec;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method public static final synthetic v(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k:Ljava/lang/String;

    return-object p0
.end method

.method public static final synthetic w(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Landroidx/cardview/widget/CardView;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f:Landroidx/cardview/widget/CardView;

    return-object p0
.end method

.method public static final synthetic x(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/util/bl;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d:Lcom/imo/android/imoim/util/bl;

    return-object p0
.end method

.method public static final synthetic y(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/data/v;
    .registers 1

    .line 45
    iget-object p0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    return-object p0
.end method

.method public static final synthetic z(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;
    .registers 1

    .line 45
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;

    move-result-object p0

    return-object p0
.end method


# virtual methods
.method public final a(F)V
    .registers 2

    .line 808
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e(F)V

    return-void
.end method

.method public final a(Landroid/content/res/Configuration;)V
    .registers 4

    .line 141
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "onConfigurationChanged: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    if-eqz p1, :cond_10

    iget p1, p1, Landroid/content/res/Configuration;->orientation:I

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    goto :goto_11

    :cond_10
    const/4 p1, 0x0

    :goto_11
    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "RoomsYoutubeComponent"

    .line 20071
    invoke-static {v0, p1}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 142
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a()V

    .line 143
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object p1

    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Lcom/imo/android/imoim/story/g/b$a;)V

    return-void
.end method

.method public final a(Lcom/imo/android/imoim/story/g/b$a;)V
    .registers 19

    move-object/from16 v1, p0

    const-string v0, "state"

    move-object/from16 v2, p1

    invoke-static {v2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 758
    sget-object v0, Lcom/imo/android/imoim/rooms/av/component/o;->a:[I

    invoke-virtual/range {p1 .. p1}, Lcom/imo/android/imoim/story/g/b$a;->ordinal()I

    move-result v3

    aget v0, v0, v3

    const-wide/16 v3, 0x0

    const/4 v5, 0x1

    const/4 v6, 0x0

    if-eq v0, v5, :cond_248

    const/4 v7, 0x2

    if-eq v0, v7, :cond_240

    const/4 v7, 0x3

    if-eq v0, v7, :cond_229

    const/4 v7, 0x4

    if-eq v0, v7, :cond_21c

    const-string v7, "RoomsYoutubeComponent"

    const/4 v8, 0x5

    if-eq v0, v8, :cond_33

    .line 790
    invoke-static/range {p1 .. p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const-string v2, "onStateChange unknown state: "

    invoke-virtual {v2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 48075
    invoke-static {v7, v0}, Lcom/imo/android/imoim/util/bt;->e(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    .line 777
    :cond_33
    invoke-virtual/range {p0 .. p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a()Z

    move-result v0

    if-eqz v0, :cond_47

    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/b/d;->d()Z

    move-result v0

    if-eqz v0, :cond_47

    .line 779
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    if-eqz v0, :cond_46

    invoke-virtual {v0}, Lcom/imo/android/imoim/util/bk;->a()V

    :cond_46
    return-void

    .line 782
    :cond_47
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    sget-object v2, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;->ENDED:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;

    invoke-virtual {v0, v2}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a(Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;)V

    .line 783
    iget-boolean v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m:Z

    if-eqz v0, :cond_216

    .line 38412
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/b/d;->d()Z

    move-result v0

    if-eqz v0, :cond_214

    .line 38425
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

    if-nez v0, :cond_97

    .line 38429
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    const v2, 0x7f091093

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewStub;

    invoke-virtual {v0}, Landroid/view/ViewStub;->inflate()Landroid/view/View;

    move-result-object v0

    .line 38430
    new-instance v2, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

    iget-object v9, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->u:Lcom/imo/android/core/component/c;

    const-string v10, "view"

    invoke-static {v0, v10}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-direct {v2, v9, v0}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;-><init>(Lcom/imo/android/core/component/c;Landroid/view/View;)V

    invoke-virtual {v2}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->f()Lcom/imo/android/core/component/AbstractComponent;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

    iput-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

    if-eqz v0, :cond_97

    .line 38431
    new-instance v2, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$c;

    invoke-direct {v2, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$c;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v2, Lkotlin/f/a/b;

    const-string v9, "listener"

    invoke-static {v2, v9}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 39201
    new-instance v9, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$b;

    invoke-direct {v9}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$b;-><init>()V

    invoke-interface {v2, v9}, Lkotlin/f/a/b;->invoke(Ljava/lang/Object;)Ljava/lang/Object;

    iput-object v9, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->p:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$b;

    .line 38416
    :cond_97
    invoke-direct/range {p0 .. p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s()I

    move-result v2

    .line 38417
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v9, "next video index: "

    invoke-direct {v0, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v9, ", list size: "

    invoke-virtual {v0, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v9, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 40007
    iget-object v9, v9, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 38417
    invoke-interface {v9}, Ljava/util/List;->size()I

    move-result v9

    invoke-virtual {v0, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v9, ", tag: "

    invoke-virtual {v0, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-direct/range {p0 .. p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v0, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 40071
    invoke-static {v7, v0}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 38418
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l:Lcom/imo/android/imoim/rooms/data/v;

    .line 41007
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 38418
    invoke-static {v0, v2}, Lkotlin/a/k;->b(Ljava/util/List;I)Ljava/lang/Object;

    move-result-object v0

    move-object v7, v0

    check-cast v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    if-eqz v7, :cond_214

    .line 38419
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;

    if-eqz v0, :cond_209

    iget-boolean v9, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    const-string v10, "videoInfo"

    invoke-static {v7, v10}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 41148
    iget-object v10, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->r:Landroid/view/View;

    .line 41257
    invoke-virtual {v10}, Landroid/view/View;->getVisibility()I

    move-result v10

    if-nez v10, :cond_ea

    const/4 v10, 0x1

    goto :goto_eb

    :cond_ea
    const/4 v10, 0x0

    :goto_eb
    if-nez v10, :cond_209

    .line 41151
    iput-object v7, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->n:Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    .line 41152
    iput v2, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->o:I

    .line 41153
    iget-object v10, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->r:Landroid/view/View;

    .line 41258
    invoke-virtual {v10, v6}, Landroid/view/View;->setVisibility(I)V

    .line 41154
    iget-object v10, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->f:Landroid/view/View;

    const/16 v11, 0x8

    if-eqz v9, :cond_fe

    const/4 v12, 0x0

    goto :goto_100

    :cond_fe
    const/16 v12, 0x8

    .line 41260
    :goto_100
    invoke-virtual {v10, v12}, Landroid/view/View;->setVisibility(I)V

    .line 41155
    iget-object v10, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->h:Lcom/biuiteam/biui/view/BIUIButton;

    check-cast v10, Landroid/view/View;

    if-eqz v9, :cond_10b

    const/4 v12, 0x0

    goto :goto_10d

    :cond_10b
    const/16 v12, 0x8

    .line 41262
    :goto_10d
    invoke-virtual {v10, v12}, Landroid/view/View;->setVisibility(I)V

    .line 41156
    iget-object v10, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->i:Lcom/airbnb/lottie/LottieAnimationView;

    check-cast v10, Landroid/view/View;

    xor-int/lit8 v12, v9, 0x1

    if-eqz v12, :cond_11a

    const/4 v12, 0x0

    goto :goto_11c

    :cond_11a
    const/16 v12, 0x8

    .line 41264
    :goto_11c
    invoke-virtual {v10, v12}, Landroid/view/View;->setVisibility(I)V

    .line 41157
    iget-object v10, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->c:Landroid/widget/TextView;

    check-cast v10, Landroid/view/View;

    .line 42056
    iget-wide v12, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->d:J

    cmp-long v14, v12, v3

    if-lez v14, :cond_12b

    const/4 v3, 0x1

    goto :goto_12c

    :cond_12b
    const/4 v3, 0x0

    :goto_12c
    if-eqz v3, :cond_12f

    const/4 v11, 0x0

    .line 41266
    :cond_12f
    invoke-virtual {v10, v11}, Landroid/view/View;->setVisibility(I)V

    .line 41158
    iget-object v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->c:Landroid/widget/TextView;

    .line 43056
    iget-wide v10, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->d:J

    long-to-int v4, v10

    .line 41158
    invoke-static {v4}, Lcom/imo/android/imoim/util/ei;->h(I)Ljava/lang/String;

    move-result-object v4

    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 41159
    iget-object v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->d:Landroid/widget/TextView;

    .line 43058
    iget-object v4, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->e:Ljava/lang/String;

    .line 41159
    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 41160
    iget-object v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->e:Landroid/widget/TextView;

    .line 44054
    iget-object v4, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->c:Ljava/lang/String;

    .line 41160
    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 41161
    iget-object v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->g:Lcom/imo/android/imoim/fresco/ImoImageView;

    .line 44064
    iget-object v4, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->h:Ljava/lang/String;

    .line 41161
    invoke-static {v3, v4}, Lcom/imo/android/imoim/managers/aq;->c(Lcom/imo/android/imoim/fresco/ImoImageView;Ljava/lang/String;)V

    .line 41162
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "next video title: "

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 45058
    iget-object v4, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->e:Ljava/lang/String;

    .line 41162
    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    const-string v4, "WaitingNextVideoComponent"

    .line 45071
    invoke-static {v4, v3}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    if-eqz v9, :cond_17b

    .line 41165
    iput v8, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->m:I

    .line 41166
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->q:Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$c;

    check-cast v0, Ljava/lang/Runnable;

    invoke-static {v0}, Lcom/imo/android/imoim/util/ec;->a(Ljava/lang/Runnable;)V

    goto/16 :goto_1fa

    :cond_17b
    const/4 v3, -0x1

    .line 41169
    iput v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->m:I

    .line 41170
    iget-object v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->b:Landroid/widget/TextView;

    const v4, 0x7f0f06c3

    invoke-static {v4}, Lcom/imo/hd/util/d;->a(I)Ljava/lang/String;

    move-result-object v4

    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 41171
    sget-object v3, Lcom/imo/android/imoim/biggroup/chatroom/chatroom/online/b;->a:Lcom/imo/android/imoim/biggroup/chatroom/chatroom/online/b;

    const-string v3, "active"

    invoke-static {v3}, Lcom/imo/android/imoim/biggroup/chatroom/chatroom/online/b;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v4

    const-string v8, "context"

    invoke-static {v4, v8}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v4, Landroid/content/Context;

    new-instance v8, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$i;

    invoke-direct {v8, v0}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$i;-><init>(Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;)V

    check-cast v8, Lkotlin/f/a/b;

    .line 45208
    :try_start_1a6
    new-instance v9, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$g;

    invoke-direct {v9, v0, v8}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$g;-><init>(Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;Lkotlin/f/a/b;)V

    check-cast v9, Lcom/airbnb/lottie/h;

    iput-object v9, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->l:Lcom/airbnb/lottie/h;

    .line 45212
    new-instance v9, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$h;

    invoke-direct {v9, v0, v8}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent$h;-><init>(Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;Lkotlin/f/a/b;)V

    check-cast v9, Lcom/airbnb/lottie/h;

    iput-object v9, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->k:Lcom/airbnb/lottie/h;

    .line 45217
    new-instance v9, Ljava/util/zip/ZipInputStream;

    invoke-virtual {v4}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;

    move-result-object v4

    invoke-virtual {v4, v3}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v4

    invoke-direct {v9, v4}, Ljava/util/zip/ZipInputStream;-><init>(Ljava/io/InputStream;)V

    invoke-static {v9, v3}, Lcom/airbnb/lottie/e;->a(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lcom/airbnb/lottie/k;

    move-result-object v3

    iput-object v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->j:Lcom/airbnb/lottie/k;

    .line 45218
    iget-object v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->j:Lcom/airbnb/lottie/k;

    if-eqz v3, :cond_1d4

    iget-object v4, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->k:Lcom/airbnb/lottie/h;

    invoke-virtual {v3, v4}, Lcom/airbnb/lottie/k;->c(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/k;

    .line 45219
    :cond_1d4
    iget-object v3, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->j:Lcom/airbnb/lottie/k;

    if-eqz v3, :cond_1fa

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->l:Lcom/airbnb/lottie/h;

    invoke-virtual {v3, v0}, Lcom/airbnb/lottie/k;->a(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/k;
    :try_end_1dd
    .catch Ljava/lang/Exception; {:try_start_1a6 .. :try_end_1dd} :catch_1de

    goto :goto_1fa

    :catch_1de
    move-exception v0

    const/4 v3, 0x0

    .line 45221
    invoke-interface {v8, v3}, Lkotlin/f/a/b;->invoke(Ljava/lang/Object;)Ljava/lang/Object;

    .line 45222
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "parsing error"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v3, "BGDisplayChatRoomAdapter"

    .line 46079
    invoke-static {v3, v0, v5}, Lcom/imo/android/imoim/util/bt;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    .line 47050
    :cond_1fa
    :goto_1fa
    iget-object v11, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;

    .line 47058
    iget-object v12, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->e:Ljava/lang/String;

    .line 47060
    iget-object v13, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->f:Ljava/lang/String;

    .line 48056
    iget-wide v14, v7, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->d:J

    const-string v10, "next_show"

    move/from16 v16, v2

    .line 41182
    invoke-static/range {v10 .. v16}, Lcom/imo/android/imoim/rooms/b/g;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JI)V

    .line 38420
    :cond_209
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->getAddVideoView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_214

    invoke-static {v0, v6}, Landroidx/core/view/ViewKt;->setVisible(Landroid/view/View;Z)V

    .line 785
    :cond_214
    iput-boolean v6, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m:Z

    .line 787
    :cond_216
    sget-object v0, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->d()V

    return-void

    .line 773
    :cond_21c
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    sget-object v2, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;->PAUSED:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;

    invoke-virtual {v0, v2}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a(Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;)V

    .line 774
    sget-object v0, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->d()V

    return-void

    .line 767
    :cond_229
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    sget-object v2, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;->PLAYING:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;

    invoke-virtual {v0, v2}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a(Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;)V

    const-string v0, ""

    .line 768
    iput-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k:Ljava/lang/String;

    .line 769
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/b/d;->d()Z

    move-result v0

    iput-boolean v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m:Z

    .line 770
    sget-object v0, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->c()V

    return-void

    .line 764
    :cond_240
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    sget-object v2, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;->BUFFERING:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;

    invoke-virtual {v0, v2}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a(Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;)V

    return-void

    .line 760
    :cond_248
    iget-object v0, v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    sget-object v2, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;->CUED:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;

    invoke-virtual {v0, v2}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a(Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$e;)V

    .line 761
    sget-object v0, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    .line 38082
    sget-wide v7, Lcom/imo/android/imoim/rooms/b/i;->b:J

    cmp-long v0, v7, v3

    if-eqz v0, :cond_27d

    .line 38083
    sget-object v0, Lcom/imo/android/imoim/rooms/b/i;->a:Ljava/lang/String;

    const-string v2, "youtube"

    invoke-static {v0, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_27b

    new-array v0, v5, [Lkotlin/m;

    .line 38084
    invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->a()J

    move-result-wide v7

    sget-wide v9, Lcom/imo/android/imoim/rooms/b/i;->b:J

    sub-long/2addr v7, v9

    invoke-static {v7, v8}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    const-string v5, "load_time"

    invoke-static {v5, v2}, Lkotlin/s;->a(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/m;

    move-result-object v2

    aput-object v2, v0, v6

    const-string v2, "cue_loaded"

    invoke-static {v2, v0}, Lcom/imo/android/imoim/rooms/b/i;->a(Ljava/lang/String;[Lkotlin/m;)V

    .line 38086
    :cond_27b
    sput-wide v3, Lcom/imo/android/imoim/rooms/b/i;->b:J

    :cond_27d
    return-void
.end method

.method public final a(Ljava/lang/String;)V
    .registers 9

    .line 797
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->d()V

    .line 798
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/imo/android/imoim/rooms/b/g;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 799
    sget-object v0, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 49070
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 799
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v0

    .line 49559
    move-object v1, v0

    check-cast v1, Ljava/lang/CharSequence;

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-eqz v1, :cond_25

    invoke-interface {v1}, Ljava/lang/CharSequence;->length()I

    move-result v1

    if-nez v1, :cond_23

    goto :goto_25

    :cond_23
    const/4 v1, 0x0

    goto :goto_26

    :cond_25
    :goto_25
    const/4 v1, 0x1

    :goto_26
    const-string v4, ""

    if-nez v1, :cond_7e

    .line 49563
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    check-cast v1, Ljava/util/Map;

    const-string v5, "room_type"

    const-string v6, "party_room"

    .line 49564
    invoke-interface {v1, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 49565
    sget-object v5, Lcom/imo/android/imoim/IMO;->c:Lcom/imo/android/imoim/network/Dispatcher4;

    const-string v6, "IMO.dispatcher"

    invoke-static {v5, v6}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v5}, Lcom/imo/android/imoim/network/Dispatcher4;->getSSID()Ljava/lang/String;

    move-result-object v5

    const-string v6, "ssid"

    invoke-interface {v1, v6, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 49566
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a()Ljava/lang/String;

    move-result-object v5

    const-string v6, "uid"

    invoke-interface {v1, v6, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 49567
    invoke-static {}, Lcom/imo/android/imoim/util/ei;->h()Ljava/lang/String;

    move-result-object v5

    .line 49568
    move-object v6, v5

    check-cast v6, Ljava/lang/CharSequence;

    if-eqz v6, :cond_60

    invoke-interface {v6}, Ljava/lang/CharSequence;->length()I

    move-result v6

    if-nez v6, :cond_61

    :cond_60
    const/4 v2, 0x1

    :cond_61
    if-nez v2, :cond_68

    const-string v2, "cc"

    .line 49569
    invoke-interface {v1, v2, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_68
    if-nez p1, :cond_6c

    move-object v2, v4

    goto :goto_6d

    :cond_6c
    move-object v2, p1

    :goto_6d
    const-string v3, "reason"

    .line 49571
    invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v2, "video_id"

    .line 49572
    invoke-interface {v1, v2, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "RoomProxy"

    const-string v2, "report_failed_video"

    .line 49573
    invoke-static {v0, v2, v1}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V

    .line 800
    :cond_7e
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "onError videoId:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " error:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "RoomsYoutubeComponent"

    .line 50071
    invoke-static {v0, p1}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 801
    iget-boolean p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    if-nez p1, :cond_a7

    .line 802
    invoke-direct {p0, v4}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c(Ljava/lang/String;)V

    .line 803
    invoke-direct {p0, v4}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(Ljava/lang/String;)V

    :cond_a7
    return-void
.end method

.method public final a(Lkotlin/f/a/a;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lkotlin/f/a/a<",
            "Lkotlin/w;",
            ">;)V"
        }
    .end annotation

    const-string v0, "<set-?>"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 61
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n:Lkotlin/f/a/a;

    return-void
.end method

.method public final a(Z)V
    .registers 11

    .line 660
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    invoke-static {v0}, Lcom/imo/android/imoim/util/en;->e(Landroid/view/View;)Z

    move-result v0

    if-ne v0, p1, :cond_9

    return-void

    .line 664
    :cond_9
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "showYoutubePlayer "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v1, ", status="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    invoke-static {}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->a()Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    move-result-object v1

    const/4 v2, 0x0

    if-eqz v1, :cond_25

    .line 32070
    iget-object v1, v1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->k:Ljava/lang/String;

    goto :goto_26

    :cond_25
    move-object v1, v2

    .line 664
    :goto_26
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "RoomsYoutubeComponent"

    .line 32071
    invoke-static {v1, v0}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 665
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    const/4 v1, 0x0

    if-eqz p1, :cond_39

    const/4 v3, 0x0

    goto :goto_3b

    :cond_39
    const/16 v3, 0x8

    :goto_3b
    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    const-string v0, "youtube"

    if-eqz p1, :cond_dc

    .line 667
    sget-object p1, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/b/i;->a(Ljava/lang/String;)V

    .line 668
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->c()V

    .line 669
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->b()V

    .line 670
    iget-boolean p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h:Z

    if-eqz p1, :cond_67

    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    if-nez p1, :cond_67

    .line 671
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p1

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f:Landroidx/cardview/widget/CardView;

    check-cast v0, Landroid/view/ViewGroup;

    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->a(Landroid/view/ViewGroup;)Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    move-result-object p1

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    .line 673
    :cond_67
    iget-boolean p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    if-eqz p1, :cond_126

    .line 674
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    invoke-static {}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->a()Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    move-result-object p1

    if-eqz p1, :cond_76

    .line 33070
    iget-object v2, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->k:Ljava/lang/String;

    .line 675
    :cond_76
    check-cast v2, Ljava/lang/CharSequence;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_88

    const-string p1, "stop"

    check-cast p1, Ljava/lang/CharSequence;

    invoke-static {v2, p1}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_a5

    .line 676
    :cond_88
    sget-object p1, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 34070
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 676
    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v3

    const/4 v6, 0x0

    .line 677
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q()Ljava/lang/String;

    move-result-object v7

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r()Ljava/lang/String;

    move-result-object v8

    const-string v4, "ready"

    const-string v5, ""

    .line 676
    invoke-static/range {v2 .. v8}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    .line 679
    :cond_a5
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object p1

    check-cast p1, Ljava/lang/CharSequence;

    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result p1

    const/4 v0, 0x1

    if-nez p1, :cond_b4

    const/4 p1, 0x1

    goto :goto_b5

    :cond_b4
    const/4 p1, 0x0

    :goto_b5
    if-eqz p1, :cond_126

    iget-boolean p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j:Z

    if-eqz p1, :cond_126

    .line 680
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k:Ljava/lang/String;

    check-cast p1, Ljava/lang/CharSequence;

    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result p1

    if-lez p1, :cond_c7

    const/4 p1, 0x1

    goto :goto_c8

    :cond_c7
    const/4 p1, 0x0

    :goto_c8
    if-eqz p1, :cond_d6

    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h()Z

    move-result p1

    if-eqz p1, :cond_d6

    .line 681
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k:Ljava/lang/String;

    invoke-direct {p0, p1, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Ljava/lang/String;Z)V

    return-void

    :cond_d6
    const-string p1, "popular"

    .line 683
    invoke-direct {p0, v0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(ZLjava/lang/String;)V

    return-void

    .line 688
    :cond_dc
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    if-eqz p1, :cond_e3

    invoke-virtual {p1}, Lcom/imo/android/imoim/util/bk;->a()V

    .line 689
    :cond_e3
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p1

    .line 34132
    iget-object p1, p1, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    invoke-virtual {p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->b()V

    .line 690
    iput-object v2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    const-string p1, ""

    .line 691
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c(Ljava/lang/String;)V

    .line 692
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(Ljava/lang/String;)V

    const/4 p1, 0x0

    .line 693
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e(F)V

    .line 694
    iget-boolean p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    if-eqz p1, :cond_121

    .line 695
    sget-object p1, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 35070
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 695
    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v2

    .line 696
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k()Ljava/lang/String;

    move-result-object v4

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->p()F

    move-result p1

    float-to-int v5, p1

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q()Ljava/lang/String;

    move-result-object v6

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r()Ljava/lang/String;

    move-result-object v7

    const-string v3, "stop"

    .line 695
    invoke-static/range {v1 .. v7}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    .line 698
    :cond_121
    sget-object p1, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/b/i;->b(Ljava/lang/String;)V

    :cond_126
    return-void
.end method

.method public final a()Z
    .registers 3

    .line 287
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    if-eqz v0, :cond_a

    .line 21032
    iget-boolean v0, v0, Lcom/imo/android/imoim/util/bk;->b:Z

    const/4 v1, 0x1

    if-ne v0, v1, :cond_a

    return v1

    :cond_a
    const/4 v0, 0x0

    return v0
.end method

.method public final af_()V
    .registers 10

    const-string v0, "RoomsYoutubeComponent"

    const-string v1, "onReady: "

    .line 37071
    invoke-static {v0, v1}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 738
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    .line 833
    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-nez v0, :cond_13

    const/4 v0, 0x1

    goto :goto_14

    :cond_13
    const/4 v0, 0x0

    :goto_14
    if-eqz v0, :cond_88

    .line 739
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i:Ljava/lang/String;

    check-cast v0, Ljava/lang/CharSequence;

    invoke-interface {v0}, Ljava/lang/CharSequence;->length()I

    move-result v0

    if-lez v0, :cond_22

    const/4 v0, 0x1

    goto :goto_23

    :cond_22
    const/4 v0, 0x0

    :goto_23
    if-eqz v0, :cond_68

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i:Ljava/lang/String;

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v3

    invoke-static {v0, v3}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_68

    const-string v0, ""

    .line 740
    invoke-direct {p0, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(Ljava/lang/String;)V

    .line 741
    iget-object v2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    if-eqz v2, :cond_46

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v3

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->p()F

    move-result v4

    float-to-int v4, v4

    invoke-virtual {v2, v3, v4, v1}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->a(Ljava/lang/String;IZ)V

    .line 742
    :cond_46
    sget-object v1, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 38070
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 742
    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m()Ljava/lang/String;

    move-result-object v3

    .line 743
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k()Ljava/lang/String;

    move-result-object v5

    const/4 v6, 0x0

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q()Ljava/lang/String;

    move-result-object v7

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r()Ljava/lang/String;

    move-result-object v8

    const-string v4, "playing"

    .line 742
    invoke-static/range {v2 .. v8}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    .line 744
    iput-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i:Ljava/lang/String;

    goto :goto_88

    .line 745
    :cond_68
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k:Ljava/lang/String;

    check-cast v0, Ljava/lang/CharSequence;

    invoke-interface {v0}, Ljava/lang/CharSequence;->length()I

    move-result v0

    if-lez v0, :cond_74

    const/4 v0, 0x1

    goto :goto_75

    :cond_74
    const/4 v0, 0x0

    :goto_75
    if-eqz v0, :cond_88

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    .line 834
    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_80

    goto :goto_81

    :cond_80
    const/4 v1, 0x0

    :goto_81
    if-eqz v1, :cond_88

    .line 746
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k:Ljava/lang/String;

    invoke-direct {p0, v0, v2}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Ljava/lang/String;Z)V

    .line 752
    :cond_88
    :goto_88
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->b(Ljava/lang/String;)V

    .line 753
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    if-eqz v0, :cond_a4

    sget-object v1, Lcom/imo/android/imoim/util/df$au;->ROOMS_YOUTUBE_PLAY_VOLUME:Lcom/imo/android/imoim/util/df$au;

    check-cast v1, Ljava/lang/Enum;

    const/16 v2, 0x64

    invoke-static {v1, v2}, Lcom/imo/android/imoim/util/df;->a(Ljava/lang/Enum;I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->setVolume(I)V

    :cond_a4
    return-void
.end method

.method public final b()V
    .registers 1

    return-void
.end method

.method public final b(F)V
    .registers 3

    .line 813
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->setVideoDuration(F)V

    return-void
.end method

.method public final b(Ljava/lang/String;)V
    .registers 3

    if-nez p1, :cond_3

    return-void

    .line 616
    :cond_3
    invoke-static {}, Lcom/imo/android/imoim/util/ei;->I()Z

    move-result v0

    if-nez v0, :cond_13

    .line 617
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    check-cast p1, Landroid/content/Context;

    invoke-static {p1}, Lcom/imo/android/imoim/util/ei;->c(Landroid/content/Context;)V

    return-void

    .line 621
    :cond_13
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_1c

    return-void

    .line 625
    :cond_1c
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c(Ljava/lang/String;)V

    const-string v0, ""

    .line 626
    invoke-direct {p0, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(Ljava/lang/String;)V

    .line 627
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i:Ljava/lang/String;

    return-void
.end method

.method public final c()V
    .registers 6

    .line 11156
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    iget-boolean v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e:Z

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->setShowControl(Z)V

    .line 11157
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->b()V

    .line 11160
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    new-instance v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v1, Lkotlin/f/a/b;

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->setOnEventListener(Lkotlin/f/a/b;)V

    .line 11260
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    new-instance v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$h;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$h;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v1, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$a;

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->setCallback(Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$a;)V

    .line 11273
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->setVideoTitle(Ljava/lang/String;)V

    .line 111
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->u()V

    .line 11347
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 12036
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->i:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$IgnoreAttachedValueLiveData;

    .line 11347
    move-object v1, p0

    check-cast v1, Landroidx/lifecycle/LifecycleOwner;

    new-instance v2, Lsg/bigo/arch/mvvm/SmartObserver;

    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v3

    .line 13036
    iget-object v3, v3, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->i:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$IgnoreAttachedValueLiveData;

    .line 13432
    iget-boolean v3, v3, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$IgnoreAttachedValueLiveData;->a:Z

    .line 11347
    new-instance v4, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$d;

    invoke-direct {v4, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$d;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v4, Lkotlin/f/a/b;

    invoke-direct {v2, v3, v4}, Lsg/bigo/arch/mvvm/SmartObserver;-><init>(ZLkotlin/f/a/b;)V

    check-cast v2, Landroidx/lifecycle/Observer;

    invoke-virtual {v0, v1, v2}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$IgnoreAttachedValueLiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V

    .line 11352
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;

    move-result-object v0

    .line 14018
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;->e:Landroidx/lifecycle/LiveData;

    .line 11352
    new-instance v2, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;

    invoke-direct {v2, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v2, Landroidx/lifecycle/Observer;

    invoke-virtual {v0, v1, v2}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V

    .line 11381
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 14037
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->j:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$IgnoreAttachedValueLiveData;

    .line 11381
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    check-cast v1, Landroidx/lifecycle/LifecycleOwner;

    new-instance v2, Lsg/bigo/arch/mvvm/SmartObserver;

    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v3

    .line 15037
    iget-object v3, v3, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->j:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$IgnoreAttachedValueLiveData;

    .line 15432
    iget-boolean v3, v3, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$IgnoreAttachedValueLiveData;->a:Z

    .line 11381
    new-instance v4, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$f;

    invoke-direct {v4, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$f;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v4, Lkotlin/f/a/b;

    invoke-direct {v2, v3, v4}, Lsg/bigo/arch/mvvm/SmartObserver;-><init>(ZLkotlin/f/a/b;)V

    check-cast v2, Landroidx/lifecycle/Observer;

    invoke-virtual {v0, v1, v2}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$IgnoreAttachedValueLiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V

    .line 16294
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    instance-of v1, v0, Landroid/app/Activity;

    if-nez v1, :cond_90

    const/4 v0, 0x0

    :cond_90
    check-cast v0, Landroid/app/Activity;

    if-eqz v0, :cond_aa

    .line 16295
    new-instance v1, Lcom/imo/android/imoim/util/bk;

    iget-object v2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->v:Landroid/view/View;

    .line 16296
    iget-object v3, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a_:Lcom/imo/android/core/component/c/a;

    check-cast v3, Lcom/imo/android/core/a/b;

    const v4, 0x7f090594

    invoke-interface {v3, v4}, Lcom/imo/android/core/a/b;->a(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/view/ViewGroup;

    .line 16295
    invoke-direct {v1, v0, v2, v3}, Lcom/imo/android/imoim/util/bk;-><init>(Landroid/app/Activity;Landroid/view/View;Landroid/view/ViewGroup;)V

    iput-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    .line 16299
    :cond_aa
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    if-eqz v0, :cond_b7

    new-instance v1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$b;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$b;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)V

    check-cast v1, Lcom/imo/android/imoim/util/bl;

    .line 17083
    iput-object v1, v0, Lcom/imo/android/imoim/util/bk;->a:Lcom/imo/android/imoim/util/bl;

    :cond_b7
    return-void
.end method

.method public final c(F)V
    .registers 3

    .line 817
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a(F)V

    return-void
.end method

.method public final c(Landroidx/lifecycle/LifecycleOwner;)V
    .registers 4

    .line 117
    invoke-super {p0, p1}, Lcom/imo/hd/component/BaseActivityComponent;->c(Landroidx/lifecycle/LifecycleOwner;)V

    .line 120
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h()Z

    move-result p1

    const/4 v0, 0x1

    if-eqz p1, :cond_46

    iget-boolean p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q:Z

    if-eqz p1, :cond_46

    .line 121
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    if-eqz p1, :cond_17

    invoke-virtual {p1}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->getParent()Landroid/view/ViewParent;

    move-result-object p1

    goto :goto_18

    :cond_17
    const/4 p1, 0x0

    :goto_18
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f:Landroidx/cardview/widget/CardView;

    invoke-static {p1, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    xor-int/2addr p1, v0

    if-eqz p1, :cond_3b

    .line 122
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p1

    .line 18039
    iget-object p1, p1, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 18044
    iget-object p1, p1, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 122
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v1

    invoke-virtual {p1, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->a(Lcom/imo/android/imoim/story/g/b$a;)V

    .line 123
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p1

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f:Landroidx/cardview/widget/CardView;

    check-cast v1, Landroid/view/ViewGroup;

    invoke-virtual {p1, v1}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->a(Landroid/view/ViewGroup;)Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    .line 125
    :cond_3b
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p1

    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v1}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->b(Ljava/lang/String;)V

    .line 128
    :cond_46
    iput-boolean v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->q:Z

    return-void
.end method

.method public final d()Ljava/lang/Class;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/Class<",
            "Lcom/imo/android/imoim/rooms/av/component/j;",
            ">;"
        }
    .end annotation

    .line 820
    const-class v0, Lcom/imo/android/imoim/rooms/av/component/j;

    return-object v0
.end method

.method public final d(Landroidx/lifecycle/LifecycleOwner;)V
    .registers 3

    .line 133
    invoke-super {p0, p1}, Lcom/imo/hd/component/BaseActivityComponent;->d(Landroidx/lifecycle/LifecycleOwner;)V

    .line 134
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p1

    .line 19039
    iget-object p1, p1, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 19044
    iget-object p1, p1, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 134
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->a(Lcom/imo/android/imoim/story/g/b$a;)V

    .line 135
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t()Z

    move-result p1

    if-eqz p1, :cond_21

    .line 136
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    if-eqz p1, :cond_21

    const-string v0, "javascript:pauseVideo()"

    .line 19135
    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->a(Ljava/lang/String;)V

    :cond_21
    return-void
.end method

.method public final f(Landroidx/lifecycle/LifecycleOwner;)V
    .registers 5

    .line 641
    invoke-super {p0, p1}, Lcom/imo/hd/component/BaseActivityComponent;->f(Landroidx/lifecycle/LifecycleOwner;)V

    .line 643
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f:Landroidx/cardview/widget/CardView;

    invoke-virtual {p1}, Landroidx/cardview/widget/CardView;->removeAllViews()V

    .line 644
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    const/4 v0, 0x0

    .line 29407
    iput-object v0, p1, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$c;

    .line 29408
    iput-object v0, p1, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->e:Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView$a;

    .line 29409
    iget-object p1, p1, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->c:Landroid/os/Handler;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V

    .line 645
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    if-eqz p1, :cond_1a

    .line 30083
    iput-object v0, p1, Lcom/imo/android/imoim/util/bk;->a:Lcom/imo/android/imoim/util/bl;

    .line 646
    :cond_1a
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p1

    move-object v1, p0

    check-cast v1, Lcom/imo/android/imoim/web/youtube/a;

    const-string v2, "listener"

    invoke-static {v1, v2}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 30128
    iget-object p1, p1, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    invoke-virtual {p1, v1}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->b(Lcom/imo/android/imoim/web/youtube/a;)V

    .line 30655
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    invoke-static {}, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->a()Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    move-result-object p1

    if-eqz p1, :cond_36

    .line 31070
    iget-object v0, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->k:Ljava/lang/String;

    .line 30656
    :cond_36
    check-cast v0, Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    const/4 v1, 0x0

    if-nez p1, :cond_4b

    const-string p1, "stop"

    check-cast p1, Ljava/lang/CharSequence;

    invoke-static {v0, p1}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_4b

    const/4 p1, 0x1

    goto :goto_4c

    :cond_4b
    const/4 p1, 0x0

    :goto_4c
    if-eqz p1, :cond_57

    .line 649
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r:Ljava/lang/String;

    new-array v0, v1, [Lkotlin/m;

    const-string v1, "minimize"

    invoke-static {v1, p1, v0}, Lcom/imo/android/imoim/rooms/b/g;->a(Ljava/lang/String;Ljava/lang/String;[Lkotlin/m;)V

    .line 651
    :cond_57
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object p1

    invoke-virtual {p1}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->onCleared()V

    return-void
.end method

.method public final g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;
    .registers 2

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->o:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    return-object v0
.end method

.method public final h()Z
    .registers 2

    .line 91
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g()Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;

    move-result-object v0

    .line 9039
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeViewModel;->h:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;

    .line 9044
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl;->d:Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;

    .line 9399
    iget-boolean v0, v0, Lcom/imo/android/imoim/rooms/youtube/YoutubeStatusControl$a;->g:Z

    return v0
.end method

.method public final i()Z
    .registers 2

    .line 147
    invoke-virtual {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a()Z

    move-result v0

    if-eqz v0, :cond_f

    .line 148
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->t:Lcom/imo/android/imoim/util/bk;

    if-eqz v0, :cond_d

    invoke-virtual {v0}, Lcom/imo/android/imoim/util/bk;->a()V

    :cond_d
    const/4 v0, 0x1

    return v0

    :cond_f
    const/4 v0, 0x0

    return v0
.end method

.method public final j()Z
    .registers 3

    .line 630
    invoke-direct {p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n()Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v0

    sget-object v1, Lcom/imo/android/imoim/story/g/b$a;->PLAYING:Lcom/imo/android/imoim/story/g/b$a;

    if-ne v0, v1, :cond_a

    const/4 v0, 0x1

    return v0

    :cond_a
    const/4 v0, 0x0

    return v0
.end method