package X; import android.content.Context; import android.text.TextPaint; import android.text.style.ClickableSpan; import android.view.View; import com.bytedance.android.livesdk.livesetting.watchlive.LiveReplayFaqSetting; import com.bytedance.android.livesdkapi.host.IHostApp; import com.bytedance.covode.number.Covode; import kotlin.g.b.m; public final class CC7 extends ClickableSpan { public final /* synthetic */ CC4 LIZ; public final /* synthetic */ String LIZIZ; public final /* synthetic */ String LIZJ; static { Covode.recordClassIndex(9558); } public CC7(CC4 cc4, String str, String str2) { this.LIZ = cc4; this.LIZIZ = str; this.LIZJ = str2; } public final void onClick(View view) { C21090sc.LIZ(view); String value = LiveReplayFaqSetting.INSTANCE.getValue(); if (AnonymousClass0NL.LIZ(value)) { value = ((IHostApp) C524124w.LIZ(IHostApp.class)).isInMusicallyRegion() ? "https://webcast-va.tiktokv.com/falcon/webcast_mt/page/faq/index.html" : "https://webcast.tiktokv.com/falcon/webcast_mt/page/faq/index.html"; m.LIZIZ(value, ""); } AbstractC32138Cjn webViewManager = C30118BsJ.LJI().webViewManager(); Context context = this.LIZ.LJ; C30809C8g LIZIZ2 = AbstractC30810C8h.LIZIZ(value); LIZIZ2.LIZJ = true; webViewManager.LIZ(context, LIZIZ2); C31425CVy.LIZLLL.LIZ("livesdk_faq_enter_click").LIZ("event_page", "livetake_page").LIZJ(); } public final void updateDrawState(TextPaint textPaint) { C21090sc.LIZ(textPaint); super.updateDrawState(textPaint); textPaint.setUnderlineText(false); } }