<commit_before>function toggleClass(element, className) {
  element.classList.toggle(className);
}
function openState(element) {
  element.setAttribute('hidden', false);
  element.setAttribute('data-state', 'open');
}
function closeState(element) {
  element.setAttribute('hidden', true);
  element.setAttribute('data-state', 'closed');
  const selectionElement = element.querySelector('input:checked');
  if (selectionElement) {
    selectionElement.checked = false;
  }
}
function closeStateAndCheckChild(alternateQuestion, container) {
  const selectionElement = alternateQuestion.querySelector('input:checked');
  if (!selectionElement) {
    return closeState(alternateQuestion);
  }
  const descendentQuestion = selectionElement.dataset.nextQuestion;
  if (!descendentQuestion) {
    return closeState(alternateQuestion);
  }
  const descendentElement = container.querySelector(`[data-question=${descendentQuestion}]`);
  closeStateAndCheckChild(descendentElement, container);
  return closeState(alternateQuestion);
}
function reInitWidget() {
  const container = document.querySelector('.wizard-anchor .wizard-container');
  const button = container.querySelector('.wizard-button');
  const content = container.querySelector('.wizard-content');
  const applyLink = container.querySelector('#apply-now-link');<commit_msg>Remove hidden attribute to get around the "!important" flag<commit_after>function toggleClass(element, className) {
  element.classList.toggle(className);
}
function openState(element) {
  element.removeAttribute('hidden');
  element.setAttribute('data-state', 'open');
}
function closeState(element) {
  element.setAttribute('hidden', true);
  element.setAttribute('data-state', 'closed');
  const selectionElement = element.querySelector('input:checked');
  if (selectionElement) {
    selectionElement.checked = false;
  }
}
function closeStateAndCheckChild(alternateQuestion, container) {
  const selectionElement = alternateQuestion.querySelector('input:checked');
  if (!selectionElement) {
    return closeState(alternateQuestion);
  }
  const descendentQuestion = selectionElement.dataset.nextQuestion;
  if (!descendentQuestion) {
    return closeState(alternateQuestion);
  }
  const descendentElement = container.querySelector(`[data-question=${descendentQuestion}]`);
  closeStateAndCheckChild(descendentElement, container);
  return closeState(alternateQuestion);
}
function reInitWidget() {
  const container = document.querySelector('.wizard-anchor .wizard-container');
  const button = container.querySelector('.wizard-button');
  const content = container.querySelector('.wizard-content');
  const applyLink = container.querySelector('#apply-now-link');
{'fraction_non_alphanumeric': 0.12379540400296515, 'fraction_numerical': 0.0, 'mean_word_length': 6.84593023255814, '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': '2543668', 'n_tokens_mistral': 679, 'n_tokens_neox': 703, 'n_words': 130}