what-the-bank/sources/com/scb/phone/view/fragment/remittance/RemittanceRecipientDetailFr...

2479 lines
135 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.remittance;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.Editable;
import android.text.InputFilter;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.text.method.DigitsKeyListener;
import android.text.method.TextKeyListener;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.widget.NestedScrollView;
import androidx.fragment.app.FragmentActivity;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import com.scb.phone.R;
import com.scb.phone.view.activity.remittance.RemittanceRecipientNationalityActivity;
import com.scb.phone.view.activity.remittance.RemittanceRecipientReceivingBankActivity;
import com.scb.phone.view.activity.remittance.RemittanceReviewActivity;
import com.scb.phone.view.custom.common.CustomEditText;
import com.scb.phone.view.custom.common.CustomInputDialog;
import com.scb.phone.view.custom.common.CustomTextviewOutlineWithIcon;
import com.scb.phone.view.custom.common.TintInputViewGroup;
import com.scb.phone.view.custom.common.TintNoteEditText;
import com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle;
import com.scb.phone.view.fragment.remittance.RemittanceRecipientDetailFragment;
import java.util.ArrayList;
import java.util.List;
import kotlin.NoWhenBranchMatchedException;
import o.AbstractC13163fSk;
import o.AbstractC14961gcz;
import o.C0520Io;
import o.C10188dy;
import o.C1109Vv;
import o.C1114Vy;
import o.C12919fLP;
import o.C14866gag;
import o.C14881gav;
import o.C14957gcv;
import o.C15602gz;
import o.C5883cCK;
import o.C5961cEe;
import o.C5962cEf;
import o.C6583cXR;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC14937gcb;
import o.InterfaceC9564dmC;
import o.KHC;
import o.MYp;
import o.OOv;
import o.VD;
import o.VH;
import o.ZI;
import o.cBG;
import o.cCM;
import o.cCT;
import o.cCX;
import o.fLJ;
import o.fSQ;
import o.fZZ;
import o.huo;
import o.nMh;
import o.qBc;
import o.qeC;
/* loaded from: classes5.dex */
public final class RemittanceRecipientDetailFragment extends Hilt_RemittanceRecipientDetailFragment implements InterfaceC9564dmC {
public static final RVV c = new RVV(0);
private CustomInputDialog d;
private final IeS f;
private final InterfaceC13393fZL g;
private final ZqN h;
private final saX i;
private final ojQ j;
private final TextView.OnEditorActionListener k;
private final CustomEditText.IeS l;
private final vUG m;
private huo<Intent> n;
/* renamed from: o, reason: collision with root package name */
private huo<Intent> f8071o;
@InterfaceC13391fZD
public C5883cCK presenter;
private huo<Intent> q;
private final InterfaceC13393fZL s;
private static int e(boolean z) {
return z ? 0 : 8;
}
public static final /* synthetic */ OOv g(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
return (OOv) remittanceRecipientDetailFragment.g.e();
}
public static final /* synthetic */ void k(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
huo<Intent> huoVar = remittanceRecipientDetailFragment.f8071o;
if (huoVar == null) {
C14957gcv.a("");
huoVar = null;
}
RemittanceRecipientNationalityActivity.Sts sts = RemittanceRecipientNationalityActivity.k;
Context requireContext = remittanceRecipientDetailFragment.requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
Intent intent = new Intent(requireContext, (Class<?>) RemittanceRecipientNationalityActivity.class);
intent.putExtra("IS_FLOW_COUNTRY_OF_BIRTH", false);
huoVar.d(intent, null);
}
public RemittanceRecipientDetailFragment() {
HBt hBt = new HBt(this);
C14957gcv.e(hBt, "");
this.g = new fZZ(hBt);
CeN ceN = new CeN(this);
C14957gcv.e(ceN, "");
this.s = new fZZ(ceN);
this.k = new TextView.OnEditorActionListener(this) { // from class: o.fyC
private RemittanceRecipientDetailFragment a;
@Override // android.widget.TextView.OnEditorActionListener
public final boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) {
return RemittanceRecipientDetailFragment.e(this.a, i);
}
{
this.a = this;
}
};
this.l = new CustomEditText.IeS(this) { // from class: o.fxY
private RemittanceRecipientDetailFragment a;
@Override // com.scb.phone.view.custom.common.CustomEditText.IeS
public final boolean e(CustomEditText customEditText, String str) {
return RemittanceRecipientDetailFragment.d(this.a, customEditText, str);
}
{
this.a = this;
}
};
this.f = new IeS(this);
this.h = new ZqN(this);
this.i = new saX(this);
this.m = new vUG(this);
this.j = new ojQ(this);
}
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public static RemittanceRecipientDetailFragment e(VD vd, VH vh) {
C14957gcv.e(vd, "");
RemittanceRecipientDetailFragment remittanceRecipientDetailFragment = new RemittanceRecipientDetailFragment();
Bundle bundle = new Bundle();
bundle.putInt("STATE", vd.ordinal());
bundle.putParcelable(CommonConstant.ReqAccessTokenParam.DISPLAY_LABEL, vh);
remittanceRecipientDetailFragment.setArguments(bundle);
return remittanceRecipientDetailFragment;
}
public /* synthetic */ RVV(byte b) {
this();
}
}
/* loaded from: classes5.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<OOv> {
private RemittanceRecipientDetailFragment d;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ OOv invoke() {
View inflate = this.d.getLayoutInflater().inflate(R.layout.2131559871, (ViewGroup) null, false);
int i = R.id.bt_action;
Button button = (Button) qeC.e(inflate, R.id.bt_action);
if (button != null) {
i = R.id.cb_terms_and_conditions;
CheckBox checkBox = (CheckBox) qeC.e(inflate, R.id.cb_terms_and_conditions);
if (checkBox != null) {
i = R.id.cs_layout_mobile_input;
ConstraintLayout constraintLayout = (ConstraintLayout) qeC.e(inflate, R.id.cs_layout_mobile_input);
if (constraintLayout != null) {
i = R.id.cs_layout_mobile_transfer_method;
ConstraintLayout constraintLayout2 = (ConstraintLayout) qeC.e(inflate, R.id.cs_layout_mobile_transfer_method);
if (constraintLayout2 != null) {
i = R.id.ctv_nationality_dropdown;
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon = (CustomTextviewOutlineWithIcon) qeC.e(inflate, R.id.ctv_nationality_dropdown);
if (customTextviewOutlineWithIcon != null) {
i = R.id.ctv_receiving_bank_dropdown;
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon2 = (CustomTextviewOutlineWithIcon) qeC.e(inflate, R.id.ctv_receiving_bank_dropdown);
if (customTextviewOutlineWithIcon2 != null) {
i = R.id.et_country_code;
CustomEditText customEditText = (CustomEditText) qeC.e(inflate, R.id.et_country_code);
if (customEditText != null) {
i = R.id.et_mobile_transfer_method;
CustomEditText customEditText2 = (CustomEditText) qeC.e(inflate, R.id.et_mobile_transfer_method);
if (customEditText2 != null) {
i = R.id.et_note;
TintNoteEditText tintNoteEditText = (TintNoteEditText) qeC.e(inflate, R.id.et_note);
if (tintNoteEditText != null) {
i = R.id.et_phone_number;
CustomEditText customEditText3 = (CustomEditText) qeC.e(inflate, R.id.et_phone_number);
if (customEditText3 != null) {
i = R.id.ivg_account_number;
TintInputViewGroup tintInputViewGroup = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_account_number);
if (tintInputViewGroup != null) {
i = R.id.ivg_address;
TintInputViewGroup tintInputViewGroup2 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_address);
if (tintInputViewGroup2 != null) {
i = R.id.ivg_bank_code;
TintInputViewGroup tintInputViewGroup3 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_bank_code);
if (tintInputViewGroup3 != null) {
i = R.id.ivg_city;
TintInputViewGroup tintInputViewGroup4 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_city);
if (tintInputViewGroup4 != null) {
i = R.id.ivg_date_of_birth;
TintInputViewGroup tintInputViewGroup5 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_date_of_birth);
if (tintInputViewGroup5 != null) {
i = R.id.ivg_email;
TintInputViewGroup tintInputViewGroup6 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_email);
if (tintInputViewGroup6 != null) {
i = R.id.ivg_email_transfer_method;
TintInputViewGroup tintInputViewGroup7 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_email_transfer_method);
if (tintInputViewGroup7 != null) {
i = R.id.ivg_first_name;
TintInputViewGroup tintInputViewGroup8 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_first_name);
if (tintInputViewGroup8 != null) {
i = R.id.ivg_last_name;
TintInputViewGroup tintInputViewGroup9 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_last_name);
if (tintInputViewGroup9 != null) {
i = R.id.ivg_national_id;
TintInputViewGroup tintInputViewGroup10 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_national_id);
if (tintInputViewGroup10 != null) {
i = R.id.ivg_nationality;
TintInputViewGroup tintInputViewGroup11 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_nationality);
if (tintInputViewGroup11 != null) {
i = R.id.ivg_passport_number;
TintInputViewGroup tintInputViewGroup12 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_passport_number);
if (tintInputViewGroup12 != null) {
TintInputViewGroup tintInputViewGroup13 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_postcode);
if (tintInputViewGroup13 != null) {
TintInputViewGroup tintInputViewGroup14 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_receiving_bank);
if (tintInputViewGroup14 != null) {
TintInputViewGroup tintInputViewGroup15 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_state);
if (tintInputViewGroup15 != null) {
TintInputViewGroup tintInputViewGroup16 = (TintInputViewGroup) qeC.e(inflate, R.id.ivg_swift_code);
if (tintInputViewGroup16 != null) {
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.ll_address_views_container);
if (linearLayout != null) {
LinearLayout linearLayout2 = (LinearLayout) qeC.e(inflate, R.id.ll_bank_views_container);
if (linearLayout2 != null) {
LinearLayout linearLayout3 = (LinearLayout) qeC.e(inflate, R.id.ll_contact_detail_views_container);
if (linearLayout3 != null) {
LinearLayout linearLayout4 = (LinearLayout) qeC.e(inflate, R.id.ll_container);
if (linearLayout4 != null) {
LinearLayout linearLayout5 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_nationality);
if (linearLayout5 != null) {
LinearLayout linearLayout6 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_receiving_bank);
if (linearLayout6 != null) {
LinearLayout linearLayout7 = (LinearLayout) qeC.e(inflate, R.id.ll_note_views_container);
if (linearLayout7 != null) {
LinearLayout linearLayout8 = (LinearLayout) qeC.e(inflate, R.id.ll_personal_detail_views_container);
if (linearLayout8 != null) {
LinearLayout linearLayout9 = (LinearLayout) qeC.e(inflate, R.id.ll_terms_and_conditions_container);
if (linearLayout9 != null) {
LinearLayout linearLayout10 = (LinearLayout) qeC.e(inflate, R.id.ll_transaction_detail_views_container);
if (linearLayout10 != null) {
CustomSpinnerWithTitle customSpinnerWithTitle = (CustomSpinnerWithTitle) qeC.e(inflate, R.id.swt_account_type);
if (customSpinnerWithTitle != null) {
CustomSpinnerWithTitle customSpinnerWithTitle2 = (CustomSpinnerWithTitle) qeC.e(inflate, R.id.swt_identification_type);
if (customSpinnerWithTitle2 != null) {
CustomSpinnerWithTitle customSpinnerWithTitle3 = (CustomSpinnerWithTitle) qeC.e(inflate, R.id.swt_purpose);
if (customSpinnerWithTitle3 != null) {
CustomSpinnerWithTitle customSpinnerWithTitle4 = (CustomSpinnerWithTitle) qeC.e(inflate, R.id.swt_title);
if (customSpinnerWithTitle4 != null) {
CustomSpinnerWithTitle customSpinnerWithTitle5 = (CustomSpinnerWithTitle) qeC.e(inflate, R.id.swt_transfer_method);
if (customSpinnerWithTitle5 != null) {
TextView textView = (TextView) qeC.e(inflate, R.id.tv_address_title);
if (textView != null) {
TextView textView2 = (TextView) qeC.e(inflate, R.id.tv_bank_title);
if (textView2 != null) {
TextView textView3 = (TextView) qeC.e(inflate, R.id.tv_contact_detail_title);
if (textView3 != null) {
TextView textView4 = (TextView) qeC.e(inflate, R.id.tv_contact_number_title);
if (textView4 != null) {
TextView textView5 = (TextView) qeC.e(inflate, R.id.tv_divider_phone_number);
if (textView5 != null) {
TextView textView6 = (TextView) qeC.e(inflate, R.id.tv_mobile_number);
if (textView6 != null) {
TextView textView7 = (TextView) qeC.e(inflate, R.id.tv_mobile_plus);
if (textView7 != null) {
TextView textView8 = (TextView) qeC.e(inflate, R.id.tv_mobile_transfer_error);
if (textView8 != null) {
TextView textView9 = (TextView) qeC.e(inflate, R.id.tv_mobile_transfer_method_desc);
if (textView9 != null) {
TextView textView10 = (TextView) qeC.e(inflate, R.id.tv_more_title);
if (textView10 != null) {
TextView textView11 = (TextView) qeC.e(inflate, R.id.tv_personal_detail_title);
if (textView11 != null) {
TextView textView12 = (TextView) qeC.e(inflate, R.id.tv_terms_and_conditions);
if (textView12 != null) {
TextView textView13 = (TextView) qeC.e(inflate, R.id.tv_terms_and_conditions_header);
if (textView13 != null) {
TextView textView14 = (TextView) qeC.e(inflate, R.id.tv_transaction_detail_title);
if (textView14 != null) {
return new OOv((NestedScrollView) inflate, button, checkBox, constraintLayout, constraintLayout2, customTextviewOutlineWithIcon, customTextviewOutlineWithIcon2, customEditText, customEditText2, tintNoteEditText, customEditText3, tintInputViewGroup, tintInputViewGroup2, tintInputViewGroup3, tintInputViewGroup4, tintInputViewGroup5, tintInputViewGroup6, tintInputViewGroup7, tintInputViewGroup8, tintInputViewGroup9, tintInputViewGroup10, tintInputViewGroup11, tintInputViewGroup12, tintInputViewGroup13, tintInputViewGroup14, tintInputViewGroup15, tintInputViewGroup16, linearLayout, linearLayout2, linearLayout3, linearLayout4, linearLayout5, linearLayout6, linearLayout7, linearLayout8, linearLayout9, linearLayout10, customSpinnerWithTitle, customSpinnerWithTitle2, customSpinnerWithTitle3, customSpinnerWithTitle4, customSpinnerWithTitle5, textView, textView2, textView3, textView4, textView5, textView6, textView7, textView8, textView9, textView10, textView11, textView12, textView13, textView14);
}
i = R.id.tv_transaction_detail_title;
} else {
i = R.id.tv_terms_and_conditions_header;
}
} else {
i = R.id.tv_terms_and_conditions;
}
} else {
i = R.id.tv_personal_detail_title;
}
} else {
i = R.id.tv_more_title;
}
} else {
i = R.id.tv_mobile_transfer_method_desc;
}
} else {
i = R.id.tv_mobile_transfer_error;
}
} else {
i = R.id.tv_mobile_plus;
}
} else {
i = R.id.tv_mobile_number;
}
} else {
i = R.id.tv_divider_phone_number;
}
} else {
i = R.id.tv_contact_number_title;
}
} else {
i = R.id.tv_contact_detail_title;
}
} else {
i = R.id.tv_bank_title;
}
} else {
i = R.id.tv_address_title;
}
} else {
i = R.id.swt_transfer_method;
}
} else {
i = R.id.swt_title;
}
} else {
i = R.id.swt_purpose;
}
} else {
i = R.id.swt_identification_type;
}
} else {
i = R.id.swt_account_type;
}
} else {
i = R.id.ll_transaction_detail_views_container;
}
} else {
i = R.id.ll_terms_and_conditions_container;
}
} else {
i = R.id.ll_personal_detail_views_container;
}
} else {
i = R.id.ll_note_views_container;
}
} else {
i = R.id.ll_layout_receiving_bank;
}
} else {
i = R.id.ll_layout_nationality;
}
} else {
i = R.id.ll_container;
}
} else {
i = R.id.ll_contact_detail_views_container;
}
} else {
i = R.id.ll_bank_views_container;
}
} else {
i = R.id.ll_address_views_container;
}
} else {
i = R.id.ivg_swift_code;
}
} else {
i = R.id.ivg_state;
}
} else {
i = R.id.ivg_receiving_bank;
}
} else {
i = R.id.ivg_postcode;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
super(0);
this.d = remittanceRecipientDetailFragment;
}
}
private final OOv s() {
return (OOv) this.g.e();
}
private C5883cCK B() {
C5883cCK c5883cCK = this.presenter;
if (c5883cCK != null) {
return c5883cCK;
}
C14957gcv.a("");
return null;
}
/* loaded from: classes5.dex */
static final class CeN extends AbstractC14961gcz implements InterfaceC14890gbN<VD> {
private RemittanceRecipientDetailFragment e;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ VD invoke() {
Bundle arguments = this.e.getArguments();
if (arguments != null) {
int i = arguments.getInt("STATE", -1);
VD vd = i >= 0 ? VD.values()[i] : null;
if (vd != null) {
return vd;
}
}
return VD.NORMAL;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
CeN(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
super(0);
this.e = remittanceRecipientDetailFragment;
}
}
/* loaded from: classes5.dex */
public static final class IeS implements TextWatcher {
private RemittanceRecipientDetailFragment d;
IeS(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
this.d = remittanceRecipientDetailFragment;
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
C14957gcv.e(charSequence, "");
CustomInputDialog customInputDialog = this.d.d;
if (customInputDialog != null) {
C5883cCK c5883cCK = this.d.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
final String valueOf = String.valueOf(customInputDialog.mEditTextView.getText());
if (valueOf == null) {
valueOf = "";
}
C14957gcv.e(valueOf, "");
ZI.IeS ieS = new ZI.IeS(valueOf) { // from class: o.cDg
private String b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5883cCK.a(this.b, (InterfaceC9564dmC) obj);
}
{
this.b = valueOf;
}
};
if (c5883cCK.f != 0) {
ieS.e(c5883cCK.f);
}
}
}
@Override // android.text.TextWatcher
public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
C14957gcv.e(charSequence, "");
}
@Override // android.text.TextWatcher
public final void afterTextChanged(Editable editable) {
C14957gcv.e(editable, "");
}
}
/* loaded from: classes5.dex */
public static final class ZqN implements CustomSpinnerWithTitle.LWm {
private RemittanceRecipientDetailFragment c;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
ZqN(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
this.c = remittanceRecipientDetailFragment;
}
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bo_() {
this.c.w();
}
}
/* loaded from: classes5.dex */
public static final class saX implements CustomSpinnerWithTitle.LWm {
private RemittanceRecipientDetailFragment a;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
saX(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
this.a = remittanceRecipientDetailFragment;
}
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bo_() {
RemittanceRecipientDetailFragment.g(this.a).d.setChecked(false);
this.a.w();
}
}
/* loaded from: classes5.dex */
public static final class vUG implements CustomSpinnerWithTitle.LWm {
private RemittanceRecipientDetailFragment b;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
vUG(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
this.b = remittanceRecipientDetailFragment;
}
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bo_() {
final C5883cCK c5883cCK = this.b.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
final int selectedItemPosition = ((MYp) RemittanceRecipientDetailFragment.g(this.b).M.c.e()).c.getSelectedItemPosition();
ZI.IeS ieS = new ZI.IeS(c5883cCK, selectedItemPosition) { // from class: o.cDk
private int d;
private C5883cCK e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5883cCK.d(this.e, this.d, (InterfaceC9564dmC) obj);
}
{
this.e = c5883cCK;
this.d = selectedItemPosition;
}
};
if (c5883cCK.f != 0) {
ieS.e(c5883cCK.f);
}
this.b.w();
}
}
/* loaded from: classes5.dex */
public static final class ojQ implements CustomSpinnerWithTitle.LWm {
private RemittanceRecipientDetailFragment b;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
ojQ(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
this.b = remittanceRecipientDetailFragment;
}
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bo_() {
final C5883cCK c5883cCK = this.b.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
final int selectedItemPosition = ((MYp) RemittanceRecipientDetailFragment.g(this.b).O.c.e()).c.getSelectedItemPosition();
ZI.IeS ieS = new ZI.IeS(selectedItemPosition, c5883cCK) { // from class: o.cCG
private C5883cCK c;
private int e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5883cCK.d(this.e, this.c, (InterfaceC9564dmC) obj);
}
{
this.e = selectedItemPosition;
this.c = c5883cCK;
}
};
if (c5883cCK.f != 0) {
ieS.e(c5883cCK.f);
}
this.b.w();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes5.dex */
public static final class NHB extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
public static final NHB b = new NHB();
@Override // o.InterfaceC14890gbN
public final /* bridge */ /* synthetic */ C14866gag invoke() {
return C14866gag.c;
}
NHB() {
super(0);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes5.dex */
public static final class jNh extends AbstractC14961gcz implements InterfaceC14937gcb<View, Boolean, C14866gag> {
private RemittanceRecipientDetailFragment a;
private InterfaceC14890gbN<C14866gag> b;
@Override // o.InterfaceC14937gcb
public final /* synthetic */ C14866gag invoke(View view, Boolean bool) {
View view2 = view;
boolean booleanValue = bool.booleanValue();
C14957gcv.e(view2, "");
RemittanceRecipientDetailFragment.c(this.a, view2, booleanValue);
if (!booleanValue) {
this.b.invoke();
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
jNh(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, InterfaceC14890gbN<C14866gag> interfaceC14890gbN) {
super(2);
this.a = remittanceRecipientDetailFragment;
this.b = interfaceC14890gbN;
}
}
private static /* synthetic */ InterfaceC14937gcb o(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
return new jNh(remittanceRecipientDetailFragment, NHB.b);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes5.dex */
public static final class dAO extends AbstractC14961gcz implements InterfaceC14937gcb<View, Boolean, C14866gag> {
private boolean b;
private RemittanceRecipientDetailFragment d;
@Override // o.InterfaceC14937gcb
public final /* synthetic */ C14866gag invoke(View view, Boolean bool) {
View view2 = view;
boolean booleanValue = bool.booleanValue();
C14957gcv.e(view2, "");
RemittanceRecipientDetailFragment.c(this.d, view2, booleanValue);
if (view2 instanceof EditText) {
RemittanceRecipientDetailFragment.axr_((EditText) view2, booleanValue, this.b);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
dAO(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, boolean z) {
super(2);
this.d = remittanceRecipientDetailFragment;
this.b = z;
}
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
C14957gcv.e(layoutInflater, "");
NestedScrollView nestedScrollView = ((OOv) this.g.e()).J;
C14957gcv.c(nestedScrollView, "");
return nestedScrollView;
}
/* JADX WARN: Removed duplicated region for block: B:108:0x07ce */
/* JADX WARN: Removed duplicated region for block: B:120:0x080c */
/* JADX WARN: Removed duplicated region for block: B:132:0x084a */
/* JADX WARN: Removed duplicated region for block: B:142:0x089a A[LOOP:0: B:140:0x0894->B:142:0x089a, LOOP_END] */
/* JADX WARN: Removed duplicated region for block: B:147:0x08be */
/* JADX WARN: Removed duplicated region for block: B:152:0x08d1 */
/* JADX WARN: Removed duplicated region for block: B:155:0x08e6 */
/* JADX WARN: Removed duplicated region for block: B:164:0x0963 */
/* JADX WARN: Removed duplicated region for block: B:170:0x09b1 A[LOOP:2: B:168:0x09ab->B:170:0x09b1, LOOP_END] */
/* JADX WARN: Removed duplicated region for block: B:175:0x09d5 */
/* JADX WARN: Removed duplicated region for block: B:180:0x09e8 */
/* JADX WARN: Removed duplicated region for block: B:183:0x09fd */
/* JADX WARN: Removed duplicated region for block: B:193:0x0ab3 */
/* JADX WARN: Removed duplicated region for block: B:198:0x0a6d A[LOOP:4: B:196:0x0a67->B:198:0x0a6d, LOOP_END] */
/* JADX WARN: Removed duplicated region for block: B:203:0x0a91 */
/* JADX WARN: Removed duplicated region for block: B:209:0x0aa5 */
/* JADX WARN: Removed duplicated region for block: B:211:0x0aaa */
/* JADX WARN: Removed duplicated region for block: B:213:0x0aa0 A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:215:0x09ed */
/* JADX WARN: Removed duplicated region for block: B:217:0x09e3 A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:219:0x08d6 */
/* JADX WARN: Removed duplicated region for block: B:221:0x08cc A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:226:0x0517 */
/* JADX WARN: Removed duplicated region for block: B:238:0x0555 */
/* JADX WARN: Removed duplicated region for block: B:250:0x0593 */
/* JADX WARN: Removed duplicated region for block: B:262:0x05ce */
/* JADX WARN: Removed duplicated region for block: B:285:0x0648 */
/* JADX WARN: Removed duplicated region for block: B:309:0x069d */
/* JADX WARN: Removed duplicated region for block: B:331:0x072a */
/* JADX WARN: Removed duplicated region for block: B:335:0x0742 */
/* JADX WARN: Removed duplicated region for block: B:346:0x0768 */
/* JADX WARN: Removed duplicated region for block: B:351:0x077b */
/* JADX WARN: Removed duplicated region for block: B:353:0x0780 */
/* JADX WARN: Removed duplicated region for block: B:355:0x0776 A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:357:0x0732 */
/* JADX WARN: Removed duplicated region for block: B:77:0x04b0 */
/* JADX WARN: Removed duplicated region for block: B:96:0x0790 */
@Override // androidx.fragment.app.Fragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onViewCreated(android.view.View r26, android.os.Bundle r27) {
/*
Method dump skipped, instructions count: 3466
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.remittance.RemittanceRecipientDetailFragment.onViewCreated(android.view.View, android.os.Bundle):void");
}
@Override // o.InterfaceC9564dmC
public final void b() {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).f8301o;
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
tintInputViewGroup.mErrorTextView.setVisibility(8);
tintInputViewGroup.setErrorText(null);
}
@Override // o.InterfaceC9564dmC
public final void m() {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).f8301o;
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_red_reounded_reactangle_border));
tintInputViewGroup.mErrorTextView.setVisibility(0);
tintInputViewGroup.setErrorText(getString(R.string.forgot_pin_personal_info_date_of_birth_error));
}
@Override // o.InterfaceC9564dmC
public final void k() {
CustomInputDialog customInputDialog = this.d;
if (customInputDialog != null) {
String string = getString(R.string.favorite_invalid_character);
customInputDialog.mErrorTextView.setVisibility(0);
customInputDialog.mErrorTextView.setText(string);
customInputDialog.mPositiveButton.setEnabled(false);
}
}
@Override // o.InterfaceC9564dmC
public final void a() {
CustomInputDialog customInputDialog = this.d;
if (customInputDialog != null) {
customInputDialog.mErrorTextView.setVisibility(8);
customInputDialog.mPositiveButton.setEnabled(true);
}
}
@Override // o.InterfaceC9564dmC
public final void n() {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).p;
if (tintInputViewGroup.getVisibility() != 0) {
tintInputViewGroup = null;
}
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
if (tintInputViewGroup2 != null) {
tintInputViewGroup2.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup2.getContext(), R.drawable.shape_red_reounded_reactangle_border));
tintInputViewGroup2.mErrorTextView.setVisibility(0);
}
}
@Override // o.InterfaceC9564dmC
public final void o() {
TintNoteEditText tintNoteEditText = ((OOv) this.g.e()).f;
tintNoteEditText.mErrorText.setVisibility(0);
tintNoteEditText.mNoteEditText.setBackground(nMh.getDrawable(tintNoteEditText.getContext(), R.drawable.shape_red_reounded_reactangle_border));
}
@Override // o.InterfaceC9564dmC
public final void b(boolean z) {
((OOv) this.g.e()).b.setEnabled(z);
}
@Override // o.InterfaceC9564dmC
public final void c(C1114Vy c1114Vy) {
C14957gcv.e(c1114Vy, "");
Context context = getContext();
if (context != null) {
huo<Intent> huoVar = this.q;
if (huoVar == null) {
C14957gcv.a("");
huoVar = null;
}
RemittanceReviewActivity.IeS ieS = RemittanceReviewActivity.f7894o;
C14957gcv.e(context, "");
C14957gcv.e(c1114Vy, "");
Intent intent = new Intent(context, (Class<?>) RemittanceReviewActivity.class);
intent.putExtra("EXTRA_REMITTANCE_REVIEW_DISPLAY", c1114Vy);
huoVar.d(intent, null);
}
}
@Override // o.InterfaceC9564dmC
public final void i() {
requireActivity().setResult(-1);
requireActivity().finish();
}
@Override // o.InterfaceC9564dmC
public final void j() {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).m;
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_red_reounded_reactangle_border));
tintInputViewGroup.mErrorTextView.setVisibility(0);
tintInputViewGroup.setErrorText(getString(R.string.remittance_recipient_account_number_input_error));
}
@Override // o.InterfaceC9564dmC
public final void d() {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).m;
tintInputViewGroup.setErrorText(null);
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
tintInputViewGroup.mErrorTextView.setVisibility(8);
}
@Override // o.InterfaceC9564dmC
public final void r() {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).C;
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_red_reounded_reactangle_border));
tintInputViewGroup.mErrorTextView.setVisibility(0);
tintInputViewGroup.setErrorText(getString(R.string.remittance_recipient_swift_code_input_error));
}
@Override // o.InterfaceC9564dmC
public final void f() {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).C;
tintInputViewGroup.setErrorText(null);
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
tintInputViewGroup.mErrorTextView.setVisibility(8);
}
@Override // o.InterfaceC9564dmC
public final void n(String str) {
C14957gcv.e(str, "");
LinearLayout linearLayout = ((OOv) this.g.e()).I;
C14957gcv.c(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
C14957gcv.e(linearLayout2, "");
linearLayout2.setVisibility(0);
((OOv) this.g.e()).T.setText(str);
}
@Override // o.InterfaceC9564dmC
public final void h() {
LinearLayout linearLayout = ((OOv) this.g.e()).I;
C14957gcv.c(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
C14957gcv.e(linearLayout2, "");
linearLayout2.setVisibility(8);
}
@Override // o.InterfaceC9564dmC
public final void h(String str) {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).v;
C14957gcv.c(tintInputViewGroup, "");
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
C14957gcv.e(tintInputViewGroup2, "");
tintInputViewGroup2.setVisibility(0);
if (tintInputViewGroup2.getVisibility() != 0) {
tintInputViewGroup2 = null;
}
TintInputViewGroup tintInputViewGroup3 = tintInputViewGroup2;
if (tintInputViewGroup3 != null) {
tintInputViewGroup3.setText(str);
}
}
@Override // o.InterfaceC9564dmC
public final void g(String str) {
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon = ((OOv) this.g.e()).h;
C14957gcv.c(customTextviewOutlineWithIcon, "");
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon2 = customTextviewOutlineWithIcon;
C14957gcv.e(customTextviewOutlineWithIcon2, "");
customTextviewOutlineWithIcon2.setVisibility(0);
if (customTextviewOutlineWithIcon2.getVisibility() != 0) {
customTextviewOutlineWithIcon2 = null;
}
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon3 = customTextviewOutlineWithIcon2;
if (customTextviewOutlineWithIcon3 != null) {
customTextviewOutlineWithIcon3.setValue(str);
}
}
@Override // o.InterfaceC9564dmC
public final void f(String str) {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).y;
C14957gcv.c(tintInputViewGroup, "");
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
C14957gcv.e(tintInputViewGroup2, "");
tintInputViewGroup2.setVisibility(0);
if (tintInputViewGroup2.getVisibility() != 0) {
tintInputViewGroup2 = null;
}
TintInputViewGroup tintInputViewGroup3 = tintInputViewGroup2;
if (tintInputViewGroup3 != null) {
tintInputViewGroup3.setText(str);
}
}
@Override // o.InterfaceC9564dmC
public final void c(String str) {
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon = ((OOv) this.g.e()).c;
C14957gcv.c(customTextviewOutlineWithIcon, "");
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon2 = customTextviewOutlineWithIcon;
C14957gcv.e(customTextviewOutlineWithIcon2, "");
customTextviewOutlineWithIcon2.setVisibility(0);
if (customTextviewOutlineWithIcon2.getVisibility() != 0) {
customTextviewOutlineWithIcon2 = null;
}
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon3 = customTextviewOutlineWithIcon2;
if (customTextviewOutlineWithIcon3 != null) {
customTextviewOutlineWithIcon3.setValue(str);
}
}
@Override // o.InterfaceC9564dmC
public final void c(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
c();
ConstraintLayout constraintLayout = ((OOv) this.g.e()).e;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
C14957gcv.e(constraintLayout2, "");
constraintLayout2.setVisibility(0);
C5883cCK c5883cCK = this.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
c5883cCK.m = String.valueOf(((OOv) this.g.e()).j.getText());
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).t;
C14957gcv.c(tintInputViewGroup, "");
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
C14957gcv.e(tintInputViewGroup2, "");
tintInputViewGroup2.setVisibility(8);
tintInputViewGroup.setText(null);
((OOv) this.g.e()).R.setText(str2);
((OOv) this.g.e()).j.setHint(str);
}
@Override // o.InterfaceC9564dmC
public final void b(String str) {
C14957gcv.e(str, "");
ConstraintLayout constraintLayout = ((OOv) this.g.e()).e;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
C14957gcv.e(constraintLayout2, "");
constraintLayout2.setVisibility(8);
((OOv) this.g.e()).j.setText((CharSequence) null);
C5883cCK c5883cCK = this.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
c5883cCK.m = null;
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).t;
C14957gcv.c(tintInputViewGroup, "");
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
C14957gcv.e(tintInputViewGroup2, "");
tintInputViewGroup2.setVisibility(0);
tintInputViewGroup.setHint(str);
tintInputViewGroup.setHintEllipsize();
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
tintInputViewGroup.mErrorTextView.setVisibility(8);
}
@Override // o.InterfaceC9564dmC
public final void g() {
ConstraintLayout constraintLayout = ((OOv) this.g.e()).e;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
C14957gcv.e(constraintLayout2, "");
constraintLayout2.setVisibility(8);
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).t;
C14957gcv.c(tintInputViewGroup, "");
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
C14957gcv.e(tintInputViewGroup2, "");
tintInputViewGroup2.setVisibility(8);
}
@Override // o.InterfaceC9564dmC
public final void e(String str) {
C14957gcv.e(str, "");
((OOv) this.g.e()).j.setText(str);
C5883cCK c5883cCK = this.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
c5883cCK.m = str;
}
@Override // o.InterfaceC9564dmC
public final void a(String str) {
C14957gcv.e(str, "");
((OOv) this.g.e()).t.setText(str);
}
@Override // o.InterfaceC9564dmC
public final void d(String str) {
C14957gcv.e(str, "");
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).t;
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup.getVisibility() != 0 ? null : tintInputViewGroup;
if (tintInputViewGroup2 != null) {
tintInputViewGroup2.setErrorText(str);
}
if (tintInputViewGroup.getVisibility() != 0) {
tintInputViewGroup = null;
}
TintInputViewGroup tintInputViewGroup3 = tintInputViewGroup;
if (tintInputViewGroup3 != null) {
tintInputViewGroup3.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup3.getContext(), R.drawable.shape_red_reounded_reactangle_border));
tintInputViewGroup3.mErrorTextView.setVisibility(0);
}
}
@Override // o.InterfaceC9564dmC
public final void e() {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).t;
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
tintInputViewGroup.mErrorTextView.setVisibility(8);
}
@Override // o.InterfaceC9564dmC
public final void l() {
TextView textView = ((OOv) this.g.e()).S;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
((OOv) this.g.e()).a.setBackgroundResource(R.drawable.shape_red_reounded_reactangle_border);
}
@Override // o.InterfaceC9564dmC
public final void c() {
TextView textView = ((OOv) this.g.e()).S;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(8);
((OOv) this.g.e()).a.setBackgroundResource(R.drawable.shape_gray_rounded_rectangle);
}
@Override // o.InterfaceC9564dmC
public final void c(boolean z) {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).s;
C14957gcv.c(tintInputViewGroup, "");
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
tintInputViewGroup2.setVisibility(z ? 0 : 8);
if (tintInputViewGroup2.getVisibility() == 8) {
tintInputViewGroup.mEditText.setText("");
}
}
@Override // o.InterfaceC9564dmC
public final void d(boolean z) {
TintInputViewGroup tintInputViewGroup = ((OOv) this.g.e()).u;
C14957gcv.c(tintInputViewGroup, "");
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
tintInputViewGroup2.setVisibility(z ? 0 : 8);
if (tintInputViewGroup2.getVisibility() == 8) {
tintInputViewGroup.mEditText.setText("");
}
}
/* loaded from: classes5.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private RemittanceRecipientDetailFragment e;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C1109Vv c1109Vv;
C5883cCK c5883cCK = this.e.presenter;
List<String> list = null;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
String obj = RemittanceRecipientDetailFragment.g(this.e).m.mEditText.getText().toString();
C14957gcv.c((Object) obj, "");
C14957gcv.e(obj, "");
VH vh = c5883cCK.e;
if (vh != null && (c1109Vv = vh.b) != null) {
list = c1109Vv.b;
}
if (!new cBG(obj, list).c(false)) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.cCY
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9564dmC) obj2).j();
}
};
if (c5883cCK.f != 0) {
ieS.e(c5883cCK.f);
}
} else {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cCZ
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9564dmC) obj2).d();
}
};
if (c5883cCK.f != 0) {
ieS2.e(c5883cCK.f);
}
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
super(0);
this.e = remittanceRecipientDetailFragment;
}
}
/* loaded from: classes5.dex */
static final class tOB extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private RemittanceRecipientDetailFragment d;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C1109Vv c1109Vv;
C5883cCK c5883cCK = this.d.presenter;
List<String> list = null;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
String obj = RemittanceRecipientDetailFragment.g(this.d).C.mEditText.getText().toString();
C14957gcv.c((Object) obj, "");
C14957gcv.e(obj, "");
VH vh = c5883cCK.e;
if (vh != null && (c1109Vv = vh.D) != null) {
list = c1109Vv.b;
}
if (!new cBG(obj, list).c(false)) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.cCL
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9564dmC) obj2).r();
}
};
if (c5883cCK.f != 0) {
ieS.e(c5883cCK.f);
}
} else {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cCQ
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9564dmC) obj2).f();
}
};
if (c5883cCK.f != 0) {
ieS2.e(c5883cCK.f);
}
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
tOB(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
super(0);
this.d = remittanceRecipientDetailFragment;
}
}
/* loaded from: classes5.dex */
public static final class Heg implements CustomTextviewOutlineWithIcon.IeS {
private RemittanceRecipientDetailFragment d;
Heg(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
this.d = remittanceRecipientDetailFragment;
}
@Override // com.scb.phone.view.custom.common.CustomTextviewOutlineWithIcon.IeS
public final void a() {
RemittanceRecipientDetailFragment.m(this.d);
}
}
/* loaded from: classes5.dex */
public static final class ZnX implements CustomTextviewOutlineWithIcon.IeS {
private RemittanceRecipientDetailFragment c;
ZnX(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
this.c = remittanceRecipientDetailFragment;
}
@Override // com.scb.phone.view.custom.common.CustomTextviewOutlineWithIcon.IeS
public final void a() {
RemittanceRecipientDetailFragment.k(this.c);
}
}
/* loaded from: classes5.dex */
public static final class mxa implements fLJ.IeS {
private RemittanceRecipientDetailFragment d;
mxa(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
this.d = remittanceRecipientDetailFragment;
}
@Override // o.fLJ.IeS
public final void b(String str) {
C14957gcv.e(str, "");
C5883cCK c5883cCK = this.d.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
C14957gcv.e(str, "");
c5883cCK.l = c5883cCK.b(str);
cCT cct = new cCT(false, c5883cCK);
if (c5883cCK.f != 0) {
cct.e(c5883cCK.f);
}
}
@Override // o.fLJ.IeS
public final void e(String str) {
C14957gcv.e(str, "");
C5883cCK c5883cCK = this.d.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
C14957gcv.e(str, "");
c5883cCK.l = c5883cCK.b(str);
cCT cct = new cCT(true, c5883cCK);
if (c5883cCK.f != 0) {
cct.e(c5883cCK.f);
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public final void w() {
String str;
OOv oOv = (OOv) this.g.e();
C5883cCK c5883cCK = this.presenter;
C5883cCK c5883cCK2 = null;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
TintInputViewGroup tintInputViewGroup = oOv.v;
if (tintInputViewGroup.getVisibility() != 0) {
tintInputViewGroup = null;
}
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
String a = c5883cCK.a(tintInputViewGroup2 != null ? tintInputViewGroup2.mEditText.getText().toString() : null);
CustomSpinnerWithTitle customSpinnerWithTitle = oOv.L;
if (customSpinnerWithTitle.getVisibility() != 0) {
customSpinnerWithTitle = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle2 = customSpinnerWithTitle;
Integer valueOf = customSpinnerWithTitle2 != null ? Integer.valueOf(((MYp) customSpinnerWithTitle2.c.e()).c.getSelectedItemPosition()) : null;
TintInputViewGroup tintInputViewGroup3 = oOv.l;
if (tintInputViewGroup3.getVisibility() != 0) {
tintInputViewGroup3 = null;
}
TintInputViewGroup tintInputViewGroup4 = tintInputViewGroup3;
String obj = tintInputViewGroup4 != null ? tintInputViewGroup4.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup5 = oOv.m;
if (tintInputViewGroup5.getVisibility() != 0) {
tintInputViewGroup5 = null;
}
TintInputViewGroup tintInputViewGroup6 = tintInputViewGroup5;
String obj2 = tintInputViewGroup6 != null ? tintInputViewGroup6.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup7 = oOv.C;
if (tintInputViewGroup7.getVisibility() != 0) {
tintInputViewGroup7 = null;
}
TintInputViewGroup tintInputViewGroup8 = tintInputViewGroup7;
String obj3 = tintInputViewGroup8 != null ? tintInputViewGroup8.mEditText.getText().toString() : null;
CustomSpinnerWithTitle customSpinnerWithTitle3 = oOv.N;
if (customSpinnerWithTitle3.getVisibility() != 0) {
customSpinnerWithTitle3 = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle4 = customSpinnerWithTitle3;
Integer valueOf2 = customSpinnerWithTitle4 != null ? Integer.valueOf(((MYp) customSpinnerWithTitle4.c.e()).c.getSelectedItemPosition()) : null;
TintInputViewGroup tintInputViewGroup9 = oOv.q;
if (tintInputViewGroup9.getVisibility() != 0) {
tintInputViewGroup9 = null;
}
TintInputViewGroup tintInputViewGroup10 = tintInputViewGroup9;
String obj4 = tintInputViewGroup10 != null ? tintInputViewGroup10.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup11 = oOv.r;
if (tintInputViewGroup11.getVisibility() != 0) {
tintInputViewGroup11 = null;
}
TintInputViewGroup tintInputViewGroup12 = tintInputViewGroup11;
String obj5 = tintInputViewGroup12 != null ? tintInputViewGroup12.mEditText.getText().toString() : null;
C5883cCK c5883cCK3 = this.presenter;
if (c5883cCK3 == null) {
C14957gcv.a("");
c5883cCK3 = null;
}
TintInputViewGroup tintInputViewGroup13 = oOv.y;
if (tintInputViewGroup13.getVisibility() != 0) {
tintInputViewGroup13 = null;
}
TintInputViewGroup tintInputViewGroup14 = tintInputViewGroup13;
String obj6 = tintInputViewGroup14 != null ? tintInputViewGroup14.mEditText.getText().toString() : null;
if (c5883cCK3.d) {
C0520Io c0520Io = c5883cCK3.f8597o;
str = c0520Io != null ? c0520Io.e : null;
} else {
str = obj6;
}
CustomSpinnerWithTitle customSpinnerWithTitle5 = oOv.M;
if (customSpinnerWithTitle5.getVisibility() != 0) {
customSpinnerWithTitle5 = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle6 = customSpinnerWithTitle5;
Integer valueOf3 = customSpinnerWithTitle6 != null ? Integer.valueOf(((MYp) customSpinnerWithTitle6.c.e()).c.getSelectedItemPosition()) : null;
TintInputViewGroup tintInputViewGroup15 = oOv.s;
if (tintInputViewGroup15.getVisibility() != 0) {
tintInputViewGroup15 = null;
}
TintInputViewGroup tintInputViewGroup16 = tintInputViewGroup15;
String obj7 = tintInputViewGroup16 != null ? tintInputViewGroup16.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup17 = oOv.u;
if (tintInputViewGroup17.getVisibility() != 0) {
tintInputViewGroup17 = null;
}
TintInputViewGroup tintInputViewGroup18 = tintInputViewGroup17;
String obj8 = tintInputViewGroup18 != null ? tintInputViewGroup18.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup19 = oOv.n;
if (tintInputViewGroup19.getVisibility() != 0) {
tintInputViewGroup19 = null;
}
TintInputViewGroup tintInputViewGroup20 = tintInputViewGroup19;
String obj9 = tintInputViewGroup20 != null ? tintInputViewGroup20.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup21 = oOv.k;
if (tintInputViewGroup21.getVisibility() != 0) {
tintInputViewGroup21 = null;
}
TintInputViewGroup tintInputViewGroup22 = tintInputViewGroup21;
String obj10 = tintInputViewGroup22 != null ? tintInputViewGroup22.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup23 = oOv.x;
if (tintInputViewGroup23.getVisibility() != 0) {
tintInputViewGroup23 = null;
}
TintInputViewGroup tintInputViewGroup24 = tintInputViewGroup23;
String obj11 = tintInputViewGroup24 != null ? tintInputViewGroup24.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup25 = oOv.w;
if (tintInputViewGroup25.getVisibility() != 0) {
tintInputViewGroup25 = null;
}
TintInputViewGroup tintInputViewGroup26 = tintInputViewGroup25;
String obj12 = tintInputViewGroup26 != null ? tintInputViewGroup26.mEditText.getText().toString() : null;
CustomEditText customEditText = oOv.i;
if (customEditText.getVisibility() != 0) {
customEditText = null;
}
CustomEditText customEditText2 = customEditText;
String valueOf4 = String.valueOf(customEditText2 != null ? customEditText2.getText() : null);
CustomEditText customEditText3 = oOv.g;
if (customEditText3.getVisibility() != 0) {
customEditText3 = null;
}
CustomEditText customEditText4 = customEditText3;
String valueOf5 = String.valueOf(customEditText4 != null ? customEditText4.getText() : null);
TintInputViewGroup tintInputViewGroup27 = oOv.p;
if (tintInputViewGroup27.getVisibility() != 0) {
tintInputViewGroup27 = null;
}
TintInputViewGroup tintInputViewGroup28 = tintInputViewGroup27;
String obj13 = tintInputViewGroup28 != null ? tintInputViewGroup28.mEditText.getText().toString() : null;
CustomSpinnerWithTitle customSpinnerWithTitle7 = oOv.K;
if (customSpinnerWithTitle7.getVisibility() != 0) {
customSpinnerWithTitle7 = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle8 = customSpinnerWithTitle7;
Integer valueOf6 = customSpinnerWithTitle8 != null ? Integer.valueOf(((MYp) customSpinnerWithTitle8.c.e()).c.getSelectedItemPosition()) : null;
boolean isChecked = oOv.d.isChecked();
TintInputViewGroup tintInputViewGroup29 = oOv.f8301o;
if (tintInputViewGroup29.getVisibility() != 0) {
tintInputViewGroup29 = null;
}
TintInputViewGroup tintInputViewGroup30 = tintInputViewGroup29;
String obj14 = tintInputViewGroup30 != null ? tintInputViewGroup30.mEditText.getText().toString() : null;
CustomSpinnerWithTitle customSpinnerWithTitle9 = oOv.O;
if (customSpinnerWithTitle9.getVisibility() != 0) {
customSpinnerWithTitle9 = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle10 = customSpinnerWithTitle9;
Integer valueOf7 = customSpinnerWithTitle10 != null ? Integer.valueOf(((MYp) customSpinnerWithTitle10.c.e()).c.getSelectedItemPosition()) : null;
TintInputViewGroup tintInputViewGroup31 = oOv.t;
if (tintInputViewGroup31.getVisibility() != 0) {
tintInputViewGroup31 = null;
}
TintInputViewGroup tintInputViewGroup32 = tintInputViewGroup31;
C5962cEf c5962cEf = new C5962cEf(a, valueOf, obj, obj2, obj3, valueOf2, obj4, obj5, str, valueOf3, obj7, obj8, obj9, obj10, obj11, obj12, valueOf4, valueOf5, obj13, valueOf6, isChecked, obj14, valueOf7, tintInputViewGroup32 != null ? tintInputViewGroup32.mEditText.getText().toString() : null);
C5883cCK c5883cCK4 = this.presenter;
if (c5883cCK4 != null) {
c5883cCK2 = c5883cCK4;
} else {
C14957gcv.a("");
}
c5883cCK2.a(c5962cEf);
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroyView() {
OOv oOv = (OOv) this.g.e();
TintInputViewGroup tintInputViewGroup = oOv.v;
C14957gcv.c(tintInputViewGroup, "");
d(tintInputViewGroup);
CustomSpinnerWithTitle customSpinnerWithTitle = oOv.L;
C14957gcv.c(customSpinnerWithTitle, "");
CustomSpinnerWithTitle customSpinnerWithTitle2 = customSpinnerWithTitle;
huo<Intent> huoVar = null;
if (customSpinnerWithTitle2.getVisibility() != 0) {
customSpinnerWithTitle2 = null;
}
if (customSpinnerWithTitle2 != null) {
customSpinnerWithTitle.setOnCustomSpinnerWithTitleCompletion(null);
}
TintInputViewGroup tintInputViewGroup2 = oOv.l;
C14957gcv.c(tintInputViewGroup2, "");
d(tintInputViewGroup2);
TintInputViewGroup tintInputViewGroup3 = oOv.m;
C14957gcv.c(tintInputViewGroup3, "");
d(tintInputViewGroup3);
TintInputViewGroup tintInputViewGroup4 = oOv.C;
C14957gcv.c(tintInputViewGroup4, "");
d(tintInputViewGroup4);
TintInputViewGroup tintInputViewGroup5 = oOv.f8301o;
C14957gcv.c(tintInputViewGroup5, "");
d(tintInputViewGroup5);
CustomSpinnerWithTitle customSpinnerWithTitle3 = oOv.N;
C14957gcv.c(customSpinnerWithTitle3, "");
CustomSpinnerWithTitle customSpinnerWithTitle4 = customSpinnerWithTitle3;
if (customSpinnerWithTitle4.getVisibility() != 0) {
customSpinnerWithTitle4 = null;
}
if (customSpinnerWithTitle4 != null) {
customSpinnerWithTitle3.setOnCustomSpinnerWithTitleCompletion(null);
}
TintInputViewGroup tintInputViewGroup6 = oOv.q;
C14957gcv.c(tintInputViewGroup6, "");
d(tintInputViewGroup6);
TintInputViewGroup tintInputViewGroup7 = oOv.r;
C14957gcv.c(tintInputViewGroup7, "");
d(tintInputViewGroup7);
TintInputViewGroup tintInputViewGroup8 = oOv.y;
C14957gcv.c(tintInputViewGroup8, "");
d(tintInputViewGroup8);
CustomSpinnerWithTitle customSpinnerWithTitle5 = oOv.M;
C14957gcv.c(customSpinnerWithTitle5, "");
CustomSpinnerWithTitle customSpinnerWithTitle6 = customSpinnerWithTitle5;
if (customSpinnerWithTitle6.getVisibility() != 0) {
customSpinnerWithTitle6 = null;
}
if (customSpinnerWithTitle6 != null) {
customSpinnerWithTitle5.setOnCustomSpinnerWithTitleCompletion(null);
}
TintInputViewGroup tintInputViewGroup9 = oOv.s;
C14957gcv.c(tintInputViewGroup9, "");
d(tintInputViewGroup9);
TintInputViewGroup tintInputViewGroup10 = oOv.u;
C14957gcv.c(tintInputViewGroup10, "");
d(tintInputViewGroup10);
TintInputViewGroup tintInputViewGroup11 = oOv.n;
C14957gcv.c(tintInputViewGroup11, "");
d(tintInputViewGroup11);
TintInputViewGroup tintInputViewGroup12 = oOv.k;
C14957gcv.c(tintInputViewGroup12, "");
d(tintInputViewGroup12);
TintInputViewGroup tintInputViewGroup13 = oOv.x;
C14957gcv.c(tintInputViewGroup13, "");
d(tintInputViewGroup13);
TintInputViewGroup tintInputViewGroup14 = oOv.w;
C14957gcv.c(tintInputViewGroup14, "");
d(tintInputViewGroup14);
CustomEditText customEditText = oOv.i;
C14957gcv.c(customEditText, "");
e(customEditText);
CustomEditText customEditText2 = oOv.g;
C14957gcv.c(customEditText2, "");
e(customEditText2);
TintInputViewGroup tintInputViewGroup15 = oOv.p;
C14957gcv.c(tintInputViewGroup15, "");
d(tintInputViewGroup15);
CustomSpinnerWithTitle customSpinnerWithTitle7 = oOv.K;
C14957gcv.c(customSpinnerWithTitle7, "");
CustomSpinnerWithTitle customSpinnerWithTitle8 = customSpinnerWithTitle7;
if (customSpinnerWithTitle8.getVisibility() != 0) {
customSpinnerWithTitle8 = null;
}
if (customSpinnerWithTitle8 != null) {
customSpinnerWithTitle7.setOnCustomSpinnerWithTitleCompletion(null);
}
CustomSpinnerWithTitle customSpinnerWithTitle9 = oOv.O;
C14957gcv.c(customSpinnerWithTitle9, "");
CustomSpinnerWithTitle customSpinnerWithTitle10 = customSpinnerWithTitle9;
if (customSpinnerWithTitle10.getVisibility() != 0) {
customSpinnerWithTitle10 = null;
}
if (customSpinnerWithTitle10 != null) {
customSpinnerWithTitle9.setOnCustomSpinnerWithTitleCompletion(null);
}
TintInputViewGroup tintInputViewGroup16 = oOv.t;
C14957gcv.c(tintInputViewGroup16, "");
d(tintInputViewGroup16);
oOv.f.mNoteEditText.setOnFocusChangeListener(null);
CustomEditText customEditText3 = oOv.j;
C14957gcv.c(customEditText3, "");
e(customEditText3);
huo<Intent> huoVar2 = this.n;
if (huoVar2 == null) {
C14957gcv.a("");
huoVar2 = null;
}
huoVar2.e();
huo<Intent> huoVar3 = this.f8071o;
if (huoVar3 == null) {
C14957gcv.a("");
huoVar3 = null;
}
huoVar3.e();
huo<Intent> huoVar4 = this.q;
if (huoVar4 == null) {
C14957gcv.a("");
} else {
huoVar = huoVar4;
}
huoVar.e();
super.onDestroyView();
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes5.dex */
public static final class jbe extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
public static final jbe b = new jbe();
@Override // o.InterfaceC14890gbN
public final /* bridge */ /* synthetic */ C14866gag invoke() {
return C14866gag.c;
}
jbe() {
super(0);
}
}
private static /* synthetic */ void b(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, TintInputViewGroup tintInputViewGroup, String str, InterfaceC14890gbN interfaceC14890gbN, boolean z, int i) {
if ((i & 2) != 0) {
str = "^[a-zA-Z0-9 ]+$";
}
String str2 = str;
if ((i & 8) != 0) {
interfaceC14890gbN = jbe.b;
}
InterfaceC14890gbN interfaceC14890gbN2 = interfaceC14890gbN;
if ((i & 16) != 0) {
z = false;
}
remittanceRecipientDetailFragment.c(tintInputViewGroup, str2, null, interfaceC14890gbN2, z);
}
private final void c(TintInputViewGroup tintInputViewGroup, String str, Integer num, InterfaceC14890gbN<C14866gag> interfaceC14890gbN, boolean z) {
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
if (tintInputViewGroup2.getVisibility() != 0) {
tintInputViewGroup2 = null;
}
if (tintInputViewGroup2 == null) {
return;
}
final jNh jnh = new jNh(this, interfaceC14890gbN);
tintInputViewGroup.setFocusListener(new View.OnFocusChangeListener(jnh) { // from class: o.fyh
private InterfaceC14937gcb d;
@Override // android.view.View.OnFocusChangeListener
public final void onFocusChange(View view, boolean z2) {
RemittanceRecipientDetailFragment.d(this.d, view, z2);
}
{
this.d = jnh;
}
});
tintInputViewGroup.setOnEditorActionListener(this.k);
tintInputViewGroup.setOnPasteListener(this.l);
tintInputViewGroup.setOnBackListener(new CustomEditText.LWm(this) { // from class: o.fyj
private RemittanceRecipientDetailFragment a;
@Override // com.scb.phone.view.custom.common.CustomEditText.LWm
public final void a() {
RemittanceRecipientDetailFragment.d(this.a);
}
{
this.a = this;
}
});
ArrayList c2 = C14881gav.c(new C12919fLP(str));
if (num != null) {
c2.add(new InputFilter.LengthFilter(num.intValue()));
}
if (z) {
c2.add(new InputFilter.AllCaps());
}
tintInputViewGroup.setFilterList((InputFilter[]) c2.toArray(new InputFilter[0]));
}
private static /* synthetic */ void c(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, CustomSpinnerWithTitle customSpinnerWithTitle) {
ZqN zqN = remittanceRecipientDetailFragment.h;
CustomSpinnerWithTitle customSpinnerWithTitle2 = customSpinnerWithTitle;
if (customSpinnerWithTitle2.getVisibility() != 0) {
customSpinnerWithTitle2 = null;
}
if (customSpinnerWithTitle2 != null) {
customSpinnerWithTitle.setOnCustomSpinnerWithTitleCompletion(zqN);
}
}
private static void a(CustomSpinnerWithTitle customSpinnerWithTitle, CustomSpinnerWithTitle.LWm lWm) {
CustomSpinnerWithTitle customSpinnerWithTitle2 = customSpinnerWithTitle;
if (customSpinnerWithTitle2.getVisibility() != 0) {
customSpinnerWithTitle2 = null;
}
if (customSpinnerWithTitle2 == null) {
return;
}
customSpinnerWithTitle.setOnCustomSpinnerWithTitleCompletion(lWm);
}
private final void d(TintInputViewGroup tintInputViewGroup, String str, boolean z, boolean z2) {
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
if (tintInputViewGroup2.getVisibility() != 0) {
tintInputViewGroup2 = null;
}
if (tintInputViewGroup2 != null || z2) {
final dAO dao = new dAO(this, z);
tintInputViewGroup.setFocusListener(new View.OnFocusChangeListener(dao) { // from class: o.fyf
private InterfaceC14937gcb a;
@Override // android.view.View.OnFocusChangeListener
public final void onFocusChange(View view, boolean z3) {
RemittanceRecipientDetailFragment.a(this.a, view, z3);
}
{
this.a = dao;
}
});
tintInputViewGroup.setOnEditorActionListener(this.k);
tintInputViewGroup.setOnPasteListener(this.l);
tintInputViewGroup.setOnBackListener(new CustomEditText.LWm(this) { // from class: o.fyd
private RemittanceRecipientDetailFragment d;
@Override // com.scb.phone.view.custom.common.CustomEditText.LWm
public final void a() {
RemittanceRecipientDetailFragment.j(this.d);
}
{
this.d = this;
}
});
tintInputViewGroup.setFilter(str);
}
}
/* JADX INFO: Access modifiers changed from: private */
public static void axr_(EditText editText, boolean z, boolean z2) {
TextKeyListener textKeyListener;
if (z) {
if (z2) {
textKeyListener = DigitsKeyListener.getInstance("0123456789/");
} else if (!z2) {
textKeyListener = TextKeyListener.getInstance();
} else {
throw new NoWhenBranchMatchedException();
}
editText.setKeyListener(textKeyListener);
editText.setEllipsize(null);
return;
}
editText.setKeyListener(null);
editText.setEllipsize(TextUtils.TruncateAt.END);
}
private static <T extends View> T d(T t) {
if (t.getVisibility() != 0) {
return null;
}
return t;
}
public static /* synthetic */ void b(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, TintInputViewGroup tintInputViewGroup) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(tintInputViewGroup, "");
C5883cCK c5883cCK = remittanceRecipientDetailFragment.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
cCM ccm = new cCM(tintInputViewGroup.mEditText.getText().toString(), c5883cCK);
if (c5883cCK.f != 0) {
ccm.e(c5883cCK.f);
}
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ void a(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ void c(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ void b(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, Context context) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(context, "");
CustomInputDialog customInputDialog = remittanceRecipientDetailFragment.d;
if (customInputDialog != null) {
customInputDialog.show();
}
}
/* JADX WARN: Removed duplicated region for block: B:23:0x0093 */
/* JADX WARN: Removed duplicated region for block: B:250:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:27:0x00a3 */
/* JADX WARN: Removed duplicated region for block: B:35:0x00cc */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void e(final com.scb.phone.view.fragment.remittance.RemittanceRecipientDetailFragment r40) {
/*
Method dump skipped, instructions count: 1257
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.remittance.RemittanceRecipientDetailFragment.e(com.scb.phone.view.fragment.remittance.RemittanceRecipientDetailFragment):void");
}
public static /* synthetic */ void d(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, o.Heg heg) {
Intent intent;
Parcelable parcelable;
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(heg, "");
if (heg.e != -1 || (intent = heg.b) == null) {
return;
}
C5883cCK c5883cCK = null;
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras = intent.getExtras();
parcelable = extras != null ? (Parcelable) extras.getParcelable("COMMON_INPUT_DATA_EXTRA", C0520Io.class) : null;
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("COMMON_INPUT_DATA_EXTRA") : null;
if (!(parcelable2 instanceof C0520Io)) {
parcelable2 = null;
}
parcelable = (C0520Io) parcelable2;
}
C0520Io c0520Io = (C0520Io) parcelable;
if (c0520Io != null) {
C5883cCK c5883cCK2 = remittanceRecipientDetailFragment.presenter;
if (c5883cCK2 != null) {
c5883cCK = c5883cCK2;
} else {
C14957gcv.a("");
}
C14957gcv.e(c0520Io, "");
c5883cCK.f8597o = c0520Io;
((OOv) remittanceRecipientDetailFragment.g.e()).c.setValue(c0520Io.e);
remittanceRecipientDetailFragment.w();
}
}
public static /* synthetic */ void b(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, o.Heg heg) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(heg, "");
if (heg.e == -1) {
Intent intent = heg.b;
boolean booleanExtra = intent != null ? intent.getBooleanExtra("EXTRA_IS_FROM_REVIEW", false) : false;
Intent intent2 = new Intent();
intent2.putExtra("EXTRA_IS_FROM_REVIEW", booleanExtra);
FragmentActivity activity = remittanceRecipientDetailFragment.getActivity();
if (activity != null) {
activity.setResult(-1, intent2);
activity.finish();
}
}
}
public static /* synthetic */ void e(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, TintInputViewGroup tintInputViewGroup, TintInputViewGroup tintInputViewGroup2, boolean z) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(tintInputViewGroup, "");
C14957gcv.e(tintInputViewGroup2, "");
CustomEditText customEditText = tintInputViewGroup.mEditText;
C14957gcv.c(customEditText, "");
axr_(customEditText, z, false);
if (z) {
return;
}
C5883cCK c5883cCK = remittanceRecipientDetailFragment.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
cCM ccm = new cCM(tintInputViewGroup2.mEditText.getText().toString(), c5883cCK);
if (c5883cCK.f != 0) {
ccm.e(c5883cCK.f);
}
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ boolean e(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, int i) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
if (i != 5 && i != 6) {
return true;
}
remittanceRecipientDetailFragment.w();
return false;
}
public static /* synthetic */ boolean d(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, CustomEditText customEditText, String str) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
customEditText.setText(str);
remittanceRecipientDetailFragment.w();
return true;
}
public static /* synthetic */ void c(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, o.Heg heg) {
Intent intent;
Parcelable parcelable;
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(heg, "");
if (heg.e != -1 || (intent = heg.b) == null) {
return;
}
C5883cCK c5883cCK = null;
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras = intent.getExtras();
parcelable = extras != null ? (Parcelable) extras.getParcelable("COMMON_INPUT_DATA_EXTRA", C0520Io.class) : null;
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("COMMON_INPUT_DATA_EXTRA") : null;
if (!(parcelable2 instanceof C0520Io)) {
parcelable2 = null;
}
parcelable = (C0520Io) parcelable2;
}
C0520Io c0520Io = (C0520Io) parcelable;
if (c0520Io != null) {
C5883cCK c5883cCK2 = remittanceRecipientDetailFragment.presenter;
if (c5883cCK2 != null) {
c5883cCK = c5883cCK2;
} else {
C14957gcv.a("");
}
C14957gcv.e(c0520Io, "");
c5883cCK.p = c0520Io;
((OOv) remittanceRecipientDetailFragment.g.e()).h.setValue(c0520Io.e);
remittanceRecipientDetailFragment.w();
}
}
public static /* synthetic */ void b(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ void axo_(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, DialogInterface dialogInterface) {
final C5883cCK c5883cCK;
C0520Io c0520Io;
Editable text;
Editable text2;
C14957gcv.e(remittanceRecipientDetailFragment, "");
CustomInputDialog customInputDialog = remittanceRecipientDetailFragment.d;
String valueOf = customInputDialog != null ? String.valueOf(customInputDialog.mEditTextView.getText()) : null;
if (valueOf != null) {
if (!((Boolean) C6583cXR.c(new Object[]{valueOf}, -1032102340, 1032102340, (int) System.currentTimeMillis())).booleanValue()) {
CustomInputDialog customInputDialog2 = remittanceRecipientDetailFragment.d;
if (customInputDialog2 != null) {
String string = remittanceRecipientDetailFragment.getString(R.string.favorite_invalid_character);
customInputDialog2.mErrorTextView.setVisibility(0);
customInputDialog2.mErrorTextView.setText(string);
return;
}
return;
}
if (dialogInterface != null) {
dialogInterface.dismiss();
}
C5883cCK c5883cCK2 = remittanceRecipientDetailFragment.presenter;
if (c5883cCK2 == null) {
C14957gcv.a("");
c5883cCK2 = null;
}
String a = c5883cCK2.a(((OOv) remittanceRecipientDetailFragment.g.e()).s.mEditText.getText().toString(), ((OOv) remittanceRecipientDetailFragment.g.e()).u.mEditText.getText().toString());
OOv oOv = (OOv) remittanceRecipientDetailFragment.g.e();
C5883cCK c5883cCK3 = remittanceRecipientDetailFragment.presenter;
if (c5883cCK3 == null) {
C14957gcv.a("");
c5883cCK3 = null;
}
TintInputViewGroup tintInputViewGroup = oOv.v;
if (tintInputViewGroup.getVisibility() != 0) {
tintInputViewGroup = null;
}
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
String a2 = c5883cCK3.a(tintInputViewGroup2 != null ? tintInputViewGroup2.mEditText.getText().toString() : null);
CustomSpinnerWithTitle customSpinnerWithTitle = oOv.L;
if (customSpinnerWithTitle.getVisibility() != 0) {
customSpinnerWithTitle = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle2 = customSpinnerWithTitle;
String d = customSpinnerWithTitle2 != null ? customSpinnerWithTitle2.d() : null;
TintInputViewGroup tintInputViewGroup3 = oOv.l;
if (tintInputViewGroup3.getVisibility() != 0) {
tintInputViewGroup3 = null;
}
TintInputViewGroup tintInputViewGroup4 = tintInputViewGroup3;
String obj = tintInputViewGroup4 != null ? tintInputViewGroup4.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup5 = oOv.m;
if (tintInputViewGroup5.getVisibility() != 0) {
tintInputViewGroup5 = null;
}
TintInputViewGroup tintInputViewGroup6 = tintInputViewGroup5;
String obj2 = tintInputViewGroup6 != null ? tintInputViewGroup6.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup7 = oOv.C;
if (tintInputViewGroup7.getVisibility() != 0) {
tintInputViewGroup7 = null;
}
TintInputViewGroup tintInputViewGroup8 = tintInputViewGroup7;
String obj3 = tintInputViewGroup8 != null ? tintInputViewGroup8.mEditText.getText().toString() : null;
CustomSpinnerWithTitle customSpinnerWithTitle3 = oOv.N;
if (customSpinnerWithTitle3.getVisibility() != 0) {
customSpinnerWithTitle3 = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle4 = customSpinnerWithTitle3;
String d2 = customSpinnerWithTitle4 != null ? customSpinnerWithTitle4.d() : null;
TintInputViewGroup tintInputViewGroup9 = oOv.q;
if (tintInputViewGroup9.getVisibility() != 0) {
tintInputViewGroup9 = null;
}
TintInputViewGroup tintInputViewGroup10 = tintInputViewGroup9;
String obj4 = tintInputViewGroup10 != null ? tintInputViewGroup10.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup11 = oOv.r;
if (tintInputViewGroup11.getVisibility() != 0) {
tintInputViewGroup11 = null;
}
TintInputViewGroup tintInputViewGroup12 = tintInputViewGroup11;
String obj5 = tintInputViewGroup12 != null ? tintInputViewGroup12.mEditText.getText().toString() : null;
C5883cCK c5883cCK4 = remittanceRecipientDetailFragment.presenter;
if (c5883cCK4 == null) {
C14957gcv.a("");
c5883cCK4 = null;
}
TintInputViewGroup tintInputViewGroup13 = oOv.y;
if (tintInputViewGroup13.getVisibility() != 0) {
tintInputViewGroup13 = null;
}
TintInputViewGroup tintInputViewGroup14 = tintInputViewGroup13;
String obj6 = tintInputViewGroup14 != null ? tintInputViewGroup14.mEditText.getText().toString() : null;
if (c5883cCK4.d) {
C0520Io c0520Io2 = c5883cCK4.f8597o;
obj6 = c0520Io2 != null ? c0520Io2.e : null;
}
CustomSpinnerWithTitle customSpinnerWithTitle5 = oOv.M;
if (customSpinnerWithTitle5.getVisibility() != 0) {
customSpinnerWithTitle5 = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle6 = customSpinnerWithTitle5;
String d3 = customSpinnerWithTitle6 != null ? customSpinnerWithTitle6.d() : null;
TintInputViewGroup tintInputViewGroup15 = oOv.n;
if (tintInputViewGroup15.getVisibility() != 0) {
tintInputViewGroup15 = null;
}
TintInputViewGroup tintInputViewGroup16 = tintInputViewGroup15;
String obj7 = tintInputViewGroup16 != null ? tintInputViewGroup16.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup17 = oOv.k;
if (tintInputViewGroup17.getVisibility() != 0) {
tintInputViewGroup17 = null;
}
TintInputViewGroup tintInputViewGroup18 = tintInputViewGroup17;
String obj8 = tintInputViewGroup18 != null ? tintInputViewGroup18.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup19 = oOv.x;
if (tintInputViewGroup19.getVisibility() != 0) {
tintInputViewGroup19 = null;
}
TintInputViewGroup tintInputViewGroup20 = tintInputViewGroup19;
String obj9 = tintInputViewGroup20 != null ? tintInputViewGroup20.mEditText.getText().toString() : null;
TintInputViewGroup tintInputViewGroup21 = oOv.w;
if (tintInputViewGroup21.getVisibility() != 0) {
tintInputViewGroup21 = null;
}
TintInputViewGroup tintInputViewGroup22 = tintInputViewGroup21;
String obj10 = tintInputViewGroup22 != null ? tintInputViewGroup22.mEditText.getText().toString() : null;
CustomEditText customEditText = oOv.i;
if (customEditText.getVisibility() != 0) {
customEditText = null;
}
CustomEditText customEditText2 = customEditText;
String obj11 = (customEditText2 == null || (text2 = customEditText2.getText()) == null) ? null : text2.toString();
CustomEditText customEditText3 = oOv.g;
if (customEditText3.getVisibility() != 0) {
customEditText3 = null;
}
CustomEditText customEditText4 = customEditText3;
String obj12 = (customEditText4 == null || (text = customEditText4.getText()) == null) ? null : text.toString();
TintInputViewGroup tintInputViewGroup23 = oOv.p;
if (tintInputViewGroup23.getVisibility() != 0) {
tintInputViewGroup23 = null;
}
TintInputViewGroup tintInputViewGroup24 = tintInputViewGroup23;
String obj13 = tintInputViewGroup24 != null ? tintInputViewGroup24.mEditText.getText().toString() : null;
CustomSpinnerWithTitle customSpinnerWithTitle7 = oOv.K;
if (customSpinnerWithTitle7.getVisibility() != 0) {
customSpinnerWithTitle7 = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle8 = customSpinnerWithTitle7;
String d4 = customSpinnerWithTitle8 != null ? customSpinnerWithTitle8.d() : null;
C5883cCK c5883cCK5 = remittanceRecipientDetailFragment.presenter;
if (c5883cCK5 == null) {
C14957gcv.a("");
c5883cCK5 = null;
}
String str = (!c5883cCK5.k || (c0520Io = c5883cCK5.p) == null) ? null : c0520Io.a;
C5883cCK c5883cCK6 = remittanceRecipientDetailFragment.presenter;
if (c5883cCK6 == null) {
C14957gcv.a("");
c5883cCK6 = null;
}
TintInputViewGroup tintInputViewGroup25 = oOv.f8301o;
if (tintInputViewGroup25.getVisibility() != 0) {
tintInputViewGroup25 = null;
}
TintInputViewGroup tintInputViewGroup26 = tintInputViewGroup25;
String d5 = c5883cCK6.d(tintInputViewGroup26 != null ? tintInputViewGroup26.mEditText.getText().toString() : null);
TintInputViewGroup tintInputViewGroup27 = oOv.t;
if (tintInputViewGroup27.getVisibility() != 0) {
tintInputViewGroup27 = null;
}
TintInputViewGroup tintInputViewGroup28 = tintInputViewGroup27;
C5961cEe c5961cEe = new C5961cEe(valueOf, a2, d, obj, obj2, obj3, d2, obj4, obj5, obj6, d3, a, obj7, obj8, obj9, obj10, obj11, obj12, obj13, d4, str, d5, tintInputViewGroup28 != null ? tintInputViewGroup28.mEditText.getText().toString() : null);
C5883cCK c5883cCK7 = remittanceRecipientDetailFragment.presenter;
if (c5883cCK7 != null) {
c5883cCK = c5883cCK7;
} else {
C14957gcv.a("");
c5883cCK = null;
}
C14957gcv.e(c5961cEe, "");
VH vh = c5883cCK.e;
if (vh != null) {
C10188dy c10188dy = new C10188dy();
c10188dy.A = "REMITTANCE";
c10188dy.J = "ALL";
c10188dy.E = c5961cEe.i;
c10188dy.z = vh.e;
c10188dy.h = vh.n;
c10188dy.f = vh.m;
c10188dy.j = vh.i;
c10188dy.f = vh.m;
c10188dy.n = vh.k;
c10188dy.u = c5961cEe.t;
c10188dy.a = c5961cEe.a;
c10188dy.c = c5961cEe.b;
c10188dy.e = c5883cCK.e(c5961cEe.e, c5961cEe.h);
c10188dy.y = c5961cEe.x;
c10188dy.C = c5961cEe.u;
c10188dy.l = c5961cEe.n;
c10188dy.p = c5961cEe.f8598o;
c10188dy.q = c5961cEe.m;
c10188dy.s = c5961cEe.l;
c10188dy.k = c5961cEe.k;
c10188dy.b = c5961cEe.d;
c10188dy.g = c5961cEe.c;
c10188dy.x = c5961cEe.v;
c10188dy.w = c5961cEe.q;
c10188dy.i = c5961cEe.f;
c10188dy.t = c5961cEe.s;
c10188dy.f8928o = c5961cEe.j;
c10188dy.v = c5961cEe.r;
c10188dy.m = c5961cEe.g;
c10188dy.r = c5961cEe.p;
c10188dy.d = c5883cCK.x;
if (c5883cCK.f != 0) {
c5883cCK.f.y();
}
KHC khc = c5883cCK.t;
C14957gcv.e(c10188dy, "");
AbstractC13163fSk<Integer> a3 = khc.b.a(c10188dy);
C14957gcv.c(a3, "");
khc.d(a3, new fSQ(c5883cCK) { // from class: o.cDa
private C5883cCK e;
@Override // o.fSQ
public final void c(Object obj14) {
C5883cCK.e(this.e);
}
{
this.e = c5883cCK;
}
}, new fSQ(c5883cCK) { // from class: o.cCN
private C5883cCK a;
@Override // o.fSQ
public final void c(Object obj14) {
r0.d(this.a.j.e((Throwable) obj14));
}
{
this.a = c5883cCK;
}
});
}
}
}
public static final /* synthetic */ void c(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, View view, boolean z) {
if (view.getId() != R.id.note && !z) {
remittanceRecipientDetailFragment.w();
return;
}
ViewParent parent = view.getParent();
if (parent instanceof TintInputViewGroup) {
TintInputViewGroup tintInputViewGroup = (TintInputViewGroup) parent;
if (tintInputViewGroup.getId() == ((OOv) remittanceRecipientDetailFragment.g.e()).p.getId()) {
tintInputViewGroup.mEditText.setBackground(nMh.getDrawable(tintInputViewGroup.getContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
tintInputViewGroup.mErrorTextView.setVisibility(8);
return;
}
}
if (parent instanceof TintNoteEditText) {
TintNoteEditText tintNoteEditText = (TintNoteEditText) parent;
tintNoteEditText.mErrorText.setVisibility(8);
tintNoteEditText.mNoteEditText.setBackground(nMh.getDrawable(tintNoteEditText.getContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
}
}
public static /* synthetic */ void axp_(DialogInterface dialogInterface) {
if (dialogInterface != null) {
dialogInterface.dismiss();
}
}
public static /* synthetic */ void f(InterfaceC14937gcb interfaceC14937gcb, View view, boolean z) {
C14957gcv.e(interfaceC14937gcb, "");
interfaceC14937gcb.invoke(view, Boolean.valueOf(z));
}
public static final /* synthetic */ void m(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
VH vh;
Parcelable parcelable;
Context context = remittanceRecipientDetailFragment.getContext();
if (context != null) {
Bundle arguments = remittanceRecipientDetailFragment.getArguments();
if (arguments != null) {
C14957gcv.c(arguments, "");
if (Build.VERSION.SDK_INT >= 33) {
parcelable = (Parcelable) arguments.getParcelable(CommonConstant.ReqAccessTokenParam.DISPLAY_LABEL, VH.class);
} else {
Parcelable parcelable2 = arguments.getParcelable(CommonConstant.ReqAccessTokenParam.DISPLAY_LABEL);
if (!(parcelable2 instanceof VH)) {
parcelable2 = null;
}
parcelable = (VH) parcelable2;
}
vh = (VH) parcelable;
} else {
vh = null;
}
if (vh != null) {
huo<Intent> huoVar = remittanceRecipientDetailFragment.n;
if (huoVar == null) {
C14957gcv.a("");
huoVar = null;
}
RemittanceRecipientReceivingBankActivity.IeS ieS = RemittanceRecipientReceivingBankActivity.f7893o;
C14957gcv.e(context, "");
C14957gcv.e(vh, "");
Intent intent = new Intent(context, (Class<?>) RemittanceRecipientReceivingBankActivity.class);
intent.putExtra(CommonConstant.ReqAccessTokenParam.DISPLAY_LABEL, vh);
huoVar.d(intent, null);
}
}
}
public static /* synthetic */ String b(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, String str) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C5883cCK c5883cCK = remittanceRecipientDetailFragment.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
qBc qbc = c5883cCK.i;
return C15602gz.b(str, "[^0-9]", "XX/XX/XXXX");
}
public static /* synthetic */ void c(InterfaceC14937gcb interfaceC14937gcb, View view, boolean z) {
C14957gcv.e(interfaceC14937gcb, "");
interfaceC14937gcb.invoke(view, Boolean.valueOf(z));
}
public static /* synthetic */ void d(InterfaceC14937gcb interfaceC14937gcb, View view, boolean z) {
C14957gcv.e(interfaceC14937gcb, "");
interfaceC14937gcb.invoke(view, Boolean.valueOf(z));
}
public static /* synthetic */ void d(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ void i(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ void b(InterfaceC14937gcb interfaceC14937gcb, View view, boolean z) {
C14957gcv.e(interfaceC14937gcb, "");
interfaceC14937gcb.invoke(view, Boolean.valueOf(z));
}
public static /* synthetic */ void e(InterfaceC14937gcb interfaceC14937gcb, View view, boolean z) {
C14957gcv.e(interfaceC14937gcb, "");
interfaceC14937gcb.invoke(view, Boolean.valueOf(z));
}
public static /* synthetic */ void h(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ boolean a(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, TintInputViewGroup tintInputViewGroup, int i) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(tintInputViewGroup, "");
if (i != 5 && i != 6) {
return true;
}
C5883cCK c5883cCK = remittanceRecipientDetailFragment.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
cCM ccm = new cCM(tintInputViewGroup.mEditText.getText().toString(), c5883cCK);
if (c5883cCK.f != 0) {
ccm.e(c5883cCK.f);
}
remittanceRecipientDetailFragment.w();
return false;
}
private static /* synthetic */ void e(final RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, CustomEditText customEditText) {
CustomEditText customEditText2 = customEditText;
if (customEditText2.getVisibility() != 0) {
customEditText2 = null;
}
if (customEditText2 != null) {
final jNh jnh = new jNh(remittanceRecipientDetailFragment, NHB.b);
customEditText.setOnFocusChangeListener(new View.OnFocusChangeListener(jnh) { // from class: o.fxZ
private InterfaceC14937gcb b;
@Override // android.view.View.OnFocusChangeListener
public final void onFocusChange(View view, boolean z) {
RemittanceRecipientDetailFragment.c(this.b, view, z);
}
{
this.b = jnh;
}
});
customEditText.setOnEditorActionListener(remittanceRecipientDetailFragment.k);
customEditText.setOnPasteListener(remittanceRecipientDetailFragment.l);
customEditText.setOnBackListener(new CustomEditText.LWm(remittanceRecipientDetailFragment) { // from class: o.fxW
private RemittanceRecipientDetailFragment d;
@Override // com.scb.phone.view.custom.common.CustomEditText.LWm
public final void a() {
RemittanceRecipientDetailFragment.h(this.d);
}
{
this.d = remittanceRecipientDetailFragment;
}
});
customEditText.setFilter("^[a-zA-Z0-9 ]+$");
}
}
public static /* synthetic */ void a(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, CustomEditText customEditText, CustomEditText customEditText2, boolean z) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(customEditText, "");
C14957gcv.e(customEditText2, "");
axr_(customEditText, z, true);
if (z) {
return;
}
C5883cCK c5883cCK = remittanceRecipientDetailFragment.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
cCX ccx = new cCX(String.valueOf(customEditText2.getText()), c5883cCK);
if (c5883cCK.f != 0) {
ccx.e(c5883cCK.f);
}
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ void d(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, CustomEditText customEditText) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(customEditText, "");
C5883cCK c5883cCK = remittanceRecipientDetailFragment.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
cCX ccx = new cCX(String.valueOf(customEditText.getText()), c5883cCK);
if (c5883cCK.f != 0) {
ccx.e(c5883cCK.f);
}
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ boolean c(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment, CustomEditText customEditText, int i) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
C14957gcv.e(customEditText, "");
if (i != 5 && i != 6) {
return true;
}
C5883cCK c5883cCK = remittanceRecipientDetailFragment.presenter;
if (c5883cCK == null) {
C14957gcv.a("");
c5883cCK = null;
}
cCX ccx = new cCX(String.valueOf(customEditText.getText()), c5883cCK);
if (c5883cCK.f != 0) {
ccx.e(c5883cCK.f);
}
remittanceRecipientDetailFragment.w();
return false;
}
public static /* synthetic */ void j(RemittanceRecipientDetailFragment remittanceRecipientDetailFragment) {
C14957gcv.e(remittanceRecipientDetailFragment, "");
remittanceRecipientDetailFragment.w();
}
public static /* synthetic */ void a(InterfaceC14937gcb interfaceC14937gcb, View view, boolean z) {
C14957gcv.e(interfaceC14937gcb, "");
interfaceC14937gcb.invoke(view, Boolean.valueOf(z));
}
private static /* synthetic */ void d(TintInputViewGroup tintInputViewGroup) {
TintInputViewGroup tintInputViewGroup2 = tintInputViewGroup;
if (tintInputViewGroup2.getVisibility() != 0) {
tintInputViewGroup2 = null;
}
if (tintInputViewGroup2 != null) {
tintInputViewGroup.setFocusListener(null);
tintInputViewGroup.setOnEditorActionListener(null);
tintInputViewGroup.setOnPasteListener(null);
tintInputViewGroup.setOnBackListener(null);
tintInputViewGroup.setFilter("^[a-zA-Z0-9 ]+$");
}
}
private static /* synthetic */ void e(CustomEditText customEditText) {
CustomEditText customEditText2 = customEditText;
if (customEditText2.getVisibility() != 0) {
customEditText2 = null;
}
if (customEditText2 != null) {
customEditText.setOnFocusChangeListener(null);
customEditText.setOnEditorActionListener(null);
customEditText.setOnPasteListener(null);
customEditText.setOnBackListener(null);
customEditText.setFilter("^[a-zA-Z0-9 ]+$");
}
}
/* loaded from: classes5.dex */
public final /* synthetic */ class Sts {
public static final int[] a;
static {
int[] iArr = new int[VD.values().length];
try {
iArr[VD.ADD_FAVOURITE.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
a = iArr;
}
}
}