<commit_before>$(function(){
  function toggleInputs() {
    var class_select = $("#class_type");
    var class_type   = class_select.val();

    $('.account_type_fields').each(function() {
      var visible = $(this).hasClass(class_type);
      $(this).toggle(visible);
      $(this).find('input, select, textarea').prop('disabled', !visible);
    });

    $('.' + class_type + ' .affiliate').trigger('change');
  }

  function toggleAffiliate() {
    $('.affiliate_other').toggle($('.affiliate:visible option:selected').text() == 'Other')
  }

  $("#datepicker").datepicker({minDate:+0, maxDate:'+3y', dateFormat: 'mm/dd/yy'});

  $("#class_type").change(function() {<commit_msg>[#90838] Apply datepicker to class instead of ID<commit_after>$(function(){
  function toggleInputs() {
    var class_select = $("#class_type");
    var class_type   = class_select.val();

    $('.account_type_fields').each(function() {
      var visible = $(this).hasClass(class_type);
      $(this).toggle(visible);
      $(this).find('input, select, textarea').prop('disabled', !visible);
    });

    $('.' + class_type + ' .affiliate').trigger('change');
  }

  function toggleAffiliate() {
    $('.affiliate_other').toggle($('.affiliate:visible option:selected').text() == 'Other')
  }

  $(".datepicker").datepicker({minDate:+0, maxDate:'+3y', dateFormat: 'mm/dd/yy'});

  $("#class_type").change(function() {
{'fraction_non_alphanumeric': 0.2211882605583393, 'fraction_numerical': 0.006442376521116679, 'mean_word_length': 4.482352941176471, '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': '4020897', 'n_tokens_mistral': 457, 'n_tokens_neox': 443, 'n_words': 67}