package ae; import android.view.View; import androidx.appcompat.app.AppCompatDialog; import com.meituan.robust.ChangeQuickRedirect; import com.meituan.robust.PatchProxy; import com.sensorsdata.analytics.android.sdk.SensorsDataAutoTrackHelper; import com.shizhuang.duapp.common.helper.update.dialog.AppUpdateReminderDialog; import com.shizhuang.duapp.modules.community.report.ReportActivity; import com.shizhuang.duapp.modules.du_community_common.dialog.ShareActivityFragmentDialog; import com.shizhuang.duapp.modules.du_community_common.model.user.LevelInfo; import com.shizhuang.duapp.modules.live_chat.chat.adapter.ChatItemHolder; import com.shizhuang.duapp.modules.seller_order.module.delivery_manage.ReservationDetailActivityV2; import com.shizhuang.model.chat.ChatMessage; import com.shizhuang.model.report.ReportSelectItemModel; import df.n0; import df.o0; import fd.r; import java.util.Map; import q20.s; import sq.b; import u91.c; import u91.e; import uq0.a; /* compiled from: R8$$SyntheticClass */ public final /* synthetic */ class m implements View.OnClickListener { public final /* synthetic */ int b; /* renamed from: c reason: collision with root package name */ public final /* synthetic */ Object f1298c; public final /* synthetic */ Object d; public /* synthetic */ m(Object obj, Object obj2, int i) { this.b = i; this.f1298c = obj; this.d = obj2; } public final void onClick(View view) { String str; switch (this.b) { case 0: p pVar = (p) this.f1298c; AppUpdateReminderDialog appUpdateReminderDialog = (AppUpdateReminderDialog) this.d; if (!PatchProxy.proxy(new Object[]{appUpdateReminderDialog, view}, pVar, p.changeQuickRedirect, false, 6322, new Class[]{AppUpdateReminderDialog.class, View.class}, Void.TYPE).isSupported) { pVar.b(); b.b(appUpdateReminderDialog); SensorsDataAutoTrackHelper.trackViewOnClick(view); return; } return; case 1: ReportActivity reportActivity = (ReportActivity) this.f1298c; ReportSelectItemModel reportSelectItemModel = (ReportSelectItemModel) this.d; ChangeQuickRedirect changeQuickRedirect = ReportActivity.changeQuickRedirect; if (!PatchProxy.proxy(new Object[]{reportSelectItemModel, view}, reportActivity, ReportActivity.changeQuickRedirect, false, 81500, new Class[]{ReportSelectItemModel.class, View.class}, Void.TYPE).isSupported) { e.G(reportActivity.getContext(), reportSelectItemModel.h5Url); SensorsDataAutoTrackHelper.trackViewOnClick(view); return; } return; case 2: ShareActivityFragmentDialog shareActivityFragmentDialog = (ShareActivityFragmentDialog) this.f1298c; LevelInfo levelInfo = (LevelInfo) this.d; ChangeQuickRedirect changeQuickRedirect2 = ShareActivityFragmentDialog.changeQuickRedirect; if (!PatchProxy.proxy(new Object[]{levelInfo, view}, shareActivityFragmentDialog, ShareActivityFragmentDialog.changeQuickRedirect, false, 99620, new Class[]{LevelInfo.class, View.class}, Void.TYPE).isSupported) { o0.b("community_block_content_click", s.f37219c); if (levelInfo.getJumpUrl().isEmpty()) { str = "https://m.poizon.com/router/trend/CreatorCenter"; } else { str = levelInfo.getJumpUrl(); } e.G(shareActivityFragmentDialog.getContext(), str); SensorsDataAutoTrackHelper.trackViewOnClick(view); return; } return; case 3: ChatItemHolder chatItemHolder = (ChatItemHolder) this.f1298c; ChatMessage chatMessage = (ChatMessage) this.d; ChangeQuickRedirect changeQuickRedirect3 = ChatItemHolder.changeQuickRedirect; if (!PatchProxy.proxy(new Object[]{chatMessage, view}, chatItemHolder, ChatItemHolder.changeQuickRedirect, false, 206056, new Class[]{ChatMessage.class, View.class}, Void.TYPE).isSupported) { c.c().a(chatMessage.jumpUrl).f(chatItemHolder.getContext()); o0.b("common_push_content_click", new a(chatItemHolder, chatMessage)); n0.f31459a.d("community_notice_click", "567", "1030", new r(chatMessage, 6)); SensorsDataAutoTrackHelper.trackViewOnClick(view); return; } return; default: ReservationDetailActivityV2 reservationDetailActivityV2 = (ReservationDetailActivityV2) this.f1298c; AppCompatDialog appCompatDialog = (AppCompatDialog) this.d; ChangeQuickRedirect changeQuickRedirect4 = ReservationDetailActivityV2.changeQuickRedirect; if (!PatchProxy.proxy(new Object[]{appCompatDialog, view}, reservationDetailActivityV2, ReservationDetailActivityV2.changeQuickRedirect, false, 317996, new Class[]{AppCompatDialog.class, View.class}, Void.TYPE).isSupported) { for (Map.Entry<Integer, Boolean> entry : reservationDetailActivityV2.k.entrySet()) { if (entry.getValue().booleanValue()) { reservationDetailActivityV2.f25053h.add(reservationDetailActivityV2.i.get(entry.getKey().intValue())); } } reservationDetailActivityV2.h(reservationDetailActivityV2.f25053h); appCompatDialog.dismiss(); SensorsDataAutoTrackHelper.trackViewOnClick(view); return; } return; } } }