2020-04-11 15:34:05 +00:00
|
|
|
.class public final Ld0/u$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "HttpUrl.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-04-11 15:34:05 +00:00
|
|
|
value = Ld0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "b"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
.method public static synthetic a(Ld0/u$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 13
|
|
|
|
|
|
|
|
move/from16 v0, p10
|
|
|
|
|
|
|
|
and-int/lit8 v1, v0, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move v5, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
and-int/lit8 v1, v0, 0x2
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
move v6, v1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move/from16 v6, p3
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
and-int/lit8 v1, v0, 0x8
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move/from16 v8, p5
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
and-int/lit8 v1, v0, 0x10
|
|
|
|
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move/from16 v9, p6
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
and-int/lit8 v1, v0, 0x20
|
|
|
|
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move/from16 v10, p7
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
and-int/lit8 v1, v0, 0x40
|
|
|
|
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
move/from16 v11, p8
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
and-int/lit16 v0, v0, 0x80
|
|
|
|
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
move-object v12, v0
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
move-object/from16 v12, p9
|
|
|
|
|
|
|
|
:goto_6
|
|
|
|
move-object v3, p0
|
|
|
|
|
|
|
|
move-object v4, p1
|
|
|
|
|
|
|
|
move-object/from16 v7, p4
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual/range {v3 .. v12}, Ld0/u$b;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
.method public static synthetic a(Ld0/u$b;Ljava/lang/String;IIZI)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
and-int/lit8 v0, p5, 0x1
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 v0, p5, 0x2
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
and-int/lit8 p5, p5, 0x4
|
|
|
|
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
|
|
|
|
const/4 p4, 0x0
|
|
|
|
|
|
|
|
:cond_2
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Ld0/u$b;->a(Ljava/lang/String;IIZ)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Ljava/lang/String;)I
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const v1, 0x310888 # 4.503E-39f
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
|
|
|
|
const v1, 0x5f008eb
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v0, "https"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
const/16 p1, 0x1bb
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string v0, "http"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
const/16 p1, 0x50
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p1, "scheme"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
.locals 17
|
|
|
|
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
|
|
|
|
move/from16 v2, p3
|
|
|
|
|
|
|
|
move-object/from16 v3, p4
|
|
|
|
|
|
|
|
move-object/from16 v4, p9
|
|
|
|
|
|
|
|
if-eqz v1, :cond_19
|
|
|
|
|
|
|
|
if-eqz v3, :cond_18
|
|
|
|
|
|
|
|
move/from16 v5, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-string v6, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
|
|
|
if-ge v5, v2, :cond_17
|
|
|
|
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
const/4 v8, 0x2
|
|
|
|
|
|
|
|
const/16 v9, 0x80
|
|
|
|
|
|
|
|
const/16 v10, 0x7f
|
|
|
|
|
|
|
|
const/16 v11, 0x25
|
|
|
|
|
|
|
|
const/16 v12, 0x2b
|
|
|
|
|
|
|
|
const/16 v13, 0x20
|
|
|
|
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
|
|
|
if-lt v7, v13, :cond_3
|
|
|
|
|
|
|
|
if-eq v7, v10, :cond_3
|
|
|
|
|
|
|
|
if-lt v7, v9, :cond_0
|
|
|
|
|
|
|
|
if-eqz p8, :cond_3
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
int-to-char v15, v7
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v3, v15, v14, v8}, Lz/a0/u;->contains$default(Ljava/lang/CharSequence;CZI)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v15
|
|
|
|
|
|
|
|
if-nez v15, :cond_3
|
|
|
|
|
|
|
|
if-ne v7, v11, :cond_1
|
|
|
|
|
|
|
|
if-eqz p5, :cond_3
|
|
|
|
|
|
|
|
if-eqz p6, :cond_1
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v0, v1, v5, v2}, Ld0/u$b;->a(Ljava/lang/String;II)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v11
|
|
|
|
|
|
|
|
if-eqz v11, :cond_3
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-ne v7, v12, :cond_2
|
|
|
|
|
|
|
|
if-eqz p7, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-static {v7}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
2020-04-11 15:34:05 +00:00
|
|
|
new-instance v7, Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-direct {v7}, Le0/e;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move/from16 v11, p2
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v7, v1, v11, v5}, Le0/e;->a(Ljava/lang/String;II)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ge v5, v2, :cond_16
|
|
|
|
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v15
|
|
|
|
|
|
|
|
if-eqz p5, :cond_4
|
|
|
|
|
|
|
|
const/16 v14, 0x9
|
|
|
|
|
|
|
|
if-eq v15, v14, :cond_9
|
|
|
|
|
|
|
|
const/16 v14, 0xa
|
|
|
|
|
|
|
|
if-eq v15, v14, :cond_9
|
|
|
|
|
|
|
|
const/16 v14, 0xc
|
|
|
|
|
|
|
|
if-eq v15, v14, :cond_9
|
|
|
|
|
|
|
|
const/16 v14, 0xd
|
|
|
|
|
|
|
|
if-eq v15, v14, :cond_9
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
if-ne v15, v12, :cond_6
|
|
|
|
|
|
|
|
if-eqz p7, :cond_6
|
|
|
|
|
|
|
|
if-eqz p5, :cond_5
|
|
|
|
|
|
|
|
const-string v8, "+"
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string v8, "%2B"
|
|
|
|
|
|
|
|
:goto_3
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v7, v8}, Le0/e;->a(Ljava/lang/String;)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
if-lt v15, v13, :cond_a
|
|
|
|
|
|
|
|
if-eq v15, v10, :cond_a
|
|
|
|
|
|
|
|
if-lt v15, v9, :cond_7
|
|
|
|
|
|
|
|
if-eqz p8, :cond_a
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
int-to-char v9, v15
|
|
|
|
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v3, v9, v14, v8}, Lz/a0/u;->contains$default(Ljava/lang/CharSequence;CZI)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_a
|
|
|
|
|
|
|
|
const/16 v8, 0x25
|
|
|
|
|
|
|
|
if-ne v15, v8, :cond_8
|
|
|
|
|
|
|
|
if-eqz p5, :cond_a
|
|
|
|
|
|
|
|
if-eqz p6, :cond_8
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v0, v1, v5, v2}, Ld0/u$b;->a(Ljava/lang/String;II)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_8
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_8
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v7, v15}, Le0/e;->b(I)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_9
|
|
|
|
:goto_4
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
|
|
|
goto/16 :goto_b
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
:goto_5
|
|
|
|
if-nez v11, :cond_b
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
new-instance v11, Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-direct {v11}, Le0/e;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_b
|
|
|
|
if-eqz v4, :cond_14
|
|
|
|
|
|
|
|
sget-object v8, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v4, v8}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_c
|
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
invoke-static {v15}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
add-int/2addr v8, v5
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
|
|
|
if-ltz v5, :cond_d
|
|
|
|
|
|
|
|
const/4 v14, 0x1
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
|
|
|
:goto_6
|
|
|
|
if-eqz v14, :cond_13
|
|
|
|
|
|
|
|
if-lt v8, v5, :cond_e
|
|
|
|
|
|
|
|
const/4 v14, 0x1
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
if-eqz v14, :cond_12
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v14
|
|
|
|
|
|
|
|
if-gt v8, v14, :cond_f
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
:goto_8
|
|
|
|
if-eqz v9, :cond_11
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
sget-object v9, Lz/a0/a;->a:Ljava/nio/charset/Charset;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v4, v9}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_10
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v11, v1, v5, v8}, Le0/e;->a(Ljava/lang/String;II)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
invoke-virtual {v1, v5, v8}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v8, v6}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v8, v4}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
const-string v9, "(this as java.lang.String).getBytes(charset)"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v8, v9}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
array-length v9, v8
|
|
|
|
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v11, v8, v14, v9}, Le0/e;->write([BII)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
const-string v2, "endIndex > string.length: "
|
|
|
|
|
|
|
|
const-string v3, " > "
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v2, v8, v3}, Lf/e/b/a/a;->b(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v2
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v2, "endIndex < beginIndex: "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, " < "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v2
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
const-string v1, "beginIndex < 0: "
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v1, v5}, Lf/e/b/a/a;->a(Ljava/lang/String;I)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v2
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
:goto_9
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v11, v15}, Le0/e;->b(I)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_a
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v11}, Le0/e;->s()Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_15
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v11}, Le0/e;->readByte()B
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
and-int/lit16 v8, v8, 0xff
|
|
|
|
|
|
|
|
const/16 v9, 0x25
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v7, v9}, Le0/e;->writeByte(I)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {}, Ld0/u;->j()[C
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
shr-int/lit8 v16, v8, 0x4
|
|
|
|
|
|
|
|
and-int/lit8 v16, v16, 0xf
|
|
|
|
|
|
|
|
aget-char v9, v9, v16
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v7, v9}, Le0/e;->writeByte(I)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {}, Ld0/u;->j()[C
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
and-int/lit8 v8, v8, 0xf
|
|
|
|
|
|
|
|
aget-char v8, v9, v8
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v7, v8}, Le0/e;->writeByte(I)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
:goto_b
|
|
|
|
invoke-static {v15}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
add-int/2addr v5, v8
|
|
|
|
|
|
|
|
const/4 v8, 0x2
|
|
|
|
|
|
|
|
const/16 v9, 0x80
|
|
|
|
|
|
|
|
goto/16 :goto_2
|
|
|
|
|
|
|
|
:cond_16
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v7}, Le0/e;->d()Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_17
|
|
|
|
move/from16 v11, p2
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v1, v6}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
const-string v1, "encodeSet"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_19
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const-string v2, "$this$canonicalize"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v2}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Ljava/lang/String;IIZ)Ljava/lang/String;
|
2020-03-14 04:13:36 +00:00
|
|
|
.locals 8
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
if-eqz p1, :cond_6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
move v0, p2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-03-14 04:13:36 +00:00
|
|
|
if-ge v0, p3, :cond_5
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->charAt(I)C
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
move-result v1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
const/16 v2, 0x2b
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
const/16 v3, 0x25
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
if-eq v1, v3, :cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
if-ne v1, v2, :cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
2020-03-14 04:13:36 +00:00
|
|
|
add-int/lit8 v0, v0, 0x1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
2020-04-11 15:34:05 +00:00
|
|
|
new-instance v1, Le0/e;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-direct {v1}, Le0/e;-><init>()V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v1, p1, p2, v0}, Le0/e;->a(Ljava/lang/String;II)Le0/e;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ge v0, p3, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-ne p2, v3, :cond_2
|
|
|
|
|
|
|
|
add-int/lit8 v4, v0, 0x2
|
|
|
|
|
|
|
|
if-ge v4, p3, :cond_2
|
|
|
|
|
|
|
|
add-int/lit8 v5, v0, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v5}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v5}, Ld0/c0/a;->a(C)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
invoke-virtual {p1, v4}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v6}, Ld0/c0/a;->a(C)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
move-result v6
|
|
|
|
|
|
|
|
const/4 v7, -0x1
|
|
|
|
|
|
|
|
if-eq v5, v7, :cond_3
|
|
|
|
|
|
|
|
if-eq v6, v7, :cond_3
|
|
|
|
|
|
|
|
shl-int/lit8 v0, v5, 0x4
|
|
|
|
|
|
|
|
add-int/2addr v0, v6
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v1, v0}, Le0/e;->writeByte(I)Le0/e;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
add-int v0, p2, v4
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-ne p2, v2, :cond_3
|
|
|
|
|
|
|
|
if-eqz p4, :cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
const/16 p2, 0x20
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v1, p2}, Le0/e;->writeByte(I)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v1, p2}, Le0/e;->b(I)Le0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
invoke-static {p2}, Ljava/lang/Character;->charCount(I)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
move-result p2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
add-int/2addr v0, p2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
goto :goto_2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
:cond_4
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v1}, Le0/e;->d()Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
:cond_5
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1, p2, p3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1, p2}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p1
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const-string p1, "$this$percentDecode"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2019-12-06 03:29:40 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Ljava/util/List;Z)Ljava/util/List;
|
|
|
|
.locals 8
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;Z)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x3
|
|
|
|
|
|
|
|
move-object v2, p0
|
|
|
|
|
|
|
|
move v6, p2
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static/range {v2 .. v7}, Ld0/u$b;->a(Ld0/u$b;Ljava/lang/String;IIZI)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "Collections.unmodifiableList(result)"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1, p2}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
.method public final a(Ljava/util/List;Ljava/lang/StringBuilder;)V
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;",
|
|
|
|
"Ljava/lang/StringBuilder;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
|
|
|
|
invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "out"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p1, "$this$toPathString"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public final a(Ljava/lang/String;II)Z
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
add-int/lit8 v0, p2, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-ge v0, p3, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
const/16 v2, 0x25
|
|
|
|
|
|
|
|
if-ne p3, v2, :cond_0
|
|
|
|
|
|
|
|
add-int/2addr p2, v1
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p2}, Ld0/c0/a;->a(C)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
const/4 p3, -0x1
|
|
|
|
|
|
|
|
if-eq p2, p3, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Ld0/c0/a;->a(C)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eq p1, p3, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
.method public final b(Ljava/lang/String;)Ld0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
new-instance v1, Ld0/u$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-direct {v1}, Ld0/u$a;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v1, v0, p1}, Ld0/u$a;->a(Ld0/u;Ljava/lang/String;)Ld0/u$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v1}, Ld0/u$a;->a()Ld0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "$this$toHttpUrl"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final b(Ljava/util/List;Ljava/lang/StringBuilder;)V
|
|
|
|
.locals 6
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;",
|
|
|
|
"Ljava/lang/StringBuilder;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v0, v1}, Lz/x/f;->until(II)Lkotlin/ranges/IntRange;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v0, v1}, Lz/x/f;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getFirst()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getLast()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getStep()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-lt v1, v2, :cond_3
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
add-int/lit8 v4, v1, 0x1
|
|
|
|
|
|
|
|
invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-lez v1, :cond_1
|
|
|
|
|
|
|
|
const/16 v5, 0x26
|
|
|
|
|
|
|
|
invoke-virtual {p2, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
|
|
|
|
const/16 v3, 0x3d
|
|
|
|
|
|
|
|
invoke-virtual {p2, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eq v1, v2, :cond_3
|
|
|
|
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p1, "out"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p1, "$this$toQueryString"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
.method public final c(Ljava/lang/String;)Ld0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
:try_start_0
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {p0, p1}, Ld0/u$b;->b(Ljava/lang/String;)Ld0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "$this$toHttpUrlOrNull"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final d(Ljava/lang/String;)Ljava/util/List;
|
|
|
|
.locals 8
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-gt v3, v4, :cond_3
|
|
|
|
|
|
|
|
const/16 v4, 0x26
|
|
|
|
|
|
|
|
const/4 v5, 0x4
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1, v4, v3, v2, v5}, Lz/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
const/4 v6, -0x1
|
|
|
|
|
|
|
|
if-ne v4, v6, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/16 v7, 0x3d
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1, v7, v3, v2, v5}, Lz/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
const-string v7, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
|
|
|
if-eq v5, v6, :cond_2
|
|
|
|
|
|
|
|
if-le v5, v4, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p1, v3, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v3, v7}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v5, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v3, v7}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p1, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v3, v7}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
add-int/lit8 v3, v4, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p1, "$this$toQueryNamesAndValues"
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|