package ct1; import bh4.d; import ch4.a; import com.tencent.mm.R; import com.tencent.mm.plugin.appbrand.weishi.b; import com.tencent.mm.storage.w1; import d60.z; import dh4.f; import dh4.j; import gk4.n0; import java.util.ArrayList; import kh4.p; import kotlin.ResultKt; import lh4.m; import q22.a; import wg4.b0; @f(c = "com.tencent.mm.plugin.finder.live.viewmodel.component.FinderLiveNoticeUIC$onSaleEnableChange$1", f = "FinderLiveNoticeUIC.kt", l = {b.CTRL_INDEX}, m = "invokeSuspend") public final class e0 extends j implements p<n0, d<? super b0>, Object> { /* renamed from: d reason: collision with root package name */ public int f193706d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ i f193707e; /* renamed from: f reason: collision with root package name */ public final /* synthetic */ boolean f193708f; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public e0(i iVar, boolean z15, d<? super e0> dVar) { super(2, dVar); this.f193707e = iVar; this.f193708f = z15; } @Override // dh4.a public final d<b0> create(Object obj, d<?> dVar) { return new e0(this.f193707e, this.f193708f, 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, d<? super b0> dVar) { return ((e0) create(n0Var, dVar)).invokeSuspend(b0.f332794a); } @Override // dh4.a public final Object invokeSuspend(Object obj) { Object obj2; a aVar = a.COROUTINE_SUSPENDED; int i15 = this.f193706d; if (i15 == 0) { ResultKt.throwOnFailure(obj); new q22.a(this.f193707e.getContext()); q22.a aVar2 = new q22.a(this.f193707e.getContext()); String string = this.f193707e.getContext().getResources().getString(R.string.d55); m.f(string, "context.resources.getStr…re_sale_license_content1)"); String string2 = this.f193707e.getContext().getResources().getString(R.string.d56); m.f(string2, "context.resources.getStr…_sale_license_content1_1)"); a.C4665a aVar3 = new a.C4665a(string, string2, "https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/BsB5Jid0M6gtMOz8"); ArrayList arrayList = new ArrayList(); i iVar = this.f193707e; String string3 = iVar.getContext().getResources().getString(R.string.d57); m.f(string3, "context.resources.getStr…sale_license_desc1_tips1)"); arrayList.add(new a.C4665a(string3, null, null, 6, null)); String string4 = iVar.getContext().getResources().getString(R.string.d58); m.f(string4, "context.resources.getStr…sale_license_desc1_tips2)"); arrayList.add(new a.C4665a(string4, null, null, 6, null)); b0 b0Var = b0.f332794a; this.f193706d = 1; obj2 = aVar2.b(aVar3, arrayList, this); if (obj2 == aVar) { return aVar; } } else if (i15 == 1) { ResultKt.throwOnFailure(obj); obj2 = obj; } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } if (!((Boolean) obj2).booleanValue()) { return b0.f332794a; } z.s().i().L(w1.a.Hh, Boolean.TRUE); this.f193707e.s5(true); i.r5(this.f193707e, this.f193708f); return b0.f332794a; } }