package o; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import java.util.Map; import o.AbstractC11268ecD; import org.bouncycastle.asn1.cmp.PKIFailureInfo; /* renamed from: o.ecD, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public abstract class AbstractC11268ecD> implements Cloneable { Drawable a; int b; int c; Drawable e; boolean g; boolean i; public boolean j; int n; /* renamed from: o, reason: collision with root package name */ Drawable f8973o; boolean q; Resources.Theme r; boolean s; private int u; private boolean v; float p = 1.0f; LHy d = LHy.a; private EnumC3495ayd C = EnumC3495ayd.NORMAL; public boolean h = true; private int y = -1; private int w = -1; InterfaceC2545agd l = C15919jcd.d(); private boolean x = true; unA k = new unA(); Map, wfh> t = new C15150gie(); Class m = Object.class; boolean f = true; public final T q() { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } abstractC11268ecD.s = true; abstractC11268ecD.u |= PKIFailureInfo.badCertTemplate; if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } public final T a(LHy lHy) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } if (lHy != null) { abstractC11268ecD.d = lHy; abstractC11268ecD.u |= 4; if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } throw new NullPointerException("Argument must not be null"); } public final T d(EnumC3495ayd enumC3495ayd) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } if (enumC3495ayd != null) { abstractC11268ecD.C = enumC3495ayd; abstractC11268ecD.u |= 8; if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } throw new NullPointerException("Argument must not be null"); } public final T c(int i) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } abstractC11268ecD.n = i; int i2 = abstractC11268ecD.u; abstractC11268ecD.f8973o = null; abstractC11268ecD.u = (i2 | 128) & (-65); if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } public final T a() { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } abstractC11268ecD.c = com.scb.phone.R.color.f3092131099816; int i = abstractC11268ecD.u; abstractC11268ecD.a = null; abstractC11268ecD.u = (i | 16384) & (-8193); if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } public final T a(int i) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } abstractC11268ecD.b = i; int i2 = abstractC11268ecD.u; abstractC11268ecD.e = null; abstractC11268ecD.u = (i2 | 32) & (-17); if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } public final T p() { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } abstractC11268ecD.h = false; abstractC11268ecD.u |= 256; if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } public final T b(int i, int i2) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } abstractC11268ecD.w = i; abstractC11268ecD.y = i2; abstractC11268ecD.u |= 512; if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } public final T c(InterfaceC2545agd interfaceC2545agd) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } if (interfaceC2545agd != null) { abstractC11268ecD.l = interfaceC2545agd; abstractC11268ecD.u |= 1024; if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } throw new NullPointerException("Argument must not be null"); } @Override // public T d() { try { T t = (T) super.clone(); unA una = new unA(); t.k = una; una.d.a(this.k.d); C15150gie c15150gie = new C15150gie(); t.t = c15150gie; c15150gie.putAll(this.t); t.j = false; t.v = false; return t; } catch (CloneNotSupportedException e) { throw new RuntimeException(e); } } public final T d(wrW wrw, Y y) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } if (wrw == null) { throw new NullPointerException("Argument must not be null"); } if (y != null) { abstractC11268ecD.k.d.put(wrw, y); if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } throw new NullPointerException("Argument must not be null"); } public final T c(Class cls) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } abstractC11268ecD.m = cls; abstractC11268ecD.u |= 4096; if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } public final boolean o() { return (this.u & 2048) != 0; } public final T e() { RBw rBw = RBw.e; Xsc xsc = new Xsc(); if (!this.v) { wrW wrw = RBw.i; if (rBw == null) { throw new NullPointerException("Argument must not be null"); } d((wrW) wrw, (wrW) rBw); return b((wfh) xsc, true); } AbstractC11268ecD d = d(); while (d.v) { d = d.d(); } wrW wrw2 = RBw.i; if (rBw == null) { throw new NullPointerException("Argument must not be null"); } d.d((wrW>) wrw2, (wrW) rBw); return (T) d.b((wfh) xsc, true); } public final T r() { return e(RBw.d, new CDU()); } public final T t() { return e(RBw.a, new OJA()); } public final T d(RBw rBw, wfh wfhVar) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } wrW wrw = RBw.i; if (rBw != null) { abstractC11268ecD.d((wrW) wrw, (wrW) rBw); return abstractC11268ecD.b(wfhVar, false); } throw new NullPointerException("Argument must not be null"); } /* JADX WARN: Multi-variable type inference failed */ public final T b(wfh wfhVar, boolean z) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } lvR lvr = new lvR(wfhVar, z); abstractC11268ecD.e(Bitmap.class, wfhVar, z); abstractC11268ecD.e(Drawable.class, lvr, z); abstractC11268ecD.e(BitmapDrawable.class, lvr, z); abstractC11268ecD.e(RiR.class, new YTE(wfhVar), z); if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } private T e(Class cls, wfh wfhVar, boolean z) { AbstractC11268ecD abstractC11268ecD = this; while (abstractC11268ecD.v) { abstractC11268ecD = abstractC11268ecD.d(); } if (wfhVar != null) { abstractC11268ecD.t.put(cls, wfhVar); int i = abstractC11268ecD.u; abstractC11268ecD.x = true; abstractC11268ecD.u = 67584 | i; abstractC11268ecD.f = false; if (z) { abstractC11268ecD.u = i | 198656; abstractC11268ecD.g = true; } if (abstractC11268ecD.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return abstractC11268ecD; } throw new NullPointerException("Argument must not be null"); } public T d(AbstractC11268ecD abstractC11268ecD) { if (this.v) { return (T) d().d(abstractC11268ecD); } int i = abstractC11268ecD.u; if ((i & 2) != 0) { this.p = abstractC11268ecD.p; } if ((262144 & i) != 0) { this.q = abstractC11268ecD.q; } if ((1048576 & i) != 0) { this.s = abstractC11268ecD.s; } if ((i & 4) != 0) { this.d = abstractC11268ecD.d; } if ((i & 8) != 0) { this.C = abstractC11268ecD.C; } if ((i & 16) != 0) { this.e = abstractC11268ecD.e; this.b = 0; this.u &= -33; } if ((abstractC11268ecD.u & 32) != 0) { this.b = abstractC11268ecD.b; this.e = null; this.u &= -17; } if ((abstractC11268ecD.u & 64) != 0) { this.f8973o = abstractC11268ecD.f8973o; this.n = 0; this.u &= -129; } if ((abstractC11268ecD.u & 128) != 0) { this.n = abstractC11268ecD.n; this.f8973o = null; this.u &= -65; } int i2 = abstractC11268ecD.u; if ((i2 & 256) != 0) { this.h = abstractC11268ecD.h; } if ((i2 & 512) != 0) { this.w = abstractC11268ecD.w; this.y = abstractC11268ecD.y; } if ((i2 & 1024) != 0) { this.l = abstractC11268ecD.l; } if ((i2 & 4096) != 0) { this.m = abstractC11268ecD.m; } if ((i2 & 8192) != 0) { this.a = abstractC11268ecD.a; this.c = 0; this.u &= -16385; } if ((abstractC11268ecD.u & 16384) != 0) { this.c = abstractC11268ecD.c; this.a = null; this.u &= -8193; } int i3 = abstractC11268ecD.u; if ((32768 & i3) != 0) { this.r = abstractC11268ecD.r; } if ((65536 & i3) != 0) { this.x = abstractC11268ecD.x; } if ((131072 & i3) != 0) { this.g = abstractC11268ecD.g; } if ((i3 & 2048) != 0) { this.t.putAll(abstractC11268ecD.t); this.f = abstractC11268ecD.f; } if ((abstractC11268ecD.u & 524288) != 0) { this.i = abstractC11268ecD.i; } if (!this.x) { this.t.clear(); int i4 = this.u; this.g = false; this.u = i4 & (-133121); this.f = true; } this.u |= abstractC11268ecD.u; this.k.d.a(abstractC11268ecD.k.d); if (this.j) { throw new IllegalStateException("You cannot modify locked T, consider clone()"); } return this; } public boolean equals(Object obj) { if (!(obj instanceof AbstractC11268ecD)) { return false; } AbstractC11268ecD abstractC11268ecD = (AbstractC11268ecD) obj; return Float.compare(abstractC11268ecD.p, this.p) == 0 && this.b == abstractC11268ecD.b && FKd.c(this.e, abstractC11268ecD.e) && this.n == abstractC11268ecD.n && FKd.c(this.f8973o, abstractC11268ecD.f8973o) && this.c == abstractC11268ecD.c && FKd.c(this.a, abstractC11268ecD.a) && this.h == abstractC11268ecD.h && this.y == abstractC11268ecD.y && this.w == abstractC11268ecD.w && this.g == abstractC11268ecD.g && this.x == abstractC11268ecD.x && this.q == abstractC11268ecD.q && this.i == abstractC11268ecD.i && this.d.equals(abstractC11268ecD.d) && this.C == abstractC11268ecD.C && this.k.equals(abstractC11268ecD.k) && this.t.equals(abstractC11268ecD.t) && this.m.equals(abstractC11268ecD.m) && FKd.c(this.l, abstractC11268ecD.l) && FKd.c(this.r, abstractC11268ecD.r); } public int hashCode() { return FKd.e(this.r, FKd.e(this.l, FKd.e(this.m, FKd.e(this.t, FKd.e(this.k, FKd.e(this.C, FKd.e(this.d, FKd.c(this.i, FKd.c(this.q, FKd.c(this.x, FKd.c(this.g, FKd.d(this.w, FKd.d(this.y, FKd.c(this.h, FKd.e(this.a, FKd.d(this.c, FKd.e(this.f8973o, FKd.d(this.n, FKd.e(this.e, FKd.d(this.b, FKd.d(this.p))))))))))))))))))))); } public final T c() { if (this.j && !this.v) { throw new IllegalStateException("You cannot auto lock an already locked options object, try clone() first"); } this.v = true; this.j = true; return this; } public final boolean f() { return (this.u & 4) != 0; } public final boolean n() { return (this.u & 256) != 0; } public final boolean k() { return (this.u & 8) != 0; } public final boolean m() { return FKd.c(this.w, this.y); } private T e(RBw rBw, wfh wfhVar) { T b; if (this.v) { AbstractC11268ecD d = d(); while (d.v) { d = d.d(); } wrW wrw = RBw.i; if (rBw != null) { d.d((wrW>) wrw, (wrW) rBw); b = (T) d.b(wfhVar, false); } else { throw new NullPointerException("Argument must not be null"); } } else { wrW wrw2 = RBw.i; if (rBw != null) { d((wrW) wrw2, (wrW) rBw); b = b(wfhVar, false); } else { throw new NullPointerException("Argument must not be null"); } } b.f = true; return b; } public final T c(RBw rBw, wfh wfhVar) { T b; if (this.v) { AbstractC11268ecD d = d(); while (d.v) { d = d.d(); } wrW wrw = RBw.i; if (rBw == null) { throw new NullPointerException("Argument must not be null"); } d.d((wrW>) wrw, (wrW) rBw); b = (T) d.b(wfhVar, true); } else { wrW wrw2 = RBw.i; if (rBw == null) { throw new NullPointerException("Argument must not be null"); } d((wrW) wrw2, (wrW) rBw); b = b(wfhVar, true); } b.f = true; return b; } public final boolean l() { return this.x; } /* JADX INFO: Access modifiers changed from: protected */ public final boolean j() { return this.v; } public final EnumC3495ayd i() { return this.C; } public final int h() { return this.w; } public final int g() { return this.y; } }