package kf;

import af.f;
import android.app.Application;
import android.content.Context;
import androidx.lifecycle.a0;
import androidx.lifecycle.f0;
import dn.p;
import kotlin.jvm.internal.t;
import kotlin.text.y;
import l8.d;
import l8.g;
import l8.h;
import l8.i;
import tp.m0;
import tp.o0;
import tp.u1;

/* loaded from: classes4.dex */
public final class b extends androidx.lifecycle.b implements h, l8.c {

    /* renamed from: c, reason: collision with root package name */
    private final t7.c f25791c;

    /* renamed from: d, reason: collision with root package name */
    private final /* synthetic */ i f25792d;

    /* renamed from: e, reason: collision with root package name */
    private final /* synthetic */ d f25793e;

    /* renamed from: f, reason: collision with root package name */
    private final f0 f25794f;

    /* renamed from: g, reason: collision with root package name */
    private final g f25795g;

    /* renamed from: h, reason: collision with root package name */
    private final a0 f25796h;

    /* renamed from: i, reason: collision with root package name */
    private final f0 f25797i;

    /* renamed from: j, reason: collision with root package name */
    private final a0 f25798j;

    /* renamed from: k, reason: collision with root package name */
    private final g f25799k;

    /* renamed from: l, reason: collision with root package name */
    private final a0 f25800l;

    /* JADX WARN: Illegal instructions before constructor call */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public b(t7.c contextService) {
        super((Application) r0);
        t.g(contextService, "contextService");
        Context a10 = contextService.a();
        t.e(a10, "null cannot be cast to non-null type android.app.Application");
        this.f25791c = contextService;
        this.f25792d = new i(contextService);
        this.f25793e = new d();
        this.f25794f = new f0();
        g gVar = new g();
        this.f25795g = gVar;
        this.f25796h = gVar;
        f0 f0Var = new f0();
        this.f25797i = f0Var;
        this.f25798j = f0Var;
        g gVar2 = new g();
        this.f25799k = gVar2;
        this.f25800l = gVar2;
    }

    @Override // l8.h
    public a0 J() {
        return this.f25792d.J();
    }

    public final a0 Q() {
        return this.f25798j;
    }

    public final a0 R() {
        return this.f25796h;
    }

    public final f0 S() {
        return this.f25794f;
    }

    public final a0 T() {
        return this.f25800l;
    }

    public final void U() {
        this.f25795g.s();
    }

    public final void V() {
        String str = (String) this.f25794f.f();
        String J = str != null ? y.J(str, " ", "", false, 4, null) : null;
        if (ig.a.f23217a.d(J)) {
            this.f25799k.q(J);
        } else {
            this.f25797i.q(this.f25791c.getString(f.f378r));
        }
    }

    @Override // l8.c
    public a0 o() {
        return this.f25793e.o();
    }

    @Override // l8.c
    public a0 t() {
        return this.f25793e.t();
    }

    @Override // l8.h
    public u1 u(m0 m0Var, vm.g context, o0 start, String str, p block) {
        t.g(m0Var, "<this>");
        t.g(context, "context");
        t.g(start, "start");
        t.g(block, "block");
        return this.f25792d.u(m0Var, context, start, str, block);
    }
}
