package com.scb.phone.view.fragment.transferandpay; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import butterknife.ButterKnife; import com.scb.phone.R; import com.scb.phone.view.adapter.transferandpay.AccountSourceAdapter; import com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment; import com.scb.phone.view.fragment.transferandpay.AddFavoriteTransferTargetTabFragment; import o.AbstractC1237Yr; import o.AbstractC13482fbE; import o.C1171Xc; import o.C12523ezn; import o.C14957gcv; import o.WW; import o.YE; import o.ZGL; import o.fSJ; /* loaded from: classes5.dex */ public class AddFavoriteTransferFragment extends Hilt_AddFavoriteTransferFragment implements AccountSourceSelectFragment.Sts { private AccountSourceSelectFragment c; private AddFavoriteTransferTargetTabFragment d; private AddFavoriteTransferInputFragment f; private boolean g = false; private ZGL h; private String i; private double j; private fSJ n; @Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts public final void e_(boolean z) { } @Override // androidx.fragment.app.Fragment public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { View inflate = layoutInflater.inflate(R.layout.2131559448, viewGroup, false); ButterKnife.c(this, inflate); C1171Xc.IeS ieS = new C1171Xc.IeS(YE.TRANSFER_FUNCTION); C1171Xc c1171Xc = ieS.c; c1171Xc.a = false; c1171Xc.b = true; c1171Xc.j = true; c1171Xc.g = true; this.c = AccountSourceSelectFragment.b(ieS.c); d("com.scb.phone/BROADCAST_TRANSFER_NEXT_STEP", "com.scb.phone/BROADCAST_TRANSFER_BACK_STEP"); AbstractC13482fbE a = getChildFragmentManager().a(); a.b(R.id.fragment_account_source_select, this.c, null, 2); a.b(); return inflate; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.scb.phone.view.fragment.transferandpay.BaseTransferAndPayTabFragment public final void axX_(Intent intent) { aN_(); AbstractC1237Yr abstractC1237Yr = (AbstractC1237Yr) intent.getParcelableExtra("com.scb.phone.EXTRA_TRANSFER_TARGET_DATA"); this.c.c(abstractC1237Yr.c); AddFavoriteTransferInputFragment b = AddFavoriteTransferInputFragment.b(abstractC1237Yr, this.i, this.h, this.j); this.f = b; AccountSourceSelectFragment accountSourceSelectFragment = this.c; AccountSourceAdapter accountSourceAdapter = accountSourceSelectFragment.d; b.d = (accountSourceAdapter != null ? accountSourceAdapter.d(accountSourceSelectFragment.mViewPager.getCurrentItem()) : null).s; aO_(); e(this.f, R.id.container, "com.scb.phone.TransferTabFragment.TAG_ADD_FAV_NEXT_STEP", true, true); } /* JADX INFO: Access modifiers changed from: protected */ @Override // com.scb.phone.view.fragment.transferandpay.BaseTransferAndPayTabFragment public final void axW_(Intent intent) { super.axW_(intent); this.c.i(); b(this.d, R.id.container, getString(R.string.transfer_target_tab), true); } @Override // com.scb.phone.view.fragment.transferandpay.BaseTransferAndPayTabFragment, com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment public void onDestroy() { super.onDestroy(); } @Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts public final void a(WW ww) { if (ww != null) { this.i = ww.s; this.h = ww.p; this.j = ww.d.doubleValue(); AddFavoriteTransferInputFragment addFavoriteTransferInputFragment = this.f; if (addFavoriteTransferInputFragment != null) { addFavoriteTransferInputFragment.d = ww.s; } AddFavoriteTransferTargetTabFragment addFavoriteTransferTargetTabFragment = this.d; if (addFavoriteTransferTargetTabFragment != null) { String str = ww.s; C14957gcv.e(str, ""); C12523ezn c12523ezn = addFavoriteTransferTargetTabFragment.d; if (c12523ezn != null) { c12523ezn.a(str); } } if (this.g) { return; } this.g = true; AddFavoriteTransferTargetTabFragment.LWm lWm = AddFavoriteTransferTargetTabFragment.c; String str2 = ww.s; C14957gcv.e(str2, ""); AddFavoriteTransferTargetTabFragment addFavoriteTransferTargetTabFragment2 = new AddFavoriteTransferTargetTabFragment(); Bundle bundle = new Bundle(); bundle.putString("account_extra", str2); addFavoriteTransferTargetTabFragment2.setArguments(bundle); this.d = addFavoriteTransferTargetTabFragment2; b(addFavoriteTransferTargetTabFragment2, R.id.container, getString(R.string.transfer_target_tab), true); } } }