package ud; import a23.u2; import android.content.Intent; import android.content.res.Resources; import android.net.Uri; import android.os.Bundle; import android.util.TypedValue; import android.view.LayoutInflater; import android.view.View; import android.view.animation.LinearInterpolator; import androidx.lifecycle.Lifecycle; import androidx.recyclerview.widget.DiffUtil; import com.alibaba.wireless.security.open.nocaptcha.INoCaptchaComponent; import com.drakeet.multitype.MultiTypeAdapter; import com.google.gson.Gson; import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting; import com.tencent.smtt.sdk.WebView; import com.xingin.alioth.R$id; import com.xingin.alioth.R$layout; import com.xingin.alioth.R$string; import com.xingin.alioth.entities.SearchNoteItem; import com.xingin.alioth.pages.poi.activity.PoiActivity; import com.xingin.alioth.pages.poi.dialog.info.RestaurantBasicInfoDialog; import com.xingin.alioth.pages.poi.dialog.reserve.PoiHotelReserveInfoDialog; import com.xingin.alioth.pages.poi.entities.PoiRestaurantRecommendDish; import com.xingin.alioth.pages.poi.entities.PoiRestaurantRecommendDishItem; import com.xingin.alioth.pages.poi.item.PoiNoteFilterItemBinder; import com.xingin.alioth.pages.poi.item.PoiSurroundSiteFilterItemBinder; import com.xingin.alioth.pages.poi.item.PoiSurroundSiteItemBinder; import com.xingin.alioth.pages.poi.item.hotel.PoiRoomInfoItemBinder; import com.xingin.alioth.pages.poi.item.restaurant.PoiRecommendDishItemBinder; import com.xingin.alioth.pages.poi.item.scene.PoiChildScenesItemBinder; import com.xingin.alioth.pages.poi.page.PoiPagePresenter; import com.xingin.alioth.pages.previewv2.PoiPreviewImageActivity; import com.xingin.alioth.pages.score.PageScoreDialog; import com.xingin.alioth.pages.secondary.answer.PoiAnswerDetailActivity; import com.xingin.alioth.pages.secondary.childScene.PoiChildSceneListActivity; import com.xingin.alioth.pages.secondary.questions.PoiQuestionAnswerListActivity; import com.xingin.alioth.pages.secondary.recdish.PoiRecDishRelatedNotesActivity; import com.xingin.alioth.pages.sku.entities.CollectStatusInfo; import com.xingin.alioth.pages.sku.entities.TagScoreInfo; import com.xingin.android.redutils.base.XhsActivity; import com.xingin.android.xhscomm.router.RouterBuilder; import com.xingin.android.xhscomm.router.Routers; import com.xingin.matrix.profile.entities.RecomendUserInfoBean; import com.xingin.pages.CapaDeeplinkUtils; import com.xingin.pages.Pages; import com.xingin.utils.core.d1; import com.xingin.widgets.XYImageView; import java.lang.ref.WeakReference; import java.util.Arrays; import java.util.List; import java.util.Map; import kotlin.Metadata; import kotlin.Pair; import kotlin.TuplesKt; import kotlin.Unit; import kotlin.collections.CollectionsKt__CollectionsJVMKt; import kotlin.collections.CollectionsKt___CollectionsKt; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.internal.FunctionReferenceImpl; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.Lambda; import kotlin.jvm.internal.StringCompanionObject; import xj.g0; @Metadata(bv = {}, d1 = {"\u0000\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010%\n\u0002\u0010\u000e\n\u0002\u0010\u0000\n\u0002\b\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0010\u0007\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00020\u00030\u0001B\u0007¢\u0006\u0004\bb\u0010cJ\b\u0010\u0005\u001a\u00020\u0004H\u0002J\b\u0010\u0006\u001a\u00020\u0004H\u0002J\b\u0010\u0007\u001a\u00020\u0004H\u0002J\b\u0010\b\u001a\u00020\u0004H\u0002J\b\u0010\t\u001a\u00020\u0004H\u0002J\b\u0010\n\u001a\u00020\u0004H\u0002J\b\u0010\f\u001a\u00020\u000bH\u0002J\b\u0010\r\u001a\u00020\u000bH\u0002J*\u0010\u0014\u001a\u00020\u000b2 \u0010\u0013\u001a\u001c\u0012\u0004\u0012\u00020\u000f\u0012\u0012\u0012\u0010\u0012\u0004\u0012\u00020\u0011\u0012\u0006\b\u0001\u0012\u00020\u00120\u00100\u000eH\u0002J\b\u0010\u0015\u001a\u00020\u0004H\u0002J\b\u0010\u0016\u001a\u00020\u0004H\u0002J\b\u0010\u0017\u001a\u00020\u0004H\u0002J\u0010\u0010\u0019\u001a\u00020\u00042\u0006\u0010\u0018\u001a\u00020\u0011H\u0002J\u0010\u0010\u001b\u001a\u00020\u00042\u0006\u0010\u001a\u001a\u00020\u0011H\u0002J\b\u0010\u001c\u001a\u00020\u000bH\u0002J\b\u0010\u001d\u001a\u00020\u000bH\u0002J\b\u0010\u001e\u001a\u00020\u000bH\u0002J\b\u0010\u001f\u001a\u00020\u000bH\u0002J\u0014\u0010!\u001a\u00020\u000b2\n\b\u0002\u0010 \u001a\u0004\u0018\u00010\u0011H\u0002J\b\u0010\"\u001a\u00020\u000bH\u0002J\u0010\u0010%\u001a\u00020\u000b2\u0006\u0010$\u001a\u00020#H\u0002J\u0012\u0010(\u001a\u00020\u000b2\b\u0010'\u001a\u0004\u0018\u00010&H\u0014J\b\u0010)\u001a\u00020\u000bH\u0014R\"\u0010+\u001a\u00020*8\u0006@\u0006X.¢\u0006\u0012\n\u0004\b+\u0010,\u001a\u0004\b-\u0010.\"\u0004\b/\u00100R\"\u00102\u001a\u0002018\u0006@\u0006X.¢\u0006\u0012\n\u0004\b2\u00103\u001a\u0004\b4\u00105\"\u0004\b6\u00107R\"\u00109\u001a\u0002088\u0006@\u0006X.¢\u0006\u0012\n\u0004\b9\u0010:\u001a\u0004\b;\u0010<\"\u0004\b=\u0010>R\"\u0010@\u001a\u00020?8\u0006@\u0006X.¢\u0006\u0012\n\u0004\b@\u0010A\u001a\u0004\bB\u0010C\"\u0004\bD\u0010ER4\u0010H\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020G\u0012\u0004\u0012\u00020\u00120\u000e0F8\u0006@\u0006X.¢\u0006\u0012\n\u0004\bH\u0010I\u001a\u0004\bJ\u0010K\"\u0004\bL\u0010MR(\u0010P\u001a\b\u0012\u0004\u0012\u00020O0N8\u0006@\u0006X.¢\u0006\u0012\n\u0004\bP\u0010Q\u001a\u0004\bR\u0010S\"\u0004\bT\u0010UR(\u0010X\u001a\b\u0012\u0004\u0012\u00020W0V8\u0006@\u0006X.¢\u0006\u0012\n\u0004\bX\u0010Y\u001a\u0004\bZ\u0010[\"\u0004\b\\\u0010]R(\u0010_\u001a\b\u0012\u0004\u0012\u00020^0N8\u0006@\u0006X.¢\u0006\u0012\n\u0004\b_\u0010Q\u001a\u0004\b`\u0010S\"\u0004\ba\u0010U¨\u0006d"}, d2 = {"Lud/y;", "Ltu0/b;", "Lcom/xingin/alioth/pages/poi/page/PoiPagePresenter;", "Lud/f0;", "Lhw2/c;", "listenAttachEvent", "listenLifecycleEvent", INoCaptchaComponent.f17802y1, "A1", "listenToolbarClickEvent", "C1", "", "E1", "r1", "Lkotlin/Pair;", "Lcom/xingin/alioth/entities/SearchNoteItem;", "", "", "", "pair", "handleNoteClickEvent", "listenLoadMoreEvent", "I1", "H1", "tag", "l1", "categoryId", "m1", "G1", "z1", "N1", "B1", "strName", "j1", "L1", "Landroid/view/View;", qo2.a.COPY_LINK_TYPE_VIEW, "k1", "Landroid/os/Bundle;", "savedInstanceState", "onAttach", "onDetach", "Lcom/xingin/android/redutils/base/XhsActivity;", "activity", "Lcom/xingin/android/redutils/base/XhsActivity;", "getActivity", "()Lcom/xingin/android/redutils/base/XhsActivity;", "setActivity", "(Lcom/xingin/android/redutils/base/XhsActivity;)V", "Lmd/m0;", "model", "Lmd/m0;", "n1", "()Lmd/m0;", "setModel", "(Lmd/m0;)V", "Lmd/r0;", "trackHelper", "Lmd/r0;", "q1", "()Lmd/r0;", "setTrackHelper", "(Lmd/r0;)V", "Lcom/drakeet/multitype/MultiTypeAdapter;", "adapter", "Lcom/drakeet/multitype/MultiTypeAdapter;", "getAdapter", "()Lcom/drakeet/multitype/MultiTypeAdapter;", "setAdapter", "(Lcom/drakeet/multitype/MultiTypeAdapter;)V", "Ldx2/g;", "Lpd/m;", "poiClickSubject", "Ldx2/g;", "o1", "()Ldx2/g;", "setPoiClickSubject", "(Ldx2/g;)V", "Ldw2/y;", "", "toolbarAlphaChangeObserver", "Ldw2/y;", "p1", "()Ldw2/y;", "setToolbarAlphaChangeObserver", "(Ldw2/y;)V", "Ldw2/r;", "Lye/f;", "toolbarClickActionObservable", "Ldw2/r;", "getToolbarClickActionObservable", "()Ldw2/r;", "setToolbarClickActionObservable", "(Ldw2/r;)V", "Lye/m;", "toolbarUIStateObserver", "getToolbarUIStateObserver", "setToolbarUIStateObserver", "<init>", "()V", "alioth_library_release"}, k = 1, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public final class y extends tu0.b<PoiPagePresenter, y, f0> { /* renamed from: a reason: collision with root package name */ public XhsActivity f136883a; /* renamed from: b reason: collision with root package name */ public md.m0 f136884b; /* renamed from: c reason: collision with root package name */ public md.r0 f136885c; /* renamed from: d reason: collision with root package name */ public MultiTypeAdapter f136886d; /* renamed from: e reason: collision with root package name */ public dx2.g<Pair<pd.m, Object>> f136887e; /* renamed from: f reason: collision with root package name */ public dw2.y<Float> f136888f; /* renamed from: g reason: collision with root package name */ public dw2.r<ye.f> f136889g; /* renamed from: h reason: collision with root package name */ public dw2.y<ye.m> f136890h; /* renamed from: i reason: collision with root package name */ public boolean f136891i; /* renamed from: j reason: collision with root package name */ public WeakReference<View> f136892j = new WeakReference<>(null); /* renamed from: k reason: collision with root package name */ public boolean f136893k; /* renamed from: l reason: collision with root package name */ public ye.m f136894l = ye.o.f157712a.a(); @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class a { /* renamed from: a reason: collision with root package name */ public static final /* synthetic */ int[] f136895a; static { int[] iArr = new int[pd.l.values().length]; iArr[pd.l.RESTAURANT.ordinal()] = 1; iArr[pd.l.SCENE.ordinal()] = 2; iArr[pd.l.HOTEL.ordinal()] = 3; f136895a = iArr; } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class a0 extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136896a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a0(y yVar) { super(1); this.f136896a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { String str; Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); RouterBuilder withString = Routers.build(Pages.CAPA_NOTE_POST).withString("source", new Gson().toJson(new pd.e(new pd.b("pages_location"), "pages", this.f136896a.n1().w0()))); Gson gson = new Gson(); pd.n s04 = this.f136896a.n1().s0(); if (s04 == null || (str = s04.getId()) == null) { str = ""; } withString.withString(CapaDeeplinkUtils.DEEPLINK_ATTACH, gson.toJson(new pd.c(new pd.d(str)))).open(this.f136896a.getActivity()); } } @Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lxj/g0;", "", "a", "(Lxj/g0;)V"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class b extends Lambda implements Function1<xj.g0, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ View f136897a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ y f136898b; @Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lxj/b0;", "", "a", "(Lxj/b0;)V"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class a extends Lambda implements Function1<xj.b0, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ View f136899a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ y f136900b; @Metadata(bv = {}, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u00042\b\u0010\u0001\u001a\u0004\u0018\u00010\u00002\u0006\u0010\u0003\u001a\u00020\u0002H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"Landroid/view/View;", "<anonymous parameter 0>", "", "value", "", "a", "(Landroid/view/View;F)V"}, k = 3, mv = {1, 6, 0}) /* renamed from: ud.y$b$a$a reason: collision with other inner class name */ /* compiled from: PoiPageController.kt */ public static final class C2226a extends Lambda implements Function2<View, Float, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ View f136901a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public C2226a(View view) { super(2); this.f136901a = view; } public final void a(View view, float f14) { this.f136901a.setY(f14); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // kotlin.jvm.functions.Function2 public /* bridge */ /* synthetic */ Unit invoke(View view, Float f14) { a(view, f14.floatValue()); return Unit.INSTANCE; } } @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* renamed from: ud.y$b$a$b reason: collision with other inner class name */ /* compiled from: PoiPageController.kt */ public static final class C2227b extends Lambda implements Function0<Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136902a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ View f136903b; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public C2227b(y yVar, View view) { super(0); this.f136902a = yVar; this.f136903b = view; } @Override // kotlin.jvm.functions.Function0 public final void invoke() { this.f136902a.f136893k = true; ((PoiPagePresenter) this.f136902a.getPresenter()).p().addView(this.f136903b); } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(View view, y yVar) { super(1); this.f136899a = view; this.f136900b = yVar; } public final void a(xj.b0 b0Var) { Intrinsics.checkNotNullParameter(b0Var, "$this$play"); Resources system = Resources.getSystem(); Intrinsics.checkExpressionValueIsNotNull(system, "Resources.getSystem()"); xj.b0.e(b0Var, new float[]{(float) d1.f(), ((float) d1.f()) - TypedValue.applyDimension(1, (float) 62, system.getDisplayMetrics())}, null, new C2226a(this.f136899a), 2, null); b0Var.k(new LinearInterpolator()); b0Var.j(200); b0Var.m(new C2227b(this.f136900b, this.f136899a)); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(xj.b0 b0Var) { a(b0Var); return Unit.INSTANCE; } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b(View view, y yVar) { super(1); this.f136897a = view; this.f136898b = yVar; } public final void a(xj.g0 g0Var) { Intrinsics.checkNotNullParameter(g0Var, "$this$quickAnimate"); g0Var.k(new a(this.f136897a, this.f136898b)); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(xj.g0 g0Var) { a(g0Var); return Unit.INSTANCE; } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class b0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public b0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lxj/g0;", "", "a", "(Lxj/g0;)V"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class c extends Lambda implements Function1<xj.g0, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ View f136904a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ y f136905b; @Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lxj/b0;", "", "a", "(Lxj/b0;)V"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class a extends Lambda implements Function1<xj.b0, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ xj.g0 f136906a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ View f136907b; /* renamed from: c reason: collision with root package name */ public final /* synthetic */ y f136908c; @Metadata(bv = {}, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u00042\b\u0010\u0001\u001a\u0004\u0018\u00010\u00002\u0006\u0010\u0003\u001a\u00020\u0002H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"Landroid/view/View;", "<anonymous parameter 0>", "", "value", "", "a", "(Landroid/view/View;F)V"}, k = 3, mv = {1, 6, 0}) /* renamed from: ud.y$c$a$a reason: collision with other inner class name */ /* compiled from: PoiPageController.kt */ public static final class C2228a extends Lambda implements Function2<View, Float, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ View f136909a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public C2228a(View view) { super(2); this.f136909a = view; } public final void a(View view, float f14) { this.f136909a.setY(f14); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // kotlin.jvm.functions.Function2 public /* bridge */ /* synthetic */ Unit invoke(View view, Float f14) { a(view, f14.floatValue()); return Unit.INSTANCE; } } @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class b extends Lambda implements Function0<Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136910a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ View f136911b; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b(y yVar, View view) { super(0); this.f136910a = yVar; this.f136911b = view; } @Override // kotlin.jvm.functions.Function0 public final void invoke() { ((PoiPagePresenter) this.f136910a.getPresenter()).p().removeView(this.f136911b); this.f136910a.f136893k = false; } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(xj.g0 g0Var, View view, y yVar) { super(1); this.f136906a = g0Var; this.f136907b = view; this.f136908c = yVar; } public final void a(xj.b0 b0Var) { Intrinsics.checkNotNullParameter(b0Var, "$this$play"); Resources system = Resources.getSystem(); Intrinsics.checkExpressionValueIsNotNull(system, "Resources.getSystem()"); xj.b0.e(b0Var, new float[]{((float) d1.f()) - TypedValue.applyDimension(1, (float) 62, system.getDisplayMetrics()), (float) d1.f()}, null, new C2228a(this.f136907b), 2, null); b0Var.k(new LinearInterpolator()); b0Var.j(200); b0Var.l(new b(this.f136908c, this.f136907b)); this.f136906a.g(3200); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(xj.b0 b0Var) { a(b0Var); return Unit.INSTANCE; } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public c(View view, y yVar) { super(1); this.f136904a = view; this.f136905b = yVar; } public final void a(xj.g0 g0Var) { Intrinsics.checkNotNullParameter(g0Var, "$this$quickAnimate"); g0Var.k(new a(g0Var, this.f136904a, this.f136905b)); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(xj.g0 g0Var) { a(g0Var); return Unit.INSTANCE; } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0003*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "kotlin.jvm.PlatformType", "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class c0 extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136912a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public c0(y yVar) { super(1); this.f136912a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { this.f136912a.N1(); } } @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class d extends Lambda implements Function1<Boolean, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136913a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public d(y yVar) { super(1); this.f136913a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Boolean bool) { invoke(bool.booleanValue()); return Unit.INSTANCE; } public final void invoke(boolean z14) { ((PoiPagePresenter) this.f136913a.getPresenter()).showLoading(z14); } } @Metadata(bv = {}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\b\u001a\u00020\u00052&\u0010\u0004\u001a\"\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002 \u0003*\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"Lkotlin/Pair;", "Lpd/m;", "", "kotlin.jvm.PlatformType", "pair", "", "invoke", "(Lkotlin/Pair;)V", "<anonymous>"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class d0 extends Lambda implements Function1<Pair<? extends pd.m, ? extends Object>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136914a; @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class a { /* renamed from: a reason: collision with root package name */ public static final /* synthetic */ int[] f136915a; static { int[] iArr = new int[pd.m.values().length]; iArr[pd.m.BASIC_INFO.ordinal()] = 1; iArr[pd.m.TEL.ordinal()] = 2; iArr[pd.m.CHAT.ordinal()] = 3; iArr[pd.m.MAP.ordinal()] = 4; iArr[pd.m.RESERVE.ordinal()] = 5; iArr[pd.m.RESERVE_LIST.ordinal()] = 6; iArr[pd.m.QUESTION.ordinal()] = 7; iArr[pd.m.LOAD_MORE_NOTE.ordinal()] = 8; iArr[pd.m.FILTER_NOTE.ordinal()] = 9; iArr[pd.m.SURROUND_SITE_TITLE.ordinal()] = 10; iArr[pd.m.FILTER_SURROUND_SITE.ordinal()] = 11; iArr[pd.m.SURROUND_SITE.ordinal()] = 12; f136915a = iArr; } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public d0(y yVar) { super(1); this.f136914a = yVar; } public static final void c(gk2.m mVar) { Intrinsics.checkNotNullParameter(mVar, "$this_apply"); mVar.dismiss(); } public static final void d(String str, gk2.m mVar) { Intrinsics.checkNotNullParameter(str, "$it"); Intrinsics.checkNotNullParameter(mVar, "$this_apply"); Intent intent = new Intent("android.intent.action.DIAL"); intent.setData(Uri.parse(WebView.SCHEME_TEL + str)); mVar.getContext().startActivity(intent); mVar.dismiss(); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends pd.m, ? extends Object> pair) { invoke(pair); return Unit.INSTANCE; } public final void invoke(Pair<? extends pd.m, ? extends Object> pair) { pd.n poiDetail; pd.n poiDetail2; List<String> telephones; String str; pd.n poiDetail3; pd.n poiDetail4; pd.n poiDetail5; pd.f0 reserveInfo; pd.c0 questionInfo; String name; String id3; pd.e0 e0Var = null; pd.i0 i0Var = null; Integer num = null; String str2 = null; Integer num2 = null; pd.f0 f0Var = null; int i10 = 0; switch (a.f136915a[((pd.m) pair.getFirst()).ordinal()]) { case 1: pd.v t04 = this.f136914a.n1().t0(); if (t04 != null && (poiDetail = t04.getPoiDetail()) != null) { y yVar = this.f136914a; yVar.q1().j(false); new RestaurantBasicInfoDialog(yVar.getActivity(), poiDetail).show(); return; } return; case 2: pd.v t05 = this.f136914a.n1().t0(); if (t05 != null && (poiDetail2 = t05.getPoiDetail()) != null && (telephones = poiDetail2.getTelephones()) != null && (str = (String) CollectionsKt___CollectionsKt.firstOrNull((List) telephones)) != null) { y yVar2 = this.f136914a; gk2.m mVar = new gk2.m(yVar2.getActivity()); StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE; String string = mVar.getContext().getString(R$string.f_); Intrinsics.checkNotNullExpressionValue(string, "context.getString(R.stri…ss_status_telephone_call)"); String format = String.format(string, Arrays.copyOf(new Object[]{str}, 1)); Intrinsics.checkNotNullExpressionValue(format, "format(format, *args)"); ((gk2.m) ((gk2.m) ((gk2.m) ((gk2.m) ((gk2.m) mVar.x(false)).u(format)).v(17)).w(5.0f)).m(new ik2.a().b(0))).h(new ik2.b().b(0)); mVar.z(new b0(mVar), new c0(str, mVar)); mVar.show(); yVar2.q1().f(); return; } return; case 3: pd.v t06 = this.f136914a.n1().t0(); if (t06 != null && (poiDetail3 = t06.getPoiDetail()) != null) { y yVar3 = this.f136914a; Routers.build(Pages.PAGE_IM_CHAT).withString("userId", poiDetail3.getBrandUserId()).withString("nickname", poiDetail3.getBrandUserName()).open(yVar3.getActivity()); yVar3.q1().g(); return; } return; case 4: pd.v t07 = this.f136914a.n1().t0(); if (t07 != null && (poiDetail4 = t07.getPoiDetail()) != null) { y yVar4 = this.f136914a; yVar4.q1().e(false); lc.b.f101284a.n(yVar4.getActivity(), poiDetail4.getName(), poiDetail4.getAddress(), String.valueOf(poiDetail4.getLatitude()), String.valueOf(poiDetail4.getLongitude())); return; } return; case 5: Object second = pair.getSecond(); if (second instanceof pd.e0) { e0Var = (pd.e0) second; } if (e0Var != null) { y yVar5 = this.f136914a; Routers.build(e0Var.getLink()).open(yVar5.getActivity()); yVar5.q1().s(false); return; } return; case 6: pd.v t08 = this.f136914a.n1().t0(); if (t08 != null && (poiDetail5 = t08.getPoiDetail()) != null && (reserveInfo = poiDetail5.getReserveInfo()) != null) { if (!reserveInfo.getDetails().isEmpty()) { f0Var = reserveInfo; } if (f0Var != null) { y yVar6 = this.f136914a; new PoiHotelReserveInfoDialog(yVar6.getActivity(), f0Var).show(); yVar6.q1().s(false); return; } return; } return; case 7: pd.v t09 = this.f136914a.n1().t0(); if (t09 != null && (questionInfo = t09.getQuestionInfo()) != null) { y yVar7 = this.f136914a; yVar7.q1().q(false); String str3 = ""; if (questionInfo.getList().size() == 1) { PoiAnswerDetailActivity.a aVar = PoiAnswerDetailActivity.f38736c; XhsActivity activity = yVar7.getActivity(); pd.d0 d0Var = (pd.d0) CollectionsKt___CollectionsKt.getOrNull(questionInfo.getList(), 0); if (!(d0Var == null || (id3 = d0Var.getId()) == null)) { str3 = id3; } aVar.a(activity, str3); return; } PoiQuestionAnswerListActivity.a aVar2 = PoiQuestionAnswerListActivity.f38787c; XhsActivity activity2 = yVar7.getActivity(); String w04 = yVar7.n1().w0(); pd.n s04 = yVar7.n1().s0(); if (!(s04 == null || (name = s04.getName()) == null)) { str3 = name; } aVar2.a(activity2, w04, str3); return; } return; case 8: this.f136914a.H1(); this.f136914a.q1().l(); return; case 9: Object second2 = pair.getSecond(); Pair pair2 = second2 instanceof Pair ? (Pair) second2 : null; if (pair2 != null) { y yVar8 = this.f136914a; Object first = pair2.getFirst(); pd.p pVar = first instanceof pd.p ? (pd.p) first : null; if (pVar != null) { yVar8.l1(pVar.getId()); md.r0 q14 = yVar8.q1(); String id4 = pVar.getId(); Object second3 = pair2.getSecond(); if (second3 instanceof Integer) { num2 = (Integer) second3; } if (num2 != null) { i10 = num2.intValue(); } q14.k(id4, i10, pVar.getName()); return; } return; } return; case 10: Object second4 = pair.getSecond(); if (second4 instanceof String) { str2 = (String) second4; } if (str2 != null) { y yVar9 = this.f136914a; Routers.build(str2).open(yVar9.getActivity()); yVar9.q1().m(); return; } return; case 11: Object second5 = pair.getSecond(); Pair pair3 = second5 instanceof Pair ? (Pair) second5 : null; if (pair3 != null) { y yVar10 = this.f136914a; Object first2 = pair3.getFirst(); pd.b0 b0Var = first2 instanceof pd.b0 ? (pd.b0) first2 : null; if (b0Var != null) { yVar10.m1(b0Var.getId()); md.r0 q15 = yVar10.q1(); String id5 = b0Var.getId(); Object second6 = pair3.getSecond(); if (second6 instanceof Integer) { num = (Integer) second6; } if (num != null) { i10 = num.intValue(); } q15.k(id5, i10, b0Var.getName()); return; } return; } return; case 12: Object second7 = pair.getSecond(); if (second7 instanceof pd.i0) { i0Var = (pd.i0) second7; } if (i0Var != null) { Routers.build(i0Var.getLink()).open(this.f136914a.getActivity()); return; } return; default: return; } } } @Metadata(d1 = {"\u0000\u001a\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0018\u0010\u0002\u001a\u0014\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u00060\u0003H\n¢\u0006\u0002\b\u0007"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Pair;", "", "", "Landroidx/recyclerview/widget/DiffUtil$DiffResult;", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class e extends Lambda implements Function1<Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136916a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public e(y yVar) { super(1); this.f136916a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { invoke(pair); return Unit.INSTANCE; } public final void invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { Intrinsics.checkNotNullParameter(pair, AdvanceSetting.NETWORK_TYPE); this.f136916a.getAdapter().o((List) pair.getFirst()); ((DiffUtil.DiffResult) pair.getSecond()).dispatchUpdatesTo(this.f136916a.getAdapter()); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class e0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public e0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class f extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public f(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class f0 extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136917a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public f0(y yVar) { super(1); this.f136917a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { String str; String str2; String str3; TagScoreInfo scoreInfo; Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); pd.b bVar = new pd.b("pages_location"); pd.n s04 = this.f136917a.n1().s0(); if (s04 == null || (str = s04.getPageId()) == null) { str = ""; } RouterBuilder withString = Routers.build(Pages.CAPA_NOTE_POST).withString("source", new Gson().toJson(new pd.e(bVar, "pages", str))); Gson gson = new Gson(); pd.n s05 = this.f136917a.n1().s0(); if (s05 == null || (str2 = s05.getPageId()) == null) { str2 = ""; } List list = CollectionsKt__CollectionsJVMKt.listOf(new de.b(str2, "location")); pd.n s06 = this.f136917a.n1().s0(); if (s06 == null || (str3 = s06.getId()) == null) { str3 = ""; } withString.withString(CapaDeeplinkUtils.DEEPLINK_ATTACH, gson.toJson(new de.a(list, new de.b(str3, "")))).open(this.f136917a.getActivity()); md.r0 q14 = this.f136917a.q1(); pd.v t04 = this.f136917a.n1().t0(); q14.v((t04 == null || (scoreInfo = t04.getScoreInfo()) == null) ? -1 : scoreInfo.getScore()); } } @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class g extends Lambda implements Function1<Boolean, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136918a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public g(y yVar) { super(1); this.f136918a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Boolean bool) { invoke(bool.booleanValue()); return Unit.INSTANCE; } public final void invoke(boolean z14) { ((PoiPagePresenter) this.f136918a.getPresenter()).showLoading(z14); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class g0 extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136919a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public g0(y yVar) { super(1); this.f136919a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); pd.n s04 = this.f136919a.n1().s0(); if (s04 != null) { if (!(s04.getPageId().length() > 0)) { s04 = null; } if (s04 != null) { PoiPreviewImageActivity.f38723c.a(this.f136919a.getActivity(), s04.getPageId(), s04.getBanner()); } } } } @Metadata(d1 = {"\u0000\u001a\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0018\u0010\u0002\u001a\u0014\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u00060\u0003H\n¢\u0006\u0002\b\u0007"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Pair;", "", "", "Landroidx/recyclerview/widget/DiffUtil$DiffResult;", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class h extends Lambda implements Function1<Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136920a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public h(y yVar) { super(1); this.f136920a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { invoke(pair); return Unit.INSTANCE; } public final void invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { Intrinsics.checkNotNullParameter(pair, AdvanceSetting.NETWORK_TYPE); this.f136920a.getAdapter().o((List) pair.getFirst()); ((DiffUtil.DiffResult) pair.getSecond()).dispatchUpdatesTo(this.f136920a.getAdapter()); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class h0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public h0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class i extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public i(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Landroidx/lifecycle/Lifecycle$Event;", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class i0 extends Lambda implements Function1<Lifecycle.Event, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136921a; @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class a { /* renamed from: a reason: collision with root package name */ public static final /* synthetic */ int[] f136922a; static { int[] iArr = new int[Lifecycle.Event.values().length]; iArr[Lifecycle.Event.ON_RESUME.ordinal()] = 1; iArr[Lifecycle.Event.ON_PAUSE.ordinal()] = 2; f136922a = iArr; } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public i0(y yVar) { super(1); this.f136921a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Lifecycle.Event event) { invoke(event); return Unit.INSTANCE; } public final void invoke(Lifecycle.Event event) { Intrinsics.checkNotNullParameter(event, AdvanceSetting.NETWORK_TYPE); int i10 = a.f136922a[event.ordinal()]; if (i10 == 1) { this.f136921a.q1().d(); this.f136921a.q1().p(); } else if (i10 == 2) { this.f136921a.q1().o(); } } } @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class j extends Lambda implements Function0<Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ Pair<SearchNoteItem, Map<String, ? extends Object>> f136923a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ y f136924b; /* JADX DEBUG: Multi-variable search result rejected for r1v0, resolved type: kotlin.Pair<com.xingin.alioth.entities.SearchNoteItem, ? extends java.util.Map<java.lang.String, ? extends java.lang.Object>> */ /* JADX WARN: Multi-variable type inference failed */ /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public j(Pair<SearchNoteItem, ? extends Map<String, ? extends Object>> pair, y yVar) { super(0); this.f136923a = pair; this.f136924b = yVar; } public static final void c(y yVar, Pair pair, com.xingin.entities.x xVar) { Intrinsics.checkNotNullParameter(yVar, "this$0"); Intrinsics.checkNotNullParameter(pair, "$pair"); md.r0 q14 = yVar.q1(); SearchNoteItem searchNoteItem = (SearchNoteItem) pair.getFirst(); Object obj = ((Map) pair.getSecond()).get("note_click_item_position"); Integer num = obj instanceof Integer ? (Integer) obj : null; q14.n(searchNoteItem, num != null ? num.intValue() : 0, u2.like_api); } public static final void d(y yVar, Pair pair, com.xingin.entities.x xVar) { Intrinsics.checkNotNullParameter(yVar, "this$0"); Intrinsics.checkNotNullParameter(pair, "$pair"); md.r0 q14 = yVar.q1(); SearchNoteItem searchNoteItem = (SearchNoteItem) pair.getFirst(); Object obj = ((Map) pair.getSecond()).get("note_click_item_position"); Integer num = obj instanceof Integer ? (Integer) obj : null; q14.n(searchNoteItem, num != null ? num.intValue() : 0, u2.unlike_api); } @Override // kotlin.jvm.functions.Function0 public final void invoke() { if (this.f136923a.getFirst().isLike()) { Object n14 = new iy1.i().f(this.f136923a.getFirst().getId()).n(com.uber.autodispose.d.b(this.f136924b)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((com.uber.autodispose.y) n14).a(new a0(this.f136924b, this.f136923a), ai.j.f3392a); } else { Object n15 = new iy1.i().d(this.f136923a.getFirst().getId()).n(com.uber.autodispose.d.b(this.f136924b)); Intrinsics.checkExpressionValueIsNotNull(n15, "this.`as`(AutoDispose.autoDisposable(provider))"); ((com.uber.autodispose.y) n15).a(new z(this.f136924b, this.f136923a), ai.j.f3392a); } md.r0 q14 = this.f136924b.q1(); SearchNoteItem first = this.f136923a.getFirst(); Object obj = this.f136923a.getSecond().get("note_click_item_position"); Integer num = obj instanceof Integer ? (Integer) obj : null; q14.n(first, num != null ? num.intValue() : 0, this.f136923a.getFirst().isLike() ? u2.like : u2.unlike); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class j0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public j0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(d1 = {"\u0000\u0018\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u00012&\u0010\u0002\u001a\"\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u0005 \u0006*\u0010\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u0005\u0018\u00010\u00030\u0003H\n¢\u0006\u0002\b\u0007"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Pair;", "Lcom/xingin/alioth/pages/poi/entities/PoiRestaurantRecommendDishItem;", "", "kotlin.jvm.PlatformType", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class k extends Lambda implements Function1<Pair<? extends PoiRestaurantRecommendDishItem, ? extends Integer>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136925a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public k(y yVar) { super(1); this.f136925a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends PoiRestaurantRecommendDishItem, ? extends Integer> pair) { invoke((Pair<PoiRestaurantRecommendDishItem, Integer>) pair); return Unit.INSTANCE; } public final void invoke(Pair<PoiRestaurantRecommendDishItem, Integer> pair) { PoiRecDishRelatedNotesActivity.f38792c.a(this.f136925a.getActivity(), this.f136925a.n1().w0(), pair.getFirst().getDishId(), pair.getFirst().getDishName()); this.f136925a.q1().r(pair.getFirst(), false); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"<anonymous>", "", "invoke", "()Ljava/lang/Boolean;"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class k0 extends Lambda implements Function0<Boolean> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136926a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public k0(y yVar) { super(0); this.f136926a = yVar; } @Override // kotlin.jvm.functions.Function0 public final Boolean invoke() { return Boolean.valueOf(!this.f136926a.n1().B0().get()); } } @Metadata(d1 = {"\u0000\u0018\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u00012&\u0010\u0002\u001a\"\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u0005 \u0006*\u0010\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u0005\u0018\u00010\u00030\u0003H\n¢\u0006\u0002\b\u0007"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Pair;", "Lcom/xingin/alioth/pages/poi/entities/PoiRestaurantRecommendDishItem;", "", "kotlin.jvm.PlatformType", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class l extends Lambda implements Function1<Pair<? extends PoiRestaurantRecommendDishItem, ? extends Integer>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136927a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public l(y yVar) { super(1); this.f136927a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends PoiRestaurantRecommendDishItem, ? extends Integer> pair) { invoke((Pair<PoiRestaurantRecommendDishItem, Integer>) pair); return Unit.INSTANCE; } public final void invoke(Pair<PoiRestaurantRecommendDishItem, Integer> pair) { this.f136927a.q1().r(pair.getFirst(), true); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0003*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "kotlin.jvm.PlatformType", "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class l0 extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136928a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public l0(y yVar) { super(1); this.f136928a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { List<pd.b0> list; pd.b0 b0Var; pd.a0 z04 = this.f136928a.n1().z0(); if (z04 != null && (list = z04.getList()) != null && (b0Var = (pd.b0) CollectionsKt___CollectionsKt.firstOrNull((List) list)) != null) { this.f136928a.m1(b0Var.getId()); } } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class m extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public m(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class m0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public m0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(bv = {}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\b\u001a\u00020\u00052&\u0010\u0004\u001a\"\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002 \u0003*\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"Lkotlin/Pair;", "Lpd/g;", "", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "invoke", "(Lkotlin/Pair;)V", "<anonymous>"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class n extends Lambda implements Function1<Pair<? extends pd.g, ? extends Integer>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136929a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public n(y yVar) { super(1); this.f136929a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends pd.g, ? extends Integer> pair) { invoke((Pair<pd.g, Integer>) pair); return Unit.INSTANCE; } public final void invoke(Pair<pd.g, Integer> pair) { PoiActivity.f38659c.a(this.f136929a.getActivity(), pair.getFirst().getPoiId(), pair.getFirst().getCategory()); this.f136929a.q1().h(pair.getSecond().intValue(), false); } } @Metadata(bv = {}, d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Lye/f;", AdvanceSetting.NETWORK_TYPE, "", "invoke", "(Lye/f;)V", "<anonymous>"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class n0 extends Lambda implements Function1<ye.f, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136930a; @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class a { /* renamed from: a reason: collision with root package name */ public static final /* synthetic */ int[] f136931a; static { int[] iArr = new int[ye.f.values().length]; iArr[ye.f.TOOLBAR_CLICK_LEFT_ONE.ordinal()] = 1; iArr[ye.f.TOOLBAR_CLICK_RIGHT_ONE.ordinal()] = 2; f136931a = iArr; } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public n0(y yVar) { super(1); this.f136930a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(ye.f fVar) { invoke(fVar); return Unit.INSTANCE; } public final void invoke(ye.f fVar) { pd.v t04; Intrinsics.checkNotNullParameter(fVar, AdvanceSetting.NETWORK_TYPE); int i10 = a.f136931a[fVar.ordinal()]; if (i10 == 1) { this.f136930a.getActivity().onBackPressed(); } else if (i10 == 2 && (t04 = this.f136930a.n1().t0()) != null) { pd.t p04 = this.f136930a.n1().p0(); pc2.n d14 = wj.s.d(t04, p04 != null ? Long.valueOf(p04.getCount()) : null); if (d14 != null) { sc2.l.f129293a.b(this.f136930a.getActivity(), d14); } } } } @Metadata(bv = {}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\b\u001a\u00020\u00052&\u0010\u0004\u001a\"\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002 \u0003*\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"Lkotlin/Pair;", "Lpd/g;", "", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "invoke", "(Lkotlin/Pair;)V", "<anonymous>"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class o extends Lambda implements Function1<Pair<? extends pd.g, ? extends Integer>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136932a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public o(y yVar) { super(1); this.f136932a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends pd.g, ? extends Integer> pair) { invoke((Pair<pd.g, Integer>) pair); return Unit.INSTANCE; } public final void invoke(Pair<pd.g, Integer> pair) { this.f136932a.q1().h(pair.getSecond().intValue(), true); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class o0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public o0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class p extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public p(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class p0 extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136933a; @Metadata(bv = {}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0004\u001a\u00020\u00032\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"Lcom/xingin/alioth/pages/sku/entities/CollectStatusInfo;", "kotlin.jvm.PlatformType", "tagLevelInfo", "", "a", "(Lcom/xingin/alioth/pages/sku/entities/CollectStatusInfo;)V"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class a extends Lambda implements Function1<CollectStatusInfo, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136934a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ re.a f136935b; /* renamed from: c reason: collision with root package name */ public final /* synthetic */ boolean f136936c; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(y yVar, re.a aVar, boolean z14) { super(1); this.f136934a = yVar; this.f136935b = aVar; this.f136936c = z14; } public final void a(CollectStatusInfo collectStatusInfo) { pd.v t04 = this.f136934a.n1().t0(); if (t04 != null) { Intrinsics.checkNotNullExpressionValue(collectStatusInfo, "tagLevelInfo"); t04.setCollectInfo(collectStatusInfo); } boolean z14 = collectStatusInfo.getStatus() == this.f136935b; if (!z14) { ((PoiPagePresenter) this.f136934a.getPresenter()).m(true ^ this.f136936c); } boolean z15 = this.f136936c; if (z15 && z14) { this.f136934a.L1(); } else if (z15 && !z14) { al2.e.f(R$string.f38476alioth_poi_collect_failed); } else if (!z15 && z14) { al2.e.f(R$string.f38497alioth_poi_uncollect_success); } else if (!z15 && !z14) { al2.e.f(R$string.g_); } } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(CollectStatusInfo collectStatusInfo) { a(collectStatusInfo); return Unit.INSTANCE; } } @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0003\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class b extends Lambda implements Function1<Throwable, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136937a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ boolean f136938b; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b(y yVar, boolean z14) { super(1); this.f136937a = yVar; this.f136938b = z14; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, AdvanceSetting.NETWORK_TYPE); ((PoiPagePresenter) this.f136937a.getPresenter()).m(!this.f136938b); al2.e.f(this.f136938b ? R$string.f38476alioth_poi_collect_failed : R$string.g_); } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public p0(y yVar) { super(1); this.f136933a = yVar; } public static final void b(y yVar, boolean z14, hw2.c cVar) { Intrinsics.checkNotNullParameter(yVar, "this$0"); ((PoiPagePresenter) yVar.getPresenter()).m(z14); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { CollectStatusInfo collectInfo; Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); pd.n s04 = this.f136933a.n1().s0(); if (s04 != null) { boolean z14 = true; re.a aVar = null; if (!(s04.getPageId().length() > 0)) { s04 = null; } if (s04 != null) { y yVar = this.f136933a; pd.v t04 = yVar.n1().t0(); if (!(t04 == null || (collectInfo = t04.getCollectInfo()) == null)) { aVar = collectInfo.getStatus(); } re.a aVar2 = re.a.UNCOLLECT; if (aVar != aVar2) { z14 = false; } if (z14) { aVar2 = re.a.COLLECTED; } dw2.r<CollectStatusInfo> n04 = yVar.n1().V0(aVar2).n0(new d0(yVar, z14)); Intrinsics.checkNotNullExpressionValue(n04, "model.wantOrNotToGo(targ…llectOrNot)\n }"); bj2.h.f(n04, yVar, new a(yVar, aVar2, z14), new b(yVar, z14)); } } } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0003*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "kotlin.jvm.PlatformType", "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class q extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136939a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public q(y yVar) { super(1); this.f136939a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { PoiChildSceneListActivity.f38744c.a(this.f136939a.getActivity(), this.f136939a.n1().w0()); } } @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class q0 extends Lambda implements Function1<Boolean, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136940a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public q0(y yVar) { super(1); this.f136940a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Boolean bool) { invoke(bool.booleanValue()); return Unit.INSTANCE; } public final void invoke(boolean z14) { ((PoiPagePresenter) this.f136940a.getPresenter()).showLoading(z14); } } @Metadata(bv = {}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\b\u001a\u00020\u00052&\u0010\u0004\u001a\"\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002 \u0003*\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"Lkotlin/Pair;", "Lpd/g0;", "", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "invoke", "(Lkotlin/Pair;)V", "<anonymous>"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class r extends Lambda implements Function1<Pair<? extends pd.g0, ? extends Integer>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136941a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public r(y yVar) { super(1); this.f136941a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends pd.g0, ? extends Integer> pair) { invoke((Pair<pd.g0, Integer>) pair); return Unit.INSTANCE; } public final void invoke(Pair<pd.g0, Integer> pair) { Routers.build(pair.getFirst().getLink()).open(this.f136941a.getActivity()); this.f136941a.q1().t(pair.getSecond().intValue(), false); } } @Metadata(d1 = {"\u0000\u001a\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0018\u0010\u0002\u001a\u0014\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u00060\u0003H\n¢\u0006\u0002\b\u0007"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Pair;", "", "", "Landroidx/recyclerview/widget/DiffUtil$DiffResult;", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class r0 extends Lambda implements Function1<Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136942a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public r0(y yVar) { super(1); this.f136942a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { invoke(pair); return Unit.INSTANCE; } public final void invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { Intrinsics.checkNotNullParameter(pair, AdvanceSetting.NETWORK_TYPE); this.f136942a.getAdapter().o((List) pair.getFirst()); ((DiffUtil.DiffResult) pair.getSecond()).dispatchUpdatesTo(this.f136942a.getAdapter()); } } @Metadata(bv = {}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\b\u001a\u00020\u00052&\u0010\u0004\u001a\"\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002 \u0003*\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"Lkotlin/Pair;", "Lpd/g0;", "", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "invoke", "(Lkotlin/Pair;)V", "<anonymous>"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class s extends Lambda implements Function1<Pair<? extends pd.g0, ? extends Integer>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136943a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public s(y yVar) { super(1); this.f136943a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends pd.g0, ? extends Integer> pair) { invoke((Pair<pd.g0, Integer>) pair); return Unit.INSTANCE; } public final void invoke(Pair<pd.g0, Integer> pair) { this.f136943a.q1().t(pair.getSecond().intValue(), true); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class s0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public s0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class t extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public t(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class t0 extends Lambda implements Function1<Boolean, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136944a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public t0(y yVar) { super(1); this.f136944a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Boolean bool) { invoke(bool.booleanValue()); return Unit.INSTANCE; } public final void invoke(boolean z14) { ((PoiPagePresenter) this.f136944a.getPresenter()).showLoading(z14); } } @Metadata(d1 = {"\u0000 \n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010%\n\u0002\u0010\u000e\n\u0002\u0010\u0000\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u00012B\u0010\u0002\u001a>\u0012\u0004\u0012\u00020\u0004\u0012\u0012\u0012\u0010\u0012\u0004\u0012\u00020\u0006\u0012\u0006\b\u0001\u0012\u00020\u00070\u0005 \b*\u001e\u0012\u0004\u0012\u00020\u0004\u0012\u0012\u0012\u0010\u0012\u0004\u0012\u00020\u0006\u0012\u0006\b\u0001\u0012\u00020\u00070\u0005\u0018\u00010\u00030\u0003H\n¢\u0006\u0002\b\t"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Pair;", "Lcom/xingin/alioth/entities/SearchNoteItem;", "", "", "", "kotlin.jvm.PlatformType", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class u extends Lambda implements Function1<Pair<? extends SearchNoteItem, ? extends Map<String, ? extends Object>>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136945a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public u(y yVar) { super(1); this.f136945a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends SearchNoteItem, ? extends Map<String, ? extends Object>> pair) { invoke((Pair<SearchNoteItem, ? extends Map<String, ? extends Object>>) pair); return Unit.INSTANCE; } public final void invoke(Pair<SearchNoteItem, ? extends Map<String, ? extends Object>> pair) { y yVar = this.f136945a; Intrinsics.checkNotNullExpressionValue(pair, AdvanceSetting.NETWORK_TYPE); yVar.handleNoteClickEvent(pair); } } @Metadata(d1 = {"\u0000\u001c\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u000122\u0010\u0002\u001a.\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u0006 \u0007*\u0016\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00030\u0003H\n¢\u0006\u0002\b\b"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Pair;", "", "", "Landroidx/recyclerview/widget/DiffUtil$DiffResult;", "kotlin.jvm.PlatformType", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class u0 extends Lambda implements Function1<Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136946a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public u0(y yVar) { super(1); this.f136946a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { invoke(pair); return Unit.INSTANCE; } public final void invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { this.f136946a.getAdapter().o((List) pair.getFirst()); ((DiffUtil.DiffResult) pair.getSecond()).dispatchUpdatesTo(this.f136946a.getAdapter()); Object obj = CollectionsKt___CollectionsKt.firstOrNull((List) pair.getFirst()); pd.n nVar = obj instanceof pd.n ? (pd.n) obj : null; if (nVar != null) { y yVar = this.f136946a; ((PoiPagePresenter) yVar.getPresenter()).x(nVar.getBanner()); yVar.j1(nVar.getName()); } pd.v t04 = this.f136946a.n1().t0(); if (t04 != null) { ((PoiPagePresenter) this.f136946a.getPresenter()).j(t04.getScoreInfo(), t04.getCollectInfo()); } ((PoiPagePresenter) this.f136946a.getPresenter()).openRecyclerViewAnim(); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class v extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public v(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class v0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public v0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(bv = {}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\b\u001a\u00020\u00052&\u0010\u0004\u001a\"\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002 \u0003*\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"Lkotlin/Pair;", "Lpd/i0;", "", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "invoke", "(Lkotlin/Pair;)V", "<anonymous>"}, k = 3, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class w extends Lambda implements Function1<Pair<? extends pd.i0, ? extends Integer>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136947a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public w(y yVar) { super(1); this.f136947a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends pd.i0, ? extends Integer> pair) { invoke((Pair<pd.i0, Integer>) pair); return Unit.INSTANCE; } public final void invoke(Pair<pd.i0, Integer> pair) { this.f136947a.q1().u(true, pair.getFirst()); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public static final class w0 extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136948a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public w0(y yVar) { super(1); this.f136948a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); Routers.build(Pages.PAGE_MY_PROFILE).withString("tab", "board.tag").open(this.f136948a.getActivity()); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class x extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public x(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class x0 extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public x0(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* renamed from: ud.y$y reason: collision with other inner class name */ /* compiled from: PoiPageController.kt */ public static final class C2229y extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136949a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public C2229y(y yVar) { super(1); this.f136949a = yVar; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); this.f136949a.I1(); this.f136949a.q1().d(); this.f136949a.q1().b(((PoiPagePresenter) this.f136949a.getPresenter()).getRecyclerView()); } } @Metadata(bv = {}, d1 = {"\u0000\u0017\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u0010\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0016J\u0010\u0010\u0006\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0016J\u0010\u0010\u0007\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0016¨\u0006\b"}, d2 = {"ud/y$y0", "Lce/s;", "", RecomendUserInfoBean.STYLE_SCORE, "", "onSuccess", "b", "a", "alioth_library_release"}, k = 1, mv = {1, 6, 0}) /* compiled from: PoiPageController.kt */ public static final class y0 implements ce.s { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ y f136950a; public y0(y yVar) { this.f136950a = yVar; } @Override // ce.s public void a(int i10) { this.f136950a.q1().v(i10); } @Override // ce.s public void b(int i10) { this.f136950a.q1().i(i10); } @Override // ce.s public void onSuccess(int i10) { TagScoreInfo tagScoreInfo = new TagScoreInfo(i10, System.currentTimeMillis()); pd.v t04 = this.f136950a.n1().t0(); if (t04 != null) { t04.setScoreInfo(tagScoreInfo); } ((PoiPagePresenter) this.f136950a.getPresenter()).j(tagScoreInfo, null); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: PoiPageController.kt */ public /* synthetic */ class z extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public z(Object obj) { super(1, obj, wj.m.class, "e", "e(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); wj.m.d(th3); } } public static final boolean D1(y yVar, Unit unit) { Intrinsics.checkNotNullParameter(yVar, "this$0"); Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); pd.a0 z04 = yVar.n1().z0(); List<pd.b0> list = z04 != null ? z04.getList() : null; return !(list == null || list.isEmpty()) && yVar.n1().A0() == null; } public static final Float F1(Integer num) { float f14; Intrinsics.checkNotNullParameter(num, AdvanceSetting.NETWORK_TYPE); wj.m.b("PoiPageController", "rvScrollAndAppbarOffsetChangeEvents " + num); int intValue = num.intValue(); float f15 = (float) -180; Resources system = Resources.getSystem(); Intrinsics.checkExpressionValueIsNotNull(system, "Resources.getSystem()"); if (intValue <= ((int) TypedValue.applyDimension(1, f15, system.getDisplayMetrics()))) { f14 = 1.0f; } else if (num.intValue() >= 0) { f14 = 0.0f; } else { Resources system2 = Resources.getSystem(); Intrinsics.checkExpressionValueIsNotNull(system2, "Resources.getSystem()"); f14 = ((float) num.intValue()) / TypedValue.applyDimension(1, f15, system2.getDisplayMetrics()); } return Float.valueOf(f14); } public static final void K1(y yVar, hw2.c cVar) { Intrinsics.checkNotNullParameter(yVar, "this$0"); yVar.r1(); } public static final Pair t1(Pair pair) { Intrinsics.checkNotNullParameter(pair, AdvanceSetting.NETWORK_TYPE); return TuplesKt.to(pd.m.FILTER_SURROUND_SITE, pair); } public static final Pair u1(Pair pair) { Intrinsics.checkNotNullParameter(pair, AdvanceSetting.NETWORK_TYPE); return TuplesKt.to(pd.m.SURROUND_SITE, pair.getFirst()); } public static final Pair v1(Pair pair) { Intrinsics.checkNotNullParameter(pair, AdvanceSetting.NETWORK_TYPE); return TuplesKt.to(pd.m.FILTER_NOTE, pair); } public static final Pair w1(Unit unit) { Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); return TuplesKt.to(pd.m.LOAD_MORE_NOTE, Unit.INSTANCE); } public static final Pair x1(String str) { Intrinsics.checkNotNullParameter(str, AdvanceSetting.NETWORK_TYPE); return TuplesKt.to(pd.m.SURROUND_SITE_TITLE, str); } public final hw2.c A1() { return bj2.h.f(o1(), this, new d0(this), new e0(wj.m.f149951a)); } public final void B1() { bj2.h.d(((PoiPagePresenter) getPresenter()).A(), this, new f0(this)); } public final hw2.c C1() { return bj2.h.f(((PoiPagePresenter) getPresenter()).q(), this, new g0(this), new h0(wj.m.f149951a)); } public final void E1() { dw2.r<R> M0 = ((PoiPagePresenter) getPresenter()).s().M0(r.f136876a); Intrinsics.checkNotNullExpressionValue(M0, "presenter.rvScrollAndApp…-180).dpF\n }\n }"); Object n14 = M0.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((com.uber.autodispose.y) n14).c(p1()); } public final void G1() { bj2.h.d(((PoiPagePresenter) getPresenter()).B(), this, new p0(this)); } public final hw2.c H1() { return bj2.h.f(n1().K0(new q0(this)), this, new r0(this), new s0(wj.m.f149951a)); } public final hw2.c I1() { dw2.r<Pair<List<Object>, DiffUtil.DiffResult>> n04 = n1().C0(new t0(this)).n0(new q(this)); Intrinsics.checkNotNullExpressionValue(n04, "private fun refreshData(…im()\n }, AliothLog::e)"); return bj2.h.f(n04, this, new u0(this), new v0(wj.m.f149951a)); } public final void L1() { String str; if (this.f136892j.get() == null) { View inflate = LayoutInflater.from(getActivity()).inflate(R$layout.f38254alioth_poi_collect_success_view, ((PoiPagePresenter) getPresenter()).p(), false); Resources system = Resources.getSystem(); Intrinsics.checkExpressionValueIsNotNull(system, "Resources.getSystem()"); t10.p0.n(inflate, TypedValue.applyDimension(1, (float) 8, system.getDisplayMetrics())); XYImageView xYImageView = (XYImageView) inflate.findViewById(R$id.bo3); Intrinsics.checkNotNullExpressionValue(xYImageView, "this.headImage"); pd.n s04 = n1().s0(); if (s04 == null || (str = s04.getBanner()) == null) { str = ""; } float f14 = (float) 42; Resources system2 = Resources.getSystem(); Intrinsics.checkExpressionValueIsNotNull(system2, "Resources.getSystem()"); int applyDimension = (int) TypedValue.applyDimension(1, f14, system2.getDisplayMetrics()); Resources system3 = Resources.getSystem(); Intrinsics.checkExpressionValueIsNotNull(system3, "Resources.getSystem()"); h52.d.g(xYImageView, str, applyDimension, (int) TypedValue.applyDimension(1, f14, system3.getDisplayMetrics()), 0.0f, null, fd.f0.f76529a.o(), false, 88, null); bj2.h.f(bj2.h.h(inflate, 0, 1, null), this, new w0(this), new x0(wj.m.f149951a)); this.f136892j = new WeakReference<>(inflate); Intrinsics.checkNotNullExpressionValue(inflate, qo2.a.COPY_LINK_TYPE_VIEW); k1(inflate); return; } View view = this.f136892j.get(); if (view != null) { k1(view); } } public final void N1() { TagScoreInfo tagScoreInfo; pd.n s04 = n1().s0(); if (s04 != null) { if (!(s04.getPageId().length() > 0)) { s04 = null; } if (s04 != null) { String name = s04.getName(); XhsActivity activity = getActivity(); String pageId = s04.getPageId(); String id3 = s04.getId(); de.d dVar = de.d.POI; pd.v t04 = n1().t0(); if (t04 == null || (tagScoreInfo = t04.getScoreInfo()) == null) { tagScoreInfo = new TagScoreInfo(0, 0, 3, null); } new PageScoreDialog(activity, pageId, id3, dVar, name, tagScoreInfo, new y0(this)).show(); q1().w(); } } q1().w(); } public final XhsActivity getActivity() { XhsActivity xhsActivity = this.f136883a; if (xhsActivity != null) { return xhsActivity; } Intrinsics.throwUninitializedPropertyAccessException("activity"); return null; } public final MultiTypeAdapter getAdapter() { MultiTypeAdapter multiTypeAdapter = this.f136886d; if (multiTypeAdapter != null) { return multiTypeAdapter; } Intrinsics.throwUninitializedPropertyAccessException("adapter"); return null; } public final dw2.r<ye.f> getToolbarClickActionObservable() { dw2.r<ye.f> rVar = this.f136889g; if (rVar != null) { return rVar; } Intrinsics.throwUninitializedPropertyAccessException("toolbarClickActionObservable"); return null; } public final dw2.y<ye.m> getToolbarUIStateObserver() { dw2.y<ye.m> yVar = this.f136890h; if (yVar != null) { return yVar; } Intrinsics.throwUninitializedPropertyAccessException("toolbarUIStateObserver"); return null; } public final void handleNoteClickEvent(Pair<SearchNoteItem, ? extends Map<String, ? extends Object>> pair) { Object obj = ((Map) pair.getSecond()).get("note_click_pos"); if (Intrinsics.areEqual(obj, "note_click_pos_item") ? true : Intrinsics.areEqual(obj, "note_click_pos_author") ? true : Intrinsics.areEqual(obj, "note_click_pos_live")) { md.r0 q14 = q1(); SearchNoteItem first = pair.getFirst(); Object obj2 = ((Map) pair.getSecond()).get("note_click_item_position"); Integer num = obj2 instanceof Integer ? (Integer) obj2 : null; q14.n(first, num != null ? num.intValue() : 0, u2.click); lc.b.f(lc.b.f101284a, getActivity(), pair.getFirst(), "poi_page", null, null, null, 0, false, 248, null); } else if (Intrinsics.areEqual(obj, "note_click_pos_like")) { ka.a.f97735a.g(new j(pair, this)).i(new ka.b(getActivity(), 1)).e(); } } public final void j1(String str) { if (str != null) { this.f136894l = ye.m.b(this.f136894l, null, new ye.l(str, null, null, false, 14, null), null, null, 0.0f, 29, null); getToolbarUIStateObserver().a(this.f136894l); } } public final void k1(View view) { if (this.f136893k) { view.clearAnimation(); ((PoiPagePresenter) getPresenter()).p().removeView(view); this.f136893k = false; } g0.a a14 = xj.h0.a(new b(view, this)); g0.a a15 = xj.h0.a(new c(view, this)); a14.d(); a15.d(); } public final hw2.c l1(String str) { return bj2.h.f(n1().M(str, new d(this)), this, new e(this), new f(wj.m.f149951a)); } public final hw2.c listenAttachEvent() { return bj2.h.f(((PoiPagePresenter) getPresenter()).attachObservable(), this, new C2229y(this), new z(wj.m.f149951a)); } public final hw2.c listenLifecycleEvent() { return bj2.h.f(getActivity().lifecycle(), this, new i0(this), new j0(wj.m.f149951a)); } public final hw2.c listenLoadMoreEvent() { dw2.r<Unit> u04 = ((PoiPagePresenter) getPresenter()).loadMore(new k0(this)).u0(new x(this)); Intrinsics.checkNotNullExpressionValue(u04, "private fun listenLoadMo… }\n }, AliothLog::e)"); return bj2.h.f(u04, this, new l0(this), new m0(wj.m.f149951a)); } public final hw2.c listenToolbarClickEvent() { return bj2.h.f(getToolbarClickActionObservable(), this, new n0(this), new o0(wj.m.f149951a)); } public final hw2.c m1(String str) { return bj2.h.f(n1().V(str, new g(this)), this, new h(this), new i(wj.m.f149951a)); } public final md.m0 n1() { md.m0 m0Var = this.f136884b; if (m0Var != null) { return m0Var; } Intrinsics.throwUninitializedPropertyAccessException("model"); return null; } public final dx2.g<Pair<pd.m, Object>> o1() { dx2.g<Pair<pd.m, Object>> gVar = this.f136887e; if (gVar != null) { return gVar; } Intrinsics.throwUninitializedPropertyAccessException("poiClickSubject"); return null; } @Override // tu0.b public void onAttach(Bundle bundle) { super.onAttach(bundle); ((PoiPagePresenter) getPresenter()).initView(getAdapter()); listenAttachEvent(); A1(); listenToolbarClickEvent(); C1(); y1(); E1(); listenLoadMoreEvent(); G1(); z1(); B1(); listenLifecycleEvent(); } @Override // tu0.b public void onDetach() { q1().x(); super.onDetach(); } public final dw2.y<Float> p1() { dw2.y<Float> yVar = this.f136888f; if (yVar != null) { return yVar; } Intrinsics.throwUninitializedPropertyAccessException("toolbarAlphaChangeObserver"); return null; } public final md.r0 q1() { md.r0 r0Var = this.f136885c; if (r0Var != null) { return r0Var; } Intrinsics.throwUninitializedPropertyAccessException("trackHelper"); return null; } public final void r1() { String str; PoiSurroundSiteItemBinder poiSurroundSiteItemBinder; if (!this.f136891i) { qd.f fVar = new qd.f(); qd.b bVar = new qd.b(); qd.j jVar = new qd.j(); qd.t tVar = new qd.t(); qd.r rVar = new qd.r(); PoiNoteFilterItemBinder poiNoteFilterItemBinder = new PoiNoteFilterItemBinder(); se.i iVar = new se.i(null, 1, null); iVar.s(true); dx2.g<Pair<SearchNoteItem, Map<String, ? extends Object>>> i10 = iVar.i(); u uVar = new u(this); wj.m mVar = wj.m.f149951a; bj2.h.f(i10, this, uVar, new v(mVar)); qd.o oVar = new qd.o(); qd.b0 b0Var = new qd.b0(); PoiSurroundSiteFilterItemBinder poiSurroundSiteFilterItemBinder = new PoiSurroundSiteFilterItemBinder(); PoiSurroundSiteItemBinder poiSurroundSiteItemBinder2 = new PoiSurroundSiteItemBinder(); bj2.h.f(poiSurroundSiteItemBinder2.b(), this, new w(this), new x(mVar)); getAdapter().k(pd.n.class, fVar); getAdapter().k(pd.k.class, bVar); getAdapter().k(pd.r.class, jVar); getAdapter().k(pd.f0.class, tVar); getAdapter().k(pd.c0.class, rVar); getAdapter().k(pd.t.class, new qd.p()); getAdapter().k(pd.o.class, poiNoteFilterItemBinder); getAdapter().k(SearchNoteItem.class, iVar); getAdapter().k(pd.s.class, oVar); getAdapter().k(pd.z.class, b0Var); getAdapter().k(pd.a0.class, poiSurroundSiteFilterItemBinder); getAdapter().k(pd.j0.class, poiSurroundSiteItemBinder2); int i14 = a.f136895a[n1().f0().ordinal()]; if (i14 == 1) { poiSurroundSiteItemBinder = poiSurroundSiteItemBinder2; str = "this.`as`(AutoDispose.autoDisposable(provider))"; MultiTypeAdapter adapter = getAdapter(); PoiRecommendDishItemBinder poiRecommendDishItemBinder = new PoiRecommendDishItemBinder(); bj2.h.d(poiRecommendDishItemBinder.a(), this, new k(this)); bj2.h.f(poiRecommendDishItemBinder.b(), this, new l(this), new m(mVar)); adapter.k(PoiRestaurantRecommendDish.class, poiRecommendDishItemBinder); } else if (i14 == 2) { poiSurroundSiteItemBinder = poiSurroundSiteItemBinder2; str = "this.`as`(AutoDispose.autoDisposable(provider))"; MultiTypeAdapter adapter2 = getAdapter(); PoiChildScenesItemBinder poiChildScenesItemBinder = new PoiChildScenesItemBinder(); bj2.h.d(poiChildScenesItemBinder.a(), this, new n(this)); bj2.h.f(poiChildScenesItemBinder.b(), this, new o(this), new p(mVar)); bj2.h.d(poiChildScenesItemBinder.c(), this, new q(this)); adapter2.k(pd.f.class, poiChildScenesItemBinder); } else if (i14 != 3) { poiSurroundSiteItemBinder = poiSurroundSiteItemBinder2; str = "this.`as`(AutoDispose.autoDisposable(provider))"; } else { MultiTypeAdapter adapter3 = getAdapter(); qd.h hVar = new qd.h(); poiSurroundSiteItemBinder = poiSurroundSiteItemBinder2; Object n14 = hVar.b().n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((com.uber.autodispose.y) n14).c(o1()); adapter3.k(pd.i.class, hVar); MultiTypeAdapter adapter4 = getAdapter(); PoiRoomInfoItemBinder poiRoomInfoItemBinder = new PoiRoomInfoItemBinder(); Object n15 = poiRoomInfoItemBinder.b().n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n15, "this.`as`(AutoDispose.autoDisposable(provider))"); ((com.uber.autodispose.y) n15).c(o1()); bj2.h.d(poiRoomInfoItemBinder.c(), this, new r(this)); str = "this.`as`(AutoDispose.autoDisposable(provider))"; bj2.h.f(poiRoomInfoItemBinder.e(), this, new s(this), new t(mVar)); adapter4.k(pd.h0.class, poiRoomInfoItemBinder); } dw2.r R0 = dw2.r.R0(fVar.h(), bVar.b(), jVar.b(), tVar.b(), rVar.b(), poiNoteFilterItemBinder.a().M0(v.f136880a), oVar.a().M0(w.f136881a), b0Var.b().M0(s.f136877a), poiSurroundSiteFilterItemBinder.a().M0(t.f136878a), poiSurroundSiteItemBinder.a().M0(u.f136879a)); Intrinsics.checkNotNullExpressionValue(R0, "mergeArray(headerBinder.… it.first }\n )"); Object n16 = R0.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n16, str); ((com.uber.autodispose.y) n16).c(o1()); this.f136891i = true; } } public final hw2.c y1() { return bj2.h.f(((PoiPagePresenter) getPresenter()).l(), this, new a0(this), new b0(wj.m.f149951a)); } public final void z1() { dw2.r N0 = dw2.r.N0(((PoiPagePresenter) getPresenter()).z(), ((PoiPagePresenter) getPresenter()).i()); Intrinsics.checkNotNullExpressionValue(N0, "merge(presenter.toChange….alreadyDoneClickEvent())"); bj2.h.d(N0, this, new c0(this)); } }