package com.tencent.mm.plugin.finder.view.notice; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; import android.widget.TextView; import bw3.g10; import bw3.h10; import bw3.q44; import bw3.wd1; import bw3.zy3; import com.tencent.mm.R; import com.tencent.mm.plugin.appbrand.jsapi.JsApiWriteCommData; import com.tencent.mm.plugin.appbrand.jsapi.audio.JsApiSetAudioState; import com.tencent.mm.plugin.appbrand.jsapi.storage.k; import com.tencent.mm.plugin.finder.utils.a5; import com.tencent.mm.plugin.finder.utils.e6; import com.tencent.mm.sdk.platformtools.Log; import com.tencent.mm.storage.w1; import com.tencent.mm.ui.widget.imageview.WeImageView; import com.tencent.mm.ui.x4; import com.tencent.thumbplayer.api.TPOptionalID; import com.tencent.wechat.aff.ting.TingProto; import com.tencent.wxmm.v2helper; import com.tencent.xweb.pinus.ChildProcessServiceWrapper; import d60.z; import dh4.j; import gk4.h; import gk4.n0; import gk4.o0; import i14.y0; import java.util.ArrayList; import java.util.LinkedList; import kh4.p; import kotlin.Metadata; import kotlin.ResultKt; import lh4.m; import q22.a; import t22.q; import t22.v; import t32.e2; import wg4.b0; import wg4.o; import xg4.c0; @Metadata(bv = {}, d1 = {"\u0000T\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0016\u0018\u00002\u00020\u0001B\u001d\b\u0007\u0012\u0006\u00101\u001a\u000200\u0012\n\b\u0002\u00103\u001a\u0004\u0018\u000102¢\u0006\u0004\b4\u00105J\b\u0010\u0003\u001a\u00020\u0002H\u0016J\b\u0010\u0004\u001a\u00020\u0002H\u0016J\b\u0010\u0005\u001a\u00020\u0002H\u0016J\b\u0010\u0006\u001a\u00020\u0002H\u0016J\b\u0010\b\u001a\u00020\u0007H\u0016J\u000e\u0010\u000b\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\tR$\u0010\u0011\u001a\u00020\u00072\u0006\u0010\f\u001a\u00020\u00078\u0006@BX\u000e¢\u0006\f\n\u0004\b\r\u0010\u000e\u001a\u0004\b\u000f\u0010\u0010R\u0017\u0010\u0017\u001a\u00020\u00128\u0006¢\u0006\f\n\u0004\b\u0013\u0010\u0014\u001a\u0004\b\u0015\u0010\u0016R\u0017\u0010\u001d\u001a\u00020\u00188\u0006¢\u0006\f\n\u0004\b\u0019\u0010\u001a\u001a\u0004\b\u001b\u0010\u001cR\u0017\u0010#\u001a\u00020\u001e8\u0006¢\u0006\f\n\u0004\b\u001f\u0010 \u001a\u0004\b!\u0010\"R\u0017\u0010&\u001a\u00020\u00188\u0006¢\u0006\f\n\u0004\b$\u0010\u001a\u001a\u0004\b%\u0010\u001cR6\u0010/\u001a\u0016\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020(\u0018\u00010'8\u0006@\u0006X\u000e¢\u0006\u0012\n\u0004\b)\u0010*\u001a\u0004\b+\u0010,\"\u0004\b-\u0010.¨\u00066"}, d2 = {"Lcom/tencent/mm/plugin/finder/view/notice/NoticeStatusView;", "Landroid/widget/RelativeLayout;", "", "getLayoutId", "getBgRes", "getNormalTextColorRes", "getGreyTextColorRes", "", "getPayText", "Lkotlin/Function0;", "Lbw3/wd1;", "getNoticeFuncRef", "<set-?>", "f", "Ljava/lang/String;", "getUsername", "()Ljava/lang/String;", "username", "Landroid/view/View;", "h", "Landroid/view/View;", "getBgView", "()Landroid/view/View;", "bgView", "Landroid/widget/TextView;", "j", "Landroid/widget/TextView;", "getTvPrice", "()Landroid/widget/TextView;", "tvPrice", "Lcom/tencent/mm/ui/widget/imageview/WeImageView;", "n", "Lcom/tencent/mm/ui/widget/imageview/WeImageView;", "getIvTicket", "()Lcom/tencent/mm/ui/widget/imageview/WeImageView;", "ivTicket", "o", "getTvBigText", "tvBigText", "Lkotlin/Function2;", "Lwg4/b0;", "s", "Lkh4/p;", "getProgressDoneAndNextAction", "()Lkh4/p;", "setProgressDoneAndNextAction", "(Lkh4/p;)V", "progressDoneAndNextAction", "Landroid/content/Context;", "context", "Landroid/util/AttributeSet;", "attrs", "<init>", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "plugin-finder-base_release"}, k = 1, mv = {1, 7, 1}) public class NoticeStatusView extends RelativeLayout { /* renamed from: t reason: collision with root package name */ public static final /* synthetic */ int f121266t = 0; /* renamed from: d reason: collision with root package name */ public int f121267d; /* renamed from: e reason: collision with root package name */ public kh4.a<? extends wd1> f121268e; /* renamed from: f reason: collision with root package name */ public String f121269f = ""; /* renamed from: g reason: collision with root package name */ public final n0 f121270g = o0.b(); /* renamed from: h reason: collision with root package name */ public final View f121271h; /* renamed from: i reason: collision with root package name */ public final WeImageView f121272i; /* renamed from: j reason: collision with root package name */ public final TextView f121273j; /* renamed from: n reason: collision with root package name */ public final WeImageView f121274n; /* renamed from: o reason: collision with root package name */ public final TextView f121275o; /* renamed from: p reason: collision with root package name */ public final TextView f121276p; /* renamed from: q reason: collision with root package name */ public final View f121277q; /* renamed from: r reason: collision with root package name */ public final View f121278r; /* renamed from: s reason: collision with root package name */ public p<? super Integer, ? super Integer, b0> f121279s; @dh4.f(c = "com.tencent.mm.plugin.finder.view.notice.NoticeStatusView", f = "NoticeStatusView.kt", l = {308}, m = "agentClick") public static final class a extends dh4.d { /* renamed from: d reason: collision with root package name */ public /* synthetic */ Object f121280d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ NoticeStatusView f121281e; /* renamed from: f reason: collision with root package name */ public int f121282f; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(NoticeStatusView noticeStatusView, bh4.d<? super a> dVar) { super(dVar); this.f121281e = noticeStatusView; } @Override // dh4.a public final Object invokeSuspend(Object obj) { this.f121280d = obj; this.f121282f |= Integer.MIN_VALUE; return this.f121281e.a(0, this); } } @dh4.f(c = "com.tencent.mm.plugin.finder.view.notice.NoticeStatusView", f = "NoticeStatusView.kt", l = {TingProto.TingReportContext.CURRISPLATFORMPAY_FIELD_NUMBER, TingProto.TingReportContext.CURRISPLATFORMPAY_FIELD_NUMBER}, m = "click") public static final class b extends dh4.d { /* renamed from: d reason: collision with root package name */ public Object f121283d; /* renamed from: e reason: collision with root package name */ public Object f121284e; /* renamed from: f reason: collision with root package name */ public /* synthetic */ Object f121285f; /* renamed from: g reason: collision with root package name */ public final /* synthetic */ NoticeStatusView f121286g; /* renamed from: h reason: collision with root package name */ public int f121287h; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b(NoticeStatusView noticeStatusView, bh4.d<? super b> dVar) { super(dVar); this.f121286g = noticeStatusView; } @Override // dh4.a public final Object invokeSuspend(Object obj) { this.f121285f = obj; this.f121287h |= Integer.MIN_VALUE; NoticeStatusView noticeStatusView = this.f121286g; int i15 = NoticeStatusView.f121266t; return noticeStatusView.b(null, this); } } @dh4.f(c = "com.tencent.mm.plugin.finder.view.notice.NoticeStatusView", f = "NoticeStatusView.kt", l = {TPOptionalID.OPTION_ID_BEFORE_INT_AUDIO_STREAM_TYPE, 379, 390, 397}, m = "executeConcertPay") public static final class c extends dh4.d { /* renamed from: d reason: collision with root package name */ public Object f121288d; /* renamed from: e reason: collision with root package name */ public Object f121289e; /* renamed from: f reason: collision with root package name */ public /* synthetic */ Object f121290f; /* renamed from: g reason: collision with root package name */ public final /* synthetic */ NoticeStatusView f121291g; /* renamed from: h reason: collision with root package name */ public int f121292h; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public c(NoticeStatusView noticeStatusView, bh4.d<? super c> dVar) { super(dVar); this.f121291g = noticeStatusView; } @Override // dh4.a public final Object invokeSuspend(Object obj) { this.f121290f = obj; this.f121292h |= Integer.MIN_VALUE; NoticeStatusView noticeStatusView = this.f121291g; int i15 = NoticeStatusView.f121266t; return noticeStatusView.c(null, this); } } @dh4.f(c = "com.tencent.mm.plugin.finder.view.notice.NoticeStatusView", f = "NoticeStatusView.kt", l = {411, 413, v2helper.EMethodSetSpkEnhance, 431}, m = "executeNormalPay") public static final class d extends dh4.d { /* renamed from: d reason: collision with root package name */ public Object f121293d; /* renamed from: e reason: collision with root package name */ public Object f121294e; /* renamed from: f reason: collision with root package name */ public /* synthetic */ Object f121295f; /* renamed from: g reason: collision with root package name */ public final /* synthetic */ NoticeStatusView f121296g; /* renamed from: h reason: collision with root package name */ public int f121297h; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public d(NoticeStatusView noticeStatusView, bh4.d<? super d> dVar) { super(dVar); this.f121296g = noticeStatusView; } @Override // dh4.a public final Object invokeSuspend(Object obj) { this.f121295f = obj; this.f121297h |= Integer.MIN_VALUE; NoticeStatusView noticeStatusView = this.f121296g; int i15 = NoticeStatusView.f121266t; return noticeStatusView.d(null, this); } } @dh4.f(c = "com.tencent.mm.plugin.finder.view.notice.NoticeStatusView", f = "NoticeStatusView.kt", l = {JsApiWriteCommData.CTRL_INDEX}, m = "getProduct") public static final class e extends dh4.d { /* renamed from: d reason: collision with root package name */ public Object f121298d; /* renamed from: e reason: collision with root package name */ public Object f121299e; /* renamed from: f reason: collision with root package name */ public /* synthetic */ Object f121300f; /* renamed from: g reason: collision with root package name */ public final /* synthetic */ NoticeStatusView f121301g; /* renamed from: h reason: collision with root package name */ public int f121302h; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public e(NoticeStatusView noticeStatusView, bh4.d<? super e> dVar) { super(dVar); this.f121301g = noticeStatusView; } @Override // dh4.a public final Object invokeSuspend(Object obj) { this.f121300f = obj; this.f121302h |= Integer.MIN_VALUE; NoticeStatusView noticeStatusView = this.f121301g; int i15 = NoticeStatusView.f121266t; return noticeStatusView.e(null, this); } } public static final class f implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ NoticeStatusView f121303d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ kh4.a<wd1> f121304e; @dh4.f(c = "com.tencent.mm.plugin.finder.view.notice.NoticeStatusView$render$1$1", f = "NoticeStatusView.kt", l = {JsApiSetAudioState.CTRL_INDEX}, m = "invokeSuspend") public static final class a extends j implements p<n0, bh4.d<? super b0>, Object> { /* renamed from: d reason: collision with root package name */ public int f121305d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ NoticeStatusView f121306e; /* renamed from: f reason: collision with root package name */ public final /* synthetic */ kh4.a<wd1> f121307f; /* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: kh4.a<? extends bw3.wd1> */ /* JADX WARN: Multi-variable type inference failed */ /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(NoticeStatusView noticeStatusView, kh4.a<? extends wd1> aVar, bh4.d<? super a> dVar) { super(2, dVar); this.f121306e = noticeStatusView; this.f121307f = aVar; } @Override // dh4.a public final bh4.d<b0> create(Object obj, bh4.d<?> dVar) { return new a(this.f121306e, this.f121307f, dVar); } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // kh4.p public Object invoke(n0 n0Var, bh4.d<? super b0> dVar) { return ((a) create(n0Var, dVar)).invokeSuspend(b0.f332794a); } @Override // dh4.a public final Object invokeSuspend(Object obj) { ch4.a aVar = ch4.a.COROUTINE_SUSPENDED; int i15 = this.f121305d; if (i15 == 0) { ResultKt.throwOnFailure(obj); this.f121305d = 1; int i16 = NoticeStatusView.f121266t; if (this.f121306e.b(this.f121307f.invoke(), this) == aVar) { return aVar; } } else if (i15 == 1) { ResultKt.throwOnFailure(obj); } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } return b0.f332794a; } } /* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: kh4.a<? extends bw3.wd1> */ /* JADX WARN: Multi-variable type inference failed */ public f(NoticeStatusView noticeStatusView, kh4.a<? extends wd1> aVar) { this.f121303d = noticeStatusView; this.f121304e = aVar; } public final void onClick(View view) { ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/view/notice/NoticeStatusView$render$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); NoticeStatusView noticeStatusView = this.f121303d; noticeStatusView.f121267d = 0; h.d(noticeStatusView.f121270g, null, null, new a(noticeStatusView, this.f121304e, null), 3, null); j30.a.g(this, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView$render$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } @dh4.f(c = "com.tencent.mm.plugin.finder.view.notice.NoticeStatusView", f = "NoticeStatusView.kt", l = {k.CTRL_INDEX}, m = "showLicense") public static final class g extends dh4.d { /* renamed from: d reason: collision with root package name */ public /* synthetic */ Object f121308d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ NoticeStatusView f121309e; /* renamed from: f reason: collision with root package name */ public int f121310f; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public g(NoticeStatusView noticeStatusView, bh4.d<? super g> dVar) { super(dVar); this.f121309e = noticeStatusView; } @Override // dh4.a public final Object invokeSuspend(Object obj) { this.f121308d = obj; this.f121310f |= Integer.MIN_VALUE; NoticeStatusView noticeStatusView = this.f121309e; int i15 = NoticeStatusView.f121266t; return noticeStatusView.g(this); } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public NoticeStatusView(Context context, AttributeSet attributeSet) { super(context, attributeSet); m.g(context, "context"); View inflate = View.inflate(context, getLayoutId(), this); m.e(inflate, "null cannot be cast to non-null type android.view.ViewGroup"); ViewGroup viewGroup = (ViewGroup) inflate; View findViewById = viewGroup.findViewById(R.id.ihu); m.f(findViewById, "rootView.findViewById(R.id.ll_bg)"); this.f121271h = findViewById; View findViewById2 = viewGroup.findViewById(R.id.hof); m.f(findViewById2, "rootView.findViewById(R.id.iv_value_icon)"); this.f121272i = (WeImageView) findViewById2; View findViewById3 = viewGroup.findViewById(R.id.op4); m.f(findViewById3, "rootView.findViewById(R.id.tv_price)"); TextView textView = (TextView) findViewById3; this.f121273j = textView; View findViewById4 = viewGroup.findViewById(R.id.ho4); m.f(findViewById4, "rootView.findViewById(R.id.iv_ticket)"); WeImageView weImageView = (WeImageView) findViewById4; this.f121274n = weImageView; View findViewById5 = viewGroup.findViewById(R.id.ol5); m.f(findViewById5, "rootView.findViewById(R.id.tv_big_text)"); TextView textView2 = (TextView) findViewById5; this.f121275o = textView2; View findViewById6 = viewGroup.findViewById(R.id.opw); m.f(findViewById6, "rootView.findViewById(R.id.tv_small_text)"); TextView textView3 = (TextView) findViewById6; this.f121276p = textView3; View findViewById7 = viewGroup.findViewById(R.id.f363839ij0); m.f(findViewById7, "rootView.findViewById(R.id.ll_up)"); this.f121277q = findViewById7; View findViewById8 = viewGroup.findViewById(R.id.f363838ii4); m.f(findViewById8, "rootView.findViewById(R.id.ll_down)"); this.f121278r = findViewById8; findViewById.setBackground(getResources().getDrawable(getBgRes())); textView.setTextColor(getResources().getColor(getNormalTextColorRes())); weImageView.setIconColor(getResources().getColor(getNormalTextColorRes())); textView2.setTextColor(getResources().getColor(getNormalTextColorRes())); textView3.setTextColor(getResources().getColor(getNormalTextColorRes())); x4.m0(textView.getPaint(), 0.8f); x4.m0(textView2.getPaint(), 0.8f); x4.m0(textView3.getPaint(), 0.8f); a5.f118672a.j0(textView, true); } /* JADX WARNING: Removed duplicated region for block: B:12:0x002f */ /* JADX WARNING: Removed duplicated region for block: B:8:0x0021 */ public final Object a(int i15, bh4.d<? super b0> dVar) { a aVar; int i16; wd1 wd12; if (dVar instanceof a) { aVar = (a) dVar; int i17 = aVar.f121282f; if ((i17 & Integer.MIN_VALUE) != 0) { aVar.f121282f = i17 - Integer.MIN_VALUE; Object obj = aVar.f121280d; Object obj2 = ch4.a.COROUTINE_SUSPENDED; i16 = aVar.f121282f; if (i16 != 0) { ResultKt.throwOnFailure(obj); this.f121267d = i15; kh4.a<? extends wd1> aVar2 = this.f121268e; if (!(aVar2 == null || (wd12 = (wd1) aVar2.invoke()) == null)) { aVar.f121282f = 1; if (b(wd12, aVar) == obj2) { return obj2; } } } else if (i16 == 1) { ResultKt.throwOnFailure(obj); } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } return b0.f332794a; } } aVar = new a(this, dVar); Object obj3 = aVar.f121280d; Object obj22 = ch4.a.COROUTINE_SUSPENDED; i16 = aVar.f121282f; if (i16 != 0) { } return b0.f332794a; } /* JADX WARNING: Removed duplicated region for block: B:13:0x003c */ /* JADX WARNING: Removed duplicated region for block: B:54:0x00c6 */ /* JADX WARNING: Removed duplicated region for block: B:8:0x0022 */ public final Object b(wd1 wd12, bh4.d<? super b0> dVar) { b bVar; Object obj; int i15; NoticeStatusView noticeStatusView; boolean z15; int i16; boolean z16; if (dVar instanceof b) { bVar = (b) dVar; int i17 = bVar.f121287h; if ((i17 & Integer.MIN_VALUE) != 0) { bVar.f121287h = i17 - Integer.MIN_VALUE; obj = bVar.f121285f; ch4.a aVar = ch4.a.COROUTINE_SUSPENDED; i15 = bVar.f121287h; int i18 = 1; if (i15 != 0) { ResultKt.throwOnFailure(obj); zy3 zy32 = wd12.f40932q; boolean z17 = false; if (zy32 == null || !zy32.f45065d) { z15 = false; } else { z15 = true; } if (z15) { if (zy32 == null || zy32.f45066e != 0) { z16 = false; } else { z16 = true; } if (!z16) { if (zy32 != null) { if (zy32.f45067f) { String str = wd12.f40930o; if (!(str == null || str.length() == 0)) { i18 = 0; } if (i18 != 0) { y0.k(getContext(), getResources().getString(R.string.e0l)); } else { p<? super Integer, ? super Integer, b0> pVar = this.f121279s; if (pVar != null) { pVar.invoke(new Integer(0), new Integer(this.f121267d)); } } } else { String str2 = wd12.f40930o; if (str2 == null || str2.length() == 0) { z17 = true; } if (z17) { bVar.f121283d = this; bVar.f121284e = wd12; bVar.f121287h = 1; obj = d(wd12, bVar); if (obj == aVar) { return aVar; } } else { bVar.f121283d = this; bVar.f121284e = wd12; bVar.f121287h = 2; obj = c(wd12, bVar); if (obj == aVar) { return aVar; } } noticeStatusView = this; } } return b0.f332794a; } } if (wd12.f40923e == 0) { i16 = 1; } else { i16 = 0; } String str3 = wd12.f40930o; if (str3 == null || str3.length() == 0) { z17 = true; } if (z17) { p<? super Integer, ? super Integer, b0> pVar2 = this.f121279s; if (pVar2 != null) { if (i16 != 0) { i18 = -1; } pVar2.invoke(new Integer(i18), new Integer(this.f121267d)); } } else { p<? super Integer, ? super Integer, b0> pVar3 = this.f121279s; if (pVar3 != null) { pVar3.invoke(new Integer(i16 ^ 1), new Integer(this.f121267d)); } } return b0.f332794a; } else if (i15 == 1 || i15 == 2) { wd12 = (wd1) bVar.f121284e; noticeStatusView = (NoticeStatusView) bVar.f121283d; ResultKt.throwOnFailure(obj); } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } if (((Boolean) obj).booleanValue()) { zy3 zy33 = wd12.f40932q; if (zy33 != null) { zy33.f45067f = true; } p<? super Integer, ? super Integer, b0> pVar4 = noticeStatusView.f121279s; if (pVar4 != null) { pVar4.invoke(new Integer(1), new Integer(noticeStatusView.f121267d)); } } return b0.f332794a; } } bVar = new b(this, dVar); obj = bVar.f121285f; ch4.a aVar2 = ch4.a.COROUTINE_SUSPENDED; i15 = bVar.f121287h; int i182 = 1; if (i15 != 0) { } if (((Boolean) obj).booleanValue()) { } return b0.f332794a; } /* JADX WARNING: Removed duplicated region for block: B:19:0x0066 */ /* JADX WARNING: Removed duplicated region for block: B:25:0x0080 */ /* JADX WARNING: Removed duplicated region for block: B:75:0x017f */ /* JADX WARNING: Removed duplicated region for block: B:77:0x0187 */ /* JADX WARNING: Removed duplicated region for block: B:82:0x019d */ /* JADX WARNING: Removed duplicated region for block: B:84:0x01a5 */ /* JADX WARNING: Removed duplicated region for block: B:8:0x002d */ public final Object c(wd1 wd12, bh4.d<? super Boolean> dVar) { c cVar; Object obj; int i15; NoticeStatusView noticeStatusView; q44 q442; NoticeStatusView noticeStatusView2; q44 q443; c cVar2; String str; String str2; String str3; if (dVar instanceof c) { cVar = (c) dVar; int i16 = cVar.f121292h; if ((i16 & Integer.MIN_VALUE) != 0) { cVar.f121292h = i16 - Integer.MIN_VALUE; c cVar3 = cVar; obj = cVar3.f121290f; ch4.a aVar = ch4.a.COROUTINE_SUSPENDED; i15 = cVar3.f121292h; if (i15 != 0) { ResultKt.throwOnFailure(obj); Log.i("NoticeStatusView", "#executeConcertPay"); cVar3.f121288d = this; cVar3.f121292h = 1; obj = e(wd12, cVar3); if (obj == aVar) { return aVar; } noticeStatusView2 = this; q443 = (q44) obj; if (q443 != null) { } return Boolean.FALSE; } else if (i15 == 1) { ResultKt.throwOnFailure(obj); noticeStatusView2 = (NoticeStatusView) cVar3.f121288d; q443 = (q44) obj; if (q443 != null) { StringBuilder sb5 = new StringBuilder(); sb5.append("#executeConcertPay id="); sb5.append(q443.f33775d); sb5.append(" price="); sb5.append(q443.f33776e); sb5.append(" ticket="); h10 a15 = e6.a(q443); sb5.append(a15 != null ? a15.f23231d : null); sb5.append(" title="); h10 a16 = e6.a(q443); sb5.append(a16 != null ? a16.f23232e : null); Log.i("NoticeStatusView", sb5.toString()); h10 a17 = e6.a(q443); if (a17 != null) { if (a17.f23235h > 0) { cVar2 = cVar3; String string = noticeStatusView2.getResources().getString(R.string.bas, a5.f118672a.s(a17.f23235h * 1000)); m.f(string, "resources.getString(\n …0L)\n )"); str = string; } else { cVar2 = cVar3; str = ""; } String str4 = a17.f23233f; if (!(str4 == null || str4.length() == 0)) { str2 = a17.f23233f; } else { LinkedList<g10> linkedList = a17.C; m.f(linkedList, "it.resource_info_list"); g10 g102 = (g10) c0.Q(linkedList); str2 = g102 != null ? g102.f22218f : null; } String str5 = a17.f23232e; if (!(str5 == null || str5.length() == 0)) { str3 = a17.f23232e; } else { LinkedList<g10> linkedList2 = a17.C; m.f(linkedList2, "it.resource_info_list"); g10 g103 = (g10) c0.Q(linkedList2); str3 = g103 != null ? g103.f22217e : null; } Context context = noticeStatusView2.getContext(); m.f(context, "context"); q qVar = new q(context); if (str2 == null) { str2 = ""; } if (str3 == null) { str3 = ""; } int i17 = a17.f23245u; cVar3 = cVar2; cVar3.f121288d = noticeStatusView2; cVar3.f121289e = q443; cVar3.f121292h = 2; Object a18 = qVar.a(str2, str3, str, i17, cVar3); if (a18 == aVar) { return aVar; } noticeStatusView = noticeStatusView2; q442 = q443; obj = a18; if (((Boolean) obj).booleanValue()) { } } } return Boolean.FALSE; } else if (i15 == 2) { q442 = (q44) cVar3.f121289e; noticeStatusView = (NoticeStatusView) cVar3.f121288d; ResultKt.throwOnFailure(obj); if (((Boolean) obj).booleanValue()) { Log.i("NoticeStatusView", "#executeConcertPay paySecondCheckResult uncheck"); return Boolean.FALSE; } cVar3.f121288d = noticeStatusView; cVar3.f121289e = q442; cVar3.f121292h = 3; obj = noticeStatusView.g(cVar3); if (obj == aVar) { return aVar; } } else if (i15 == 3) { q442 = (q44) cVar3.f121289e; noticeStatusView = (NoticeStatusView) cVar3.f121288d; ResultKt.throwOnFailure(obj); } else if (i15 == 4) { ResultKt.throwOnFailure(obj); o oVar = (o) obj; Log.i("NoticeStatusView", "#executeConcertPay finally result = " + oVar); return oVar.f332815d; } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } if (((Boolean) obj).booleanValue()) { Log.i("NoticeStatusView", "#executeConcertPay licenseResult uncheck"); return Boolean.FALSE; } yz3.d c15 = yz3.j.c(e2.class); m.f(c15, "getService(IFinderCommon…atureService::class.java)"); Context context2 = noticeStatusView.getContext(); m.f(context2, "context"); cVar3.f121288d = null; cVar3.f121289e = null; cVar3.f121292h = 4; obj = e2.a.d((e2) c15, context2, q442, 0, 0, null, null, cVar3, 60, null); if (obj == aVar) { return aVar; } o oVar2 = (o) obj; Log.i("NoticeStatusView", "#executeConcertPay finally result = " + oVar2); return oVar2.f332815d; } } cVar = new c(this, dVar); c cVar32 = cVar; obj = cVar32.f121290f; ch4.a aVar2 = ch4.a.COROUTINE_SUSPENDED; i15 = cVar32.f121292h; if (i15 != 0) { } if (((Boolean) obj).booleanValue()) { } } /* JADX WARNING: Removed duplicated region for block: B:19:0x006d */ /* JADX WARNING: Removed duplicated region for block: B:25:0x0082 */ /* JADX WARNING: Removed duplicated region for block: B:37:0x00e9 */ /* JADX WARNING: Removed duplicated region for block: B:39:0x00f1 */ /* JADX WARNING: Removed duplicated region for block: B:44:0x0106 */ /* JADX WARNING: Removed duplicated region for block: B:46:0x010e */ /* JADX WARNING: Removed duplicated region for block: B:51:0x0158 */ /* JADX WARNING: Removed duplicated region for block: B:8:0x002f */ public final Object d(wd1 wd12, bh4.d<? super Boolean> dVar) { d dVar2; Object obj; int i15; String str; NoticeStatusView noticeStatusView; q44 q442; NoticeStatusView noticeStatusView2; q44 q443; wd1 wd13 = wd12; if (dVar instanceof d) { dVar2 = (d) dVar; int i16 = dVar2.f121297h; if ((i16 & Integer.MIN_VALUE) != 0) { dVar2.f121297h = i16 - Integer.MIN_VALUE; obj = dVar2.f121295f; ch4.a aVar = ch4.a.COROUTINE_SUSPENDED; i15 = dVar2.f121297h; if (i15 != 0) { ResultKt.throwOnFailure(obj); dVar2.f121293d = this; dVar2.f121294e = wd13; dVar2.f121297h = 1; obj = e(wd13, dVar2); if (obj == aVar) { return aVar; } noticeStatusView2 = this; q443 = (q44) obj; if (q443 != null) { } } else if (i15 == 1) { wd13 = (wd1) dVar2.f121294e; ResultKt.throwOnFailure(obj); noticeStatusView2 = (NoticeStatusView) dVar2.f121293d; q443 = (q44) obj; if (q443 != null) { return Boolean.FALSE; } Log.i("NoticeStatusView", "#executeNormalPay id=" + q443.f33775d + " price=" + q443.f33776e); Context context = noticeStatusView2.getContext(); m.f(context, "context"); v vVar = new v(context); String str2 = wd13.f40925g; if (str2 == null) { str2 = ""; } int i17 = q443.f33776e; LinkedList<String> linkedList = q443.f33778g; m.f(linkedList, "product.rights_wording"); String str3 = (String) c0.Q(linkedList); if (str3 == null) { str3 = ""; } String str4 = q443.f33783o; dVar2.f121293d = noticeStatusView2; dVar2.f121294e = q443; dVar2.f121297h = 2; Object a15 = vVar.a(str2, i17, str3, str4, dVar2); if (a15 == aVar) { return aVar; } noticeStatusView = noticeStatusView2; obj = a15; q442 = q443; if (((Boolean) obj).booleanValue()) { } } else if (i15 == 2) { q442 = (q44) dVar2.f121294e; noticeStatusView = (NoticeStatusView) dVar2.f121293d; ResultKt.throwOnFailure(obj); if (((Boolean) obj).booleanValue()) { Log.i("NoticeStatusView", "#executeNormalPay paySecondCheckResult uncheck"); return Boolean.FALSE; } dVar2.f121293d = noticeStatusView; dVar2.f121294e = q442; dVar2.f121297h = 3; obj = noticeStatusView.g(dVar2); if (obj == aVar) { return aVar; } } else if (i15 == 3) { q442 = (q44) dVar2.f121294e; noticeStatusView = (NoticeStatusView) dVar2.f121293d; ResultKt.throwOnFailure(obj); } else if (i15 == 4) { ResultKt.throwOnFailure(obj); str = "NoticeStatusView"; o oVar = (o) obj; Log.i(str, "#executeNormalPay finally result = " + oVar); return oVar.f332815d; } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } if (((Boolean) obj).booleanValue()) { Log.i("NoticeStatusView", "#executeNormalPay licenseResult uncheck"); return Boolean.FALSE; } yz3.d c15 = yz3.j.c(e2.class); m.f(c15, "getService(IFinderCommon…atureService::class.java)"); e2 e2Var = (e2) c15; Context context2 = noticeStatusView.getContext(); m.f(context2, "context"); dVar2.f121293d = null; dVar2.f121294e = null; dVar2.f121297h = 4; str = "NoticeStatusView"; obj = e2.a.d(e2Var, context2, q442, 0, 0, null, null, dVar2, 60, null); if (obj == aVar) { return aVar; } o oVar2 = (o) obj; Log.i(str, "#executeNormalPay finally result = " + oVar2); return oVar2.f332815d; } } dVar2 = new d(this, dVar); obj = dVar2.f121295f; ch4.a aVar2 = ch4.a.COROUTINE_SUSPENDED; i15 = dVar2.f121297h; if (i15 != 0) { } if (((Boolean) obj).booleanValue()) { } } /* JADX WARNING: Removed duplicated region for block: B:12:0x0037 */ /* JADX WARNING: Removed duplicated region for block: B:22:0x0065 */ /* JADX WARNING: Removed duplicated region for block: B:8:0x0021 */ public final Object e(wd1 wd12, bh4.d<? super q44> dVar) { e eVar; int i15; NoticeStatusView noticeStatusView; q44 q442; xv3.b bVar; if (dVar instanceof e) { eVar = (e) dVar; int i16 = eVar.f121302h; if ((i16 & Integer.MIN_VALUE) != 0) { eVar.f121302h = i16 - Integer.MIN_VALUE; Object obj = eVar.f121300f; ch4.a aVar = ch4.a.COROUTINE_SUSPENDED; i15 = eVar.f121302h; if (i15 != 0) { ResultKt.throwOnFailure(obj); e2 e2Var = (e2) yz3.j.c(e2.class); Context context = getContext(); m.f(context, "context"); zy3 zy32 = wd12.f40932q; if (zy32 != null) { bVar = zy32.f45069h; } else { bVar = null; } eVar.f121298d = this; eVar.f121299e = wd12; eVar.f121302h = 1; obj = e2Var.Ba0(context, bVar, true, eVar); if (obj == aVar) { return aVar; } noticeStatusView = this; } else if (i15 == 1) { wd12 = (wd1) eVar.f121299e; noticeStatusView = (NoticeStatusView) eVar.f121298d; ResultKt.throwOnFailure(obj); } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } q442 = (q44) obj; if (q442 == null) { Log.i("NoticeStatusView", "#getProduct product is null noticeId=" + wd12.f40926h + " introduction=" + wd12.f40925g); y0.makeText(noticeStatusView.getContext(), noticeStatusView.getContext().getResources().getString(R.string.d8p), 0).show(); } return q442; } } eVar = new e(this, dVar); Object obj2 = eVar.f121300f; ch4.a aVar2 = ch4.a.COROUTINE_SUSPENDED; i15 = eVar.f121302h; if (i15 != 0) { } q442 = (q44) obj2; if (q442 == null) { } return q442; } public void f(String str, kh4.a<? extends wd1> aVar) { m.g(aVar, "getNoticeInfo"); this.f121269f = str == null ? "" : str; this.f121268e = aVar; boolean z15 = true; boolean z16 = ((wd1) aVar.invoke()).f40931p == 1; boolean z17 = ((wd1) aVar.invoke()).f40923e == 0; zy3 zy32 = ((wd1) aVar.invoke()).f40932q; if (zy32 == null || !zy32.f45065d) { z15 = false; } zy3 zy33 = ((wd1) aVar.invoke()).f40932q; int i15 = zy33 != null ? zy33.f45066e : 0; zy3 zy34 = ((wd1) aVar.invoke()).f40932q; boolean z18 = zy34 != null ? zy34.f45067f : false; this.f121271h.setBackground(getResources().getDrawable(getBgRes())); this.f121274n.setIconColor(getResources().getColor(getNormalTextColorRes())); this.f121275o.setTextColor(getResources().getColor(getNormalTextColorRes())); if (!z15 || i15 == 0) { if (z17) { if (z16) { this.f121272i.setVisibility(8); this.f121273j.setVisibility(8); this.f121274n.setVisibility(8); this.f121275o.setVisibility(0); this.f121276p.setVisibility(8); View view = this.f121277q; k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar2.c(8); j30.a.d(view, aVar2.b(), "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); this.f121275o.setText(getResources().getString(R.string.cs_)); } else { this.f121272i.setVisibility(8); this.f121273j.setVisibility(8); this.f121274n.setVisibility(0); this.f121275o.setVisibility(0); this.f121276p.setVisibility(8); View view2 = this.f121277q; k30.a aVar3 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar3.c(8); j30.a.d(view2, aVar3.b(), "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view2.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(view2, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); this.f121275o.setText(getResources().getString(R.string.cs7)); } } else if (z16) { this.f121272i.setVisibility(8); this.f121273j.setVisibility(8); this.f121274n.setVisibility(8); this.f121275o.setVisibility(0); this.f121276p.setVisibility(8); View view3 = this.f121277q; k30.a aVar4 = new k30.a(); ThreadLocal<k30.a> threadLocal3 = k30.c.f244265a; aVar4.c(8); j30.a.d(view3, aVar4.b(), "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view3.setVisibility(((Integer) aVar4.a(0)).intValue()); j30.a.e(view3, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); this.f121275o.setText(getResources().getString(R.string.dh8)); } else { this.f121272i.setVisibility(8); this.f121273j.setVisibility(8); this.f121274n.setVisibility(8); this.f121275o.setVisibility(0); this.f121276p.setVisibility(8); View view4 = this.f121277q; k30.a aVar5 = new k30.a(); ThreadLocal<k30.a> threadLocal4 = k30.c.f244265a; aVar5.c(8); j30.a.d(view4, aVar5.b(), "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view4.setVisibility(((Integer) aVar5.a(0)).intValue()); j30.a.e(view4, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); this.f121275o.setText(getResources().getString(R.string.eym)); } } else if (z18) { if (z16) { this.f121272i.setVisibility(8); this.f121273j.setVisibility(8); this.f121274n.setVisibility(8); this.f121275o.setVisibility(0); this.f121276p.setVisibility(8); View view5 = this.f121277q; k30.a aVar6 = new k30.a(); ThreadLocal<k30.a> threadLocal5 = k30.c.f244265a; aVar6.c(8); j30.a.d(view5, aVar6.b(), "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view5.setVisibility(((Integer) aVar6.a(0)).intValue()); j30.a.e(view5, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); this.f121275o.setText(getResources().getString(R.string.cs_)); } else { this.f121272i.setVisibility(8); this.f121273j.setVisibility(8); this.f121274n.setVisibility(0); this.f121275o.setVisibility(0); this.f121276p.setVisibility(8); View view6 = this.f121277q; k30.a aVar7 = new k30.a(); ThreadLocal<k30.a> threadLocal6 = k30.c.f244265a; aVar7.c(8); j30.a.d(view6, aVar7.b(), "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view6.setVisibility(((Integer) aVar7.a(0)).intValue()); j30.a.e(view6, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); this.f121275o.setText(getResources().getString(R.string.cs8)); this.f121271h.setBackground(getResources().getDrawable(R.drawable.a6j)); this.f121274n.setIconColor(getResources().getColor(getGreyTextColorRes())); this.f121275o.setTextColor(getResources().getColor(getGreyTextColorRes())); } } else if (z16) { this.f121272i.setVisibility(0); this.f121273j.setVisibility(0); this.f121274n.setVisibility(8); this.f121275o.setVisibility(8); this.f121276p.setVisibility(0); View view7 = this.f121277q; k30.a aVar8 = new k30.a(); ThreadLocal<k30.a> threadLocal7 = k30.c.f244265a; aVar8.c(0); j30.a.d(view7, aVar8.b(), "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view7.setVisibility(((Integer) aVar8.a(0)).intValue()); j30.a.e(view7, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); this.f121273j.setText(String.valueOf(i15)); this.f121276p.setText(getResources().getString(R.string.eyi)); } else { this.f121272i.setVisibility(0); this.f121273j.setVisibility(0); this.f121274n.setVisibility(8); this.f121275o.setVisibility(8); this.f121276p.setVisibility(0); View view8 = this.f121277q; k30.a aVar9 = new k30.a(); ThreadLocal<k30.a> threadLocal8 = k30.c.f244265a; aVar9.c(0); j30.a.d(view8, aVar9.b(), "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view8.setVisibility(((Integer) aVar9.a(0)).intValue()); j30.a.e(view8, "com/tencent/mm/plugin/finder/view/notice/NoticeStatusView", ChildProcessServiceWrapper.PROCESS_TYPE_RENDER, "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); this.f121273j.setText(String.valueOf(i15)); this.f121276p.setText(getPayText()); } setOnClickListener(new f(this, aVar)); } /* JADX WARNING: Removed duplicated region for block: B:12:0x0038 */ /* JADX WARNING: Removed duplicated region for block: B:8:0x0029 */ public final Object g(bh4.d<? super Boolean> dVar) { g gVar; int i15; w1.a aVar = w1.a.Ih; if (dVar instanceof g) { gVar = (g) dVar; int i16 = gVar.f121310f; if ((i16 & Integer.MIN_VALUE) != 0) { gVar.f121310f = i16 - Integer.MIN_VALUE; Object obj = gVar.f121308d; ch4.a aVar2 = ch4.a.COROUTINE_SUSPENDED; i15 = gVar.f121310f; if (i15 != 0) { ResultKt.throwOnFailure(obj); Object f15 = z.s().i().f(aVar, Boolean.FALSE); m.e(f15, "null cannot be cast to non-null type kotlin.Boolean"); if (((Boolean) f15).booleanValue()) { return Boolean.TRUE; } Context context = getContext(); m.f(context, "context"); q22.a aVar3 = new q22.a(context); String string = getContext().getResources().getString(R.string.f368445ei3); m.f(string, "context.resources.getStr…re_sale_license_content1)"); String string2 = getContext().getResources().getString(R.string.f368446ei4); m.f(string2, "context.resources.getStr…_sale_license_content1_1)"); a.C4665a aVar4 = new a.C4665a(string, string2, "https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/JsWXJcUX5dlJhfUW"); ArrayList arrayList = new ArrayList(); String string3 = getContext().getResources().getString(R.string.ei5); m.f(string3, "context.resources.getStr…sale_license_desc1_tips1)"); arrayList.add(new a.C4665a(string3, null, null, 6, null)); String string4 = getContext().getResources().getString(R.string.ei6); m.f(string4, "context.resources.getStr…sale_license_desc1_tips2)"); arrayList.add(new a.C4665a(string4, null, null, 6, null)); String string5 = getContext().getResources().getString(R.string.ei7); m.f(string5, "context.resources.getStr…sale_license_desc1_tips3)"); arrayList.add(new a.C4665a(string5, null, null, 6, null)); gVar.f121310f = 1; obj = aVar3.b(aVar4, arrayList, gVar); if (obj == aVar2) { return aVar2; } } else if (i15 == 1) { ResultKt.throwOnFailure(obj); } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } boolean booleanValue = ((Boolean) obj).booleanValue(); z.s().i().L(aVar, Boolean.valueOf(booleanValue)); return Boolean.valueOf(booleanValue); } } gVar = new g(this, dVar); Object obj2 = gVar.f121308d; ch4.a aVar22 = ch4.a.COROUTINE_SUSPENDED; i15 = gVar.f121310f; if (i15 != 0) { } boolean booleanValue2 = ((Boolean) obj2).booleanValue(); z.s().i().L(aVar, Boolean.valueOf(booleanValue2)); return Boolean.valueOf(booleanValue2); } public int getBgRes() { return R.drawable.a6g; } public final View getBgView() { return this.f121271h; } public int getGreyTextColorRes() { return R.color.FG_2; } public final WeImageView getIvTicket() { return this.f121274n; } public int getLayoutId() { return R.layout.aw6; } public int getNormalTextColorRes() { return R.color.f358398mc; } /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: kh4.a<? extends bw3.wd1>, kh4.a<bw3.wd1> */ public final kh4.a<wd1> getNoticeFuncRef() { return this.f121268e; } public String getPayText() { String string = getResources().getString(R.string.eyn); m.f(string, "resources.getString(R.st…ialog_subscribe_to_watch)"); return string; } /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: kh4.p<? super java.lang.Integer, ? super java.lang.Integer, wg4.b0>, kh4.p<java.lang.Integer, java.lang.Integer, wg4.b0> */ public final p<Integer, Integer, b0> getProgressDoneAndNextAction() { return this.f121279s; } public final TextView getTvBigText() { return this.f121275o; } public final TextView getTvPrice() { return this.f121273j; } public final String getUsername() { return this.f121269f; } public final void setProgressDoneAndNextAction(p<? super Integer, ? super Integer, b0> pVar) { this.f121279s = pVar; } }