<commit_before>window.c.AdminFilter = (function(c, m, _, h){
  return {
    controller: function(){
      return {
        toggler: h.toggleProp(false, true)
      };
    },
    view: function(ctrl, args){
      var formBuilder = function(data){
        return {
          'main': m.component(c.FilterMain, data),
          'dropdown': m.component(c.FilterDropdown, data),
          'numberRange': m.component(c.FilterNumberRange, data),
          'dateRange': m.component(c.FilterDateRange, data)
        };
      }, main = _.findWhere(args.form, {type: 'main'});

      return m('#admin-contributions-filter.w-section.page-header', [
        m('.w-container', [
          m('.fontsize-larger.u-text-center.u-marginbottom-30', 'Apoios'),
          m('.w-form', [
            m('form', {
              onsubmit: args.submit
            }, [
              formBuilder(main.data).main,
              m('.u-marginbottom-20.w-row',
                m('button.w-col.w-col-12.fontsize-smallest.link-hidden-light[style="background: none; border: none; outline: none; text-align: left;"]', {
                  onclick: ctrl.toggler.toggle
                }, 'Filtros avançados  >')), (ctrl.toggler() ?
                m('#advanced-search.w-row.admin-filters', [
                  _.map(args.form, function(f){
                    console.log('Building '+f.type);
                    return (f.type !== 'main') ? formBuilder(f.data)[f.type] : '';
                  })
                ]) : ''
              )
            ])
          ])
        ])
      ]);
    }
  };
}(window.c, window.m, window._, window.c.h));
<commit_msg>Fixes JS style<commit_after>window.c.AdminFilter = (function(c, m, _, h){
  return {
    controller: function(){
      return {
        toggler: h.toggleProp(false, true)
      };
    },
    view: function(ctrl, args){
      var formBuilder = function(data){
        return {
          'main': m.component(c.FilterMain, data),
          'dropdown': m.component(c.FilterDropdown, data),
          'numberRange': m.component(c.FilterNumberRange, data),
          'dateRange': m.component(c.FilterDateRange, data)
        };
      }, main = _.findWhere(args.form, {type: 'main'});

      return m('#admin-contributions-filter.w-section.page-header', [
        m('.w-container', [
          m('.fontsize-larger.u-text-center.u-marginbottom-30', 'Apoios'),
          m('.w-form', [
            m('form', {
              onsubmit: args.submit
            }, [
              formBuilder(main.data).main,
              m('.u-marginbottom-20.w-row',
                m('button.w-col.w-col-12.fontsize-smallest.link-hidden-light[style="background: none; border: none; outline: none; text-align: left;"]', {
                  onclick: ctrl.toggler.toggle
                }, 'Filtros avançados  >')), (ctrl.toggler() ?
                m('#advanced-search.w-row.admin-filters', [
                  _.map(args.form, function(f){
                    return (f.type !== 'main') ? formBuilder(f.data)[f.type] : '';
                  })
                ]) : ''
              )
            ])
          ])
        ])
      ]);
    }
  };
}(window.c, window.m, window._, window.c.h));

{'fraction_non_alphanumeric': 0.17232704402515722, 'fraction_numerical': 0.0037735849056603774, 'mean_word_length': 1.7164816396242528, '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': '7019769', 'n_tokens_mistral': 997, 'n_tokens_neox': 977, 'n_words': 142}