package com.bytedance.android.livesdk.dialog;

import X.0CB;
import X.0CH;
import X.0b0;
import X.1jk;
import X.1sU;
import X.2Pr;
import X.6Is;
import X.H10;
import X.H11;
import X.H12;
import X.LsC;
import X.M12;
import android.content.Context;
import android.os.Bundle;
import com.bytedance.android.live.design.view.sheet.LiveBaseSheetDialog;
import com.bytedance.android.live.design.view.sheet.LiveBottomSheetDialog;
import com.bytedance.covode.number.Covode;
import kotlin.h.b.n;

public final class CommonBottomConfirmDialog extends LiveBaseSheetDialog implements 6Is {
    public static int LJIIJJI = 2131561537;
    public static final H12 LJIIL = new H12((byte) 0);
    public static int LJIILJJIL = 2131371535;
    public static int LJIILL = 2131371534;
    public static int LJIILLIIL = 2131371537;
    public static int LJIIZILJ = 2131371536;
    public int LJFF;
    public int LJI = LJIIJJI;
    public int LJII;
    public LsC<? super LiveBottomSheetDialog, 2Pr> LJIIIIZZ;
    public int LJIIIZ;
    public LsC<? super LiveBottomSheetDialog, 2Pr> LJIIJ;
    public int LJIILIIL;

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

    /* JADX WARNING: type inference failed for: r0v0, types: [android.app.Dialog] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void dismiss() {
        /*
            r1 = this;
            com.bytedance.android.livesdk.dialog.CommonBottomConfirmDialog.super.dismiss()
            r0 = r1
            X.C3323GqS.LIZIZ(r0)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.bytedance.android.livesdk.dialog.CommonBottomConfirmDialog.dismiss():void");
    }

    /* JADX WARNING: type inference failed for: r1v0, types: [android.app.Dialog] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void show() {
        /*
            r2 = this;
            com.bytedance.android.livesdk.dialog.CommonBottomConfirmDialog.super.show()
            r1 = r2
            X.2fU r0 = X.2fU.LIZ
            r0.LIZ(r1)
            X.C3323GqS.LIZ(r1)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.bytedance.android.livesdk.dialog.CommonBottomConfirmDialog.show():void");
    }

    static {
        Covode.recordClassIndex(15650);
    }

    public final void setTitle(int i) {
        this.LJIILIIL = i;
    }

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

    public final void onCreate(Bundle bundle) {
        CommonBottomConfirmDialog.super.onCreate(bundle);
        setContentView(this.LJI);
        1jk findViewById = findViewById(LJIILLIIL);
        if (!(findViewById == null || this.LJIILIIL == 0)) {
            n.LIZIZ(findViewById, "");
            findViewById.setText(0b0.LIZ(this.LJIILIIL));
        }
        1jk findViewById2 = findViewById(LJIIZILJ);
        if (!(findViewById2 == null || this.LJFF == 0)) {
            n.LIZIZ(findViewById2, "");
            findViewById2.setText(0b0.LIZ(this.LJFF));
        }
        1sU findViewById3 = findViewById(LJIILJJIL);
        if (findViewById3 != null) {
            if (this.LJII != 0) {
                n.LIZIZ(findViewById3, "");
                findViewById3.setText(0b0.LIZ(this.LJII));
            }
            findViewById3.setOnClickListener(new H10(this));
        }
        1sU findViewById4 = findViewById(LJIILL);
        if (findViewById4 != null) {
            if (this.LJIIIZ != 0) {
                n.LIZIZ(findViewById4, "");
                findViewById4.setText(0b0.LIZ(this.LJIIIZ));
            }
            findViewById4.setOnClickListener(new H11(this));
        }
    }
}
