<commit_before>(function () {
  var app = document.getElementById("app");
  var splashContainer = document.getElementById("splash-container");
  if (app && splashContainer) {

    var removeSplashContainer = function () {
      splashContainer.parentElement.removeChild(splashContainer);
    };

    // remove the splash screen on any click
    splashContainer.onclick = function () {
      clearTimeout(checkerTimeout);
      removeSplashContainer();
    };

    var checkerTimeout;
    var checkForAppRender = function () {
      // if the app has rendered then clear the splashscreen, otherwise check again in 100ms
      if (app.children.length > 0) {
        removeSplashContainer();
      }
      else {
        checkerTimeout = setTimeout(checkForAppRender, 100);
      }
    };

    // show the initial splash screen for two seconds
    checkerTimeout = setTimeout(checkForAppRender, 3000);
  }
})();
<commit_msg>Add one second to the time the splash screen is displayed [#162022151]<commit_after>(function () {
  var app = document.getElementById("app");
  var splashContainer = document.getElementById("splash-container");
  if (app && splashContainer) {

    var removeSplashContainer = function () {
      splashContainer.parentElement.removeChild(splashContainer);
    };

    // remove the splash screen on any click
    splashContainer.onclick = function () {
      clearTimeout(checkerTimeout);
      removeSplashContainer();
    };

    var checkerTimeout;
    var checkForAppRender = function () {
      // if the app has rendered then clear the splashscreen, otherwise check again in 100ms
      if (app.children.length > 0) {
        removeSplashContainer();
      }
      else {
        checkerTimeout = setTimeout(checkForAppRender, 100);
      }
    };

    // show the initial splash screen for four seconds
    checkerTimeout = setTimeout(checkForAppRender, 4000);
  }
})();

{'fraction_non_alphanumeric': 0.09947368421052631, 'fraction_numerical': 0.01631578947368421, 'mean_word_length': 3.150655021834061, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '902659', 'n_tokens_mistral': 543, 'n_tokens_neox': 493, 'n_words': 137}