正在查看: 24Six v66.1.24 应用的 C1571t.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 24Six v66.1.24 应用的 C1571t.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package r;
import android.content.Context;
import androidx.fragment.app.FragmentActivity;
import app.tfs.R;
import app.tfs.content_layout.b;
import app.tfs.db.DbMain;
import app.tfs.fragment.FragmentCollectionList;
import app.tfs.model.TfsBanner;
import app.tfs.model.TfsTile;
import com.google.firebase.sessions.settings.RemoteSettings;
import g.AbstractC1132d;
import l.C1307a;
import n.F2;
public final class C1571t {
public static final C1571t f8109a = new C1571t();
private C1571t() {
}
private final void c(N.f fVar, app.tfs.content_layout.b bVar) {
FragmentActivity activity = fVar.getActivity();
if ((fVar instanceof app.tfs.fragment.b) && (activity instanceof app.tfs.activity.e) && (bVar instanceof TfsTile)) {
((app.tfs.activity.e) activity).Z0((app.tfs.fragment.b) fVar, (TfsTile) bVar, !r4.isFavorite());
}
}
public final void a(N.f frag, app.tfs.content_layout.b bVar, boolean z2, boolean z3, b.a action) {
String str;
boolean z4;
TfsTile tfsTile;
Context context;
kotlin.jvm.internal.m.e(frag, "frag");
kotlin.jvm.internal.m.e(action, "action");
if (action == b.a.favorite) {
c(frag, bVar);
return;
}
if (bVar instanceof TfsTile) {
if (!z2 && !C1556d.f7964d.a() && (context = frag.getContext()) != null) {
V.c c2 = DbMain.b.f3491d.c();
TfsTile tfsTile2 = (TfsTile) bVar;
Long profileId = tfsTile2.getProfileId(context);
kotlin.jvm.internal.m.d(profileId, "getProfileId(...)");
if (((TfsTile) c2.e(TfsTile.class, context, new C1307a(tfsTile2, profileId.longValue()).b())) != null) {
z4 = true;
tfsTile = (TfsTile) bVar;
if (!kotlin.jvm.internal.m.a("content", tfsTile.getType())) {
FragmentActivity activity = frag.getActivity();
if (activity instanceof app.tfs.activity.e) {
((app.tfs.activity.e) activity).V0(tfsTile);
}
} else if (kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_ARTIST, tfsTile.getType())) {
if (z4) {
C1570s.f8100a.s(frag, app.tfs.fragment.k.f3745p.a(tfsTile));
} else if (z3) {
C1570s.f8100a.s(frag, new FragmentCollectionList.MyArgs(frag.getString(R.i.albums) + " - " + tfsTile.getTitle(), tfsTile.getContentType(), "alpha", null, tfsTile.id, tfsTile.getTitle(), null, Boolean.TRUE, true, true).k());
} else {
C1570s.f8100a.s(frag, app.tfs.fragment.d.f3669x.a(tfsTile));
}
} else if (kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_COLLECTION, tfsTile.getType())) {
C1570s.f8100a.s(frag, app.tfs.fragment.i.f3717A.a(tfsTile, z4, z3));
} else if (kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_PLAYLIST, tfsTile.getType())) {
C1570s.f8100a.s(frag, F2.f6840x.d(tfsTile, z4, false, null));
} else if (kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_CATEGORY, tfsTile.getType())) {
if (AbstractC1132d.f5446d.booleanValue()) {
C1570s.f8100a.s(frag, new FragmentCollectionList.MyArgs(tfsTile.getTitle(), tfsTile.getContentType(), "popular", tfsTile.id, null, null, null, null, true, true).k());
} else {
C1570s.f8100a.s(frag, app.tfs.fragment.f.f3696v.a(tfsTile));
}
} else if (kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_POLL, tfsTile.getType())) {
FragmentActivity activity2 = frag.getActivity();
app.tfs.activity.e eVar = activity2 instanceof app.tfs.activity.e ? (app.tfs.activity.e) activity2 : null;
if (eVar != null) {
Long l2 = tfsTile.id;
eVar.E0(l2 != null ? l2.toString() : null);
}
} else if (kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_REWIND, tfsTile.getType())) {
FragmentActivity activity3 = frag.getActivity();
app.tfs.activity.e eVar2 = activity3 instanceof app.tfs.activity.e ? (app.tfs.activity.e) activity3 : null;
if (eVar2 != null) {
String contentType = tfsTile.getContentType();
Long l3 = tfsTile.id;
eVar2.F0(contentType, l3 != null ? l3.toString() : null);
}
} else if (kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_CLIP, tfsTile.getType())) {
FragmentActivity activity4 = frag.getActivity();
app.tfs.activity.e eVar3 = activity4 instanceof app.tfs.activity.e ? (app.tfs.activity.e) activity4 : null;
if (eVar3 != null) {
Long l4 = tfsTile.id;
eVar3.D0(l4 != null ? l4.toString() : null);
}
} else if (kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_STORY, tfsTile.getType())) {
FragmentActivity activity5 = frag.getActivity();
app.tfs.activity.e eVar4 = activity5 instanceof app.tfs.activity.e ? (app.tfs.activity.e) activity5 : null;
if (eVar4 != null) {
eVar4.G0();
}
}
}
}
z4 = z2;
tfsTile = (TfsTile) bVar;
if (!kotlin.jvm.internal.m.a("content", tfsTile.getType())) {
}
}
if (!(bVar instanceof TfsBanner) || (str = ((TfsBanner) bVar).url) == null) {
return;
}
if (h1.n.I(str, RemoteSettings.FORWARD_SLASH_STRING, false, 2, null)) {
str = str.substring(1);
kotlin.jvm.internal.m.d(str, "substring(...)");
}
FragmentActivity activity6 = frag.getActivity();
app.tfs.activity.e eVar5 = activity6 instanceof app.tfs.activity.e ? (app.tfs.activity.e) activity6 : null;
if (eVar5 != null) {
eVar5.B0("https://24six.app/" + str);
}
}
public final void b(FragmentActivity fragmentActivity, app.tfs.content_layout.b bVar, boolean z2, boolean z3, b.a action) {
N.f B2;
kotlin.jvm.internal.m.e(action, "action");
if (!(fragmentActivity instanceof app.tfs.activity.c) || (B2 = app.tfs.activity.c.B((app.tfs.activity.c) fragmentActivity, false, 1, null)) == null) {
return;
}
f8109a.a(B2, bVar, z2, z3, action);
}
}