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


package w71;

import android.content.DialogInterface;
import android.os.Bundle;
import androidx.recyclerview.widget.DiffUtil;
import bj2.h;
import com.drakeet.multitype.MultiTypeAdapter;
import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting;
import com.xingin.android.mixim.msg.bean.receive.AlphaImDialogMessage;
import com.xingin.android.redutils.base.XhsActivity;
import com.xingin.matrix.followfeed.entities.NoteFeed;
import dw2.r;
import dw2.y;
import ja.b1;
import java.util.List;
import ki1.b;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Triple;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.FunctionReferenceImpl;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import z41.l;
import zh1.q;

@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\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0018\u0002\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\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\b\t\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00020\u00030\u0001B\u0007¢\u0006\u0004\bf\u0010gJ(\u0010\f\u001a\u00020\u000b2\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u00042\u0006\u0010\b\u001a\u00020\u00072\b\u0010\n\u001a\u0004\u0018\u00010\tH\u0002J\b\u0010\r\u001a\u00020\u000bH\u0002J\u0010\u0010\u0010\u001a\u00020\u000b2\u0006\u0010\u000f\u001a\u00020\u000eH\u0002J\u0012\u0010\u0013\u001a\u00020\u000b2\b\u0010\u0012\u001a\u0004\u0018\u00010\u0011H\u0014R\"\u0010\b\u001a\u00020\u00078\u0006@\u0006X†\u000e¢\u0006\u0012\n\u0004\b\b\u0010\u0014\u001a\u0004\b\u0015\u0010\u0016\"\u0004\b\u0017\u0010\u0018R(\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u00048\u0006@\u0006X†\u000e¢\u0006\u0012\n\u0004\b\u0006\u0010\u0019\u001a\u0004\b\u001a\u0010\u001b\"\u0004\b\u001c\u0010\u001dRB\u0010 \u001a\"\u0012\u001e\u0012\u001c\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u0007\u0012\u0006\u0012\u0004\u0018\u00010\t0\u001f0\u001e8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b \u0010!\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-8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b.\u0010/\u001a\u0004\b0\u00101\"\u0004\b2\u00103R\"\u00105\u001a\u0002048\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@\u0010AR\"\u0010C\u001a\u00020B8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\bC\u0010D\u001a\u0004\bE\u0010F\"\u0004\bG\u0010HR\"\u0010J\u001a\u00020I8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\bJ\u0010K\u001a\u0004\bL\u0010M\"\u0004\bN\u0010OR\"\u0010Q\u001a\u00020P8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\bQ\u0010R\u001a\u0004\bS\u0010T\"\u0004\bU\u0010VR(\u0010Y\u001a\b\u0012\u0004\u0012\u00020X0W8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\bY\u0010Z\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\u0010e¨\u0006h"}, d2 = {"Lw71/i;", "Ltu0/b;", "Lw71/l;", "Lw71/k;", "Lkotlin/Function0;", "", "position", "Lcom/xingin/matrix/followfeed/entities/NoteFeed;", "data", "", "payloads", "", "l1", "X0", "", "isFollow", "a1", "Landroid/os/Bundle;", "savedInstanceState", "onAttach", "Lcom/xingin/matrix/followfeed/entities/NoteFeed;", "b1", "()Lcom/xingin/matrix/followfeed/entities/NoteFeed;", "setData", "(Lcom/xingin/matrix/followfeed/entities/NoteFeed;)V", "Lkotlin/jvm/functions/Function0;", "getPosition", "()Lkotlin/jvm/functions/Function0;", "setPosition", "(Lkotlin/jvm/functions/Function0;)V", "Ldw2/r;", "Lkotlin/Triple;", "updateDateObservable", "Ldw2/r;", "getUpdateDateObservable", "()Ldw2/r;", "setUpdateDateObservable", "(Ldw2/r;)V", "Lgb1/a;", "videoFeedRepo", "Lgb1/a;", "j1", "()Lgb1/a;", "setVideoFeedRepo", "(Lgb1/a;)V", "Lob1/b;", "dataHelper", "Lob1/b;", "c1", "()Lob1/b;", "setDataHelper", "(Lob1/b;)V", "Lk61/b;", "pageIntentImpl", "Lk61/b;", "h1", "()Lk61/b;", "setPageIntentImpl", "(Lk61/b;)V", "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", "Lcom/drakeet/multitype/MultiTypeAdapter;", "adapter", "Lcom/drakeet/multitype/MultiTypeAdapter;", "getAdapter", "()Lcom/drakeet/multitype/MultiTypeAdapter;", "setAdapter", "(Lcom/drakeet/multitype/MultiTypeAdapter;)V", "Lg61/i;", "guideManager", "Lg61/i;", "d1", "()Lg61/i;", "setGuideManager", "(Lg61/i;)V", "Lib1/d;", "timelyRecInterfaceParamHelper", "Lib1/d;", "i1", "()Lib1/d;", "setTimelyRecInterfaceParamHelper", "(Lib1/d;)V", "Ldw2/y;", "Lqx1/g;", "pageEventsObserver", "Ldw2/y;", "f1", "()Ldw2/y;", "setPageEventsObserver", "(Ldw2/y;)V", "Lwi1/g;", "noteActionReportInterface", "Lwi1/g;", "e1", "()Lwi1/g;", "setNoteActionReportInterface", "(Lwi1/g;)V", "<init>", "()V", "matrix_detail_feed_library_release"}, k = 1, mv = {1, 6, 0})
/* compiled from: DetailFeedFollowBtnController.kt */
public final class i extends tu0.b<l, i, k> {

    /* renamed from: a  reason: collision with root package name */
    public NoteFeed f148618a = new NoteFeed(null, null, null, null, null, null, 0, null, null, null, null, null, false, null, null, null, null, null, false, false, 0, null, 0, 0, 0, 0, false, false, null, null, 0, null, null, null, null, false, null, false, null, null, 0.0f, null, null, null, null, false, false, 0, null, null, false, null, false, null, null, null, null, null, null, 0, null, null, null, null, null, null, false, 0, null, false, null, false, null, null, null, null, null, false, false, 0, null, null, null, null, null, null, null, null, null, null, null, null, false, false, null, -1, -1, Integer.MAX_VALUE, null);

    /* renamed from: b  reason: collision with root package name */
    public Function0<Integer> f148619b = g.f148635a;

    /* renamed from: c  reason: collision with root package name */
    public r<Triple<Function0<Integer>, NoteFeed, Object>> f148620c;

    /* renamed from: d  reason: collision with root package name */
    public gb1.a f148621d;

    /* renamed from: e  reason: collision with root package name */
    public ob1.b f148622e;

    /* renamed from: f  reason: collision with root package name */
    public k61.b f148623f;

    /* renamed from: g  reason: collision with root package name */
    public XhsActivity f148624g;

    /* renamed from: h  reason: collision with root package name */
    public MultiTypeAdapter f148625h;

    /* renamed from: i  reason: collision with root package name */
    public g61.i f148626i;

    /* renamed from: j  reason: collision with root package name */
    public ib1.d f148627j;

    /* renamed from: k  reason: collision with root package name */
    public y<qx1.g> f148628k;

    /* renamed from: l  reason: collision with root package name */
    public wi1.g f148629l;

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

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public a(i iVar) {
            super(0);
            this.f148630a = iVar;
        }

        @Override // kotlin.jvm.functions.Function0
        public final void invoke() {
            boolean z14 = true;
            this.f148630a.b1().getUser().setFollowed(true);
            ((l) this.f148630a.getPresenter()).b(this.f148630a.b1());
            this.f148630a.a1(true);
            ib1.d i14 = this.f148630a.i1();
            String id3 = this.f148630a.b1().getId();
            y<qx1.g> f14 = this.f148630a.f1();
            int intValue = this.f148630a.getPosition().invoke().intValue();
            boolean areEqual = Intrinsics.areEqual(ib1.e.b(), id3);
            Integer a14 = ib1.e.a(AlphaImDialogMessage.DIALOG_TYPE_FOLLOW);
            if (a14 != null) {
                i14.l(id3, a14.intValue());
                Unit unit = Unit.INSTANCE;
                l.b("TimelyRecInterfaceParamHelper", " canRequestInstantRecommend:" + unit);
            }
            Integer a15 = ib1.e.a(AlphaImDialogMessage.DIALOG_TYPE_FOLLOW);
            if ((a15 == null || a15.intValue() != 0) && ((a15 == null || a15.intValue() != 1) && ((a15 == null || a15.intValue() != 2) && ((a15 == null || a15.intValue() != 3) && ((a15 == null || a15.intValue() != 4) && (a15 == null || a15.intValue() != 7)))))) {
                z14 = false;
            }
            if (!areEqual && z14) {
                ib1.e.c(id3);
                f14.a(new qx1.g(qx1.f.ENGAGE_INSTANT_RECOMMEND_V3, null, Integer.valueOf(intValue), null, 10, null));
            }
        }
    }

    @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: DetailFeedFollowBtnController.kt */
    public static final class b extends Lambda implements Function0<Unit> {

        /* renamed from: a  reason: collision with root package name */
        public static final b f148631a = new b();

        public b() {
            super(0);
        }

        @Override // kotlin.jvm.functions.Function0
        public final void invoke() {
        }
    }

    @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: DetailFeedFollowBtnController.kt */
    public static final class c 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 */ i f148632a;

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public c(i iVar, boolean z14) {
            super(1);
            this.f148632a = iVar;
            this.f148633b = 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(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.f148632a.getAdapter().o((List) pair.getFirst());
            ((DiffUtil.DiffResult) pair.getSecond()).dispatchUpdatesTo(this.f148632a.getAdapter());
            ej2.a.f72257b.a(new au0.i(this.f148632a.b1().getUser().getId(), this.f148633b));
            if (this.f148633b) {
                this.f148632a.e1().d(this.f148632a.b1().getId(), wi1.c.FOLLOW);
            }
            if (z41.e.f160472a.b(this.f148632a.b1())) {
                mb1.i.f105119a.A(this.f148632a.c1(), this.f148632a.b1(), this.f148632a.getPosition().invoke().intValue(), this.f148633b, this.f148632a.d1().e());
            } else {
                zh1.l.f162075a.t(this.f148632a.b1(), this.f148632a.c1(), this.f148633b, this.f148632a.getPosition().invoke().intValue(), new q(this.f148632a.h1().u(), this.f148632a.h1().m()));
            }
        }
    }

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

    @Metadata(d1 = {"\u0000\u001e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\u0010\u0000\u001a\u00020\u00012 \u0010\u0002\u001a\u001c\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u0006\u0012\u0006\u0012\u0004\u0018\u00010\u00070\u0003H\n¢\u0006\u0002\b\b"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Triple;", "Lkotlin/Function0;", "", "Lcom/xingin/matrix/followfeed/entities/NoteFeed;", "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: DetailFeedFollowBtnController.kt */
    public static final class e extends Lambda implements Function1<Triple<? extends Function0<? extends Integer>, ? extends NoteFeed, ? extends Object>, Unit> {

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public e(i iVar) {
            super(1);
            this.f148634a = iVar;
        }

        /* 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(Triple<? extends Function0<? extends Integer>, ? extends NoteFeed, ? extends Object> triple) {
            invoke((Triple<? extends Function0<Integer>, NoteFeed, ? extends Object>) triple);
            return Unit.INSTANCE;
        }

        public final void invoke(Triple<? extends Function0<Integer>, NoteFeed, ? extends Object> triple) {
            Intrinsics.checkNotNullParameter(triple, AdvanceSetting.NETWORK_TYPE);
            this.f148634a.l1((Function0) triple.getFirst(), triple.getSecond(), triple.getThird());
        }
    }

    @Metadata(k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: DetailFeedFollowBtnController.kt */
    public /* synthetic */ class f extends FunctionReferenceImpl implements Function0<Unit> {
        public f(Object obj) {
            super(0, obj, i.class, "followClick", "followClick()V", 0);
        }

        @Override // kotlin.jvm.functions.Function0
        public final void invoke() {
            ((i) this.receiver).X0();
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"<anonymous>", "", "invoke", "()Ljava/lang/Integer;"}, k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: DetailFeedFollowBtnController.kt */
    public static final class g extends Lambda implements Function0<Integer> {

        /* renamed from: a  reason: collision with root package name */
        public static final g f148635a = new g();

        public g() {
            super(0);
        }

        @Override // kotlin.jvm.functions.Function0
        public final Integer invoke() {
            return -1;
        }
    }

    public static final void Y0(i iVar, DialogInterface dialogInterface, int i10) {
        Intrinsics.checkNotNullParameter(iVar, "this$0");
        if (!z41.e.f160472a.b(iVar.f148618a)) {
            zh1.l.f162075a.J(iVar.f148618a, iVar.c1(), false, iVar.f148619b.invoke().intValue(), new q(iVar.h1().u(), iVar.h1().m()));
        }
        iVar.a1(false);
    }

    public static final void Z0(DialogInterface dialogInterface, int i10) {
    }

    public static final boolean k1(i iVar, Unit unit) {
        Intrinsics.checkNotNullParameter(iVar, "this$0");
        Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE);
        return !b1.f94179a.d1(iVar.f148618a.getUser().getId());
    }

    public final void X0() {
        if (!this.f148618a.getUser().isFollowed()) {
            if (z41.e.f160472a.b(this.f148618a)) {
                mb1.i.f105119a.B(c1(), this.f148618a, this.f148619b.invoke().intValue());
            } else {
                zh1.l.I(zh1.l.f162075a, this.f148618a, c1(), false, this.f148619b.invoke().intValue(), new q(h1().u(), h1().m()), 4, null);
            }
            b51.b.c(getActivity(), 4, new a(this), b.f148631a);
        } else {
            b.a.b(ki1.b.f98468a, getActivity(), new f(this), g.f148616a, false, 8, null).show();
        }
        qb1.r.f121073a.g(this.f148618a.getId(), h1());
    }

    public final void a1(boolean z14) {
        h.f(j1().o(this.f148618a, z14), this, new c(this, z14), new d(l.f160483a));
    }

    public final NoteFeed b1() {
        return this.f148618a;
    }

    public final ob1.b c1() {
        ob1.b bVar = this.f148622e;
        if (bVar != null) {
            return bVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("dataHelper");
        return null;
    }

    public final g61.i d1() {
        g61.i iVar = this.f148626i;
        if (iVar != null) {
            return iVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("guideManager");
        return null;
    }

    public final wi1.g e1() {
        wi1.g gVar = this.f148629l;
        if (gVar != null) {
            return gVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("noteActionReportInterface");
        return null;
    }

    public final y<qx1.g> f1() {
        y<qx1.g> yVar = this.f148628k;
        if (yVar != null) {
            return yVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("pageEventsObserver");
        return null;
    }

    public final XhsActivity getActivity() {
        XhsActivity xhsActivity = this.f148624g;
        if (xhsActivity != null) {
            return xhsActivity;
        }
        Intrinsics.throwUninitializedPropertyAccessException("activity");
        return null;
    }

    public final MultiTypeAdapter getAdapter() {
        MultiTypeAdapter multiTypeAdapter = this.f148625h;
        if (multiTypeAdapter != null) {
            return multiTypeAdapter;
        }
        Intrinsics.throwUninitializedPropertyAccessException("adapter");
        return null;
    }

    public final Function0<Integer> getPosition() {
        return this.f148619b;
    }

    public final r<Triple<Function0<Integer>, NoteFeed, Object>> getUpdateDateObservable() {
        r<Triple<Function0<Integer>, NoteFeed, Object>> rVar = this.f148620c;
        if (rVar != null) {
            return rVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("updateDateObservable");
        return null;
    }

    public final k61.b h1() {
        k61.b bVar = this.f148623f;
        if (bVar != null) {
            return bVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("pageIntentImpl");
        return null;
    }

    public final ib1.d i1() {
        ib1.d dVar = this.f148627j;
        if (dVar != null) {
            return dVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("timelyRecInterfaceParamHelper");
        return null;
    }

    public final gb1.a j1() {
        gb1.a aVar = this.f148621d;
        if (aVar != null) {
            return aVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("videoFeedRepo");
        return null;
    }

    public final void l1(Function0<Integer> function0, NoteFeed noteFeed, Object obj) {
        boolean z14;
        this.f148619b = function0;
        this.f148618a = noteFeed;
        boolean z15 = false;
        if (obj == null || obj == l61.a.WITHOUT_VIDEO) {
            z14 = true;
        } else {
            z14 = false;
        }
        if (z14 || obj == l61.a.FOLLOW_STATE) {
            z15 = true;
        }
        if (z15) {
            ((l) getPresenter()).b(noteFeed);
        }
    }

    @Override // tu0.b
    public void onAttach(Bundle bundle) {
        super.onAttach(bundle);
        h.d(getUpdateDateObservable(), this, new e(this));
        r<Unit> u04 = ((l) getPresenter()).d().u0(new h(this));
        Intrinsics.checkNotNullExpressionValue(u04, "presenter.followClicks()…sMe(data.user.id).not() }");
        h.e(u04, this, new f(this));
    }
}