<commit_before>{{!-- Anime poster image --}}
<div class="poster-container">
  {{#link-to 'anime.index'}}
    <img class="series-poster" {{bind-attr src=posterImage}}>
  {{/link-to}}
  <a class="trailer-link" {{action "openModal" "youtube" this}}>
    <i {{bind-attr class=":fa :fa-youtube-play"}}></i>
    View Trailer
</a>
</div>

<div class="middle-column">
  <h2 class="series-title">
    {{#link-to 'anime.index'}}
      {{canonicalTitle}}
      {{#if alternateTitle}}
        <small class="alternate-title">
          ({{alternateTitle}})
        </small>
      {{/if}}
    {{/link-to}}
  </h2>
  <div class="series-infobar">{{partial "anime/infobar"}}</div>
  <div class="synopsis">
    <p>{{truncate-text text=synopsis length=500}}</p>
  </div>

  {{partial "anime/info_tabs"}}
</div>
<div {{bind-attr class=":right-column libraryEntryExists::no-entry"}}>
  <div class="top-buttons">
    <div class="btn-group">
      {{#if libraryEntryExists}}
        <button type="button" {{bind-attr class=":top-button :heart libraryEntry.isFavorite:active"}} {{action "toggleFavorite"}}>
          <i {{bind-attr class=":fa libraryEntry.isFavorite:fa-heart:fa-heart-o"}}></i> Favorite
        </button>
      {{/if}}
      <button {{bind-attr class=":top-button :library-entry :dropdown-toggle libraryStatus:active"}} type="button" data-toggle="dropdown">
        {{#if libraryEntryExists}}
          {{libraryEntry.status}} <i {{bind-attr class=":fa :fa-caret-down"}}></i>
        {{else}}
          Add to Library <i {{bind-attr class=":fa :fa-caret-down"}}></i>
        {{/if}}
      </button>
      <ul class="dropdown-menu">
        <li><a {{action "setLibraryStatus" "Currently Watching"}}>Currently Watching</a></li>
        <li><a {{action "setLibraryStatus" "Plan to Watch"}}>Plan to Watch</a></li>
        <li><a {{action "setLibraryStatus" "Completed"}}>Completed</a></li>
        <li><a {{action "setLibraryStatus" "On Hold"}}>On Hold</a></li>
        <li><a {{action "setLibraryStatus" "Dropped"}}>Dropped</a></li>
        <li><a {{action "removeFromLibrary"}}>Remove from Library</a></li>
      </ul>

    </div>
  </div>
  <div class="series-ratings">
    {{#if currentUser.isSignedIn}}<commit_msg>Change wording on favorite<commit_after>{{!-- Anime poster image --}}
<div class="poster-container">
  {{#link-to 'anime.index'}}
    <img class="series-poster" {{bind-attr src=posterImage}}>
  {{/link-to}}
  <a class="trailer-link" {{action "openModal" "youtube" this}}>
    <i {{bind-attr class=":fa :fa-youtube-play"}}></i>
    View Trailer
</a>
</div>

<div class="middle-column">
  <h2 class="series-title">
    {{#link-to 'anime.index'}}
      {{canonicalTitle}}
      {{#if alternateTitle}}
        <small class="alternate-title">
          ({{alternateTitle}})
        </small>
      {{/if}}
    {{/link-to}}
  </h2>
  <div class="series-infobar">{{partial "anime/infobar"}}</div>
  <div class="synopsis">
    <p>{{truncate-text text=synopsis length=500}}</p>
  </div>

  {{partial "anime/info_tabs"}}
</div>
<div {{bind-attr class=":right-column libraryEntryExists::no-entry"}}>
  <div class="top-buttons">
    <div class="btn-group">
      {{#if libraryEntryExists}}
        {{#if libraryEntry.isFavorite}}
          <button type="button" class="top-button heart active" {{action "toggleFavorite"}}>
            <i class="fa fa-heart"></i> Favorited
          </button>
        {{else}}
          <button type="button" class="top-button heart" {{action "toggleFavorite"}}>
            <i class="fa fa-heart-o"></i> Favorite
          </button>
        {{/if}}
      {{/if}}
      <button {{bind-attr class=":top-button :library-entry :dropdown-toggle libraryStatus:active"}} type="button" data-toggle="dropdown">
        {{#if libraryEntryExists}}
          {{libraryEntry.status}} <i {{bind-attr class=":fa :fa-caret-down"}}></i>
        {{else}}
          Add to Library <i {{bind-attr class=":fa :fa-caret-down"}}></i>
        {{/if}}
      </button>
      <ul class="dropdown-menu">
        <li><a {{action "setLibraryStatus" "Currently Watching"}}>Currently Watching</a></li>
        <li><a {{action "setLibraryStatus" "Plan to Watch"}}>Plan to Watch</a></li>
        <li><a {{action "setLibraryStatus" "Completed"}}>Completed</a></li>
        <li><a {{action "setLibraryStatus" "On Hold"}}>On Hold</a></li>
        <li><a {{action "setLibraryStatus" "Dropped"}}>Dropped</a></li>
        <li><a {{action "removeFromLibrary"}}>Remove from Library</a></li>
      </ul>

    </div>
  </div>
  <div class="series-ratings">
    {{#if currentUser.isSignedIn}}
{'fraction_non_alphanumeric': 0.2165646853146853, 'fraction_numerical': 0.0021853146853146855, 'mean_word_length': 3.2855805243445695, 'pattern_counts': {'":': 12, '<': 129, '<?xml version=': 0, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2399499', 'n_tokens_mistral': 1585, 'n_tokens_neox': 1553, 'n_words': 309}