95 lines
2.4 KiB
Java
95 lines
2.4 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.List;
|
||
|
import org.json.JSONObject;
|
||
|
|
||
|
/* renamed from: o.ewx, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class C12374ewx extends wRi {
|
||
|
private final PEk a;
|
||
|
public final Oxn b;
|
||
|
public final HAC c;
|
||
|
public final str d;
|
||
|
public final Xky e;
|
||
|
private final lKR g;
|
||
|
private final InterfaceC12861fJe j;
|
||
|
private final Eqs m;
|
||
|
private final InterfaceC13661feY n;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C12374ewx(yRw yrw, yRw yrw2, Oxn oxn, Xky xky, InterfaceC12861fJe interfaceC12861fJe, InterfaceC13661feY interfaceC13661feY, str strVar, HAC hac, lKR lkr, Eqs eqs, PEk pEk) {
|
||
|
super(yrw, yrw2);
|
||
|
this.b = oxn;
|
||
|
this.e = xky;
|
||
|
this.j = interfaceC12861fJe;
|
||
|
this.n = interfaceC13661feY;
|
||
|
this.d = strVar;
|
||
|
this.c = hac;
|
||
|
this.g = lkr;
|
||
|
this.m = eqs;
|
||
|
this.a = pEk;
|
||
|
}
|
||
|
|
||
|
public final AbstractC13163fSk d() {
|
||
|
return e(this.b.e());
|
||
|
}
|
||
|
|
||
|
public final AbstractC13163fSk<C14553fvQ> a(ZBS zbs) {
|
||
|
return e(this.j.d(zbs));
|
||
|
}
|
||
|
|
||
|
public final AbstractC13163fSk<ZBS> e() {
|
||
|
return e(this.j.a());
|
||
|
}
|
||
|
|
||
|
public final AbstractC13163fSk e(long j, boolean z) {
|
||
|
return e(this.n.c(j, z));
|
||
|
}
|
||
|
|
||
|
public final QJg d(long j, boolean z) {
|
||
|
List<QJg> i = this.n.i();
|
||
|
QJg j2 = this.n.j();
|
||
|
if (z && j2 != null) {
|
||
|
i.add(0, j2);
|
||
|
}
|
||
|
return c(Long.valueOf(j), i);
|
||
|
}
|
||
|
|
||
|
private QJg c(Long l, List<QJg> list) {
|
||
|
for (QJg qJg : list) {
|
||
|
if (qJg.A == l.longValue()) {
|
||
|
return qJg;
|
||
|
}
|
||
|
QJg c = c(l, qJg.M);
|
||
|
if (c != null) {
|
||
|
return c;
|
||
|
}
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
public final AbstractC13163fSk c(C1574aI c1574aI) {
|
||
|
return e(this.n.c(c1574aI));
|
||
|
}
|
||
|
|
||
|
public final AbstractC13163fSk c(Cnh cnh) {
|
||
|
return e(this.n.a(cnh));
|
||
|
}
|
||
|
|
||
|
public final AbstractC13163fSk a(String str) {
|
||
|
try {
|
||
|
JSONObject jSONObject = new JSONObject(str);
|
||
|
if (jSONObject.has("movieName")) {
|
||
|
return e(this.g.e(str));
|
||
|
}
|
||
|
if (jSONObject.has("campaignName")) {
|
||
|
return e(this.a.b(str));
|
||
|
}
|
||
|
return e(this.m.d(str));
|
||
|
} catch (Exception e) {
|
||
|
guQ.a(e);
|
||
|
return e(AbstractC13163fSk.error(new Throwable(e.getMessage())));
|
||
|
}
|
||
|
}
|
||
|
}
|