<commit_before><div class="<%= col_class %>">

  <% if  @pbcore.image? %>
    <%= tag('img', src: @pbcore.proxy_srcs.first) %>
  <% end %>

  <% if @pbcore.audio? || @pbcore.proxy_srcs.empty? %>
    <%= tag('img', src: @pbcore.thumbnail_src) %>
  <% end %>

  <% if geoblocked? %>
    <strong>Note:</strong> This content is not available in your region.
  <% elsif !@pbcore.proxy_srcs.empty? && !@pbcore.image? %>
    <%= content_tag(@pbcore.video? ? 'video' : 'audio', 
                  controls: true, id: 'player-media',
                  oncontextmenu: 'return false;',
                  poster: @pbcore.thumbnail_src) do %>
      <% @pbcore.proxy_srcs.each do |src| %>
        <%= tag('source', src: src, type: @pbcore.video? ? 'video/mp4' : 'audio/mp3') %>
      <% end %>
      <!-- We have transcripts, but not SRT caption files:
        <track kind="captions" src="..."/>
      -->
    <% end %>
  <% end %>

  <% if @pbcore.playlist_group %>
    <div id="playlist">
      <% if @pbcore.playlist_prev_id %>
        <a href="/catalog/<%= @pbcore.playlist_prev_id %>" class="pull-left">&#x25c0; Previous</a>
      <% end %>
      <% if @pbcore.playlist_next_id %>
        <a href="/catalog/<%= @pbcore.playlist_next_id %>" class="pull-right">Next &#x25b6;</a>
      <% end %>
    </div>
  <% end %>

</div>
<commit_msg>replace prev-next. Fix #584. (#588)<commit_after><div class="<%= col_class %>">

  <% if  @pbcore.image? %>
    <%= tag('img', src: @pbcore.proxy_srcs.first) %>
  <% end %>

  <% if @pbcore.audio? || @pbcore.proxy_srcs.empty? %>
    <%= tag('img', src: @pbcore.thumbnail_src) %>
  <% end %>

  <% if geoblocked? %>
    <strong>Note:</strong> This content is not available in your region.
  <% elsif !@pbcore.proxy_srcs.empty? && !@pbcore.image? %>
    <%= content_tag(@pbcore.video? ? 'video' : 'audio', 
                  controls: true, id: 'player-media',
                  oncontextmenu: 'return false;',
                  poster: @pbcore.thumbnail_src) do %>
      <% @pbcore.proxy_srcs.each do |src| %>
        <%= tag('source', src: src, type: @pbcore.video? ? 'video/mp4' : 'audio/mp3') %>
      <% end %>
      <!-- We have transcripts, but not SRT caption files:
        <track kind="captions" src="..."/>
      -->
    <% end %>
  <% end %>

  <% if @pbcore.playlist_group %>
    <div id="playlist">
      <% if @pbcore.playlist_prev_id %>
        <a href="/catalog/<%= @pbcore.playlist_prev_id %>" class="pull-left">&#x25c0; Part <%= @pbcore.playlist_order - 1 %></a>
      <% end %>
      <% if @pbcore.playlist_next_id %>
        <a href="/catalog/<%= @pbcore.playlist_next_id %>" class="pull-right">Part <%= @pbcore.playlist_order + 1 %> &#x25b6;</a>
      <% end %>
    </div>
  <% end %>

</div>

{'fraction_non_alphanumeric': 0.21423357664233578, 'fraction_numerical': 0.008759124087591242, 'mean_word_length': 2.5923984272608127, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3622749', 'n_tokens_mistral': 1103, 'n_tokens_neox': 977, 'n_words': 189}