package yt1; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.text.TextPaint; import android.text.style.ClickableSpan; import android.view.View; import com.tencent.mm.sdk.platformtools.Log; import di.b; import j30.a; import java.lang.ref.WeakReference; import java.util.ArrayList; import lh4.m; public final class a1 extends ClickableSpan { /* renamed from: d reason: collision with root package name */ public final WeakReference<Activity> f348606d; public a1(WeakReference<Activity> weakReference) { m.g(weakReference, "rActivity"); this.f348606d = weakReference; } public void onClick(View view) { ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); a.b("com/tencent/mm/plugin/finder/lottery/create/LotteryCreateLicenseSpanClick", "android/text/style/ClickableSpan", "onClick", "(Landroid/view/View;)V", this, array); m.g(view, "widget"); Activity activity = this.f348606d.get(); if (activity == null) { int i15 = b.f200415a; Log.e("LotteryCreateLicenseSpanClick", "on click but activity is null!", null); a.g(this, "com/tencent/mm/plugin/finder/lottery/create/LotteryCreateLicenseSpanClick", "android/text/style/ClickableSpan", "onClick", "(Landroid/view/View;)V"); return; } Intent intent = new Intent(); intent.putExtra("rawUrl", "https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/3qn8dN8csoj0w1d2"); sv3.b.j(activity, "webview", ".ui.tools.WebViewUI", intent, null); a.g(this, "com/tencent/mm/plugin/finder/lottery/create/LotteryCreateLicenseSpanClick", "android/text/style/ClickableSpan", "onClick", "(Landroid/view/View;)V"); } public void updateDrawState(TextPaint textPaint) { m.g(textPaint, "ds"); textPaint.setColor(Color.parseColor("#7D90A9")); textPaint.setUnderlineText(false); textPaint.clearShadowLayer(); } }