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

1184 lines
41 KiB
Java

package o;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.domain.errors.RetrofitException;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0690Mh;
import o.C15715hv;
import o.C4938bjc;
import o.InterfaceC6662cZe;
import o.InterfaceC9010dbe;
import o.ZI;
import o.wRi;
/* renamed from: o.bjc */
/* loaded from: classes4.dex */
public class C4938bjc extends ZI<InterfaceC6662cZe.IeS> {
public C0515Ijp a;
public boolean b;
public C1193Xr c;
public final REU d;
public final JbU e;
public final yGw g;
public final C17515xRi h;
public C1203Xy i;
private final EK k;
private final C16930sW l;
private final C0297Dm m;
/* renamed from: o */
private final DA f8574o;
@InterfaceC13391fZD
public C4938bjc(C16903sI c16903sI, JbU jbU, C16930sW c16930sW, REU reu, C0297Dm c0297Dm, DA da, yGw ygw, C17515xRi c17515xRi, EK ek) {
super(c16903sI);
this.e = jbU;
this.l = c16930sW;
this.d = reu;
this.m = c0297Dm;
this.f8574o = da;
this.g = ygw;
this.h = c17515xRi;
this.k = ek;
}
/* JADX WARN: Multi-variable type inference failed */
public final void a(double d, String str) {
if (!((Boolean) C6583cXR.c(new Object[]{str}, -1032102340, 1032102340, (int) System.currentTimeMillis())).booleanValue() && !TextUtils.isEmpty(str)) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bjd
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6662cZe.IeS) obj).b();
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
if (this.f != 0) {
this.f.y();
}
String str2 = this.i.i;
str2.hashCode();
if (!str2.equals("FASTBP")) {
if (str2.equals("FASTPP")) {
C14589fw c14589fw = new C14589fw();
c14589fw.l = C6583cXR.d(qhK.PROMPTPAY);
c14589fw.b = this.a.b;
c14589fw.h = C6583cXR.a(this.i.a);
c14589fw.j = this.i.a;
c14589fw.c = C15602gz.e(d);
c14589fw.i = this.i.f8457o;
c14589fw.e.b = gjJ.b((CharSequence) str) ? 0 : str;
this.e.b(c14589fw);
JbU jbU = this.e;
jbU.d(jbU.i, new IeS(this, c14589fw, str));
return;
}
return;
}
SBO c = SBO.c();
c.d = this.a.b;
c.e = this.c.g;
c.c = C15602gz.e(d);
String str3 = this.c.K;
if (str3 == null) {
str3 = "";
}
c.w = str3;
String str4 = this.c.J;
c.y = str4 != null ? str4 : "";
c.v = this.c.N;
c.z = this.c.R;
c.a.b = gjJ.b((CharSequence) str) ? 0 : str;
this.e.c(c);
JbU jbU2 = this.e;
jbU2.d(jbU2.i, new HBt(this, c.c, str));
}
/* renamed from: o.bjc$HBt */
/* loaded from: classes4.dex */
public class HBt extends wRi.LWm<eWY> {
private String b;
private C4938bjc c;
private String d;
private static final byte[] $$a = {43, -66, 11, ISOFileInfo.LCS_BYTE};
private static final int $$b = 242;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int g = 1;
private static int[] e = {1827664654, 496443609, -215996221, 1248584478, 1897228088, -1663836354, 394514779, -1359591400, -921728678, -2100391848, -278615933, -806041877, -1720553834, -706600914, -510468698, -127834540, -145774424, -1438459964};
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = (i * 592) + (i2 * (-590)) + ((~(i4 | i2)) * (-1182));
int i6 = ~i2;
return (i5 + (((~(i | i2)) | (~((i4 | i6) | (~i3)))) * (-591))) + (((i3 | i4) | i6) * 591) != 1 ? c(objArr) : b(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void h(int r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r6 = 1 - r6
int r7 = r7 * 2
int r7 = r7 + 102
int r8 = r8 * 4
int r8 = r8 + 4
byte[] r0 = o.C4938bjc.HBt.$$a
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L16
r3 = r8
r4 = r2
goto L2c
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r4 = r0[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2c:
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4938bjc.HBt.h(int, int, short, java.lang.Object[]):void");
}
private static void f(int[] iArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = e;
int i3 = 58134;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = {Integer.valueOf(iArr2[i7])};
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
obj = ((Class) xzZ.c(15 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (i3 - Color.blue(0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i3 = 58134;
i4 = 729798706;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = e;
if (iArr5 != null) {
int i8 = $11 + 7;
$10 = i8 % 128;
int i9 = i8 % 2;
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i10 = 0;
while (i10 < length3) {
try {
Object[] objArr3 = new Object[i5];
objArr3[i6] = Integer.valueOf(iArr5[i10]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
Class cls = (Class) xzZ.c(15 - Color.blue(i6), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (58134 - (Process.myPid() >> 22)));
Class<?>[] clsArr = new Class[i5];
clsArr[0] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj2);
}
iArr6[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
int i11 = $11 + 125;
$10 = i11 % 128;
if (i11 % 2 != 0) {
int i12 = 4 / 3;
}
i5 = 1;
i6 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr5 = iArr6;
}
int i13 = i6;
System.arraycopy(iArr5, i13, iArr4, i13, length2);
c4403bZM.b = i13;
while (c4403bZM.b < iArr.length) {
cArr[i13] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
for (int i14 = 0; i14 < 16; i14++) {
int i15 = $11 + 15;
$10 = i15 % 128;
int i16 = i15 % 2;
c4403bZM.e ^= iArr4[i14];
try {
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 118, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b = (byte) 0;
byte b2 = (byte) (b + 1);
Object[] objArr5 = new Object[1];
h(b, b2, (byte) (b2 - 1), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i18 = c4403bZM.e;
int i19 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c((-16777118) - Color.rgb(0, 0, 0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.argb(0, 0, 0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
h(b3, b4, b4, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i13 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
int i = 2 % 2;
int i2 = g + 95;
a = i2 % 128;
int i3 = i2 % 2;
d((eWY) obj);
if (i3 != 0) {
Object obj2 = null;
obj2.hashCode();
throw null;
}
int i4 = g + 63;
a = i4 % 128;
int i5 = i4 % 2;
}
public HBt(C4938bjc c4938bjc, String str, String str2) {
this.c = c4938bjc;
this.b = str;
this.d = str2;
}
private /* synthetic */ void b() {
int i = 2 % 2;
C4938bjc c4938bjc = this.c;
C4954bjs c4954bjs = new C4954bjs();
if (c4938bjc.f != 0) {
int i2 = g + 75;
a = i2 % 128;
int i3 = i2 % 2;
c4954bjs.e(c4938bjc.f);
}
int i4 = a + 7;
g = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
String str;
int i = 2 % 2;
if (ZI.e(th)) {
C4938bjc.l(this.c);
C4938bjc c4938bjc = this.c;
C4951bjp c4951bjp = new C4951bjp();
if (c4938bjc.f != 0) {
int i2 = g + 95;
a = i2 % 128;
int i3 = i2 % 2;
c4951bjp.e(c4938bjc.f);
return;
}
return;
}
if (!(th instanceof RetrofitException)) {
C4938bjc.j(this.c, th, C0690Mh.IeS.JUST_DISMISS);
int i4 = g + 35;
a = i4 % 128;
int i5 = i4 % 2;
return;
}
RetrofitException retrofitException = (RetrofitException) th;
if (retrofitException.e == null || retrofitException.e.c == null) {
int i6 = g + 89;
a = i6 % 128;
int i7 = i6 % 2;
str = "";
} else {
str = retrofitException.e.c.e;
}
if ("3023".equalsIgnoreCase(str)) {
C4938bjc.b(this.c, th, new Runnable(this) { // from class: o.bjr
private C4938bjc.HBt a;
@Override // java.lang.Runnable
public final void run() {
C4938bjc.HBt.b(this.a);
}
{
this.a = this;
}
});
} else {
C4938bjc.e(this.c, th, C0690Mh.IeS.JUST_DISMISS);
}
}
public static /* synthetic */ void e(C1189Xo c1189Xo, InterfaceC6662cZe.IeS ieS) {
int i = 2 % 2;
int i2 = g + 97;
a = i2 % 128;
int i3 = i2 % 2;
ieS.a(c1189Xo);
int i4 = g + 115;
a = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object c(Object[] objArr) {
C1189Xo c1189Xo = (C1189Xo) objArr[0];
InterfaceC6662cZe.IeS ieS = (InterfaceC6662cZe.IeS) objArr[1];
int i = 2 % 2;
int i2 = a + 35;
g = i2 % 128;
int i3 = i2 % 2;
ieS.e(c1189Xo);
int i4 = g + 53;
a = i4 % 128;
int i5 = i4 % 2;
return null;
}
private /* synthetic */ void c(C1189Xo c1189Xo, InterfaceC6662cZe.IeS ieS) {
int i = 2 % 2;
int i2 = a + 85;
g = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
ieS.e(c1189Xo, C4938bjc.h(this.c));
throw null;
}
ieS.e(c1189Xo, C4938bjc.h(this.c));
int i3 = a + 51;
g = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
HBt hBt = (HBt) objArr[0];
C1189Xo c1189Xo = (C1189Xo) objArr[1];
InterfaceC6662cZe.IeS ieS = (InterfaceC6662cZe.IeS) objArr[2];
int i = 2 % 2;
int i2 = g + 99;
a = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
ieS.a(c1189Xo, C4938bjc.h(hBt.c));
return null;
}
ieS.a(c1189Xo, C4938bjc.h(hBt.c));
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0126, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x00da, code lost:
r2 = r18.c;
r3 = new o.C4950bjo(r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x00e5, code lost:
if (r2.f == 0) goto L90;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x00e7, code lost:
r1 = o.C4938bjc.HBt.g + 101;
r4 = r1 % 128;
o.C4938bjc.HBt.a = r4;
r1 = r1 % 2;
r4 = r4 + 75;
o.C4938bjc.HBt.g = r4 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x00f9, code lost:
if ((r4 % 2) != 0) goto L64;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x00fb, code lost:
r3.e(r2.f);
r1 = 37 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0104, code lost:
r3.e(r2.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0109, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x00d8, code lost:
if (((java.lang.String) r4[0]).intern().equals(r19.B) != false) goto L59;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00ad, code lost:
if (((java.lang.String) r4[0]).intern().equals(r19.B) != false) goto L59;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x010a, code lost:
r2 = r18.c;
r3 = new o.C4948bjm(r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0115, code lost:
if (r2.f == 0) goto L92;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0117, code lost:
r1 = o.C4938bjc.HBt.g + 109;
o.C4938bjc.HBt.a = r1 % 128;
r1 = r1 % 2;
r3.e(r2.f);
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private void d(o.eWY r19) {
/*
Method dump skipped, instructions count: 422
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4938bjc.HBt.d(o.eWY):void");
}
private /* synthetic */ void b(C1189Xo c1189Xo, InterfaceC6662cZe.IeS ieS) {
d(new Object[]{this, c1189Xo, ieS}, 1478054591, -1478054590, System.identityHashCode(this));
}
public static /* synthetic */ void e(HBt hBt, C1189Xo c1189Xo, InterfaceC6662cZe.IeS ieS) {
int i = 2 % 2;
int i2 = g + 49;
a = i2 % 128;
int i3 = i2 % 2;
hBt.c(c1189Xo, ieS);
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ void c(HBt hBt, C1189Xo c1189Xo, InterfaceC6662cZe.IeS ieS) {
int i = 2 % 2;
int i2 = g + 117;
a = i2 % 128;
int i3 = i2 % 2;
d(new Object[]{hBt, c1189Xo, ieS}, 1478054591, -1478054590, System.identityHashCode(hBt));
int i4 = g + 33;
a = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ void b(HBt hBt) {
int i = 2 % 2;
int i2 = g + 83;
a = i2 % 128;
int i3 = i2 % 2;
hBt.b();
int i4 = g + 23;
a = i4 % 128;
int i5 = i4 % 2;
}
}
/* renamed from: o.bjc$LWm */
/* loaded from: classes4.dex */
public class LWm extends wRi.LWm<C0515Ijp> {
private final C1203Xy c;
private C4938bjc e;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C0515Ijp c0515Ijp = (C0515Ijp) obj;
this.e.a = c0515Ijp;
C16930sW unused = this.e.l;
ME e = C16930sW.e(c0515Ijp);
C4938bjc c4938bjc = this.e;
ZI.IeS ieS = new ZI.IeS(e) { // from class: o.bjC
private ME c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4938bjc.LWm.c(this.c, (InterfaceC6662cZe.IeS) obj2);
}
{
this.c = e;
}
};
if (c4938bjc.f != 0) {
ieS.e(c4938bjc.f);
}
if (this.c.c > 0.0d) {
C4938bjc c4938bjc2 = this.e;
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.bjA
private C4938bjc.LWm c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6662cZe.IeS) obj2).d((String) C6583cXR.c(new Object[]{Double.valueOf(this.c.c.c)}, -150997759, 150997764, (int) System.currentTimeMillis()));
}
{
this.c = this;
}
};
if (c4938bjc2.f != 0) {
ieS2.e(c4938bjc2.f);
}
} else {
C4938bjc c4938bjc3 = this.e;
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bjz
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6662cZe.IeS) obj2).c();
}
};
if (c4938bjc3.f != 0) {
ieS3.e(c4938bjc3.f);
}
}
String str = this.c.i;
str.hashCode();
if (str.equals("FASTBP")) {
this.e.d.c(this.c.a, this.c.f8457o);
REU reu = this.e.d;
reu.d(reu.i, new Sts(this.e, this.c));
return;
}
if (str.equals("FASTPP")) {
C4938bjc.o(this.e);
C17515xRi c17515xRi = this.e.h;
C1019Twi n = this.e.g.a.n();
n.a = c0515Ijp.b;
c17515xRi.e.d(n);
String a = C6583cXR.a(this.c.a);
C4938bjc c4938bjc4 = this.e;
ZI.IeS ieS4 = new ZI.IeS(this, a) { // from class: o.bjE
private C4938bjc.LWm d;
private String e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
InterfaceC6662cZe.IeS ieS5 = (InterfaceC6662cZe.IeS) obj2;
ieS5.c(C6583cXR.c(this.e, this.d.c.a), "MOB".equals(r2) ? C15715hv.IeS.icon_prompt_pay_mobile : C15715hv.IeS.icon_prompt_pay_cid);
}
{
this.d = this;
this.e = a;
}
};
if (c4938bjc4.f != 0) {
ieS4.e(c4938bjc4.f);
}
}
}
public LWm(C4938bjc c4938bjc, C1203Xy c1203Xy) {
this.e = c4938bjc;
this.c = c1203Xy;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C4938bjc.b(this.e, th, C0690Mh.IeS.NAVIGATE_BACK);
}
public static /* synthetic */ void c(ME me2, InterfaceC6662cZe.IeS ieS) {
String str;
if (gjJ.b((CharSequence) me2.d)) {
str = me2.b;
} else {
str = me2.d;
}
ieS.e(str);
}
}
/* renamed from: o.bjc$Sts */
/* loaded from: classes4.dex */
public class Sts extends wRi.LWm<C17671ymh> {
private C4938bjc c;
private final C1203Xy e;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
String str;
String str2;
String str3;
String str4;
C17671ymh c17671ymh = (C17671ymh) obj;
C4938bjc.m(this.c);
C1019Twi d = C1019Twi.d();
String str5 = "";
if (this.e.a == null) {
str = "";
} else {
str = this.e.a;
}
d.x = str;
if (this.e.j == null) {
str2 = "";
} else {
str2 = this.e.j;
}
d.C = str2;
if (this.e.l == null) {
str3 = "";
} else {
str3 = this.e.l;
}
d.D = str3;
if (this.e.m == null) {
str4 = "";
} else {
str4 = this.e.m;
}
d.B = str4;
d.h = this.e.c;
if (this.e.f8457o != null) {
str5 = this.e.f8457o;
}
d.A = str5;
C4938bjc c4938bjc = this.c;
c4938bjc.c = c4938bjc.m.b(c17671ymh.c, d, this.c.d.d.M());
if (this.c.c != null) {
this.c.c.S = this.e.i;
C4938bjc c4938bjc2 = this.c;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bjh
private C4938bjc.Sts a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6662cZe.IeS) obj2).c(this.a.c.c);
}
{
this.a = this;
}
};
if (c4938bjc2.f != 0) {
ieS.e(c4938bjc2.f);
}
if (!TextUtils.isEmpty(this.c.c.J)) {
C4938bjc c4938bjc3 = this.c;
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.bje
private C4938bjc.Sts c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6662cZe.IeS) obj2).d(this.c.c.c);
}
{
this.c = this;
}
};
if (c4938bjc3.f != 0) {
ieS2.e(c4938bjc3.f);
}
}
if (TextUtils.isEmpty(this.c.c.N)) {
return;
}
C4938bjc c4938bjc4 = this.c;
ZI.IeS ieS3 = new ZI.IeS(this) { // from class: o.bjl
private C4938bjc.Sts b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6662cZe.IeS) obj2).b(this.b.c.c);
}
{
this.b = this;
}
};
if (c4938bjc4.f != 0) {
ieS3.e(c4938bjc4.f);
}
}
}
public Sts(C4938bjc c4938bjc, C1203Xy c1203Xy) {
this.c = c4938bjc;
this.e = c1203Xy;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C4938bjc.d(this.c, th, C0690Mh.IeS.NAVIGATE_BACK);
}
}
/* renamed from: o.bjc$RVV */
/* loaded from: classes4.dex */
public class RVV extends wRi.LWm<HNz> {
private C4938bjc e;
private RVV(C4938bjc c4938bjc) {
this.e = c4938bjc;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C4938bjc c4938bjc = this.e;
ZI.IeS ieS = new ZI.IeS((HNz) obj) { // from class: o.bjk
private HNz b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4938bjc.RVV.b(this.b, (InterfaceC6662cZe.IeS) obj2);
}
{
this.b = r1;
}
};
if (c4938bjc.f != 0) {
ieS.e(c4938bjc.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
if (this.e.i(th)) {
return;
}
C4938bjc c4938bjc = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bjj
@Override // o.ZI.IeS
public final void e(Object obj) {
C4938bjc.RVV.d((InterfaceC6662cZe.IeS) obj);
}
};
if (c4938bjc.f != 0) {
ieS.e(c4938bjc.f);
}
}
public static /* synthetic */ void d(InterfaceC6662cZe.IeS ieS) {
ieS.i();
ieS.a();
}
public static /* synthetic */ void b(HNz hNz, InterfaceC6662cZe.IeS ieS) {
ieS.c(C6583cXR.c().format((hNz == null || hNz.l == null) ? 0.0d : hNz.l.doubleValue()));
ieS.a();
}
public /* synthetic */ RVV(C4938bjc c4938bjc, byte b) {
this(c4938bjc);
}
}
/* renamed from: o.bjc$IeS */
/* loaded from: classes4.dex */
public class IeS extends wRi.LWm<C17024tMc> {
private String b;
private C14589fw c;
private C4938bjc d;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C17024tMc c17024tMc = (C17024tMc) obj;
C4938bjc.n(this.d);
C1189Xo e = this.d.k.e("MOB".equals(this.c.h) ? PWw.MOB : PWw.CID, this.c, c17024tMc, "", null, this.d.g.b.T(), this.b);
if (c17024tMc.n) {
if (c17024tMc.g) {
C4938bjc c4938bjc = this.d;
ZI.IeS ieS = new ZI.IeS(this, c17024tMc, e) { // from class: o.bju
private C1189Xo c;
private C17024tMc d;
private C4938bjc.IeS e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
InterfaceC6662cZe.IeS ieS2 = (InterfaceC6662cZe.IeS) obj2;
ieS2.d(r1.f9276o, this.d.j, new InterfaceC9010dbe.jbe.Sts(this.e, this.c) { // from class: o.bjy
private C4938bjc.IeS a;
private C1189Xo c;
@Override // o.InterfaceC9010dbe.jbe.Sts
public final void c() {
C4938bjc.IeS.c(this.a, this.c);
}
{
this.a = r1;
this.c = r2;
}
});
}
{
this.e = this;
this.d = c17024tMc;
this.c = e;
}
};
if (c4938bjc.f != 0) {
ieS.e(c4938bjc.f);
return;
}
return;
}
e.a(C6583cXR.b(e.c(), true));
C4938bjc c4938bjc2 = this.d;
C4913bjD c4913bjD = new C4913bjD(e);
if (c4938bjc2.f != 0) {
c4913bjD.e(c4938bjc2.f);
return;
}
return;
}
if (c17024tMc.g) {
C4938bjc c4938bjc3 = this.d;
ZI.IeS ieS2 = new ZI.IeS(this, c17024tMc, e) { // from class: o.bjv
private C1189Xo a;
private C17024tMc b;
private C4938bjc.IeS c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
InterfaceC6662cZe.IeS ieS3 = (InterfaceC6662cZe.IeS) obj2;
ieS3.d(r1.f9276o, this.b.j, new InterfaceC9010dbe.jbe.Sts(this.c, this.a) { // from class: o.bjB
private C4938bjc.IeS b;
private C1189Xo c;
@Override // o.InterfaceC9010dbe.jbe.Sts
public final void c() {
C4938bjc.IeS.d(this.b, this.c);
}
{
this.b = r1;
this.c = r2;
}
});
}
{
this.c = this;
this.b = c17024tMc;
this.a = e;
}
};
if (c4938bjc3.f != 0) {
ieS2.e(c4938bjc3.f);
return;
}
return;
}
C4938bjc c4938bjc4 = this.d;
C4959bjx c4959bjx = new C4959bjx(e);
if (c4938bjc4.f != 0) {
c4959bjx.e(c4938bjc4.f);
}
}
IeS(C4938bjc c4938bjc, C14589fw c14589fw, String str) {
this.d = c4938bjc;
this.c = c14589fw;
this.b = str;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
String str;
if (ZI.e(th)) {
C4938bjc.k(this.d);
C4938bjc c4938bjc = this.d;
C4951bjp c4951bjp = new C4951bjp();
if (c4938bjc.f != 0) {
c4951bjp.e(c4938bjc.f);
return;
}
return;
}
if (th instanceof RetrofitException) {
RetrofitException retrofitException = (RetrofitException) th;
if (retrofitException.e == null || retrofitException.e.c == null) {
str = "";
} else {
str = retrofitException.e.c.e;
}
if ("3005".equalsIgnoreCase(str)) {
C4938bjc.d(this.d, th, new Runnable(this) { // from class: o.bjw
private C4938bjc.IeS d;
@Override // java.lang.Runnable
public final void run() {
C4938bjc.IeS.d(this.d);
}
{
this.d = this;
}
});
return;
} else {
C4938bjc.c(this.d, th, C0690Mh.IeS.JUST_DISMISS);
return;
}
}
C4938bjc.a(this.d, th, C0690Mh.IeS.JUST_DISMISS);
}
public static /* synthetic */ void b(C1189Xo c1189Xo, InterfaceC6662cZe.IeS ieS) {
ieS.b(c1189Xo, qhK.PROMPTPAY, "scan");
}
public static /* synthetic */ void d(IeS ieS, C1189Xo c1189Xo) {
C4938bjc c4938bjc = ieS.d;
C4959bjx c4959bjx = new C4959bjx(c1189Xo);
if (c4938bjc.f != 0) {
c4959bjx.e(c4938bjc.f);
}
}
public static /* synthetic */ void c(IeS ieS, C1189Xo c1189Xo) {
c1189Xo.a(C6583cXR.b(c1189Xo.c(), true));
C4938bjc c4938bjc = ieS.d;
C4913bjD c4913bjD = new C4913bjD(c1189Xo);
if (c4938bjc.f != 0) {
c4913bjD.e(c4938bjc.f);
}
}
public static /* synthetic */ void d(IeS ieS) {
C4938bjc c4938bjc = ieS.d;
C4954bjs c4954bjs = new C4954bjs();
if (c4938bjc.f != 0) {
c4954bjs.e(c4938bjc.f);
}
}
}
@Override // o.ZI
public final void w_() {
super.w_();
this.h.e.Z();
}
static /* bridge */ /* synthetic */ String h(C4938bjc c4938bjc) {
return c4938bjc.b ? "deeplink" : "scan";
}
static /* synthetic */ void o(C4938bjc c4938bjc) {
if (c4938bjc.f != 0) {
c4938bjc.f.ar_();
}
}
static /* synthetic */ void b(C4938bjc c4938bjc, Throwable th, C0690Mh.IeS ieS) {
if (c4938bjc.b(th)) {
c4938bjc.d(c4938bjc.j.d(th, ieS));
}
}
static /* synthetic */ void n(C4938bjc c4938bjc) {
if (c4938bjc.f != 0) {
c4938bjc.f.ar_();
}
}
static /* synthetic */ void k(C4938bjc c4938bjc) {
if (c4938bjc.f != 0) {
c4938bjc.f.ar_();
}
}
static /* synthetic */ void d(C4938bjc c4938bjc, Throwable th, Runnable runnable) {
if (c4938bjc.b(th)) {
c4938bjc.d(c4938bjc.j.c(th, runnable));
}
}
static /* synthetic */ void c(C4938bjc c4938bjc, Throwable th, C0690Mh.IeS ieS) {
if (c4938bjc.b(th)) {
c4938bjc.d(c4938bjc.j.d(th, ieS));
}
}
static /* synthetic */ void a(C4938bjc c4938bjc, Throwable th, C0690Mh.IeS ieS) {
if (c4938bjc.b(th)) {
c4938bjc.d(c4938bjc.j.d(th, ieS));
}
}
static /* synthetic */ void m(C4938bjc c4938bjc) {
if (c4938bjc.f != 0) {
c4938bjc.f.ar_();
}
}
static /* synthetic */ void d(C4938bjc c4938bjc, Throwable th, C0690Mh.IeS ieS) {
if (c4938bjc.b(th)) {
c4938bjc.d(c4938bjc.j.d(th, ieS));
}
}
static /* synthetic */ void l(C4938bjc c4938bjc) {
if (c4938bjc.f != 0) {
c4938bjc.f.ar_();
}
}
static /* synthetic */ void b(C4938bjc c4938bjc, Throwable th, Runnable runnable) {
if (c4938bjc.b(th)) {
c4938bjc.d(c4938bjc.j.c(th, runnable));
}
}
static /* synthetic */ void e(C4938bjc c4938bjc, Throwable th, C0690Mh.IeS ieS) {
if (c4938bjc.b(th)) {
c4938bjc.d(c4938bjc.j.d(th, ieS));
}
}
static /* synthetic */ void j(C4938bjc c4938bjc, Throwable th, C0690Mh.IeS ieS) {
if (c4938bjc.b(th)) {
c4938bjc.d(c4938bjc.j.d(th, ieS));
}
}
static /* synthetic */ void t(C4938bjc c4938bjc) {
if (c4938bjc.f != 0) {
c4938bjc.f.ar_();
}
}
}