.class public final Lz5/em0;
.super Lz5/ke0;
.source ""


# instance fields
.field public final A:Landroid/content/Context;

.field public final B:Lz5/gm0;

.field public final C:Lcom/google/android/gms/internal/ads/b4;

.field public final D:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field public final E:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lz5/se;",
            ">;"
        }
    .end annotation
.end field

.field public final i:Ljava/util/concurrent/Executor;

.field public final j:Lz5/hm0;

.field public final k:Lz5/nm0;

.field public final l:Lz5/um0;

.field public final m:Lz5/mm0;

.field public final n:Lz5/om0;

.field public final o:Lz5/po1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/po1<",
            "Lz5/ko0;",
            ">;"
        }
    .end annotation
.end field

.field public final p:Lz5/po1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/po1<",
            "Lz5/jo0;",
            ">;"
        }
    .end annotation
.end field

.field public final q:Lz5/po1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/po1<",
            "Lz5/mo0;",
            ">;"
        }
    .end annotation
.end field

.field public final r:Lz5/po1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/po1<",
            "Lz5/io0;",
            ">;"
        }
    .end annotation
.end field

.field public final s:Lz5/po1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/po1<",
            "Lz5/lo0;",
            ">;"
        }
    .end annotation
.end field

.field public t:Lz5/en0;

.field public u:Z

.field public v:Z

.field public w:Z

.field public final x:Lz5/s30;

.field public final y:Lz5/l;

.field public final z:Lz5/g50;


# direct methods
.method public constructor <init>(Lz5/uk;Ljava/util/concurrent/Executor;Lz5/hm0;Lz5/nm0;Lz5/um0;Lz5/mm0;Lz5/om0;Lz5/po1;Lz5/po1;Lz5/po1;Lz5/po1;Lz5/po1;Lz5/s30;Lz5/l;Lz5/g50;Landroid/content/Context;Lz5/gm0;Lcom/google/android/gms/internal/ads/b4;Lz5/te;)V
    .registers 22
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/uk;",
            "Ljava/util/concurrent/Executor;",
            "Lz5/hm0;",
            "Lz5/nm0;",
            "Lz5/um0;",
            "Lz5/mm0;",
            "Lz5/om0;",
            "Lz5/po1<",
            "Lz5/ko0;",
            ">;",
            "Lz5/po1<",
            "Lz5/jo0;",
            ">;",
            "Lz5/po1<",
            "Lz5/mo0;",
            ">;",
            "Lz5/po1<",
            "Lz5/io0;",
            ">;",
            "Lz5/po1<",
            "Lz5/lo0;",
            ">;",
            "Lz5/s30;",
            "Lz5/l;",
            "Lz5/g50;",
            "Landroid/content/Context;",
            "Lz5/gm0;",
            "Lcom/google/android/gms/internal/ads/b4;",
            "Lz5/te;",
            ")V"
        }
    .end annotation

    move-object v0, p0

    invoke-direct {p0, p1}, Lz5/ke0;-><init>(Lz5/uk;)V

    move-object v1, p2

    iput-object v1, v0, Lz5/em0;->i:Ljava/util/concurrent/Executor;

    move-object v1, p3

    iput-object v1, v0, Lz5/em0;->j:Lz5/hm0;

    move-object v1, p4

    iput-object v1, v0, Lz5/em0;->k:Lz5/nm0;

    move-object v1, p5

    iput-object v1, v0, Lz5/em0;->l:Lz5/um0;

    move-object v1, p6

    iput-object v1, v0, Lz5/em0;->m:Lz5/mm0;

    move-object v1, p7

    iput-object v1, v0, Lz5/em0;->n:Lz5/om0;

    move-object v1, p8

    iput-object v1, v0, Lz5/em0;->o:Lz5/po1;

    move-object v1, p9

    iput-object v1, v0, Lz5/em0;->p:Lz5/po1;

    move-object v1, p10

    iput-object v1, v0, Lz5/em0;->q:Lz5/po1;

    move-object v1, p11

    iput-object v1, v0, Lz5/em0;->r:Lz5/po1;

    move-object v1, p12

    iput-object v1, v0, Lz5/em0;->s:Lz5/po1;

    move-object v1, p13

    iput-object v1, v0, Lz5/em0;->x:Lz5/s30;

    move-object/from16 v1, p14

    iput-object v1, v0, Lz5/em0;->y:Lz5/l;

    move-object/from16 v1, p15

    iput-object v1, v0, Lz5/em0;->z:Lz5/g50;

    move-object/from16 v1, p16

    iput-object v1, v0, Lz5/em0;->A:Landroid/content/Context;

    move-object/from16 v1, p17

    iput-object v1, v0, Lz5/em0;->B:Lz5/gm0;

    move-object/from16 v1, p18

    iput-object v1, v0, Lz5/em0;->C:Lcom/google/android/gms/internal/ads/b4;

    new-instance v1, Ljava/util/HashMap;

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

    iput-object v1, v0, Lz5/em0;->D:Ljava/util/Map;

    new-instance v1, Ljava/util/ArrayList;

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

    iput-object v1, v0, Lz5/em0;->E:Ljava/util/List;

    return-void
.end method

.method public static c(Landroid/view/View;)Z
    .registers 8

    sget-object v0, Lz5/so;->n6:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v2, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v2, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    const/4 v2, 0x1

    const/4 v3, 0x0

    const/4 v4, 0x0

    if-eqz v0, :cond_42

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzc()Lcom/google/android/gms/ads/internal/util/zzs;

    invoke-static {p0}, Lcom/google/android/gms/ads/internal/util/zzs;->zzA(Landroid/view/View;)J

    move-result-wide v5

    invoke-virtual {p0}, Landroid/view/View;->isShown()Z

    move-result v0

    if-eqz v0, :cond_41

    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    invoke-virtual {p0, v0, v3}, Landroid/view/View;->getGlobalVisibleRect(Landroid/graphics/Rect;Landroid/graphics/Point;)Z

    move-result p0

    if-eqz p0, :cond_41

    sget-object p0, Lz5/so;->o6:Lz5/no;

    .line 3
    iget-object v0, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 4
    invoke-virtual {v0, p0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/Integer;

    invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I

    move-result p0

    int-to-long v0, p0

    cmp-long p0, v5, v0

    if-ltz p0, :cond_41

    return v2

    :cond_41
    return v4

    :cond_42
    invoke-virtual {p0}, Landroid/view/View;->isShown()Z

    move-result v0

    if-eqz v0, :cond_54

    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    invoke-virtual {p0, v0, v3}, Landroid/view/View;->getGlobalVisibleRect(Landroid/graphics/Rect;Landroid/graphics/Point;)Z

    move-result p0

    if-eqz p0, :cond_54

    return v2

    :cond_54
    return v4
.end method


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

    iget-object v0, p0, Lz5/em0;->i:Ljava/util/concurrent/Executor;

    new-instance v1, Lz5/cm0;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lz5/cm0;-><init>(Lz5/em0;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    iget-object v0, p0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->t()I

    move-result v0

    const/4 v1, 0x7

    if-eq v0, v1, :cond_23

    iget-object v0, p0, Lz5/em0;->i:Ljava/util/concurrent/Executor;

    iget-object v1, p0, Lz5/em0;->k:Lz5/nm0;

    invoke-static {v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    new-instance v2, Lz5/dc0;

    invoke-direct {v2, v1}, Lz5/dc0;-><init>(Lz5/nm0;)V

    .line 2
    invoke-interface {v0, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    :cond_23
    invoke-super {p0}, Lz5/ke0;->a()V

    return-void
.end method

.method public final declared-synchronized b()V
    .registers 4

    monitor-enter p0

    const/4 v0, 0x1

    :try_start_2
    iput-boolean v0, p0, Lz5/em0;->u:Z

    iget-object v1, p0, Lz5/em0;->i:Ljava/util/concurrent/Executor;

    new-instance v2, Lz5/cm0;

    invoke-direct {v2, p0, v0}, Lz5/cm0;-><init>(Lz5/em0;I)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    invoke-super {p0}, Lz5/ke0;->b()V
    :try_end_11
    .catchall {:try_start_2 .. :try_end_11} :catchall_13

    monitor-exit p0

    return-void

    :catchall_13
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final d(Ljava/lang/String;Z)V
    .registers 15

    iget-object v0, p0, Lz5/em0;->m:Lz5/mm0;

    invoke-virtual {v0}, Lz5/mm0;->c()Z

    move-result v0

    if-eqz v0, :cond_bf

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

    move-result v0

    if-eqz v0, :cond_10

    goto/16 :goto_bf

    :cond_10
    iget-object v0, p0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->l()Lcom/google/android/gms/internal/ads/g2;

    move-result-object v0

    iget-object v1, p0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v1}, Lz5/hm0;->k()Lcom/google/android/gms/internal/ads/g2;

    move-result-object v1

    if-nez v0, :cond_22

    if-eqz v1, :cond_21

    goto :goto_22

    :cond_21
    return-void

    :cond_22
    :goto_22
    if-eqz v0, :cond_26

    const/4 v2, 0x0

    goto :goto_29

    :cond_26
    const-string v2, "javascript"

    move-object v0, v1

    :goto_29
    move-object v7, v2

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzr()Lz5/i00;

    move-result-object v2

    iget-object v3, p0, Lz5/em0;->A:Landroid/content/Context;

    invoke-interface {v2, v3}, Lz5/i00;->zza(Landroid/content/Context;)Z

    move-result v2

    if-nez v2, :cond_3c

    const-string p1, "Failed to initialize omid in InternalNativeAd"

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V

    return-void

    :cond_3c
    iget-object v2, p0, Lz5/em0;->z:Lz5/g50;

    iget v3, v2, Lz5/g50;->s:I

    iget v2, v2, Lz5/g50;->t:I

    new-instance v4, Ljava/lang/StringBuilder;

    const/16 v5, 0x17

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

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

    const-string v3, "."

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

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

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

    move-result-object v3

    if-eqz v1, :cond_61

    sget-object v2, Lcom/google/android/gms/internal/ads/b1;->u:Lcom/google/android/gms/internal/ads/b1;

    sget-object v4, Lcom/google/android/gms/internal/ads/c1;->t:Lcom/google/android/gms/internal/ads/c1;

    :goto_5e
    move-object v10, v2

    move-object v9, v4

    goto :goto_72

    :cond_61
    sget-object v2, Lcom/google/android/gms/internal/ads/b1;->t:Lcom/google/android/gms/internal/ads/b1;

    iget-object v4, p0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v4}, Lz5/hm0;->t()I

    move-result v4

    const/4 v5, 0x3

    if-ne v4, v5, :cond_6f

    sget-object v4, Lcom/google/android/gms/internal/ads/c1;->v:Lcom/google/android/gms/internal/ads/c1;

    goto :goto_5e

    :cond_6f
    sget-object v4, Lcom/google/android/gms/internal/ads/c1;->u:Lcom/google/android/gms/internal/ads/c1;

    goto :goto_5e

    :goto_72
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzr()Lz5/i00;

    move-result-object v2

    invoke-interface {v0}, Lcom/google/android/gms/internal/ads/g2;->zzG()Landroid/webkit/WebView;

    move-result-object v4

    const-string v5, ""

    const-string v6, "javascript"

    iget-object v8, p0, Lz5/ke0;->b:Lz5/b31;

    iget-object v11, v8, Lz5/b31;->i0:Ljava/lang/String;

    move-object v8, p1

    invoke-interface/range {v2 .. v11}, Lz5/i00;->i(Ljava/lang/String;Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/google/android/gms/internal/ads/c1;Lcom/google/android/gms/internal/ads/b1;Ljava/lang/String;)Lx5/a;

    move-result-object p1

    if-nez p1, :cond_8f

    const-string p1, "Failed to create omid session in InternalNativeAd"

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V

    return-void

    :cond_8f
    iget-object v2, p0, Lz5/em0;->j:Lz5/hm0;

    .line 1
    monitor-enter v2

    :try_start_92
    iput-object p1, v2, Lz5/hm0;->l:Lx5/a;
    :try_end_94
    .catchall {:try_start_92 .. :try_end_94} :catchall_bc

    monitor-exit v2

    .line 2
    invoke-interface {v0, p1}, Lcom/google/android/gms/internal/ads/g2;->S(Lx5/a;)V

    if-eqz v1, :cond_a8

    invoke-interface {v1}, Lcom/google/android/gms/internal/ads/g2;->zzH()Landroid/view/View;

    move-result-object v1

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzr()Lz5/i00;

    move-result-object v2

    invoke-interface {v2, p1, v1}, Lz5/i00;->h(Lx5/a;Landroid/view/View;)V

    const/4 v1, 0x1

    iput-boolean v1, p0, Lz5/em0;->w:Z

    :cond_a8
    if-eqz p2, :cond_bb

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzr()Lz5/i00;

    move-result-object p2

    invoke-interface {p2, p1}, Lz5/i00;->zzf(Lx5/a;)V

    new-instance p1, Lr/a;

    invoke-direct {p1}, Lr/a;-><init>()V

    const-string p2, "onSdkLoaded"

    invoke-interface {v0, p2, p1}, Lz5/fw;->e(Ljava/lang/String;Ljava/util/Map;)V

    :cond_bb
    return-void

    :catchall_bc
    move-exception p1

    .line 3
    monitor-exit v2

    throw p1

    :cond_bf
    :goto_bf
    return-void
.end method

.method public final e(Landroid/view/View;)V
    .registers 5

    iget-object v0, p0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->m()Lx5/a;

    move-result-object v0

    iget-object v1, p0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v1}, Lz5/hm0;->l()Lcom/google/android/gms/internal/ads/g2;

    move-result-object v1

    iget-object v2, p0, Lz5/em0;->m:Lz5/mm0;

    invoke-virtual {v2}, Lz5/mm0;->c()Z

    move-result v2

    if-eqz v2, :cond_21

    if-eqz v0, :cond_21

    if-eqz v1, :cond_21

    if-eqz p1, :cond_21

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzr()Lz5/i00;

    move-result-object v1

    invoke-interface {v1, v0, p1}, Lz5/i00;->h(Lx5/a;Landroid/view/View;)V

    :cond_21
    return-void
.end method

.method public final declared-synchronized f(Lz5/en0;)V
    .registers 11

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lz5/em0;->u:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_bd

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    :try_start_7
    iput-object p1, p0, Lz5/em0;->t:Lz5/en0;

    iget-object v0, p0, Lz5/em0;->l:Lz5/um0;

    .line 1
    iget-object v1, v0, Lz5/um0;->g:Ljava/util/concurrent/Executor;

    new-instance v2, Lz5/w8;

    invoke-direct {v2, v0, p1}, Lz5/w8;-><init>(Lz5/um0;Lz5/en0;)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    .line 2
    iget-object v3, p0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {p1}, Lz5/en0;->b1()Landroid/view/View;

    move-result-object v4

    invoke-interface {p1}, Lz5/en0;->zzk()Ljava/util/Map;

    move-result-object v5

    invoke-interface {p1}, Lz5/en0;->zzl()Ljava/util/Map;

    move-result-object v6

    move-object v7, p1

    move-object v8, p1

    invoke-interface/range {v3 .. v8}, Lz5/nm0;->l(Landroid/view/View;Ljava/util/Map;Ljava/util/Map;Landroid/view/View$OnTouchListener;Landroid/view/View$OnClickListener;)V

    sget-object v0, Lz5/so;->C1:Lz5/no;

    .line 3
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v2, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 4
    invoke-virtual {v2, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_47

    iget-object v0, p0, Lz5/em0;->y:Lz5/l;

    .line 5
    iget-object v0, v0, Lz5/l;->b:Lz5/h;

    if-eqz v0, :cond_47

    .line 6
    invoke-interface {p1}, Lz5/en0;->b1()Landroid/view/View;

    move-result-object v2

    invoke-interface {v0, v2}, Lz5/h;->zzn(Landroid/view/View;)V

    :cond_47
    sget-object v0, Lz5/so;->a1:Lz5/no;

    .line 7
    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 8
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_aa

    iget-object v0, p0, Lz5/ke0;->b:Lz5/b31;

    iget-boolean v1, v0, Lz5/b31;->h0:Z

    if-nez v1, :cond_5e

    goto :goto_aa

    :cond_5e
    iget-object v0, v0, Lz5/b31;->g0:Lorg/json/JSONObject;

    invoke-virtual {v0}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;

    move-result-object v0

    if-eqz v0, :cond_aa

    :cond_66
    :goto_66
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_aa

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

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iget-object v2, p0, Lz5/em0;->t:Lz5/en0;

    invoke-interface {v2}, Lz5/en0;->zzj()Ljava/util/Map;

    move-result-object v2

    invoke-interface {v2, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/ref/WeakReference;

    iget-object v3, p0, Lz5/em0;->D:Ljava/util/Map;

    sget-object v4, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

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

    if-eqz v2, :cond_66

    invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroid/view/View;

    if-eqz v2, :cond_66

    iget-object v3, p0, Lz5/em0;->A:Landroid/content/Context;

    new-instance v4, Lz5/se;

    invoke-direct {v4, v3, v2}, Lz5/se;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iget-object v2, p0, Lz5/em0;->E:Ljava/util/List;

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

    new-instance v2, Lz5/dm0;

    invoke-direct {v2, p0, v1}, Lz5/dm0;-><init>(Lz5/em0;Ljava/lang/String;)V

    .line 9
    iget-object v1, v4, Lz5/se;->C:Ljava/util/HashSet;

    invoke-virtual {v1, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    const/4 v1, 0x3

    invoke-virtual {v4, v1}, Lz5/se;->e(I)V

    goto :goto_66

    .line 10
    :cond_aa
    :goto_aa
    invoke-interface {p1}, Lz5/en0;->zzh()Lz5/se;

    move-result-object v0

    if-eqz v0, :cond_bb

    invoke-interface {p1}, Lz5/en0;->zzh()Lz5/se;

    move-result-object p1

    iget-object v0, p0, Lz5/em0;->x:Lz5/s30;

    invoke-virtual {p1, v0}, Lz5/se;->a(Lz5/re;)V
    :try_end_b9
    .catchall {:try_start_7 .. :try_end_b9} :catchall_bd

    monitor-exit p0

    return-void

    :cond_bb
    monitor-exit p0

    return-void

    :catchall_bd
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final g(Lz5/en0;)V
    .registers 5

    iget-object v0, p0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {p1}, Lz5/en0;->b1()Landroid/view/View;

    move-result-object v1

    invoke-interface {p1}, Lz5/en0;->zzj()Ljava/util/Map;

    move-result-object v2

    invoke-interface {v0, v1, v2}, Lz5/nm0;->e(Landroid/view/View;Ljava/util/Map;)V

    invoke-interface {p1}, Lz5/en0;->p()Landroid/widget/FrameLayout;

    move-result-object v0

    if-eqz v0, :cond_22

    invoke-interface {p1}, Lz5/en0;->p()Landroid/widget/FrameLayout;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setClickable(Z)V

    invoke-interface {p1}, Lz5/en0;->p()Landroid/widget/FrameLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    :cond_22
    invoke-interface {p1}, Lz5/en0;->zzh()Lz5/se;

    move-result-object v0

    if-eqz v0, :cond_33

    invoke-interface {p1}, Lz5/en0;->zzh()Lz5/se;

    move-result-object p1

    iget-object v0, p0, Lz5/em0;->x:Lz5/s30;

    .line 1
    iget-object p1, p1, Lz5/se;->C:Ljava/util/HashSet;

    invoke-virtual {p1, v0}, Ljava/util/HashSet;->remove(Ljava/lang/Object;)Z

    :cond_33
    const/4 p1, 0x0

    .line 2
    iput-object p1, p0, Lz5/em0;->t:Lz5/en0;

    return-void
.end method

.method public final declared-synchronized h(Landroid/os/Bundle;)V
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v0, p1}, Lz5/nm0;->zzh(Landroid/os/Bundle;)V
    :try_end_6
    .catchall {:try_start_1 .. :try_end_6} :catchall_8

    monitor-exit p0

    return-void

    :catchall_8
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized i(Landroid/os/Bundle;)Z
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lz5/em0;->v:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_12

    if-eqz v0, :cond_8

    const/4 p1, 0x1

    monitor-exit p0

    return p1

    :cond_8
    :try_start_8
    iget-object v0, p0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v0, p1}, Lz5/nm0;->o(Landroid/os/Bundle;)Z

    move-result p1

    iput-boolean p1, p0, Lz5/em0;->v:Z
    :try_end_10
    .catchall {:try_start_8 .. :try_end_10} :catchall_12

    monitor-exit p0

    return p1

    :catchall_12
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized j(Landroid/os/Bundle;)V
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v0, p1}, Lz5/nm0;->m(Landroid/os/Bundle;)V
    :try_end_6
    .catchall {:try_start_1 .. :try_end_6} :catchall_8

    monitor-exit p0

    return-void

    :catchall_8
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized k(Lz5/en0;)V
    .registers 4

    monitor-enter p0

    :try_start_1
    sget-object v0, Lz5/so;->Y0:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_1f

    sget-object v0, Lcom/google/android/gms/ads/internal/util/zzs;->zza:Lz5/i91;

    new-instance v1, Ll5/l;

    invoke-direct {v1, p0, p1}, Ll5/l;-><init>(Lz5/em0;Lz5/en0;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_1d
    .catchall {:try_start_1 .. :try_end_1d} :catchall_24

    monitor-exit p0

    return-void

    :cond_1f
    :try_start_1f
    invoke-virtual {p0, p1}, Lz5/em0;->f(Lz5/en0;)V
    :try_end_22
    .catchall {:try_start_1f .. :try_end_22} :catchall_24

    monitor-exit p0

    return-void

    :catchall_24
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized l(Lz5/en0;)V
    .registers 4

    monitor-enter p0

    :try_start_1
    sget-object v0, Lz5/so;->Y0:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_1f

    sget-object v0, Lcom/google/android/gms/ads/internal/util/zzs;->zza:Lz5/i91;

    new-instance v1, Ll5/m;

    invoke-direct {v1, p0, p1}, Ll5/m;-><init>(Lz5/em0;Lz5/en0;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_1d
    .catchall {:try_start_1 .. :try_end_1d} :catchall_24

    monitor-exit p0

    return-void

    :cond_1f
    :try_start_1f
    invoke-virtual {p0, p1}, Lz5/em0;->g(Lz5/en0;)V
    :try_end_22
    .catchall {:try_start_1f .. :try_end_22} :catchall_24

    monitor-exit p0

    return-void

    :catchall_24
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized m(Landroid/view/View;Landroid/view/View;Ljava/util/Map;Ljava/util/Map;Z)V
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/view/View;",
            "Landroid/view/View;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;>;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;>;Z)V"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lz5/em0;->l:Lz5/um0;

    iget-object v1, p0, Lz5/em0;->t:Lz5/en0;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    if-eqz v1, :cond_32

    .line 1
    iget-object v2, v0, Lz5/um0;->e:Lz5/zm0;

    if-eqz v2, :cond_32

    invoke-interface {v1}, Lz5/en0;->p()Landroid/widget/FrameLayout;

    move-result-object v2

    if-nez v2, :cond_15

    goto :goto_32

    :cond_15
    iget-object v2, v0, Lz5/um0;->c:Lz5/mm0;

    invoke-virtual {v2}, Lz5/mm0;->a()Z

    move-result v2
    :try_end_1b
    .catchall {:try_start_1 .. :try_end_1b} :catchall_5d

    if-nez v2, :cond_1e

    goto :goto_32

    :cond_1e
    :try_start_1e
    invoke-interface {v1}, Lz5/en0;->p()Landroid/widget/FrameLayout;

    move-result-object v1

    iget-object v0, v0, Lz5/um0;->e:Lz5/zm0;

    invoke-virtual {v0}, Lz5/zm0;->a()Landroid/view/View;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
    :try_end_2b
    .catch Lz5/h80; {:try_start_1e .. :try_end_2b} :catch_2c
    .catchall {:try_start_1e .. :try_end_2b} :catchall_5d

    goto :goto_32

    :catch_2c
    move-exception v0

    :try_start_2d
    const-string v1, "web view can not be obtained"

    invoke-static {v1, v0}, Lcom/google/android/gms/ads/internal/util/zze;->zzb(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 2
    :cond_32
    :goto_32
    iget-object v0, p0, Lz5/em0;->k:Lz5/nm0;

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    move v5, p5

    invoke-interface/range {v0 .. v5}, Lz5/nm0;->f(Landroid/view/View;Landroid/view/View;Ljava/util/Map;Ljava/util/Map;Z)V

    iget-boolean p1, p0, Lz5/em0;->w:Z

    if-eqz p1, :cond_5b

    iget-object p1, p0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {p1}, Lz5/hm0;->k()Lcom/google/android/gms/internal/ads/g2;

    move-result-object p1

    if-nez p1, :cond_49

    goto :goto_5b

    :cond_49
    iget-object p1, p0, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {p1}, Lz5/hm0;->k()Lcom/google/android/gms/internal/ads/g2;

    move-result-object p1

    new-instance p2, Lr/a;

    invoke-direct {p2}, Lr/a;-><init>()V

    const-string p3, "onSdkAdUserInteractionClick"

    invoke-interface {p1, p3, p2}, Lz5/fw;->e(Ljava/lang/String;Ljava/util/Map;)V
    :try_end_59
    .catchall {:try_start_2d .. :try_end_59} :catchall_5d

    monitor-exit p0

    return-void

    :cond_5b
    :goto_5b
    monitor-exit p0

    return-void

    :catchall_5d
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized n(Landroid/view/View;Ljava/util/Map;Ljava/util/Map;Z)V
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/view/View;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;>;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;>;Z)V"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lz5/em0;->v:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_a6

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    :try_start_7
    sget-object v0, Lz5/so;->a1:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_45

    iget-object v0, p0, Lz5/ke0;->b:Lz5/b31;

    iget-boolean v0, v0, Lz5/b31;->h0:Z

    if-eqz v0, :cond_45

    iget-object v0, p0, Lz5/em0;->D:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_45

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

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iget-object v2, p0, Lz5/em0;->D:Ljava/util/Map;

    invoke-interface {v2, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1
    :try_end_41
    .catchall {:try_start_7 .. :try_end_41} :catchall_a6

    if-nez v1, :cond_29

    monitor-exit p0

    return-void

    :cond_45
    const/4 v0, 0x1

    if-eqz p4, :cond_58

    :try_start_48
    iget-object p4, p0, Lz5/em0;->l:Lz5/um0;

    iget-object v1, p0, Lz5/em0;->t:Lz5/en0;

    invoke-virtual {p4, v1}, Lz5/um0;->a(Lz5/en0;)V

    iget-object p4, p0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {p4, p1, p2, p3}, Lz5/nm0;->j(Landroid/view/View;Ljava/util/Map;Ljava/util/Map;)V

    iput-boolean v0, p0, Lz5/em0;->v:Z
    :try_end_56
    .catchall {:try_start_48 .. :try_end_56} :catchall_a6

    monitor-exit p0

    return-void

    :cond_58
    :try_start_58
    sget-object p4, Lz5/so;->e2:Lz5/no;

    .line 3
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 4
    invoke-virtual {v1, p4}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object p4

    check-cast p4, Ljava/lang/Boolean;

    invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p4

    if-eqz p4, :cond_a4

    if-eqz p2, :cond_a4

    invoke-interface {p2}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object p4

    invoke-interface {p4}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object p4

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

    move-result v1

    if-eqz v1, :cond_a4

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

    move-result-object v1

    check-cast v1, Ljava/util/Map$Entry;

    invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/ref/WeakReference;

    invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/View;

    if-eqz v1, :cond_74

    invoke-static {v1}, Lz5/em0;->c(Landroid/view/View;)Z

    move-result v1

    if-eqz v1, :cond_74

    iget-object p4, p0, Lz5/em0;->l:Lz5/um0;

    iget-object v1, p0, Lz5/em0;->t:Lz5/en0;

    invoke-virtual {p4, v1}, Lz5/um0;->a(Lz5/en0;)V

    iget-object p4, p0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {p4, p1, p2, p3}, Lz5/nm0;->j(Landroid/view/View;Ljava/util/Map;Ljava/util/Map;)V

    iput-boolean v0, p0, Lz5/em0;->v:Z
    :try_end_a2
    .catchall {:try_start_58 .. :try_end_a2} :catchall_a6

    monitor-exit p0

    return-void

    :cond_a4
    monitor-exit p0

    return-void

    :catchall_a6
    move-exception p1

    monitor-exit p0

    throw p1
.end method
