package uv0; import al2.e; import android.app.Application; import android.content.Context; import android.content.Intent; import android.os.SystemClock; import androidx.fragment.app.FragmentActivity; import cn.jiguang.union.ads.api.JUnionAdError; import com.google.android.gms.common.GoogleApiAvailabilityLight; import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting; import com.uber.autodispose.a0; import com.xingin.hey.R$string; import com.xingin.hey.heyedit.HeyEditFragment; import com.xingin.hey.heyedit.poi.bean.HeyGeoInfo; import com.xingin.hey.heyedit.poi.bean.LocationDetailBean; import dw2.r; import fy0.f0; import fy0.t; import fy0.v; import fy0.y; import java.util.List; import kotlin.Metadata; import kotlin.Unit; import kotlin.collections.CollectionsKt__CollectionsKt; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.functions.Function3; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.Lambda; import kv0.l; import xv0.h; import y7.f; import z21.a; @Metadata(bv = {}, d1 = {"\u0000B\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0006\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0006\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u001b\u001a\u00020\u001a¢\u0006\u0004\b\u001c\u0010\u001dJU\u0010\f\u001a\u00020\n2K\u0010\u000b\u001aG\u0012\u0013\u0012\u00110\u0003¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\u0006\u0012\u0013\u0012\u00110\u0007¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\b\u0012\u0013\u0012\u00110\u0007¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\t\u0012\u0004\u0012\u00020\n0\u0002H\u0016J\b\u0010\r\u001a\u00020\u0003H\u0016J\b\u0010\u000e\u001a\u00020\nH\u0016J\b\u0010\u000f\u001a\u00020\nH\u0016J\b\u0010\u0010\u001a\u00020\nH\u0016JH\u0010\u0016\u001a\u00020\n2\u0006\u0010\u0012\u001a\u00020\u001126\u0010\u000b\u001a2\u0012\u0013\u0012\u00110\u0003¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\u0006\u0012\u0013\u0012\u00110\u0014¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\u0015\u0012\u0004\u0012\u00020\n0\u0013H\u0016JH\u0010\u0017\u001a\u00020\n2\u0006\u0010\u0012\u001a\u00020\u001126\u0010\u000b\u001a2\u0012\u0013\u0012\u00110\u0003¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\u0006\u0012\u0013\u0012\u00110\u0014¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\u0015\u0012\u0004\u0012\u00020\n0\u0013H\u0016J\b\u0010\u0018\u001a\u00020\nH\u0016J@\u0010\u0019\u001a\u00020\n26\u0010\u000b\u001a2\u0012\u0013\u0012\u00110\u0003¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\u0006\u0012\u0013\u0012\u00110\u0014¢\u0006\f\b\u0004\u0012\b\b\u0005\u0012\u0004\b\b(\u0015\u0012\u0004\u0012\u00020\n0\u0013H\u0016¨\u0006\u001e"}, d2 = {"Luv0/o;", "Lkv0/d;", "Lkotlin/Function3;", "", "Lkotlin/ParameterName;", "name", JUnionAdError.Message.SUCCESS, "", "latitude", "longitude", "", "callback", "T", "e", "O", f.f156778k, "m", "", "keyword", "Lkotlin/Function2;", "", "data", "w", "r", GoogleApiAvailabilityLight.TRACKING_SOURCE_NOTIFICATION, "t", "Lkv0/l;", qo2.a.COPY_LINK_TYPE_VIEW, "<init>", "(Lkv0/l;)V", "hey_library_release"}, k = 1, mv = {1, 6, 0}) /* compiled from: HeyEditLocationPresenter.kt */ public final class o implements kv0.d { /* renamed from: a reason: collision with root package name */ public final l f138830a; /* renamed from: b reason: collision with root package name */ public final String f138831b = "HeyEditLocationPresenter"; /* renamed from: c reason: collision with root package name */ public Function3<? super Boolean, ? super Double, ? super Double, Unit> f138832c; /* renamed from: d reason: collision with root package name */ public int f138833d = -1; /* renamed from: e reason: collision with root package name */ public double f138834e; /* renamed from: f reason: collision with root package name */ public double f138835f; /* renamed from: g reason: collision with root package name */ public boolean f138836g; /* renamed from: h reason: collision with root package name */ public long f138837h; /* renamed from: i reason: collision with root package name */ public hw2.c f138838i; /* renamed from: j reason: collision with root package name */ public String f138839j = ""; /* renamed from: k reason: collision with root package name */ public int f138840k = 50; /* renamed from: l reason: collision with root package name */ public int f138841l = 1; /* renamed from: m reason: collision with root package name */ public String f138842m = ""; /* renamed from: n reason: collision with root package name */ public final b f138843n = new b(this); @Metadata(bv = {}, d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00020\u00022\b\u0010\u0001\u001a\u0004\u0018\u00010\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Lfj2/a;", AdvanceSetting.NETWORK_TYPE, "", "invoke", "(Lfj2/a;)V", "<anonymous>"}, k = 3, mv = {1, 6, 0}) /* compiled from: HeyEditLocationPresenter.kt */ public static final class a extends Lambda implements Function1<fj2.a, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ o f138844a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ Function2<Boolean, Object, Unit> f138845b; @Metadata(bv = {}, d1 = {"\u0000\u0016\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0001\u001a\u00020\u00002\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0002H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"", JUnionAdError.Message.SUCCESS, "", "<anonymous parameter 1>", "<anonymous parameter 2>", "", "c", "(ZDD)V"}, k = 3, mv = {1, 6, 0}) /* renamed from: uv0.o$a$a reason: collision with other inner class name */ /* compiled from: HeyEditLocationPresenter.kt */ public static final class C2281a extends Lambda implements Function3<Boolean, Double, Double, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ o f138846a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ Function2<Boolean, Object, Unit> f138847b; /* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: kotlin.jvm.functions.Function2<? super java.lang.Boolean, java.lang.Object, kotlin.Unit> */ /* JADX WARN: Multi-variable type inference failed */ /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public C2281a(o oVar, Function2<? super Boolean, Object, Unit> function2) { super(3); this.f138846a = oVar; this.f138847b = function2; } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r5v2, types: [xv0.a] */ /* JADX WARNING: Unknown variable types count: 1 */ public static final void d(o oVar, Function2 function2, List list) { Intrinsics.checkNotNullParameter(oVar, "this$0"); Intrinsics.checkNotNullParameter(function2, "$callback"); String str = oVar.f138831b; t.a(str, "[loadLocations] response = " + list + ", currentpage = " + oVar.f138841l); boolean isEmpty = list.isEmpty(); List list2 = list; if (isEmpty) { list2 = xv0.a.f156083a; } Boolean bool = Boolean.TRUE; Intrinsics.checkNotNullExpressionValue(list2, "data"); function2.invoke(bool, list2); } public static final void e(o oVar, Function2 function2, Throwable th3) { Intrinsics.checkNotNullParameter(oVar, "this$0"); Intrinsics.checkNotNullParameter(function2, "$callback"); String str = oVar.f138831b; t.a(str, "[loadLocations] error = " + th3); function2.invoke(Boolean.FALSE, xv0.b.f156084a); } public final void c(boolean z14, double d14, double d15) { if (z14) { String d16 = y.d(true, new HeyGeoInfo((float) this.f138846a.f138834e, (float) this.f138846a.f138835f)); this.f138846a.f138841l = 1; r<List<LocationDetailBean>> f14 = jv0.c.f("", d16, this.f138846a.f138841l); a0 a0Var = a0.D; Intrinsics.checkNotNullExpressionValue(a0Var, "UNBOUND"); Object n14 = f14.n(com.uber.autodispose.d.b(a0Var)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((com.uber.autodispose.y) n14).a(new n(this.f138846a, this.f138847b), new m(this.f138846a, this.f138847b)); return; } this.f138847b.invoke(Boolean.FALSE, h.f156107a); } /* 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, java.lang.Object] */ @Override // kotlin.jvm.functions.Function3 public /* bridge */ /* synthetic */ Unit invoke(Boolean bool, Double d14, Double d15) { c(bool.booleanValue(), d14.doubleValue(), d15.doubleValue()); return Unit.INSTANCE; } } /* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: kotlin.jvm.functions.Function2<? super java.lang.Boolean, java.lang.Object, kotlin.Unit> */ /* JADX WARN: Multi-variable type inference failed */ /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(o oVar, Function2<? super Boolean, Object, Unit> function2) { super(1); this.f138844a = oVar; this.f138845b = function2; } /* 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(fj2.a aVar) { invoke(aVar); return Unit.INSTANCE; } public final void invoke(fj2.a aVar) { boolean z14 = true; if (aVar == null || !aVar.e()) { z14 = false; } if (z14) { o oVar = this.f138844a; oVar.T(new C2281a(oVar, this.f138845b)); return; } t.a(this.f138844a.f138831b, "[loadLocations] permission not granted"); this.f138845b.invoke(Boolean.FALSE, h.f156107a); } } @Metadata(bv = {}, d1 = {"\u0000\u001d\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u0010\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0016J\u0010\u0010\b\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0016¨\u0006\t"}, d2 = {"uv0/o$b", "Lz21/a$b;", "La31/b;", "location", "", "onLocationSuccess", "La31/c;", "error", "onLocationFail", "hey_library_release"}, k = 1, mv = {1, 6, 0}) /* compiled from: HeyEditLocationPresenter.kt */ public static final class b implements a.b { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ o f138848a; public b(o oVar) { this.f138848a = oVar; } @Override // z21.a.b public void onLocationFail(a31.c cVar) { Intrinsics.checkNotNullParameter(cVar, "error"); String str = this.f138848a.f138831b; t.a(str, "[onLocationFail] on get loc err " + cVar.getErrorCode() + " - " + cVar.getReason()); if (cVar.getErrorCode() == 2) { Function3 function3 = this.f138848a.f138832c; if (function3 == null) { Intrinsics.throwUninitializedPropertyAccessException("mGetLocationCallback"); function3 = null; } function3.invoke(Boolean.FALSE, Double.valueOf(-1.0d), Double.valueOf(-1.0d)); if (this.f138848a.f138836g) { e.o(R$string.f52907hey_open_permission_location_tip); this.f138848a.f138836g = false; } } } @Override // z21.a.b public void onLocationSuccess(a31.b bVar) { Intrinsics.checkNotNullParameter(bVar, "location"); this.f138848a.f138834e = bVar.getLatitude(); this.f138848a.f138835f = bVar.getLongtitude(); Function3 function3 = this.f138848a.f138832c; if (function3 == null) { Intrinsics.throwUninitializedPropertyAccessException("mGetLocationCallback"); function3 = null; } function3.invoke(Boolean.TRUE, Double.valueOf(this.f138848a.f138834e), Double.valueOf(this.f138848a.f138835f)); String str = this.f138848a.f138831b; t.a(str, "[onLocationSuccess] on get loc --> lat: " + bVar.getLatitude() + " lng: " + bVar.getLongtitude()); } } @Metadata(bv = {}, d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroid/content/Intent;", "i", "", "a", "(Landroid/content/Intent;)V"}, k = 3, mv = {1, 6, 0}) /* compiled from: HeyEditLocationPresenter.kt */ public static final class c extends Lambda implements Function1<Intent, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ FragmentActivity f138849a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public c(FragmentActivity fragmentActivity) { super(1); this.f138849a = fragmentActivity; } public final void a(Intent intent) { Intrinsics.checkNotNullParameter(intent, "i"); this.f138849a.startActivityForResult(intent, 102); } /* 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(Intent intent) { a(intent); return Unit.INSTANCE; } } @Metadata(bv = {}, d1 = {"\u0000\u001d\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u0010\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0016J\u0010\u0010\b\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0016¨\u0006\t"}, d2 = {"uv0/o$d", "Lz21/a$b;", "La31/b;", "location", "", "onLocationSuccess", "La31/c;", "error", "onLocationFail", "hey_library_release"}, k = 1, mv = {1, 6, 0}) /* compiled from: HeyEditLocationPresenter.kt */ public static final class d implements a.b { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ o f138850a; public d(o oVar) { this.f138850a = oVar; } @Override // z21.a.b public void onLocationFail(a31.c cVar) { Intrinsics.checkNotNullParameter(cVar, "error"); String str = this.f138850a.f138831b; t.a(str, "[onLocationFail] on get loc err " + cVar.getErrorCode() + " - " + cVar.getReason()); this.f138850a.f138834e = 0.0d; this.f138850a.f138835f = 0.0d; if (cVar.getErrorCode() == 2) { Function3 function3 = this.f138850a.f138832c; if (function3 == null) { Intrinsics.throwUninitializedPropertyAccessException("mGetLocationCallback"); function3 = null; } function3.invoke(Boolean.FALSE, Double.valueOf(-1.0d), Double.valueOf(-1.0d)); if (this.f138850a.f138836g) { e.o(R$string.f52907hey_open_permission_location_tip); this.f138850a.f138836g = false; } } } @Override // z21.a.b public void onLocationSuccess(a31.b bVar) { Intrinsics.checkNotNullParameter(bVar, "location"); this.f138850a.f138834e = bVar.getLatitude(); this.f138850a.f138835f = bVar.getLongtitude(); Function3 function3 = this.f138850a.f138832c; if (function3 == null) { Intrinsics.throwUninitializedPropertyAccessException("mGetLocationCallback"); function3 = null; } function3.invoke(Boolean.TRUE, Double.valueOf(this.f138850a.f138834e), Double.valueOf(this.f138850a.f138835f)); String str = this.f138850a.f138831b; t.a(str, "[onLocationSuccess] on get loc --> lat: " + bVar.getLatitude() + " lng: " + bVar.getLongtitude()); } } public o(l lVar) { Intrinsics.checkNotNullParameter(lVar, qo2.a.COPY_LINK_TYPE_VIEW); this.f138830a = lVar; } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r5v2, types: [xv0.a] */ /* JADX WARNING: Unknown variable types count: 1 */ public static final void P(o oVar, Function2 function2, List list) { Intrinsics.checkNotNullParameter(oVar, "this$0"); Intrinsics.checkNotNullParameter(function2, "$callback"); String str = oVar.f138831b; t.a(str, "[loadMoreLocations] response = " + list + ", currentpage = " + oVar.f138841l); boolean isEmpty = list.isEmpty(); List list2 = list; if (isEmpty) { list2 = xv0.a.f156083a; } Boolean bool = Boolean.TRUE; Intrinsics.checkNotNullExpressionValue(list2, "data"); function2.invoke(bool, list2); } public static final void Q(o oVar, Function2 function2, Throwable th3) { Intrinsics.checkNotNullParameter(oVar, "this$0"); Intrinsics.checkNotNullParameter(function2, "$callback"); String str = oVar.f138831b; t.a(str, "[loadMoreLocations] error = " + th3); function2.invoke(Boolean.FALSE, xv0.b.f156084a); } public static final void R(o oVar, Function2 function2, List list) { Intrinsics.checkNotNullParameter(oVar, "this$0"); Intrinsics.checkNotNullParameter(function2, "$callback"); t.a(oVar.f138831b, "[searchLocations] response = " + list + ", currentpage = " + oVar.f138841l); if (list.isEmpty()) { function2.invoke(Boolean.TRUE, xv0.a.f156083a); return; } oVar.f138841l++; Boolean bool = Boolean.TRUE; Intrinsics.checkNotNullExpressionValue(list, "response"); function2.invoke(bool, list); } public static final void S(o oVar, Function2 function2, Throwable th3) { Intrinsics.checkNotNullParameter(oVar, "this$0"); Intrinsics.checkNotNullParameter(function2, "$callback"); String str = oVar.f138831b; t.a(str, "[searchLocations] error = " + th3); function2.invoke(Boolean.FALSE, xv0.b.f156084a); } public void O() { t.a(this.f138831b, "[getRecommendLocations]"); } public void T(Function3<? super Boolean, ? super Double, ? super Double, Unit> function3) { Intrinsics.checkNotNullParameter(function3, "callback"); t.a(this.f138831b, "[startGetLocation]"); Context a14 = e30.c.a(); if (a14 != null) { this.f138832c = function3; this.f138833d = z21.d.f160364d.a((Application) a14).a(3, 3000, new d(this), 0); } } @Override // kv0.d public boolean e() { if (!(this.f138834e == 0.0d)) { return true; } return !((this.f138835f > 0.0d ? 1 : (this.f138835f == 0.0d ? 0 : -1)) == 0); } @Override // kv0.d public void f() { this.f138836g = true; O(); } @Override // kv0.d public void m() { t.a(this.f138831b, "[stopGetLocation]"); Context a14 = e30.c.a(); if (a14 != null) { z21.d.f160364d.a((Application) a14).i(this.f138833d); } } @Override // kv0.d public void n() { t.a(this.f138831b, "[onUserClickLocationRequest]"); FragmentActivity activity = ((HeyEditFragment) this.f138830a).getActivity(); if (activity != null) { new f0(activity, new c(activity)).m(); } } @Override // kv0.d public void r(String str, Function2<? super Boolean, Object, Unit> function2) { hw2.c cVar; Intrinsics.checkNotNullParameter(str, "keyword"); Intrinsics.checkNotNullParameter(function2, "callback"); String str2 = this.f138831b; t.a(str2, "[loadMoreLocations] keyword = " + str); boolean z14 = false; if (this.f138834e == 0.0d) { if (this.f138835f == 0.0d) { z14 = true; } if (z14) { t.b(this.f138831b, "[loadMoreLocations] location invalide"); return; } } String d14 = y.d(true, new HeyGeoInfo((float) this.f138834e, (float) this.f138835f)); long elapsedRealtime = SystemClock.elapsedRealtime(); if (elapsedRealtime - this.f138837h <= 500 && (cVar = this.f138838i) != null) { cVar.dispose(); } this.f138837h = elapsedRealtime; int i10 = this.f138841l + 1; this.f138841l = i10; r<List<LocationDetailBean>> f14 = jv0.c.f(str, d14, i10); a0 a0Var = a0.D; Intrinsics.checkNotNullExpressionValue(a0Var, "UNBOUND"); Object n14 = f14.n(com.uber.autodispose.d.b(a0Var)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); this.f138838i = ((com.uber.autodispose.y) n14).a(new l(this, function2), new i(this, function2)); } @Override // kv0.d public void t(Function2<? super Boolean, Object, Unit> function2) { Intrinsics.checkNotNullParameter(function2, "callback"); t.a(this.f138831b, "[loadLocations]"); v.f80312a.a(this.f138830a.getActivity(), CollectionsKt__CollectionsKt.listOf((Object[]) new String[]{"android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"}), new a(this, function2)); } @Override // kv0.d public void w(String str, Function2<? super Boolean, Object, Unit> function2) { hw2.c cVar; Intrinsics.checkNotNullParameter(str, "keyword"); Intrinsics.checkNotNullParameter(function2, "callback"); String str2 = this.f138831b; t.a(str2, "[searchLocations] keyword = " + str); boolean z14 = false; if (this.f138834e == 0.0d) { if (this.f138835f == 0.0d) { z14 = true; } if (z14) { t.b(this.f138831b, "[loadLocations] location invalide"); return; } } String d14 = y.d(true, new HeyGeoInfo((float) this.f138834e, (float) this.f138835f)); long elapsedRealtime = SystemClock.elapsedRealtime(); if (elapsedRealtime - this.f138837h <= 500 && (cVar = this.f138838i) != null) { cVar.dispose(); } this.f138837h = elapsedRealtime; this.f138842m = str; this.f138841l = 1; r<List<LocationDetailBean>> f14 = jv0.c.f(str, d14, 1); a0 a0Var = a0.D; Intrinsics.checkNotNullExpressionValue(a0Var, "UNBOUND"); Object n14 = f14.n(com.uber.autodispose.d.b(a0Var)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); this.f138838i = ((com.uber.autodispose.y) n14).a(new k(this, function2), new j(this, function2)); } }