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


package pg;

import android.content.Intent;
import android.graphics.Rect;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import androidx.fragment.app.FragmentActivity;
import bh.d;
import bh.k;
import com.drakeet.multitype.MultiTypeAdapter;
import com.google.android.gms.common.GoogleApiAvailabilityLight;
import com.xingin.alioth.R$layout;
import com.xingin.alioth.entities.SearchActionData;
import com.xingin.alioth.search.result.goods.SearchResultGoodsView;
import com.xingin.android.redutils.base.XhsActivity;
import dw2.r;
import dw2.y;
import dx2.g;
import ec1.a;
import eh.w;
import j52.f;
import java.util.List;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.internal.Intrinsics;
import nc.n0;
import qg.e;
import tu0.p;
import tu0.q;
import wg.f;
import z60.h;

@Metadata(bv = {}, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00040\u0001:\u0003\u0007\n\u000eB\u000f\u0012\u0006\u0010\u000b\u001a\u00020\u0004¢\u0006\u0004\b\f\u0010\rJ\u000e\u0010\u0007\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005J\u0018\u0010\n\u001a\u00020\u00022\u0006\u0010\t\u001a\u00020\b2\u0006\u0010\u0006\u001a\u00020\u0005H\u0016¨\u0006\u000f"}, d2 = {"Lpg/d;", "Ltu0/p;", "Lcom/xingin/alioth/search/result/goods/SearchResultGoodsView;", "Lpg/a1;", "Lpg/d$c;", "Landroid/view/ViewGroup;", "parentViewGroup", "a", "Landroid/view/LayoutInflater;", "inflater", "b", "dependency", "<init>", "(Lpg/d$c;)V", "c", "alioth_library_release"}, k = 1, mv = {1, 6, 0})
/* compiled from: SearchResultGoodsBuilder.kt */
public final class d extends p<SearchResultGoodsView, a1, c> {

    @Metadata(bv = {}, d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bg\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u00012\u00020\u00032\u00020\u00042\u00020\u00052\u00020\u0006¨\u0006\u0007"}, d2 = {"Lpg/d$a;", "Ltu0/d;", "Lpg/w0;", "Lbh/d$c;", "Lj52/f$c;", "Lec1/a$c;", "Lwg/f$c;", "alioth_library_release"}, k = 1, mv = {1, 6, 0})
    /* compiled from: SearchResultGoodsBuilder.kt */
    public interface a extends tu0.d<w0>, d.c, f.c, a.c, f.c {
    }

    @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\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\r\b\u0007\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u001f\u0012\u0006\u00100\u001a\u00020\u0002\u0012\u0006\u00101\u001a\u00020\u0003\u0012\u0006\u0010(\u001a\u00020'¢\u0006\u0004\b2\u00103J\b\u0010\u0005\u001a\u00020\u0004H\u0007J\b\u0010\u0007\u001a\u00020\u0006H\u0007J\b\u0010\t\u001a\u00020\bH\u0007J\b\u0010\u000b\u001a\u00020\nH\u0007J\u000e\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\r0\fH\u0007J\u000e\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\r0\u000fH\u0007J\u000e\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u00110\fH\u0007J\u000e\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00110\u000fH\u0007J\u000e\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00150\u0014H\u0007J\u000e\u0010\u0018\u001a\b\u0012\u0004\u0012\u00020\u00170\u0014H\u0007J\u000e\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u00190\u0014H\u0007J\u000e\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\u001c0\u001bH\u0007J\u000e\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\u001e0\u0014H\u0007J\u000e\u0010!\u001a\b\u0012\u0004\u0012\u00020 0\u0014H\u0007J\b\u0010#\u001a\u00020\"H\u0007J\u000e\u0010$\u001a\b\u0012\u0004\u0012\u00020\u001e0\u0014H\u0007J\u000e\u0010&\u001a\b\u0012\u0004\u0012\u00020%0\u0014H\u0007R\u0017\u0010(\u001a\u00020'8\u0006¢\u0006\f\n\u0004\b(\u0010)\u001a\u0004\b*\u0010+R\u0017\u0010,\u001a\u00020\u00068\u0006¢\u0006\f\n\u0004\b,\u0010-\u001a\u0004\b.\u0010/¨\u00064"}, d2 = {"Lpg/d$b;", "Ltu0/q;", "Lcom/xingin/alioth/search/result/goods/SearchResultGoodsView;", "Lpg/w0;", "Lpg/b1;", "l", "Leh/w;", "j", "Lcom/drakeet/multitype/MultiTypeAdapter;", "g", "Lqg/e;", "r", "Ldw2/r;", "Ls7/b;", "m", "Ldw2/y;", GoogleApiAvailabilityLight.TRACKING_SOURCE_NOTIFICATION, "Lbh/k;", com.igexin.push.core.d.c.f25536c, "q", "Ldx2/d;", "Ltg/d;", "i", "Ltg/b;", y7.f.f156778k, "Ltg/a;", "c", "Ldx2/g;", "Lk52/a;", "a", "Lfc1/a;", "k", "", "o", "Landroidx/fragment/app/FragmentActivity;", "e", "b", "Landroid/graphics/Rect;", "d", "Lcom/xingin/android/redutils/base/XhsActivity;", "activity", "Lcom/xingin/android/redutils/base/XhsActivity;", "getActivity", "()Lcom/xingin/android/redutils/base/XhsActivity;", "goodsRepo", "Leh/w;", h.f160753a, "()Leh/w;", "viewSearch", "controller", "<init>", "(Lcom/xingin/alioth/search/result/goods/SearchResultGoodsView;Lpg/w0;Lcom/xingin/android/redutils/base/XhsActivity;)V", "alioth_library_release"}, k = 1, mv = {1, 6, 0})
    /* compiled from: SearchResultGoodsBuilder.kt */
    public static final class b extends q<SearchResultGoodsView, w0> {

        /* renamed from: a  reason: collision with root package name */
        public final XhsActivity f117982a;

        /* renamed from: b  reason: collision with root package name */
        public final dx2.d<s7.b> f117983b;

        /* renamed from: c  reason: collision with root package name */
        public final dx2.d<k> f117984c;

        /* renamed from: d  reason: collision with root package name */
        public final w f117985d = new w();

        @Metadata(bv = {}, d1 = {"\u0000)\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010 \n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\b\u0010\u0003\u001a\u00020\u0002H\u0016J\u000e\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004H\u0016J\b\u0010\b\u001a\u00020\u0007H\u0016J\b\u0010\t\u001a\u00020\u0002H\u0016J\b\u0010\n\u001a\u00020\u0002H\u0016J\b\u0010\f\u001a\u00020\u000bH\u0016J\b\u0010\r\u001a\u00020\u0002H\u0016J\b\u0010\u000e\u001a\u00020\u0002H\u0016¨\u0006\u000f"}, d2 = {"pg/d$b$a", "Lqg/a;", "", "g", "", "", "e", "", "d", "getReferPage", "a", "Lnc/n0;", "c", "b", y7.f.f156778k, "alioth_library_release"}, k = 1, mv = {1, 6, 0})
        /* compiled from: SearchResultGoodsBuilder.kt */
        public static final class a implements qg.a {

            /* renamed from: a  reason: collision with root package name */
            public final String f117986a;

            /* renamed from: b  reason: collision with root package name */
            public final /* synthetic */ b f117987b;

            public a(b bVar) {
                this.f117987b = bVar;
                Intent intent = bVar.getActivity().getIntent();
                Intrinsics.checkNotNullExpressionValue(intent, "activity.intent");
                this.f117986a = cf.a.w(intent);
            }

            @Override // qg.a
            public String a() {
                return this.f117987b.h().S().getKeyword();
            }

            @Override // qg.a
            public String b() {
                return this.f117987b.h().T().getSearchId();
            }

            @Override // qg.a
            public n0 c() {
                return this.f117987b.h().S().getWordFrom();
            }

            @Override // qg.a
            public int d() {
                return this.f117987b.h().N();
            }

            @Override // qg.a
            public List<Object> e() {
                return this.f117987b.h().P().getGoodFilters();
            }

            @Override // qg.a
            public String f() {
                String uri = this.f117987b.getActivity().getIntent().toUri(1);
                Intrinsics.checkNotNullExpressionValue(uri, "activity.intent.toUri(Intent.URI_INTENT_SCHEME)");
                return uri;
            }

            @Override // qg.a
            public String g() {
                return this.f117987b.h().T().getSortType();
            }

            @Override // qg.a
            public String getReferPage() {
                String v14 = cf.a.v(this.f117987b.h().U());
                return v14 == null ? this.f117986a : v14;
            }
        }

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public b(SearchResultGoodsView searchResultGoodsView, w0 w0Var, XhsActivity xhsActivity) {
            super(searchResultGoodsView, w0Var);
            Intrinsics.checkNotNullParameter(searchResultGoodsView, "viewSearch");
            Intrinsics.checkNotNullParameter(w0Var, "controller");
            Intrinsics.checkNotNullParameter(xhsActivity, "activity");
            this.f117982a = xhsActivity;
            dx2.d<s7.b> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create<RecyclerViewScrollEvent>()");
            this.f117983b = b24;
            dx2.d<k> b25 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b25, "create<ResultGoodsStickerData>()");
            this.f117984c = b25;
        }

        public final g<k52.a> a() {
            dx2.d b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create()");
            return b24;
        }

        public final dx2.d<fc1.a> b() {
            dx2.d<fc1.a> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create()");
            return b24;
        }

        public final dx2.d<tg.a> c() {
            dx2.d<tg.a> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create()");
            return b24;
        }

        public final dx2.d<Rect> d() {
            dx2.d<Rect> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create()");
            return b24;
        }

        public final FragmentActivity e() {
            return this.f117982a;
        }

        public final dx2.d<tg.b> f() {
            dx2.d<tg.b> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create()");
            return b24;
        }

        public final MultiTypeAdapter g() {
            return new MultiTypeAdapter(null, 0, null, 7, null);
        }

        public final XhsActivity getActivity() {
            return this.f117982a;
        }

        public final w h() {
            return this.f117985d;
        }

        public final dx2.d<tg.d> i() {
            dx2.d<tg.d> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create()");
            return b24;
        }

        public final w j() {
            return this.f117985d;
        }

        public final dx2.d<fc1.a> k() {
            dx2.d<fc1.a> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create()");
            return b24;
        }

        public final b1 l() {
            return new b1((SearchResultGoodsView) getView());
        }

        public final r<s7.b> m() {
            return this.f117983b;
        }

        public final y<s7.b> n() {
            return this.f117983b;
        }

        public final dx2.d<Boolean> o() {
            dx2.d<Boolean> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create()");
            return b24;
        }

        public final r<k> p() {
            return this.f117984c;
        }

        public final y<k> q() {
            return this.f117984c;
        }

        public final e r() {
            return new e(new a(this));
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000b\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\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J\b\u0010\u0003\u001a\u00020\u0002H&J\b\u0010\u0005\u001a\u00020\u0004H&J\u000e\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006H&J\u000e\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\n0\tH'J\u000e\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\r0\fH&J\u000e\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u000f0\u0006H'J\u000e\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u000f0\u0011H'J\u000e\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\r0\u0011H'J\u000e\u0010\u0015\u001a\b\u0012\u0004\u0012\u00020\u00140\u0006H&J\u000e\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00140\tH&J\u000e\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u000f0\u0006H'J\u000e\u0010\u0018\u001a\b\u0012\u0004\u0012\u00020\u000f0\u0011H'J\u000e\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u00190\u0011H&J\u000e\u0010\u001c\u001a\b\u0012\u0004\u0012\u00020\u001b0\u0006H'J\u000e\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\u001b0\u0011H'J\u000e\u0010\u001e\u001a\b\u0012\u0004\u0012\u00020\u00190\u0006H&J\u000e\u0010 \u001a\b\u0012\u0004\u0012\u00020\u001f0\tH&J\u000e\u0010!\u001a\b\u0012\u0004\u0012\u00020\n0\tH'J\u000e\u0010#\u001a\b\u0012\u0004\u0012\u00020\"0\u0011H'¨\u0006$"}, d2 = {"Lpg/d$c;", "", "Lcom/xingin/android/redutils/base/XhsActivity;", "activity", "Lef/a;", "b", "Ldw2/r;", "Lcom/xingin/alioth/entities/SearchActionData;", "e", "Ldx2/d;", "", "s", "Ldw2/y;", "Lkg/a;", "K", "", "M", "Ldx2/b;", "D", "A", "Lfg/d;", "w", "x", GoogleApiAvailabilityLight.TRACKING_SOURCE_NOTIFICATION, "u", "Lfg/f;", "d", "", "B", "y", "a", "Ljf/r;", "m", "l", "Ljf/q;", "j", "alioth_library_release"}, k = 1, mv = {1, 6, 0})
    /* compiled from: SearchResultGoodsBuilder.kt */
    public interface c {
        dx2.b<kg.a> A();

        r<Integer> B();

        dx2.b<Unit> D();

        y<kg.a> K();

        r<Unit> M();

        r<fg.f> a();

        XhsActivity activity();

        ef.a b();

        dx2.b<fg.f> d();

        r<SearchActionData> e();

        dx2.b<jf.q> j();

        dx2.d<Boolean> l();

        dx2.d<jf.r> m();

        r<Unit> n();

        dx2.d<Boolean> s();

        dx2.b<Unit> u();

        r<fg.d> w();

        dx2.d<fg.d> x();

        dx2.b<Integer> y();
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public d(c cVar) {
        super(cVar);
        Intrinsics.checkNotNullParameter(cVar, "dependency");
    }

    public final a1 a(ViewGroup viewGroup) {
        Intrinsics.checkNotNullParameter(viewGroup, "parentViewGroup");
        SearchResultGoodsView searchResultGoodsView = (SearchResultGoodsView) createView(viewGroup);
        w0 w0Var = new w0();
        a a14 = b.h().c((c) getDependency()).b(new b(searchResultGoodsView, w0Var, ((c) getDependency()).activity())).a();
        Intrinsics.checkNotNullExpressionValue(a14, "component");
        return new a1(searchResultGoodsView, w0Var, a14);
    }

    /* renamed from: b */
    public SearchResultGoodsView inflateView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
        Intrinsics.checkNotNullParameter(layoutInflater, "inflater");
        Intrinsics.checkNotNullParameter(viewGroup, "parentViewGroup");
        return (SearchResultGoodsView) oh.c.f114333c.a().e(viewGroup, R$layout.f38299alioth_result_goods_layout, layoutInflater);
    }
}