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

74 lines
2.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import o.C15715hv;
/* renamed from: o.nW, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16326nW extends AbstractC16173lt<Bhc, C0485Hq> {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16326nW(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
private final String k(String str) {
String str2 = str;
if (str2.length() == 0 || str2.length() == 0) {
return "";
}
String a = a(cXG.d("yyyy-MM-dd'T'HH:mm:ss", str));
C14957gcv.c((Object) a, "");
return a;
}
private final String b(int i) {
String string = this.e.getString(C15715hv.tOB.e_coupon_minutes_after_redemption, String.valueOf(i));
C14957gcv.c((Object) string, "");
return string;
}
@Override // o.AbstractC16173lt
/* renamed from: c, reason: merged with bridge method [inline-methods] */
public final C0485Hq d(Bhc bhc) {
C14957gcv.e(bhc, "");
String str = bhc.h;
String str2 = str == null ? "" : str;
String str3 = bhc.a;
String str4 = str3 == null ? "" : str3;
String str5 = bhc.i;
String str6 = str5 == null ? "" : str5;
String str7 = bhc.b;
String str8 = str7 == null ? "" : str7;
String str9 = bhc.b;
if (str9 == null) {
str9 = "";
}
String k = k(str9);
String str10 = bhc.f;
if (str10 == null) {
str10 = "";
}
String k2 = k(str10);
Integer num = bhc.c;
int intValue = num != null ? num.intValue() : 0;
String str11 = bhc.g;
String str12 = str11 == null ? "" : str11;
String str13 = bhc.e;
String str14 = str13 == null ? "" : str13;
String str15 = bhc.j;
if (str15 == null) {
str15 = "";
}
String k3 = k(str15);
String str16 = bhc.d;
String b = C2974aoj.b(str16 != null ? str16 : "");
boolean z = bhc.c != null;
Integer num2 = bhc.c;
return new C0485Hq(str2, str4, str6, str8, k, k2, intValue, str12, str14, k3, b, z, b(num2 != null ? num2.intValue() : 0));
}
}