<commit_before>'use strict';

(function () {
  angular.module('hutmap').

  controller('HutmapCtrl', 
    ['$scope', '$route', '$location', '$timeout', '$log',
    'angulargmContainer', 
    function($scope, $route, $location, $timeout, $log, angulargmContainer) {

    $scope.$route = $route;
    $scope.loading = 0;

    $scope.incLoading = function() { $scope.loading++; };
    $scope.decLoading = function() { $scope.loading--; };

    // Of the form { type: 'error', msg: 'message' }
    $scope.alerts = [
    ];

    $scope.addAlert = function(type, msg) {
      $scope.alerts.push({type:type,msg:msg});
    };

    $scope.closeAlert = function(index) {
      $scope.alerts.splice(index, 1);
    };

  }]).

  controller('CarouselCtrl', ['$scope', '$route', function($scope, $route) {
    $scope.carouselInterval = 6000;
    $scope.slides = [
      {title: 'Big Hut', text: 'lorem ipsum dolor', image: 'https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2&ik=8768b5ed5b&view=att&th=13ba670d57d0c5f1&attid=0.3&disp=inline&realattid=f_haswzj3n2&safe=1&zw&saduie=AG9B_P9lJiRTwBR09D1jE4IKml8C&sadet=1363715869360&sads=7jqjo-uAUQ2mWgLwJ-5zPIGflA0'},
      {title: '<NAME> Chickee', text: 'lorem ipsum dolor', image: 'https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2&ik=8768b5ed5b&view=att&th=13ba670d57d0c5f1&attid=0.5&disp=inline&realattid=f_haswzj3u4&safe=1&zw&saduie=AG9B_P9lJiRTwBR09D1jE4IKml8C&sadet=1363715863132&sads=kmhkET9W_d5-f6HLhAIZpt5kx2U'},
      {title: '<NAME>', text: 'lorem ipsum dolor', image: 'https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2&ik=8768b5ed5b&view=att&th=13ba670d57d0c5f1&attid=0.6&disp=inline&realattid=f_haswzj3v5&safe=1&zw&saduie=AG9B_P9lJiRTwBR09D1jE4IKml8C&sadet=1363715851827&sads=yGOzj2H_sDdau-G_UX0F2mW-MrE&sadssc=1'},
    ];
  }]).

  controller('HutInfoCtrl', ['$scope', function($scope) {
    $scope.accuracy_tooltip = [
      'Coordinates provided, but unverifiable.',
      'Wild ass guess.',
      'Slightly better than a wild ass guess.',
      'Found structure on satellite or topo map.',
      'Surveyed with GPS by the Hutmap team.',
      'Found on a map and surveyed by the Hutmap team.'  
    ];
  }]);<commit_msg>Put front page images in static folder.<commit_after>'use strict';

(function () {
  angular.module('hutmap').

  controller('HutmapCtrl', 
    ['$scope', '$route', '$location', '$timeout', '$log',
    'angulargmContainer', 
    function($scope, $route, $location, $timeout, $log, angulargmContainer) {

    $scope.$route = $route;
    $scope.loading = 0;

    $scope.incLoading = function() { $scope.loading++; };
    $scope.decLoading = function() { $scope.loading--; };

    // Of the form { type: 'error', msg: 'message' }
    $scope.alerts = [
    ];

    $scope.addAlert = function(type, msg) {
      $scope.alerts.push({type:type,msg:msg});
    };

    $scope.closeAlert = function(index) {
      $scope.alerts.splice(index, 1);
    };

  }]).

  controller('CarouselCtrl', ['$scope', '$route', function($scope, $route) {
    $scope.carouselInterval = 6000;
    $scope.slides = [
      {title: 'Big Hut', text: 'lorem ipsum dolor', image: '/static/img/carousel/Big Hut.JPG'},
      {title: '<NAME>', text: 'lorem ipsum dolor', image: '/static/img/carousel/Joe River Chickee.JPG'},
      {title: '<NAME>', text: 'lorem ipsum dolor', image: '/static/img/carousel/John Muir Shelter.JPG'},
    ];
  }]).

  controller('HutInfoCtrl', ['$scope', function($scope) {
    $scope.accuracy_tooltip = [
      'Coordinates provided, but unverifiable.',
      'Wild ass guess.',
      'Slightly better than a wild ass guess.',
      'Found structure on satellite or topo map.',
      'Surveyed with GPS by the Hutmap team.',
      'Found on a map and surveyed by the Hutmap team.'  
    ];
  }]);
{'fraction_non_alphanumeric': 0.17721186663166186, 'fraction_numerical': 0.04043055920189026, 'mean_word_length': 3.9609375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 3, 'lorem ipsum': 6, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1201365', 'n_tokens_mistral': 1526, 'n_tokens_neox': 1425, 'n_words': 248}