package o; import io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; /* renamed from: o.fTh, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C13194fTh { public static final fSQ a; private static InterfaceC13193fTg b; private static InterfaceC13193fTg e; private static InterfaceC13189fTc j; private static fSS h = new AcL(); public static final Runnable d = new huo(); public static final fSP c = new NHB(); private static fSQ g = new ZnX(); public static fSS b(fSL fsl) { return new RVV(fsl); } public static fSS c(InterfaceC13150fSU interfaceC13150fSU) { return new HBt(interfaceC13150fSU); } public static fSS b(fST fst) { return new IeS(fst); } public static fSS e(InterfaceC13151fSX interfaceC13151fSX) { return new Sts(interfaceC13151fSX); } public static fSS a(InterfaceC13187fTa interfaceC13187fTa) { return new ojQ(interfaceC13187fTa); } public static fSS a(fSZ fsz) { return new saX(fsz); } public static fSS b(fSW fsw) { return new ZqN(fsw); } public static fSS b(fSV fsv) { return new jbe(fsv); } static { new Heg(); a = new JRt(); new CeN(); e = new NOK(); b = new Plv(); j = new Yju(); new zJl(); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$ehe */ /* loaded from: classes.dex */ public static final class ehe implements Callable, InterfaceC13189fTc, fSS { private U b; ehe(U u) { this.b = u; } @Override // o.InterfaceC13189fTc public final U d() { return this.b; } @Override // java.util.concurrent.Callable public final U call() { return this.b; } @Override // o.fSS public final U a(T t) { return this.b; } } public static InterfaceC13189fTc a(T t) { return new ehe(t); } public static fSS c(U u) { return new ehe(u); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$dAO */ /* loaded from: classes6.dex */ public static final class dAO implements fSS { private Class c; dAO(Class cls) { this.c = cls; } @Override // o.fSS public final U a(T t) { return this.c.cast(t); } } public static fSS a(Class cls) { return new dAO(cls); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$tOB */ /* loaded from: classes6.dex */ public static final class tOB implements InterfaceC13189fTc> { private int c; tOB(int i) { this.c = i; } @Override // o.InterfaceC13189fTc public final /* synthetic */ Object d() throws Throwable { return new ArrayList(this.c); } } public static InterfaceC13189fTc> b(int i) { return new tOB(i); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$mxa */ /* loaded from: classes6.dex */ public static final class mxa implements InterfaceC13193fTg { private T c; mxa(T t) { this.c = t; } @Override // o.InterfaceC13193fTg public final boolean a(T t) { return Objects.equals(t, this.c); } } public static InterfaceC13193fTg d(T t) { return new mxa(t); } public static InterfaceC13189fTc> a() { return cSf.INSTANCE; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$ufv */ /* loaded from: classes6.dex */ public static final class ufv implements fSQ { private fSQ> e; ufv(fSQ> fsq) { this.e = fsq; } @Override // o.fSQ public final void c(T t) throws Throwable { this.e.c(C13166fSn.a(t)); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$XOs */ /* loaded from: classes6.dex */ public static final class XOs implements fSQ { private fSQ> a; @Override // o.fSQ public final /* synthetic */ void c(Throwable th) throws Throwable { this.a.c(C13166fSn.a(th)); } XOs(fSQ> fsq) { this.a = fsq; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$pwE */ /* loaded from: classes6.dex */ public static final class pwE implements fSP { private fSQ> c; pwE(fSQ> fsq) { this.c = fsq; } @Override // o.fSP public final void c() throws Throwable { this.c.c(C13166fSn.e()); } } public static fSQ c(fSQ> fsq) { return new ufv(fsq); } public static fSQ b(fSQ> fsq) { return new XOs(fsq); } public static fSP d(fSQ> fsq) { return new pwE(fsq); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$LWm */ /* loaded from: classes6.dex */ public static final class LWm implements fSQ { private fSP a; LWm(fSP fsp) { this.a = fsp; } @Override // o.fSQ public final void c(T t) throws Throwable { this.a.c(); } } public static fSQ b(fSP fsp) { return new LWm(fsp); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$vUG */ /* loaded from: classes6.dex */ public static final class vUG implements InterfaceC13193fTg { private Class c; vUG(Class cls) { this.c = cls; } @Override // o.InterfaceC13193fTg public final boolean a(T t) { return this.c.isInstance(t); } } public static InterfaceC13193fTg b(Class cls) { return new vUG(cls); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$jNh */ /* loaded from: classes6.dex */ public static final class jNh implements InterfaceC13193fTg { private InterfaceC13148fSM d; jNh(InterfaceC13148fSM interfaceC13148fSM) { this.d = interfaceC13148fSM; } @Override // o.InterfaceC13193fTg public final boolean a(T t) throws Throwable { return !this.d.c(); } } public static InterfaceC13193fTg a(InterfaceC13148fSM interfaceC13148fSM) { return new jNh(interfaceC13148fSM); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$Hsz */ /* loaded from: classes6.dex */ public static final class Hsz implements fSS> { private TimeUnit d; private AbstractC13173fSu e; Hsz(TimeUnit timeUnit, AbstractC13173fSu abstractC13173fSu) { this.d = timeUnit; this.e = abstractC13173fSu; } @Override // o.fSS public final /* synthetic */ Object a(Object obj) throws Throwable { return new C13421fZx(obj, AbstractC13173fSu.b(this.d), this.d); } } public static fSS> d(TimeUnit timeUnit, AbstractC13173fSu abstractC13173fSu) { return new Hsz(timeUnit, abstractC13173fSu); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$ZKJ */ /* loaded from: classes6.dex */ public static final class ZKJ implements fSK, T> { private final fSS c; @Override // o.fSK public final /* synthetic */ void b(Object obj, Object obj2) throws Throwable { ((Map) obj).put(this.c.a(obj2), obj2); } ZKJ(fSS fss) { this.c = fss; } } public static fSK, T> a(fSS fss) { return new ZKJ(fss); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$lmI */ /* loaded from: classes6.dex */ public static final class lmI implements fSK, T> { private final fSS a; private final fSS d; @Override // o.fSK public final /* synthetic */ void b(Object obj, Object obj2) throws Throwable { ((Map) obj).put(this.d.a(obj2), this.a.a(obj2)); } lmI(fSS fss, fSS fss2) { this.a = fss; this.d = fss2; } } public static fSK, T> d(fSS fss, fSS fss2) { return new lmI(fss2, fss); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$uqm */ /* loaded from: classes6.dex */ public static final class uqm implements fSK>, T> { private final fSS a; private final fSS> c; private final fSS e; @Override // o.fSK public final /* synthetic */ void b(Object obj, Object obj2) throws Throwable { Map map = (Map) obj; K a = this.a.a(obj2); Collection collection = (Collection) map.get(a); if (collection == null) { collection = this.c.a(a); map.put(a, collection); } collection.add(this.e.a(obj2)); } uqm(fSS> fss, fSS fss2, fSS fss3) { this.c = fss; this.e = fss2; this.a = fss3; } } public static fSK>, T> e(fSS fss, fSS fss2, fSS> fss3) { return new uqm(fss3, fss2, fss); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$qPj */ /* loaded from: classes6.dex */ public enum qPj implements Comparator { INSTANCE; @Override // java.util.Comparator public final int compare(Object obj, Object obj2) { return ((Comparable) obj).compareTo(obj2); } } public static Comparator h() { return qPj.INSTANCE; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$SYO */ /* loaded from: classes6.dex */ public static final class SYO implements fSS, List> { private Comparator d; @Override // o.fSS public final /* synthetic */ Object a(Object obj) throws Throwable { List list = (List) obj; Collections.sort(list, this.d); return list; } SYO(Comparator comparator) { this.d = comparator; } } public static fSS, List> e(Comparator comparator) { return new SYO(comparator); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$RVV */ /* loaded from: classes6.dex */ public static final class RVV implements fSS { private fSL a; @Override // o.fSS public final /* synthetic */ Object a(Object[] objArr) throws Throwable { Object[] objArr2 = objArr; if (objArr2.length != 2) { StringBuilder sb = new StringBuilder("Array of size 2 expected but got "); sb.append(objArr2.length); throw new IllegalArgumentException(sb.toString()); } return this.a.e(objArr2[0], objArr2[1]); } RVV(fSL fsl) { this.a = fsl; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$HBt */ /* loaded from: classes6.dex */ public static final class HBt implements fSS { private InterfaceC13150fSU b; /* JADX WARN: Multi-variable type inference failed */ @Override // o.fSS public final /* synthetic */ Object a(Object[] objArr) throws Throwable { Object[] objArr2 = objArr; if (objArr2.length != 3) { StringBuilder sb = new StringBuilder("Array of size 3 expected but got "); sb.append(objArr2.length); throw new IllegalArgumentException(sb.toString()); } return this.b.b(objArr2[0], objArr2[1], objArr2[2]); } HBt(InterfaceC13150fSU interfaceC13150fSU) { this.b = interfaceC13150fSU; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$IeS */ /* loaded from: classes6.dex */ public static final class IeS implements fSS { private fST b; /* JADX WARN: Multi-variable type inference failed */ @Override // o.fSS public final /* synthetic */ Object a(Object[] objArr) throws Throwable { Object[] objArr2 = objArr; if (objArr2.length != 4) { StringBuilder sb = new StringBuilder("Array of size 4 expected but got "); sb.append(objArr2.length); throw new IllegalArgumentException(sb.toString()); } return this.b.b(objArr2[0], objArr2[1], objArr2[2], objArr2[3]); } IeS(fST fst) { this.b = fst; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$Sts */ /* loaded from: classes6.dex */ public static final class Sts implements fSS { private final InterfaceC13151fSX d; /* JADX WARN: Multi-variable type inference failed */ @Override // o.fSS public final /* synthetic */ Object a(Object[] objArr) throws Throwable { Object[] objArr2 = objArr; if (objArr2.length != 5) { StringBuilder sb = new StringBuilder("Array of size 5 expected but got "); sb.append(objArr2.length); throw new IllegalArgumentException(sb.toString()); } return this.d.b(objArr2[0], objArr2[1], objArr2[2], objArr2[3], objArr2[4]); } Sts(InterfaceC13151fSX interfaceC13151fSX) { this.d = interfaceC13151fSX; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$ojQ */ /* loaded from: classes6.dex */ public static final class ojQ implements fSS { private InterfaceC13187fTa a; /* JADX WARN: Multi-variable type inference failed */ @Override // o.fSS public final /* synthetic */ Object a(Object[] objArr) throws Throwable { Object[] objArr2 = objArr; if (objArr2.length != 6) { StringBuilder sb = new StringBuilder("Array of size 6 expected but got "); sb.append(objArr2.length); throw new IllegalArgumentException(sb.toString()); } return this.a.b(objArr2[0], objArr2[1], objArr2[2], objArr2[3], objArr2[4], objArr2[5]); } ojQ(InterfaceC13187fTa interfaceC13187fTa) { this.a = interfaceC13187fTa; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$saX */ /* loaded from: classes6.dex */ public static final class saX implements fSS { private fSZ c; /* JADX WARN: Multi-variable type inference failed */ @Override // o.fSS public final /* synthetic */ Object a(Object[] objArr) throws Throwable { Object[] objArr2 = objArr; if (objArr2.length != 7) { StringBuilder sb = new StringBuilder("Array of size 7 expected but got "); sb.append(objArr2.length); throw new IllegalArgumentException(sb.toString()); } return this.c.b(objArr2[0], objArr2[1], objArr2[2], objArr2[3], objArr2[4], objArr2[5], objArr2[6]); } saX(fSZ fsz) { this.c = fsz; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$ZqN */ /* loaded from: classes6.dex */ public static final class ZqN implements fSS { private fSW b; @Override // o.fSS public final /* synthetic */ Object a(Object[] objArr) throws Throwable { Object[] objArr2 = objArr; if (objArr2.length != 8) { StringBuilder sb = new StringBuilder("Array of size 8 expected but got "); sb.append(objArr2.length); throw new IllegalArgumentException(sb.toString()); } fSW fsw = this.b; Object obj = objArr2[0]; Object obj2 = objArr2[1]; Object obj3 = objArr2[2]; Object obj4 = objArr2[3]; Object obj5 = objArr2[4]; Object obj6 = objArr2[5]; Object obj7 = objArr2[6]; Object obj8 = objArr2[7]; return fsw.a(); } ZqN(fSW fsw) { this.b = fsw; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$jbe */ /* loaded from: classes6.dex */ public static final class jbe implements fSS { private fSV a; @Override // o.fSS public final /* synthetic */ Object a(Object[] objArr) throws Throwable { Object[] objArr2 = objArr; if (objArr2.length != 9) { StringBuilder sb = new StringBuilder("Array of size 9 expected but got "); sb.append(objArr2.length); throw new IllegalArgumentException(sb.toString()); } fSV fsv = this.a; Object obj = objArr2[0]; Object obj2 = objArr2[1]; Object obj3 = objArr2[2]; Object obj4 = objArr2[3]; Object obj5 = objArr2[4]; Object obj6 = objArr2[5]; Object obj7 = objArr2[6]; Object obj8 = objArr2[7]; Object obj9 = objArr2[8]; return fsv.e(); } jbe(fSV fsv) { this.a = fsv; } } /* renamed from: o.fTh$AcL */ /* loaded from: classes.dex */ static final class AcL implements fSS { @Override // o.fSS public final Object a(Object obj) { return obj; } AcL() { } public final String toString() { return "IdentityFunction"; } } /* renamed from: o.fTh$huo */ /* loaded from: classes.dex */ static final class huo implements Runnable { @Override // java.lang.Runnable public final void run() { } huo() { } public final String toString() { return "EmptyRunnable"; } } /* renamed from: o.fTh$NHB */ /* loaded from: classes.dex */ static final class NHB implements fSP { @Override // o.fSP public final void c() { } NHB() { } public final String toString() { return "EmptyAction"; } } /* renamed from: o.fTh$ZnX */ /* loaded from: classes.dex */ static final class ZnX implements fSQ { @Override // o.fSQ public final void c(Object obj) { } ZnX() { } public final String toString() { return "EmptyConsumer"; } } /* renamed from: o.fTh$Heg */ /* loaded from: classes.dex */ static final class Heg implements fSQ { Heg() { } @Override // o.fSQ public final /* bridge */ /* synthetic */ void c(Throwable th) throws Throwable { C13418fZu.c(th); } } /* renamed from: o.fTh$JRt */ /* loaded from: classes.dex */ static final class JRt implements fSQ { JRt() { } @Override // o.fSQ public final /* synthetic */ void c(Throwable th) throws Throwable { C13418fZu.c(new OnErrorNotImplementedException(th)); } } /* renamed from: o.fTh$CeN */ /* loaded from: classes.dex */ static final class CeN { CeN() { } } /* renamed from: o.fTh$NOK */ /* loaded from: classes.dex */ static final class NOK implements InterfaceC13193fTg { @Override // o.InterfaceC13193fTg public final boolean a(Object obj) { return true; } NOK() { } } /* renamed from: o.fTh$Plv */ /* loaded from: classes.dex */ static final class Plv implements InterfaceC13193fTg { @Override // o.InterfaceC13193fTg public final boolean a(Object obj) { return false; } Plv() { } } /* renamed from: o.fTh$Yju */ /* loaded from: classes.dex */ static final class Yju implements InterfaceC13189fTc { @Override // o.InterfaceC13189fTc public final Object d() { return null; } Yju() { } } /* renamed from: o.fTh$zJl */ /* loaded from: classes.dex */ static final class zJl implements fSQ { zJl() { } @Override // o.fSQ public final /* bridge */ /* synthetic */ void c(InterfaceC15337gnm interfaceC15337gnm) throws Throwable { interfaceC15337gnm.c(Long.MAX_VALUE); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.fTh$cSf */ /* loaded from: classes6.dex */ public enum cSf implements InterfaceC13189fTc> { INSTANCE; @Override // o.InterfaceC13189fTc public final /* synthetic */ Set d() throws Throwable { return new HashSet(); } } public static InterfaceC13189fTc i() { return (InterfaceC13189fTc) j; } public static fSS d() { return (fSS) h; } public static fSQ c() { return (fSQ) g; } public static InterfaceC13193fTg b() { return (InterfaceC13193fTg) e; } public static InterfaceC13193fTg e() { return (InterfaceC13193fTg) b; } }