818 lines
30 KiB
Java
818 lines
30 KiB
Java
|
package com.scb.phone.view.fragment.ndidcommon;
|
||
|
|
||
|
import android.content.ActivityNotFoundException;
|
||
|
import android.content.Context;
|
||
|
import android.content.DialogInterface;
|
||
|
import android.content.Intent;
|
||
|
import android.net.Uri;
|
||
|
import android.os.Build;
|
||
|
import android.os.Bundle;
|
||
|
import android.os.Parcelable;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.Button;
|
||
|
import android.widget.ImageView;
|
||
|
import android.widget.ScrollView;
|
||
|
import android.widget.TextView;
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import androidx.legacy.widget.Space;
|
||
|
import com.huawei.hms.support.api.entity.common.CommonConstant;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.activity.BaseActivity;
|
||
|
import com.scb.phone.view.activity.csent.CrossMatchConsentActivity;
|
||
|
import com.scb.phone.view.activity.csent.SensitiveCSentActivity;
|
||
|
import com.scb.phone.view.activity.ndid.DopaConsentActivity;
|
||
|
import com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity;
|
||
|
import com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity;
|
||
|
import com.scb.phone.view.activity.ndidcommon.NdidCommonRpLivenessCheckActivity;
|
||
|
import com.scb.phone.view.activity.ndidcommon.NdidCommonVerificationLockedActivity;
|
||
|
import com.scb.phone.view.custom.common.CustomDialog;
|
||
|
import com.scb.phone.view.fragment.ndidcommon.NdidCommonInstructionFragment;
|
||
|
import o.C0982Sz;
|
||
|
import o.C11560ehe;
|
||
|
import o.C14263fps;
|
||
|
import o.C14957gcv;
|
||
|
import o.C6721cak;
|
||
|
import o.Heg;
|
||
|
import o.IF;
|
||
|
import o.IK;
|
||
|
import o.InterfaceC0834Plv;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.InterfaceC9494dkm;
|
||
|
import o.KYY;
|
||
|
import o.QKH;
|
||
|
import o.SA;
|
||
|
import o.SE;
|
||
|
import o.cXH;
|
||
|
import o.fIY;
|
||
|
import o.guQ;
|
||
|
import o.huo;
|
||
|
import o.pug;
|
||
|
import o.qeC;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class NdidCommonInstructionFragment extends Hilt_NdidCommonInstructionFragment implements InterfaceC9494dkm.RVV {
|
||
|
public static final Sts c = new Sts(0);
|
||
|
private KYY d;
|
||
|
private huo<Intent> f;
|
||
|
private huo<Intent> g;
|
||
|
private huo<Intent> h;
|
||
|
private huo<Intent> i;
|
||
|
private huo<Intent> j;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private fIY.RVV f8054o;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C6721cak presenter;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class Sts {
|
||
|
private Sts() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ Sts(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final void onViewCreated(View view, Bundle bundle) {
|
||
|
C14957gcv.e(view, "");
|
||
|
super.onViewCreated(view, bundle);
|
||
|
KYY kyy = this.d;
|
||
|
C14957gcv.e(kyy);
|
||
|
kyy.b.setOnClickListener(new View.OnClickListener(this) { // from class: o.fpr
|
||
|
private NdidCommonInstructionFragment e;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view2) {
|
||
|
NdidCommonInstructionFragment.c(this.e);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
});
|
||
|
fIY.RVV rvv = this.f8054o;
|
||
|
cXH.HBt.LWm lWm = null;
|
||
|
if (rvv == null) {
|
||
|
C14957gcv.a("");
|
||
|
rvv = null;
|
||
|
}
|
||
|
rvv.m();
|
||
|
C6721cak c6721cak = this.presenter;
|
||
|
if (c6721cak == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak = null;
|
||
|
}
|
||
|
c6721cak.e((C6721cak) this);
|
||
|
huo<Intent> registerForActivityResult = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fpm
|
||
|
private NdidCommonInstructionFragment d;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
NdidCommonInstructionFragment.a(this.d, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult, "");
|
||
|
this.f = registerForActivityResult;
|
||
|
huo<Intent> registerForActivityResult2 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fpp
|
||
|
private NdidCommonInstructionFragment b;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
NdidCommonInstructionFragment.d(this.b, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult2, "");
|
||
|
this.j = registerForActivityResult2;
|
||
|
huo<Intent> registerForActivityResult3 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fpn
|
||
|
private NdidCommonInstructionFragment d;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
NdidCommonInstructionFragment.b(this.d, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult3, "");
|
||
|
this.h = registerForActivityResult3;
|
||
|
huo<Intent> registerForActivityResult4 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fpu
|
||
|
private NdidCommonInstructionFragment d;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
NdidCommonInstructionFragment.e(this.d, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult4, "");
|
||
|
this.g = registerForActivityResult4;
|
||
|
huo<Intent> registerForActivityResult5 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fpq
|
||
|
private NdidCommonInstructionFragment a;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
NdidCommonInstructionFragment.c(this.a, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult5, "");
|
||
|
this.i = registerForActivityResult5;
|
||
|
C6721cak c6721cak2 = this.presenter;
|
||
|
if (c6721cak2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak2 = null;
|
||
|
}
|
||
|
SA s = s();
|
||
|
Bundle arguments = getArguments();
|
||
|
if (arguments != null) {
|
||
|
cXH.HBt.LWm lWm2 = cXH.HBt.LWm.RP_INITIAL;
|
||
|
int i = arguments.getInt("STAGE_TAG", -1);
|
||
|
if (i >= 0) {
|
||
|
lWm2 = cXH.HBt.LWm.values()[i];
|
||
|
}
|
||
|
lWm = lWm2;
|
||
|
}
|
||
|
c6721cak2.c(s, lWm);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
@Override // com.scb.phone.view.fragment.ndidcommon.Hilt_NdidCommonInstructionFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onAttach(Context context) {
|
||
|
C14957gcv.e(context, "");
|
||
|
super.onAttach(context);
|
||
|
if (context instanceof fIY.RVV) {
|
||
|
this.f8054o = (fIY.RVV) context;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void b(SA sa, C0982Sz c0982Sz) {
|
||
|
C14957gcv.e(sa, "");
|
||
|
C14957gcv.e(c0982Sz, "");
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
huo<Intent> huoVar = this.h;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
NdidCommonIdpActivity.HBt hBt = NdidCommonIdpActivity.f7638o;
|
||
|
huoVar.d(NdidCommonIdpActivity.HBt.ajn_(activity, false, sa, c0982Sz), null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void a(SA sa) {
|
||
|
C14957gcv.e(sa, "");
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
huo<Intent> huoVar = this.h;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
NdidCommonIdpActivity.HBt hBt = NdidCommonIdpActivity.f7638o;
|
||
|
huoVar.d(NdidCommonIdpActivity.HBt.ajn_(activity, true, sa, null), null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void o() {
|
||
|
v("ndid_common_step_1_next");
|
||
|
if (getActivity() != null) {
|
||
|
if (BaseActivity.P()) {
|
||
|
C14263fps.c(this);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
C14263fps.a(this);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void n() {
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
huo<Intent> huoVar = this.j;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
NdidCommonNationalIdInputActivity.LWm lWm = NdidCommonNationalIdInputActivity.f7640o;
|
||
|
SA s = s();
|
||
|
C14957gcv.e(context, "");
|
||
|
Intent intent = new Intent(context, (Class<?>) NdidCommonNationalIdInputActivity.class);
|
||
|
intent.putExtra("EXTRA_NDID_DATA_INITIAL", s);
|
||
|
huoVar.d(intent, null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void c(String str) {
|
||
|
if (str == null) {
|
||
|
str = "";
|
||
|
}
|
||
|
try {
|
||
|
Intent data = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL).setData(Uri.parse(str));
|
||
|
C14957gcv.c(data, "");
|
||
|
startActivity(data);
|
||
|
} catch (ActivityNotFoundException e) {
|
||
|
guQ.e(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void j() {
|
||
|
KYY kyy = this.d;
|
||
|
C14957gcv.e(kyy);
|
||
|
kyy.n.setText(getString(R.string.level_up_verification_prepare_title));
|
||
|
kyy.m.setText(getString(R.string.level_up_verification_info));
|
||
|
kyy.f8238o.setText(getString(R.string.level_up_verification_identity));
|
||
|
kyy.k.setText(getString(R.string.level_up_verification_liveness));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void g() {
|
||
|
KYY kyy = this.d;
|
||
|
C14957gcv.e(kyy);
|
||
|
kyy.n.setText(getString(R.string.ekyc_prepare_title));
|
||
|
kyy.m.setText(getString(R.string.common_ndid_submit_documents));
|
||
|
kyy.f8238o.setText(getString(R.string.common_ndid_instruction_verifying_partner_label));
|
||
|
kyy.k.setText(getString(R.string.common_ndid_instruction_liveness_check_label));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void d(String str, String str2, String str3) {
|
||
|
try {
|
||
|
Uri.Builder buildUpon = Uri.parse("scblvl://loyalty/dstatement_publicidp_landing").buildUpon();
|
||
|
if (str == null) {
|
||
|
str = "";
|
||
|
}
|
||
|
Uri.Builder appendQueryParameter = buildUpon.appendQueryParameter("requestId", str);
|
||
|
if (str2 == null) {
|
||
|
str2 = "";
|
||
|
}
|
||
|
Uri.Builder appendQueryParameter2 = appendQueryParameter.appendQueryParameter("productId", str2);
|
||
|
if (str3 == null) {
|
||
|
str3 = "";
|
||
|
}
|
||
|
startActivity(new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, appendQueryParameter2.appendQueryParameter("flow", str3).build()));
|
||
|
} catch (ActivityNotFoundException e) {
|
||
|
guQ.e(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void e(String str) {
|
||
|
C14957gcv.e(str, "");
|
||
|
v(str);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void f() {
|
||
|
KYY kyy = this.d;
|
||
|
C14957gcv.e(kyy);
|
||
|
b("ndid_common_step_1_load");
|
||
|
kyy.m.setAlpha(1.0f);
|
||
|
kyy.f8238o.setAlpha(0.4f);
|
||
|
kyy.k.setAlpha(0.4f);
|
||
|
kyy.h.setAlpha(1.0f);
|
||
|
kyy.i.setAlpha(1.0f);
|
||
|
kyy.j.setAlpha(1.0f);
|
||
|
kyy.g.setImageResource(R.drawable.circle_indicator_purple);
|
||
|
kyy.f.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.e.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.d.setVisibility(8);
|
||
|
kyy.a.setVisibility(8);
|
||
|
kyy.c.setVisibility(8);
|
||
|
kyy.b.setText(getString(R.string.next_button));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void i() {
|
||
|
KYY kyy = this.d;
|
||
|
C14957gcv.e(kyy);
|
||
|
b("ndid_common_step_2_load");
|
||
|
kyy.m.setAlpha(0.4f);
|
||
|
kyy.f8238o.setAlpha(1.0f);
|
||
|
kyy.k.setAlpha(0.4f);
|
||
|
kyy.h.setAlpha(0.4f);
|
||
|
kyy.i.setAlpha(1.0f);
|
||
|
kyy.j.setAlpha(1.0f);
|
||
|
kyy.g.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.f.setImageResource(R.drawable.circle_indicator_purple);
|
||
|
kyy.e.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.d.setVisibility(0);
|
||
|
kyy.a.setVisibility(8);
|
||
|
kyy.c.setVisibility(8);
|
||
|
kyy.b.setText(getString(R.string.next_button));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void h() {
|
||
|
KYY kyy = this.d;
|
||
|
C14957gcv.e(kyy);
|
||
|
kyy.m.setAlpha(0.4f);
|
||
|
kyy.f8238o.setAlpha(0.4f);
|
||
|
kyy.k.setAlpha(1.0f);
|
||
|
kyy.h.setAlpha(0.4f);
|
||
|
kyy.i.setAlpha(0.4f);
|
||
|
kyy.j.setAlpha(1.0f);
|
||
|
kyy.g.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.f.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.e.setImageResource(R.drawable.circle_indicator_purple);
|
||
|
kyy.d.setVisibility(0);
|
||
|
kyy.a.setVisibility(0);
|
||
|
kyy.c.setVisibility(8);
|
||
|
kyy.b.setText(getString(R.string.next_button));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void e() {
|
||
|
KYY kyy = this.d;
|
||
|
C14957gcv.e(kyy);
|
||
|
kyy.m.setAlpha(0.4f);
|
||
|
kyy.f8238o.setAlpha(0.4f);
|
||
|
kyy.k.setAlpha(0.4f);
|
||
|
kyy.h.setAlpha(0.4f);
|
||
|
kyy.i.setAlpha(0.4f);
|
||
|
kyy.j.setAlpha(0.4f);
|
||
|
kyy.g.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.f.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.e.setImageResource(R.drawable.shape_circle_white_purple_border);
|
||
|
kyy.d.setVisibility(0);
|
||
|
kyy.a.setVisibility(0);
|
||
|
kyy.c.setVisibility(0);
|
||
|
kyy.b.setText(getString(R.string.ekyc_submit_button_text));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void a(IK ik) {
|
||
|
C14957gcv.e(ik, "");
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
huo<Intent> huoVar = this.f;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
SensitiveCSentActivity.IeS ieS = SensitiveCSentActivity.f6764o;
|
||
|
huoVar.d(SensitiveCSentActivity.IeS.aaO_(context, ik), null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void a(IF r5) {
|
||
|
C14957gcv.e(r5, "");
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
huo<Intent> huoVar = this.f;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
CrossMatchConsentActivity.LWm lWm = CrossMatchConsentActivity.b;
|
||
|
huoVar.d(CrossMatchConsentActivity.LWm.aaI_(context, r5), null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void m() {
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
huo<Intent> huoVar = this.i;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
DopaConsentActivity.IeS ieS = DopaConsentActivity.b;
|
||
|
C14957gcv.e(context, "");
|
||
|
huoVar.d(new Intent(context, (Class<?>) DopaConsentActivity.class), null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void c(SA sa) {
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
huo<Intent> huoVar = this.g;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
NdidCommonRpLivenessCheckActivity.IeS ieS = NdidCommonRpLivenessCheckActivity.b;
|
||
|
C14957gcv.e(context, "");
|
||
|
Intent intent = new Intent(context, (Class<?>) NdidCommonRpLivenessCheckActivity.class);
|
||
|
intent.putExtra("EXTRA_NDID_DATA_INITIAL", sa);
|
||
|
huoVar.d(intent, null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void a() {
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
activity.finish();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
|
||
|
C14957gcv.e(strArr, "");
|
||
|
C14957gcv.e(iArr, "");
|
||
|
super.onRequestPermissionsResult(i, strArr, iArr);
|
||
|
C14263fps.e(this, i, iArr);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void l() {
|
||
|
CustomDialog b = CustomDialog.b(getContext());
|
||
|
b.setCancelable(false);
|
||
|
((CustomDialog) CustomDialog.e(new Object[]{b.c(R.string.common_ndid_pop_up_title_exit).d(R.string.common_ndid_pop_up_message_exit), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.fpo
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
dialogInterface.dismiss();
|
||
|
}
|
||
|
}})).aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.fpl
|
||
|
private NdidCommonInstructionFragment b;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
NdidCommonInstructionFragment.avZ_(this.b, dialogInterface);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
}).show();
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void b() {
|
||
|
super.k(false);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void d() {
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
NdidCommonVerificationLockedActivity.HBt hBt = NdidCommonVerificationLockedActivity.f7643o;
|
||
|
SA s = s();
|
||
|
String str = s != null ? s.y : null;
|
||
|
SA s2 = s();
|
||
|
startActivity(NdidCommonVerificationLockedActivity.HBt.aju_(context, str, s2 != null ? s2.c : null));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, o.InterfaceC9494dkm.RVV
|
||
|
public final void aH_() {
|
||
|
super.aH_();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final void onResume() {
|
||
|
super.onResume();
|
||
|
C6721cak c6721cak = this.presenter;
|
||
|
if (c6721cak == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak = null;
|
||
|
}
|
||
|
c6721cak.a();
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onDestroy() {
|
||
|
C6721cak c6721cak = this.presenter;
|
||
|
huo<Intent> huoVar = null;
|
||
|
if (c6721cak == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak = null;
|
||
|
}
|
||
|
c6721cak.w_();
|
||
|
huo<Intent> huoVar2 = this.f;
|
||
|
if (huoVar2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar2 = null;
|
||
|
}
|
||
|
huoVar2.e();
|
||
|
huo<Intent> huoVar3 = this.j;
|
||
|
if (huoVar3 == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar3 = null;
|
||
|
}
|
||
|
huoVar3.e();
|
||
|
huo<Intent> huoVar4 = this.h;
|
||
|
if (huoVar4 == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar4 = null;
|
||
|
}
|
||
|
huoVar4.e();
|
||
|
huo<Intent> huoVar5 = this.g;
|
||
|
if (huoVar5 == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar5 = null;
|
||
|
}
|
||
|
huoVar5.e();
|
||
|
huo<Intent> huoVar6 = this.i;
|
||
|
if (huoVar6 == null) {
|
||
|
C14957gcv.a("");
|
||
|
} else {
|
||
|
huoVar = huoVar6;
|
||
|
}
|
||
|
huoVar.e();
|
||
|
super.onDestroy();
|
||
|
}
|
||
|
|
||
|
private final SA s() {
|
||
|
Parcelable parcelable;
|
||
|
Bundle arguments = getArguments();
|
||
|
if (arguments == null) {
|
||
|
return null;
|
||
|
}
|
||
|
if (Build.VERSION.SDK_INT >= 33) {
|
||
|
parcelable = (Parcelable) arguments.getParcelable("EXTRA_NDID_DATA", SA.class);
|
||
|
} else {
|
||
|
Parcelable parcelable2 = arguments.getParcelable("EXTRA_NDID_DATA");
|
||
|
parcelable = (SA) (parcelable2 instanceof SA ? parcelable2 : null);
|
||
|
}
|
||
|
return (SA) parcelable;
|
||
|
}
|
||
|
|
||
|
private final void b(String str) {
|
||
|
SA s = s();
|
||
|
String str2 = s != null ? s.q : null;
|
||
|
if (str2 == null) {
|
||
|
str2 = "";
|
||
|
}
|
||
|
c(str, new pug("entry_point", "dstatement_tile"), new pug("product_code", str2));
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onDestroyView() {
|
||
|
this.d = null;
|
||
|
super.onDestroyView();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void avZ_(NdidCommonInstructionFragment ndidCommonInstructionFragment, DialogInterface dialogInterface) {
|
||
|
C14957gcv.e(ndidCommonInstructionFragment, "");
|
||
|
dialogInterface.dismiss();
|
||
|
C6721cak c6721cak = ndidCommonInstructionFragment.presenter;
|
||
|
if (c6721cak == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak = null;
|
||
|
}
|
||
|
c6721cak.a(false);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(NdidCommonInstructionFragment ndidCommonInstructionFragment, Heg heg) {
|
||
|
Intent intent;
|
||
|
Parcelable parcelable;
|
||
|
C14957gcv.e(ndidCommonInstructionFragment, "");
|
||
|
if (heg.e != -1 || (intent = heg.b) == null) {
|
||
|
return;
|
||
|
}
|
||
|
C6721cak c6721cak = null;
|
||
|
if (Build.VERSION.SDK_INT >= 33) {
|
||
|
Bundle extras = intent.getExtras();
|
||
|
parcelable = extras != null ? (Parcelable) extras.getParcelable("NATIONAL_ID_INPUT_EXTRA", SE.class) : null;
|
||
|
} else {
|
||
|
Bundle extras2 = intent.getExtras();
|
||
|
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("NATIONAL_ID_INPUT_EXTRA") : null;
|
||
|
if (!(parcelable2 instanceof SE)) {
|
||
|
parcelable2 = null;
|
||
|
}
|
||
|
parcelable = (SE) parcelable2;
|
||
|
}
|
||
|
SE se = (SE) parcelable;
|
||
|
if (se != null) {
|
||
|
C6721cak c6721cak2 = ndidCommonInstructionFragment.presenter;
|
||
|
if (c6721cak2 != null) {
|
||
|
c6721cak = c6721cak2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
c6721cak.b(se);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(NdidCommonInstructionFragment ndidCommonInstructionFragment, Heg heg) {
|
||
|
C14957gcv.e(ndidCommonInstructionFragment, "");
|
||
|
if (heg.e == -1) {
|
||
|
C6721cak c6721cak = ndidCommonInstructionFragment.presenter;
|
||
|
if (c6721cak == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak = null;
|
||
|
}
|
||
|
c6721cak.d();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(NdidCommonInstructionFragment ndidCommonInstructionFragment) {
|
||
|
C14957gcv.e(ndidCommonInstructionFragment, "");
|
||
|
C6721cak c6721cak = ndidCommonInstructionFragment.presenter;
|
||
|
if (c6721cak == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak = null;
|
||
|
}
|
||
|
C6721cak.e(new Object[]{c6721cak}, -752364341, 752364347, System.identityHashCode(c6721cak));
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(NdidCommonInstructionFragment ndidCommonInstructionFragment, Heg heg) {
|
||
|
C14957gcv.e(ndidCommonInstructionFragment, "");
|
||
|
if (heg.e == -1) {
|
||
|
C6721cak c6721cak = ndidCommonInstructionFragment.presenter;
|
||
|
if (c6721cak == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak = null;
|
||
|
}
|
||
|
c6721cak.j();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(NdidCommonInstructionFragment ndidCommonInstructionFragment, Heg heg) {
|
||
|
C14957gcv.e(ndidCommonInstructionFragment, "");
|
||
|
C6721cak c6721cak = null;
|
||
|
if (heg.e == -1) {
|
||
|
C6721cak c6721cak2 = ndidCommonInstructionFragment.presenter;
|
||
|
if (c6721cak2 != null) {
|
||
|
c6721cak = c6721cak2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
c6721cak.h();
|
||
|
return;
|
||
|
}
|
||
|
if (heg.e == 0) {
|
||
|
C6721cak c6721cak3 = ndidCommonInstructionFragment.presenter;
|
||
|
if (c6721cak3 != null) {
|
||
|
c6721cak = c6721cak3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
c6721cak.a(true);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(NdidCommonInstructionFragment ndidCommonInstructionFragment, Heg heg) {
|
||
|
C14957gcv.e(ndidCommonInstructionFragment, "");
|
||
|
if (heg.e == -1) {
|
||
|
C6721cak c6721cak = ndidCommonInstructionFragment.presenter;
|
||
|
if (c6721cak == null) {
|
||
|
C14957gcv.a("");
|
||
|
c6721cak = null;
|
||
|
}
|
||
|
c6721cak.g();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
C14957gcv.e(layoutInflater, "");
|
||
|
View inflate = layoutInflater.inflate(R.layout.2131559778, viewGroup, false);
|
||
|
int i = R.id.bt_next;
|
||
|
Button button = (Button) qeC.e(inflate, R.id.bt_next);
|
||
|
if (button != null) {
|
||
|
i = R.id.iv_checked_liveness_check;
|
||
|
ImageView imageView = (ImageView) qeC.e(inflate, R.id.iv_checked_liveness_check);
|
||
|
if (imageView != null) {
|
||
|
i = R.id.iv_checked_scan_id;
|
||
|
ImageView imageView2 = (ImageView) qeC.e(inflate, R.id.iv_checked_scan_id);
|
||
|
if (imageView2 != null) {
|
||
|
i = R.id.iv_checked_verifying_partner;
|
||
|
ImageView imageView3 = (ImageView) qeC.e(inflate, R.id.iv_checked_verifying_partner);
|
||
|
if (imageView3 != null) {
|
||
|
i = R.id.iv_indicator_liveness_check;
|
||
|
ImageView imageView4 = (ImageView) qeC.e(inflate, R.id.iv_indicator_liveness_check);
|
||
|
if (imageView4 != null) {
|
||
|
i = R.id.iv_indicator_scan_id;
|
||
|
ImageView imageView5 = (ImageView) qeC.e(inflate, R.id.iv_indicator_scan_id);
|
||
|
if (imageView5 != null) {
|
||
|
i = R.id.iv_indicator_verifying_partner;
|
||
|
ImageView imageView6 = (ImageView) qeC.e(inflate, R.id.iv_indicator_verifying_partner);
|
||
|
if (imageView6 != null) {
|
||
|
i = R.id.iv_liveness_check;
|
||
|
ImageView imageView7 = (ImageView) qeC.e(inflate, R.id.iv_liveness_check);
|
||
|
if (imageView7 != null) {
|
||
|
i = R.id.iv_scan_id;
|
||
|
ImageView imageView8 = (ImageView) qeC.e(inflate, R.id.iv_scan_id);
|
||
|
if (imageView8 != null) {
|
||
|
i = R.id.iv_verifying_partner;
|
||
|
ImageView imageView9 = (ImageView) qeC.e(inflate, R.id.iv_verifying_partner);
|
||
|
if (imageView9 != null) {
|
||
|
i = R.id.space;
|
||
|
Space space = (Space) qeC.e(inflate, R.id.space);
|
||
|
if (space != null) {
|
||
|
i = R.id.tv_liveness_check;
|
||
|
TextView textView = (TextView) qeC.e(inflate, R.id.tv_liveness_check);
|
||
|
if (textView != null) {
|
||
|
i = R.id.tv_passport_info_title;
|
||
|
TextView textView2 = (TextView) qeC.e(inflate, R.id.tv_passport_info_title);
|
||
|
if (textView2 != null) {
|
||
|
i = R.id.tv_scan_id;
|
||
|
TextView textView3 = (TextView) qeC.e(inflate, R.id.tv_scan_id);
|
||
|
if (textView3 != null) {
|
||
|
i = R.id.tv_verifying_partner;
|
||
|
TextView textView4 = (TextView) qeC.e(inflate, R.id.tv_verifying_partner);
|
||
|
if (textView4 != null) {
|
||
|
KYY kyy = new KYY((ScrollView) inflate, button, imageView, imageView2, imageView3, imageView4, imageView5, imageView6, imageView7, imageView8, imageView9, space, textView, textView2, textView3, textView4);
|
||
|
this.d = kyy;
|
||
|
C14957gcv.e(kyy);
|
||
|
ScrollView scrollView = kyy.l;
|
||
|
C14957gcv.c(scrollView, "");
|
||
|
return scrollView;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9494dkm.RVV
|
||
|
public final void k() {
|
||
|
QKH qkh = new QKH();
|
||
|
qkh.e("ndid");
|
||
|
qkh.d("feature", "open_account");
|
||
|
QKH qkh2 = qkh;
|
||
|
if (getActivity() != null) {
|
||
|
qkh2.c(((BaseActivity) getActivity()).scbAnalytics, "ekyc_verifysuccess");
|
||
|
}
|
||
|
fIY.RVV rvv = this.f8054o;
|
||
|
if (rvv == null) {
|
||
|
C14957gcv.a("");
|
||
|
rvv = null;
|
||
|
}
|
||
|
rvv.d();
|
||
|
}
|
||
|
}
|