package o; import android.graphics.Bitmap; import o.C0690Mh; import o.C7885cwl; import o.InterfaceC8975daw; import o.ZI; import o.wRi; /* renamed from: o.cwl, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C7885cwl extends ZI { public final ihb a; private C1082Ve b; public boolean c; private final C0199Bd d; /* JADX INFO: Access modifiers changed from: package-private */ @InterfaceC13391fZD public C7885cwl(ihb ihbVar, C0199Bd c0199Bd, C16903sI c16903sI) { super(c16903sI); this.c = false; this.a = ihbVar; this.d = c0199Bd; } /* renamed from: o.cwl$HBt */ /* loaded from: classes4.dex */ public final class HBt extends wRi.LWm { private C7885cwl e; private HBt(C7885cwl c7885cwl) { this.e = c7885cwl; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C15953jsr c15953jsr = (C15953jsr) obj; if (this.e.f == 0 || AnonymousClass3.b[c15953jsr.b.ordinal()] != 1) { return; } final C1082Ve a = this.e.d.a(c15953jsr, true); this.e.b = a; if (this.e.f != 0) { final Bitmap VZ_ = C6583cXR.VZ_(a.d, 600, 600, a.a, 5.0d); C7885cwl c7885cwl = this.e; ZI.IeS ieS = new ZI.IeS(VZ_) { // from class: o.cwp private Bitmap e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC8975daw.RVV) obj2).awS_(this.e); } { this.e = VZ_; } }; if (c7885cwl.f != 0) { ieS.e(c7885cwl.f); } C7885cwl c7885cwl2 = this.e; ZI.IeS ieS2 = new ZI.IeS(a) { // from class: o.cwq private C1082Ve e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC8975daw.RVV) obj2).d(this.e); } { this.e = a; } }; if (c7885cwl2.f != 0) { ieS2.e(c7885cwl2.f); } } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C7885cwl.d(this.e); this.e.c = false; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { C7885cwl.c(this.e); if (!this.e.i(th)) { C7885cwl c7885cwl = this.e; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.cwn private Throwable b; private C7885cwl.HBt e; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC8975daw.RVV rvv = (InterfaceC8975daw.RVV) obj; rvv.e(this.e.e.j.d(this.b, C0690Mh.IeS.NAVIGATE_BACK)); } { this.e = this; this.b = th; } }; if (c7885cwl.f != 0) { ieS.e(c7885cwl.f); } } this.e.c = false; } public /* synthetic */ HBt(C7885cwl c7885cwl, byte b) { this(c7885cwl); } } /* renamed from: o.cwl$3, reason: invalid class name */ /* loaded from: classes4.dex */ static /* synthetic */ class AnonymousClass3 { static final int[] b; static { int[] iArr = new int[xit.values().length]; b = iArr; try { iArr[xit.PROMPT_PAY_QR_SUCCESS.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { b[xit.NO_PROMPTPAY.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { b[xit.PROMPT_PAY_QR_EDIT.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { b[xit.NO_RTP.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { b[xit.HAVE_PROMPTPAY_WITH_RTP.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } } } static /* synthetic */ void d(C7885cwl c7885cwl) { if (c7885cwl.f != 0) { c7885cwl.f.ar_(); } } static /* synthetic */ void c(C7885cwl c7885cwl) { if (c7885cwl.f != 0) { c7885cwl.f.ar_(); } } }