package o;

import java.io.Serializable;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.wH, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2797wH {
    public final /* synthetic */ int a;
    public final C1751lF b;
    public final C1751lF c;
    public final C1751lF d;
    public final C1751lF e;
    public final Serializable f;

    public C2797wH(String str) {
        this.a = 1;
        this.f = str;
        this.b = new C1751lF(null, 1);
        this.c = new C1751lF(null, 0);
        this.d = new C1751lF(null, 1);
        this.e = new C1751lF(null, 0);
    }

    public final C1751lF a() {
        switch (this.a) {
        }
        return this.e;
    }

    public final C1751lF b() {
        switch (this.a) {
        }
        return this.b;
    }

    public final C1751lF c() {
        switch (this.a) {
        }
        return this.d;
    }

    public final C1751lF d() {
        switch (this.a) {
        }
        return this.c;
    }

    public final String toString() {
        switch (this.a) {
            case 0:
                return AbstractC2219q9.S(57, (C2797wH[]) this.f);
            default:
                String str = (String) this.f;
                if (str == null) {
                    return super.toString();
                }
                return "RectRulers(" + str + ')';
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    public C2797wH(C2797wH[] c2797wHArr) {
        this.a = 0;
        this.f = c2797wHArr;
        int length = c2797wHArr.length;
        C1751lF[] c1751lFArr = new C1751lF[length];
        for (int i = 0; i < length; i++) {
            c1751lFArr[i] = ((C2797wH[]) this.f)[i].b();
        }
        this.b = new C1751lF(new C2835wj0(c1751lFArr, 0), 1);
        int length2 = ((C2797wH[]) this.f).length;
        C1751lF[] c1751lFArr2 = new C1751lF[length2];
        for (int i2 = 0; i2 < length2; i2++) {
            c1751lFArr2[i2] = ((C2797wH[]) this.f)[i2].d();
        }
        this.c = new C1751lF(new C1656kF(c1751lFArr2, 0), 0);
        int length3 = ((C2797wH[]) this.f).length;
        C1751lF[] c1751lFArr3 = new C1751lF[length3];
        for (int i3 = 0; i3 < length3; i3++) {
            c1751lFArr3[i3] = ((C2797wH[]) this.f)[i3].c();
        }
        this.d = new C1751lF(new C2835wj0(c1751lFArr3, 1), 1);
        int length4 = ((C2797wH[]) this.f).length;
        C1751lF[] c1751lFArr4 = new C1751lF[length4];
        for (int i4 = 0; i4 < length4; i4++) {
            c1751lFArr4[i4] = ((C2797wH[]) this.f)[i4].a();
        }
        this.e = new C1751lF(new C1656kF(c1751lFArr4, 1), 0);
    }
}
