169 lines
5.1 KiB
Java
169 lines
5.1 KiB
Java
package o;
|
|
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.bqH, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C5288bqH extends Tve {
|
|
private static final List<String> c;
|
|
private final irj b;
|
|
private final String d;
|
|
private final hqK e;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C5288bqH(yRw yrw, yRw yrw2, irj irjVar, YpF ypF, hqK hqk, String str) {
|
|
super(ypF, yrw, yrw2);
|
|
C14957gcv.e(irjVar, "");
|
|
C14957gcv.e(ypF, "");
|
|
C14957gcv.e(hqk, "");
|
|
C14957gcv.e(str, "");
|
|
this.b = irjVar;
|
|
this.e = hqk;
|
|
this.d = str;
|
|
}
|
|
|
|
private final AbstractC13163fSk<Gef> b(String str, String str2, String str3) {
|
|
irj irjVar = this.b;
|
|
if (str2 == null) {
|
|
str2 = "";
|
|
}
|
|
AbstractC13163fSk<Gef> c2 = irjVar.c(new C12430ey(str, str3, str2, this.d));
|
|
final RVV rvv = new RVV(this);
|
|
AbstractC13163fSk<Gef> doOnNext = c2.doOnNext(new fSQ(rvv) { // from class: o.BlR
|
|
private InterfaceC14894gbR b;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
C5288bqH.d(this.b, obj);
|
|
}
|
|
|
|
{
|
|
this.b = rvv;
|
|
}
|
|
});
|
|
final HBt hBt = new HBt(this);
|
|
AbstractC13163fSk<Gef> doOnError = doOnNext.doOnError(new fSQ(hBt) { // from class: o.pfj
|
|
private InterfaceC14894gbR d;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
C5288bqH.a(this.d, obj);
|
|
}
|
|
|
|
{
|
|
this.d = hBt;
|
|
}
|
|
});
|
|
C14957gcv.c(doOnError, "");
|
|
return doOnError;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.bqH$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Gef, C14866gag> {
|
|
private C5288bqH b;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Gef gef) {
|
|
((Tve) this.b).a.a();
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
RVV(C5288bqH c5288bqH) {
|
|
super(1);
|
|
this.b = c5288bqH;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.bqH$HBt */
|
|
/* loaded from: classes3.dex */
|
|
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C5288bqH b;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
((Tve) this.b).a.a();
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
HBt(C5288bqH c5288bqH) {
|
|
super(1);
|
|
this.b = c5288bqH;
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.bqH$Sts */
|
|
/* loaded from: classes3.dex */
|
|
public static final class Sts {
|
|
private Sts() {
|
|
}
|
|
|
|
public /* synthetic */ Sts(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
static {
|
|
new Sts((byte) 0);
|
|
String[] strArr = {"B", "Z"};
|
|
C14957gcv.e(strArr, "");
|
|
C14957gcv.e(strArr, "");
|
|
List<String> asList = Arrays.asList(strArr);
|
|
C14957gcv.c(asList, "");
|
|
c = asList;
|
|
}
|
|
|
|
public static /* synthetic */ void d(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
public final void d(String str, String str2, xWw xww) {
|
|
AbstractC13163fSk<Gef> b;
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
C14957gcv.e(xww, "");
|
|
try {
|
|
String str3 = xww.c;
|
|
String e = this.e.e.e();
|
|
if (((Tve) this).a.g() && c.contains(e)) {
|
|
String b2 = b(str2);
|
|
if (b2 == null) {
|
|
b2 = "";
|
|
}
|
|
C14957gcv.c((Object) str3, "");
|
|
b = b(str, b2, str3);
|
|
} else if (!((Tve) this).a.i() || c.contains(e)) {
|
|
String a = a(str2, false);
|
|
if (a == null) {
|
|
a = "";
|
|
}
|
|
C14957gcv.c((Object) str3, "");
|
|
b = b(str, a, str3);
|
|
} else {
|
|
String str4 = xww.j;
|
|
String a2 = a(str2, true);
|
|
if (a2 == null) {
|
|
a2 = "";
|
|
}
|
|
C14957gcv.c((Object) str4, "");
|
|
b = b(str, a2, str4);
|
|
}
|
|
e(b);
|
|
} catch (Exception e2) {
|
|
e(AbstractC13163fSk.error(e2));
|
|
}
|
|
}
|
|
}
|