apkfuckery/com.discord/smali/f/a/b/s.smali

827 lines
20 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lf/a/b/s;
2020-07-08 16:44:49 +00:00
.super Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
.source "AppTransformers.kt"
2020-07-14 22:43:59 +00:00
# static fields
2020-09-02 04:07:20 +00:00
.field public static final a:Lf/a/b/s;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 1
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
new-instance v0, Lf/a/b/s;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
invoke-direct {v0}, Lf/a/b/s;-><init>()V
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
sput-object v0, Lf/a/b/s;->a:Lf/a/b/s;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
return-void
.end method
.method public constructor <init>()V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
return-void
.end method
2020-09-02 04:07:20 +00:00
.method public static final a(Ljava/util/Collection;)Lrx/Observable$c;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TK;>;)",
"Lrx/Observable$c<",
"Ljava/util/Map<",
"TK;TT;>;",
"Ljava/util/Map<",
"TK;TT;>;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "filterKeys"
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
2020-09-02 04:07:20 +00:00
sget-object v0, Lf/a/b/s$a;->d:Lf/a/b/s$a;
invoke-static {p0, v0}, Lf/a/b/s;->b(Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static final b(Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Lrx/Observable$c;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"V1:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TK;>;",
"Lkotlin/jvm/functions/Function1<",
"-TV;+TV1;>;)",
"Lrx/Observable$c<",
"Ljava/util/Map<",
"TK;TV;>;",
"Ljava/util/Map<",
"TK;TV1;>;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string/jumbo v0, "valueMapper"
2020-10-05 23:18:16 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
sget-object p0, Lf/a/b/s$b;->d:Lf/a/b/s$b;
goto :goto_0
:cond_0
new-instance v0, Lf/a/b/s$c;
invoke-direct {v0, p0, p1}, Lf/a/b/s$c;-><init>(Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)V
move-object p0, v0
:goto_0
return-object p0
.end method
.method public static final c(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)Lrx/Observable$c;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;TT;J",
"Ljava/util/concurrent/TimeUnit;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "predicate"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-09 19:21:20 +00:00
2020-09-23 03:12:49 +00:00
const-string/jumbo v0, "timeUnit"
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p4, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
new-instance v0, Lf/a/b/s$d;
move-object v1, v0
move-object v2, p0
move-object v3, p1
move-wide v4, p2
move-object v6, p4
invoke-direct/range {v1 .. v6}, Lf/a/b/s$d;-><init>(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)V
return-object v0
.end method
.method public static synthetic d(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;I)Lrx/Observable$c;
2020-07-25 00:57:58 +00:00
.locals 0
2020-09-02 04:07:20 +00:00
and-int/lit8 p4, p5, 0x4
if-eqz p4, :cond_0
const-wide/16 p2, 0x1388
:cond_0
and-int/lit8 p4, p5, 0x8
if-eqz p4, :cond_1
sget-object p4, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
goto :goto_0
:cond_1
const/4 p4, 0x0
:goto_0
invoke-static {p0, p1, p2, p3, p4}, Lf/a/b/s;->c(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static final e()Lrx/Observable$c;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x1
invoke-static {v0, v1}, Lf/a/b/s;->f(ZI)Lrx/Observable$c;
move-result-object v0
return-object v0
.end method
.method public static f(ZI)Lrx/Observable$c;
.locals 1
const/4 v0, 0x1
and-int/2addr p1, v0
if-eqz p1, :cond_0
const/4 p0, 0x1
:cond_0
new-instance p1, Lf/a/b/y;
invoke-direct {p1, p0}, Lf/a/b/y;-><init>(Z)V
return-object p1
.end method
.method public static final g(Lrx/functions/Action1;Ljava/lang/Class;)Lrx/Observable$c;
.locals 6
2020-07-14 22:43:59 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-02 04:07:20 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Ljava/lang/Class<",
"*>;)",
"Lrx/Observable$c<",
"TT;TT;>;"
2020-07-14 22:43:59 +00:00
}
.end annotation
2020-09-02 04:07:20 +00:00
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/16 v5, 0x1c
move-object v0, p0
move-object v1, p1
invoke-static/range {v0 .. v5}, Lf/a/b/s;->i(Lrx/functions/Action1;Ljava/lang/Class;Lrx/functions/Action1;Lrx/functions/Action1;Landroid/content/Context;I)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static h(Lf/a/b/s;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Landroid/content/Context;Lkotlin/jvm/functions/Function0;I)Lrx/Observable$c;
.locals 7
and-int/lit8 p0, p7, 0x4
const/4 p4, 0x0
if-eqz p0, :cond_0
move-object v5, p4
goto :goto_0
:cond_0
move-object v5, p3
:goto_0
and-int/lit8 p0, p7, 0x8
const/4 v3, 0x0
and-int/lit8 p0, p7, 0x10
if-eqz p0, :cond_1
move-object v1, p4
goto :goto_1
:cond_1
move-object v1, p5
:goto_1
and-int/lit8 p0, p7, 0x20
const/4 v6, 0x0
2020-09-16 23:45:23 +00:00
const-string p0, "onNext"
2020-10-05 23:18:16 +00:00
invoke-static {p1, p0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
const-string p0, "errorTag"
2020-10-05 23:18:16 +00:00
invoke-static {p2, p0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
2020-09-02 04:07:20 +00:00
new-instance p0, Lf/a/b/e0;
move-object v0, p0
move-object v2, p2
move-object v4, p1
invoke-direct/range {v0 .. v6}, Lf/a/b/e0;-><init>(Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V
return-object p0
.end method
.method public static i(Lrx/functions/Action1;Ljava/lang/Class;Lrx/functions/Action1;Lrx/functions/Action1;Landroid/content/Context;I)Lrx/Observable$c;
.locals 7
and-int/lit8 p2, p5, 0x4
const/4 v5, 0x0
and-int/lit8 p2, p5, 0x8
if-eqz p2, :cond_0
2020-09-16 23:45:23 +00:00
const/4 p3, 0x0
2020-09-02 04:07:20 +00:00
:cond_0
and-int/lit8 p2, p5, 0x10
const/4 v1, 0x0
2020-09-16 23:45:23 +00:00
const-string p2, "onNext"
2020-10-05 23:18:16 +00:00
invoke-static {p0, p2}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
const-string p4, "errorClass"
2020-10-05 23:18:16 +00:00
invoke-static {p1, p4}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
new-instance v4, Lf/a/b/a0;
invoke-direct {v4, p0}, Lf/a/b/a0;-><init>(Lrx/functions/Action1;)V
2020-09-16 23:45:23 +00:00
const/4 v6, 0x0
2020-09-02 04:07:20 +00:00
if-eqz p3, :cond_1
new-instance p0, Lf/a/b/p0;
invoke-direct {p0, p3}, Lf/a/b/p0;-><init>(Lrx/functions/Action1;)V
move-object v3, p0
goto :goto_0
:cond_1
2020-09-16 23:45:23 +00:00
move-object v3, v6
2020-09-02 04:07:20 +00:00
:goto_0
2020-10-05 23:18:16 +00:00
invoke-static {v4, p2}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p1, p4}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
new-instance p0, Lf/a/b/c0;
2020-09-16 21:45:36 +00:00
2020-09-02 04:07:20 +00:00
move-object v0, p0
move-object v2, p1
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
return-object p0
.end method
.method public static j(Ljava/lang/Class;Lrx/functions/Action1;I)Lrx/Observable$c;
.locals 7
and-int/lit8 p1, p2, 0x2
const/4 v5, 0x0
2020-09-16 23:45:23 +00:00
const-string p1, "err"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
sget-object v4, Lf/a/b/g0;->d:Lf/a/b/g0;
2020-09-16 23:45:23 +00:00
const/4 v6, 0x0
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
const-string p1, "onNext"
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v4, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
const-string p1, "errorClass"
2020-10-05 23:18:16 +00:00
invoke-static {p0, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
new-instance p1, Lf/a/b/c0;
2020-09-16 21:45:36 +00:00
2020-09-02 04:07:20 +00:00
move-object v0, p1
move-object v1, v6
move-object v2, p0
move-object v3, v6
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
return-object p1
.end method
.method public static final l(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Landroid/content/Context;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x4
invoke-static {p0, p1, v0, v1}, Lf/a/b/s;->p(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;I)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static final m(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;)Lrx/Observable$c;
2020-09-16 23:45:23 +00:00
.locals 8
2020-09-02 04:07:20 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Landroid/content/Context;",
"Lrx/functions/Action1<",
"Lcom/discord/utilities/error/Error;",
">;)",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "onNext"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
new-instance v5, Lf/a/b/s$e;
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v5, p0}, Lf/a/b/s$e;-><init>(Lrx/functions/Action1;)V
const/4 v7, 0x0
2020-09-02 04:07:20 +00:00
if-eqz p2, :cond_0
new-instance p0, Lf/a/b/p0;
invoke-direct {p0, p2}, Lf/a/b/p0;-><init>(Lrx/functions/Action1;)V
goto :goto_0
:cond_0
2020-09-16 23:45:23 +00:00
move-object p0, v7
2020-09-02 04:07:20 +00:00
:goto_0
const/16 p2, 0x28
2020-09-16 23:45:23 +00:00
and-int/lit8 v1, p2, 0x4
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v1, :cond_1
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
move-object v6, v7
2020-09-02 04:07:20 +00:00
goto :goto_1
:cond_1
2020-09-16 23:45:23 +00:00
move-object v6, p0
2020-09-02 04:07:20 +00:00
:goto_1
and-int/lit8 p0, p2, 0x8
and-int/lit8 p0, p2, 0x10
if-eqz p0, :cond_2
2020-09-16 23:45:23 +00:00
move-object v2, v7
2020-09-02 04:07:20 +00:00
goto :goto_2
:cond_2
2020-09-16 23:45:23 +00:00
move-object v2, p1
2020-09-02 04:07:20 +00:00
:goto_2
and-int/lit8 p0, p2, 0x20
2020-10-05 23:18:16 +00:00
invoke-static {v5, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v3, "restClient"
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
const-string p0, "errorTag"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v3, p0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
new-instance p0, Lf/a/b/e0;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
move-object v1, p0
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
move-object v4, v7
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct/range {v1 .. v7}, Lf/a/b/e0;-><init>(Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
return-object p0
2020-09-02 04:07:20 +00:00
.end method
.method public static final n(Lrx/functions/Action1;Lcom/discord/app/AppDialog;)Lrx/Observable$c;
2020-09-16 23:45:23 +00:00
.locals 2
2020-09-02 04:07:20 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Lcom/discord/app/AppDialog;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "onNext"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
const-string v0, "dialog"
2020-09-09 19:21:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
sget-object v0, Lf/a/b/s;->a:Lf/a/b/s;
2020-09-02 04:07:20 +00:00
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object p1
2020-09-16 23:45:23 +00:00
new-instance v1, Lf/a/b/s$g;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v1, p0}, Lf/a/b/s$g;-><init>(Lrx/functions/Action1;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
const/4 p0, 0x0
invoke-virtual {v0, p1, v1, p0}, Lf/a/b/s;->k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
2020-09-02 04:07:20 +00:00
move-result-object p0
return-object p0
.end method
.method public static final o(Lrx/functions/Action1;Lcom/discord/app/AppFragment;)Lrx/Observable$c;
2020-09-16 23:45:23 +00:00
.locals 2
2020-09-02 04:07:20 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Lcom/discord/app/AppFragment;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "onNext"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "fragment"
2020-10-05 23:18:16 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
sget-object v0, Lf/a/b/s;->a:Lf/a/b/s;
2020-09-02 04:07:20 +00:00
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object p1
2020-09-16 23:45:23 +00:00
new-instance v1, Lf/a/b/s$f;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v1, p0}, Lf/a/b/s$f;-><init>(Lrx/functions/Action1;)V
const/4 p0, 0x0
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0, p1, v1, p0}, Lf/a/b/s;->k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
2020-09-02 04:07:20 +00:00
move-result-object p0
return-object p0
.end method
.method public static synthetic p(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;I)Lrx/Observable$c;
.locals 0
and-int/lit8 p2, p3, 0x4
const/4 p2, 0x0
invoke-static {p0, p1, p2}, Lf/a/b/s;->m(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static final q(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)Lrx/Observable$c;
2020-09-16 23:45:23 +00:00
.locals 3
2020-09-02 04:07:20 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">(",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;TR;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+",
"Lrx/Observable<",
"TR;>;>;)",
"Lrx/Observable$c<",
"TT;TR;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "observableCondition"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v1, "defaultObservableFunc"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p2, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
new-instance v2, Lf/a/b/s$h;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v2, p1}, Lf/a/b/s$h;-><init>(Ljava/lang/Object;)V
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
const-string/jumbo p1, "switchedObservableFunc"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v2, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p2, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
new-instance p1, Lf/a/b/i0;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, p0, v2, p2}, Lf/a/b/i0;-><init>(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
return-object p1
2020-09-02 04:07:20 +00:00
.end method
.method public static final r(Lcom/discord/app/AppComponent;)Lrx/Observable$c;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/discord/app/AppComponent;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x2
invoke-static {p0, v0, v1}, Lf/a/b/s;->s(Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;I)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static s(Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;I)Lrx/Observable$c;
.locals 0
and-int/lit8 p1, p2, 0x2
const/4 p1, 0x0
2020-09-16 23:45:23 +00:00
const-string p2, "appComponent"
2020-10-05 23:18:16 +00:00
invoke-static {p0, p2}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
new-instance p2, Lf/a/b/m0;
invoke-direct {p2, p0, p1}, Lf/a/b/m0;-><init>(Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;)V
return-object p2
.end method
.method public static final t(Lcom/discord/utilities/dimmer/DimmerView;)Lrx/Observable$c;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/discord/utilities/dimmer/DimmerView;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const-wide/16 v0, 0x0
const/4 v2, 0x2
invoke-static {p0, v0, v1, v2}, Lf/a/b/s;->u(Lcom/discord/utilities/dimmer/DimmerView;JI)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static u(Lcom/discord/utilities/dimmer/DimmerView;JI)Lrx/Observable$c;
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
const-wide/16 p1, 0x1c2
:cond_0
new-instance p3, Lf/a/b/o0;
invoke-direct {p3, p0, p1, p2}, Lf/a/b/o0;-><init>(Lcom/discord/utilities/dimmer/DimmerView;J)V
return-object p3
.end method
# virtual methods
.method public final k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Context;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Lkotlin/Unit;",
">;",
"Lrx/functions/Action1<",
"Lcom/discord/utilities/error/Error;",
">;)",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "onNext"
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
if-eqz p3, :cond_0
new-instance v0, Lf/a/b/p0;
invoke-direct {v0, p3}, Lf/a/b/p0;-><init>(Lrx/functions/Action1;)V
2020-09-16 23:45:23 +00:00
goto :goto_0
2020-09-02 04:07:20 +00:00
:cond_0
2020-09-16 23:45:23 +00:00
const/4 v0, 0x0
:goto_0
2020-09-02 04:07:20 +00:00
move-object v4, v0
const/4 v5, 0x0
const/4 v7, 0x0
const/16 v8, 0x28
const-string v3, "restClient"
move-object v1, p0
move-object v2, p2
move-object v6, p1
invoke-static/range {v1 .. v8}, Lf/a/b/s;->h(Lf/a/b/s;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Landroid/content/Context;Lkotlin/jvm/functions/Function0;I)Lrx/Observable$c;
move-result-object p1
2020-07-08 16:44:49 +00:00
return-object p1
2020-05-17 12:40:10 +00:00
.end method