.class public final Lf/a/m/p; .super Ljava/lang/Object; .source "OverlayMenuView.kt" # interfaces .implements Li0/k/b; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Li0/k/b<", "Lcom/discord/models/domain/ModelChannel;", "Lrx/Observable<", "+", "Lcom/discord/views/OverlayMenuView$a;", ">;>;" } .end annotation # static fields .field public static final d:Lf/a/m/p; # direct methods .method public static constructor ()V .locals 1 new-instance v0, Lf/a/m/p; invoke-direct {v0}, Lf/a/m/p;->()V sput-object v0, Lf/a/m/p;->d:Lf/a/m/p; return-void .end method .method public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public call(Ljava/lang/Object;)Ljava/lang/Object; .locals 8 check-cast p1, Lcom/discord/models/domain/ModelChannel; if-nez p1, :cond_0 const/4 p1, 0x0 new-instance v0, Li0/l/e/j; invoke-direct {v0, p1}, Li0/l/e/j;->(Ljava/lang/Object;)V goto :goto_0 :cond_0 new-instance v1, Li0/l/e/j; invoke-direct {v1, p1}, Li0/l/e/j;->(Ljava/lang/Object;)V sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion; invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getPermissions()Lcom/discord/stores/StorePermissions; move-result-object v0 invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J move-result-wide v2 invoke-virtual {v0, v2, v3}, Lcom/discord/stores/StorePermissions;->getForChannel(J)Lrx/Observable; move-result-object v2 sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion; invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getGuilds()Lcom/discord/stores/StoreGuilds; move-result-object v0 invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long; move-result-object p1 const-string v3, "channel.guildId" invoke-static {p1, v3}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {p1}, Ljava/lang/Long;->longValue()J move-result-wide v3 invoke-virtual {v0, v3, v4}, Lcom/discord/stores/StoreGuilds;->observeGuild(J)Lrx/Observable; move-result-object v3 sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion; invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings; move-result-object p1 invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->isSelfMuted()Lrx/Observable; move-result-object v4 sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion; invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getAudioDevices()Lcom/discord/stores/StoreAudioDevices; move-result-object p1 invoke-virtual {p1}, Lcom/discord/stores/StoreAudioDevices;->getAudioDevicesState()Lrx/Observable; move-result-object v5 sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion; invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getRtcConnection()Lcom/discord/stores/StoreRtcConnection; move-result-object p1 invoke-virtual {p1}, Lcom/discord/stores/StoreRtcConnection;->getQuality()Lrx/Observable; move-result-object v6 sget-object p1, Lf/a/m/o;->d:Lf/a/m/o; if-eqz p1, :cond_1 new-instance v0, Lf/a/m/t; invoke-direct {v0, p1}, Lf/a/m/t;->(Lkotlin/jvm/functions/Function6;)V move-object p1, v0 :cond_1 move-object v7, p1 check-cast v7, Lrx/functions/Func6; invoke-static/range {v1 .. v7}, Lrx/Observable;->f(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func6;)Lrx/Observable; move-result-object v0 :goto_0 return-object v0 .end method