<commit_before><div class="l-footer-secondary t-footer-secondary">
  <div class="l-constrained">

    <div class="l-footer-secondary__list--left">
      <ul class="footer-secondary__list">

        <li class="footer-secondary__list-item l-language-link">
          <% if content_for?(:alternate_link) %>
            <%= yield(:alternate_link) %>
          <% else %>
            <% locals.each do |locale| %>
              <%= link_to({ locale: locale }, { lang: locale, :class => "t-#{locale}-link" }) do %>
                <span class="icon icon--globe"></span>
                <%= t("locales.#{locale}") %>
              <% end %>
            <% end %>
          <% end %>
        </li>

        <li class="footer-secondary__list-item accessibility-feedback-link">
          <a class="footer-secondary__link" href="http://accessin.org/usersubmit_mas.php?param=nojscript"
             onclick="window.open('http://accessin.org/usersubmit_mas.php?param=' + window.location,'',
                 'resizable=yes,location=no,scrollbars=yes,toolbar=no,left=20,top=0,height=900,width=800');
                 return false;" title="<%= t('footer_secondary.link_title') %>"
             target="_blank">
            <span class="icon icon--accessibility"></span><%= t('footer_secondary.title') %>
            <span class="visually-hidden"><%= t('footer_secondary.hidden_accessibility') %></span>
          </a>
        </li>

      </ul>
    </div>

    <div class="l-footer-secondary__list--right">
      <ul class="footer-secondary__list">

        <li class="footer-secondary__list-item l-footer-authentication-link">
          <% if user_signed_in? %>
            <%= button_to t('authentication.sign_out'), main_app.destroy_user_session_path, class: 'authentication__link footer-secondary__link', method: :delete %>
            <span class="footer-site-links__pipe">|</span>
            <%= link_to t('authentication.my_account'), main_app.edit_user_registration_path, class: 'authentication__link footer-secondary__link' %>
          <% else %>
            <%= link_to t('authentication.sign_in'), main_app.new_user_session_path, class: 'authentication__link footer-secondary__link' %>
            <span class="authentication__item-divider">|</span>
            <%= link_to t('authentication.register'), main_app.new_user_registration_path, class: 'authentication__link footer-secondary__link' %>
          <% end %>
        </li>

        <li class="footer-secondary__list-item">
          <a href="<%= t('footer.contact_us_link') %>"><%= t('footer.contact_us') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.terms_and_conditions_link') %>"><%= t('footer.terms_and_conditions') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.privacy_statement_link') %>"><%= t('footer.privacy_statement') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.accessibility_link') %>"><%= t('footer.accessibility') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.cookie_guide_link') %>"><%= t('footer.cookie_guide') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.site_map_link') %>"><%= t('footer.site_map') %></a>
        </li>
        
      </ul>
    </div>
  </div>
</div>

<% if cookies_not_accepted? %>
  <div class="cookie-message">
    <div class="l-constrained">
      <%= form_tag main_app.cookie_notice_acceptance_path, remote: true, authenticity_token: true, class: 'js-cookie-message' do %>
        <p class="cookie-message__content"><%= t('footer.cookie_message.body_html', url: t('footer.cookie_guide_link')) %></p>
        <button class="cookie-message__close-button">
          <span class="visually-hidden"><%= t('footer.cookie_message.close_button') %></span><span class="icon icon--close"></span>
        </button>
      <% end %>
    </div>
  </div>
<% end %><commit_msg>Hide cookie message on 3rd party<commit_after><div class="l-footer-secondary t-footer-secondary">
  <div class="l-constrained">

    <div class="l-footer-secondary__list--left">
      <ul class="footer-secondary__list">

        <li class="footer-secondary__list-item l-language-link">
          <% if content_for?(:alternate_link) %>
            <%= yield(:alternate_link) %>
          <% else %>
            <% locals.each do |locale| %>
              <%= link_to({ locale: locale }, { lang: locale, :class => "t-#{locale}-link" }) do %>
                <span class="icon icon--globe"></span>
                <%= t("locales.#{locale}") %>
              <% end %>
            <% end %>
          <% end %>
        </li>

        <li class="footer-secondary__list-item accessibility-feedback-link">
          <a class="footer-secondary__link" href="http://accessin.org/usersubmit_mas.php?param=nojscript"
             onclick="window.open('http://accessin.org/usersubmit_mas.php?param=' + window.location,'',
                 'resizable=yes,location=no,scrollbars=yes,toolbar=no,left=20,top=0,height=900,width=800');
                 return false;" title="<%= t('footer_secondary.link_title') %>"
             target="_blank">
            <span class="icon icon--accessibility"></span><%= t('footer_secondary.title') %>
            <span class="visually-hidden"><%= t('footer_secondary.hidden_accessibility') %></span>
          </a>
        </li>

      </ul>
    </div>

    <div class="l-footer-secondary__list--right">
      <ul class="footer-secondary__list">

        <li class="footer-secondary__list-item l-footer-authentication-link">
          <% if user_signed_in? %>
            <%= button_to t('authentication.sign_out'), main_app.destroy_user_session_path, class: 'authentication__link footer-secondary__link', method: :delete %>
            <span class="footer-site-links__pipe">|</span>
            <%= link_to t('authentication.my_account'), main_app.edit_user_registration_path, class: 'authentication__link footer-secondary__link' %>
          <% else %>
            <%= link_to t('authentication.sign_in'), main_app.new_user_session_path, class: 'authentication__link footer-secondary__link' %>
            <span class="authentication__item-divider">|</span>
            <%= link_to t('authentication.register'), main_app.new_user_registration_path, class: 'authentication__link footer-secondary__link' %>
          <% end %>
        </li>

        <li class="footer-secondary__list-item">
          <a href="<%= t('footer.contact_us_link') %>"><%= t('footer.contact_us') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.terms_and_conditions_link') %>"><%= t('footer.terms_and_conditions') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.privacy_statement_link') %>"><%= t('footer.privacy_statement') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.accessibility_link') %>"><%= t('footer.accessibility') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.cookie_guide_link') %>"><%= t('footer.cookie_guide') %></a>
        </li>

        <li class="footer-secondary__list-item">
          <a class="footer-secondary__link" href="<%= t('footer.site_map_link') %>"><%= t('footer.site_map') %></a>
        </li>

      </ul>
    </div>
  </div>
</div>

<% if cookies_not_accepted? %>
  <% unless hide_elements_irrelevant_for_third_parties? %>
    <div class="cookie-message">
      <div class="l-constrained">
        <%= form_tag main_app.cookie_notice_acceptance_path, remote: true, authenticity_token: true, class: 'js-cookie-message' do %>
          <p class="cookie-message__content"><%= t('footer.cookie_message.body_html', url: t('footer.cookie_guide_link')) %></p>
          <button class="cookie-message__close-button">
            <span class="visually-hidden"><%= t('footer.cookie_message.close_button') %></span><span class="icon icon--close"></span>
          </button>
        <% end %>
      </div>
    </div>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.18268327067669174, 'fraction_numerical': 0.002232142857142857, 'mean_word_length': 2.991092358180966, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 213, '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': '2000893', 'n_tokens_mistral': 2775, 'n_tokens_neox': 2574, 'n_words': 396}