package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.fD, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C1177fD implements OC {
    public final /* synthetic */ int l;
    public final /* synthetic */ OC m;
    public final /* synthetic */ GB n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ OC f524o;
    public final /* synthetic */ HB p;

    public /* synthetic */ C1177fD(OC oc, GB gb, OC oc2, HB hb, int i) {
        this.l = i;
        this.m = oc;
        this.n = gb;
        this.f524o = oc2;
        this.p = hb;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        switch (this.l) {
            case 0:
                this.m.g(GB.a(this.n, null, null, (String) obj, null, null, null, 59));
                this.f524o.g(HB.a(this.p, null, null, null, null, null, null, 59));
                break;
            case 1:
                String str = (String) obj;
                StringBuilder sb = new StringBuilder();
                int length = str.length();
                for (int i = 0; i < length; i++) {
                    char cCharAt = str.charAt(i);
                    if (Character.isDigit(cCharAt)) {
                        sb.append(cCharAt);
                    }
                }
                this.m.g(GB.a(this.n, null, null, null, null, Za0.n0(10, sb.toString()), null, 47));
                this.f524o.g(HB.a(this.p, null, null, null, null, null, null, 47));
                break;
            default:
                String str2 = (String) obj;
                StringBuilder sb2 = new StringBuilder();
                int length2 = str2.length();
                for (int i2 = 0; i2 < length2; i2++) {
                    char cCharAt2 = str2.charAt(i2);
                    if (Character.isDigit(cCharAt2)) {
                        sb2.append(cCharAt2);
                    }
                }
                this.m.g(GB.a(this.n, null, null, null, null, null, Za0.n0(11, sb2.toString()), 31));
                this.f524o.g(HB.a(this.p, null, null, null, null, null, null, 31));
                break;
        }
        return Oh0.a;
    }
}
