package com.scb.phone.view.fragment.ccsof; 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.fragment.BaseFragment; import com.scb.phone.view.fragment.TermsAndConditionsFragment; import o.C0371Fd; import o.C14957gcv; import o.C6583cXR; import o.CBe; import o.CQ; import o.InterfaceC12853fJD; import o.InterfaceC13391fZD; import o.InterfaceC9654dnq; import o.ZI; import o.cKQ; import o.fKI; /* loaded from: classes5.dex */ public final class CcSofTermsAndConditionsFragment extends Hilt_CcSofTermsAndConditionsFragment implements InterfaceC9654dnq.HBt, InterfaceC12853fJD { public static final RVV c = new RVV(0); @InterfaceC13391fZD public cKQ presenter; @Override // o.InterfaceC9652dno public final void A() { } @Override // o.InterfaceC12853fJD public final void d(String str) { } @Override // o.InterfaceC12853fJD public final void e(String str) { } /* loaded from: classes5.dex */ public static final class RVV { private RVV() { } public /* synthetic */ RVV(byte b) { this(); } } @Override // androidx.fragment.app.Fragment public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { C14957gcv.e(layoutInflater, ""); return layoutInflater.inflate(R.layout.2131559514, viewGroup, false); } @Override // androidx.fragment.app.Fragment public final void onViewCreated(View view, Bundle bundle) { String a; C14957gcv.e(view, ""); super.onViewCreated(view, bundle); ((BaseFragment) this).a = ButterKnife.c(this, view); cKQ ckq = this.presenter; if (ckq == null) { C14957gcv.a(""); ckq = null; } ckq.e((cKQ) this); Bundle arguments = getArguments(); if (arguments != null) { cKQ ckq2 = this.presenter; if (ckq2 == null) { C14957gcv.a(""); ckq2 = null; } arguments.getInt("EXTRA_CARD_TYPE"); String string = arguments.getString("EXTRA_PARTNER_SUBTYPE"); if (string == null) { string = ""; } String string2 = arguments.getString("EXTRA_TERM_AND_CON"); if (string2 == null) { string2 = ""; } C14957gcv.e(string, ""); C14957gcv.e(string2, ""); if (ckq2.e.c()) { a = C6583cXR.e(string2, ckq2.d); } else { CBe cBe = ckq2.a; C14957gcv.e("CC_SOF_SUBTYPE_CCFA_AND_CCIPP", ""); C14957gcv.e(string2, ""); cBe.a = string2; a = cBe.a("CC_SOF_SUBTYPE_CCFA_AND_CCIPP", null); } final C0371Fd d = CQ.d(ckq2.c, a, null, null, null, false, false, false, null, null, null, 0, 1992); ZI.IeS ieS = new ZI.IeS(d) { // from class: o.cKS private C0371Fd e; @Override // o.ZI.IeS public final void e(Object obj) { cKQ.e(this.e, (InterfaceC9654dnq.HBt) obj); } { this.e = d; } }; if (ckq2.f != 0) { ieS.e(ckq2.f); } } } @Override // o.InterfaceC9652dno public final void a(C0371Fd c0371Fd) { C14957gcv.e(c0371Fd, ""); TermsAndConditionsFragment.HBt hBt = TermsAndConditionsFragment.c; fKI.e(this, TermsAndConditionsFragment.HBt.c(c0371Fd), R.id.frame_layout_terms_and_conditions); } @Override // o.InterfaceC12828fIc public final void h() { requireActivity().finish(); } @Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment public final void onDestroyView() { cKQ ckq = this.presenter; if (ckq == null) { C14957gcv.a(""); ckq = null; } ckq.w_(); super.onDestroyView(); } }