小红书.apk(点击下载) / d0.java


package pe;

import a23.h4;
import android.os.Bundle;
import androidx.fragment.app.FragmentActivity;
import com.drakeet.multitype.MultiTypeAdapter;
import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting;
import com.xingin.alioth.pages.similarv3.SimilarItemsV3Dialog;
import com.xingin.alioth.pages.sku.entities.SkuAllGoodsItem;
import com.xingin.alioth.pages.sku.entities.SkuPageInfoV3;
import com.xingin.alioth.pages.sku.entities.SkuRedHeartInfo;
import com.xingin.alioth.pages.sku.entities.SkuSimpleGoodsInfo;
import com.xingin.android.mixim.msg.MsgType;
import dw2.r;
import dw2.y;
import java.util.ArrayList;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.FunctionReferenceImpl;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import wj.m;

@Metadata(bv = {}, d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0005\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\u000f\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\t\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00020\u00030\u0001B\u0007¢\u0006\u0004\bB\u0010CJ\u0012\u0010\u0007\u001a\u00020\u00062\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0014J\b\u0010\b\u001a\u00020\u0006H\u0014J\u0018\u0010\f\u001a\u00020\u00062\u0006\u0010\n\u001a\u00020\t2\u0006\u0010\u000b\u001a\u00020\tH\u0002J\u001a\u0010\u000e\u001a\u00020\u00062\u0006\u0010\n\u001a\u00020\t2\b\b\u0002\u0010\r\u001a\u00020\tH\u0002R\"\u0010\u0010\u001a\u00020\u000f8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b\u0010\u0010\u0011\u001a\u0004\b\u0012\u0010\u0013\"\u0004\b\u0014\u0010\u0015R\"\u0010\u0017\u001a\u00020\u00168\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b\u0017\u0010\u0018\u001a\u0004\b\u0019\u0010\u001a\"\u0004\b\u001b\u0010\u001cR\"\u0010\u001e\u001a\u00020\u001d8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010!\"\u0004\b\"\u0010#R\"\u0010%\u001a\u00020$8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b%\u0010&\u001a\u0004\b'\u0010(\"\u0004\b)\u0010*R\"\u0010+\u001a\u00020\t8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b+\u0010,\u001a\u0004\b-\u0010.\"\u0004\b/\u00100R\"\u00101\u001a\u00020\t8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b1\u0010,\u001a\u0004\b2\u0010.\"\u0004\b3\u00100R(\u00105\u001a\b\u0012\u0004\u0012\u00020\t048\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b5\u00106\u001a\u0004\b7\u00108\"\u0004\b9\u0010:R\"\u0010<\u001a\u00020;8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b<\u0010=\u001a\u0004\b>\u0010?\"\u0004\b@\u0010A¨\u0006D"}, d2 = {"Lpe/d0;", "Ltu0/b;", "Lpe/j0;", "Lpe/f0;", "Landroid/os/Bundle;", "savedInstanceState", "", "onAttach", "onDetach", "", "id", "awardId", "b1", "sortId", "f1", "Lcom/xingin/alioth/pages/sku/entities/SkuPageInfoV3;", "skuPageInfoV3", "Lcom/xingin/alioth/pages/sku/entities/SkuPageInfoV3;", "d1", "()Lcom/xingin/alioth/pages/sku/entities/SkuPageInfoV3;", "setSkuPageInfoV3", "(Lcom/xingin/alioth/pages/sku/entities/SkuPageInfoV3;)V", "Lcom/xingin/alioth/pages/sku/entities/SkuRedHeartInfo;", "redHeartInfo", "Lcom/xingin/alioth/pages/sku/entities/SkuRedHeartInfo;", "Z0", "()Lcom/xingin/alioth/pages/sku/entities/SkuRedHeartInfo;", "setRedHeartInfo", "(Lcom/xingin/alioth/pages/sku/entities/SkuRedHeartInfo;)V", "Lcom/xingin/alioth/pages/similarv3/SimilarItemsV3Dialog;", MsgType.TYPE_SHOW_DIALOG, "Lcom/xingin/alioth/pages/similarv3/SimilarItemsV3Dialog;", "W0", "()Lcom/xingin/alioth/pages/similarv3/SimilarItemsV3Dialog;", "setDialog", "(Lcom/xingin/alioth/pages/similarv3/SimilarItemsV3Dialog;)V", "Lpe/o;", "dataModel", "Lpe/o;", "V0", "()Lpe/o;", "setDataModel", "(Lpe/o;)V", "intentGoodId", "Ljava/lang/String;", "Y0", "()Ljava/lang/String;", "i1", "(Ljava/lang/String;)V", "intentAwardId", "X0", "setIntentAwardId", "Ldw2/y;", "similarIdObserver", "Ldw2/y;", "a1", "()Ldw2/y;", "setSimilarIdObserver", "(Ldw2/y;)V", "Lpe/p;", "trackHelper", "Lpe/p;", "e1", "()Lpe/p;", "setTrackHelper", "(Lpe/p;)V", "<init>", "()V", "alioth_library_release"}, k = 1, mv = {1, 6, 0})
/* compiled from: SimilarItemsV3Controller.kt */
public final class d0 extends tu0.b<j0, d0, f0> {

    /* renamed from: a  reason: collision with root package name */
    public SkuPageInfoV3 f117769a;

    /* renamed from: b  reason: collision with root package name */
    public SkuRedHeartInfo f117770b;

    /* renamed from: c  reason: collision with root package name */
    public FragmentActivity f117771c;

    /* renamed from: d  reason: collision with root package name */
    public SimilarItemsV3Dialog f117772d;

    /* renamed from: e  reason: collision with root package name */
    public o f117773e;

    /* renamed from: f  reason: collision with root package name */
    public String f117774f;

    /* renamed from: g  reason: collision with root package name */
    public String f117775g;

    /* renamed from: h  reason: collision with root package name */
    public y<String> f117776h;

    /* renamed from: i  reason: collision with root package name */
    public p f117777i;

    /* renamed from: j  reason: collision with root package name */
    public final MultiTypeAdapter f117778j = new MultiTypeAdapter(null, 0, null, 7, null);

    @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: SimilarItemsV3Controller.kt */
    public static final class a extends Lambda implements Function1<Unit, Unit> {

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ d0 f117779a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public a(d0 d0Var) {
            super(1);
            this.f117779a = d0Var;
        }

        /* 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.f117779a.a1().a(this.f117779a.Y0());
            this.f117779a.W0().dismiss();
        }
    }

    @Metadata(k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: SimilarItemsV3Controller.kt */
    public /* synthetic */ class b extends FunctionReferenceImpl implements Function1<Throwable, Unit> {
        public b(Object obj) {
            super(1, obj, 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");
            m.d(th3);
        }
    }

    @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: SimilarItemsV3Controller.kt */
    public static final class c extends Lambda implements Function1<Unit, Unit> {

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ d0 f117780a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public c(d0 d0Var) {
            super(1);
            this.f117780a = d0Var;
        }

        /* 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) {
            ((j0) this.f117780a.getPresenter()).v();
        }
    }

    @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: SimilarItemsV3Controller.kt */
    public static final class d extends Lambda implements Function1<Unit, Unit> {

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ d0 f117781a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public d(d0 d0Var) {
            super(1);
            this.f117781a = d0Var;
        }

        /* 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.f117781a.e1().g(this.f117781a.Y0());
            this.f117781a.e1().e();
            ((j0) this.f117781a.getPresenter()).r(this.f117781a.d1(), this.f117781a.Z0());
            SkuAllGoodsItem goodsItems = this.f117781a.d1().getGoodsItems();
            if (goodsItems != null) {
                d0 d0Var = this.f117781a;
                d0Var.V0().z(d0Var.Y0(), goodsItems);
                ((j0) d0Var.getPresenter()).q(goodsItems);
            }
        }
    }

    @Metadata(k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: SimilarItemsV3Controller.kt */
    public /* synthetic */ class e extends FunctionReferenceImpl implements Function1<Throwable, Unit> {
        public e(Object obj) {
            super(1, obj, 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");
            m.d(th3);
        }
    }

    @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/SkuSimpleGoodsInfo;", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "a", "(Lcom/xingin/alioth/pages/sku/entities/SkuSimpleGoodsInfo;)V"}, k = 3, mv = {1, 6, 0})
    /* compiled from: SimilarItemsV3Controller.kt */
    public static final class f extends Lambda implements Function1<SkuSimpleGoodsInfo, Unit> {

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ d0 f117782a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public f(d0 d0Var) {
            super(1);
            this.f117782a = d0Var;
        }

        public final void a(SkuSimpleGoodsInfo skuSimpleGoodsInfo) {
            this.f117782a.i1(skuSimpleGoodsInfo.getId());
            this.f117782a.e1().g(skuSimpleGoodsInfo.getId());
            this.f117782a.V0().A(skuSimpleGoodsInfo.getId());
            ((j0) this.f117782a.getPresenter()).s(this.f117782a.V0().l());
            this.f117782a.e1().b(h4.spv_page_target);
            this.f117782a.b1(skuSimpleGoodsInfo.getId(), this.f117782a.X0());
        }

        /* 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(SkuSimpleGoodsInfo skuSimpleGoodsInfo) {
            a(skuSimpleGoodsInfo);
            return Unit.INSTANCE;
        }
    }

    @Metadata(k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: SimilarItemsV3Controller.kt */
    public /* synthetic */ class g extends FunctionReferenceImpl implements Function1<Throwable, Unit> {
        public g(Object obj) {
            super(1, obj, 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");
            m.d(th3);
        }
    }

    @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0004*\u0004\u0018\u00010\u00030\u0003H\n¢\u0006\u0002\b\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "", "kotlin.jvm.PlatformType", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: SimilarItemsV3Controller.kt */
    public static final class h extends Lambda implements Function1<String, Unit> {

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ d0 f117783a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public h(d0 d0Var) {
            super(1);
            this.f117783a = d0Var;
        }

        /* 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(String str) {
            invoke(str);
            return Unit.INSTANCE;
        }

        public final void invoke(String str) {
            Intrinsics.checkNotNullExpressionValue(str, AdvanceSetting.NETWORK_TYPE);
            ((j0) this.f117783a.getPresenter()).A(str);
            this.f117783a.e1().f(str);
            d0 d0Var = this.f117783a;
            d0Var.f1(d0Var.Y0(), str);
        }
    }

    @Metadata(k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: SimilarItemsV3Controller.kt */
    public /* synthetic */ class i extends FunctionReferenceImpl implements Function1<Throwable, Unit> {
        public i(Object obj) {
            super(1, obj, 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");
            m.d(th3);
        }
    }

    @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0004*\u0004\u0018\u00010\u00030\u0003H\n¢\u0006\u0002\b\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "", "kotlin.jvm.PlatformType", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: SimilarItemsV3Controller.kt */
    public static final class j extends Lambda implements Function1<String, Unit> {

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ d0 f117784a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public j(d0 d0Var) {
            super(1);
            this.f117784a = d0Var;
        }

        /* 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(String str) {
            invoke(str);
            return Unit.INSTANCE;
        }

        public final void invoke(String str) {
            Intrinsics.checkNotNullExpressionValue(str, AdvanceSetting.NETWORK_TYPE);
            ((j0) this.f117784a.getPresenter()).A(str);
            this.f117784a.e1().f(str);
            d0 d0Var = this.f117784a;
            d0Var.f1(d0Var.Y0(), str);
        }
    }

    @Metadata(k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: SimilarItemsV3Controller.kt */
    public /* synthetic */ class k extends FunctionReferenceImpl implements Function1<Throwable, Unit> {
        public k(Object obj) {
            super(1, obj, 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");
            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: SimilarItemsV3Controller.kt */
    public static final class l extends Lambda implements Function1<Unit, Unit> {

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ d0 f117785a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public l(d0 d0Var) {
            super(1);
            this.f117785a = d0Var;
        }

        /* 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.f117785a.W0().dismiss();
        }
    }

    public static final void c1(d0 d0Var, Pair pair) {
        Intrinsics.checkNotNullParameter(d0Var, "this$0");
        ((j0) d0Var.getPresenter()).r((SkuPageInfoV3) pair.getFirst(), (SkuRedHeartInfo) pair.getSecond());
    }

    public static final void h1(d0 d0Var, SkuAllGoodsItem skuAllGoodsItem) {
        Intrinsics.checkNotNullParameter(d0Var, "this$0");
        Intrinsics.checkNotNullExpressionValue(skuAllGoodsItem, AdvanceSetting.NETWORK_TYPE);
        ((j0) d0Var.getPresenter()).q(skuAllGoodsItem);
    }

    public final o V0() {
        o oVar = this.f117773e;
        if (oVar != null) {
            return oVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("dataModel");
        return null;
    }

    public final SimilarItemsV3Dialog W0() {
        SimilarItemsV3Dialog similarItemsV3Dialog = this.f117772d;
        if (similarItemsV3Dialog != null) {
            return similarItemsV3Dialog;
        }
        Intrinsics.throwUninitializedPropertyAccessException(MsgType.TYPE_SHOW_DIALOG);
        return null;
    }

    public final String X0() {
        String str = this.f117775g;
        if (str != null) {
            return str;
        }
        Intrinsics.throwUninitializedPropertyAccessException("intentAwardId");
        return null;
    }

    public final String Y0() {
        String str = this.f117774f;
        if (str != null) {
            return str;
        }
        Intrinsics.throwUninitializedPropertyAccessException("intentGoodId");
        return null;
    }

    public final SkuRedHeartInfo Z0() {
        SkuRedHeartInfo skuRedHeartInfo = this.f117770b;
        if (skuRedHeartInfo != null) {
            return skuRedHeartInfo;
        }
        Intrinsics.throwUninitializedPropertyAccessException("redHeartInfo");
        return null;
    }

    public final y<String> a1() {
        y<String> yVar = this.f117776h;
        if (yVar != null) {
            return yVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("similarIdObserver");
        return null;
    }

    public final void b1(String str, String str2) {
        r<Pair<SkuPageInfoV3, SkuRedHeartInfo>> W0 = V0().m(str, str2).W0(gw2.a.a());
        Intrinsics.checkNotNullExpressionValue(W0, "dataModel.getSkuPageInfo…dSchedulers.mainThread())");
        Object n14 = W0.n(com.uber.autodispose.d.b(this));
        Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))");
        ((com.uber.autodispose.y) n14).a(new c0(this), ai.j.f3392a);
    }

    public final SkuPageInfoV3 d1() {
        SkuPageInfoV3 skuPageInfoV3 = this.f117769a;
        if (skuPageInfoV3 != null) {
            return skuPageInfoV3;
        }
        Intrinsics.throwUninitializedPropertyAccessException("skuPageInfoV3");
        return null;
    }

    public final p e1() {
        p pVar = this.f117777i;
        if (pVar != null) {
            return pVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("trackHelper");
        return null;
    }

    public final void f1(String str, String str2) {
        r<SkuAllGoodsItem> W0 = V0().s(str, str2).W0(gw2.a.a());
        Intrinsics.checkNotNullExpressionValue(W0, "dataModel.loadItemInfo(i…dSchedulers.mainThread())");
        Object n14 = W0.n(com.uber.autodispose.d.b(this));
        Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))");
        ((com.uber.autodispose.y) n14).a(new b0(this), ai.j.f3392a);
    }

    public final void i1(String str) {
        Intrinsics.checkNotNullParameter(str, "<set-?>");
        this.f117774f = str;
    }

    @Override // tu0.b
    public void onAttach(Bundle bundle) {
        super.onAttach(bundle);
        ((j0) getPresenter()).p();
        r<Unit> attachObservable = ((j0) getPresenter()).attachObservable();
        d dVar = new d(this);
        m mVar = m.f149951a;
        bj2.h.f(attachObservable, this, dVar, new e(mVar));
        bj2.h.f(((j0) getPresenter()).i(), this, new f(this), new g(mVar));
        r<String> n14 = ((j0) getPresenter()).n();
        Intrinsics.checkNotNullExpressionValue(n14, "presenter.hotSortClicks()");
        bj2.h.f(n14, this, new h(this), new i(mVar));
        r<String> f14 = ((j0) getPresenter()).f();
        Intrinsics.checkNotNullExpressionValue(f14, "presenter.characterSortClicks()");
        bj2.h.f(f14, this, new j(this), new k(mVar));
        Object n15 = ((j0) getPresenter()).cancelClicks().n(com.uber.autodispose.d.b(this));
        Intrinsics.checkExpressionValueIsNotNull(n15, "this.`as`(AutoDispose.autoDisposable(provider))");
        bj2.h.b((com.uber.autodispose.y) n15, new l(this));
        bj2.h.f(((j0) getPresenter()).h(), this, new a(this), new b(mVar));
        Object n16 = ((j0) getPresenter()).j().n(com.uber.autodispose.d.b(this));
        Intrinsics.checkExpressionValueIsNotNull(n16, "this.`as`(AutoDispose.autoDisposable(provider))");
        bj2.h.b((com.uber.autodispose.y) n16, new c(this));
    }

    @Override // tu0.b
    public void onDetach() {
        ArrayList<SkuSimpleGoodsInfo> items;
        super.onDetach();
        e1().d();
        SkuAllGoodsItem goodsItems = d1().getGoodsItems();
        if (!(goodsItems == null || (items = goodsItems.getItems()) == null)) {
            ArrayList<SkuSimpleGoodsInfo> arrayList = new ArrayList();
            for (T t14 : items) {
                if (t14.isSelected()) {
                    arrayList.add(t14);
                }
            }
            for (SkuSimpleGoodsInfo skuSimpleGoodsInfo : arrayList) {
                skuSimpleGoodsInfo.setSelected(false);
            }
        }
    }
}