176 lines
5.7 KiB
Java
176 lines
5.7 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.ie, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C15791ie extends C15620hF {
|
|
public final xZj b;
|
|
final C16390nt c;
|
|
public final WzL e;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C15791ie(WzL wzL, xZj xzj, C16390nt c16390nt) {
|
|
super((byte) 0);
|
|
C14957gcv.e(wzL, "");
|
|
C14957gcv.e(xzj, "");
|
|
C14957gcv.e(c16390nt, "");
|
|
this.e = wzL;
|
|
this.b = xzj;
|
|
this.c = c16390nt;
|
|
}
|
|
|
|
/* renamed from: o.ie$LWm */
|
|
/* loaded from: classes3.dex */
|
|
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<List<? extends oTS>, GI> {
|
|
private String a;
|
|
private String b;
|
|
private String c;
|
|
private boolean d;
|
|
private cNC e;
|
|
private C15791ie f;
|
|
private String g;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ GI invoke(List<? extends oTS> list) {
|
|
Object next;
|
|
Object next2;
|
|
Object next3;
|
|
String str;
|
|
boolean z;
|
|
List<? extends oTS> list2 = list;
|
|
C14957gcv.e(list2, "");
|
|
C16390nt c16390nt = this.f.c;
|
|
String str2 = this.e.b;
|
|
String str3 = this.a;
|
|
String str4 = this.b;
|
|
String str5 = this.g;
|
|
String str6 = this.c;
|
|
boolean z2 = this.d;
|
|
C14957gcv.e(list2, "");
|
|
C14957gcv.e(str2, "");
|
|
C14957gcv.e(str5, "");
|
|
C14957gcv.e(str6, "");
|
|
List<? extends oTS> list3 = list2;
|
|
Iterator<T> it = list3.iterator();
|
|
if (it.hasNext()) {
|
|
next = it.next();
|
|
if (it.hasNext()) {
|
|
double d = ((oTS) next).c;
|
|
do {
|
|
Object next4 = it.next();
|
|
Object obj = next;
|
|
double d2 = ((oTS) next4).c;
|
|
if (Double.compare(d, d2) < 0) {
|
|
d = d2;
|
|
next = next4;
|
|
} else {
|
|
next = obj;
|
|
}
|
|
} while (it.hasNext());
|
|
}
|
|
} else {
|
|
next = null;
|
|
}
|
|
oTS ots = (oTS) next;
|
|
Double valueOf = ots != null ? Double.valueOf(ots.c) : null;
|
|
Iterator<T> it2 = list3.iterator();
|
|
if (it2.hasNext()) {
|
|
next2 = it2.next();
|
|
if (it2.hasNext()) {
|
|
double d3 = ((oTS) next2).b;
|
|
do {
|
|
Object next5 = it2.next();
|
|
double d4 = ((oTS) next5).b;
|
|
if (Double.compare(d3, d4) < 0) {
|
|
d3 = d4;
|
|
next2 = next5;
|
|
}
|
|
} while (it2.hasNext());
|
|
}
|
|
} else {
|
|
next2 = null;
|
|
}
|
|
oTS ots2 = (oTS) next2;
|
|
Double valueOf2 = ots2 != null ? Double.valueOf(ots2.b) : null;
|
|
Iterator<T> it3 = list3.iterator();
|
|
if (it3.hasNext()) {
|
|
next3 = it3.next();
|
|
if (it3.hasNext()) {
|
|
double d5 = ((oTS) next3).a;
|
|
while (true) {
|
|
Object next6 = it3.next();
|
|
str = str6;
|
|
z = z2;
|
|
double d6 = ((oTS) next6).a;
|
|
if (Double.compare(d5, d6) < 0) {
|
|
d5 = d6;
|
|
next3 = next6;
|
|
}
|
|
if (!it3.hasNext()) {
|
|
break;
|
|
}
|
|
str6 = str;
|
|
z2 = z;
|
|
}
|
|
} else {
|
|
str = str6;
|
|
z = z2;
|
|
}
|
|
} else {
|
|
str = str6;
|
|
z = z2;
|
|
next3 = null;
|
|
}
|
|
oTS ots3 = (oTS) next3;
|
|
Double valueOf3 = ots3 != null ? Double.valueOf(ots3.a) : null;
|
|
GI gi = new GI();
|
|
String c = C16390nt.c(valueOf);
|
|
if (c == null) {
|
|
c = "";
|
|
}
|
|
gi.f = c;
|
|
String c2 = C16390nt.c(valueOf2);
|
|
if (c2 == null) {
|
|
c2 = "";
|
|
}
|
|
gi.g = c2;
|
|
String c3 = C16390nt.c(valueOf3);
|
|
if (c3 == null) {
|
|
c3 = "";
|
|
}
|
|
gi.h = c3;
|
|
C14957gcv.e(list3, "");
|
|
ArrayList arrayList = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
|
|
Iterator<T> it4 = list3.iterator();
|
|
while (it4.hasNext()) {
|
|
arrayList.add(C16390nt.c((oTS) it4.next()));
|
|
}
|
|
gi.j = arrayList;
|
|
gi.b = str2;
|
|
gi.d = str3;
|
|
gi.e = str4;
|
|
gi.i = str5;
|
|
gi.c = str;
|
|
gi.a = z;
|
|
return gi;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public LWm(C15791ie c15791ie, cNC cnc, String str, String str2, String str3, String str4, boolean z) {
|
|
super(1);
|
|
this.f = c15791ie;
|
|
this.e = cnc;
|
|
this.a = str;
|
|
this.b = str2;
|
|
this.g = str3;
|
|
this.c = str4;
|
|
this.d = z;
|
|
}
|
|
}
|
|
}
|