<commit_before>/*jshint regexp:false*/

/**
 * Controller abstract class.
 */
define([
    'dejavu/AbstractClass',
    'dejavu/instanceOf',
    './Joint',
    './StateRegistry/StateInterface',
    'services/state',
    'events-emitter/EventsEmitter',
    'amd-utils/lang/isFunction',
    'amd-utils/lang/isString',
    'amd-utils/string/startsWith',
    'amd-utils/object/size',
    'has'
], function (AbstractClass, instanceOf, Joint, StateInterface, stateRegistry, EventsEmitter, isFunction, isString, startsWith, size, has) {

    'use strict';

    var Controller = AbstractClass.declare({
        $name: 'Controller',
        $extends: Joint,

        _states: null,
        _statesParams: null,
        _defaultState: null,

        _currentState: null,
        _currentStateCursor: null,
        _currentStateBranchName: null,

        /**
         * Constructor.
         */
        initialize: function () {
            var key,
                tmp,
                func,
                matches,
                regExp;

            // Process the _states object if any
            if (this._states) {<commit_msg>Unused dep.<commit_after>/*jshint regexp:false*/

/**
 * Controller abstract class.
 */
define([
    'dejavu/AbstractClass',
    'dejavu/instanceOf',
    './Joint',
    './StateRegistry/StateInterface',
    'services/state',
    'amd-utils/lang/isFunction',
    'amd-utils/lang/isString',
    'amd-utils/string/startsWith',
    'amd-utils/object/size',
    'has'
], function (AbstractClass, instanceOf, Joint, StateInterface, stateRegistry, isFunction, isString, startsWith, size, has) {

    'use strict';

    var Controller = AbstractClass.declare({
        $name: 'Controller',
        $extends: Joint,

        _states: null,
        _statesParams: null,
        _defaultState: null,

        _currentState: null,
        _currentStateCursor: null,
        _currentStateBranchName: null,

        /**
         * Constructor.
         */
        initialize: function () {
            var key,
                tmp,
                func,
                matches,
                regExp;

            // Process the _states object if any
            if (this._states) {
{'fraction_non_alphanumeric': 0.1208390332877337, 'fraction_numerical': 0.0, 'mean_word_length': 1.9688768606224627, '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': '2722112', 'n_tokens_mistral': 641, 'n_tokens_neox': 623, 'n_words': 133}