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

83 lines
2.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import kotlin.NoWhenBranchMatchedException;
import o.DbV;
import o.OZ;
/* renamed from: o.uP, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C17153uP extends C16157lj {
private final C17150uN a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C17153uP(Resources resources, SharedPreferences sharedPreferences, C17150uN c17150uN) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(c17150uN, "");
this.a = c17150uN;
}
public final OZ a(DbV dbV, boolean z) {
OZ.RVV rvv;
C14957gcv.e(dbV, "");
List<fPP> list = dbV.e;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
Iterator<T> it = list.iterator();
while (true) {
boolean z2 = true;
if (!it.hasNext()) {
break;
}
fPP fpp = (fPP) it.next();
C14957gcv.e(fpp, "");
if (!z || !fpp.e) {
z2 = false;
}
arrayList.add(new OW(z2, fpp.d, fpp.c));
}
ArrayList arrayList2 = arrayList;
int i = dbV.f;
int i2 = dbV.a;
String str = dbV.b;
boolean z3 = dbV.c;
int i3 = IeS.b[dbV.d.ordinal()];
if (i3 == 1) {
rvv = OZ.RVV.CHECKBOX;
} else {
if (i3 != 2) {
throw new NoWhenBranchMatchedException();
}
rvv = OZ.RVV.RADIO;
}
return new OZ(i, i2, str, z3, rvv, arrayList2);
}
/* renamed from: o.uP$IeS */
/* loaded from: classes3.dex */
public final /* synthetic */ class IeS {
public static final int[] b;
static {
int[] iArr = new int[DbV.HBt.values().length];
try {
iArr[DbV.HBt.CHECKBOX.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[DbV.HBt.RADIO.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
b = iArr;
}
}
}