BlastGiftShowComponent.smali

.class public Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;
.super Lsg/bigo/core/component/AbstractComponent;
.source "SourceFile"

# interfaces
.implements Lsg/bigolive/revenue64/component/gift/c;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lsg/bigo/core/component/AbstractComponent<",
        "Lsg/bigo/core/mvp/presenter/a;",
        "Lsg/bigo/core/component/a/b;",
        "Lsg/bigo/live/support64/component/a;",
        ">;",
        "Lsg/bigolive/revenue64/component/gift/c;"
    }
.end annotation


# instance fields
.field private a:Landroid/widget/FrameLayout;

.field private b:Landroid/view/View;

.field private c:Lsg/bigolive/revenue64/component/gift/bean/a;

.field private d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lsg/bigolive/revenue64/component/gift/bean/a;",
            ">;"
        }
    .end annotation
.end field

.field private i:Z

.field private j:Lsg/bigolive/revenue64/component/gift/widget/b;

.field private k:Lsg/bigolive/revenue64/component/gift/c/e;

.field private l:Ljava/lang/Runnable;

.field private m:Lrx/j;


# direct methods
.method public constructor <init>(Lsg/bigo/core/component/c;)V
    .registers 2

    .line 94
    invoke-direct {p0, p1}, Lsg/bigo/core/component/AbstractComponent;-><init>(Lsg/bigo/core/component/c;)V

    .line 68
    new-instance p1, Ljava/util/ArrayList;

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

    iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    const/4 p1, 0x0

    .line 69
    iput-boolean p1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->i:Z

    .line 71
    new-instance p1, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent$1;

    invoke-direct {p1, p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent$1;-><init>(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)V

    iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->k:Lsg/bigolive/revenue64/component/gift/c/e;

    .line 90
    new-instance p1, Lsg/bigolive/revenue64/component/gift/-$$Lambda$BlastGiftShowComponent$P9jTzHY5M2noD39XNDavYxiRQH4;

    invoke-direct {p1, p0}, Lsg/bigolive/revenue64/component/gift/-$$Lambda$BlastGiftShowComponent$P9jTzHY5M2noD39XNDavYxiRQH4;-><init>(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)V

    iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->l:Ljava/lang/Runnable;

    return-void
.end method

.method static synthetic a(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)Ljava/util/List;
    .registers 1

    .line 52
    iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    return-object p0
.end method

.method static synthetic a(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;Lsg/bigolive/revenue64/component/gift/bean/a;)V
    .registers 8

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

    const-string v1, "addBlastToCache blastInfo="

    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, " , mStopPlay="

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

    iget-boolean v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->i:Z

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

    const-string v1, " , buffer.size="

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

    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

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

    move-result v1

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

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

    move-result-object v0

    const-string v1, "BlastGiftShowComponent"

    .line 4247
    invoke-static {v1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 4249
    monitor-enter p0

    .line 4250
    :try_start_2c
    iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->i:Z

    if-eqz v0, :cond_32

    .line 4251
    monitor-exit p0

    return-void

    .line 4253
    :cond_32
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    const/16 v1, 0x1f4

    if-ge v0, v1, :cond_77

    .line 4254
    iget-wide v0, p1, Lsg/bigolive/revenue64/component/gift/bean/a;->e:J

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/o;->p()J

    move-result-wide v2

    cmp-long v4, v0, v2

    if-nez v4, :cond_72

    const/4 v0, 0x0

    .line 4257
    :goto_4b
    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_6c

    .line 4258
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v1

    invoke-virtual {v1}, Lsg/bigo/live/support64/o;->p()J

    move-result-wide v1

    iget-object v3, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lsg/bigolive/revenue64/component/gift/bean/a;

    iget-wide v3, v3, Lsg/bigolive/revenue64/component/gift/bean/a;->e:J

    cmp-long v5, v1, v3

    if-nez v5, :cond_6c

    add-int/lit8 v0, v0, 0x1

    goto :goto_4b

    .line 4262
    :cond_6c
    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v1, v0, p1}, Ljava/util/List;->add(ILjava/lang/Object;)V

    goto :goto_77

    .line 4264
    :cond_72
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4267
    :cond_77
    :goto_77
    monitor-exit p0

    return-void

    :catchall_79
    move-exception p1

    monitor-exit p0
    :try_end_7b
    .catchall {:try_start_2c .. :try_end_7b} :catchall_79

    goto :goto_7d

    :goto_7c
    throw p1

    :goto_7d
    goto :goto_7c
.end method

.method private a(Z)V
    .registers 4

    const/4 v0, 0x0

    if-eqz p1, :cond_b

    .line 309
    iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->f:Lsg/bigo/core/component/a/d;

    sget-object v1, Lsg/bigolive/revenue64/component/gift/i;->START_SHOW_BLAST_GIFT_ANIM:Lsg/bigolive/revenue64/component/gift/i;

    invoke-interface {p1, v1, v0}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V

    return-void

    .line 311
    :cond_b
    iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->f:Lsg/bigo/core/component/a/d;

    sget-object v1, Lsg/bigolive/revenue64/component/gift/i;->END_SHOW_BLAST_GIFT_ANIM:Lsg/bigolive/revenue64/component/gift/i;

    invoke-interface {p1, v1, v0}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V

    return-void
.end method

.method private synthetic a([ILjava/lang/Long;)V
    .registers 7

    .line 150
    invoke-virtual {p2}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    array-length p2, p1

    int-to-long v2, p2

    rem-long/2addr v0, v2

    long-to-int p2, v0

    .line 152
    new-instance v0, Lsg/bigolive/revenue64/pro/bg;

    invoke-direct {v0}, Lsg/bigolive/revenue64/pro/bg;-><init>()V

    const/4 v1, 0x2

    .line 153
    iput v1, v0, Lsg/bigolive/revenue64/pro/bg;->q:I

    .line 154
    aget v1, p1, p2

    iput v1, v0, Lsg/bigolive/revenue64/pro/bg;->d:I

    const-string v1, "AAAAAAAAAAAAAAAAAAAA"

    .line 155
    iput-object v1, v0, Lsg/bigolive/revenue64/pro/bg;->k:Ljava/lang/String;

    .line 156
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v1

    invoke-virtual {v1}, Lsg/bigo/live/support64/o;->p()J

    move-result-wide v1

    iput-wide v1, v0, Lsg/bigolive/revenue64/pro/bg;->b:J

    .line 157
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v1

    invoke-virtual {v1}, Lsg/bigo/live/support64/o;->o()J

    move-result-wide v1

    iput-wide v1, v0, Lsg/bigolive/revenue64/pro/bg;->c:J

    const-string v1, "http://bigf.bigo.sg/asia_live/3h3/0MEcg6.png"

    .line 158
    iput-object v1, v0, Lsg/bigolive/revenue64/pro/bg;->l:Ljava/lang/String;

    const-string v1, "https://giftesx.bigo.sg/live/7h1/M01/6A/09/s_obAF1bYAiIGcxrAAAo_DfM67IABR6RQPa_UMAACkU613.png?resize=1&dw=162"

    .line 159
    iput-object v1, v0, Lsg/bigolive/revenue64/pro/bg;->i:Ljava/lang/String;

    const-string v1, "\u672c\u5730\u6d4b\u8bd5\u7528\u7684\u793c\u7269"

    .line 160
    iput-object v1, v0, Lsg/bigolive/revenue64/pro/bg;->h:Ljava/lang/String;

    const/4 v1, 0x1

    .line 161
    iput v1, v0, Lsg/bigolive/revenue64/pro/bg;->e:I

    .line 163
    new-instance v1, Landroid/util/SparseArray;

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

    const/4 v2, 0x0

    .line 164
    invoke-virtual {v1, v2, v0}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    .line 165
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->f:Lsg/bigo/core/component/a/d;

    sget-object v2, Lsg/bigolive/revenue64/component/gift/i;->SHOW_DEBUG_GIFT_NOTIFY:Lsg/bigolive/revenue64/component/gift/i;

    invoke-interface {v0, v2, v1}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V

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

    const-string v1, "queue test blast gift anim , giftIds: "

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

    aget p1, p1, p2

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

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

    move-result-object p1

    const-string p2, "BlastGiftShowComponent"

    invoke-static {p2, p1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method static synthetic b(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)V
    .registers 2

    const/4 v0, 0x0

    .line 52
    invoke-direct {p0, v0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a(Z)V

    return-void
.end method

.method static synthetic c(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)Lsg/bigolive/revenue64/component/gift/widget/b;
    .registers 1

    .line 52
    iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    return-object p0
.end method

.method private c()V
    .registers 5

    .line 144
    invoke-static {}, Lsg/bigo/live/support64/utils/i;->a()Z

    move-result v0

    if-eqz v0, :cond_36

    sget-boolean v0, Lsg/bigo/live/support64/activity/debug/BlastGiftDebugActivity;->f:Z

    if-eqz v0, :cond_36

    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->m:Lrx/j;

    if-nez v0, :cond_36

    .line 145
    invoke-static {}, Lsg/bigo/live/support64/activity/debug/BlastGiftDebugActivity;->c()[I

    move-result-object v0

    .line 146
    sget v1, Lsg/bigo/live/support64/activity/debug/BlastGiftDebugActivity;->g:I

    int-to-long v1, v1

    sget-object v3, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-static {v1, v2, v3}, Lrx/c;->a(JLjava/util/concurrent/TimeUnit;)Lrx/c;

    move-result-object v1

    .line 147
    invoke-static {}, Lrx/g/a;->c()Lrx/f;

    move-result-object v2

    invoke-virtual {v1, v2}, Lrx/c;->b(Lrx/f;)Lrx/c;

    move-result-object v1

    .line 148
    invoke-static {}, Lrx/a/b/a;->a()Lrx/f;

    move-result-object v2

    invoke-virtual {v1, v2}, Lrx/c;->a(Lrx/f;)Lrx/c;

    move-result-object v1

    new-instance v2, Lsg/bigolive/revenue64/component/gift/-$$Lambda$BlastGiftShowComponent$3hryLfYg3Wga8n6_x79o559RVd4;

    invoke-direct {v2, p0, v0}, Lsg/bigolive/revenue64/component/gift/-$$Lambda$BlastGiftShowComponent$3hryLfYg3Wga8n6_x79o559RVd4;-><init>(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;[I)V

    .line 149
    invoke-virtual {v1, v2}, Lrx/c;->c(Lrx/b/b;)Lrx/j;

    move-result-object v0

    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->m:Lrx/j;

    :cond_36
    return-void
.end method

.method static synthetic d(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)Landroid/view/View;
    .registers 1

    .line 52
    iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->b:Landroid/view/View;

    return-object p0
.end method

.method private d()V
    .registers 2

    .line 173
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->m:Lrx/j;

    if-eqz v0, :cond_12

    invoke-interface {v0}, Lrx/j;->isUnsubscribed()Z

    move-result v0

    if-nez v0, :cond_12

    .line 174
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->m:Lrx/j;

    invoke-interface {v0}, Lrx/j;->unsubscribe()V

    const/4 v0, 0x0

    .line 175
    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->m:Lrx/j;

    :cond_12
    return-void
.end method

.method static synthetic e(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)Landroid/widget/FrameLayout;
    .registers 1

    .line 52
    iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a:Landroid/widget/FrameLayout;

    return-object p0
.end method

.method private e()V
    .registers 6

    .line 271
    monitor-enter p0

    .line 272
    :try_start_1
    iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->i:Z

    if-eqz v0, :cond_7

    .line 273
    monitor-exit p0

    return-void

    .line 275
    :cond_7
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_4b

    .line 276
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lsg/bigolive/revenue64/component/gift/bean/a;

    .line 3294
    iget-object v2, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    const/4 v3, 0x1

    if-nez v2, :cond_1f

    :goto_1d
    const/4 v3, 0x0

    goto :goto_41

    .line 3297
    :cond_1f
    iget-object v2, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    invoke-virtual {v2}, Lsg/bigolive/revenue64/component/gift/widget/b;->f()Z

    move-result v2

    if-nez v2, :cond_28

    goto :goto_1d

    .line 3300
    :cond_28
    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->c:Lsg/bigolive/revenue64/component/gift/bean/a;

    .line 3301
    iget-object v2, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    invoke-virtual {v2, v0}, Lsg/bigolive/revenue64/component/gift/widget/b;->a(Lsg/bigolive/revenue64/component/gift/bean/a;)V

    const-string v2, "BlastGiftShowComponent"

    const-string v4, "tryShowBlastAnim blastEntity="

    .line 3302
    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

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

    move-result-object v0

    invoke-static {v2, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 3303
    invoke-direct {p0, v3}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a(Z)V

    :goto_41
    if-eqz v3, :cond_4b

    .line 278
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 279
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->f()V

    .line 282
    :cond_4b
    monitor-exit p0

    return-void

    :catchall_4d
    move-exception v0

    monitor-exit p0
    :try_end_4f
    .catchall {:try_start_1 .. :try_end_4f} :catchall_4d

    goto :goto_51

    :goto_50
    throw v0

    :goto_51
    goto :goto_50
.end method

.method static synthetic f(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)Landroid/view/View;
    .registers 2

    const/4 v0, 0x0

    .line 52
    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->b:Landroid/view/View;

    return-object v0
.end method

.method private f()V
    .registers 4

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

    const-string v1, "showNextDelay , mStopPlay="

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

    iget-boolean v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->i:Z

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

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

    move-result-object v0

    const-string v1, "BlastGiftShowComponent"

    invoke-static {v1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 287
    iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->i:Z

    if-eqz v0, :cond_1a

    return-void

    .line 290
    :cond_1a
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->l:Ljava/lang/Runnable;

    const-wide/16 v1, 0xc8

    invoke-static {v0, v1, v2}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;J)V

    return-void
.end method

.method static synthetic g(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)Lsg/bigolive/revenue64/component/gift/widget/b;
    .registers 2

    const/4 v0, 0x0

    .line 52
    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    return-object v0
.end method

.method private g()V
    .registers 4

    const/4 v0, 0x1

    .line 316
    iput-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->i:Z

    .line 317
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    if-eqz v0, :cond_16

    .line 318
    invoke-virtual {v0}, Lsg/bigolive/revenue64/component/gift/widget/b;->a()V

    const/4 v0, 0x0

    .line 319
    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    .line 321
    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a:Landroid/widget/FrameLayout;

    iget-object v2, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->b:Landroid/view/View;

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->removeView(Landroid/view/View;)V

    .line 322
    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->b:Landroid/view/View;

    .line 324
    :cond_16
    monitor-enter p0

    .line 325
    :try_start_17
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 326
    monitor-exit p0
    :try_end_1d
    .catchall {:try_start_17 .. :try_end_1d} :catchall_43

    .line 327
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->l:Ljava/lang/Runnable;

    .line 4042
    invoke-static {}, Lsg/bigo/common/ac$a;->a()Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

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

    const-string v1, "clear blast anim buffer.size="

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

    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

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

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

    move-result-object v0

    const-string v1, "BlastGiftShowComponent"

    invoke-static {v1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    const/4 v0, 0x0

    .line 329
    iput-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->i:Z

    return-void

    :catchall_43
    move-exception v0

    .line 326
    :try_start_44
    monitor-exit p0
    :try_end_45
    .catchall {:try_start_44 .. :try_end_45} :catchall_43

    throw v0
.end method

.method private synthetic h()V
    .registers 1

    .line 90
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->e()V

    return-void
.end method

.method static synthetic h(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)V
    .registers 1

    .line 52
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->f()V

    return-void
.end method

.method static synthetic i(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)Lsg/bigo/core/component/a/d;
    .registers 1

    .line 52
    iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->f:Lsg/bigo/core/component/a/d;

    return-object p0
.end method

.method static synthetic j(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)V
    .registers 4

    .line 5222
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->h:Lsg/bigo/core/component/c/a;

    check-cast v0, Lsg/bigo/live/support64/component/a;

    const v1, 0x7d08041d

    invoke-interface {v0, v1}, Lsg/bigo/live/support64/component/a;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewStub;

    if-eqz v0, :cond_36

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

    .line 5225
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->h:Lsg/bigo/core/component/c/a;

    check-cast v0, Lsg/bigo/live/support64/component/a;

    const v1, 0x7d0801af

    invoke-interface {v0, v1}, Lsg/bigo/live/support64/component/a;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a:Landroid/widget/FrameLayout;

    .line 5226
    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    .line 5227
    invoke-static {}, Lsg/bigo/common/k;->b()I

    move-result v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 5228
    invoke-static {}, Lsg/bigo/common/k;->a()I

    move-result v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 5229
    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 5231
    :cond_36
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a:Landroid/widget/FrameLayout;

    if-eqz v0, :cond_6d

    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->b:Landroid/view/View;

    if-nez v1, :cond_6d

    .line 5233
    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7d0a00b2

    iget-object v2, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a:Landroid/widget/FrameLayout;

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    .line 5234
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->h:Lsg/bigo/core/component/c/a;

    check-cast v0, Lsg/bigo/live/support64/component/a;

    const v1, 0x7d0801ae

    invoke-interface {v0, v1}, Lsg/bigo/live/support64/component/a;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->b:Landroid/view/View;

    .line 5235
    new-instance v0, Lsg/bigolive/revenue64/component/gift/widget/b;

    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->h:Lsg/bigo/core/component/c/a;

    check-cast v1, Lsg/bigo/live/support64/component/a;

    invoke-direct {v0, v1}, Lsg/bigolive/revenue64/component/gift/widget/b;-><init>(Lsg/bigo/live/support64/component/a;)V

    iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    .line 5236
    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->k:Lsg/bigolive/revenue64/component/gift/c/e;

    .line 6051
    iput-object v1, v0, Lsg/bigolive/revenue64/component/gift/widget/a;->d:Lsg/bigolive/revenue64/component/gift/c/e;

    .line 5237
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->j:Lsg/bigolive/revenue64/component/gift/widget/b;

    iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->b:Landroid/view/View;

    invoke-virtual {v0, p0}, Lsg/bigolive/revenue64/component/gift/widget/b;->a(Landroid/view/View;)V

    :cond_6d
    return-void
.end method

.method static synthetic k(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)V
    .registers 1

    .line 52
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->e()V

    return-void
.end method

.method public static synthetic lambda$3hryLfYg3Wga8n6_x79o559RVd4(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;[ILjava/lang/Long;)V
    .registers 3

    invoke-direct {p0, p1, p2}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->a([ILjava/lang/Long;)V

    return-void
.end method

.method public static synthetic lambda$P9jTzHY5M2noD39XNDavYxiRQH4(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;)V
    .registers 1

    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->h()V

    return-void
.end method


# virtual methods
.method public final J_()V
    .registers 1

    return-void
.end method

.method public final a(Landroidx/lifecycle/LifecycleOwner;)V
    .registers 2

    .line 138
    invoke-super {p0, p1}, Lsg/bigo/core/component/AbstractComponent;->a(Landroidx/lifecycle/LifecycleOwner;)V

    .line 139
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d()V

    .line 140
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->g()V

    return-void
.end method

.method public final a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lsg/bigo/core/component/a/b;",
            "Landroid/util/SparseArray<",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 119
    sget-object p2, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_END:Lsg/bigo/live/support64/component/a/a;

    if-ne p2, p1, :cond_b

    .line 120
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->d()V

    .line 121
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->g()V

    return-void

    .line 122
    :cond_b
    sget-object p2, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_SWITCH_ENTER_ROOM_START:Lsg/bigo/live/support64/component/a/a;

    if-ne p2, p1, :cond_15

    .line 123
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->g()V

    .line 124
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->c()V

    :cond_15
    return-void
.end method

.method public final a(Lsg/bigo/core/component/b/c;)V
    .registers 3

    .line 114
    const-class v0, Lsg/bigolive/revenue64/component/gift/c;

    invoke-interface {p1, v0}, Lsg/bigo/core/component/b/c;->a(Ljava/lang/Class;)V

    return-void
.end method

.method public final a(Lsg/bigolive/revenue64/pro/bg;)V
    .registers 14

    .line 181
    invoke-static {p1}, Lsg/bigolive/revenue64/component/gift/bean/a;->a(Lsg/bigolive/revenue64/pro/bg;)Lsg/bigolive/revenue64/component/gift/bean/a;

    move-result-object v0

    .line 184
    iget-wide v1, p1, Lsg/bigolive/revenue64/pro/bg;->b:J

    invoke-static {}, Lsg/bigo/live/support64/t;->e()Lsg/bigo/live/support64/e;

    move-result-object v3

    invoke-interface {v3}, Lsg/bigo/live/support64/e;->aO_()J

    move-result-wide v3

    cmp-long v5, v1, v3

    if-nez v5, :cond_14

    const/4 v1, 0x1

    goto :goto_25

    .line 186
    :cond_14
    iget-wide v1, p1, Lsg/bigolive/revenue64/pro/bg;->c:J

    invoke-static {}, Lsg/bigo/live/support64/t;->e()Lsg/bigo/live/support64/e;

    move-result-object v3

    invoke-interface {v3}, Lsg/bigo/live/support64/e;->aO_()J

    move-result-wide v3

    cmp-long v5, v1, v3

    if-nez v5, :cond_24

    const/4 v1, 0x2

    goto :goto_25

    :cond_24
    const/4 v1, 0x3

    .line 190
    :goto_25
    new-instance v2, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent$2;

    invoke-direct {v2, p0, v0, p1}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent$2;-><init>(Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;Lsg/bigolive/revenue64/component/gift/bean/a;Lsg/bigolive/revenue64/pro/bg;)V

    .line 212
    iget v3, p1, Lsg/bigolive/revenue64/pro/bg;->t:I

    if-nez v3, :cond_3a

    .line 213
    invoke-static {}, Lsg/bigolive/revenue64/component/gift/a/d;->a()Lsg/bigolive/revenue64/component/gift/a/d;

    move-result-object p1

    .line 1048
    iget-object p1, p1, Lsg/bigolive/revenue64/component/gift/a/d;->a:Lsg/bigolive/revenue64/component/gift/a/c;

    .line 213
    iget v0, v0, Lsg/bigolive/revenue64/component/gift/bean/a;->b:I

    invoke-virtual {p1, v0, v1, v2}, Lsg/bigolive/revenue64/component/gift/a/c;->a(IILsg/bigolive/revenue64/component/gift/a/b$a;)V

    return-void

    .line 215
    :cond_3a
    invoke-static {}, Lsg/bigolive/revenue64/component/gift/a/d;->a()Lsg/bigolive/revenue64/component/gift/a/d;

    move-result-object v3

    .line 1052
    iget-object v3, v3, Lsg/bigolive/revenue64/component/gift/a/d;->b:Lsg/bigolive/revenue64/component/gift/a/a;

    .line 215
    iget v11, v0, Lsg/bigolive/revenue64/component/gift/bean/a;->b:I

    iget v9, p1, Lsg/bigolive/revenue64/pro/bg;->u:I

    iget-object v6, p1, Lsg/bigolive/revenue64/pro/bg;->v:Ljava/lang/String;

    .line 2042
    move-object p1, v6

    check-cast p1, Ljava/lang/CharSequence;

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

    move-result p1

    if-eqz p1, :cond_68

    .line 2043
    new-instance p1, Ljava/lang/StringBuilder;

    const-string v3, "saveGiftToCache, url is null, giftId = "

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

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

    const/16 v3, 0x20

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

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

    move-result-object p1

    const-string v3, "Blast_Gift_Download"

    invoke-static {v3, p1}, Lsg/bigo/log/TraceLog;->i(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_78

    .line 2616
    :cond_68
    iget-object p1, v3, Lsg/bigolive/revenue64/component/gift/a/b;->c:Landroid/util/SparseArray;

    .line 2048
    new-instance v3, Lsg/bigolive/revenue64/component/gift/a/a/a;

    const/4 v7, 0x0

    const/4 v8, 0x0

    const-string v10, "GEN"

    move-object v4, v3

    move v5, v11

    invoke-direct/range {v4 .. v10}, Lsg/bigolive/revenue64/component/gift/a/a/a;-><init>(ILjava/lang/String;IIILjava/lang/String;)V

    .line 2047
    invoke-virtual {p1, v11, v3}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V

    .line 216
    :goto_78
    invoke-static {}, Lsg/bigolive/revenue64/component/gift/a/d;->a()Lsg/bigolive/revenue64/component/gift/a/d;

    move-result-object p1

    .line 3052
    iget-object p1, p1, Lsg/bigolive/revenue64/component/gift/a/d;->b:Lsg/bigolive/revenue64/component/gift/a/a;

    .line 216
    iget v0, v0, Lsg/bigolive/revenue64/component/gift/bean/a;->b:I

    invoke-virtual {p1, v0, v1, v2}, Lsg/bigolive/revenue64/component/gift/a/a;->a(IILsg/bigolive/revenue64/component/gift/a/b$a;)V

    return-void
.end method

.method public final b()V
    .registers 1

    .line 104
    invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/BlastGiftShowComponent;->c()V

    return-void
.end method

.method public final b(Lsg/bigo/core/component/b/c;)V
    .registers 3

    .line 109
    const-class v0, Lsg/bigolive/revenue64/component/gift/c;

    invoke-interface {p1, v0, p0}, Lsg/bigo/core/component/b/c;->a(Ljava/lang/Class;Lsg/bigo/core/component/b/b;)V

    return-void
.end method

.method public final u()[Lsg/bigo/core/component/a/b;
    .registers 4

    const/4 v0, 0x2

    new-array v0, v0, [Lsg/bigo/core/component/a/b;

    .line 131
    sget-object v1, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_END:Lsg/bigo/live/support64/component/a/a;

    const/4 v2, 0x0

    aput-object v1, v0, v2

    sget-object v1, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_SWITCH_ENTER_ROOM_START:Lsg/bigo/live/support64/component/a/a;

    const/4 v2, 0x1

    aput-object v1, v0, v2

    return-object v0
.end method