<commit_before>include ./partials/head
body

  #wrapper

    // The preloader we see before the whole site is loaded
    #preloader.valign-wrapper
      .preloader-wrapper.big.active
        .spinner-layer.spinner-blue-only.actually-black
          .circle-clipper.left
            .circle
          .gap-patch
            .circle
          .circle-clipper.right
            .circle

    // A status spinner to indicate that some process is going on
    #status
      .preloader-wrapper.small.active
        .spinner-layer.spinner-blue-only.actually-green
          .circle-clipper.left
            .circle
          .gap-patch
            .circle
          .circle-clipper.right
            .circle

    // Navigation
    include ./partials/navigation

    // Triangles section hidden
    #triangles.scrollspy
      #output
        .h1-wrapper.valign-wrapper
          .container
            .row
              .col.s12
                // Your company's slogan, feel free to add more tags here
                h1 Muchas gracias por usar Avaritia
          // Action button
          a#explore.btn-floating.btn-large.waves-effect.waves-dark.green.accent-2
            i.mdi-navigation-arrow-forward.indigo-text.text-darken-4

    // Result section
    #result.section.scrollspy
      .container
        .row
          h2 Resultados de esta simulacion
          .col.s12.m10.offset-m1.l8.offset-l2
            p.flow-text.center-align
              | Las cifras que se presentan en Avaritia son de caracter informativo,las operaciones que se simulan en esta aplicación
              | son sólo referenciales y no comprometen al sitio ni a un banco en particular. Gracias.
        // RESULT TABLE
        .row
          table.striped.bordered
            thead
              tr
                th(data-field='cuota') Cuota #
                th(data-field='valor') Valor Cuota
                th(data-field='interes') Intereses
                th(data-field='capital') Capital
                th(data-field='saldo') Saldo Capital
            tbody
              tr
                td 1
                td $55.913
                td $25.000
                td $30.913
                td $969.087
              tr
                td 2
                td $55.913
                td $24.227
                td $31.686
                td $937.402
              tr
                td 3
                td $55.913
                td $23.435
                td $32.478
                td $904.924
              tr
                td 4
                td $55.913
                td $22.623
                td $33.290
                td $871.634
              tr
                td 5
                td $55.913
                td $21.791
                td $34.122
                td $837.512
              tr
                td 6
                td $55.913
                td $20.938
                td $34.975
                td $802.537
              tr
                td 7
                td $55.913
                td $20.063
                td $35.849
                td $766.688
              tr
                td 8
                td $55.913
                td $19.167
                td $36.746
                td $729.942
              tr
                td 9
                td $55.913
                td $18.249
                td $37.664
                td $692.278
              tr
                td 10
                td $55.913
                td $17.307
                td $38.606
                td $653.672
              tr
                td 11
                td $55.913
                td $16.342
                td $39.571
                td $614.101
              tr
                td 12
                td $55.913
                td $1.364
                td $54.219
                td $0


    // Services section
    include ./partials/services

    .container
      .divider

    // Works section
    include ./partials/works

    .container
      .divider

    // Contact form section
    include ./partials/contact

    // Footer
    include ./partials/footer

  // Scripts
  include ./partials/scriptsResult<commit_msg>result setup banks collapsable<commit_after>include ./partials/head
body

  #wrapper

    // The preloader we see before the whole site is loaded
    #preloader.valign-wrapper
      .preloader-wrapper.big.active
        .spinner-layer.spinner-blue-only.actually-black
          .circle-clipper.left
            .circle
          .gap-patch
            .circle
          .circle-clipper.right
            .circle

    // A status spinner to indicate that some process is going on
    #status
      .preloader-wrapper.small.active
        .spinner-layer.spinner-blue-only.actually-green
          .circle-clipper.left
            .circle
          .gap-patch
            .circle
          .circle-clipper.right
            .circle

    // Navigation
    include ./partials/navigation

    // Triangles section hidden
    #triangles.scrollspy
      #output
        .h1-wrapper.valign-wrapper
          .container
            .row
              .col.s12
                // Your company's slogan, feel free to add more tags here
                h1 Muchas gracias por usar Avaritia
          // Action button
          a#explore.btn-floating.btn-large.waves-effect.waves-dark.green.accent-2
            i.mdi-navigation-arrow-forward.indigo-text.text-darken-4

    // Result section
    #result.section.scrollspy
      .container
        .row
          h2 Resultados de esta simulacion
          .col.s12.m10.offset-m1.l8.offset-l2
            p.flow-text.center-align
              a(href='/') Volver a calcular
            p.flow-text.center-align
              | Condiciones de la simulación:
              br
              | Tipo de tasa: !{textotasa}
              br
              | Servicio: !{textoservicio}
              br
              | Ingresos Mensuales: $ !{ingresos}
              br
              | Valor del prestamo: $ !{prestamo}
              br
              | Cantidad de meses: !{meses}
            p(style='text-align:justify; line-height: 100%; font-size:16px;').flow-text.center-align
              b(style="color: red") Advertencia:&nbsp;
              | Las cifras que se presentan en Avaritia son de caracter informativo,las operaciones que se simulan en esta aplicación
              | son sólo referenciales y no comprometen al sitio ni a un banco en particular. Gracias.
        // RESULT LIST OF BANKS
        ul#bankList.collapsible.popout(data-collapsible='accordion')
          - each item in banks
            li(id=item._id)
              .collapsible-header
                i.material-icons business
                | !{item.name}
              .collapsible-body
                .container
                  .row
                    table.striped.bordered
                      thead
                        tr
                          th(data-field='cuota') Cuota #
                          th(data-field='valor') Valor Cuota
                          th(data-field='interes') Intereses
                          th(data-field='capital') Capital
                          th(data-field='saldo') Saldo Capital
                      tbody

        br
        // RESULT TABLE
        .row
          table.striped.bordered
            thead
              tr
                th(data-field='cuota') Cuota #
                th(data-field='valor') Valor Cuota
                th(data-field='interes') Intereses
                th(data-field='capital') Capital
                th(data-field='saldo') Saldo Capital
            tbody
              tr
                td 1
                td $55.913
                td $25.000
                td $30.913
                td $969.087
              tr
                td 2
                td $55.913
                td $24.227
                td $31.686
                td $937.402
              tr
                td 3
                td $55.913
                td $23.435
                td $32.478
                td $904.924
              tr
                td 4
                td $55.913
                td $22.623
                td $33.290
                td $871.634
              tr
                td 5
                td $55.913
                td $21.791
                td $34.122
                td $837.512
              tr
                td 6
                td $55.913
                td $20.938
                td $34.975
                td $802.537
              tr
                td 7
                td $55.913
                td $20.063
                td $35.849
                td $766.688
              tr
                td 8
                td $55.913
                td $19.167
                td $36.746
                td $729.942
              tr
                td 9
                td $55.913
                td $18.249
                td $37.664
                td $692.278
              tr
                td 10
                td $55.913
                td $17.307
                td $38.606
                td $653.672
              tr
                td 11
                td $55.913
                td $16.342
                td $39.571
                td $614.101
              tr
                td 12
                td $55.913
                td $1.364
                td $54.219
                td $0


    // Services section
    include ./partials/services

    .container
      .divider

    // Works section
    include ./partials/works

    .container
      .divider

    // Contact form section
    include ./partials/contact

    // Footer
    include ./partials/footer

  // Scripts
  include ./partials/scripts
  script.
    // Render collapsible
    $(document).ready(function () {
      $('.collapsible').collapsible({
        accordion: false // A setting that changes the collapsible behavior to expandable instead of the default accordion style
      });
    });
    // Load Ajax every collapsible
    $('body').on('click', '.collapsible-header', function (event) {
      console.log('click en el collapsible');

      var target = event.target.nodeName;
      console.log(target);

      var a = $(this).parent();
      console.log($(a[0]).attr('id'));

      // Ajax cargar datos de la tabla
      $.ajax({
        url: "http://localhost:6500/v0/languages",
        dataType: 'json',
        data: {},
        success: function (data, status) {
          return console.log("The returned data", data);
        },
        crossDomain: true,
        beforeSend: function (xhr, settings) {
          xhr.setRequestHeader('Authorization', 'Bearer !{tokentemp}');
        }
      });
    });

{'fraction_non_alphanumeric': 0.08009003094813842, 'fraction_numerical': 0.0526118353183907, 'mean_word_length': 0.9498994331687695, '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': '610582', 'n_tokens_mistral': 3345, 'n_tokens_neox': 2840, 'n_words': 734}