<commit_before>/* globals _anchors, hideIntroInSubs, insetVariations, selectAll, toggleTheme,
preOpenModals, prototypingInteractionStarteENK $ */
window.altinnDev = function() {
  _anchors();
  hideIntroInSubs();
  insetVariations();
  selectAll();
  toggleTheme();
  preOpenModals();
  prototypingInteractionStarteENK();
};
window.altinnDev();
$('.html-escape').each(function() {
  $(this).text($(this).html());
});
window.smoothStateMod = function() {
  $('#smoothState').find('a:not(.sr-only-focusable):not(.a-colnav-item):not(.a-colnav-item-second):not(.a-colnav-item-third)').on('click', function(e) {
    if (location.pathname.replace(/\//g, '')
      === $(this).attr('href').replace(/\//g, '').replace(/\.\./g, '')) {
      e.preventDefault(); e.stopPropagation();
      e.stopImmediatePropagation();
      return false;
    } else if ($(this).attr('href') !== '#') {
      e.preventDefault(); e.stopPropagation();
      e.stopImmediatePropagation();
      window.smoothState.load($(this).attr('href'));
    }<commit_msg>Fixed SmoothState sorrows.<commit_after>/* globals _anchors, hideIntroInSubs, insetVariations, selectAll, toggleTheme,
preOpenModals, prototypingInteractionStarteENK $ */
window.altinnDev = function() {
  _anchors();
  hideIntroInSubs();
  insetVariations();
  selectAll();
  toggleTheme();
  preOpenModals();
  prototypingInteractionStarteENK();
};
window.altinnDev();
$('.html-escape').each(function() {
  $(this).text($(this).html());
});
window.smoothStateMod = function() {
  $('#smoothState').find('a:not(.a-collapseTitle):not(.sr-only-focusable):not(.a-colnav-item):not(.a-colnav-item-second):not(.a-colnav-item-third)').on('click', function(e) {
    if (location.pathname.replace(/\//g, '')
      === $(this).attr('href').replace(/\//g, '').replace(/\.\./g, '')) {
      e.preventDefault(); e.stopPropagation();
      e.stopImmediatePropagation();
      return false;
    } else if ($(this).attr('href') !== '#') {
      e.preventDefault(); e.stopPropagation();
      e.stopImmediatePropagation();
      window.smoothState.load($(this).attr('href'));
    }
{'fraction_non_alphanumeric': 0.22073578595317725, 'fraction_numerical': 0.0, 'mean_word_length': 4.5396825396825395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5260649', 'n_tokens_mistral': 722, 'n_tokens_neox': 705, 'n_words': 84}