what-the-bank/sources/o/C15917jb.java

96 lines
3.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import o.C16339nbu;
import o.C17350vy;
import o.PW;
/* renamed from: o.jb, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15917jb extends C15620hF {
final C15720hy b;
public final C16339nbu d;
final C17350vy e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C15917jb(C16339nbu c16339nbu, C17350vy c17350vy, C15720hy c15720hy) {
super((byte) 0);
C14957gcv.e(c16339nbu, "");
C14957gcv.e(c17350vy, "");
C14957gcv.e(c15720hy, "");
this.d = c16339nbu;
this.e = c17350vy;
this.b = c15720hy;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.jb$LWm */
/* loaded from: classes3.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<List<? extends cIM>, Boolean> {
private C15917jb e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Boolean invoke(List<? extends cIM> list) {
C14851gaI c14851gaI;
List<? extends cIM> list2 = list;
C14957gcv.e(list2, "");
C15720hy c15720hy = this.e.b;
C17350vy c17350vy = this.e.e;
C14957gcv.e(list2, "");
List<? extends cIM> list3 = list2;
C14957gcv.e(list3, "");
ArrayList arrayList = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
Iterator<T> it = list3.iterator();
while (it.hasNext()) {
arrayList.add(C17350vy.e((cIM) it.next()));
}
ArrayList arrayList2 = arrayList;
C14851gaI c14851gaI2 = ((Boolean) c17350vy.a.e()).booleanValue() ? arrayList2 : C14851gaI.c;
if (((Boolean) c17350vy.d.e()).booleanValue()) {
c14851gaI = C17350vy.d(arrayList2, C17350vy.RVV.TESG);
} else {
c14851gaI = C14851gaI.c;
}
PW.HBt hBt = PW.c;
PW pw = new PW((byte) 0);
C14957gcv.e(c14851gaI2, "");
pw.b.put("FRAGMENT_ALL", c14851gaI2);
List<PY> d = C17350vy.d(arrayList2, C17350vy.RVV.PURCHASED);
C14957gcv.e(d, "");
pw.b.put("FRAGMENT_PURCHASED", d);
List<PY> d2 = C17350vy.d(arrayList2, C17350vy.RVV.OTHERS);
C14957gcv.e(d2, "");
pw.b.put("FRAGMENT_OTHERS", d2);
List<PY> d3 = C17350vy.d(arrayList2, C17350vy.RVV.SSF);
C14957gcv.e(d3, "");
pw.b.put("FRAGMENT_SSF", d3);
C14957gcv.e(c14851gaI, "");
pw.b.put("FRAGMENT_TESG", c14851gaI);
List<PY> d4 = C17350vy.d(arrayList2, C17350vy.RVV.IPO);
C14957gcv.e(d4, "");
pw.b.put("FRAGMENT_IPO", d4);
C14957gcv.e(pw, "");
c15720hy.a = pw;
c15720hy.e.edit().putString("PURCHASE_SEARCH_LIST_SHARED_PREF", c15720hy.d.toJson(pw)).apply();
return Boolean.TRUE;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(C15917jb c15917jb) {
super(1);
this.e = c15917jb;
}
}
public final void a(InterfaceC14894gbR<? super Boolean, C14866gag> interfaceC14894gbR, InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR2, T t) {
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(interfaceC14894gbR2, "");
C14957gcv.e(t, "");
b(this.d, interfaceC14894gbR, interfaceC14894gbR2, new C16339nbu.IeS(t), new LWm(this));
}
}