260 lines
8.0 KiB
Java
260 lines
8.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Collection;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
import o.C0690Mh;
|
||
|
import o.C15715hv;
|
||
|
import o.C4573bci;
|
||
|
import o.InterfaceC6621cYR;
|
||
|
import o.ZI;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* renamed from: o.bci, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class C4573bci extends aXD<InterfaceC6621cYR.wcf> {
|
||
|
public iGH a;
|
||
|
protected final C16729ql b;
|
||
|
public C0653Ll c;
|
||
|
protected final C16953sh e;
|
||
|
private C16746qs g;
|
||
|
private C16989su h;
|
||
|
private LG i;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C4573bci(C16903sI c16903sI, C16989su c16989su, C16953sh c16953sh, C16729ql c16729ql, iGH igh, C16746qs c16746qs) {
|
||
|
super(c16903sI);
|
||
|
this.h = c16989su;
|
||
|
this.e = c16953sh;
|
||
|
this.b = c16729ql;
|
||
|
this.a = igh;
|
||
|
this.g = c16746qs;
|
||
|
}
|
||
|
|
||
|
public final void c(String str, final Context context) {
|
||
|
final Double c = C6583cXR.c(str);
|
||
|
if (this.d.c == c.doubleValue()) {
|
||
|
return;
|
||
|
}
|
||
|
if (c.doubleValue() > C6583cXR.c(this.c.p).doubleValue()) {
|
||
|
ZI.IeS ieS = new ZI.IeS(this, context) { // from class: o.bcn
|
||
|
private Context c;
|
||
|
private C4573bci e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C4573bci.a(this.e, this.c, (InterfaceC6621cYR.wcf) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
this.c = context;
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS.e(this.f);
|
||
|
}
|
||
|
} else if (c.doubleValue() < C6583cXR.c(this.c.q).doubleValue()) {
|
||
|
ZI.IeS ieS2 = new ZI.IeS(this, context) { // from class: o.bcj
|
||
|
private Context b;
|
||
|
private C4573bci d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C4573bci.c(this.d, this.b, (InterfaceC6621cYR.wcf) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
this.b = context;
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS2.e(this.f);
|
||
|
}
|
||
|
} else {
|
||
|
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bcl
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC6621cYR.wcf) obj).d();
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS3.e(this.f);
|
||
|
}
|
||
|
}
|
||
|
ZI.IeS ieS4 = new ZI.IeS(c) { // from class: o.bcm
|
||
|
private Double c;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C4573bci.b(this.c, (InterfaceC6621cYR.wcf) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = c;
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS4.e(this.f);
|
||
|
}
|
||
|
this.d.c = c.doubleValue();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public static /* synthetic */ void b(Double d, InterfaceC6621cYR.wcf wcfVar) {
|
||
|
wcfVar.aX_();
|
||
|
wcfVar.d(d.doubleValue());
|
||
|
wcfVar.b();
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.bci$IeS */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class IeS extends wRi.LWm<C16505osv> {
|
||
|
private C4573bci d;
|
||
|
|
||
|
private IeS(C4573bci c4573bci) {
|
||
|
this.d = c4573bci;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
C4573bci.a(this.d);
|
||
|
final LM d = this.d.e.d((C16505osv) obj);
|
||
|
this.d.d.a = d.a;
|
||
|
C4573bci c4573bci = this.d;
|
||
|
ZI.IeS ieS = new ZI.IeS(this, d) { // from class: o.bck
|
||
|
private C4573bci.IeS c;
|
||
|
private LM d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
C4573bci.IeS.e(this.c, this.d, (InterfaceC6621cYR.wcf) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
this.d = d;
|
||
|
}
|
||
|
};
|
||
|
if (c4573bci.f != 0) {
|
||
|
ieS.e(c4573bci.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
C4573bci.c(this.d, th, C0690Mh.IeS.NAVIGATE_BACK);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(IeS ieS, LM lm, InterfaceC6621cYR.wcf wcfVar) {
|
||
|
wcfVar.c(ieS.d.b.d(lm));
|
||
|
wcfVar.a(true);
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ IeS(C4573bci c4573bci, byte b) {
|
||
|
this(c4573bci);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(C4573bci c4573bci, Context context, InterfaceC6621cYR.wcf wcfVar) {
|
||
|
String str;
|
||
|
int i = C15715hv.tOB.purposeful_feature_input_amount_minimum_validation_error;
|
||
|
Object[] objArr = new Object[1];
|
||
|
if (c4573bci.c.p == null) {
|
||
|
str = "0.00";
|
||
|
} else {
|
||
|
str = c4573bci.c.q;
|
||
|
}
|
||
|
objArr[0] = (String) C6583cXR.c(new Object[]{Double.valueOf(Double.valueOf(str).doubleValue())}, -150997759, 150997764, (int) System.currentTimeMillis());
|
||
|
wcfVar.a(context.getString(i, objArr));
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(C4573bci c4573bci, LG lg, InterfaceC6621cYR.wcf wcfVar) {
|
||
|
wcfVar.aX_();
|
||
|
C16746qs c16746qs = c4573bci.g;
|
||
|
List<C0653Ll> list = lg.h;
|
||
|
C14957gcv.e(list, "");
|
||
|
String e = c16746qs.e(C15715hv.tOB.purposeful_feature_input_card_selector_title);
|
||
|
C14957gcv.c((Object) e, "");
|
||
|
List<C0653Ll> list2 = list;
|
||
|
C14957gcv.e(list2, "");
|
||
|
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
|
||
|
Iterator<T> it = list2.iterator();
|
||
|
while (it.hasNext()) {
|
||
|
arrayList.add(((C0653Ll) it.next()).a);
|
||
|
}
|
||
|
wcfVar.c(new IR(e, arrayList));
|
||
|
C16989su c16989su = c4573bci.h;
|
||
|
wcfVar.c(C16989su.e(c4573bci.c));
|
||
|
wcfVar.d(0.0d);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(C4573bci c4573bci, Context context, InterfaceC6621cYR.wcf wcfVar) {
|
||
|
String str;
|
||
|
int i = C15715hv.tOB.purposeful_feature_input_amount_maximum_validation_error;
|
||
|
Object[] objArr = new Object[1];
|
||
|
if (c4573bci.c.p == null) {
|
||
|
str = "0.00";
|
||
|
} else {
|
||
|
str = c4573bci.c.p;
|
||
|
}
|
||
|
objArr[0] = (String) C6583cXR.c(new Object[]{Double.valueOf(Double.valueOf(str).doubleValue())}, -150997759, 150997764, (int) System.currentTimeMillis());
|
||
|
wcfVar.a(context.getString(i, objArr));
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(C4573bci c4573bci, InterfaceC6621cYR.wcf wcfVar) {
|
||
|
wcfVar.d(0.0d);
|
||
|
c4573bci.d.c = 0.0d;
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void a(C4573bci c4573bci) {
|
||
|
if (c4573bci.f != 0) {
|
||
|
c4573bci.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void c(C4573bci c4573bci, Throwable th, C0690Mh.IeS ieS) {
|
||
|
if (c4573bci.b(th)) {
|
||
|
c4573bci.d(c4573bci.j.d(th, ieS));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void c(int i, boolean z) {
|
||
|
C0653Ll c0653Ll = this.i.h.get(i);
|
||
|
this.c = c0653Ll;
|
||
|
super.a(c0653Ll, i, true);
|
||
|
}
|
||
|
|
||
|
public final void a(final LG lg, String str) {
|
||
|
if (lg == null || lg.h == null || lg.h.isEmpty()) {
|
||
|
return;
|
||
|
}
|
||
|
this.d = new LD();
|
||
|
this.d.h = str;
|
||
|
this.i = lg;
|
||
|
C0653Ll c0653Ll = lg.h.get(0);
|
||
|
this.c = c0653Ll;
|
||
|
super.a(c0653Ll, 0, false);
|
||
|
ZI.IeS ieS = new ZI.IeS(this, lg) { // from class: o.bch
|
||
|
private C4573bci b;
|
||
|
private LG d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C4573bci.c(this.b, this.d, (InterfaceC6621cYR.wcf) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
this.d = lg;
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS.e(this.f);
|
||
|
}
|
||
|
}
|
||
|
}
|