package com.tencent.mm.plugin.offline.ui;

import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.plugin.wallet_core.id_verify.model.f;
import com.tencent.mm.plugin.wallet_core.model.r;
import com.tencent.mm.storage.ac.a;
import com.tencent.mm.wallet_core.d.i;
import com.tencent.mm.x.c;
import com.tencent.ytcommon.BuildConfig;

class WalletOfflineCoinPurseUI$7 implements OnClickListener {
    final /* synthetic */ ImageView paB;
    final /* synthetic */ TextView paC;
    final /* synthetic */ ImageView paD;
    final /* synthetic */ WalletOfflineCoinPurseUI pav;

    WalletOfflineCoinPurseUI$7(WalletOfflineCoinPurseUI walletOfflineCoinPurseUI, ImageView imageView, TextView textView, ImageView imageView2) {
        this.pav = walletOfflineCoinPurseUI;
        this.paB = imageView;
        this.paC = textView;
        this.paD = imageView2;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(43511);
        if (c.PK().b(a.xTL, a.xSL)) {
            c.PK().c(a.xTL, a.xSL);
            this.paB.setVisibility(8);
            this.paC.setVisibility(8);
            this.paD.setVisibility(8);
            g.RQ();
            g.RP().Ry().set(a.xTb, BuildConfig.FLAVOR);
            h.pYm.e(14396, new Object[]{Integer.valueOf(3)});
        }
        if (r.cPI().cQg()) {
            WalletOfflineCoinPurseUI.m(this.pav);
            AppMethodBeat.o(43511);
            return;
        }
        r.cPD();
        WalletOfflineCoinPurseUI walletOfflineCoinPurseUI = this.pav;
        i n = WalletOfflineCoinPurseUI.n(this.pav);
        1 1 = new 1(this);
        if (!r.b(walletOfflineCoinPurseUI, n)) {
            this.pav.a(new f("collect"), true, false);
        }
        AppMethodBeat.o(43511);
    }
}
