f.smali
.class public final Lcom/singbox/component/j/f;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field static final synthetic a:[Lkotlin/k/g;
.field public static final b:Lcom/singbox/component/j/f;
.field private static final c:Lkotlin/f;
.field private static d:Lokhttp3/x;
.field private static e:Lokhttp3/x;
.field private static f:Lokhttp3/x;
.field private static g:Lokhttp3/x;
.field private static final h:Lsg/bigo/bigohttp/token/ITokenHelper;
.field private static i:Lsg/bigo/bigohttp/token/ITokenHelper;
.field private static final j:Lcom/singbox/component/j/c;
.field private static k:Lcom/singbox/component/j/c;
.field private static final l:Lcom/singbox/component/j/d;
.field private static m:Lcom/singbox/component/j/d;
# direct methods
.method static constructor <clinit>()V
.registers 5
const/4 v0, 0x1
new-array v0, v0, [Lkotlin/k/g;
new-instance v1, Lkotlin/f/b/z;
const-class v2, Lcom/singbox/component/j/f;
invoke-static {v2}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;
move-result-object v2
const-string v3, "httpService"
const-string v4, "getHttpService()Lsg/bigo/framework/service/http/HTTPService;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;
move-result-object v1
check-cast v1, Lkotlin/k/g;
const/4 v2, 0x0
aput-object v1, v0, v2
sput-object v0, Lcom/singbox/component/j/f;->a:[Lkotlin/k/g;
.line 30
new-instance v0, Lcom/singbox/component/j/f;
invoke-direct {v0}, Lcom/singbox/component/j/f;-><init>()V
sput-object v0, Lcom/singbox/component/j/f;->b:Lcom/singbox/component/j/f;
.line 31
sget-object v0, Lcom/singbox/component/j/f$d;->a:Lcom/singbox/component/j/f$d;
check-cast v0, Lkotlin/f/a/a;
invoke-static {v0}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;
move-result-object v0
sput-object v0, Lcom/singbox/component/j/f;->c:Lkotlin/f;
.line 37
new-instance v0, Lcom/singbox/component/j/f$c;
invoke-direct {v0}, Lcom/singbox/component/j/f$c;-><init>()V
check-cast v0, Lsg/bigo/bigohttp/token/ITokenHelper;
.line 47
sput-object v0, Lcom/singbox/component/j/f;->h:Lsg/bigo/bigohttp/token/ITokenHelper;
sput-object v0, Lcom/singbox/component/j/f;->i:Lsg/bigo/bigohttp/token/ITokenHelper;
.line 48
new-instance v0, Lcom/singbox/component/j/f$a;
invoke-direct {v0}, Lcom/singbox/component/j/f$a;-><init>()V
check-cast v0, Lcom/singbox/component/j/c;
.line 65
sput-object v0, Lcom/singbox/component/j/f;->j:Lcom/singbox/component/j/c;
sput-object v0, Lcom/singbox/component/j/f;->k:Lcom/singbox/component/j/c;
.line 66
new-instance v0, Lcom/singbox/component/j/f$b;
invoke-direct {v0}, Lcom/singbox/component/j/f$b;-><init>()V
check-cast v0, Lcom/singbox/component/j/d;
.line 99
sput-object v0, Lcom/singbox/component/j/f;->l:Lcom/singbox/component/j/d;
sput-object v0, Lcom/singbox/component/j/f;->m:Lcom/singbox/component/j/d;
return-void
.end method
.method private constructor <init>()V
.registers 1
.line 30
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private static a(Ljava/lang/Class;Lokhttp3/u;Lokhttp3/x$a;I)Lokhttp3/x$a;
.registers 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"+",
"Lokhttp3/u;",
">;",
"Lokhttp3/u;",
"Lokhttp3/x$a;",
"I)",
"Lokhttp3/x$a;"
}
.end annotation
.line 2989
iget-object v0, p2, Lokhttp3/x$a;->e:Ljava/util/List;
const-string v1, "it"
.line 189
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast v0, Ljava/lang/Iterable;
.line 310
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
const/4 v1, 0x0
:goto_e
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2e
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
add-int/lit8 v3, v1, 0x1
if-gez v1, :cond_1f
invoke-static {}, Lkotlin/a/k;->a()V
:cond_1f
check-cast v2, Lokhttp3/u;
.line 190
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-static {v2, p0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_2c
goto :goto_2f
:cond_2c
move v1, v3
goto :goto_e
:cond_2e
const/4 v1, -0x1
.line 3989
:goto_2f
iget-object p0, p2, Lokhttp3/x$a;->e:Ljava/util/List;
if-ltz v1, :cond_36
.line 199
invoke-interface {p0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
:cond_36
if-ltz v1, :cond_3a
move p3, v1
goto :goto_41
:cond_3a
if-ltz p3, :cond_3d
goto :goto_41
.line 207
:cond_3d
invoke-interface {p0}, Ljava/util/List;->size()I
move-result p3
.line 210
:goto_41
invoke-static {v1, p3}, Lkotlin/j/e;->b(II)I
move-result p3
invoke-interface {p0, p3, p1}, Ljava/util/List;->add(ILjava/lang/Object;)V
return-object p2
.end method
.method public static a()Lsg/bigo/b/d/b/b;
.registers 1
sget-object v0, Lcom/singbox/component/j/f;->c:Lkotlin/f;
invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lsg/bigo/b/d/b/b;
return-object v0
.end method
.method private static a(Lokhttp3/x$a;)V
.registers 3
.line 242
sget-object v0, Lcom/singbox/component/j/f;->m:Lcom/singbox/component/j/d;
if-eqz v0, :cond_1e
invoke-interface {v0}, Lcom/singbox/component/j/d;->a()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_1e
.line 243
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_e
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1e
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/u;
.line 244
invoke-virtual {p0, v1}, Lokhttp3/x$a;->a(Lokhttp3/u;)Lokhttp3/x$a;
goto :goto_e
.line 247
:cond_1e
sget-object v0, Lcom/singbox/component/j/f;->m:Lcom/singbox/component/j/d;
if-eqz v0, :cond_3c
invoke-interface {v0}, Lcom/singbox/component/j/d;->b()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_3c
.line 248
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_2c
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_3c
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/u;
.line 249
invoke-virtual {p0, v1}, Lokhttp3/x$a;->b(Lokhttp3/u;)Lokhttp3/x$a;
goto :goto_2c
.line 252
:cond_3c
sget-boolean p0, Lcom/singbox/component/g/a;->e:Z
return-void
.end method
.method public static b()V
.registers 8
.line 108
sget-object v0, Lcom/singbox/component/j/f;->i:Lsg/bigo/bigohttp/token/ITokenHelper;
if-eqz v0, :cond_152
.line 109
sget-object v1, Lcom/singbox/component/j/f;->k:Lcom/singbox/component/j/c;
invoke-interface {v1}, Lcom/singbox/component/j/c;->a()Lokhttp3/x;
move-result-object v1
.line 110
invoke-virtual {v1}, Lokhttp3/x;->b()Lokhttp3/x$a;
move-result-object v1
.line 112
sget-object v2, Lcom/singbox/component/storage/b/e;->b:Lcom/singbox/component/storage/b/e;
invoke-virtual {v2}, Lcom/singbox/component/storage/b/e;->a()Z
move-result v2
if-nez v2, :cond_1f
.line 113
sget-object v2, Lokhttp3/y;->HTTP_1_1:Lokhttp3/y;
invoke-static {v2}, Lkotlin/a/k;->a(Ljava/lang/Object;)Ljava/util/List;
move-result-object v2
invoke-virtual {v1, v2}, Lokhttp3/x$a;->a(Ljava/util/List;)Lokhttp3/x$a;
.line 115
:cond_1f
const-class v2, Lsg/bigo/bigohttp/b/a;
.line 116
new-instance v3, Lcom/singbox/component/j/a/a;
invoke-static {}, Lsg/bigo/bigohttp/c;->b()Lsg/bigo/bigohttp/d;
move-result-object v4
.line 1063
iget-object v4, v4, Lsg/bigo/bigohttp/d;->b:Ljava/lang/String;
.line 116
new-instance v5, Lcom/singbox/component/j/e;
invoke-direct {v5}, Lcom/singbox/component/j/e;-><init>()V
check-cast v5, Lsg/bigo/bigohttp/helper/ICommonFieldsHelper;
invoke-static {}, Lsg/bigo/bigohttp/c;->b()Lsg/bigo/bigohttp/d;
move-result-object v6
.line 1079
iget-object v6, v6, Lsg/bigo/bigohttp/d;->f:Lsg/bigo/bigohttp/helper/ISignHelper;
.line 116
invoke-static {}, Lsg/bigo/bigohttp/c;->b()Lsg/bigo/bigohttp/d;
move-result-object v7
.line 1083
iget-object v7, v7, Lsg/bigo/bigohttp/d;->g:Lsg/bigo/bigohttp/helper/IBigoHashHelper;
.line 116
invoke-direct {v3, v4, v5, v6, v7}, Lcom/singbox/component/j/a/a;-><init>(Ljava/lang/String;Lsg/bigo/bigohttp/helper/ICommonFieldsHelper;Lsg/bigo/bigohttp/helper/ISignHelper;Lsg/bigo/bigohttp/helper/IBigoHashHelper;)V
check-cast v3, Lokhttp3/u;
const-string v4, "this"
.line 117
invoke-static {v1, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v5, -0x1
.line 115
invoke-static {v2, v3, v1, v5}, Lcom/singbox/component/j/f;->a(Ljava/lang/Class;Lokhttp3/u;Lokhttp3/x$a;I)Lokhttp3/x$a;
.line 1989
iget-object v2, v1, Lokhttp3/x$a;->e:Ljava/util/List;
const-string v3, "it"
.line 119
invoke-static {v2, v3}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast v2, Ljava/lang/Iterable;
const/4 v3, 0x0
.line 307
invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_58
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v6
if-eqz v6, :cond_73
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v6
add-int/lit8 v7, v3, 0x1
if-gez v3, :cond_69
invoke-static {}, Lkotlin/a/k;->a()V
:cond_69
check-cast v6, Lokhttp3/u;
.line 120
instance-of v6, v6, Lcom/singbox/component/j/a/a;
if-eqz v6, :cond_71
move v5, v3
goto :goto_73
:cond_71
move v3, v7
goto :goto_58
.line 126
:cond_73
:goto_73
const-class v2, Lsg/bigo/bigohttp/token/a;
new-instance v3, Lsg/bigo/bigohttp/token/a;
invoke-direct {v3, v0}, Lsg/bigo/bigohttp/token/a;-><init>(Lsg/bigo/bigohttp/token/ITokenHelper;)V
check-cast v3, Lokhttp3/u;
invoke-static {v2, v3, v1, v5}, Lcom/singbox/component/j/f;->a(Ljava/lang/Class;Lokhttp3/u;Lokhttp3/x$a;I)Lokhttp3/x$a;
.line 2217
sget-object v0, Lcom/singbox/component/j/f;->m:Lcom/singbox/component/j/d;
if-eqz v0, :cond_9d
invoke-interface {v0}, Lcom/singbox/component/j/d;->c()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_9d
.line 2218
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_8d
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_9d
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lokhttp3/u;
.line 2219
invoke-virtual {v1, v2}, Lokhttp3/x$a;->a(Lokhttp3/u;)Lokhttp3/x$a;
goto :goto_8d
.line 2227
:cond_9d
sget-boolean v0, Lcom/singbox/component/g/a;->e:Z
if-nez v0, :cond_bf
.line 2233
sget-object v0, Lcom/singbox/component/j/f;->m:Lcom/singbox/component/j/d;
if-eqz v0, :cond_bf
invoke-interface {v0}, Lcom/singbox/component/j/d;->d()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_bf
.line 2234
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_af
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_bf
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lokhttp3/u;
.line 2235
invoke-virtual {v1, v2}, Lokhttp3/x$a;->b(Lokhttp3/u;)Lokhttp3/x$a;
goto :goto_af
.line 129
:cond_bf
invoke-virtual {v1}, Lokhttp3/x$a;->b()Lokhttp3/x;
move-result-object v0
const-string v1, "httpClientProvider.provi\u2026 .build()"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
sput-object v0, Lcom/singbox/component/j/f;->d:Lokhttp3/x;
.line 130
sget-object v0, Lcom/singbox/component/j/f;->k:Lcom/singbox/component/j/c;
invoke-interface {v0}, Lcom/singbox/component/j/c;->b()Lokhttp3/x;
move-result-object v0
.line 131
invoke-virtual {v0}, Lokhttp3/x;->b()Lokhttp3/x$a;
move-result-object v0
.line 133
sget-object v2, Lcom/singbox/component/storage/b/e;->b:Lcom/singbox/component/storage/b/e;
invoke-virtual {v2}, Lcom/singbox/component/storage/b/e;->a()Z
move-result v2
if-nez v2, :cond_e5
.line 134
sget-object v2, Lokhttp3/y;->HTTP_1_1:Lokhttp3/y;
invoke-static {v2}, Lkotlin/a/k;->a(Ljava/lang/Object;)Ljava/util/List;
move-result-object v2
invoke-virtual {v0, v2}, Lokhttp3/x$a;->a(Ljava/util/List;)Lokhttp3/x$a;
.line 136
:cond_e5
invoke-static {v0, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0}, Lcom/singbox/component/j/f;->a(Lokhttp3/x$a;)V
.line 138
invoke-virtual {v0}, Lokhttp3/x$a;->b()Lokhttp3/x;
move-result-object v0
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
sput-object v0, Lcom/singbox/component/j/f;->e:Lokhttp3/x;
.line 139
sget-object v0, Lcom/singbox/component/j/f;->k:Lcom/singbox/component/j/c;
invoke-interface {v0}, Lcom/singbox/component/j/c;->c()Lokhttp3/x;
move-result-object v0
.line 140
invoke-virtual {v0}, Lokhttp3/x;->b()Lokhttp3/x$a;
move-result-object v0
.line 142
sget-object v2, Lcom/singbox/component/storage/b/e;->b:Lcom/singbox/component/storage/b/e;
invoke-virtual {v2}, Lcom/singbox/component/storage/b/e;->a()Z
move-result v2
if-nez v2, :cond_10f
.line 143
sget-object v2, Lokhttp3/y;->HTTP_1_1:Lokhttp3/y;
invoke-static {v2}, Lkotlin/a/k;->a(Ljava/lang/Object;)Ljava/util/List;
move-result-object v2
invoke-virtual {v0, v2}, Lokhttp3/x$a;->a(Ljava/util/List;)Lokhttp3/x$a;
.line 145
:cond_10f
invoke-static {v0, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0}, Lcom/singbox/component/j/f;->a(Lokhttp3/x$a;)V
.line 147
invoke-virtual {v0}, Lokhttp3/x$a;->b()Lokhttp3/x;
move-result-object v0
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
sput-object v0, Lcom/singbox/component/j/f;->f:Lokhttp3/x;
.line 148
sget-object v0, Lcom/singbox/component/j/f;->k:Lcom/singbox/component/j/c;
invoke-interface {v0}, Lcom/singbox/component/j/c;->d()Lokhttp3/x;
move-result-object v0
.line 149
invoke-virtual {v0}, Lokhttp3/x;->b()Lokhttp3/x$a;
move-result-object v0
.line 151
sget-object v2, Lcom/singbox/component/storage/b/e;->b:Lcom/singbox/component/storage/b/e;
invoke-virtual {v2}, Lcom/singbox/component/storage/b/e;->a()Z
move-result v2
if-nez v2, :cond_139
.line 152
sget-object v2, Lokhttp3/y;->HTTP_1_1:Lokhttp3/y;
invoke-static {v2}, Lkotlin/a/k;->a(Ljava/lang/Object;)Ljava/util/List;
move-result-object v2
invoke-virtual {v0, v2}, Lokhttp3/x$a;->a(Ljava/util/List;)Lokhttp3/x$a;
.line 154
:cond_139
invoke-static {v0, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0}, Lcom/singbox/component/j/f;->a(Lokhttp3/x$a;)V
.line 156
invoke-virtual {v0}, Lokhttp3/x$a;->b()Lokhttp3/x;
move-result-object v0
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
sput-object v0, Lcom/singbox/component/j/f;->g:Lokhttp3/x;
.line 157
invoke-static {}, Lsg/bigo/bigohttp/stat/f;->a()Lsg/bigo/bigohttp/stat/f;
sget-object v0, Lcom/singbox/component/j/f$e;->a:Lcom/singbox/component/j/f$e;
check-cast v0, Lsg/bigo/bigohttp/stat/IReportHttpStat;
invoke-static {v0}, Lsg/bigo/bigohttp/stat/f;->a(Lsg/bigo/bigohttp/stat/IReportHttpStat;)V
:cond_152
return-void
.end method
.method public static c()Lokhttp3/x;
.registers 2
.line 267
sget-object v0, Lcom/singbox/component/j/f;->g:Lokhttp3/x;
if-nez v0, :cond_9
const-string v1, "httpClient"
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_9
return-object v0
.end method
.method public static d()Lokhttp3/x;
.registers 2
.line 271
sget-object v0, Lcom/singbox/component/j/f;->d:Lokhttp3/x;
if-nez v0, :cond_9
const-string v1, "bigoHttpClient"
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_9
return-object v0
.end method
.method public static e()Lokhttp3/x;
.registers 2
.line 275
sget-object v0, Lcom/singbox/component/j/f;->e:Lokhttp3/x;
if-nez v0, :cond_9
const-string v1, "downloadHttpClient"
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_9
return-object v0
.end method
.method public static f()Lokhttp3/x;
.registers 2
.line 279
sget-object v0, Lcom/singbox/component/j/f;->f:Lokhttp3/x;
if-nez v0, :cond_9
const-string v1, "uploadHttpClient"
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_9
return-object v0
.end method