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

230 lines
9.6 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.pingan.ai.face.common.PaFaceConstants;
import com.scb.phone.view.activity.hml.HmlNTBApplicationOutcomeActivity;
import com.scb.phone.view.activity.hml.HmlNTBBusinessOccupationInfoActivity;
import com.scb.phone.view.activity.hml.HmlNTBConsentActivity;
import com.scb.phone.view.activity.hml.HmlNTBLoanSetupActivity;
import com.scb.phone.view.activity.hml.HmlNTBPersonalInfoActivity;
import com.scb.phone.view.activity.hml.HmlNTBRepaymentAboutActivity;
import com.scb.phone.view.activity.hml.HmlNTBReviewActivity;
import com.scb.phone.view.activity.hml.HmlNTBSuccessActivity;
import com.scb.phone.view.activity.hml.HmlNTBSummaryActivity;
import com.scb.phone.view.activity.hml.NTBPinLoginActivity;
import com.scb.phone.view.activity.hml.ekyc.HmlNTBeKYCLandingActivity;
import com.scb.phone.view.activity.hml.submission.HmlNTBDocumentSubmissionActivity;
import o.C14957gcv;
import o.C5356brW;
import o.EnumC5550bvF;
import o.InterfaceC9260dgQ;
import o.OVB;
/* loaded from: classes5.dex */
public final class HmlNTBCalculatorFragment extends Hilt_HmlNTBCalculatorFragment<C5356brW> implements InterfaceC9260dgQ {
public static final IeS c = new IeS(0);
@Override // o.InterfaceC9260dgQ
public final /* synthetic */ void a(Integer num) {
int intValue = num.intValue();
NTBPinLoginActivity.Sts sts = NTBPinLoginActivity.k;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivityForResult(new Intent(requireContext, (Class<?>) NTBPinLoginActivity.class), intValue);
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@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;
HmlNTBSummaryActivity.HBt hBt = HmlNTBSummaryActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
Intent intent6 = new Intent(requireContext, (Class<?>) HmlNTBSummaryActivity.class);
FragmentActivity activity = getActivity();
String str = null;
Intent putExtra = intent6.putExtra("utm_campaign", (activity == null || (intent5 = activity.getIntent()) == null || (extras5 = intent5.getExtras()) == null) ? null : extras5.getString("utm_campaign"));
FragmentActivity activity2 = getActivity();
Intent putExtra2 = putExtra.putExtra("utm_content", (activity2 == null || (intent4 = activity2.getIntent()) == null || (extras4 = intent4.getExtras()) == null) ? null : extras4.getString("utm_content"));
FragmentActivity activity3 = getActivity();
Intent putExtra3 = putExtra2.putExtra("utm_source", (activity3 == null || (intent3 = activity3.getIntent()) == null || (extras3 = intent3.getExtras()) == null) ? null : extras3.getString("utm_source"));
FragmentActivity activity4 = getActivity();
Intent putExtra4 = putExtra3.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(putExtra4.putExtra(CommonCode.Resolution.HAS_RESOLUTION_FROM_APK, str));
}
@Override // o.InterfaceC9260dgQ
public final void l() {
HmlNTBRepaymentAboutActivity.RVV rvv = HmlNTBRepaymentAboutActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivity(new Intent(requireContext, (Class<?>) HmlNTBRepaymentAboutActivity.class));
}
@Override // o.InterfaceC9260dgQ
public final void d(OVB ovb) {
C14957gcv.e(ovb, "");
HmlNTBConsentActivity.LWm lWm = HmlNTBConsentActivity.k;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
startActivity(HmlNTBConsentActivity.LWm.afY_(requireContext, ovb, null));
}
@Override // o.InterfaceC9260dgQ
public final void j() {
HmlNTBApplicationOutcomeActivity.LWm lWm = HmlNTBApplicationOutcomeActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
Intent putExtra = new Intent(requireContext, (Class<?>) HmlNTBApplicationOutcomeActivity.class).putExtra("SHOW_PENDING_STATE", false);
C14957gcv.c(putExtra, "");
startActivity(putExtra);
}
@Override // o.InterfaceC9260dgQ
public final void k() {
HmlNTBLoanSetupActivity.RVV rvv = HmlNTBLoanSetupActivity.k;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivity(new Intent(requireContext, (Class<?>) HmlNTBLoanSetupActivity.class));
}
@Override // o.InterfaceC9260dgQ
public final void s() {
HmlNTBSuccessActivity.Sts sts = HmlNTBSuccessActivity.k;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivity(new Intent(requireContext, (Class<?>) HmlNTBSuccessActivity.class));
}
@Override // o.InterfaceC9260dgQ
public final void o() {
HmlNTBSuccessActivity.Sts sts = HmlNTBSuccessActivity.k;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivity(new Intent(requireContext, (Class<?>) HmlNTBSuccessActivity.class));
}
@Override // o.InterfaceC9260dgQ
public final void f() {
Context context = getContext();
if (context != null) {
HmlNTBeKYCLandingActivity.IeS ieS = HmlNTBeKYCLandingActivity.l;
C14957gcv.e(context, "");
startActivity(new Intent(context, (Class<?>) HmlNTBeKYCLandingActivity.class));
}
}
@Override // o.InterfaceC9260dgQ
public final void r() {
HmlNTBApplicationOutcomeActivity.LWm lWm = HmlNTBApplicationOutcomeActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
Intent putExtra = new Intent(requireContext, (Class<?>) HmlNTBApplicationOutcomeActivity.class).putExtra("SHOW_PENDING_STATE", false);
C14957gcv.c(putExtra, "");
startActivity(putExtra);
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onActivityResult(int i, int i2, Intent intent) {
super.onActivityResult(i, i2, intent);
if (i2 == -1) {
switch (i) {
case 1001:
HmlNTBApplicationOutcomeActivity.LWm lWm = HmlNTBApplicationOutcomeActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
Intent putExtra = new Intent(requireContext, (Class<?>) HmlNTBApplicationOutcomeActivity.class).putExtra("SHOW_PENDING_STATE", false);
C14957gcv.c(putExtra, "");
startActivity(putExtra);
return;
case 1002:
k();
return;
case PaFaceConstants.MotionType.BLINK_EYE /* 1003 */:
o();
return;
case 1004:
s();
return;
case 1005:
f();
return;
default:
return;
}
}
}
@Override // o.InterfaceC9260dgQ
public final void i() {
Context context = getContext();
if (context != null) {
HmlNTBBusinessOccupationInfoActivity.IeS ieS = HmlNTBBusinessOccupationInfoActivity.m;
C14957gcv.e(context, "");
startActivity(new Intent(context, (Class<?>) HmlNTBBusinessOccupationInfoActivity.class));
}
}
@Override // o.InterfaceC9260dgQ
public final void n() {
Context context = getContext();
if (context != null) {
startActivity(HmlNTBPersonalInfoActivity.age_(context));
}
}
@Override // o.InterfaceC9260dgQ
public final void g() {
Context context = getContext();
if (context != null) {
HmlNTBReviewActivity.HBt hBt = HmlNTBReviewActivity.f7314o;
C14957gcv.e(context, "");
startActivity(new Intent(context, (Class<?>) HmlNTBReviewActivity.class));
}
}
@Override // o.InterfaceC9260dgQ
public final void h() {
Context context = getContext();
if (context != null) {
HmlNTBDocumentSubmissionActivity.LWm lWm = HmlNTBDocumentSubmissionActivity.k;
startActivity(HmlNTBDocumentSubmissionActivity.LWm.agJ_(context, EnumC5550bvF.SUBMISSION));
}
}
}