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

101 lines
3.2 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import o.C15715hv;
/* renamed from: o.nK, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16302nK extends C16157lj {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16302nK(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
public final String n(String str) {
return C14957gcv.b((Object) str, (Object) CommonConstant.RETKEY.EMAIL) ? e(C15715hv.tOB.receive_statement_email) : C14957gcv.b((Object) str, (Object) "PAPER") ? e(C15715hv.tOB.receive_statement_mail) : e(C15715hv.tOB.receive_statement_inapp);
}
public final String k(String str) {
if (C14957gcv.b((Object) str, (Object) CommonConstant.RETKEY.EMAIL)) {
String e = e(C15715hv.tOB.change_email);
C14957gcv.c((Object) e, "");
return e;
}
String e2 = e(C15715hv.tOB.change_address);
C14957gcv.c((Object) e2, "");
return e2;
}
public static String a(C0367Fb c0367Fb) {
String str;
C14957gcv.e(c0367Fb, "");
StringBuilder sb = new StringBuilder();
String str2 = c0367Fb.S;
if (str2 == null) {
str2 = c0367Fb.W;
}
if (str2 == null) {
str2 = "";
} else {
C14957gcv.c((Object) str2, "");
}
sb.append(str2);
String str3 = c0367Fb.S;
String str4 = c0367Fb.W;
String str5 = str3;
if (!(!(str5 == null || gdZ.d((CharSequence) str5)))) {
String str6 = str4;
if (!(!(str6 == null || gdZ.d((CharSequence) str6)))) {
str = "";
sb.append(str);
sb.append(c0367Fb.s);
sb.append(" ");
sb.append(c0367Fb.t);
sb.append("xx xxxx ");
sb.append(c0367Fb.r);
String obj = sb.toString();
C14957gcv.c((Object) obj, "");
return obj;
}
}
str = " ";
sb.append(str);
sb.append(c0367Fb.s);
sb.append(" ");
sb.append(c0367Fb.t);
sb.append("xx xxxx ");
sb.append(c0367Fb.r);
String obj2 = sb.toString();
C14957gcv.c((Object) obj2, "");
return obj2;
}
public static String d(C0367Fb c0367Fb) {
StringBuilder sb = new StringBuilder();
sb.append(c0367Fb.s);
sb.append(" ");
sb.append(c0367Fb.t);
sb.append("xx xxxx ");
sb.append(c0367Fb.r);
sb.append("\n");
String str = c0367Fb.S;
if (str == null) {
str = c0367Fb.W;
}
if (str == null) {
str = "";
} else {
C14957gcv.c((Object) str, "");
}
sb.append(str);
String obj = sb.toString();
C14957gcv.c((Object) obj, "");
return obj;
}
}