241 lines
6.6 KiB
Java
241 lines
6.6 KiB
Java
package o;
|
|
|
|
import java.io.File;
|
|
import o.C0690Mh;
|
|
import o.C5620bwW;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.bwW, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public final class C5620bwW extends C2198aaA {
|
|
private final WQd d;
|
|
private final PGF g;
|
|
private final znP h;
|
|
private final HXa i;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C5620bwW(PGF pgf, znP znp, WQd wQd, HXa hXa, C12493ezJ c12493ezJ, C17701yy c17701yy, C16903sI c16903sI) {
|
|
super(c12493ezJ, c17701yy, c16903sI);
|
|
C14957gcv.e(pgf, "");
|
|
C14957gcv.e(znp, "");
|
|
C14957gcv.e(wQd, "");
|
|
C14957gcv.e(hXa, "");
|
|
C14957gcv.e(c12493ezJ, "");
|
|
C14957gcv.e(c17701yy, "");
|
|
C14957gcv.e(c16903sI, "");
|
|
this.g = pgf;
|
|
this.h = znp;
|
|
this.d = wQd;
|
|
this.i = hXa;
|
|
}
|
|
|
|
@Override // o.C2198aaA
|
|
public final void c() {
|
|
super.c();
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
AbstractC13163fSk<String> a = this.d.a();
|
|
AbstractC13163fSk<String> a2 = this.h.a();
|
|
final Sts sts = Sts.a;
|
|
this.d.d(AbstractC13163fSk.zip(a, a2, new fSL(sts) { // from class: o.bxc
|
|
private InterfaceC14937gcb b;
|
|
|
|
@Override // o.fSL
|
|
public final Object e(Object obj, Object obj2) {
|
|
return C5620bwW.c(this.b, obj, obj2);
|
|
}
|
|
|
|
{
|
|
this.b = sts;
|
|
}
|
|
}), new RVV(this));
|
|
}
|
|
|
|
@Override // o.C2198aaA
|
|
public final void g(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
|
|
if (b(th)) {
|
|
d(this.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.bwW$Sts */
|
|
/* loaded from: classes4.dex */
|
|
static final class Sts extends AbstractC14961gcz implements InterfaceC14937gcb<String, String, SY> {
|
|
public static final Sts a = new Sts();
|
|
|
|
@Override // o.InterfaceC14937gcb
|
|
public final /* synthetic */ SY invoke(String str, String str2) {
|
|
return new SY(str2, str);
|
|
}
|
|
|
|
Sts() {
|
|
super(2);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.bwW$RVV */
|
|
/* loaded from: classes4.dex */
|
|
public static final class RVV extends wRi.LWm<SY> {
|
|
private C5620bwW b;
|
|
|
|
RVV(C5620bwW c5620bwW) {
|
|
this.b = c5620bwW;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final SY sy = (SY) obj;
|
|
C14957gcv.e(sy, "");
|
|
super.onNext(sy);
|
|
C5620bwW c5620bwW = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(sy) { // from class: o.bxb
|
|
private SY a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C5620bwW.RVV.c(this.a, (cZY) obj2);
|
|
}
|
|
|
|
{
|
|
this.a = sy;
|
|
}
|
|
};
|
|
if (c5620bwW.f != 0) {
|
|
ieS.e(c5620bwW.f);
|
|
}
|
|
C5620bwW.e(this.b);
|
|
C5620bwW.b(this.b);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
C5620bwW.d(this.b, th);
|
|
}
|
|
|
|
public static /* synthetic */ void c(SY sy, cZY czy) {
|
|
C14957gcv.e(sy, "");
|
|
czy.d(sy);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.bwW$HBt */
|
|
/* loaded from: classes4.dex */
|
|
public static final class HBt extends wRi.LWm<C14866gag> {
|
|
private C5620bwW e;
|
|
|
|
HBt(C5620bwW c5620bwW) {
|
|
this.e = c5620bwW;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
super.onComplete();
|
|
C5620bwW.b(this.e);
|
|
final C5620bwW c5620bwW = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(c5620bwW) { // from class: o.bwZ
|
|
private C5620bwW d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C5620bwW.HBt.d(this.d, (cZY) obj);
|
|
}
|
|
|
|
{
|
|
this.d = c5620bwW;
|
|
}
|
|
};
|
|
if (c5620bwW.f != 0) {
|
|
ieS.e(c5620bwW.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
C5620bwW.d(this.e, th);
|
|
}
|
|
|
|
public static /* synthetic */ void d(C5620bwW c5620bwW, cZY czy) {
|
|
C14957gcv.e(c5620bwW, "");
|
|
czy.c(c5620bwW.c);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void c(C5620bwW c5620bwW, int i, cZY czy) {
|
|
C14957gcv.e(c5620bwW, "");
|
|
czy.d(c5620bwW.c.l, i);
|
|
}
|
|
|
|
public static /* synthetic */ SY c(InterfaceC14937gcb interfaceC14937gcb, Object obj, Object obj2) {
|
|
C14957gcv.e(interfaceC14937gcb, "");
|
|
return (SY) interfaceC14937gcb.invoke(obj, obj2);
|
|
}
|
|
|
|
public static final /* synthetic */ void e(C5620bwW c5620bwW) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.bwX
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((cZY) obj).e();
|
|
}
|
|
};
|
|
if (c5620bwW.f != 0) {
|
|
ieS.e(c5620bwW.f);
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void b(C5620bwW c5620bwW) {
|
|
if (c5620bwW.f != 0) {
|
|
c5620bwW.f.ar_();
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void d(C5620bwW c5620bwW, Throwable th) {
|
|
if (c5620bwW.b(th)) {
|
|
c5620bwW.d(c5620bwW.j.e(th));
|
|
}
|
|
}
|
|
|
|
@Override // o.C2198aaA
|
|
public final void a(File file) {
|
|
C14957gcv.e(file, "");
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
this.c.l = file.toURI().toString();
|
|
HXa hXa = this.i;
|
|
String absolutePath = file.getAbsolutePath();
|
|
C14957gcv.c((Object) absolutePath, "");
|
|
this.i.d(hXa.e(absolutePath), new HBt(this));
|
|
}
|
|
|
|
@Override // o.C2198aaA
|
|
public final void d(final int i) {
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
ZI.IeS ieS = new ZI.IeS(this, i) { // from class: o.bwT
|
|
private int c;
|
|
private C5620bwW d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C5620bwW.c(this.d, this.c, (cZY) obj);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
this.c = i;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
}
|
|
}
|