package o; import android.content.Context; import android.util.Base64; import androidx.fragment.app.Fragment; import com.scb.phone.view.activity.BaseActivity; import com.scb.phone.view.fragment.prepaid.traveltab.PrepaidTravelDetailTabFragment; import com.scb.phone.view.fragment.prepaid.traveltab.PrepaidTravelServicesTabFragment; import com.scb.phone.view.fragment.prepaid.traveltab.PrepaidTravelWalletTabFragment; import java.nio.charset.StandardCharsets; /* renamed from: o.exL, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12389exL extends rgb { private static int f = 0; private static int i = 1; private static byte j = 6; private C1054Up a; private Dwh b; private int[] c; private Context d; private C1049Un e; private void g(String str, Object[] objArr) { byte[] decode = Base64.decode(str, 0); byte[] bArr = new byte[decode.length]; for (int i2 = 0; i2 < decode.length; i2++) { bArr[i2] = (byte) (decode[(decode.length - i2) - 1] ^ j); } objArr[0] = new String(bArr, StandardCharsets.UTF_8); } public C12389exL(yRS yrs, Context context, C1049Un c1049Un, C1054Up c1054Up) { super(yrs); this.c = new int[]{com.scb.phone.R.string.prepaid_tab_travel_wallet, com.scb.phone.R.string.prepaid_tab_travel_detail, com.scb.phone.R.string.prepaid_tab_travel_service}; this.d = context; this.e = c1049Un; this.a = c1054Up; this.b = new Dwh(); } @Override // o.rgb public final Fragment e(int i2) { if (i2 == 0) { this.b.c(((BaseActivity) this.d).scbAnalytics, "planetscb_wallettab"); return PrepaidTravelWalletTabFragment.e(this.e); } if (i2 != 1) { if (i2 == 2) { return PrepaidTravelServicesTabFragment.d(this.e); } return new Fragment(); } this.b.c(((BaseActivity) this.d).scbAnalytics, "planetscb_detailtab"); return PrepaidTravelDetailTabFragment.e(this.e, this.a); } @Override // o.WYJ public final int getCount() { return this.c.length; } @Override // o.WYJ public final CharSequence getPageTitle(int i2) { int i3 = 2 % 2; int i4 = i + 49; f = i4 % 128; if (i4 % 2 != 0) { this.d.getString(this.c[i2]).startsWith(",*,)"); Object obj = null; obj.hashCode(); throw null; } String string = this.d.getString(this.c[i2]); if (!string.startsWith(",*,)")) { return string; } Object[] objArr = new Object[1]; g(string.substring(4), objArr); String intern = ((String) objArr[0]).intern(); int i5 = i + 75; f = i5 % 128; int i6 = i5 % 2; return intern; } }