<commit_before>/*global define, $ */

define(function () {
    'use strict';
    /**
     * @type {Object}
     */
    return {
        /**
         * Bind submit event to submit button
         * @returns {undefined}
         */
        bindMaskedInput: function () {
            $('#home-phone-number,' +
                '#parent-cell-number,' +
                '#student-cell-number,' +
                '#school-phone,' +
                '#school-fax,' +
                '#physicians-phone,' +
                '#dentists-phone').mask('999-999-9999');

            $('#date-first-enrolled').mask('99-99-9999');

            $('[id^=emerg-cont-home-phone], ' +
                '[id^=emerg-cont-cell-phone], ' +
                '[id^=emerg-cont-work-phone]').mask('999-999-9999');

            $('[id^=sibling-birthdate]').mask('99-99-9999');
        },

        /**
         * Rebind the .mask() call to all fields that are part of dynamic field tables.<commit_msg>Added input mask to SSN field on Personal Info page.<commit_after>/*global define, $ */

define(function () {
    'use strict';
    /**
     * @type {Object}
     */
    return {
        /**
         * Bind submit event to submit button
         * @returns {undefined}
         */
        bindMaskedInput: function () {
            $('#home-phone-number,' +
                '#parent-cell-number,' +
                '#student-cell-number,' +
                '#school-phone,' +
                '#school-fax,' +
                '#physicians-phone,' +
                '#dentists-phone').mask('999-999-9999');

            $('#date-first-enrolled').mask('99-99-9999');

            $('[id^=emerg-cont-home-phone], ' +
                '[id^=emerg-cont-cell-phone], ' +
                '[id^=emerg-cont-work-phone]').mask('999-999-9999');

            $('[id^=sibling-birthdate]').mask('99-99-9999');

            $('#ssn').mask('999-99-9999');
        },

        /**
         * Rebind the .mask() call to all fields that are part of dynamic field tables.
{'fraction_non_alphanumeric': 0.18610421836228289, 'fraction_numerical': 0.0401985111662531, 'mean_word_length': 1.5326633165829147, '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': '5316557', 'n_tokens_mistral': 665, 'n_tokens_neox': 596, 'n_words': 97}