<commit_before>/**
 *
 * @param {Integer} instanceId
 * @param {Object} instanceConfig
 * @constructor
 */
var RcmPeopleSlider = function (instanceId, instanceConfig) {


    /**
     * Always refers to this object unlike the 'this' JS variable;
     * @type {RcmDistributorApp}
     */
    var me = this;

    /**
     * Plugin container div jQuery object
     * @type {Object}
     */
    var container;

    var framesPerView = 4;

    var peopleDetailsDiv;

    var selectedPersonId = 0;

    /**
     * This object helps us manage the online app as a multi-part form
     * @type {ApertureSlider}
     *
     * This is a public property so the editor change the frame count
     */
    me.apertureSlider = null;

    /**
     * Runs immediately after this class is instantiated
     */
    me.init = function (containerObj) {

        //Allow container to be passed in so the edit object can work around
        // a bug in core
        container = containerObj;

        peopleDetailsDiv = container.find('.peopleDetails');

        me.apertureSlider = new ApertureSlider(
            container.find('.peopleAperture'),
            {
                frameWidth: 160,
                minHeight: 140,
                frameSeparation: 0,
                framesPerView: framesPerView,
                hideOffScreenFrames: false
            }
        );

        //Register this object so the editor can use it
        if (typeof(window.RcmPeopleSliders) != 'array') {
            window.RcmPeopleSliders = [];
        }
        window['RcmPeopleSliders'][instanceId] = me;

        var selectedPersonId = peopleDetailsDiv.attr('data-selectedPersonId');<commit_msg>Decrease width<commit_after>/**
 *
 * @param {Integer} instanceId
 * @param {Object} instanceConfig
 * @constructor
 */
var RcmPeopleSlider = function (instanceId, instanceConfig) {


    /**
     * Always refers to this object unlike the 'this' JS variable;
     * @type {RcmDistributorApp}
     */
    var me = this;

    /**
     * Plugin container div jQuery object
     * @type {Object}
     */
    var container;

    var framesPerView = 4;

    var peopleDetailsDiv;

    var selectedPersonId = 0;

    /**
     * This object helps us manage the online app as a multi-part form
     * @type {ApertureSlider}
     *
     * This is a public property so the editor change the frame count
     */
    me.apertureSlider = null;

    /**
     * Runs immediately after this class is instantiated
     */
    me.init = function (containerObj) {

        //Allow container to be passed in so the edit object can work around
        // a bug in core
        container = containerObj;

        peopleDetailsDiv = container.find('.peopleDetails');

        me.apertureSlider = new ApertureSlider(
            container.find('.peopleAperture'),
            {
                frameWidth: 155,
                minHeight: 140,
                frameSeparation: 0,
                framesPerView: framesPerView,
                hideOffScreenFrames: false
            }
        );

        //Register this object so the editor can use it
        if (typeof(window.RcmPeopleSliders) != 'array') {
            window.RcmPeopleSliders = [];
        }
        window['RcmPeopleSliders'][instanceId] = me;

        var selectedPersonId = peopleDetailsDiv.attr('data-selectedPersonId');
{'fraction_non_alphanumeric': 0.09180918091809182, 'fraction_numerical': 0.0054005400540054005, 'mean_word_length': 2.02540834845735, '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': '3821801', 'n_tokens_mistral': 936, 'n_tokens_neox': 885, 'n_words': 272}