<commit_before><script data-template='show-drop' type="text/x-handlebars-template">
  <article data-view="drop" class="view user pure-g">
    {{#if has_photo}}
    <div class="image-container pure-u-1 pure-sm-3-4">
      <button data-button="close-drop" class="close button-large pure-button">X</button>
      <img src="{{photo}}" class="drop-img pure-img-responsive">
    </div>
    <div class="drop-info pure-g pure-u-1 pure-sm-1-4">
      <div class="pure-u">
        <a href="/users/{{user.id}}">
          <img class="drop-avatar" src="{{user.avatar}}">
        </a>
      </div>
      <div class="pure-u-3-4">
        <h2 class="drop-text">{{text}}</h2>
      </div>
    </div>
    {{else}}
    <div class="pure-u-1">
        <button data-button="close-drop" class="close button-large pure-button">X</button>
        <div class="drop-text-wrapper">
          <div class="drop-text-container">
            <h2 class="drop-text">{{text}}</h2>
          </div>
        </div>
    </div>
    <div class="drop-info pure-g pure-u-1 pure-sm-1-4">
      <div class="pure-u-1-4">
        <a href="/users/{{user.id}}">
          <img class="drop-avatar" src="{{user.avatar}}">
        </a>
      </div>
    </div>
    {{/if}}
    {{> comment}}
  </article>
  <div data-menu="drop" class="menu pure-g">
    <div class="pure-u-1-5">
      {{> snap-button}}
    </div><div class="pure-u-3-5">
    <div class="fancy-input">
      <input data-form="comment-form" name="comment" type="text">
    </div>
    </div><div class="pure-u-1-5">
    <button data-button="comment-button" class="pure-button">Comment</button>
    </div>
  </div>
</script>

<script data-partial="snap-button-partial" type="text/x-handlebars-template">
  {{#if snapped_by_you}}
    <button data-button="snap-button" disabled class="pure-button pure-button-disabled">{{pluralize snaps_count "Snap"}}</button>
  {{else}}
    <button data-button="snap-button" class="pure-button">{{pluralize snaps_count "Snap"}}</button>
  {{/if}}
</script>

<script data-partial="comment-partial" type="text/x-handlebars-template">
  <div class="comment-list">
    <h3 class="pure-u-1">{{pluralize comments_count "comment"}}</h3>
    {{#each comments}}
      <div class="comment-item pure-g pure-u-1">
        <div class="pure-u">
          <a href="/users/{{user.id}}">
            <img class="comment-avatar" src="{{user.avatar}}">
          </a>
        </div>
        <div class="pure-u-3-4">
          <h3 class="comment-username">{{user.username}}</h3>
          <p class="comment-text">{{text}}</p>
        </div>
      </div>
    {{/each}}
  </div><commit_msg>add chat buttle icon<commit_after><script data-template='show-drop' type="text/x-handlebars-template">
  <article data-view="drop" class="view user pure-g">
    {{#if has_photo}}
    <div class="image-container pure-u-1 pure-sm-3-4">
      <button data-button="close-drop" class="close button-large pure-button">X</button>
      <img src="{{photo}}" class="drop-img pure-img-responsive">
    </div>
    <div class="drop-info pure-g pure-u-1 pure-sm-1-4">
      <div class="pure-u">
        <a href="/users/{{user.id}}">
          <img class="drop-avatar" src="{{user.avatar}}">
        </a>
      </div>
      <div class="pure-u-3-4">
        <h2 class="drop-text">{{text}}</h2>
      </div>
    </div>
    {{else}}
    <div class="pure-u-1">
        <button data-button="close-drop" class="close button-large pure-button">X</button>
        <div class="drop-text-wrapper">
          <div class="drop-text-container">
            <h2 class="drop-text">{{text}}</h2>
          </div>
        </div>
    </div>
    <div class="drop-info pure-g pure-u-1 pure-sm-1-4">
      <div class="pure-u-1-4">
        <a href="/users/{{user.id}}">
          <img class="drop-avatar" src="{{user.avatar}}">
        </a>
      </div>
    </div>
    {{/if}}
    {{> comment}}
  </article>
  <div data-menu="drop" class="menu pure-g">
    <div class="pure-u-1-5">
      {{> snap-button}}
    </div><div class="pure-u-3-5">
    <div class="fancy-input">
      <input data-form="comment-form" name="comment" type="text">
    </div>
    </div><div class="pure-u-1-5">
    <button data-button="comment-button" class="pure-button"><i class="material-icons">chat_bubble</i></button>
    </div>
  </div>
</script>

<script data-partial="snap-button-partial" type="text/x-handlebars-template">
  {{#if snapped_by_you}}
    <button data-button="snap-button" disabled class="pure-button pure-button-disabled">{{pluralize snaps_count "Snap"}}</button>
  {{else}}
    <button data-button="snap-button" class="pure-button">{{pluralize snaps_count "Snap"}}</button>
  {{/if}}
</script>

<script data-partial="comment-partial" type="text/x-handlebars-template">
  <div class="comment-list">
    <h3 class="pure-u-1">{{pluralize comments_count "comment"}}</h3>
    {{#each comments}}
      <div class="comment-item pure-g pure-u-1">
        <div class="pure-u">
          <a href="/users/{{user.id}}">
            <img class="comment-avatar" src="{{user.avatar}}">
          </a>
        </div>
        <div class="pure-u-3-4">
          <h3 class="comment-username">{{user.username}}</h3>
          <p class="comment-text">{{text}}</p>
        </div>
      </div>
    {{/each}}
  </div>
{'fraction_non_alphanumeric': 0.2227920227920228, 'fraction_numerical': 0.012155745489078822, 'mean_word_length': 2.7321048901488307, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 0, '>': 157, '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': '4818432', 'n_tokens_mistral': 1904, 'n_tokens_neox': 1857, 'n_words': 317}