.class Lcom/in2wow/sdk/b/a/b$a;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/in2wow/sdk/b/a/b;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "a"
.end annotation


# instance fields
.field private a:I

.field private b:Ljava/lang/String;

.field private c:Ljava/lang/String;

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:I


# direct methods
.method constructor <init>()V
    .locals 2

    .line 263
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, -0x1

    .line 273
    iput v0, p0, Lcom/in2wow/sdk/b/a/b$a;->a:I

    const/4 v1, 0x0

    .line 274
    iput-object v1, p0, Lcom/in2wow/sdk/b/a/b$a;->b:Ljava/lang/String;

    .line 275
    iput-object v1, p0, Lcom/in2wow/sdk/b/a/b$a;->c:Ljava/lang/String;

    .line 276
    iput-object v1, p0, Lcom/in2wow/sdk/b/a/b$a;->d:Ljava/lang/String;

    .line 277
    iput-object v1, p0, Lcom/in2wow/sdk/b/a/b$a;->e:Ljava/lang/String;

    .line 278
    iput v0, p0, Lcom/in2wow/sdk/b/a/b$a;->f:I

    return-void
.end method

.method public static a(Landroid/net/Uri;)Lcom/in2wow/sdk/b/a/b$a;
    .locals 4

    const/4 v0, 0x0

    .line 281
    :try_start_0
    new-instance v1, Lcom/in2wow/sdk/b/a/b$a;

    invoke-direct {v1}, Lcom/in2wow/sdk/b/a/b$a;-><init>()V

    .line 282
    invoke-virtual {p0}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/in2wow/sdk/b/a/b$a;->b:Ljava/lang/String;

    const-string v2, "adid"

    .line 283
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const/4 v3, -0x1

    if-nez v2, :cond_0

    const/4 v2, -0x1

    goto :goto_0

    :cond_0
    const-string v2, "adid"

    .line 284
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    .line 283
    :goto_0
    iput v2, v1, Lcom/in2wow/sdk/b/a/b$a;->a:I

    const-string v2, "action"

    .line 285
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_1

    move-object v2, v0

    goto :goto_1

    :cond_1
    const-string v2, "action"

    .line 286
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 285
    :goto_1
    iput-object v2, v1, Lcom/in2wow/sdk/b/a/b$a;->d:Ljava/lang/String;

    const-string v2, "geo_group"

    .line 287
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_2

    move-object v2, v0

    goto :goto_2

    :cond_2
    const-string v2, "geo_group"

    .line 288
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 287
    :goto_2
    iput-object v2, v1, Lcom/in2wow/sdk/b/a/b$a;->e:Ljava/lang/String;

    const-string v2, "geo_id"

    .line 289
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_3

    goto :goto_3

    :cond_3
    const-string v2, "geo_id"

    .line 290
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3

    .line 289
    :goto_3
    iput v3, v1, Lcom/in2wow/sdk/b/a/b$a;->f:I

    const-string v2, "endpoint"

    .line 291
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_4

    move-object v2, v0

    goto :goto_4

    :cond_4
    const-string v2, "endpoint"

    .line 292
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 291
    :goto_4
    iput-object v2, v1, Lcom/in2wow/sdk/b/a/b$a;->c:Ljava/lang/String;

    .line 293
    iget-object v2, v1, Lcom/in2wow/sdk/b/a/b$a;->d:Ljava/lang/String;

    if-nez v2, :cond_9

    .line 296
    invoke-virtual {v1}, Lcom/in2wow/sdk/b/a/b$a;->d()Z

    move-result v2

    if-eqz v2, :cond_5

    const-string p0, "adpreview"

    .line 297
    iput-object p0, v1, Lcom/in2wow/sdk/b/a/b$a;->d:Ljava/lang/String;

    goto :goto_7

    :cond_5
    const-string v2, "snapshot"

    .line 298
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_7

    const-string v2, "snapshot"

    .line 299
    iput-object v2, v1, Lcom/in2wow/sdk/b/a/b$a;->d:Ljava/lang/String;

    const-string v2, "snapshot"

    .line 300
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_6

    move-object p0, v0

    goto :goto_5

    :cond_6
    const-string v2, "snapshot"

    .line 301
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 300
    :goto_5
    iput-object p0, v1, Lcom/in2wow/sdk/b/a/b$a;->c:Ljava/lang/String;

    goto :goto_7

    :cond_7
    const-string v2, "debugger_endpoint"

    .line 302
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_9

    const-string v2, "realtime_debugger"

    .line 303
    iput-object v2, v1, Lcom/in2wow/sdk/b/a/b$a;->d:Ljava/lang/String;

    const-string v2, "debugger_endpoint"

    .line 305
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_8

    move-object p0, v0

    goto :goto_6

    :cond_8
    const-string v2, "debugger_endpoint"

    .line 306
    invoke-virtual {p0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 304
    :goto_6
    iput-object p0, v1, Lcom/in2wow/sdk/b/a/b$a;->c:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_9
    :goto_7
    return-object v1

    :catch_0
    return-object v0
.end method


# virtual methods
.method public a()Ljava/lang/String;
    .locals 1

    .line 313
    iget-object v0, p0, Lcom/in2wow/sdk/b/a/b$a;->d:Ljava/lang/String;

    return-object v0
.end method

.method public b()Ljava/lang/String;
    .locals 1

    .line 316
    iget-object v0, p0, Lcom/in2wow/sdk/b/a/b$a;->e:Ljava/lang/String;

    return-object v0
.end method

.method public c()I
    .locals 1

    .line 319
    iget v0, p0, Lcom/in2wow/sdk/b/a/b$a;->f:I

    return v0
.end method

.method public d()Z
    .locals 2

    .line 322
    iget v0, p0, Lcom/in2wow/sdk/b/a/b$a;->a:I

    const/4 v1, -0x1

    if-eq v0, v1, :cond_0

    const/4 v0, 0x1

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public e()I
    .locals 1

    .line 325
    iget v0, p0, Lcom/in2wow/sdk/b/a/b$a;->a:I

    return v0
.end method

.method public f()Ljava/lang/String;
    .locals 1

    .line 331
    iget-object v0, p0, Lcom/in2wow/sdk/b/a/b$a;->c:Ljava/lang/String;

    return-object v0
.end method
