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

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.bp.d;
import com.tencent.mm.model.r;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.plugin.wallet_core.model.ECardInfo;
import com.tencent.mm.sdk.platformtools.ab;

class m$6 implements OnClickListener {
    final /* synthetic */ int fwD;
    final /* synthetic */ ECardInfo tHP;
    final /* synthetic */ Context val$context;

    m$6(ECardInfo eCardInfo, Context context, int i) {
        this.tHP = eCardInfo;
        this.val$context = context;
        this.fwD = i;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(47397);
        Intent intent = new Intent();
        ab.i("MicroMsg.WalletIdCardTip", "go to url %s", new Object[]{this.tHP.tyr});
        intent.putExtra("rawUrl", r1);
        intent.putExtra("geta8key_username", r.Yz());
        intent.putExtra("pay_channel", 1);
        d.b(this.val$context, "webview", "com.tencent.mm.plugin.webview.ui.tools.WebViewUI", intent);
        if (this.fwD == 0) {
            h.pYm.e(16500, new Object[]{Integer.valueOf(4)});
            AppMethodBeat.o(47397);
            return;
        }
        h.pYm.e(16500, new Object[]{Integer.valueOf(6)});
        AppMethodBeat.o(47397);
    }
}
