package ue0; import android.content.Context; import android.content.DialogInterface; import com.tencent.mm.sdk.platformtools.Log; import ie1.h; import lh4.m; import sv2.b; import sv2.t; import y71.c; import yz3.j; public final class f implements DialogInterface.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ boolean f317762d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ int f317763e; /* renamed from: f reason: collision with root package name */ public final /* synthetic */ String f317764f; /* renamed from: g reason: collision with root package name */ public final /* synthetic */ Context f317765g; public f(boolean z15, int i15, String str, Context context) { this.f317762d = z15; this.f317763e = i15; this.f317764f = str; this.f317765g = context; } public final void onClick(DialogInterface dialogInterface, int i15) { c.a aVar = c.f343974a; aVar.i("SnsPublishProcess", "ifEgExit", 1); if (this.f317762d) { t tVar = t.f307987a; tVar.d(this.f317765g, tVar.b("moments", this.f317763e, this.f317764f)); aVar.i("SnsTemplate", "goToMJAppResult", 1); return; } b bVar = b.f307927a; Context context = this.f317765g; StringBuilder sb5 = new StringBuilder(); String pi5 = ((h) j.c(h.class)).pi(h.c.f232391tq, "https://miaojian.weixin.qq.com/download/apps?channel="); Log.i("MicroMsg.SecondCutConfig", "SecondCutDownloadUrl: " + pi5); m.f(pi5, "url"); sb5.append(pi5); sb5.append("1101"); bVar.c(context, sb5.toString()); aVar.i("SnsTemplate", "goToMJAppResult", 2); } }