package com.bytedance.jedi.ext.adapter;

import X.0Bt;
import X.0Bv;
import X.2HN;
import X.2Pr;
import X.5Am;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.JediViewModel;
import java.util.Objects;

public final class Factory implements 0Bv {
    static {
        Covode.recordClassIndex(34807);
    }

    public static final class ViewModel extends JediViewModel<SimpleViewHolderState> {
        static {
            Covode.recordClassIndex(34809);
        }

        public final /* synthetic */ 5Am dU_() {
            return new SimpleViewHolderState((2Pr) null, 1, (2HN) null);
        }
    }

    public static final class SimpleViewHolderState implements 5Am {
        public final 2Pr trigger;

        static {
            Covode.recordClassIndex(34808);
        }

        public SimpleViewHolderState() {
            this((2Pr) null, 1, (2HN) null);
        }

        private final void component1() {
        }

        public static /* synthetic */ SimpleViewHolderState copy$default(SimpleViewHolderState simpleViewHolderState, 2Pr r2, int i, Object obj) {
            if ((i & 1) != 0) {
                r2 = simpleViewHolderState.trigger;
            }
            return simpleViewHolderState.copy(r2);
        }

        private Object[] getObjects() {
            return new Object[]{this.trigger};
        }

        public final SimpleViewHolderState copy(2Pr r2) {
            M12.LIZ(r2);
            return new SimpleViewHolderState(r2);
        }

        public final boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof SimpleViewHolderState)) {
                return false;
            }
            return M12.LIZ(((SimpleViewHolderState) obj).getObjects(), getObjects());
        }

        public final int hashCode() {
            return Objects.hash(getObjects());
        }

        public final String toString() {
            return M12.LIZ("Factory$SimpleViewHolderState:%s", getObjects());
        }

        public SimpleViewHolderState(2Pr r1) {
            M12.LIZ(r1);
            this.trigger = r1;
        }

        /* JADX INFO: this call moved to the top of the method (can break code semantics) */
        public /* synthetic */ SimpleViewHolderState(2Pr r2, int i, 2HN r4) {
            this((i & 1) != 0 ? 2Pr.LIZ : r2);
        }
    }

    public final <T extends 0Bt> T LIZ(Class<T> cls) {
        M12.LIZ(cls);
        return new ViewModel();
    }
}
