<commit_before>#project-header.u-marginbottom-30.page-header[data-stats=@project.to_analytics_json]
  .w-container
    .w-row
      .w-col.w-col-8.w-col-push-2
        .u-text-center.u-marginbottom-20
          = image_tag @project.user.decorate.display_image, class: 'u-round thumb big', alt: @project.user.decorate.display_name
        .u-text-center
          .fontsize-larger.text-success.u-marginbottom-20 = t('.thank_you') 
          .fontsize-base.u-marginbottom-40
            = t('.thank_you_text_html', total: @project.total_contributions, email: @contribution.user.email,  link2: (link_to t('.profile_link'), edit_user_path(resource.user, anchor: 'contributions'), class: 'alt-link'))
          .fontsize-base.fontweight-semibold.u-marginbottom-20 = t('.share_back')
        .w-row.u-marginbottom-20
          .w-col.w-col-6.w-col-small-6.w-col-tiny-6.w-sub-col-middle
            div
              img.icon-share-mobile alt="53a3f66e05eb6144171d8edb_facebook-xxl.png" src="http://uploads.webflow.com/54b440b85608e3f4389db387/53a3f66e05eb6144171d8edb_facebook-xxl.png" /
              = link_to "http://www.facebook.com/share.php?u=#{url_encode(project_by_slug_url(@project.permalink, {ref: 'ctrse_thankyou',utm_source:'facebook.com',utm_medium:'social',utm_campaign:'thanks_share'}))}", target: :_blank, id: 'facebook_share', data: { title: @project.name }, class: 'btn btn-medium btn-fb' do
                = t('.share')
          .w-col.w-col-6.w-col-small-6.w-col-tiny-6
            div
              img.icon-share-mobile alt="53a3f65105eb6144171d8eda_twitter-256.png" src="http://uploads.webflow.com/54b440b85608e3f4389db387/53a3f65105eb6144171d8eda_twitter-256.png" /
              /a.btn.btn-medium.btn-tweet href="#"  Tweet
              = link_to "http://twitter.com/?status=#{t('i_just_contributed', name: @project.name)} #{url_encode(project_by_slug_url(@project.permalink, {ref: 'ctrse_thankyou',utm_source:'twitter.com',utm_medium:'social',utm_campaign:'thanks_share'}))}", target: :_blank, id: "twitter_share_button", data: { title: @project.name }, class: 'btn btn-medium btn-tweet' do
                = t('.tweet')

- if @contribution.recommended_projects.exists?
  .section.u-marginbottom-40
    .w-container
      .u-marginbottom-20.fontweight-semibold.fontsize-base.u-text-center= t('.project_recommendations') 
      .w-row
        == render_projects @contribution.recommended_projects.limit(3), 'ctrse_thankyou_r', { wrapper_class: 'w-col w-col-4' }
- content_for :js_after do
  javascript:
    $(window).ready(function(){
      CatarseAnalytics.event({cat:'contribution_finish',act:'contribution_finished',lbl:'creditcard',val:#{@contribution.value},extraData:{contribution_id:#{@contribution.id}}});
      CatarseAnalytics.checkout('#{@contribution.id}','[#{@project.permalink}] #{(@contribution.reward.try(:minimum_value) || 0)} [creditcard]','#{@contribution.reward_id}','#{@project.category}','#{@contribution.value}','#{@contribution.value*@contribution.project.service_fee}');
    });<commit_msg>Fix twitter share<commit_after>#project-header.u-marginbottom-30.page-header[data-stats=@project.to_analytics_json]
  .w-container
    .w-row
      .w-col.w-col-8.w-col-push-2
        .u-text-center.u-marginbottom-20
          = image_tag @project.user.decorate.display_image, class: 'u-round thumb big', alt: @project.user.decorate.display_name
        .u-text-center
          .fontsize-larger.text-success.u-marginbottom-20 = t('.thank_you') 
          .fontsize-base.u-marginbottom-40
            = t('.thank_you_text_html', total: @project.total_contributions, email: @contribution.user.email,  link2: (link_to t('.profile_link'), edit_user_path(resource.user, anchor: 'contributions'), class: 'alt-link'))
          .fontsize-base.fontweight-semibold.u-marginbottom-20 = t('.share_back')
        .w-row.u-marginbottom-20
          .w-col.w-col-6.w-col-small-6.w-col-tiny-6.w-sub-col-middle
            div
              img.icon-share-mobile alt="53a3f66e05eb6144171d8edb_facebook-xxl.png" src="http://uploads.webflow.com/54b440b85608e3f4389db387/53a3f66e05eb6144171d8edb_facebook-xxl.png" /
              = link_to "http://www.facebook.com/share.php?u=#{url_encode(project_by_slug_url(@project.permalink, {ref: 'ctrse_thankyou',utm_source:'facebook.com',utm_medium:'social',utm_campaign:'thanks_share'}))}", target: :_blank, id: 'facebook_share', data: { title: @project.name }, class: 'btn btn-medium btn-fb' do
                = t('.share')
          .w-col.w-col-6.w-col-small-6.w-col-tiny-6
            div
              img.icon-share-mobile alt="53a3f65105eb6144171d8eda_twitter-256.png" src="http://uploads.webflow.com/54b440b85608e3f4389db387/53a3f65105eb6144171d8eda_twitter-256.png" /
              /a.btn.btn-medium.btn-tweet href="#"  Tweet
              = link_to "http://twitter.com/?status=#{url_encode(t('i_just_contributed', name: @project.name)+' '+project_by_slug_url(@project.permalink, {ref: 'ctrse_thankyou',utm_source:'twitter.com',utm_medium:'social',utm_campaign:'thanks_share'}))}", target: :_blank, id: "twitter_share_button", data: { title: @project.name }, class: 'btn btn-medium btn-tweet' do
                = t('.tweet')

- if @contribution.recommended_projects.exists?
  .section.u-marginbottom-40
    .w-container
      .u-marginbottom-20.fontweight-semibold.fontsize-base.u-text-center= t('.project_recommendations') 
      .w-row
        == render_projects @contribution.recommended_projects.limit(3), 'ctrse_thankyou_r', { wrapper_class: 'w-col w-col-4' }
- content_for :js_after do
  javascript:
    $(window).ready(function(){
      CatarseAnalytics.event({cat:'contribution_finish',act:'contribution_finished',lbl:'creditcard',val:#{@contribution.value},extraData:{contribution_id:#{@contribution.id}}});
      CatarseAnalytics.checkout('#{@contribution.id}','[#{@project.permalink}] #{(@contribution.reward.try(:minimum_value) || 0)} [creditcard]','#{@contribution.reward_id}','#{@project.category}','#{@contribution.value}','#{@contribution.value*@contribution.project.service_fee}');
    });
{'fraction_non_alphanumeric': 0.17064340957709395, 'fraction_numerical': 0.043442488069771266, 'mean_word_length': 3.9454841334418225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3404220', 'n_tokens_mistral': 2370, 'n_tokens_neox': 2187, 'n_words': 214}