what-the-bank/sources/com/scb/phone/view/fragment/debitcard/DebitCardRequestInputFragme...

1773 lines
124 KiB
Java

package com.scb.phone.view.fragment.debitcard;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.InputFilter;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.FrameLayout;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.constraintlayout.widget.Group;
import androidx.legacy.widget.Space;
import androidx.viewpager.widget.ViewPager;
import com.scb.phone.R;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.activity.debitcard.DebitCardRequestMailingAddressActivity;
import com.scb.phone.view.activity.debitcard.DebitCardRequestTermsConditionsActivity;
import com.scb.phone.view.activity.debitcard.DebitCardSaleSheetActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.custom.common.CustomEditText;
import com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle;
import com.scb.phone.view.fragment.debitcard.DebitCardRequestInputFragment;
import com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment;
import java.util.ArrayList;
import java.util.List;
import me.relex.circleindicator.CircleIndicator;
import o.AbstractC13482fbE;
import o.C0690Mh;
import o.C0693Mj;
import o.C1044Uj;
import o.C11560ehe;
import o.C1171Xc;
import o.C12126esN;
import o.C1438aEO;
import o.C14866gag;
import o.C14957gcv;
import o.C6583cXR;
import o.Heg;
import o.InterfaceC0834Plv;
import o.InterfaceC13391fZD;
import o.InterfaceC9166deb;
import o.MHl;
import o.MYp;
import o.QE;
import o.ROM;
import o.RRw;
import o.ViewOnClickListenerC10842eQe;
import o.ViewOnClickListenerC10862eQy;
import o.WW;
import o.fJJ;
import o.gjJ;
import o.huo;
import o.nMh;
import o.qeC;
/* loaded from: classes5.dex */
public final class DebitCardRequestInputFragment extends Hilt_DebitCardRequestInputFragment implements InterfaceC9166deb.IeS, AccountSourceSelectFragment.Sts {
public static final IeS d = new IeS((byte) 0);
private ROM c;
private final C12126esN f = new C12126esN(new ArrayList());
private huo<Intent> g;
private huo<Intent> j;
@InterfaceC13391fZD
public C1438aEO presenter;
public static /* synthetic */ void B() {
}
public static /* synthetic */ void D() {
}
@Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts
public final void e_(boolean z) {
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // androidx.fragment.app.Fragment
public final void onViewCreated(View view, Bundle bundle) {
C14957gcv.e(view, "");
super.onViewCreated(view, bundle);
Bundle arguments = getArguments();
if (arguments != null) {
C1438aEO c1438aEO = this.presenter;
C1438aEO c1438aEO2 = null;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.e((C1438aEO) this);
C1438aEO c1438aEO3 = this.presenter;
if (c1438aEO3 != null) {
c1438aEO2 = c1438aEO3;
} else {
C14957gcv.a("");
}
c1438aEO2.c(arguments.getBoolean("EXTRA_IS_SHOT_CUT_FLOW", false), arguments.getString("EXTRA_CARD_REF"), arguments.getString("EXTRA_ACCOUNT_NO"));
}
ROM rom = this.c;
C14957gcv.e(rom);
ViewPager viewPager = rom.A;
viewPager.setAdapter(this.f);
viewPager.addOnPageChangeListener(new RVV(this));
this.f.registerDataSetObserver(rom.h.c);
rom.h.setViewPager(viewPager);
rom.c.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(this) { // from class: o.eQt
private DebitCardRequestInputFragment b;
@Override // android.widget.CompoundButton.OnCheckedChangeListener
public final void onCheckedChanged(CompoundButton compoundButton, boolean z) {
DebitCardRequestInputFragment.d(this.b, z);
}
{
this.b = this;
}
});
rom.b.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(this) { // from class: o.eQu
private DebitCardRequestInputFragment b;
@Override // android.widget.CompoundButton.OnCheckedChangeListener
public final void onCheckedChanged(CompoundButton compoundButton, boolean z) {
DebitCardRequestInputFragment.b(this.b, z);
}
{
this.b = this;
}
});
ROM rom2 = this.c;
C14957gcv.e(rom2);
CustomEditText customEditText = rom2.f8339o.c;
customEditText.addTextChangedListener(new LWm(this, customEditText));
customEditText.setOnBackListener(new CustomEditText.LWm(customEditText) { // from class: o.eQF
private CustomEditText e;
@Override // com.scb.phone.view.custom.common.CustomEditText.LWm
public final void a() {
this.e.clearFocus();
}
{
this.e = customEditText;
}
});
customEditText.setOnEditorActionListener(new TextView.OnEditorActionListener(this) { // from class: o.eQI
private DebitCardRequestInputFragment d;
@Override // android.widget.TextView.OnEditorActionListener
public final boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) {
return DebitCardRequestInputFragment.d(this.d, i);
}
{
this.d = this;
}
});
customEditText.setFilters(new InputFilter[]{new InputFilter.AllCaps(), new InputFilter.LengthFilter(15)});
customEditText.setOnFocusChangeListener(new View.OnFocusChangeListener(this, customEditText) { // from class: o.eQl
private DebitCardRequestInputFragment c;
private CustomEditText e;
@Override // android.view.View.OnFocusChangeListener
public final void onFocusChange(View view2, boolean z) {
DebitCardRequestInputFragment.b(this.c, this.e, z);
}
{
this.c = this;
this.e = customEditText;
}
});
rom.d.setOnClickListener(new View.OnClickListener(this) { // from class: o.eQv
private DebitCardRequestInputFragment e;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
DebitCardRequestInputFragment.c(this.e);
}
{
this.e = this;
}
});
rom.a.setOnClickListener(new View.OnClickListener(this) { // from class: o.eQs
private DebitCardRequestInputFragment a;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
DebitCardRequestInputFragment.h(this.a);
}
{
this.a = this;
}
});
rom.e.setOnClickListener(new View.OnClickListener(this) { // from class: o.eQx
private DebitCardRequestInputFragment d;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
DebitCardRequestInputFragment.i(this.d);
}
{
this.d = this;
}
});
rom.t.setOnClickListener(new View.OnClickListener(this) { // from class: o.eQw
private DebitCardRequestInputFragment a;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
DebitCardRequestInputFragment.b(this.a);
}
{
this.a = this;
}
});
rom.f8339o.d.setOnClickListener(new View.OnClickListener(this, rom) { // from class: o.eQA
private DebitCardRequestInputFragment d;
private ROM e;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
DebitCardRequestInputFragment.c(this.d, this.e);
}
{
this.d = this;
this.e = rom;
}
});
ROM rom3 = this.c;
C14957gcv.e(rom3);
rom3.f8339o.i.setOnClickListener(new ViewOnClickListenerC10862eQy(this));
ROM rom4 = this.c;
C14957gcv.e(rom4);
rom4.f8339o.a.setOnClickListener(new ViewOnClickListenerC10842eQe(this));
huo<Intent> registerForActivityResult = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.eQD
private DebitCardRequestInputFragment b;
@Override // o.InterfaceC0834Plv
public final void d(Object obj) {
DebitCardRequestInputFragment.c(this.b, (Heg) obj);
}
{
this.b = this;
}
});
C14957gcv.c(registerForActivityResult, "");
this.j = registerForActivityResult;
huo<Intent> registerForActivityResult2 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.eQC
private DebitCardRequestInputFragment e;
@Override // o.InterfaceC0834Plv
public final void d(Object obj) {
DebitCardRequestInputFragment.e(this.e, (Heg) obj);
}
{
this.e = this;
}
});
C14957gcv.c(registerForActivityResult2, "");
this.g = registerForActivityResult2;
}
/* loaded from: classes5.dex */
public static final class RVV implements ViewPager.ojQ {
private DebitCardRequestInputFragment d;
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageScrollStateChanged(int i) {
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageScrolled(int i, float f, int i2) {
}
RVV(DebitCardRequestInputFragment debitCardRequestInputFragment) {
this.d = debitCardRequestInputFragment;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageSelected(int i) {
C1438aEO c1438aEO = this.d.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
C1438aEO.a(new Object[]{c1438aEO, Integer.valueOf(i)}, 1601611544, -1601611522, i);
}
}
/* loaded from: classes5.dex */
public static final class LWm extends fJJ {
private CustomEditText b;
private DebitCardRequestInputFragment d;
LWm(DebitCardRequestInputFragment debitCardRequestInputFragment, CustomEditText customEditText) {
this.d = debitCardRequestInputFragment;
this.b = customEditText;
}
@Override // o.fJJ, android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
int length = charSequence != null ? charSequence.length() : 0;
C1438aEO c1438aEO = this.d.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.e(length, this.b.isFocused());
c1438aEO.a(length);
C1438aEO.a(new Object[]{c1438aEO, String.valueOf(charSequence)}, -17011096, 17011112, System.identityHashCode(c1438aEO));
}
}
@Override // o.InterfaceC9166deb.IeS
public final void e() {
ROM rom = this.c;
C14957gcv.e(rom);
CustomEditText customEditText = rom.f8339o.c;
customEditText.clearFocus();
C6583cXR.d(customEditText);
}
@Override // o.InterfaceC9166deb.IeS
public final void e(C1171Xc c1171Xc) {
C14957gcv.e(c1171Xc, "");
AbstractC13482fbE a = getChildFragmentManager().a();
a.b(R.id.fragment_account_source_select, AccountSourceSelectFragment.b(c1171Xc), null, 2);
a.b();
}
@Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts
public final void a(WW ww) {
C14957gcv.e(ww, "");
C1438aEO c1438aEO = this.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.a(ww);
}
@Override // o.InterfaceC9166deb.IeS
public final void i(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.d.setEnabled(z);
}
@Override // o.InterfaceC9166deb.IeS
public final void f(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.a.setEnabled(z);
}
@Override // o.InterfaceC9166deb.IeS
public final void s() {
ROM rom = this.c;
C14957gcv.e(rom);
RRw rRw = rom.f8339o;
rRw.c.setBackground(nMh.getDrawable(requireContext(), R.drawable.shape_red_reounded_reactangle_border));
TextView textView = rRw.f;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
ROM rom2 = this.c;
C14957gcv.e(rom2);
rom2.f8339o.d.setEnabled(false);
C1438aEO c1438aEO = this.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
C1438aEO.a(new Object[]{c1438aEO, false}, 355101923, -355101898, System.identityHashCode(c1438aEO));
}
@Override // o.InterfaceC9166deb.IeS
public final void f() {
ROM rom = this.c;
C14957gcv.e(rom);
RRw rRw = rom.f8339o;
rRw.c.setBackground(nMh.getDrawable(requireContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
TextView textView = rRw.f;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void r(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
RRw rRw = rom.f8339o;
rRw.j.setText(getString(R.string.debit_card_request_promo_code_success_title, str));
ConstraintLayout constraintLayout = rRw.b;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
C14957gcv.e(constraintLayout2, "");
constraintLayout2.setVisibility(0);
ConstraintLayout constraintLayout3 = rRw.e;
C14957gcv.c(constraintLayout3, "");
ConstraintLayout constraintLayout4 = constraintLayout3;
C14957gcv.e(constraintLayout4, "");
constraintLayout4.setVisibility(8);
f();
ROM rom2 = this.c;
C14957gcv.e(rom2);
CustomEditText customEditText = rom2.f8339o.c;
customEditText.clearFocus();
C6583cXR.d(customEditText);
C1438aEO c1438aEO = this.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
C1438aEO.a(new Object[]{c1438aEO, true}, 355101923, -355101898, System.identityHashCode(c1438aEO));
}
@Override // o.InterfaceC9166deb.IeS
public final void a(boolean z) {
C1438aEO c1438aEO = this.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
C1438aEO.a(new Object[]{c1438aEO, true}, 355101923, -355101898, System.identityHashCode(c1438aEO));
c1438aEO.f();
ROM rom = this.c;
C14957gcv.e(rom);
rom.f8339o.a.setOnClickListener(new ViewOnClickListenerC10842eQe(this));
f();
ROM rom2 = this.c;
C14957gcv.e(rom2);
MHl mHl = rom2.f;
TextView textView = mHl.d;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(8);
TextView textView3 = mHl.i;
C14957gcv.c(textView3, "");
TextView textView4 = textView3;
C14957gcv.e(textView4, "");
textView4.setVisibility(8);
TextView textView5 = mHl.b;
C14957gcv.c(textView5, "");
TextView textView6 = textView5;
C14957gcv.e(textView6, "");
textView6.setVisibility(8);
ROM rom3 = this.c;
C14957gcv.e(rom3);
RRw rRw = rom3.f8339o;
ConstraintLayout constraintLayout = rRw.b;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
C14957gcv.e(constraintLayout2, "");
constraintLayout2.setVisibility(8);
rRw.e.setVisibility(z ? 0 : 8);
String string = getString(R.string.debit_card_request_annual_fee_description);
ROM rom4 = this.c;
C14957gcv.e(rom4);
TextView textView7 = rom4.f.a;
C14957gcv.c(textView7, "");
arK_(textView7, string, false);
}
@Override // o.InterfaceC9166deb.IeS
public final void h(String str) {
ROM rom = this.c;
C14957gcv.e(rom);
TextView textView = rom.f.d;
C14957gcv.c(textView, "");
arK_(textView, str, true);
}
@Override // o.InterfaceC9166deb.IeS
public final void n(String str) {
ROM rom = this.c;
C14957gcv.e(rom);
TextView textView = rom.f.i;
C14957gcv.c(textView, "");
arK_(textView, str, true);
}
@Override // o.InterfaceC9166deb.IeS
public final void m(String str) {
ROM rom = this.c;
C14957gcv.e(rom);
TextView textView = rom.f.b;
C14957gcv.c(textView, "");
arK_(textView, str, true);
}
@Override // o.InterfaceC9166deb.IeS
public final void a(String str) {
ROM rom = this.c;
C14957gcv.e(rom);
TextView textView = rom.f.a;
C14957gcv.c(textView, "");
arK_(textView, str, false);
}
private static void arK_(TextView textView, String str, boolean z) {
C14866gag c14866gag;
if (z) {
textView.setPaintFlags(textView.getPaintFlags() | 16);
}
if (str != null) {
textView.setVisibility(0);
textView.setText(str);
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
textView.setVisibility(8);
}
}
@Override // o.InterfaceC9166deb.IeS
public final void c(int i) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.f8339o.h.setVisibility(i);
}
@Override // o.InterfaceC9166deb.IeS
public final void d(int i) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.f8339o.a.setVisibility(i);
}
@Override // o.InterfaceC9166deb.IeS
public final void c_(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.f8339o.d.setEnabled(z);
}
@Override // o.InterfaceC9166deb.IeS
public final void l(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.n.setVisibility(z ? 0 : 8);
}
@Override // o.InterfaceC9166deb.IeS
public final void b(List<String> list) {
C14957gcv.e(list, "");
ROM rom = this.c;
C14957gcv.e(rom);
CustomSpinnerWithTitle customSpinnerWithTitle = rom.r;
customSpinnerWithTitle.b();
customSpinnerWithTitle.setItems(list, true, false);
customSpinnerWithTitle.setMandatory(true);
customSpinnerWithTitle.setOnCustomSpinnerWithTitleCompletion(new Sts(customSpinnerWithTitle, this));
}
/* loaded from: classes5.dex */
public static final class Sts implements CustomSpinnerWithTitle.LWm {
private DebitCardRequestInputFragment a;
private CustomSpinnerWithTitle d;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
Sts(CustomSpinnerWithTitle customSpinnerWithTitle, DebitCardRequestInputFragment debitCardRequestInputFragment) {
this.d = customSpinnerWithTitle;
this.a = debitCardRequestInputFragment;
}
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bo_() {
if (((MYp) this.d.c.e()).c.getSelectedItemPosition() > 0) {
C1438aEO c1438aEO = this.a.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.d(((MYp) this.d.c.e()).c.getSelectedItemPosition() - 1);
}
}
}
@Override // o.InterfaceC9166deb.IeS
public final void a(boolean z, boolean z2) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.l.setVisibility(z ? 0 : 8);
rom.A.setVisibility(z ? 0 : 8);
rom.h.setVisibility((z && z2) ? 0 : 8);
}
@Override // o.InterfaceC9166deb.IeS
public final void c(List<? extends QE> list) {
C14957gcv.e(list, "");
ROM rom = this.c;
C14957gcv.e(rom);
rom.A.setCurrentItem(0);
C12126esN c12126esN = this.f;
C14957gcv.e(list, "");
c12126esN.b = list;
c12126esN.notifyDataSetChanged();
}
@Override // o.InterfaceC9166deb.IeS
public final void b(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
rom.f.e.setText(str);
}
@Override // o.InterfaceC9166deb.IeS
public final void l(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
rom.f.j.setText(str);
}
@Override // o.InterfaceC9166deb.IeS
public final void g(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
rom.f.c.setText(str);
}
@Override // o.InterfaceC9166deb.IeS
public final void k(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
rom.f.g.setText(str);
}
@Override // o.InterfaceC9166deb.IeS
public final void j(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.e.setEnabled(z);
}
@Override // o.InterfaceC9166deb.IeS
public final void l() {
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(getContext()).c(R.string.debit_card_request_confirm_title).d(R.string.debit_card_request_confirm_message).aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.eQm
private DebitCardRequestInputFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DebitCardRequestInputFragment.k(this.e);
}
{
this.e = this;
}
}), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.eQo
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DebitCardRequestInputFragment.B();
}
}})).show();
}
@Override // o.InterfaceC9166deb.IeS
public final void A() {
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(getContext()).c(R.string.debit_card_confirm_replace_without_physical_card_title).d(R.string.debit_card_confirm_replace_without_physical_card_message).aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.eQE
private DebitCardRequestInputFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DebitCardRequestInputFragment.n(this.e);
}
{
this.e = this;
}
}), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.eQB
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DebitCardRequestInputFragment.D();
}
}})).show();
}
@Override // o.InterfaceC9166deb.IeS
public final void c(C0693Mj c0693Mj) {
C14957gcv.e(c0693Mj, "");
C0693Mj c0693Mj2 = new C0693Mj();
c0693Mj2.d = c0693Mj.d;
c0693Mj2.c = c0693Mj.c;
C0690Mh c0690Mh = new C0690Mh();
c0690Mh.b = getString(R.string.ok);
Runnable runnable = new Runnable(this) { // from class: o.eQk
private DebitCardRequestInputFragment e;
@Override // java.lang.Runnable
public final void run() {
DebitCardRequestInputFragment.d(this.e);
}
{
this.e = this;
}
};
c0690Mh.e = C0690Mh.IeS.CUSTOM;
c0690Mh.d = runnable;
c0693Mj2.e = c0690Mh;
e(c0693Mj2);
}
@Override // o.InterfaceC9166deb.IeS
public final void d(String str) {
C14957gcv.e(str, "");
v(str);
}
@Override // o.InterfaceC9166deb.IeS
public final void c(String str) {
C14957gcv.e(str, "");
huo<Intent> huoVar = this.g;
if (huoVar == null) {
C14957gcv.a("");
huoVar = null;
}
DebitCardRequestTermsConditionsActivity.HBt hBt = DebitCardRequestTermsConditionsActivity.b;
Intent intent = new Intent(requireContext(), (Class<?>) DebitCardRequestTermsConditionsActivity.class);
intent.putExtra("TRANSACTION_TOKEN", str);
huoVar.d(intent, null);
}
@Override // o.InterfaceC9166deb.IeS
public final void h(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.a.setSelected(z);
}
@Override // o.InterfaceC9166deb.IeS
public final void d(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.d.setSelected(z);
}
@Override // o.InterfaceC9166deb.IeS
public final void d(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
CustomDialog b = CustomDialog.b(requireContext());
if (gjJ.a(str)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(str);
}
if (gjJ.a(str2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(str2);
}
b.aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.eQr
private DebitCardRequestInputFragment d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DebitCardRequestInputFragment.j(this.d);
}
{
this.d = this;
}
}).show();
}
@Override // o.cYT
public final void c(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
CustomDialog.aoL_(requireContext(), str, str2, new DialogInterface.OnClickListener(this) { // from class: o.eQf
private DebitCardRequestInputFragment b;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DebitCardRequestInputFragment.a(this.b);
}
{
this.b = this;
}
}, new DialogInterface.OnClickListener(this) { // from class: o.eQn
private DebitCardRequestInputFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DebitCardRequestInputFragment.f(this.e);
}
{
this.e = this;
}
}).show();
}
@Override // o.InterfaceC9166deb.IeS
public final void o() {
ROM rom = this.c;
C14957gcv.e(rom);
rom.u.setText(R.string.debit_card_request_select_debit_card_type);
}
@Override // o.InterfaceC9166deb.IeS
public final void m() {
ROM rom = this.c;
C14957gcv.e(rom);
rom.u.setText(R.string.debit_card_request_select_new_debit_card_type);
}
@Override // o.InterfaceC9166deb.IeS
public final void k() {
ROM rom = this.c;
C14957gcv.e(rom);
rom.u.setText(R.string.debit_card_request_debit_card_type);
}
@Override // o.InterfaceC9166deb.IeS
public final void r() {
ROM rom = this.c;
C14957gcv.e(rom);
Group group = rom.l;
C14957gcv.c(group, "");
Group group2 = group;
C14957gcv.e(group2, "");
group2.setVisibility(0);
ViewPager viewPager = rom.A;
C14957gcv.c(viewPager, "");
ViewPager viewPager2 = viewPager;
C14957gcv.e(viewPager2, "");
viewPager2.setVisibility(8);
ConstraintLayout constraintLayout = rom.j;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
C14957gcv.e(constraintLayout2, "");
constraintLayout2.setVisibility(0);
}
@Override // o.InterfaceC9166deb.IeS
public final void a() {
ROM rom = this.c;
C14957gcv.e(rom);
ConstraintLayout constraintLayout = rom.j;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
C14957gcv.e(constraintLayout2, "");
constraintLayout2.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void d() {
HomeActivity.c(requireContext(), false);
}
@Override // o.InterfaceC9166deb.IeS
public final void w() {
ROM rom = this.c;
C14957gcv.e(rom);
MHl mHl = rom.f;
TextView textView = mHl.e;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
TextView textView3 = mHl.j;
C14957gcv.c(textView3, "");
TextView textView4 = textView3;
C14957gcv.e(textView4, "");
textView4.setVisibility(0);
TextView textView5 = mHl.c;
C14957gcv.c(textView5, "");
TextView textView6 = textView5;
C14957gcv.e(textView6, "");
textView6.setVisibility(0);
TextView textView7 = mHl.g;
C14957gcv.c(textView7, "");
TextView textView8 = textView7;
C14957gcv.e(textView8, "");
textView8.setVisibility(0);
}
@Override // o.InterfaceC9166deb.IeS
public final void j() {
ROM rom = this.c;
C14957gcv.e(rom);
MHl mHl = rom.f;
TextView textView = mHl.e;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(8);
TextView textView3 = mHl.j;
C14957gcv.c(textView3, "");
TextView textView4 = textView3;
C14957gcv.e(textView4, "");
textView4.setVisibility(8);
TextView textView5 = mHl.c;
C14957gcv.c(textView5, "");
TextView textView6 = textView5;
C14957gcv.e(textView6, "");
textView6.setVisibility(8);
TextView textView7 = mHl.g;
C14957gcv.c(textView7, "");
TextView textView8 = textView7;
C14957gcv.e(textView8, "");
textView8.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void o(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
TextView textView = rom.w;
textView.setText(str);
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
}
@Override // o.InterfaceC9166deb.IeS
public final void c() {
ROM rom = this.c;
C14957gcv.e(rom);
TextView textView = rom.w;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void n() {
ROM rom = this.c;
C14957gcv.e(rom);
Group group = rom.p;
C14957gcv.c(group, "");
Group group2 = group;
C14957gcv.e(group2, "");
group2.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void h() {
ROM rom = this.c;
C14957gcv.e(rom);
TextView textView = rom.x;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void s(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
rom.c.setText(str);
rom.c.setChecked(false);
Group group = rom.p;
C14957gcv.c(group, "");
Group group2 = group;
C14957gcv.e(group2, "");
group2.setVisibility(0);
}
@Override // o.InterfaceC9166deb.IeS
public final void q(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
TextView textView = rom.x;
textView.setOnClickListener(new View.OnClickListener(this, str) { // from class: o.eQz
private DebitCardRequestInputFragment a;
private String c;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
DebitCardRequestInputFragment.e(this.a, this.c);
}
{
this.a = this;
this.c = str;
}
});
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
}
@Override // o.InterfaceC9166deb.IeS
public final void e(String str) {
C14957gcv.e(str, "");
DebitCardSaleSheetActivity.RVV rvv = DebitCardSaleSheetActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
Intent intent = new Intent(requireContext, (Class<?>) DebitCardSaleSheetActivity.class);
intent.putExtra("pdf_path", str);
requireContext.startActivity(intent);
}
@Override // o.InterfaceC9166deb.IeS
public final void t(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
rom.v.setText(str);
LinearLayout linearLayout = rom.q;
C14957gcv.c(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
C14957gcv.e(linearLayout2, "");
linearLayout2.setVisibility(0);
}
@Override // o.InterfaceC9166deb.IeS
public final void g() {
ROM rom = this.c;
C14957gcv.e(rom);
LinearLayout linearLayout = rom.q;
C14957gcv.c(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
C14957gcv.e(linearLayout2, "");
linearLayout2.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void i() {
ROM rom = this.c;
C14957gcv.e(rom);
Group group = rom.m;
C14957gcv.c(group, "");
Group group2 = group;
C14957gcv.e(group2, "");
group2.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void b() {
ROM rom = this.c;
C14957gcv.e(rom);
Group group = rom.k;
C14957gcv.c(group, "");
Group group2 = group;
C14957gcv.e(group2, "");
group2.setVisibility(8);
}
@Override // o.InterfaceC9166deb.IeS
public final void f(String str) {
C14957gcv.e(str, "");
ROM rom = this.c;
C14957gcv.e(rom);
rom.y.setText(str);
}
@Override // o.InterfaceC9166deb.IeS
public final void n(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.i.setVisibility(z ? 0 : 8);
}
@Override // o.InterfaceC9166deb.IeS
public final void g(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.g.setVisibility(z ? 0 : 8);
}
@Override // o.InterfaceC9166deb.IeS
public final void b(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.b.setChecked(z);
}
@Override // o.InterfaceC9166deb.IeS
public final void c(boolean z) {
ROM rom = this.c;
C14957gcv.e(rom);
rom.b.setEnabled(!z);
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroyView() {
C1438aEO c1438aEO = this.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.w_();
huo<Intent> huoVar = this.j;
if (huoVar == null) {
C14957gcv.a("");
huoVar = null;
}
huoVar.e();
huo<Intent> huoVar2 = this.g;
if (huoVar2 == null) {
C14957gcv.a("");
huoVar2 = null;
}
huoVar2.e();
this.c = null;
super.onDestroyView();
}
public static /* synthetic */ void b(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
huo<Intent> huoVar = debitCardRequestInputFragment.j;
if (huoVar == null) {
C14957gcv.a("");
huoVar = null;
}
DebitCardRequestMailingAddressActivity.IeS ieS = DebitCardRequestMailingAddressActivity.b;
Context requireContext = debitCardRequestInputFragment.requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
huoVar.d(new Intent(requireContext, (Class<?>) DebitCardRequestMailingAddressActivity.class), null);
}
public static /* synthetic */ void e(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
debitCardRequestInputFragment.a(true);
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.g();
}
public static /* synthetic */ void a(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.b();
}
public static /* synthetic */ void b(DebitCardRequestInputFragment debitCardRequestInputFragment, CustomEditText customEditText, boolean z) {
C14957gcv.e(debitCardRequestInputFragment, "");
C14957gcv.e(customEditText, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.e(customEditText.length(), z);
}
public static /* synthetic */ void c(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
C1438aEO.a(new Object[]{c1438aEO, true}, 761838072, -761838064, System.identityHashCode(c1438aEO));
}
public static /* synthetic */ void c(DebitCardRequestInputFragment debitCardRequestInputFragment, Heg heg) {
Bundle extras;
C14957gcv.e(debitCardRequestInputFragment, "");
C14957gcv.e(heg, "");
if (heg.e == -1) {
DebitCardRequestMailingAddressActivity.IeS ieS = DebitCardRequestMailingAddressActivity.b;
Intent intent = heg.b;
C1438aEO c1438aEO = null;
C1044Uj c1044Uj = (intent == null || (extras = intent.getExtras()) == null) ? null : (C1044Uj) extras.getParcelable("EXTRA_DEBIT_CARD_REQUEST_MAILING_ADDRESS");
C1438aEO c1438aEO2 = debitCardRequestInputFragment.presenter;
if (c1438aEO2 != null) {
c1438aEO = c1438aEO2;
} else {
C14957gcv.a("");
}
c1438aEO.e(c1044Uj);
}
}
public static /* synthetic */ void d(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
ROM rom = debitCardRequestInputFragment.c;
C14957gcv.e(rom);
rom.f8339o.i.setOnClickListener(new ViewOnClickListenerC10862eQy(debitCardRequestInputFragment));
}
public static /* synthetic */ void i(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.c();
}
public static /* synthetic */ void g(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
ROM rom = debitCardRequestInputFragment.c;
C14957gcv.e(rom);
rom.f8339o.d.setEnabled(false);
ROM rom2 = debitCardRequestInputFragment.c;
C14957gcv.e(rom2);
Editable text = rom2.f8339o.c.getText();
if (text != null) {
text.clear();
}
}
public static /* synthetic */ void e(DebitCardRequestInputFragment debitCardRequestInputFragment, String str) {
C14957gcv.e(debitCardRequestInputFragment, "");
C14957gcv.e(str, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.b(str);
}
public static /* synthetic */ void d(DebitCardRequestInputFragment debitCardRequestInputFragment, boolean z) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.c(z);
ROM rom = debitCardRequestInputFragment.c;
C14957gcv.e(rom);
CustomEditText customEditText = rom.f8339o.c;
customEditText.clearFocus();
C6583cXR.d(customEditText);
}
public static /* synthetic */ void f(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.a();
}
public static /* synthetic */ void j(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.b();
}
public static /* synthetic */ boolean d(DebitCardRequestInputFragment debitCardRequestInputFragment, int i) {
C14957gcv.e(debitCardRequestInputFragment, "");
if (i != 6) {
return false;
}
ROM rom = debitCardRequestInputFragment.c;
C14957gcv.e(rom);
CustomEditText customEditText = rom.f8339o.c;
customEditText.clearFocus();
C6583cXR.d(customEditText);
return false;
}
public static /* synthetic */ void e(DebitCardRequestInputFragment debitCardRequestInputFragment, Heg heg) {
C14957gcv.e(debitCardRequestInputFragment, "");
C14957gcv.e(heg, "");
if (heg.e == -1) {
debitCardRequestInputFragment.a(true);
}
}
public static /* synthetic */ void h(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
C1438aEO.a(new Object[]{c1438aEO, false}, 761838072, -761838064, System.identityHashCode(c1438aEO));
}
public static /* synthetic */ void k(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.d();
}
public static /* synthetic */ void c(DebitCardRequestInputFragment debitCardRequestInputFragment, ROM rom) {
C14957gcv.e(debitCardRequestInputFragment, "");
C14957gcv.e(rom, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
C1438aEO.a(new Object[]{c1438aEO, String.valueOf(rom.f8339o.c.getText())}, -1573053622, 1573053637, System.identityHashCode(c1438aEO));
}
public static /* synthetic */ void b(DebitCardRequestInputFragment debitCardRequestInputFragment, boolean z) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.a(z);
ROM rom = debitCardRequestInputFragment.c;
C14957gcv.e(rom);
CustomEditText customEditText = rom.f8339o.c;
customEditText.clearFocus();
C6583cXR.d(customEditText);
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
int i;
C14957gcv.e(layoutInflater, "");
View inflate = layoutInflater.inflate(R.layout.2131559540, viewGroup, false);
int i2 = R.id.bt_new_card;
Button button = (Button) qeC.e(inflate, R.id.bt_new_card);
if (button != null) {
i2 = R.id.bt_replace_card;
Button button2 = (Button) qeC.e(inflate, R.id.bt_replace_card);
if (button2 != null) {
i2 = R.id.bt_review;
Button button3 = (Button) qeC.e(inflate, R.id.bt_review);
if (button3 != null) {
i2 = R.id.cb_physical_card;
CheckBox checkBox = (CheckBox) qeC.e(inflate, R.id.cb_physical_card);
if (checkBox != null) {
i2 = R.id.cb_terms_and_conditions;
CheckBox checkBox2 = (CheckBox) qeC.e(inflate, R.id.cb_terms_and_conditions);
if (checkBox2 != null) {
i2 = R.id.circle_indicator;
CircleIndicator circleIndicator = (CircleIndicator) qeC.e(inflate, R.id.circle_indicator);
if (circleIndicator != null) {
i2 = R.id.cs_layout_checkbox_physical;
ConstraintLayout constraintLayout = (ConstraintLayout) qeC.e(inflate, R.id.cs_layout_checkbox_physical);
if (constraintLayout != null) {
i2 = R.id.cs_layout_debit_card_no;
ConstraintLayout constraintLayout2 = (ConstraintLayout) qeC.e(inflate, R.id.cs_layout_debit_card_no);
if (constraintLayout2 != null) {
i2 = R.id.cs_layout_fee;
View e = qeC.e(inflate, R.id.cs_layout_fee);
if (e != null) {
int i3 = R.id.cs_layout_annual_fee;
ConstraintLayout constraintLayout3 = (ConstraintLayout) qeC.e(e, R.id.cs_layout_annual_fee);
if (constraintLayout3 != null) {
i3 = R.id.cs_layout_delivery_fee;
ConstraintLayout constraintLayout4 = (ConstraintLayout) qeC.e(e, R.id.cs_layout_delivery_fee);
if (constraintLayout4 != null) {
i3 = R.id.cs_layout_issuing_fee;
ConstraintLayout constraintLayout5 = (ConstraintLayout) qeC.e(e, R.id.cs_layout_issuing_fee);
if (constraintLayout5 != null) {
i3 = R.id.cs_layout_total_fee;
ConstraintLayout constraintLayout6 = (ConstraintLayout) qeC.e(e, R.id.cs_layout_total_fee);
if (constraintLayout6 != null) {
i3 = R.id.ll_layout_total_fee;
LinearLayout linearLayout = (LinearLayout) qeC.e(e, R.id.ll_layout_total_fee);
if (linearLayout != null) {
i3 = R.id.tv_annual_fee;
TextView textView = (TextView) qeC.e(e, R.id.tv_annual_fee);
if (textView != null) {
i3 = R.id.tv_annual_fee_before_discount;
TextView textView2 = (TextView) qeC.e(e, R.id.tv_annual_fee_before_discount);
if (textView2 != null) {
i3 = R.id.tv_annual_fee_detail;
TextView textView3 = (TextView) qeC.e(e, R.id.tv_annual_fee_detail);
if (textView3 != null) {
i3 = R.id.tv_annual_fee_title;
TextView textView4 = (TextView) qeC.e(e, R.id.tv_annual_fee_title);
if (textView4 != null) {
i3 = R.id.tv_delivery_fee;
TextView textView5 = (TextView) qeC.e(e, R.id.tv_delivery_fee);
if (textView5 != null) {
TextView textView6 = (TextView) qeC.e(e, R.id.tv_delivery_fee_before_discount);
if (textView6 != null) {
TextView textView7 = (TextView) qeC.e(e, R.id.tv_delivery_fee_title);
if (textView7 != null) {
TextView textView8 = (TextView) qeC.e(e, R.id.tv_issuing_fee);
if (textView8 != null) {
TextView textView9 = (TextView) qeC.e(e, R.id.tv_issuing_fee_before_discount);
if (textView9 != null) {
TextView textView10 = (TextView) qeC.e(e, R.id.tv_issuing_fee_title);
if (textView10 != null) {
TextView textView11 = (TextView) qeC.e(e, R.id.tv_total_fee);
if (textView11 != null) {
TextView textView12 = (TextView) qeC.e(e, R.id.tv_total_fee_title);
if (textView12 != null) {
View e2 = qeC.e(e, R.id.vw_line_divider1);
if (e2 != null) {
View e3 = qeC.e(e, R.id.vw_line_divider2);
if (e3 != null) {
View e4 = qeC.e(e, R.id.vw_line_divider3);
if (e4 != null) {
View e5 = qeC.e(e, R.id.vw_line_divider4);
if (e5 != null) {
MHl mHl = new MHl((ConstraintLayout) e, constraintLayout3, constraintLayout4, constraintLayout5, constraintLayout6, linearLayout, textView, textView2, textView3, textView4, textView5, textView6, textView7, textView8, textView9, textView10, textView11, textView12, e2, e3, e4, e5);
ConstraintLayout constraintLayout7 = (ConstraintLayout) qeC.e(inflate, R.id.cs_layout_mailing_address_tab);
if (constraintLayout7 != null) {
ConstraintLayout constraintLayout8 = (ConstraintLayout) qeC.e(inflate, R.id.cs_layout_no_debit_card_available);
if (constraintLayout8 != null) {
View e6 = qeC.e(inflate, R.id.cs_layout_promo_code);
if (e6 != null) {
Button button4 = (Button) qeC.e(e6, R.id.bt_apply_promo_code);
if (button4 != null) {
ConstraintLayout constraintLayout9 = (ConstraintLayout) qeC.e(e6, R.id.cs_layout_input_promo_code);
if (constraintLayout9 != null) {
ConstraintLayout constraintLayout10 = (ConstraintLayout) qeC.e(e6, R.id.cs_layout_input_promo_code_success);
if (constraintLayout10 != null) {
CustomEditText customEditText = (CustomEditText) qeC.e(e6, R.id.et_promo_code);
if (customEditText != null) {
ImageButton imageButton = (ImageButton) qeC.e(e6, R.id.iv_clear_promo_code_input);
if (imageButton != null) {
ImageButton imageButton2 = (ImageButton) qeC.e(e6, R.id.iv_close_promo_code);
if (imageButton2 != null) {
TextView textView13 = (TextView) qeC.e(e6, R.id.tv_error_input_promo_code);
if (textView13 != null) {
TextView textView14 = (TextView) qeC.e(e6, R.id.tv_show_promo_code);
if (textView14 != null) {
TextView textView15 = (TextView) qeC.e(e6, R.id.tv_title_promo_code);
if (textView15 != null) {
i = R.id.vw_line_divider;
View e7 = qeC.e(e6, R.id.vw_line_divider);
if (e7 != null) {
RRw rRw = new RRw((ConstraintLayout) e6, button4, constraintLayout9, constraintLayout10, customEditText, imageButton, imageButton2, textView13, textView14, textView15, e7);
FrameLayout frameLayout = (FrameLayout) qeC.e(inflate, R.id.fragment_account_source_select);
if (frameLayout != null) {
Group group = (Group) qeC.e(inflate, R.id.group_account);
if (group != null) {
Group group2 = (Group) qeC.e(inflate, R.id.group_existing_debit_cards);
if (group2 != null) {
Group group3 = (Group) qeC.e(inflate, R.id.group_request_type);
if (group3 != null) {
Group group4 = (Group) qeC.e(inflate, R.id.group_select_debit_card_type_section);
if (group4 != null) {
Group group5 = (Group) qeC.e(inflate, R.id.group_terms_and_conditions);
if (group5 != null) {
ImageView imageView = (ImageView) qeC.e(inflate, R.id.iv_arrow_icon);
if (imageView != null) {
ImageView imageView2 = (ImageView) qeC.e(inflate, R.id.iv_error_triangle);
if (imageView2 != null) {
LinearLayout linearLayout2 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_checkbox_background);
if (linearLayout2 != null) {
LinearLayout linearLayout3 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_debit_card_no);
if (linearLayout3 != null) {
LinearLayout linearLayout4 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_mailing_address_item_container);
if (linearLayout4 != null) {
LinearLayout linearLayout5 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_mailing_address_selection);
if (linearLayout5 != null) {
Space space = (Space) qeC.e(inflate, R.id.sp_bottom_buttons);
if (space != null) {
Space space2 = (Space) qeC.e(inflate, R.id.sp_top_buttons);
if (space2 != null) {
CustomSpinnerWithTitle customSpinnerWithTitle = (CustomSpinnerWithTitle) qeC.e(inflate, R.id.swt_debit_card);
if (customSpinnerWithTitle != null) {
TextView textView16 = (TextView) qeC.e(inflate, R.id.tv_accounts_label);
if (textView16 != null) {
TextView textView17 = (TextView) qeC.e(inflate, R.id.tv_basic_account_remark);
if (textView17 != null) {
TextView textView18 = (TextView) qeC.e(inflate, R.id.tv_debit_card_number);
if (textView18 != null) {
TextView textView19 = (TextView) qeC.e(inflate, R.id.tv_debit_card_number_title);
if (textView19 != null) {
TextView textView20 = (TextView) qeC.e(inflate, R.id.tv_detail_physical_card);
if (textView20 != null) {
TextView textView21 = (TextView) qeC.e(inflate, R.id.tv_error_description);
if (textView21 != null) {
TextView textView22 = (TextView) qeC.e(inflate, R.id.tv_mailing_address);
if (textView22 != null) {
TextView textView23 = (TextView) qeC.e(inflate, R.id.tv_mailing_address_title);
if (textView23 != null) {
TextView textView24 = (TextView) qeC.e(inflate, R.id.tv_no_debit_card_error_msg);
if (textView24 != null) {
TextView textView25 = (TextView) qeC.e(inflate, R.id.tv_replace_label);
if (textView25 != null) {
TextView textView26 = (TextView) qeC.e(inflate, R.id.tv_request_type_label);
if (textView26 != null) {
TextView textView27 = (TextView) qeC.e(inflate, R.id.tv_sale_sheet);
if (textView27 != null) {
TextView textView28 = (TextView) qeC.e(inflate, R.id.tv_select_label);
if (textView28 != null) {
TextView textView29 = (TextView) qeC.e(inflate, R.id.tv_terms_and_conditions);
if (textView29 != null) {
TextView textView30 = (TextView) qeC.e(inflate, R.id.tv_title_physical_card);
if (textView30 != null) {
ViewPager viewPager = (ViewPager) qeC.e(inflate, R.id.vp_card);
if (viewPager != null) {
View e8 = qeC.e(inflate, R.id.vw_buttons_background);
if (e8 != null) {
View e9 = qeC.e(inflate, R.id.vw_itemDividerBottom);
if (e9 != null) {
View e10 = qeC.e(inflate, R.id.vw_itemDividerMiddle);
if (e10 != null) {
View e11 = qeC.e(inflate, R.id.vw_line_divider);
if (e11 != null) {
View e12 = qeC.e(inflate, R.id.vw_line_divider_debit_card_no);
if (e12 != null) {
ROM rom = new ROM((ScrollView) inflate, button, button2, button3, checkBox, checkBox2, circleIndicator, constraintLayout, constraintLayout2, mHl, constraintLayout7, constraintLayout8, rRw, frameLayout, group, group2, group3, group4, group5, imageView, imageView2, linearLayout2, linearLayout3, linearLayout4, linearLayout5, space, space2, customSpinnerWithTitle, textView16, textView17, textView18, textView19, textView20, textView21, textView22, textView23, textView24, textView25, textView26, textView27, textView28, textView29, textView30, viewPager, e8, e9, e10, e11, e12);
this.c = rom;
C14957gcv.e(rom);
ScrollView scrollView = rom.s;
C14957gcv.c(scrollView, "");
return scrollView;
}
i2 = R.id.vw_line_divider_debit_card_no;
} else {
i2 = R.id.vw_line_divider;
}
} else {
i2 = R.id.vw_itemDividerMiddle;
}
} else {
i2 = R.id.vw_itemDividerBottom;
}
} else {
i2 = R.id.vw_buttons_background;
}
} else {
i2 = R.id.vp_card;
}
} else {
i2 = R.id.tv_title_physical_card;
}
} else {
i2 = R.id.tv_terms_and_conditions;
}
} else {
i2 = R.id.tv_select_label;
}
} else {
i2 = R.id.tv_sale_sheet;
}
} else {
i2 = R.id.tv_request_type_label;
}
} else {
i2 = R.id.tv_replace_label;
}
} else {
i2 = R.id.tv_no_debit_card_error_msg;
}
} else {
i2 = R.id.tv_mailing_address_title;
}
} else {
i2 = R.id.tv_mailing_address;
}
} else {
i2 = R.id.tv_error_description;
}
} else {
i2 = R.id.tv_detail_physical_card;
}
} else {
i2 = R.id.tv_debit_card_number_title;
}
} else {
i2 = R.id.tv_debit_card_number;
}
} else {
i2 = R.id.tv_basic_account_remark;
}
} else {
i2 = R.id.tv_accounts_label;
}
} else {
i2 = R.id.swt_debit_card;
}
} else {
i2 = R.id.sp_top_buttons;
}
} else {
i2 = R.id.sp_bottom_buttons;
}
} else {
i2 = R.id.ll_layout_mailing_address_selection;
}
} else {
i2 = R.id.ll_layout_mailing_address_item_container;
}
} else {
i2 = R.id.ll_layout_debit_card_no;
}
} else {
i2 = R.id.ll_layout_checkbox_background;
}
} else {
i2 = R.id.iv_error_triangle;
}
} else {
i2 = R.id.iv_arrow_icon;
}
} else {
i2 = R.id.group_terms_and_conditions;
}
} else {
i2 = R.id.group_select_debit_card_type_section;
}
} else {
i2 = R.id.group_request_type;
}
} else {
i2 = R.id.group_existing_debit_cards;
}
} else {
i2 = R.id.group_account;
}
} else {
i2 = R.id.fragment_account_source_select;
}
}
} else {
i = R.id.tv_title_promo_code;
}
} else {
i = R.id.tv_show_promo_code;
}
} else {
i = R.id.tv_error_input_promo_code;
}
} else {
i = R.id.iv_close_promo_code;
}
} else {
i = R.id.iv_clear_promo_code_input;
}
} else {
i = R.id.et_promo_code;
}
} else {
i = R.id.cs_layout_input_promo_code_success;
}
} else {
i = R.id.cs_layout_input_promo_code;
}
} else {
i = R.id.bt_apply_promo_code;
}
throw new NullPointerException("Missing required view with ID: ".concat(e6.getResources().getResourceName(i)));
}
i2 = R.id.cs_layout_promo_code;
} else {
i2 = R.id.cs_layout_no_debit_card_available;
}
} else {
i2 = R.id.cs_layout_mailing_address_tab;
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i2)));
}
i3 = R.id.vw_line_divider4;
} else {
i3 = R.id.vw_line_divider3;
}
} else {
i3 = R.id.vw_line_divider2;
}
} else {
i3 = R.id.vw_line_divider1;
}
} else {
i3 = R.id.tv_total_fee_title;
}
} else {
i3 = R.id.tv_total_fee;
}
} else {
i3 = R.id.tv_issuing_fee_title;
}
} else {
i3 = R.id.tv_issuing_fee_before_discount;
}
} else {
i3 = R.id.tv_issuing_fee;
}
} else {
i3 = R.id.tv_delivery_fee_title;
}
} else {
i3 = R.id.tv_delivery_fee_before_discount;
}
throw new NullPointerException("Missing required view with ID: ".concat(e.getResources().getResourceName(i3)));
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(e.getResources().getResourceName(i3)));
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i2)));
}
public static /* synthetic */ void n(DebitCardRequestInputFragment debitCardRequestInputFragment) {
C14957gcv.e(debitCardRequestInputFragment, "");
C1438aEO c1438aEO = debitCardRequestInputFragment.presenter;
if (c1438aEO == null) {
C14957gcv.a("");
c1438aEO = null;
}
c1438aEO.d();
}
}