<commit_before>'use strict';

$(function() {
   var MAX_ZOOM = 18;
   /**
    * Number of decimals to round coordinates to.
    */
   var COORD_DECIMALS = 5;
   /**
    * Maximum number of photos to display in carousel.
    */
   var MAX_IN_CAROUSEL = 10;
   var imageryOn = false;
   var initial = { zoom: 6.5, center: [-116.0987, 44.7] };
   var style = {
      basic: 'jabbott7/cj1k069f0000p2slh5775akgj',
      hybrid: 'jabbott7/cj1mcsd7t000h2rpitaiafuq0',
      imagery: 'jabbott7/cj1mcsd7t000h2rpitaiafuq0',
      outdoors: 'mapbox/outdoors-v10'
   };
   var $count = $('#photo-count');
   var $preview = $('#photo-preview');
   var $showImagery = $('#toggle-satellite');
   var $zoomOut = $('#zoom-out');
   var $check = {
      on: $('nav .glyphicon-check'),
      off: $('nav .glyphicon-unchecked')
   };
   var qs = parseUrl();
   // https://www.mapbox.com/mapbox-gl-js/api/#navigationcontrol
   var nav = new mapboxgl.NavigationControl();
   // https://www.mapbox.com/mapbox-gl-js/api/
   var map = new mapboxgl.Map({
      container: 'map-canvas',
      style: 'mapbox://styles/' + style.outdoors,
      center: qs.center || initial.center,
      zoom: qs.zoom || initial.zoom,
      maxZoom: MAX_ZOOM,
      dragRotate: false,
      keyboard: false
   });
   var canvas = map.getCanvasContainer();
   var markerOpacity = 0.6;
   var zoomOutEnabled = false;

   /**
    * Cache GeoJSON so it can be reassigned if map style changes
    * @type {GeoJSON.FeatureCollection}<commit_msg>change default map style<commit_after>'use strict';

$(function() {
   var MAX_ZOOM = 18;
   /**
    * Number of decimals to round coordinates to.
    */
   var COORD_DECIMALS = 5;
   /**
    * Maximum number of photos to display in carousel.
    */
   var MAX_IN_CAROUSEL = 10;
   var imageryOn = false;
   var initial = { zoom: 6.5, center: [-116.0987, 44.7] };
   var style = {
      basic: 'jabbott7/cj1k069f0000p2slh5775akgj',
      hybrid: 'jabbott7/cj1mcsd7t000h2rpitaiafuq0',
      imagery: 'jabbott7/cj1mcsd7t000h2rpitaiafuq0',
      outdoors: 'mapbox/outdoors-v10'
   };
   var $count = $('#photo-count');
   var $preview = $('#photo-preview');
   var $showImagery = $('#toggle-satellite');
   var $zoomOut = $('#zoom-out');
   var $check = {
      on: $('nav .glyphicon-check'),
      off: $('nav .glyphicon-unchecked')
   };
   var qs = parseUrl();
   // https://www.mapbox.com/mapbox-gl-js/api/#navigationcontrol
   var nav = new mapboxgl.NavigationControl();
   // https://www.mapbox.com/mapbox-gl-js/api/
   var map = new mapboxgl.Map({
      container: 'map-canvas',
      style: 'mapbox://styles/' + style.basic,
      center: qs.center || initial.center,
      zoom: qs.zoom || initial.zoom,
      maxZoom: MAX_ZOOM,
      dragRotate: false,
      keyboard: false
   });
   var canvas = map.getCanvasContainer();
   var markerOpacity = 0.6;
   var zoomOutEnabled = false;

   /**
    * Cache GeoJSON so it can be reassigned if map style changes
    * @type {GeoJSON.FeatureCollection}
{'fraction_non_alphanumeric': 0.15020026702269693, 'fraction_numerical': 0.03404539385847797, 'mean_word_length': 2.7650753768844223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '868377', 'n_tokens_mistral': 1147, 'n_tokens_neox': 1059, 'n_words': 240}