<commit_before>'use strict'; // eslint-disable-line
// note: use strict above is applied to the whole browserified doc
var nodeUrl = require('url'),
  references = require('./services/references'),
  behaviors = require('./services/forms/behaviors'),
  decorators = require('./services/components/decorators'),
  dom = require('@nymag/dom'),
  EditorToolbar = require('./controllers/kiln-toolbar'),
  render = require('./services/components/render'),
  progress = require('./services/progress'),
  Konami = require('konami-js'),
  pane = require('./services/pane'),
  connectionLostMessage = 'Connection Lost. Changes will <strong>NOT</strong> be saved.';

// manually add built-in behaviors
// since browserify's require() uses static analysis
behaviors.add('component-ref', require('./behaviors/component-ref'));
behaviors.add('text', require('./behaviors/text'));
behaviors.add('required', require('./behaviors/required'));
behaviors.add('soft-maxlength', require('./behaviors/soft-maxlength'));
behaviors.add('radio', require('./behaviors/radio'));
behaviors.add('description', require('./behaviors/description'));
behaviors.add('checkbox', require('./behaviors/checkbox'));
behaviors.add('checkbox-group', require('./behaviors/checkbox-group'));
behaviors.add('textarea', require('./behaviors/textarea'));
behaviors.add('select', require('./behaviors/select'));
behaviors.add('simple-list', require('./behaviors/simple-list'));
behaviors.add('simple-list-primary', require('./behaviors/simple-list-primary'));
behaviors.add('wysiwyg', require('./behaviors/wysiwyg'));
behaviors.add('autocomplete', require('./behaviors/autocomplete'));
behaviors.add('drop-image', require('./behaviors/drop-image'));
behaviors.add('label', require('./behaviors/label'));
behaviors.add('segmented-button', require('./behaviors/segmented-button'));
behaviors.add('page-ref', require('./behaviors/page-ref'));
behaviors.add('magic-button', require('./behaviors/magic-button'));
behaviors.add('codemirror', require('./behaviors/codemirror'));

// add default decorators
decorators.add(require('./decorators/placeholder'));
decorators.add(require('./decorators/focus'));
decorators.add(require('./decorators/component-list'));

// kick off controller loading when DOM is ready
// note: external behaviors, decorators, and validation rules should already be added
// when this event fires<commit_msg>hotfix add site-specific-select to behaviors<commit_after>'use strict'; // eslint-disable-line
// note: use strict above is applied to the whole browserified doc
var nodeUrl = require('url'),
  references = require('./services/references'),
  behaviors = require('./services/forms/behaviors'),
  decorators = require('./services/components/decorators'),
  dom = require('@nymag/dom'),
  EditorToolbar = require('./controllers/kiln-toolbar'),
  render = require('./services/components/render'),
  progress = require('./services/progress'),
  Konami = require('konami-js'),
  pane = require('./services/pane'),
  connectionLostMessage = 'Connection Lost. Changes will <strong>NOT</strong> be saved.';

// manually add built-in behaviors
// since browserify's require() uses static analysis
behaviors.add('component-ref', require('./behaviors/component-ref'));
behaviors.add('text', require('./behaviors/text'));
behaviors.add('required', require('./behaviors/required'));
behaviors.add('soft-maxlength', require('./behaviors/soft-maxlength'));
behaviors.add('radio', require('./behaviors/radio'));
behaviors.add('description', require('./behaviors/description'));
behaviors.add('checkbox', require('./behaviors/checkbox'));
behaviors.add('checkbox-group', require('./behaviors/checkbox-group'));
behaviors.add('textarea', require('./behaviors/textarea'));
behaviors.add('select', require('./behaviors/select'));
behaviors.add('simple-list', require('./behaviors/simple-list'));
behaviors.add('simple-list-primary', require('./behaviors/simple-list-primary'));
behaviors.add('wysiwyg', require('./behaviors/wysiwyg'));
behaviors.add('autocomplete', require('./behaviors/autocomplete'));
behaviors.add('drop-image', require('./behaviors/drop-image'));
behaviors.add('label', require('./behaviors/label'));
behaviors.add('segmented-button', require('./behaviors/segmented-button'));
behaviors.add('page-ref', require('./behaviors/page-ref'));
behaviors.add('magic-button', require('./behaviors/magic-button'));
behaviors.add('codemirror', require('./behaviors/codemirror'));
behaviors.add('site-specific-select', require('./behaviors/site-specific-select'));

// add default decorators
decorators.add(require('./decorators/placeholder'));
decorators.add(require('./decorators/focus'));
decorators.add(require('./decorators/component-list'));

// kick off controller loading when DOM is ready
// note: external behaviors, decorators, and validation rules should already be added
// when this event fires
{'fraction_non_alphanumeric': 0.194712031153925, 'fraction_numerical': 0.0, 'mean_word_length': 6.316341829085458, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '278815', 'n_tokens_mistral': 1405, 'n_tokens_neox': 1400, 'n_words': 249}