<commit_before>new State({

    defaultState: true,

    name: 'default',

    keybinds: {

        tab: ({ target }) => {

            if (target.classList.contains('varInput')) {

                State.change('inputConstant');

            }

        }

    },

    mousebinds: {

        left: {

            header: () => {

                const nodeObject = node[ event.target.ref ];
                new Draggable({
                    event,
                    type: 'drag',
                    element: nodeObject.nodeElement,
                    object: nodeObject,
                    callback:  nodeObject.update.bind(nodeObject)
                });

            },

            snapDock: () => {

                const dockObject = dock[ event.target.ref ];
                new Linkable(event, dockObject);

            },

            varInput: () => {

                State.change('inputConstant');

            }

        }

    }

});

new State({

    name: 'inputConstant',

    keybinds: {

        escape: function() {

            if (this.dock) _(this.dock)

        },

        other: function({target}) {

            this.dock = dock[ event.target.ref ];
            this.dock.inputConstant(event.target.value);

        }

    },

    mousebinds: {

        all: {

            not: {

                varInput: () => {<commit_msg>Added [escape] key to the inputConstant state to unfocus from input box<commit_after>new State({

    defaultState: true,

    name: 'default',

    keybinds: {

        tab: ({ target }) => {

            if (target.classList.contains('varInput')) {

                State.change('inputConstant');

            }

        }

    },

    mousebinds: {

        left: {

            header: () => {

                const nodeObject = node[ event.target.ref ];
                new Draggable({
                    event,
                    type: 'drag',
                    element: nodeObject.nodeElement,
                    object: nodeObject,
                    callback:  nodeObject.update.bind(nodeObject)
                });

            },

            snapDock: () => {

                const dockObject = dock[ event.target.ref ];
                new Linkable(event, dockObject);

            },

            varInput: function({ target }) {

                State.change('inputConstant');

            }

        }

    }

});

new State({

    name: 'inputConstant',

    keybinds: {

        escape: function() {

            _(this)
            this.input.blur();

        },

        other: function({target}) {

            this.input = target;
            
            this.dock = dock[ event.target.ref ];
            this.dock.inputConstant(event.target.value);

        }

    },

    mousebinds: {

        all: {

            not: {

                varInput: () => {
{'fraction_non_alphanumeric': 0.12078651685393259, 'fraction_numerical': 0.0, 'mean_word_length': 1.1182156133828995, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '3988242', 'n_tokens_mistral': 811, 'n_tokens_neox': 709, 'n_words': 134}