MD5 校验值:d7f913ab91d7343430e85d5ce2e5aff0
b.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package ze; import android.app.Activity; import android.content.ClipData; import android.content.ClipboardManager; import android.content.res.Configuration; import android.os.Bundle; import android.text.SpannableString; import android.text.TextPaint; import android.text.method.LinkMovementMethod; import android.text.style.ClickableSpan; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ProgressBar; import android.widget.ScrollView; import android.widget.TextView; import androidx.constraintlayout.widget.ConstraintLayout; import com.android.billingclient.api.Purchase; import com.android.billingclient.api.SkuDetails; import com.google.android.material.bottomsheet.BottomSheetBehavior; import com.google.firebase.analytics.FirebaseAnalytics; import com.iptv.player.R; import com.mopub.common.AdType; import com.ottplay.ottplay.MainActivity; import com.ottplay.ottplay.utils.Keys; import com.tencent.mmkv.MMKV; import d9.n70; import java.util.ArrayList; import java.util.List; import java.util.Objects; import l4.h; import rc.i; import xa.w0; import xe.e; import ze.d; public class b extends com.google.android.material.bottomsheet.b implements d.a { public static final int K0 = 0; public n70 C0; public SkuDetails D0; public SkuDetails E0; public SkuDetails F0; public SkuDetails G0; public d H0; public boolean I0; public Activity J0; public class a extends ClickableSpan { public final CharSequence f45552a; public final ClipboardManager f45553b; public a(CharSequence charSequence, ClipboardManager clipboardManager) { this.f45552a = charSequence; this.f45553b = clipboardManager; } @Override public void onClick(View view) { ClipData newPlainText = ClipData.newPlainText("Televizo", this.f45552a); ClipboardManager clipboardManager = this.f45553b; if (clipboardManager != null) { clipboardManager.setPrimaryClip(newPlainText); } b bVar = b.this; cg.a.W(bVar.J0, bVar.J(R.string.f59950_resource_name_obfuscated_res_0x7f13004d, this.f45552a), 0); } @Override public void updateDrawState(TextPaint textPaint) { super.updateDrawState(textPaint); textPaint.setUnderlineText(false); } } @Override public View T(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { View inflate = layoutInflater.inflate(R.layout.f56860_resource_name_obfuscated_res_0x7f0e007b, viewGroup, false); int i10 = R.id.f42920_resource_name_obfuscated_res_0x7f0b0098; Button button = (Button) w0.e(inflate, R.id.f42920_resource_name_obfuscated_res_0x7f0b0098); if (button != null) { i10 = R.id.f42930_resource_name_obfuscated_res_0x7f0b0099; Button button2 = (Button) w0.e(inflate, R.id.f42930_resource_name_obfuscated_res_0x7f0b0099); if (button2 != null) { i10 = R.id.f42940_resource_name_obfuscated_res_0x7f0b009a; Button button3 = (Button) w0.e(inflate, R.id.f42940_resource_name_obfuscated_res_0x7f0b009a); if (button3 != null) { i10 = R.id.f42950_resource_name_obfuscated_res_0x7f0b009b; TextView textView = (TextView) w0.e(inflate, R.id.f42950_resource_name_obfuscated_res_0x7f0b009b); if (textView != null) { i10 = R.id.f42960_resource_name_obfuscated_res_0x7f0b009c; TextView textView2 = (TextView) w0.e(inflate, R.id.f42960_resource_name_obfuscated_res_0x7f0b009c); if (textView2 != null) { i10 = R.id.f42970_resource_name_obfuscated_res_0x7f0b009d; TextView textView3 = (TextView) w0.e(inflate, R.id.f42970_resource_name_obfuscated_res_0x7f0b009d); if (textView3 != null) { i10 = R.id.f42980_resource_name_obfuscated_res_0x7f0b009e; TextView textView4 = (TextView) w0.e(inflate, R.id.f42980_resource_name_obfuscated_res_0x7f0b009e); if (textView4 != null) { i10 = R.id.f42990_resource_name_obfuscated_res_0x7f0b009f; ProgressBar progressBar = (ProgressBar) w0.e(inflate, R.id.f42990_resource_name_obfuscated_res_0x7f0b009f); if (progressBar != null) { i10 = R.id.f43000_resource_name_obfuscated_res_0x7f0b00a0; TextView textView5 = (TextView) w0.e(inflate, R.id.f43000_resource_name_obfuscated_res_0x7f0b00a0); if (textView5 != null) { i10 = R.id.f43010_resource_name_obfuscated_res_0x7f0b00a1; ScrollView scrollView = (ScrollView) w0.e(inflate, R.id.f43010_resource_name_obfuscated_res_0x7f0b00a1); if (scrollView != null) { n70 n70Var = new n70((ConstraintLayout) inflate, button, button2, button3, textView, textView2, textView3, textView4, progressBar, textView5, scrollView); this.C0 = n70Var; return n70Var.a(); } } } } } } } } } } throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i10))); } @Override public void V() { super.V(); this.H0.j(this); this.C0 = null; } @Override public void a0() { this.C = true; if (((Button) this.C0.f25357c).getVisibility() == 0) { ((Button) this.C0.f25357c).requestFocus(); } } @Override public void e0(View view, Bundle bundle) { this.J0 = l(); this.H0.h(this); BottomSheetBehavior y10 = BottomSheetBehavior.y((View) this.C0.a().getParent()); y10.E(3); y10.E = true; ((ProgressBar) this.C0.f25364j).setVisibility(0); ((TextView) this.C0.f25363i).setVisibility(4); ((ScrollView) this.C0.f25366l).setVisibility(4); if (this.H0.f45559a == 3 || !cg.a.E(this.J0)) { if (this.I0) { z0(I(R.string.f60160_resource_name_obfuscated_res_0x7f130062)); return; } else { y0(); return; } } d dVar = this.H0; if (dVar.f45559a != 0 && this.I0) { z0(I(R.string.f60150_resource_name_obfuscated_res_0x7f130061)); return; } List<String> list = d.b.f45563a; if (!list.isEmpty()) { com.android.billingclient.api.a aVar = dVar.f45561c; ArrayList arrayList = new ArrayList(list); h hVar = new h(); hVar.f35405a = "inapp"; hVar.f35406b = arrayList; aVar.c(hVar, dVar); } List<String> list2 = d.b.f45564b; if (list2.isEmpty()) { return; } com.android.billingclient.api.a aVar2 = dVar.f45561c; ArrayList arrayList2 = new ArrayList(list2); h hVar2 = new h(); hVar2.f35405a = "subs"; hVar2.f35406b = arrayList2; aVar2.c(hVar2, dVar); } @Override public void f(Purchase purchase) { } @Override public void g(Purchase purchase) { } @Override public void onConfigurationChanged(Configuration configuration) { this.C = true; r0(); } @Override public void r(List<Purchase> list) { } @Override public void x(List<SkuDetails> list) { if (list == null || list.isEmpty()) { z0(I(R.string.f60150_resource_name_obfuscated_res_0x7f130061)); } else { for (SkuDetails skuDetails : list) { if (skuDetails.b().equals(AdType.FULLSCREEN)) { this.D0 = skuDetails; } if (skuDetails.b().equals("support_one")) { this.E0 = skuDetails; } if (skuDetails.b().equals("support_two")) { this.F0 = skuDetails; } if (skuDetails.b().equals("support_three")) { this.G0 = skuDetails; } } y0(); } final int i10 = 0; if (!this.I0) { ((Button) this.C0.f25357c).setVisibility(0); ((Button) this.C0.f25358d).setVisibility(0); ((Button) this.C0.f25359e).setVisibility(0); final int i11 = 3; ((Button) this.C0.f25357c).setOnClickListener(new View.OnClickListener(this, i11) { public final int f45550a; public final b f45551b; { this.f45550a = i11; if (i11 == 1 || i11 == 2 || i11 != 3) { } this.f45551b = this; } @Override public final void onClick(View view) { switch (this.f45550a) { case 0: b bVar = this.f45551b; SkuDetails skuDetails2 = bVar.D0; if (skuDetails2 != null) { bVar.H0.f(bVar.J0, skuDetails2); } bVar.r0(); return; case 1: b bVar2 = this.f45551b; int i12 = b.K0; Objects.requireNonNull(bVar2); i iVar = cg.c.f14183a; MMKV mmkv = e.f44786a; if (!mmkv.d("TvDemo", false)) { mmkv.o("TvDemo", true); mmkv.l("RewardedPremiumStartDate", cg.a.w()); cg.c.Q(Keys.getSCPRC()); Activity activity = bVar2.J0; cg.a.W(activity, activity.getString(R.string.f67310_resource_name_obfuscated_res_0x7f13032d), 1); Activity activity2 = bVar2.J0; if (activity2 instanceof MainActivity) { ((MainActivity) activity2).Q(); } FirebaseAnalytics.getInstance(bVar2.J0).a("activate_free_tv_premium", null); } bVar2.r0(); return; case 2: b bVar3 = this.f45551b; Activity activity3 = bVar3.J0; if (activity3 instanceof MainActivity) { MainActivity mainActivity = (MainActivity) activity3; if (!mainActivity.isFinishing()) { new nf.d((Activity) mainActivity, false, 2, true).w0(mainActivity.H(), "show_rewarded_ad_message_tag"); } FirebaseAnalytics.getInstance(bVar3.J0).a("open_free_rewarded_premium", null); } bVar3.r0(); return; case 3: b bVar4 = this.f45551b; SkuDetails skuDetails3 = bVar4.E0; if (skuDetails3 != null) { bVar4.H0.f(bVar4.J0, skuDetails3); } bVar4.r0(); return; case 4: b bVar5 = this.f45551b; SkuDetails skuDetails4 = bVar5.F0; if (skuDetails4 != null) { bVar5.H0.f(bVar5.J0, skuDetails4); } bVar5.r0(); return; default: b bVar6 = this.f45551b; SkuDetails skuDetails5 = bVar6.G0; if (skuDetails5 != null) { bVar6.H0.f(bVar6.J0, skuDetails5); } bVar6.r0(); return; } } }); final int i12 = 4; ((Button) this.C0.f25358d).setOnClickListener(new View.OnClickListener(this, i12) { public final int f45550a; public final b f45551b; { this.f45550a = i12; if (i12 == 1 || i12 == 2 || i12 != 3) { } this.f45551b = this; } @Override public final void onClick(View view) { switch (this.f45550a) { case 0: b bVar = this.f45551b; SkuDetails skuDetails2 = bVar.D0; if (skuDetails2 != null) { bVar.H0.f(bVar.J0, skuDetails2); } bVar.r0(); return; case 1: b bVar2 = this.f45551b; int i122 = b.K0; Objects.requireNonNull(bVar2); i iVar = cg.c.f14183a; MMKV mmkv = e.f44786a; if (!mmkv.d("TvDemo", false)) { mmkv.o("TvDemo", true); mmkv.l("RewardedPremiumStartDate", cg.a.w()); cg.c.Q(Keys.getSCPRC()); Activity activity = bVar2.J0; cg.a.W(activity, activity.getString(R.string.f67310_resource_name_obfuscated_res_0x7f13032d), 1); Activity activity2 = bVar2.J0; if (activity2 instanceof MainActivity) { ((MainActivity) activity2).Q(); } FirebaseAnalytics.getInstance(bVar2.J0).a("activate_free_tv_premium", null); } bVar2.r0(); return; case 2: b bVar3 = this.f45551b; Activity activity3 = bVar3.J0; if (activity3 instanceof MainActivity) { MainActivity mainActivity = (MainActivity) activity3; if (!mainActivity.isFinishing()) { new nf.d((Activity) mainActivity, false, 2, true).w0(mainActivity.H(), "show_rewarded_ad_message_tag"); } FirebaseAnalytics.getInstance(bVar3.J0).a("open_free_rewarded_premium", null); } bVar3.r0(); return; case 3: b bVar4 = this.f45551b; SkuDetails skuDetails3 = bVar4.E0; if (skuDetails3 != null) { bVar4.H0.f(bVar4.J0, skuDetails3); } bVar4.r0(); return; case 4: b bVar5 = this.f45551b; SkuDetails skuDetails4 = bVar5.F0; if (skuDetails4 != null) { bVar5.H0.f(bVar5.J0, skuDetails4); } bVar5.r0(); return; default: b bVar6 = this.f45551b; SkuDetails skuDetails5 = bVar6.G0; if (skuDetails5 != null) { bVar6.H0.f(bVar6.J0, skuDetails5); } bVar6.r0(); return; } } }); final int i13 = 5; ((Button) this.C0.f25359e).setOnClickListener(new View.OnClickListener(this, i13) { public final int f45550a; public final b f45551b; { this.f45550a = i13; if (i13 == 1 || i13 == 2 || i13 != 3) { } this.f45551b = this; } @Override public final void onClick(View view) { switch (this.f45550a) { case 0: b bVar = this.f45551b; SkuDetails skuDetails2 = bVar.D0; if (skuDetails2 != null) { bVar.H0.f(bVar.J0, skuDetails2); } bVar.r0(); return; case 1: b bVar2 = this.f45551b; int i122 = b.K0; Objects.requireNonNull(bVar2); i iVar = cg.c.f14183a; MMKV mmkv = e.f44786a; if (!mmkv.d("TvDemo", false)) { mmkv.o("TvDemo", true); mmkv.l("RewardedPremiumStartDate", cg.a.w()); cg.c.Q(Keys.getSCPRC()); Activity activity = bVar2.J0; cg.a.W(activity, activity.getString(R.string.f67310_resource_name_obfuscated_res_0x7f13032d), 1); Activity activity2 = bVar2.J0; if (activity2 instanceof MainActivity) { ((MainActivity) activity2).Q(); } FirebaseAnalytics.getInstance(bVar2.J0).a("activate_free_tv_premium", null); } bVar2.r0(); return; case 2: b bVar3 = this.f45551b; Activity activity3 = bVar3.J0; if (activity3 instanceof MainActivity) { MainActivity mainActivity = (MainActivity) activity3; if (!mainActivity.isFinishing()) { new nf.d((Activity) mainActivity, false, 2, true).w0(mainActivity.H(), "show_rewarded_ad_message_tag"); } FirebaseAnalytics.getInstance(bVar3.J0).a("open_free_rewarded_premium", null); } bVar3.r0(); return; case 3: b bVar4 = this.f45551b; SkuDetails skuDetails3 = bVar4.E0; if (skuDetails3 != null) { bVar4.H0.f(bVar4.J0, skuDetails3); } bVar4.r0(); return; case 4: b bVar5 = this.f45551b; SkuDetails skuDetails4 = bVar5.F0; if (skuDetails4 != null) { bVar5.H0.f(bVar5.J0, skuDetails4); } bVar5.r0(); return; default: b bVar6 = this.f45551b; SkuDetails skuDetails5 = bVar6.G0; if (skuDetails5 != null) { bVar6.H0.f(bVar6.J0, skuDetails5); } bVar6.r0(); return; } } }); return; } ((Button) this.C0.f25357c).setVisibility(0); ((Button) this.C0.f25357c).setOnClickListener(new View.OnClickListener(this, i10) { public final int f45550a; public final b f45551b; { this.f45550a = i10; if (i10 == 1 || i10 == 2 || i10 != 3) { } this.f45551b = this; } @Override public final void onClick(View view) { switch (this.f45550a) { case 0: b bVar = this.f45551b; SkuDetails skuDetails2 = bVar.D0; if (skuDetails2 != null) { bVar.H0.f(bVar.J0, skuDetails2); } bVar.r0(); return; case 1: b bVar2 = this.f45551b; int i122 = b.K0; Objects.requireNonNull(bVar2); i iVar = cg.c.f14183a; MMKV mmkv = e.f44786a; if (!mmkv.d("TvDemo", false)) { mmkv.o("TvDemo", true); mmkv.l("RewardedPremiumStartDate", cg.a.w()); cg.c.Q(Keys.getSCPRC()); Activity activity = bVar2.J0; cg.a.W(activity, activity.getString(R.string.f67310_resource_name_obfuscated_res_0x7f13032d), 1); Activity activity2 = bVar2.J0; if (activity2 instanceof MainActivity) { ((MainActivity) activity2).Q(); } FirebaseAnalytics.getInstance(bVar2.J0).a("activate_free_tv_premium", null); } bVar2.r0(); return; case 2: b bVar3 = this.f45551b; Activity activity3 = bVar3.J0; if (activity3 instanceof MainActivity) { MainActivity mainActivity = (MainActivity) activity3; if (!mainActivity.isFinishing()) { new nf.d((Activity) mainActivity, false, 2, true).w0(mainActivity.H(), "show_rewarded_ad_message_tag"); } FirebaseAnalytics.getInstance(bVar3.J0).a("open_free_rewarded_premium", null); } bVar3.r0(); return; case 3: b bVar4 = this.f45551b; SkuDetails skuDetails3 = bVar4.E0; if (skuDetails3 != null) { bVar4.H0.f(bVar4.J0, skuDetails3); } bVar4.r0(); return; case 4: b bVar5 = this.f45551b; SkuDetails skuDetails4 = bVar5.F0; if (skuDetails4 != null) { bVar5.H0.f(bVar5.J0, skuDetails4); } bVar5.r0(); return; default: b bVar6 = this.f45551b; SkuDetails skuDetails5 = bVar6.G0; if (skuDetails5 != null) { bVar6.H0.f(bVar6.J0, skuDetails5); } bVar6.r0(); return; } } }); if (cg.a.g(this.J0)) { i iVar = cg.c.f14183a; if (e.f44786a.d("TvDemo", false)) { ((Button) this.C0.f25358d).setVisibility(8); } else { ((Button) this.C0.f25358d).setVisibility(0); final int i14 = 1; ((Button) this.C0.f25358d).setOnClickListener(new View.OnClickListener(this, i14) { public final int f45550a; public final b f45551b; { this.f45550a = i14; if (i14 == 1 || i14 == 2 || i14 != 3) { } this.f45551b = this; } @Override public final void onClick(View view) { switch (this.f45550a) { case 0: b bVar = this.f45551b; SkuDetails skuDetails2 = bVar.D0; if (skuDetails2 != null) { bVar.H0.f(bVar.J0, skuDetails2); } bVar.r0(); return; case 1: b bVar2 = this.f45551b; int i122 = b.K0; Objects.requireNonNull(bVar2); i iVar2 = cg.c.f14183a; MMKV mmkv = e.f44786a; if (!mmkv.d("TvDemo", false)) { mmkv.o("TvDemo", true); mmkv.l("RewardedPremiumStartDate", cg.a.w()); cg.c.Q(Keys.getSCPRC()); Activity activity = bVar2.J0; cg.a.W(activity, activity.getString(R.string.f67310_resource_name_obfuscated_res_0x7f13032d), 1); Activity activity2 = bVar2.J0; if (activity2 instanceof MainActivity) { ((MainActivity) activity2).Q(); } FirebaseAnalytics.getInstance(bVar2.J0).a("activate_free_tv_premium", null); } bVar2.r0(); return; case 2: b bVar3 = this.f45551b; Activity activity3 = bVar3.J0; if (activity3 instanceof MainActivity) { MainActivity mainActivity = (MainActivity) activity3; if (!mainActivity.isFinishing()) { new nf.d((Activity) mainActivity, false, 2, true).w0(mainActivity.H(), "show_rewarded_ad_message_tag"); } FirebaseAnalytics.getInstance(bVar3.J0).a("open_free_rewarded_premium", null); } bVar3.r0(); return; case 3: b bVar4 = this.f45551b; SkuDetails skuDetails3 = bVar4.E0; if (skuDetails3 != null) { bVar4.H0.f(bVar4.J0, skuDetails3); } bVar4.r0(); return; case 4: b bVar5 = this.f45551b; SkuDetails skuDetails4 = bVar5.F0; if (skuDetails4 != null) { bVar5.H0.f(bVar5.J0, skuDetails4); } bVar5.r0(); return; default: b bVar6 = this.f45551b; SkuDetails skuDetails5 = bVar6.G0; if (skuDetails5 != null) { bVar6.H0.f(bVar6.J0, skuDetails5); } bVar6.r0(); return; } } }); } } else { ((Button) this.C0.f25358d).setVisibility(0); final int i15 = 2; ((Button) this.C0.f25358d).setOnClickListener(new View.OnClickListener(this, i15) { public final int f45550a; public final b f45551b; { this.f45550a = i15; if (i15 == 1 || i15 == 2 || i15 != 3) { } this.f45551b = this; } @Override public final void onClick(View view) { switch (this.f45550a) { case 0: b bVar = this.f45551b; SkuDetails skuDetails2 = bVar.D0; if (skuDetails2 != null) { bVar.H0.f(bVar.J0, skuDetails2); } bVar.r0(); return; case 1: b bVar2 = this.f45551b; int i122 = b.K0; Objects.requireNonNull(bVar2); i iVar2 = cg.c.f14183a; MMKV mmkv = e.f44786a; if (!mmkv.d("TvDemo", false)) { mmkv.o("TvDemo", true); mmkv.l("RewardedPremiumStartDate", cg.a.w()); cg.c.Q(Keys.getSCPRC()); Activity activity = bVar2.J0; cg.a.W(activity, activity.getString(R.string.f67310_resource_name_obfuscated_res_0x7f13032d), 1); Activity activity2 = bVar2.J0; if (activity2 instanceof MainActivity) { ((MainActivity) activity2).Q(); } FirebaseAnalytics.getInstance(bVar2.J0).a("activate_free_tv_premium", null); } bVar2.r0(); return; case 2: b bVar3 = this.f45551b; Activity activity3 = bVar3.J0; if (activity3 instanceof MainActivity) { MainActivity mainActivity = (MainActivity) activity3; if (!mainActivity.isFinishing()) { new nf.d((Activity) mainActivity, false, 2, true).w0(mainActivity.H(), "show_rewarded_ad_message_tag"); } FirebaseAnalytics.getInstance(bVar3.J0).a("open_free_rewarded_premium", null); } bVar3.r0(); return; case 3: b bVar4 = this.f45551b; SkuDetails skuDetails3 = bVar4.E0; if (skuDetails3 != null) { bVar4.H0.f(bVar4.J0, skuDetails3); } bVar4.r0(); return; case 4: b bVar5 = this.f45551b; SkuDetails skuDetails4 = bVar5.F0; if (skuDetails4 != null) { bVar5.H0.f(bVar5.J0, skuDetails4); } bVar5.r0(); return; default: b bVar6 = this.f45551b; SkuDetails skuDetails5 = bVar6.G0; if (skuDetails5 != null) { bVar6.H0.f(bVar6.J0, skuDetails5); } bVar6.r0(); return; } } }); } ((Button) this.C0.f25359e).setVisibility(8); } public final ClickableSpan x0(CharSequence charSequence) { return new a(charSequence, (ClipboardManager) this.J0.getSystemService("clipboard")); } public final void y0() { ((ProgressBar) this.C0.f25364j).setVisibility(8); ((TextView) this.C0.f25363i).setVisibility(4); ((ScrollView) this.C0.f25366l).setVisibility(0); if (this.I0) { ((TextView) this.C0.f25365k).setText(I(R.string.f60190_resource_name_obfuscated_res_0x7f130065)); ((TextView) this.C0.f25360f).setText(J(R.string.f60120_resource_name_obfuscated_res_0x7f13005e, "Televizo")); ((TextView) this.C0.f25361g).setText(J(R.string.f60130_resource_name_obfuscated_res_0x7f13005f, "Televizo")); ((TextView) this.C0.f25362h).setText(I(R.string.f60140_resource_name_obfuscated_res_0x7f130060)); SkuDetails skuDetails = this.D0; if (skuDetails == null) { z0(I(R.string.f60150_resource_name_obfuscated_res_0x7f130061)); return; } else { ((Button) this.C0.f25357c).setText(J(R.string.f60170_resource_name_obfuscated_res_0x7f130063, skuDetails.a())); ((Button) this.C0.f25358d).setText(I(R.string.f60110_resource_name_obfuscated_res_0x7f13005d)); return; } } ((TextView) this.C0.f25365k).setText(I(R.string.f63170_resource_name_obfuscated_res_0x7f13018f)); ((TextView) this.C0.f25360f).setText(J(R.string.f67320_resource_name_obfuscated_res_0x7f13032e, "Televizo")); ((TextView) this.C0.f25361g).setText(I(R.string.f67330_resource_name_obfuscated_res_0x7f13032f)); if (fg.c.a().b().equals("ru")) { ((TextView) this.C0.f25362h).setText(J(R.string.f67340_resource_name_obfuscated_res_0x7f130330, "bc1qv8l236ke34hqdselevkdpg7u2letlpd06nwct0", "4100116406323073", "Z247384796502", "https://paypal.me/menscikov", "https://patreon.com/televizo")); } else { ((TextView) this.C0.f25362h).setText(J(R.string.f67350_resource_name_obfuscated_res_0x7f130331, "bc1qv8l236ke34hqdselevkdpg7u2letlpd06nwct0", "https://paypal.me/menscikov", "https://patreon.com/televizo")); } TextView textView = (TextView) this.C0.f25362h; ClickableSpan x02 = x0("https://paypal.me/menscikov"); ClickableSpan x03 = x0("4100116406323073"); ClickableSpan x04 = x0("Z247384796502"); ClickableSpan x05 = x0("bc1qv8l236ke34hqdselevkdpg7u2letlpd06nwct0"); ClickableSpan x06 = x0("https://patreon.com/televizo"); ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); if (fg.c.a().b().equals("ru")) { arrayList.add(x05); arrayList.add(x03); arrayList.add(x04); arrayList.add(x02); arrayList.add(x06); arrayList2.add("bc1qv8l236ke34hqdselevkdpg7u2letlpd06nwct0"); arrayList2.add("4100116406323073"); arrayList2.add("Z247384796502"); arrayList2.add("https://paypal.me/menscikov"); arrayList2.add("https://patreon.com/televizo"); } else { arrayList.add(x05); arrayList.add(x02); arrayList.add(x06); arrayList2.add("bc1qv8l236ke34hqdselevkdpg7u2letlpd06nwct0"); arrayList2.add("https://paypal.me/menscikov"); arrayList2.add("https://patreon.com/televizo"); } if (textView.getText().length() >= 1) { SpannableString spannableString = new SpannableString(textView.getText()); for (int i10 = 0; i10 < arrayList2.size(); i10++) { String str = (String) arrayList2.get(i10); ClickableSpan clickableSpan = (ClickableSpan) arrayList.get(i10); int indexOf = textView.getText().toString().indexOf(str); spannableString.setSpan(clickableSpan, indexOf, str.length() + indexOf, 33); } textView.setLinkTextColor(H().getColor(R.color.f16740_resource_name_obfuscated_res_0x7f060048)); textView.setHighlightColor(0); textView.setMovementMethod(LinkMovementMethod.getInstance()); textView.setText(spannableString, TextView.BufferType.SPANNABLE); } SkuDetails skuDetails2 = this.E0; if (skuDetails2 != null) { ((Button) this.C0.f25357c).setText(skuDetails2.a()); } else { ((Button) this.C0.f25357c).setVisibility(8); } SkuDetails skuDetails3 = this.F0; if (skuDetails3 != null) { ((Button) this.C0.f25358d).setText(skuDetails3.a()); } else { ((Button) this.C0.f25358d).setVisibility(8); } SkuDetails skuDetails4 = this.G0; if (skuDetails4 != null) { ((Button) this.C0.f25359e).setText(skuDetails4.a()); } else { ((Button) this.C0.f25359e).setVisibility(8); } } public final void z0(String str) { ((ProgressBar) this.C0.f25364j).setVisibility(8); ((ScrollView) this.C0.f25366l).setVisibility(4); ((TextView) this.C0.f25363i).setVisibility(0); ((TextView) this.C0.f25363i).setText(str); } }