package com.ss.android.ugc.aweme.comment.gift;

import X.0HH;
import X.2UX;
import X.2nK;
import X.2uR;
import X.3YD;
import X.3cA;
import X.3cI;
import X.AGW;
import X.C0864AJg;
import X.C0865AJh;
import X.M12;
import android.os.Bundle;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import com.bytedance.covode.number.Covode;

public final class BonusGiftInformationPanel extends Fragment implements 3YD {
    public static String LIZJ = "tap_overlay";
    public static final AGW LIZLLL = new AGW((byte) 0);
    public String LIZ;
    public String LIZIZ;
    public SparseArray LJ;

    public final /* synthetic */ void onDestroyView() {
        BonusGiftInformationPanel.super.onDestroyView();
        SparseArray sparseArray = this.LJ;
        if (sparseArray != null) {
            sparseArray.clear();
        }
    }

    static {
        Covode.recordClassIndex(57011);
    }

    public final 2uR ch_() {
        2uR r4 = new 2uR();
        3cA r1 = new 3cA();
        r1.LIZ(2131755735);
        r1.LIZIZ = true;
        r1.LIZ(new C0865AJh(this));
        r4.LIZIZ(new 3cI[]{r1});
        return r4;
    }

    public final void onViewCreated(View view, Bundle bundle) {
        M12.LIZ(view);
        BonusGiftInformationPanel.super.onViewCreated(view, bundle);
        2UX r2 = new 2UX();
        r2.LIZ("enter_from", this.LIZIZ);
        r2.LIZ("enter_method", this.LIZ);
        2nK.LIZ("show_free_gift_tooltip", r2.LIZ);
        view.findViewById(2131365297).setOnClickListener(new C0864AJg(this));
    }

    public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        M12.LIZ(layoutInflater);
        return 0HH.LIZ(layoutInflater, 2131558781, viewGroup, false);
    }
}
