package g9;

import ca.canadapost.core.data.auth.api.L2Api;
import ca.canadapost.core.data.auth.model.Address;
import ca.canadapost.core.data.auth.model.BarCode;
import ca.canadapost.core.data.auth.model.CancelProofingRequest;
import ca.canadapost.core.data.auth.model.Name;
import ca.canadapost.core.data.auth.model.ProofingProfile;
import ca.canadapost.core.data.auth.model.ProofingRequest;
import ca.canadapost.core.data.auth.model.ProofingResponse;
import ca.canadapost.core.data.auth.model.ProofingState;
import ca.canadapost.core.data.auth.model.ResendAccessCodeBody;
import ca.canadapost.core.data.auth.model.UserProfile;
import ca.canadapost.core.data.auth.model.VerifyAccessCodeRequest;
import ca.canadapost.core.data.model.PhoneNumber;
import ca.canadapost.core.data.model.ResultWrapper;
import java.util.Date;
import rm.n0;

/* loaded from: classes.dex */
public final class q implements i {

    /* renamed from: p, reason: collision with root package name */
    public static final a f19241p = new a(null);

    /* renamed from: a, reason: collision with root package name */
    private final L2Api f19242a;

    /* renamed from: b, reason: collision with root package name */
    private final ka.b f19243b;

    /* renamed from: c, reason: collision with root package name */
    private final g9.d f19244c;

    /* renamed from: d, reason: collision with root package name */
    private final ca.a f19245d;

    /* renamed from: e, reason: collision with root package name */
    private final fa.a f19246e;

    /* renamed from: f, reason: collision with root package name */
    private final androidx.lifecycle.f0 f19247f;

    /* renamed from: g, reason: collision with root package name */
    private final androidx.lifecycle.a0 f19248g;

    /* renamed from: h, reason: collision with root package name */
    private int f19249h;

    /* renamed from: i, reason: collision with root package name */
    private final androidx.lifecycle.f0 f19250i;

    /* renamed from: j, reason: collision with root package name */
    private final androidx.lifecycle.f0 f19251j;

    /* renamed from: k, reason: collision with root package name */
    private final androidx.lifecycle.f0 f19252k;

    /* renamed from: l, reason: collision with root package name */
    private final androidx.lifecycle.f0 f19253l;

    /* renamed from: m, reason: collision with root package name */
    private final androidx.lifecycle.f0 f19254m;

    /* renamed from: n, reason: collision with root package name */
    private final androidx.lifecycle.a0 f19255n;

    /* renamed from: o, reason: collision with root package name */
    private String f19256o;

    /* loaded from: classes.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class b extends kotlin.coroutines.jvm.internal.d {

        /* renamed from: p, reason: collision with root package name */
        Object f19257p;

        /* renamed from: q, reason: collision with root package name */
        /* synthetic */ Object f19258q;

        /* renamed from: s, reason: collision with root package name */
        int f19260s;

        b(vm.d dVar) {
            super(dVar);
        }

        @Override // kotlin.coroutines.jvm.internal.a
        public final Object invokeSuspend(Object obj) {
            this.f19258q = obj;
            this.f19260s |= Integer.MIN_VALUE;
            return q.this.s(this);
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class c extends kotlin.coroutines.jvm.internal.d {

        /* renamed from: p, reason: collision with root package name */
        Object f19261p;

        /* renamed from: q, reason: collision with root package name */
        /* synthetic */ Object f19262q;

        /* renamed from: s, reason: collision with root package name */
        int f19264s;

        c(vm.d dVar) {
            super(dVar);
        }

        @Override // kotlin.coroutines.jvm.internal.a
        public final Object invokeSuspend(Object obj) {
            this.f19262q = obj;
            this.f19264s |= Integer.MIN_VALUE;
            return q.this.a(this);
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class d extends kotlin.coroutines.jvm.internal.d {

        /* renamed from: p, reason: collision with root package name */
        Object f19265p;

        /* renamed from: q, reason: collision with root package name */
        Object f19266q;

        /* renamed from: r, reason: collision with root package name */
        boolean f19267r;

        /* renamed from: s, reason: collision with root package name */
        /* synthetic */ Object f19268s;

        /* renamed from: u, reason: collision with root package name */
        int f19270u;

        d(vm.d dVar) {
            super(dVar);
        }

        @Override // kotlin.coroutines.jvm.internal.a
        public final Object invokeSuspend(Object obj) {
            this.f19268s = obj;
            this.f19270u |= Integer.MIN_VALUE;
            return q.this.w(null, null, null, null, false, this);
        }
    }

    public q(L2Api api, ka.b userProfileRepository, g9.d sessionRepository, ca.a languageService, fa.a myMailRepository) {
        kotlin.jvm.internal.t.g(api, "api");
        kotlin.jvm.internal.t.g(userProfileRepository, "userProfileRepository");
        kotlin.jvm.internal.t.g(sessionRepository, "sessionRepository");
        kotlin.jvm.internal.t.g(languageService, "languageService");
        kotlin.jvm.internal.t.g(myMailRepository, "myMailRepository");
        this.f19242a = api;
        this.f19243b = userProfileRepository;
        this.f19244c = sessionRepository;
        this.f19245d = languageService;
        this.f19246e = myMailRepository;
        androidx.lifecycle.f0 f0Var = new androidx.lifecycle.f0();
        this.f19247f = f0Var;
        this.f19248g = f0Var;
        ProofingState proofingState = (ProofingState) c().f();
        this.f19249h = proofingState != null ? proofingState.getCancelledAttempts() : 0;
        this.f19250i = new androidx.lifecycle.f0();
        this.f19251j = new androidx.lifecycle.f0();
        this.f19252k = new androidx.lifecycle.f0();
        this.f19253l = new androidx.lifecycle.f0();
        androidx.lifecycle.f0 f0Var2 = new androidx.lifecycle.f0();
        this.f19254m = f0Var2;
        this.f19255n = f0Var2;
        this.f19256o = "";
    }

    /* JADX INFO: Access modifiers changed from: private */
    /* JADX WARN: Removed duplicated region for block: B:12:0x004b  */
    /* JADX WARN: Removed duplicated region for block: B:15:0x0064  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x0035  */
    /* JADX WARN: Removed duplicated region for block: B:8:0x0023  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object s(vm.d dVar) {
        b bVar;
        Object f10;
        int i10;
        ResultWrapper resultWrapper;
        if (dVar instanceof b) {
            bVar = (b) dVar;
            int i11 = bVar.f19260s;
            if ((i11 & Integer.MIN_VALUE) != 0) {
                bVar.f19260s = i11 - Integer.MIN_VALUE;
                Object obj = bVar.f19258q;
                f10 = wm.d.f();
                i10 = bVar.f19260s;
                if (i10 != 0) {
                    rm.y.b(obj);
                    L2Api l2Api = this.f19242a;
                    bVar.f19257p = this;
                    bVar.f19260s = 1;
                    obj = l2Api.getProofingStatus(bVar);
                    if (obj == f10) {
                        return f10;
                    }
                } else {
                    if (i10 != 1) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    this = (q) bVar.f19257p;
                    rm.y.b(obj);
                }
                resultWrapper = (ResultWrapper) obj;
                if (!(resultWrapper instanceof ResultWrapper.Success)) {
                    ResultWrapper.Success success = (ResultWrapper.Success) resultWrapper;
                    this.f19249h = ((ProofingState) success.getData()).getCancelledAttempts();
                    this.f19247f.q(success.getData());
                } else {
                    if (!(resultWrapper instanceof ResultWrapper.Error)) {
                        throw new rm.t();
                    }
                    this.f19247f.q(null);
                }
                return resultWrapper;
            }
        }
        bVar = new b(dVar);
        Object obj2 = bVar.f19258q;
        f10 = wm.d.f();
        i10 = bVar.f19260s;
        if (i10 != 0) {
        }
        resultWrapper = (ResultWrapper) obj2;
        if (!(resultWrapper instanceof ResultWrapper.Success)) {
        }
        return resultWrapper;
    }

    private final ka.a t() {
        String str;
        String str2;
        String str3;
        String str4;
        String str5;
        String country;
        UserProfile userProfile = (UserProfile) this.f19243b.a().f();
        if (userProfile == null || (str = userProfile.getAddressLine1()) == null) {
            str = "";
        }
        if (userProfile == null || (str2 = userProfile.getAddressLine2()) == null) {
            str2 = "";
        }
        if (userProfile == null || (str3 = userProfile.getCity()) == null) {
            str3 = "";
        }
        if (userProfile == null || (str4 = userProfile.getRegion()) == null) {
            str4 = "";
        }
        if (userProfile == null || (str5 = userProfile.getPostalZip()) == null) {
            str5 = "";
        }
        return new ka.a(str, str2, str3, str4, str5, (userProfile == null || (country = userProfile.getCountry()) == null) ? "" : country);
    }

    private final Name u() {
        UserProfile userProfile = (UserProfile) this.f19243b.a().f();
        return new Name(userProfile != null ? userProfile.getFirstName() : null, userProfile != null ? userProfile.getLastName() : null, null, null);
    }

    private final PhoneNumber v() {
        String mobilePhone;
        UserProfile userProfile = (UserProfile) this.f19243b.a().f();
        String mfaPhone = userProfile != null ? userProfile.getMfaPhone() : null;
        if (mfaPhone == null || mfaPhone.length() == 0) {
            String mobilePhone2 = userProfile != null ? userProfile.getMobilePhone() : null;
            if (!(mobilePhone2 == null || mobilePhone2.length() == 0) && userProfile != null) {
                mobilePhone = userProfile.getMobilePhone();
            }
            mobilePhone = null;
        } else {
            if (userProfile != null) {
                mobilePhone = userProfile.getMfaPhone();
            }
            mobilePhone = null;
        }
        return PhoneNumber.Companion.parsePhoneNumber$default(PhoneNumber.INSTANCE, mobilePhone, null, 2, null);
    }

    /* JADX INFO: Access modifiers changed from: private */
    /* JADX WARN: Removed duplicated region for block: B:16:0x0224  */
    /* JADX WARN: Removed duplicated region for block: B:23:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:30:0x021b A[RETURN] */
    /* JADX WARN: Removed duplicated region for block: B:31:0x021c  */
    /* JADX WARN: Removed duplicated region for block: B:35:0x01a3 A[RETURN] */
    /* JADX WARN: Removed duplicated region for block: B:39:0x015b  */
    /* JADX WARN: Removed duplicated region for block: B:63:0x020a  */
    /* JADX WARN: Removed duplicated region for block: B:66:0x0073  */
    /* JADX WARN: Removed duplicated region for block: B:8:0x0031  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object w(Name name, ka.a aVar, PhoneNumber phoneNumber, Date date, boolean z10, vm.d dVar) {
        d dVar2;
        Object obj;
        Object f10;
        int i10;
        ResultWrapper resultWrapper;
        String str;
        q qVar;
        ResultWrapper resultWrapper2;
        ka.b bVar;
        ResultWrapper resultWrapper3;
        ResultWrapper resultWrapper4;
        q qVar2 = this;
        boolean z11 = z10;
        if (dVar instanceof d) {
            dVar2 = (d) dVar;
            int i11 = dVar2.f19270u;
            if ((i11 & Integer.MIN_VALUE) != 0) {
                dVar2.f19270u = i11 - Integer.MIN_VALUE;
                obj = dVar2.f19268s;
                f10 = wm.d.f();
                i10 = dVar2.f19270u;
                if (i10 != 0) {
                    rm.y.b(obj);
                    Address address = new Address(aVar.c(), aVar.d(), aVar.a(), aVar.b(), "Civic", aVar.e(), aVar.f());
                    String normalizePhoneNumber = phoneNumber != null ? PhoneNumber.INSTANCE.normalizePhoneNumber(phoneNumber.toString()) : null;
                    ea.a aVar2 = date != null ? new ea.a(date) : null;
                    String c10 = qVar2.f19245d.c();
                    UserProfile userProfile = (UserProfile) qVar2.f19243b.a().f();
                    String email = userProfile != null ? userProfile.getEmail() : null;
                    String str2 = kotlin.jvm.internal.t.b(qVar2.f19243b.c().f(), kotlin.coroutines.jvm.internal.b.a(true)) ? "AcctQR" : kotlin.jvm.internal.t.b(qVar2.f19246e.s().f(), kotlin.coroutines.jvm.internal.b.a(true)) ? "MailManager" : kotlin.jvm.internal.t.b(qVar2.f19243b.G().f(), kotlin.coroutines.jvm.internal.b.a(true)) ? "SNF" : "FlexDelivery";
                    kotlin.jvm.internal.t.d(c10);
                    ProofingRequest proofingRequest = new ProofingRequest(name, address, normalizePhoneNumber, aVar2, c10, email, "MobileApp", str2, null, null, null, null, null, null, 16128, null);
                    L2Api l2Api = qVar2.f19242a;
                    boolean z12 = e() == 2 || z11;
                    dVar2.f19265p = qVar2;
                    dVar2.f19267r = z11;
                    dVar2.f19270u = 1;
                    obj = l2Api.proofing(proofingRequest, z12, dVar2);
                    if (obj == f10) {
                        return f10;
                    }
                } else if (i10 == 1) {
                    boolean z13 = dVar2.f19267r;
                    q qVar3 = (q) dVar2.f19265p;
                    rm.y.b(obj);
                    z11 = z13;
                    qVar2 = qVar3;
                } else if (i10 == 2) {
                    resultWrapper2 = (ResultWrapper) dVar2.f19266q;
                    qVar = (q) dVar2.f19265p;
                    rm.y.b(obj);
                    bVar = qVar.f19243b;
                    dVar2.f19265p = qVar;
                    dVar2.f19266q = resultWrapper2;
                    dVar2.f19270u = 3;
                    if (bVar.m(true, dVar2) == f10) {
                        return f10;
                    }
                    q qVar4 = qVar;
                    resultWrapper = resultWrapper2;
                    qVar2 = qVar4;
                    dVar2.f19265p = resultWrapper;
                    dVar2.f19266q = null;
                    dVar2.f19270u = 5;
                    obj = qVar2.s(dVar2);
                    if (obj != f10) {
                    }
                } else {
                    if (i10 == 3 || i10 == 4) {
                        resultWrapper2 = (ResultWrapper) dVar2.f19266q;
                        qVar = (q) dVar2.f19265p;
                        rm.y.b(obj);
                        q qVar42 = qVar;
                        resultWrapper = resultWrapper2;
                        qVar2 = qVar42;
                        dVar2.f19265p = resultWrapper;
                        dVar2.f19266q = null;
                        dVar2.f19270u = 5;
                        obj = qVar2.s(dVar2);
                        if (obj != f10) {
                            return f10;
                        }
                        resultWrapper3 = resultWrapper;
                        resultWrapper4 = (ResultWrapper) obj;
                        if (!(resultWrapper4 instanceof ResultWrapper.Success)) {
                            return resultWrapper3;
                        }
                        if (resultWrapper4 instanceof ResultWrapper.Error) {
                            return resultWrapper4;
                        }
                        throw new rm.t();
                    }
                    if (i10 != 5) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    resultWrapper3 = (ResultWrapper) dVar2.f19265p;
                    rm.y.b(obj);
                    resultWrapper4 = (ResultWrapper) obj;
                    if (!(resultWrapper4 instanceof ResultWrapper.Success)) {
                    }
                }
                resultWrapper = (ResultWrapper) obj;
                if (!(resultWrapper instanceof ResultWrapper.Success)) {
                    androidx.lifecycle.f0 f0Var = qVar2.f19254m;
                    ResultWrapper.Success success = (ResultWrapper.Success) resultWrapper;
                    BarCode barCode = ((ProofingResponse) success.getData()).getBarCode();
                    f0Var.q(barCode != null ? barCode.getBarCodeNbr() : null);
                    if (((ProofingResponse) success.getData()).isActive()) {
                        ka.b bVar2 = qVar2.f19243b;
                        dVar2.f19265p = qVar2;
                        dVar2.f19266q = resultWrapper;
                        dVar2.f19270u = 2;
                        if (bVar2.D(dVar2) == f10) {
                            return f10;
                        }
                        qVar = qVar2;
                        resultWrapper2 = resultWrapper;
                        bVar = qVar.f19243b;
                        dVar2.f19265p = qVar;
                        dVar2.f19266q = resultWrapper2;
                        dVar2.f19270u = 3;
                        if (bVar.m(true, dVar2) == f10) {
                        }
                        q qVar422 = qVar;
                        resultWrapper = resultWrapper2;
                        qVar2 = qVar422;
                    } else if (kotlin.jvm.internal.t.b(((ProofingResponse) success.getData()).getIppTechnicalIssue(), kotlin.coroutines.jvm.internal.b.a(false)) && ((ProofingResponse) success.getData()).isIncomplete() && !z11) {
                        L2Api l2Api2 = qVar2.f19242a;
                        BarCode barCode2 = ((ProofingResponse) success.getData()).getBarCode();
                        if (barCode2 == null || (str = barCode2.getBarCodeNbr()) == null) {
                            str = "";
                        }
                        CancelProofingRequest cancelProofingRequest = new CancelProofingRequest(str, false, false, 6, null);
                        dVar2.f19265p = qVar2;
                        dVar2.f19266q = resultWrapper;
                        dVar2.f19270u = 4;
                        if (l2Api2.cancelProofing(cancelProofingRequest, dVar2) == f10) {
                            return f10;
                        }
                        qVar = qVar2;
                        resultWrapper2 = resultWrapper;
                        q qVar4222 = qVar;
                        resultWrapper = resultWrapper2;
                        qVar2 = qVar4222;
                    }
                } else if (resultWrapper instanceof ResultWrapper.Error) {
                    return resultWrapper;
                }
                dVar2.f19265p = resultWrapper;
                dVar2.f19266q = null;
                dVar2.f19270u = 5;
                obj = qVar2.s(dVar2);
                if (obj != f10) {
                }
            }
        }
        dVar2 = new d(dVar);
        obj = dVar2.f19268s;
        f10 = wm.d.f();
        i10 = dVar2.f19270u;
        if (i10 != 0) {
        }
        resultWrapper = (ResultWrapper) obj;
        if (!(resultWrapper instanceof ResultWrapper.Success)) {
        }
        dVar2.f19265p = resultWrapper;
        dVar2.f19266q = null;
        dVar2.f19270u = 5;
        obj = qVar2.s(dVar2);
        if (obj != f10) {
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:20:0x00cf A[RETURN] */
    /* JADX WARN: Removed duplicated region for block: B:24:0x008a  */
    /* JADX WARN: Removed duplicated region for block: B:26:0x008d  */
    /* JADX WARN: Removed duplicated region for block: B:42:0x004a  */
    /* JADX WARN: Removed duplicated region for block: B:8:0x0026  */
    @Override // g9.i
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public Object a(vm.d dVar) {
        c cVar;
        Object f10;
        int i10;
        ProofingState proofingState;
        String str;
        BarCode barCode;
        if (dVar instanceof c) {
            cVar = (c) dVar;
            int i11 = cVar.f19264s;
            if ((i11 & Integer.MIN_VALUE) != 0) {
                cVar.f19264s = i11 - Integer.MIN_VALUE;
                Object obj = cVar.f19262q;
                f10 = wm.d.f();
                i10 = cVar.f19264s;
                if (i10 != 0) {
                    rm.y.b(obj);
                    cVar.f19261p = this;
                    cVar.f19264s = 1;
                    if (k(cVar) == f10) {
                        return f10;
                    }
                } else {
                    if (i10 != 1) {
                        if (i10 != 2) {
                            if (i10 != 3) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            rm.y.b(obj);
                            return n0.f34904a;
                        }
                        this = (q) cVar.f19261p;
                        rm.y.b(obj);
                        cVar.f19261p = null;
                        cVar.f19264s = 3;
                        if (this.s(cVar) == f10) {
                            return f10;
                        }
                        return n0.f34904a;
                    }
                    this = (q) cVar.f19261p;
                    rm.y.b(obj);
                }
                this.d().q(this.u());
                this.i().q(this.t());
                this.b().q(this.v());
                this.f().q(null);
                proofingState = (ProofingState) this.f19247f.f();
                if (proofingState != null) {
                    return n0.f34904a;
                }
                if (proofingState.getIncompleteProofingProfile() == null || proofingState.isAccountLocked()) {
                    return n0.f34904a;
                }
                L2Api l2Api = this.f19242a;
                ProofingProfile incompleteProofingProfile = proofingState.getIncompleteProofingProfile();
                if (incompleteProofingProfile == null || (barCode = incompleteProofingProfile.getBarCode()) == null || (str = barCode.getBarCodeNbr()) == null) {
                    str = "";
                }
                CancelProofingRequest cancelProofingRequest = new CancelProofingRequest(str, false, false, 6, null);
                cVar.f19261p = this;
                cVar.f19264s = 2;
                if (l2Api.cancelProofing(cancelProofingRequest, cVar) == f10) {
                    return f10;
                }
                cVar.f19261p = null;
                cVar.f19264s = 3;
                if (this.s(cVar) == f10) {
                }
                return n0.f34904a;
            }
        }
        cVar = new c(dVar);
        Object obj2 = cVar.f19262q;
        f10 = wm.d.f();
        i10 = cVar.f19264s;
        if (i10 != 0) {
        }
        this.d().q(this.u());
        this.i().q(this.t());
        this.b().q(this.v());
        this.f().q(null);
        proofingState = (ProofingState) this.f19247f.f();
        if (proofingState != null) {
        }
    }

    @Override // g9.i
    public androidx.lifecycle.f0 b() {
        return this.f19252k;
    }

    @Override // g9.i
    public androidx.lifecycle.a0 c() {
        return this.f19248g;
    }

    @Override // g9.i
    public androidx.lifecycle.f0 d() {
        return this.f19250i;
    }

    @Override // g9.i
    public int e() {
        return this.f19249h;
    }

    @Override // g9.i
    public androidx.lifecycle.f0 f() {
        return this.f19253l;
    }

    @Override // g9.i
    public void g() {
        this.f19247f.q(null);
    }

    @Override // g9.i
    public Object h(Name name, ka.a aVar, PhoneNumber phoneNumber, Date date, vm.d dVar) {
        return w(name, aVar, phoneNumber, date, false, dVar);
    }

    @Override // g9.i
    public androidx.lifecycle.f0 i() {
        return this.f19251j;
    }

    @Override // g9.i
    public Object j(Name name, ka.a aVar, vm.d dVar) {
        return w(name, aVar, PhoneNumber.Companion.parsePhoneNumber$default(PhoneNumber.INSTANCE, "1111111111", null, 2, null), null, true, dVar);
    }

    @Override // g9.i
    public Object k(vm.d dVar) {
        Object f10;
        if (!this.f19244c.h()) {
            return n0.f34904a;
        }
        Object s10 = s(dVar);
        f10 = wm.d.f();
        return s10 == f10 ? s10 : n0.f34904a;
    }

    @Override // g9.i
    public void l(String str) {
        kotlin.jvm.internal.t.g(str, "<set-?>");
        this.f19256o = str;
    }

    @Override // g9.i
    public Object m(String str, String str2, boolean z10, vm.d dVar) {
        return this.f19242a.verifyAccessCode(new VerifyAccessCodeRequest(str, str2, z10), dVar);
    }

    @Override // g9.i
    public androidx.lifecycle.a0 n() {
        return this.f19255n;
    }

    @Override // g9.i
    public String o() {
        return this.f19256o;
    }

    @Override // g9.i
    public Object p(vm.d dVar) {
        L2Api l2Api = this.f19242a;
        String c10 = this.f19245d.c();
        kotlin.jvm.internal.t.f(c10, "getLanguage(...)");
        return l2Api.resendAccessCode(new ResendAccessCodeBody(c10), dVar);
    }
}
