<commit_before>(function () {
'use strict';
var uriParser = null;
var module = angular.module('fim.base');
module.run(function ($rootScope) {
  $rootScope.FIM_SERVER_VERSION = null;
  $rootScope.TITLE = WALLET_NAME+' '+VERSION;
  $rootScope.WALLET_NAME = WALLET_NAME;
  $rootScope.paramEngine = 'fim';
  $rootScope.enableDualEngines = ENABLE_DUAL_ENGINES;
  $rootScope.isTestnet = IS_TEST_NET;
  $rootScope.forceLocalHost = FORCE_LOCAL_HOST;
  $rootScope.privateEnabled = PRIVATE_ENABLED;
  $rootScope.multiLanguage = true;
  $rootScope.MONETARY_SYSTEM = false;
  $rootScope.TRADE_UI_ONLY = TRADE_UI_ONLY;
});
module.controller('AppController', function($rootScope, $scope, $modal, $q, $log,  
  $timeout, modals, $window, plugins, serverService, db, settings, $location, 
  nxt, $route, $translate, accountsService, BlockchainDownloadProvider) {

  $scope.mainMenuCollapsed=true;
  $scope.collapseMainMenu = function () {
    $timeout(function () {
      $scope.mainMenuCollapsed=true;
    }, 1000);
  }

  $rootScope.selectedAccount = null;
  $rootScope.selectedAccountUnlocked = false;
  $rootScope.selectableAccounts = [];

  /* Only run when in NodeJS environment */
  if (isNodeJS) {
    $scope.fimDownloadProvider = new BlockchainDownloadProvider(nxt.fim(), $scope);
    $scope.fimDownloadProvider.load();
    if ($rootScope.enableDualEngines) {
      $scope.nxtDownloadProvider = new BlockchainDownloadProvider(nxt.nxt(), $scope);
      $scope.nxtDownloadProvider.load();<commit_msg>Set CURRENT_ACCOUNT in mode.js to auto login (debug)<commit_after>(function () {
'use strict';
var uriParser = null;
var module = angular.module('fim.base');
module.run(function ($rootScope) {
  $rootScope.FIM_SERVER_VERSION = null;
  $rootScope.TITLE = WALLET_NAME+' '+VERSION;
  $rootScope.WALLET_NAME = WALLET_NAME;
  $rootScope.paramEngine = 'fim';
  $rootScope.enableDualEngines = ENABLE_DUAL_ENGINES;
  $rootScope.isTestnet = IS_TEST_NET;
  $rootScope.forceLocalHost = FORCE_LOCAL_HOST;
  $rootScope.privateEnabled = PRIVATE_ENABLED;
  $rootScope.multiLanguage = true;
  $rootScope.MONETARY_SYSTEM = false;
  $rootScope.TRADE_UI_ONLY = TRADE_UI_ONLY;
  $rootScope.currentAccount = typeof CURRENT_ACCOUNT != "undefined" ? angular.copy(CURRENT_ACCOUNT) : null;
});
module.controller('AppController', function($rootScope, $scope, $modal, $q, $log,  
  $timeout, modals, $window, plugins, serverService, db, settings, $location, 
  nxt, $route, $translate, accountsService, BlockchainDownloadProvider) {

  $scope.mainMenuCollapsed=true;
  $scope.collapseMainMenu = function () {
    $timeout(function () {
      $scope.mainMenuCollapsed=true;
    }, 1000);
  }

  $rootScope.selectedAccount = null;
  $rootScope.selectedAccountUnlocked = false;
  $rootScope.selectableAccounts = [];

  /* Only run when in NodeJS environment */
  if (isNodeJS) {
    $scope.fimDownloadProvider = new BlockchainDownloadProvider(nxt.fim(), $scope);
    $scope.fimDownloadProvider.load();
    if ($rootScope.enableDualEngines) {
      $scope.nxtDownloadProvider = new BlockchainDownloadProvider(nxt.nxt(), $scope);
      $scope.nxtDownloadProvider.load();
{'fraction_non_alphanumeric': 0.13167146053052092, 'fraction_numerical': 0.002556727388942154, 'mean_word_length': 5.3232323232323235, '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': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2110115', 'n_tokens_mistral': 1058, 'n_tokens_neox': 1032, 'n_words': 180}