%- thin_mode = env.get("preferences").as(Preferences).thin_mode item_watched = !item.is_a?(SearchChannel | SearchHashtag | SearchPlaylist | InvidiousPlaylist | Category) && env.get?("user").try &.as(User).watched.index(item.id) != nil author_verified = item.responds_to?(:author_verified) && item.author_verified -%>
<%= item.channel_handle %>
<% end %><%= translate_count(locale, "generic_subscribers_count", item.subscriber_count, NumberFormatting::Separator) %>
<% if !item.auto_generated && item.channel_handle.nil? %><%= translate_count(locale, "generic_videos_count", item.video_count, NumberFormatting::Separator) %>
<% end %><%= translate_count(locale, "generic_videos_count", item.video_count, NumberFormatting::Separator) %>
<%- end -%><%= translate_count(locale, "generic_channels_count", item.channel_count, NumberFormatting::Separator) %>
<%- end -%><%= HTML.escape(item.author) %> <%- if author_verified %> <% end -%>
<% else %><%= HTML.escape(item.author) %> <%- if author_verified %> <% end -%>
<% end %><%= HTML.escape(item.author) %> <%- if author_verified %> <% end -%>
<% else %><%= HTML.escape(item.author) %> <%- if author_verified %> <% end -%>
<% end %><%= translate(locale, "Premieres in `x`", recode_date((item.premiere_timestamp.as(Time) - Time.utc).ago, locale)) %>
<% elsif item.responds_to?(:published) && (Time.utc - item.published) > 1.minute %><%= translate(locale, "Shared `x` ago", recode_date(item.published, locale)) %>
<% end %><%= translate_count(locale, "generic_views_count", item.views || 0, NumberFormatting::Short) %>