<commit_before>define([
    '/api/config',
    'jquery',
    '/common/hyperscript.js',
    '/common/common-interface.js',
    '/customize/messages.js',
    '/customize/pages.js'
], function (Config, $, h, UI, Msg, Pages) {
    return function () {
        var urlArgs = Config.requireConf.urlArgs;

        var tos = $(UI.createCheckbox('accept-terms')).find('.cp-checkmark-label').append(Msg.register_acceptTerms).parent()[0]
        $(tos).find('a').attr({
            href: '/terms.html',
            tabindex: '-1',
        });

        return [h('div#cp-main', [
            Pages.infopageTopbar(),
            h('div.container.cp-container', [
                h('div.row.cp-page-title', h('h1', Msg.register_header)),
                h('div.row.cp-register-det', [
                h('div#data.hidden.col-md-6', [
                    h('h2', Msg.register_notes_title),
                    Pages.setHTML(h('div.cp-register-notes'), Msg.register_notes)
                ]),
                h('div.cp-reg-form.col-md-6', [
                    h('img.img-fluid', {
                        src: '/customize/images/swallow-the-key.png?' + urlArgs
                    }),
                    h('div#userForm.form-group.hidden', [
                        h('a', {
                            href: '/features.html'
                        }, Msg.register_whyRegister),
                        h('input.form-control#username', {
                            type: 'text',
                            autocomplete: 'off',<commit_msg>open tos in a new tab<commit_after>define([
    '/api/config',
    'jquery',
    '/common/hyperscript.js',
    '/common/common-interface.js',
    '/customize/messages.js',
    '/customize/pages.js'
], function (Config, $, h, UI, Msg, Pages) {
    return function () {
        var urlArgs = Config.requireConf.urlArgs;

        var tos = $(UI.createCheckbox('accept-terms')).find('.cp-checkmark-label').append(Msg.register_acceptTerms).parent()[0];
        $(tos).find('a').attr({
            href: '/terms.html',
            target: '_blank',
            tabindex: '-1',
        });

        return [h('div#cp-main', [
            Pages.infopageTopbar(),
            h('div.container.cp-container', [
                h('div.row.cp-page-title', h('h1', Msg.register_header)),
                h('div.row.cp-register-det', [
                h('div#data.hidden.col-md-6', [
                    h('h2', Msg.register_notes_title),
                    Pages.setHTML(h('div.cp-register-notes'), Msg.register_notes)
                ]),
                h('div.cp-reg-form.col-md-6', [
                    h('img.img-fluid', {
                        src: '/customize/images/swallow-the-key.png?' + urlArgs
                    }),
                    h('div#userForm.form-group.hidden', [
                        h('a', {
                            href: '/features.html'
                        }, Msg.register_whyRegister),
                        h('input.form-control#username', {
                            type: 'text',
                            autocomplete: 'off',
{'fraction_non_alphanumeric': 0.16725978647686832, 'fraction_numerical': 0.0038822387576835974, 'mean_word_length': 1.4194053208137716, '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': '7566715', 'n_tokens_mistral': 940, 'n_tokens_neox': 893, 'n_words': 114}