apkfuckery/com.discord/smali_classes2/a0/u.smali

1097 lines
22 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final La0/u;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "HttpUrl.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-02-20 19:33:18 +00:00
La0/u$a;,
La0/u$b;
2019-12-06 03:29:40 +00:00
}
.end annotation
# static fields
.field public static final k:[C
2020-02-20 19:33:18 +00:00
.field public static final l:La0/u$b;
2019-12-06 03:29:40 +00:00
# instance fields
.field public final a:Z
.field public final b:Ljava/lang/String;
.field public final c:Ljava/lang/String;
.field public final d:Ljava/lang/String;
.field public final e:Ljava/lang/String;
.field public final f:I
.field public final g:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final h:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final i:Ljava/lang/String;
.field public final j:Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.locals 2
2020-02-20 19:33:18 +00:00
new-instance v0, La0/u$b;
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1}, La0/u$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
sput-object v0, La0/u;->l:La0/u$b;
2019-12-06 03:29:40 +00:00
const/16 v0, 0x10
new-array v0, v0, [C
fill-array-data v0, :array_0
2020-02-20 19:33:18 +00:00
sput-object v0, La0/u;->k:[C
2019-12-06 03:29:40 +00:00
return-void
:array_0
.array-data 2
0x30s
0x31s
0x32s
0x33s
0x34s
0x35s
0x36s
0x37s
0x38s
0x39s
0x41s
0x42s
0x43s
0x44s
0x45s
0x46s
.end array-data
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"I",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"Ljava/lang/String;",
")V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_5
if-eqz p2, :cond_4
if-eqz p3, :cond_3
if-eqz p4, :cond_2
if-eqz p6, :cond_1
if-eqz p9, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-02-20 19:33:18 +00:00
iput-object p1, p0, La0/u;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p2, p0, La0/u;->c:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p3, p0, La0/u;->d:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p4, p0, La0/u;->e:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput p5, p0, La0/u;->f:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p6, p0, La0/u;->g:Ljava/util/List;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p7, p0, La0/u;->h:Ljava/util/List;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p8, p0, La0/u;->i:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p9, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object p1, p0, La0/u;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
const-string p2, "https"
2020-02-20 19:33:18 +00:00
invoke-static {p1, p2}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result p1
2020-02-20 19:33:18 +00:00
iput-boolean p1, p0, La0/u;->a:Z
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "url"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p1, "pathSegments"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p1, "host"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_3
const-string p1, "password"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_4
const-string p1, "username"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_5
const-string p1, "scheme"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
2020-02-20 19:33:18 +00:00
.method public static final c(Ljava/lang/String;)La0/u;
2019-12-06 03:29:40 +00:00
.locals 1
2020-02-20 19:33:18 +00:00
sget-object v0, La0/u;->l:La0/u$b;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v0, p0}, La0/u$b;->c(Ljava/lang/String;)La0/u;
2019-12-06 03:29:40 +00:00
move-result-object p0
return-object p0
.end method
2020-03-14 02:12:46 +00:00
.method public static final synthetic j()[C
2019-12-06 03:29:40 +00:00
.locals 1
2020-02-20 19:33:18 +00:00
sget-object v0, La0/u;->k:[C
2019-12-06 03:29:40 +00:00
return-object v0
.end method
# virtual methods
2020-02-20 19:33:18 +00:00
.method public final a(Ljava/lang/String;)La0/u$a;
2020-03-14 04:13:36 +00:00
.locals 2
2020-02-20 19:33:18 +00:00
2020-03-14 04:13:36 +00:00
const/4 v0, 0x0
2020-02-20 19:33:18 +00:00
2020-03-14 04:13:36 +00:00
if-eqz p1, :cond_0
2020-02-20 19:33:18 +00:00
:try_start_0
2020-03-14 04:13:36 +00:00
new-instance v1, La0/u$a;
2020-03-14 02:12:46 +00:00
2020-03-14 04:13:36 +00:00
invoke-direct {v1}, La0/u$a;-><init>()V
2020-02-20 19:33:18 +00:00
2020-03-14 04:13:36 +00:00
invoke-virtual {v1, p0, p1}, La0/u$a;->a(La0/u;Ljava/lang/String;)La0/u$a;
2020-02-20 19:33:18 +00:00
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
2020-03-14 04:13:36 +00:00
move-object v0, v1
2020-02-20 19:33:18 +00:00
:catch_0
2020-03-14 04:13:36 +00:00
return-object v0
2020-03-10 23:21:53 +00:00
2020-03-14 04:13:36 +00:00
:cond_0
const-string p1, "link"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
2020-02-20 19:33:18 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public final a()Ljava/lang/String;
.locals 6
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->d:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
const-string v0, ""
return-object v0
:cond_1
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
const/16 v3, 0x3a
2020-02-20 19:33:18 +00:00
iget-object v4, p0, La0/u;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v4
add-int/lit8 v4, v4, 0x3
const/4 v5, 0x4
2020-03-14 04:13:36 +00:00
invoke-static {v0, v3, v4, v2, v5}, Lw/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2019-12-06 03:29:40 +00:00
move-result v0
add-int/2addr v0, v1
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
const/16 v3, 0x40
const/4 v4, 0x6
2020-03-14 04:13:36 +00:00
invoke-static {v1, v3, v2, v2, v4}, Lw/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2019-12-06 03:29:40 +00:00
move-result v1
2020-02-20 19:33:18 +00:00
iget-object v2, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_2
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object v0
:cond_2
2020-02-20 19:33:18 +00:00
new-instance v0, Lw/l;
2019-12-06 03:29:40 +00:00
const-string v1, "null cannot be cast to non-null type java.lang.String"
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1}, Lw/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
2020-02-20 19:33:18 +00:00
.method public final b(Ljava/lang/String;)La0/u;
2020-01-07 02:40:43 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
if-eqz p1, :cond_1
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {p0, p1}, La0/u;->a(Ljava/lang/String;)La0/u$a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
move-result-object p1
2020-01-07 02:40:43 +00:00
2020-02-20 19:33:18 +00:00
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {p1}, La0/u$a;->a()La0/u;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
:cond_0
return-object v0
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
:cond_1
const-string p1, "link"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
2019-12-06 03:29:40 +00:00
.end method
.method public final b()Ljava/lang/String;
.locals 5
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v1
add-int/lit8 v1, v1, 0x3
const/16 v2, 0x2f
const/4 v3, 0x0
const/4 v4, 0x4
2020-03-14 04:13:36 +00:00
invoke-static {v0, v2, v1, v3, v4}, Lw/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2019-12-06 03:29:40 +00:00
move-result v0
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v2
const-string v3, "?#"
2020-02-20 19:33:18 +00:00
invoke-static {v1, v3, v0, v2}, La0/c0/a;->a(Ljava/lang/String;Ljava/lang/String;II)I
2019-12-06 03:29:40 +00:00
move-result v1
2020-02-20 19:33:18 +00:00
iget-object v2, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_0
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object v0
:cond_0
2020-02-20 19:33:18 +00:00
new-instance v0, Lw/l;
2019-12-06 03:29:40 +00:00
const-string v1, "null cannot be cast to non-null type java.lang.String"
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1}, Lw/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public final c()Ljava/util/List;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v1
add-int/lit8 v1, v1, 0x3
const/16 v2, 0x2f
const/4 v3, 0x0
const/4 v4, 0x4
2020-03-14 04:13:36 +00:00
invoke-static {v0, v2, v1, v3, v4}, Lw/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2019-12-06 03:29:40 +00:00
move-result v0
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v3
const-string v4, "?#"
2020-02-20 19:33:18 +00:00
invoke-static {v1, v4, v0, v3}, La0/c0/a;->a(Ljava/lang/String;Ljava/lang/String;II)I
2019-12-06 03:29:40 +00:00
move-result v1
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
:goto_0
if-ge v0, v1, :cond_1
add-int/lit8 v0, v0, 0x1
2020-02-20 19:33:18 +00:00
iget-object v4, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v4, v2, v0, v1}, La0/c0/a;->a(Ljava/lang/String;CII)I
2019-12-06 03:29:40 +00:00
move-result v4
2020-02-20 19:33:18 +00:00
iget-object v5, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
if-eqz v5, :cond_0
invoke-virtual {v5, v0, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v5, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
2020-02-20 19:33:18 +00:00
invoke-static {v0, v5}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
move v0, v4
goto :goto_0
:cond_0
2020-02-20 19:33:18 +00:00
new-instance v0, Lw/l;
2019-12-06 03:29:40 +00:00
const-string v1, "null cannot be cast to non-null type java.lang.String"
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1}, Lw/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
return-object v3
.end method
.method public final d()Ljava/lang/String;
.locals 4
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->h:Ljava/util/List;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_0
const/4 v0, 0x0
return-object v0
:cond_0
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
const/16 v1, 0x3f
const/4 v2, 0x6
const/4 v3, 0x0
2020-03-14 04:13:36 +00:00
invoke-static {v0, v1, v3, v3, v2}, Lw/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2019-12-06 03:29:40 +00:00
move-result v0
add-int/lit8 v0, v0, 0x1
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
const/16 v2, 0x23
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v3
2020-02-20 19:33:18 +00:00
invoke-static {v1, v2, v0, v3}, La0/c0/a;->a(Ljava/lang/String;CII)I
2019-12-06 03:29:40 +00:00
move-result v1
2020-02-20 19:33:18 +00:00
iget-object v2, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_1
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object v0
:cond_1
2020-02-20 19:33:18 +00:00
new-instance v0, Lw/l;
2019-12-06 03:29:40 +00:00
const-string v1, "null cannot be cast to non-null type java.lang.String"
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1}, Lw/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public final e()Ljava/lang/String;
.locals 4
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->c:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
const-string v0, ""
return-object v0
:cond_1
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v0
add-int/lit8 v0, v0, 0x3
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v2
const-string v3, ":@"
2020-02-20 19:33:18 +00:00
invoke-static {v1, v3, v0, v2}, La0/c0/a;->a(Ljava/lang/String;Ljava/lang/String;II)I
2019-12-06 03:29:40 +00:00
move-result v1
2020-02-20 19:33:18 +00:00
iget-object v2, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_2
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object v0
:cond_2
2020-02-20 19:33:18 +00:00
new-instance v0, Lw/l;
2019-12-06 03:29:40 +00:00
const-string v1, "null cannot be cast to non-null type java.lang.String"
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1}, Lw/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 1
2020-02-20 19:33:18 +00:00
instance-of v0, p1, La0/u;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2020-02-20 19:33:18 +00:00
check-cast p1, La0/u;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object p1, p1, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p1, v0}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method
2020-03-14 02:12:46 +00:00
.method public final f()La0/u$a;
2019-12-06 03:29:40 +00:00
.locals 5
2020-02-20 19:33:18 +00:00
new-instance v0, La0/u$a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-direct {v0}, La0/u$a;-><init>()V
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object v1, v0, La0/u$a;->a:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, La0/u;->e()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v1
const/4 v2, 0x0
const-string v3, "<set-?>"
if-eqz v1, :cond_4
2020-02-20 19:33:18 +00:00
iput-object v1, v0, La0/u$a;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, La0/u;->a()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v1
if-eqz v1, :cond_3
2020-02-20 19:33:18 +00:00
iput-object v1, v0, La0/u$a;->c:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->e:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object v1, v0, La0/u$a;->d:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget v1, p0, La0/u;->f:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
sget-object v3, La0/u;->l:La0/u$b;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v4, p0, La0/u;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v3, v4}, La0/u$b;->a(Ljava/lang/String;)I
2019-12-06 03:29:40 +00:00
move-result v3
if-eq v1, v3, :cond_0
2020-02-20 19:33:18 +00:00
iget v1, p0, La0/u;->f:I
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_0
const/4 v1, -0x1
:goto_0
2020-02-20 19:33:18 +00:00
iput v1, v0, La0/u$a;->e:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, v0, La0/u$a;->f:Ljava/util/List;
2019-12-06 03:29:40 +00:00
invoke-interface {v1}, Ljava/util/List;->clear()V
2020-02-20 19:33:18 +00:00
iget-object v1, v0, La0/u$a;->f:Ljava/util/List;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, La0/u;->c()Ljava/util/List;
2019-12-06 03:29:40 +00:00
move-result-object v3
invoke-interface {v1, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, La0/u;->d()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v1
2020-02-20 19:33:18 +00:00
invoke-virtual {v0, v1}, La0/u$a;->a(Ljava/lang/String;)La0/u$a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->i:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_1
goto :goto_1
:cond_1
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
const/16 v2, 0x23
const/4 v3, 0x6
const/4 v4, 0x0
2020-03-14 04:13:36 +00:00
invoke-static {v1, v2, v4, v4, v3}, Lw/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2019-12-06 03:29:40 +00:00
move-result v1
add-int/lit8 v1, v1, 0x1
2020-02-20 19:33:18 +00:00
iget-object v2, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_2
invoke-virtual {v2, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v2
const-string v1, "(this as java.lang.String).substring(startIndex)"
2020-02-20 19:33:18 +00:00
invoke-static {v2, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
:goto_1
2020-02-20 19:33:18 +00:00
iput-object v2, v0, La0/u$a;->h:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
return-object v0
:cond_2
2020-02-20 19:33:18 +00:00
new-instance v0, Lw/l;
2019-12-06 03:29:40 +00:00
const-string v1, "null cannot be cast to non-null type java.lang.String"
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1}, Lw/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_3
2020-02-20 19:33:18 +00:00
invoke-static {v3}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v2
:cond_4
2020-02-20 19:33:18 +00:00
invoke-static {v3}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v2
.end method
2020-03-14 02:12:46 +00:00
.method public final g()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
.locals 2
const-string v0, "/..."
2020-02-20 19:33:18 +00:00
invoke-virtual {p0, v0}, La0/u;->a(Ljava/lang/String;)La0/u$a;
2019-12-06 03:29:40 +00:00
move-result-object v0
if-eqz v0, :cond_0
const-string v1, ""
2020-03-14 02:12:46 +00:00
invoke-virtual {v0, v1}, La0/u$a;->c(Ljava/lang/String;)La0/u$a;
2019-12-06 03:29:40 +00:00
2020-03-14 02:12:46 +00:00
invoke-virtual {v0, v1}, La0/u$a;->b(Ljava/lang/String;)La0/u$a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v0}, La0/u$a;->a()La0/u;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-02-20 19:33:18 +00:00
iget-object v0, v0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
return-object v0
:cond_0
2020-02-20 19:33:18 +00:00
invoke-static {}, Lw/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
throw v0
.end method
2020-03-14 02:12:46 +00:00
.method public final h()Ljava/net/URI;
2019-12-06 03:29:40 +00:00
.locals 17
2020-03-14 02:12:46 +00:00
invoke-virtual/range {p0 .. p0}, La0/u;->f()La0/u$a;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-02-20 19:33:18 +00:00
iget-object v1, v0, La0/u$a;->f:Ljava/util/List;
2019-12-06 03:29:40 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
if-ge v3, v1, :cond_0
2020-02-20 19:33:18 +00:00
iget-object v4, v0, La0/u$a;->f:Ljava/util/List;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
sget-object v5, La0/u;->l:La0/u$b;
2019-12-06 03:29:40 +00:00
invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v6
check-cast v6, Ljava/lang/String;
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v10, 0x1
const/4 v11, 0x1
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/16 v15, 0xe3
const-string v9, "[]"
2020-02-20 19:33:18 +00:00
invoke-static/range {v5 .. v15}, La0/u$b;->a(La0/u$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v5
invoke-interface {v4, v3, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_0
2020-02-20 19:33:18 +00:00
iget-object v1, v0, La0/u$a;->g:Ljava/util/List;
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
if-eqz v1, :cond_2
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v4
:goto_1
if-ge v2, v4, :cond_2
invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v5
move-object v7, v5
check-cast v7, Ljava/lang/String;
if-eqz v7, :cond_1
2020-02-20 19:33:18 +00:00
sget-object v6, La0/u;->l:La0/u$b;
2019-12-06 03:29:40 +00:00
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v11, 0x1
const/4 v12, 0x1
const/4 v13, 0x1
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0xc3
const-string v10, "\\^`{|}"
2020-02-20 19:33:18 +00:00
invoke-static/range {v6 .. v16}, La0/u$b;->a(La0/u$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v5
goto :goto_2
:cond_1
move-object v5, v3
:goto_2
invoke-interface {v1, v2, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v2, v2, 0x1
goto :goto_1
:cond_2
2020-02-20 19:33:18 +00:00
iget-object v6, v0, La0/u$a;->h:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
if-eqz v6, :cond_3
2020-02-20 19:33:18 +00:00
sget-object v5, La0/u;->l:La0/u$b;
2019-12-06 03:29:40 +00:00
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v10, 0x1
const/4 v11, 0x1
const/4 v12, 0x0
const/4 v13, 0x1
const/4 v14, 0x0
const/16 v15, 0xa3
const-string v9, " \"#<>\\^`{|}"
2020-02-20 19:33:18 +00:00
invoke-static/range {v5 .. v15}, La0/u$b;->a(La0/u$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v3
:cond_3
2020-02-20 19:33:18 +00:00
iput-object v3, v0, La0/u$a;->h:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v0}, La0/u$a;->toString()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v1
:try_start_0
new-instance v0, Ljava/net/URI;
invoke-direct {v0, v1}, Ljava/net/URI;-><init>(Ljava/lang/String;)V
:try_end_0
.catch Ljava/net/URISyntaxException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_3
:catch_0
move-exception v0
:try_start_1
new-instance v2, Lkotlin/text/Regex;
const-string v3, "[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"
invoke-direct {v2, v3}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;)V
const-string v3, ""
invoke-virtual {v2, v1, v3}, Lkotlin/text/Regex;->replace(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Ljava/net/URI;->create(Ljava/lang/String;)Ljava/net/URI;
move-result-object v1
const-string v2, "URI.create(stripped)"
2020-02-20 19:33:18 +00:00
invoke-static {v1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
move-object v0, v1
:goto_3
return-object v0
:catch_1
new-instance v1, Ljava/lang/RuntimeException;
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method
2020-03-14 02:12:46 +00:00
.method public hashCode()I
.locals 1
iget-object v0, p0, La0/u;->j:Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
return v0
.end method
.method public final i()Ljava/net/URL;
2019-12-06 03:29:40 +00:00
.locals 2
:try_start_0
new-instance v0, Ljava/net/URL;
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
invoke-direct {v0, v1}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
:try_end_0
.catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_0
return-object v0
:catch_0
move-exception v0
new-instance v1, Ljava/lang/RuntimeException;
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method
.method public toString()Ljava/lang/String;
.locals 1
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/u;->j:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
return-object v0
.end method