package com.ss.android.ugc.aweme.discover.ui.search.jsbridge.bullet;

import X.0CB;
import X.0CH;
import X.4UQ;
import X.6Is;
import X.C3256SRg;
import X.CqM;
import X.KT7;
import X.M12;
import X.P1F;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.bullet.bridge.BaseBridgeMethod;
import org.json.JSONObject;

public final class SearchShowResultsMethod extends BaseBridgeMethod implements 6Is {
    public static final C3256SRg LIZIZ = new C3256SRg((byte) 0);
    public final String LIZJ = "searchShowResults";

    static {
        Covode.recordClassIndex(65958);
    }

    public final void onStateChanged(0CH r1, 0CB r2) {
        SearchShowResultsMethod.super.onStateChanged(r1, r2);
    }

    public final String LIZLLL() {
        return this.LIZJ;
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public SearchShowResultsMethod(KT7 kt7) {
        super(kt7);
        M12.LIZ(kt7);
    }

    public final void LIZ(JSONObject jSONObject, 4UQ r5) {
        M12.LIZ(jSONObject, r5);
        try {
            CqM.LIZ(new P1F(jSONObject.optString("search_page_code"), jSONObject.optString("search_type")));
        } catch (Exception e) {
            r5.LIZ(0, e.getMessage());
        }
    }
}
