<commit_before>$(document).ready(function() {

  $(document).foundation();


  // search modal
  $(document).unbind('keyup');
  $(document).keyup(function(e){
    if (e.keyCode==27) {
      $("#searchBar").click();
    }
  });

  $("#searchBar, .search-overlay-bg, .search-trigger").click( function() {
    if ($('#searchOverlay').hasClass('active')) {
      $('#searchOverlay').removeClass("active");
    } else {
      $('#searchOverlay').addClass("active");
      $('#searchOverlay input[type="text"]').focus();
    }
  });

  // swifttype search
  (function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
    (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
    e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
    })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
    _st('install','o82vEyRB4LfTEQXajsyq','2.0.0');


  // footer
  $(".footer-reveal").click( function() {
    $(".styleguide-footer").toggleClass("footer-expanded");
    $(".container-full").toggleClass("footer-expanded");
  });

  // change contact us links to intercom chat triggers
    // (workaround as no ids/classes allowed inside markdown)
  $(".content-wrap a").each(function() {
    if( $(this).attr("href") == "https://barricade.io/about#contact-info") {
      $(this).attr("href", "");<commit_msg>Update swiftype license key with a new trial one - https://app.swiftype.com/engines/barricade-docs/install_flow/start<commit_after>$(document).ready(function() {

  $(document).foundation();


  // search modal
  $(document).unbind('keyup');
  $(document).keyup(function(e){
    if (e.keyCode==27) {
      $("#searchBar").click();
    }
  });

  $("#searchBar, .search-overlay-bg, .search-trigger").click( function() {
    if ($('#searchOverlay').hasClass('active')) {
      $('#searchOverlay').removeClass("active");
    } else {
      $('#searchOverlay').addClass("active");
      $('#searchOverlay input[type="text"]').focus();
    }
  });

  // swifttype search
  (function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
    (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
    e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
    })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
    _st('install','TR_E45vJzMBPPAyG4QU7','2.0.0');


  // footer
  $(".footer-reveal").click( function() {
    $(".styleguide-footer").toggleClass("footer-expanded");
    $(".container-full").toggleClass("footer-expanded");
  });

  // change contact us links to intercom chat triggers
    // (workaround as no ids/classes allowed inside markdown)
  $(".content-wrap a").each(function() {
    if( $(this).attr("href") == "https://barricade.io/about#contact-info") {
      $(this).attr("href", "");
{'fraction_non_alphanumeric': 0.24415308291991494, 'fraction_numerical': 0.00815024805102764, 'mean_word_length': 4.256983240223463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '519868', 'n_tokens_mistral': 1010, 'n_tokens_neox': 1000, 'n_words': 115}