what-the-bank/sources/com/scb/phone/view/fragment/hml/HmlETBCalculatorFragment.java

160 lines
6.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.hml;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import androidx.fragment.app.FragmentActivity;
import com.huawei.hms.support.api.entity.core.CommonCode;
import com.scb.phone.view.activity.hml.HmlApplicationOutcomeActivity;
import com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity;
import com.scb.phone.view.activity.hml.HmlConsentActivity;
import com.scb.phone.view.activity.hml.HmlETBLoanSetupActivity;
import com.scb.phone.view.activity.hml.HmlETBPersonalInfoActivity;
import com.scb.phone.view.activity.hml.HmlETBReviewActivity;
import com.scb.phone.view.activity.hml.HmlETBSuccessActivity;
import com.scb.phone.view.activity.hml.HmlETBSummaryActivity;
import com.scb.phone.view.activity.hml.HmlRepaymentAboutActivity;
import com.scb.phone.view.activity.hml.submission.HmlDocumentSubmissionActivity;
import o.C14957gcv;
import o.C5204bod;
import o.EnumC5550bvF;
import o.InterfaceC9260dgQ;
import o.OVB;
/* loaded from: classes5.dex */
public class HmlETBCalculatorFragment extends Hilt_HmlETBCalculatorFragment<C5204bod> implements InterfaceC9260dgQ {
public static final HBt d = new HBt(0);
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
@Override // o.InterfaceC9260dgQ
public final void d(OVB ovb) {
C14957gcv.e(ovb, "");
HmlConsentActivity.Sts sts = HmlConsentActivity.k;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
startActivity(HmlConsentActivity.Sts.afF_(requireContext, ovb, null));
}
@Override // o.InterfaceC9260dgQ
public final void j() {
startActivity(HmlApplicationOutcomeActivity.afw_(getContext(), false));
}
@Override // o.InterfaceC9260dgQ
public void k() {
HmlETBLoanSetupActivity.IeS ieS = HmlETBLoanSetupActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivity(new Intent(requireContext, (Class<?>) HmlETBLoanSetupActivity.class));
}
@Override // o.InterfaceC9260dgQ
public final void w() {
Intent intent;
Bundle extras;
Intent intent2;
Bundle extras2;
Intent intent3;
Bundle extras3;
Intent intent4;
Bundle extras4;
Intent intent5;
Bundle extras5;
HmlETBSummaryActivity.Sts sts = HmlETBSummaryActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
Intent putExtra = new Intent(requireContext, (Class<?>) HmlETBSummaryActivity.class).putExtra("com.scb.phone.EXTRA_LOAN_PERSONALIZATION_SECTION", false);
C14957gcv.c(putExtra, "");
FragmentActivity activity = getActivity();
String str = null;
Intent putExtra2 = putExtra.putExtra("utm_campaign", (activity == null || (intent5 = activity.getIntent()) == null || (extras5 = intent5.getExtras()) == null) ? null : extras5.getString("utm_campaign"));
FragmentActivity activity2 = getActivity();
Intent putExtra3 = putExtra2.putExtra("utm_content", (activity2 == null || (intent4 = activity2.getIntent()) == null || (extras4 = intent4.getExtras()) == null) ? null : extras4.getString("utm_content"));
FragmentActivity activity3 = getActivity();
Intent putExtra4 = putExtra3.putExtra("utm_source", (activity3 == null || (intent3 = activity3.getIntent()) == null || (extras3 = intent3.getExtras()) == null) ? null : extras3.getString("utm_source"));
FragmentActivity activity4 = getActivity();
Intent putExtra5 = putExtra4.putExtra("utm_medium", (activity4 == null || (intent2 = activity4.getIntent()) == null || (extras2 = intent2.getExtras()) == null) ? null : extras2.getString("utm_medium"));
FragmentActivity activity5 = getActivity();
if (activity5 != null && (intent = activity5.getIntent()) != null && (extras = intent.getExtras()) != null) {
str = extras.getString(CommonCode.Resolution.HAS_RESOLUTION_FROM_APK);
}
startActivity(putExtra5.putExtra(CommonCode.Resolution.HAS_RESOLUTION_FROM_APK, str));
}
@Override // o.InterfaceC9260dgQ
public final void l() {
startActivity(HmlRepaymentAboutActivity.ago_(getContext()));
}
@Override // o.InterfaceC9260dgQ
public final void s() {
HmlETBSuccessActivity.RVV rvv = HmlETBSuccessActivity.f7277o;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivity(new Intent(requireContext, (Class<?>) HmlETBSuccessActivity.class));
}
@Override // o.InterfaceC9260dgQ
public final void o() {
HmlETBSuccessActivity.RVV rvv = HmlETBSuccessActivity.f7277o;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivity(new Intent(requireContext, (Class<?>) HmlETBSuccessActivity.class));
}
@Override // o.InterfaceC9260dgQ
public final void r() {
startActivity(HmlApplicationOutcomeActivity.afw_(requireContext(), false));
}
@Override // o.InterfaceC9260dgQ
public void i() {
Context context = getContext();
if (context != null) {
HmlBusinessOccupationInfoActivity.IeS ieS = HmlBusinessOccupationInfoActivity.b;
C14957gcv.e(context, "");
startActivity(new Intent(context, (Class<?>) HmlBusinessOccupationInfoActivity.class));
}
}
@Override // o.InterfaceC9260dgQ
public void n() {
Context context = getContext();
if (context != null) {
startActivity(HmlETBPersonalInfoActivity.afQ_(context));
}
}
@Override // o.InterfaceC9260dgQ
public void g() {
Context context = getContext();
if (context != null) {
HmlETBReviewActivity.LWm lWm = HmlETBReviewActivity.f7276o;
C14957gcv.e(context, "");
startActivity(new Intent(context, (Class<?>) HmlETBReviewActivity.class));
}
}
@Override // o.InterfaceC9260dgQ
public void h() {
Context context = getContext();
if (context != null) {
HmlDocumentSubmissionActivity.LWm lWm = HmlDocumentSubmissionActivity.b;
startActivity(HmlDocumentSubmissionActivity.LWm.agD_(context, EnumC5550bvF.SUBMISSION));
}
}
}