package com.scb.phone.view.fragment.registration; import android.content.Context; import android.content.Intent; import android.graphics.PorterDuff; import android.graphics.PorterDuffColorFilter; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import android.os.Bundle; import android.text.Editable; import android.text.SpannableString; import android.text.TextUtils; import android.text.TextWatcher; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.ImageButton; import android.widget.LinearLayout; import android.widget.TextView; import androidx.constraintlayout.widget.ConstraintLayout; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import com.scb.phone.R; import com.scb.phone.view.activity.BaseActivity; import com.scb.phone.view.activity.forgotpin.ForgotPinOtpActivity; import com.scb.phone.view.activity.registration.RegistrationDeadCardActivity; import com.scb.phone.view.activity.registration.RegistrationTermsAndConsActivity; import com.scb.phone.view.activity.splash.SplashActivity; import com.scb.phone.view.custom.ColorChangeableNumberPicker; import com.scb.phone.view.custom.MonthYearPickerDialog; import com.scb.phone.view.custom.common.CustomATMInput; import com.scb.phone.view.custom.common.CustomCardInformationInput; import com.scb.phone.view.fragment.registration.RegistrationCardDetailFragment; import o.C10314eAj; import o.C14957gcv; import o.C15602gz; import o.C16565pPd; import o.C7918cxR; import o.C7919cxS; import o.C7923cxW; import o.C7924cxX; import o.C7986cyg; import o.C8032czZ; import o.EnumC1258Zb; import o.EnumC1262Zd; import o.InterfaceC13391fZD; import o.InterfaceC9590dmc; import o.Tlu; import o.ZI; import o.cXG; import o.fKJ; import o.iZJ; import o.nMh; /* loaded from: classes5.dex */ public class RegistrationCardDetailFragment extends Hilt_RegistrationCardDetailFragment implements InterfaceC9590dmc { @BindView CustomATMInput atmPinInput; @BindView ImageButton btnClearCreditCardLimit; @BindView CustomCardInformationInput cardNoInput; @BindView EditText creditCardLimitInput; @BindView ConstraintLayout expiryDateView; @BindView LinearLayout faceRecognitionLayout; @BindView Button nextButton; @InterfaceC13391fZD public C7924cxX presenter; @BindView TextView tvExpiryMonth; @BindView TextView tvExpiryYear; @BindView TextView tvFaceRecognitionMessage; @BindView TextView txtVwCreditLimitOrAtmPin; private C16565pPd j = new C16565pPd(); private int c = 0; private int f = 0; private TextView.OnEditorActionListener h = new TextView.OnEditorActionListener(this) { // from class: o.fwg private RegistrationCardDetailFragment e; @Override // android.widget.TextView.OnEditorActionListener public final boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) { return RegistrationCardDetailFragment.c(this.e, i); } { this.e = this; } }; private TextView.OnEditorActionListener d = new TextView.OnEditorActionListener(this) { // from class: o.fwi private RegistrationCardDetailFragment c; @Override // android.widget.TextView.OnEditorActionListener public final boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) { return RegistrationCardDetailFragment.d(this.c, i); } { this.c = this; } }; public static RegistrationCardDetailFragment a(boolean z, EnumC1262Zd enumC1262Zd) { Bundle bundle = new Bundle(); bundle.putBoolean("EXTRA_SHOULD_DISPLAY_FACIAL_RECOGNITION", z); bundle.putSerializable("EXTRA_FLOW_TYPE", enumC1262Zd); RegistrationCardDetailFragment registrationCardDetailFragment = new RegistrationCardDetailFragment(); registrationCardDetailFragment.setArguments(bundle); return registrationCardDetailFragment; } public static RegistrationCardDetailFragment b(EnumC1262Zd enumC1262Zd, String str, String str2) { Bundle bundle = new Bundle(); bundle.putBoolean("EXTRA_SHOULD_DISPLAY_FACIAL_RECOGNITION", false); bundle.putSerializable("EXTRA_FLOW_TYPE", enumC1262Zd); bundle.putString("EXTRA_CARD_NO", str); bundle.putString("EXTRA_LIMIT", str2); RegistrationCardDetailFragment registrationCardDetailFragment = new RegistrationCardDetailFragment(); registrationCardDetailFragment.setArguments(bundle); return registrationCardDetailFragment; } @Override // androidx.fragment.app.Fragment public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { View inflate = layoutInflater.inflate(R.layout.2131559859, viewGroup, false); ButterKnife.c(this, inflate); final boolean z = (getArguments() == null || !getArguments().containsKey("EXTRA_SHOULD_DISPLAY_FACIAL_RECOGNITION")) ? false : getArguments().getBoolean("EXTRA_SHOULD_DISPLAY_FACIAL_RECOGNITION", false); EnumC1262Zd enumC1262Zd = EnumC1262Zd.FAST_EASY; if (getArguments() != null && getArguments().containsKey("EXTRA_FLOW_TYPE")) { enumC1262Zd = (EnumC1262Zd) getArguments().getSerializable("EXTRA_FLOW_TYPE"); } super.aa(); Y(); Z(); this.cardNoInput.setCardInputListener(new CustomCardInformationInput.Sts(this) { // from class: com.scb.phone.view.fragment.registration.RegistrationCardDetailFragment.1 private RegistrationCardDetailFragment e; { this.e = this; } @Override // com.scb.phone.view.custom.common.CustomCardInformationInput.Sts public final void b(boolean z2) { this.e.cardNoInput.setIcon(R.drawable.ic_sample_card_grey); } @Override // com.scb.phone.view.custom.common.CustomCardInformationInput.Sts public final void a(String str) { this.e.presenter.e(str, false); } @Override // com.scb.phone.view.custom.common.CustomCardInformationInput.Sts public final void e(String str) { this.e.presenter.e(str, true); } @Override // com.scb.phone.view.custom.common.CustomCardInformationInput.Sts public final void d() { this.e.txtVwCreditLimitOrAtmPin.setVisibility(8); RegistrationCardDetailFragment.b(this.e); this.e.atmPinInput.setVisibility(8); this.e.nextButton.setVisibility(8); } @Override // com.scb.phone.view.custom.common.CustomCardInformationInput.Sts public final void d(boolean z2) { this.e.presenter.a(z2); } @Override // com.scb.phone.view.custom.common.CustomCardInformationInput.Sts public final String c(String str) { iZJ izj = this.e.presenter.a; return C15602gz.b(str, "[^0-9]", "XXXX XXXX XXXX XXXX"); } }); this.cardNoInput.setLabel(getString(R.string.registration_card_detail_card_number)); this.cardNoInput.setHint(getString(R.string.registration_card_detail_card_number_hint)); this.cardNoInput.setErrorInLine(R.string.registration_unknown_card_error); this.cardNoInput.setStyle(R.drawable.shape_transparent_rounded_rectangle, R.color.f1852131099685); this.cardNoInput.setCardNoEditorActionListener(this.h); this.cardNoInput.setCardNumber(""); this.cardNoInput.setIcon(R.drawable.ic_sample_card_grey); this.atmPinInput.setStyle(R.drawable.shape_transparent_rounded_rectangle, R.color.f1852131099685); this.atmPinInput.setOnEditorActionListener(this.d); this.atmPinInput.setHint(getString(R.string.registration_card_detail_enter_atm_pin)); this.atmPinInput.setCardInputListener(new CustomATMInput.Sts(this) { // from class: com.scb.phone.view.fragment.registration.RegistrationCardDetailFragment.5 private RegistrationCardDetailFragment a; { this.a = this; } @Override // com.scb.phone.view.custom.common.CustomATMInput.Sts public final void e(boolean z2) { this.a.presenter.d(z2); } @Override // com.scb.phone.view.custom.common.CustomATMInput.Sts public final void a(String str) { this.a.presenter.e(str); } }); this.creditCardLimitInput.setLongClickable(false); this.creditCardLimitInput.setTextIsSelectable(false); this.creditCardLimitInput.setCustomSelectionActionModeCallback(new fKJ()); this.creditCardLimitInput.setOnEditorActionListener(this.d); this.creditCardLimitInput.addTextChangedListener(new TextWatcher(this) { // from class: com.scb.phone.view.fragment.registration.RegistrationCardDetailFragment.4 private RegistrationCardDetailFragment c; @Override // android.text.TextWatcher public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) { } @Override // android.text.TextWatcher public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) { } { this.c = this; } @Override // android.text.TextWatcher public final void afterTextChanged(Editable editable) { this.c.presenter.e(editable.toString()); this.c.presenter.d(!TextUtils.isEmpty(editable.toString())); this.c.c(true); } }); this.creditCardLimitInput.setOnFocusChangeListener(new View.OnFocusChangeListener(this) { // from class: o.fwf private RegistrationCardDetailFragment a; @Override // android.view.View.OnFocusChangeListener public final void onFocusChange(View view, boolean z2) { RegistrationCardDetailFragment.e(this.a, z2); } { this.a = this; } }); Context context = getContext(); if (context != null) { String string = context.getString(R.string.registration_card_detail_card_register_using_face_recognition); StringBuilder sb = new StringBuilder(); sb.append(string); sb.append("\u2002\u2002"); String obj = sb.toString(); LayerDrawable layerDrawable = (LayerDrawable) nMh.getDrawable(context, R.drawable.ic_face_recognition_with_chevron); if (layerDrawable != null) { Drawable findDrawableByLayerId = layerDrawable.findDrawableByLayerId(R.id.item_chevron); if (findDrawableByLayerId != null) { Tlu.pE_(Tlu.pI_(findDrawableByLayerId), nMh.getColor(context, R.color.f3092131099816)); } layerDrawable.setBounds(0, 0, layerDrawable.getIntrinsicWidth(), layerDrawable.getIntrinsicHeight()); SpannableString spannableString = new SpannableString(obj); spannableString.setSpan(new C10314eAj(layerDrawable), string.length() + 1, string.length() + 2, 33); this.tvFaceRecognitionMessage.setText(spannableString); } } if (enumC1262Zd == EnumC1262Zd.DEAD_CARD || enumC1262Zd == EnumC1262Zd.PIN_LOCK_DEAD_CARD) { C16565pPd c16565pPd = this.j; if (getActivity() != null) { c16565pPd.c(((BaseActivity) getActivity()).scbAnalytics, "registration_activate_credit_card"); } } else { C16565pPd c16565pPd2 = this.j; if (getActivity() != null) { c16565pPd2.c(((BaseActivity) getActivity()).scbAnalytics, "registration_atmcreditcard"); } } this.presenter.e((C7924cxX) this); if (!getArguments().containsKey("EXTRA_CARD_NO") || !getArguments().containsKey("EXTRA_LIMIT")) { final C7924cxX c7924cxX = this.presenter; c7924cxX.l = enumC1262Zd; ZI.IeS ieS = new ZI.IeS(c7924cxX, z) { // from class: o.cyn private C7924cxX b; private boolean e; @Override // o.ZI.IeS public final void e(Object obj2) { C7924cxX.c(this.b, this.e, (InterfaceC9590dmc) obj2); } { this.b = c7924cxX; this.e = z; } }; if (c7924cxX.f != 0) { ieS.e(c7924cxX.f); } } else { final C7924cxX c7924cxX2 = this.presenter; String string2 = getArguments().getString("EXTRA_CARD_NO"); String string3 = getArguments().getString("EXTRA_LIMIT"); c7924cxX2.l = enumC1262Zd; c7924cxX2.e = string2; c7924cxX2.c = string3; final String str = c7924cxX2.e; final String str2 = c7924cxX2.c; int i = C7924cxX.AnonymousClass4.b[enumC1262Zd.ordinal()]; if (i == 3) { ZI.IeS ieS2 = new ZI.IeS(str, str2) { // from class: o.cyd private String a; private String e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9590dmc) obj2).b(this.e, this.a); } { this.e = str; this.a = str2; } }; if (c7924cxX2.f != 0) { ieS2.e(c7924cxX2.f); } } else if (i == 4) { ZI.IeS ieS3 = new ZI.IeS(str, str2) { // from class: o.cyc private String b; private String e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9590dmc) obj2).b(this.e, this.b); } { this.e = str; this.b = str2; } }; if (c7924cxX2.f != 0) { ieS3.e(c7924cxX2.f); } } else { C7986cyg c7986cyg = new C7986cyg(); if (c7924cxX2.f != 0) { c7986cyg.e(c7924cxX2.f); } } ZI.IeS ieS4 = new ZI.IeS(c7924cxX2, z) { // from class: o.cyl private boolean a; private C7924cxX c; @Override // o.ZI.IeS public final void e(Object obj2) { C7924cxX.a(this.c, this.a, (InterfaceC9590dmc) obj2); } { this.c = c7924cxX2; this.a = z; } }; if (c7924cxX2.f != 0) { ieS4.e(c7924cxX2.f); } } return inflate; } @Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment public void onDestroy() { this.presenter.w_(); super.onDestroy(); } @OnClick public void onNextButtonClick() { this.presenter.c(); } @OnClick public void onClearCreditLimitClick() { this.creditCardLimitInput.setText(""); } @Override // com.scb.phone.view.fragment.BaseFragment public final void aa() { super.aa(); Y(); Z(); } @Override // o.InterfaceC9590dmc public final void n() { this.cardNoInput.setVisibility(0); this.cardNoInput.setCardNumber(""); this.cardNoInput.setIcon(R.drawable.ic_sample_card_grey); this.txtVwCreditLimitOrAtmPin.setVisibility(8); this.atmPinInput.setVisibility(8); this.atmPinInput.setATMNumber(""); this.creditCardLimitInput.setVisibility(8); c(false); this.creditCardLimitInput.setText(""); this.nextButton.setVisibility(8); this.expiryDateView.setVisibility(8); } @Override // o.InterfaceC9590dmc public final void b(String str, String str2) { this.cardNoInput.setVisibility(0); this.cardNoInput.setCardNumber(str); if (getContext() != null) { Drawable drawable = nMh.getDrawable(getContext(), R.drawable.ic_sample_card_grey); if (drawable != null) { drawable.setColorFilter(new PorterDuffColorFilter(nMh.getColor(getContext(), R.color.f3472131099855), PorterDuff.Mode.SRC_IN)); } this.cardNoInput.setIcon(drawable); } else { this.cardNoInput.setIcon(R.drawable.ic_sample_card_grey); } this.cardNoInput.setClickable(false); this.cardNoInput.e(); CustomCardInformationInput customCardInformationInput = this.cardNoInput; customCardInformationInput.headerLabel.setTextColor(nMh.getColor(customCardInformationInput.getContext(), R.color.f2782131099785)); customCardInformationInput.cardNoInputField.setEnabled(false); customCardInformationInput.cardNoInputField.setFocusable(false); customCardInformationInput.cardNoInputField.setClickable(false); customCardInformationInput.cardNoInputField.setTextColor(nMh.getColor(customCardInformationInput.getContext(), R.color.f2782131099785)); this.txtVwCreditLimitOrAtmPin.setVisibility(0); if (getContext() != null) { this.txtVwCreditLimitOrAtmPin.setTextColor(nMh.getColor(getContext(), R.color.f2782131099785)); } this.atmPinInput.setVisibility(8); this.atmPinInput.setATMNumber(""); this.creditCardLimitInput.setVisibility(0); c(true); this.creditCardLimitInput.setText(str2); this.creditCardLimitInput.setClickable(false); this.creditCardLimitInput.setFocusable(false); if (getContext() != null) { this.creditCardLimitInput.setTextColor(nMh.getColor(getContext(), R.color.f2782131099785)); } this.creditCardLimitInput.setEnabled(false); this.btnClearCreditCardLimit.setVisibility(8); this.nextButton.setVisibility(0); this.nextButton.setEnabled(false); this.expiryDateView.setVisibility(0); } @Override // o.InterfaceC9590dmc public final void c(String str) { u(str); } @Override // o.InterfaceC9289dgt public final void c() { this.cardNoInput.setIcon(R.drawable.ic_atm_card); } @Override // o.InterfaceC9289dgt public final void a() { this.cardNoInput.setIcon(R.drawable.ic_credit_card); } @Override // o.InterfaceC9289dgt public final void e() { this.cardNoInput.setIcon(R.drawable.ic_sample_card_grey); } @Override // o.InterfaceC9289dgt public final void b() { this.cardNoInput.setIcon(R.drawable.ic_sample_card_grey); } @Override // o.InterfaceC9289dgt public final void d() { this.cardNoInput.setErrorValidationVisibility(0); this.cardNoInput.setErrorInLine(R.string.registration_unknown_card_error); } @Override // o.InterfaceC9289dgt public final void j() { this.presenter.a(); this.presenter.d(this.atmPinInput.a()); if (this.atmPinInput.getVisibility() != 0) { this.atmPinInput.setATMNumber(""); this.atmPinInput.setVisibility(0); this.creditCardLimitInput.setVisibility(8); } this.txtVwCreditLimitOrAtmPin.setText(getString(R.string.registration_card_detail_atm_pin)); this.txtVwCreditLimitOrAtmPin.setVisibility(0); this.nextButton.setVisibility(0); } @Override // o.InterfaceC9591dmd public final void o() { this.atmPinInput.atmPin.requestFocus(); } @Override // o.InterfaceC9289dgt public final void f() { this.presenter.d(); this.presenter.d(!TextUtils.isEmpty(this.creditCardLimitInput.getText().toString())); if (this.creditCardLimitInput.getVisibility() != 0) { this.creditCardLimitInput.setText(""); this.creditCardLimitInput.setVisibility(0); c(true); this.atmPinInput.setVisibility(8); } this.txtVwCreditLimitOrAtmPin.setText(getString(R.string.registration_card_detail_credit_limit)); this.txtVwCreditLimitOrAtmPin.setVisibility(0); this.nextButton.setVisibility(0); } @Override // o.InterfaceC9591dmd public final void k() { this.creditCardLimitInput.requestFocus(); } @Override // o.InterfaceC9591dmd public final void b(boolean z) { this.nextButton.setEnabled(z); } @Override // o.InterfaceC9590dmc public final void a(boolean z) { this.faceRecognitionLayout.setVisibility(z ? 0 : 8); } @Override // o.InterfaceC9591dmd public final void i() { if (getContext() != null) { SplashActivity.b(new Object[]{getContext()}, 1199803597, -1199803588, (int) System.currentTimeMillis()); } } @Override // o.InterfaceC9590dmc public final void e(EnumC1262Zd enumC1262Zd) { Intent intent; if (getContext() != null) { if (enumC1262Zd == EnumC1262Zd.FAST_EASY) { intent = (Intent) RegistrationFacialRecognitionLandingActivity.e(new Object[]{getContext(), EnumC1258Zb.NEW_REGISTRATION}, 1185066743, -1185066743, (int) System.currentTimeMillis()); } else { intent = (Intent) RegistrationFacialRecognitionLandingActivity.e(new Object[]{getContext(), EnumC1258Zb.FORGOT_PIN}, 1185066743, -1185066743, (int) System.currentTimeMillis()); } startActivity(intent); } } @Override // o.InterfaceC9590dmc public final void d(C8032czZ.HBt hBt) { if (getContext() == null || getActivity() == null) { return; } startActivity(RegistrationTermsAndConsActivity.alr_(getContext(), hBt)); getActivity().finish(); } @Override // o.InterfaceC9590dmc public final void g() { startActivity(new Intent(getContext(), (Class) ForgotPinOtpActivity.class)); } @Override // o.InterfaceC9590dmc public final void d(String str, String str2) { Context context = getContext(); if (context != null) { startActivity(RegistrationDeadCardActivity.alh_(context, str, str2, this.presenter.l)); } } @Override // o.InterfaceC9590dmc public final void h() { Context context = getContext(); if (context != null) { MonthYearPickerDialog monthYearPickerDialog = new MonthYearPickerDialog(context); int i = this.c; ColorChangeableNumberPicker colorChangeableNumberPicker = null; if (i < monthYearPickerDialog.a.length) { monthYearPickerDialog.c = i; ColorChangeableNumberPicker colorChangeableNumberPicker2 = monthYearPickerDialog.e.monthPicker; if (colorChangeableNumberPicker2 == null) { C14957gcv.a(""); colorChangeableNumberPicker2 = null; } colorChangeableNumberPicker2.setValue(monthYearPickerDialog.c); } int i2 = this.f; if (i2 < monthYearPickerDialog.f.length) { monthYearPickerDialog.i = i2; ColorChangeableNumberPicker colorChangeableNumberPicker3 = monthYearPickerDialog.e.yearPicker; if (colorChangeableNumberPicker3 != null) { colorChangeableNumberPicker = colorChangeableNumberPicker3; } else { C14957gcv.a(""); } colorChangeableNumberPicker.setValue(monthYearPickerDialog.i); } monthYearPickerDialog.a(); MonthYearPickerDialog.IeS ieS = new MonthYearPickerDialog.IeS(this) { // from class: o.fwe private RegistrationCardDetailFragment a; @Override // com.scb.phone.view.custom.MonthYearPickerDialog.IeS public final void b(String str, String str2, int i3, int i4) { RegistrationCardDetailFragment.d(this.a, str, str2, i3, i4); } { this.a = this; } }; C14957gcv.e(ieS, ""); monthYearPickerDialog.b = ieS; monthYearPickerDialog.d.show(); } } @Override // o.InterfaceC9590dmc public final void a(String str, String str2) { this.tvExpiryMonth.setText(str); this.tvExpiryYear.setText(str2); this.tvExpiryMonth.setBackgroundResource(R.drawable.shape_purple_border_rounded_rectangle); this.tvExpiryYear.setBackgroundResource(R.drawable.shape_purple_border_rounded_rectangle); } /* JADX INFO: Access modifiers changed from: private */ public void c(boolean z) { if (!z) { this.btnClearCreditCardLimit.setVisibility(8); } else { this.btnClearCreditCardLimit.setVisibility(TextUtils.isEmpty(this.creditCardLimitInput.getText()) ? 8 : 0); } } public static /* synthetic */ void d(RegistrationCardDetailFragment registrationCardDetailFragment, final String str, final String str2, int i, int i2) { registrationCardDetailFragment.c = i; registrationCardDetailFragment.f = i2; C7924cxX c7924cxX = registrationCardDetailFragment.presenter; ZI.IeS ieS = new ZI.IeS(str, str2) { // from class: o.cyf private String b; private String e; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9590dmc) obj).a(this.b, this.e); } { this.b = str; this.e = str2; } }; if (c7924cxX.f != 0) { ieS.e(c7924cxX.f); } ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cye @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9590dmc) obj).b(true); } }; if (c7924cxX.f != 0) { ieS2.e(c7924cxX.f); } c7924cxX.h = cXG.c(str.concat(str2), "MMyy", "yyyy-MM", false); } public static /* synthetic */ void e(RegistrationCardDetailFragment registrationCardDetailFragment, boolean z) { if (z) { registrationCardDetailFragment.btnClearCreditCardLimit.setVisibility(TextUtils.isEmpty(registrationCardDetailFragment.creditCardLimitInput.getText()) ? 8 : 0); } else { registrationCardDetailFragment.btnClearCreditCardLimit.setVisibility(8); } } public static /* synthetic */ boolean c(RegistrationCardDetailFragment registrationCardDetailFragment, int i) { if (i != 5) { return false; } C7924cxX c7924cxX = registrationCardDetailFragment.presenter; C7919cxS c7919cxS = new C7919cxS(c7924cxX); if (c7924cxX.f == 0) { return true; } c7919cxS.e(c7924cxX.f); return true; } public static /* synthetic */ boolean d(RegistrationCardDetailFragment registrationCardDetailFragment, int i) { if (i != 6) { return false; } C7924cxX c7924cxX = registrationCardDetailFragment.presenter; C7918cxR c7918cxR = new C7918cxR(c7924cxX); if (c7924cxX.f == 0) { return true; } c7918cxR.e(c7924cxX.f); return true; } static /* synthetic */ void b(RegistrationCardDetailFragment registrationCardDetailFragment) { registrationCardDetailFragment.creditCardLimitInput.setVisibility(8); registrationCardDetailFragment.c(false); } @OnClick public void onExpiryMonthButtonClick() { C7924cxX c7924cxX = this.presenter; C7923cxW c7923cxW = new C7923cxW(); if (c7924cxX.f != 0) { c7923cxW.e(c7924cxX.f); } } @OnClick public void onExpiryYearButtonClick() { C7924cxX c7924cxX = this.presenter; C7923cxW c7923cxW = new C7923cxW(); if (c7924cxX.f != 0) { c7923cxW.e(c7924cxX.f); } } @OnClick public void onRegisterByFaceRecognitionClick() { final C7924cxX c7924cxX = this.presenter; ZI.IeS ieS = new ZI.IeS(c7924cxX) { // from class: o.cxY private C7924cxX b; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9590dmc) obj).e(this.b.l); } { this.b = c7924cxX; } }; if (c7924cxX.f != 0) { ieS.e(c7924cxX.f); } } }