<commit_before>import KEYS from 'js/constants';

export const config = {

  assets: {
    ionCSS: '../vendor/ion.rangeslider/css/ion.rangeSlider.css',
    ionSkinCSS: '../vendor/ion.rangeslider/css/ion.rangeSlider.skinNice.css',
    highcharts: '//code.highcharts.com/highcharts.js',
    highchartsMore: '//code.highcharts.com/highcharts-more.js',
    rangeSlider: '../vendor/ion.rangeslider/js/ion.rangeSlider.min.js',
    proxy: '//wri-gfw-water.herokuapp.com/proxy/proxy.php'
  },

  corsEnabledServers: [
    'localhost',
    '172.16.58.3', // Old Erosion Image Server
    '192.168.127.12', // New Erosion Image Server
    'hydro.arcgis.com', // Esri's Hydrology Tool
    'api.globalforestwatch.org' // Esri's Hydrology Tool
  ],

  fakeMetadata: {
    agol_id: "",
    amazon_link: "",
    cautions: "<p>For the purpose of this study, \u201ctree cover\u201d was defined as all vegetation taller than 5 meters in height. \u201cTree cover\u201d is the biophysical presence of trees and may take the form of natural forests or plantations existing over a range of canopy densities.</p>",
    citation: "<p>Use the following credit when these data are displayed:<br>Source: Hansen/UMD/Google/USGS/NASA, accessed through Global Forest Watch</p><p>Use the following credit when these data are cited:<br><NAME>., <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>ownshend. 2013. \u201cHigh-Resolution Global Maps of 21st-Century Forest Cover Change.\u201d Science 342 (15 November): 850\u201353. Data available on-line from:http://earthenginepartners.appspot.com/science-2013-global-forest. Accessed through Global Forest Watch on [date]. www.globalforestwatch.org </p>",
    date_of_content: "<p>2000</p>",
    download_data: "http://earthenginepartners.appspot.com/science-2013-global-forest",
    frequency_of_updates: "",
    function: "<p>Identifies areas of tree cover</p>",
    geographic_coverage: "<p>Global land (excluding Antarctica and Arctic islands)</p>",
    learn_more: "http://science.sciencemag.org/content/342/6160/850",
    license: "<p><a href=\"http://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a></p>",
    map_service: "http://gis-treecover.wri.org/arcgis/rest/services/TreeCover2000/ImageServer",
    other: "",
    overview: "<p>This data set, a collaboration between the <a href=\"http://glad.geog.umd.edu/\">GLAD</a> (Global Land Analysis &amp; Discovery) lab at the University of Maryland, Google, USGS, and NASA, displays tree cover over all global land (except for Antarctica and a number of Arctic islands) for the year 2000 at 30 \u00d7 30 meter resolution. \u201cPercent tree cover\u201d is defined as the density of tree canopy coverage of the land surface and is color-coded by density bracket (see legend).</p><p>Data in this layer were generated using multispectral satellite imagery from the <a href=\"http://landsat.usgs.gov/\">Landsat 7</a> thematic mapper plus (ETM+) sensor. The clear surface observations from over 600,000 images were analyzed using Google Earth Engine, a cloud platform for earth observation and data analysis, to determine per pixel tree cover using a supervised learning algorithm.</p><p>The tree cover canopy density of the displayed data varies according to the selection - use the legend on the map to change the minimum tree cover canopy density threshold.</p>",
    resolution: "<p>30 \u00d7 30 meters</p>",
    source: "<p><NAME>., <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>. 2013. \u201cHigh-Resolution Global Maps of 21st-Century Forest Cover Change.\u201d Science 342 (15 November): 850\u201353. Data available from: <a href=\"http://earthenginepartners.appspot.com/science-2013-global-forest\">earthenginepartners.appspot.com/science-2013-global-forest</a>.</p>",
    sql_api: "",
    subtitle: "(2000, Hansen/UMD/Google/USGS/NASA)",
    tags: "Land Cover",
    title: "Tree cover",
    translated_function: "",
    translated_overview: "",
    translated_title: ""
  },


  proxy: {
      hydro: {
        urlPrefix: 'hydro.arcgis.com',
        // proxyUrl: '//localhost/proxy/proxy.php'
        proxyUrl: './proxy/proxy.php'
      },
      metadata: {
        urlPrefix: 'api.globalforestwatch.org',
        // proxyUrl: '//localhost/proxy/proxy.php'
        proxyUrl: './proxy/proxy.php'
      },
      featureServer: {
        urlPrefix: 'gis-gfw.wri.org/arcgis/rest/services/user_features/FeatureServer',
        // proxyUrl: '//localhost/proxy/proxy.php'
        proxyUrl: './proxy/proxy.php'
      }
  },

  links: {
    home: {
      url: '/',
      title: 'Global Forest Watch Water - Home'
    },
    about: {
      url: '/about',
      title: 'Global Forest Watch Water - Learn More'
    },
    aqueduct: {
      url: 'http://www.wri.org/our-work/project/aqueduct',
      title: 'Aqueduct Water Risk Atlas'
    }
  },


  map: {<commit_msg>Edited proxy url<commit_after>import KEYS from 'js/constants';

export const config = {

  assets: {
    ionCSS: '../vendor/ion.rangeslider/css/ion.rangeSlider.css',
    ionSkinCSS: '../vendor/ion.rangeslider/css/ion.rangeSlider.skinNice.css',
    highcharts: '//code.highcharts.com/highcharts.js',
    highchartsMore: '//code.highcharts.com/highcharts-more.js',
    rangeSlider: '../vendor/ion.rangeslider/js/ion.rangeSlider.min.js',
    proxy: '//wri-gfw-water.herokuapp.com/proxy/proxy.php'
  },

  corsEnabledServers: [
    'localhost',
    '172.16.58.3', // Old Erosion Image Server
    '192.168.127.12', // New Erosion Image Server
    'hydro.arcgis.com', // Esri's Hydrology Tool
    'api.globalforestwatch.org' // Esri's Hydrology Tool
  ],

  fakeMetadata: {
    agol_id: "",
    amazon_link: "",
    cautions: "<p>For the purpose of this study, \u201ctree cover\u201d was defined as all vegetation taller than 5 meters in height. \u201cTree cover\u201d is the biophysical presence of trees and may take the form of natural forests or plantations existing over a range of canopy densities.</p>",
    citation: "<p>Use the following credit when these data are displayed:<br>Source: Hansen/UMD/Google/USGS/NASA, accessed through Global Forest Watch</p><p>Use the following credit when these data are cited:<br><NAME>., <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>. 2013. \u201cHigh-Resolution Global Maps of 21st-Century Forest Cover Change.\u201d Science 342 (15 November): 850\u201353. Data available on-line from:http://earthenginepartners.appspot.com/science-2013-global-forest. Accessed through Global Forest Watch on [date]. www.globalforestwatch.org </p>",
    date_of_content: "<p>2000</p>",
    download_data: "http://earthenginepartners.appspot.com/science-2013-global-forest",
    frequency_of_updates: "",
    function: "<p>Identifies areas of tree cover</p>",
    geographic_coverage: "<p>Global land (excluding Antarctica and Arctic islands)</p>",
    learn_more: "http://science.sciencemag.org/content/342/6160/850",
    license: "<p><a href=\"http://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a></p>",
    map_service: "http://gis-treecover.wri.org/arcgis/rest/services/TreeCover2000/ImageServer",
    other: "",
    overview: "<p>This data set, a collaboration between the <a href=\"http://glad.geog.umd.edu/\">GLAD</a> (Global Land Analysis &amp; Discovery) lab at the University of Maryland, Google, USGS, and NASA, displays tree cover over all global land (except for Antarctica and a number of Arctic islands) for the year 2000 at 30 \u00d7 30 meter resolution. \u201cPercent tree cover\u201d is defined as the density of tree canopy coverage of the land surface and is color-coded by density bracket (see legend).</p><p>Data in this layer were generated using multispectral satellite imagery from the <a href=\"http://landsat.usgs.gov/\">Landsat 7</a> thematic mapper plus (ETM+) sensor. The clear surface observations from over 600,000 images were analyzed using Google Earth Engine, a cloud platform for earth observation and data analysis, to determine per pixel tree cover using a supervised learning algorithm.</p><p>The tree cover canopy density of the displayed data varies according to the selection - use the legend on the map to change the minimum tree cover canopy density threshold.</p>",
    resolution: "<p>30 \u00d7 30 meters</p>",
    source: "<p><NAME>., <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>. 2013. \u201cHigh-Resolution Global Maps of 21st-Century Forest Cover Change.\u201d Science 342 (15 November): 850\u201353. Data available from: <a href=\"http://earthenginepartners.appspot.com/science-2013-global-forest\">earthenginepartners.appspot.com/science-2013-global-forest</a>.</p>",
    sql_api: "",
    subtitle: "(2000, Hansen/UMD/Google/USGS/NASA)",
    tags: "Land Cover",
    title: "Tree cover",
    translated_function: "",
    translated_overview: "",
    translated_title: ""
  },


  proxy: {
      hydro: {
        urlPrefix: 'hydro.arcgis.com',
        // proxyUrl: '//localhost/proxy/proxy.php'
        proxyUrl: '/proxy/proxy.php'
      },
      metadata: {
        urlPrefix: 'api.globalforestwatch.org',
        // proxyUrl: '//localhost/proxy/proxy.php'
        proxyUrl: '/proxy/proxy.php'
      },
      featureServer: {
        urlPrefix: 'gis-gfw.wri.org/arcgis/rest/services/user_features/FeatureServer',
        // proxyUrl: '//localhost/proxy/proxy.php'
        proxyUrl: '/proxy/proxy.php'
      }
  },

  links: {
    home: {
      url: '/',
      title: 'Global Forest Watch Water - Home'
    },
    about: {
      url: '/about',
      title: 'Global Forest Watch Water - Learn More'
    },
    aqueduct: {
      url: 'http://www.wri.org/our-work/project/aqueduct',
      title: 'Aqueduct Water Risk Atlas'
    }
  },


  map: {
{'fraction_non_alphanumeric': 0.14459895203546957, 'fraction_numerical': 0.03164046755340588, 'mean_word_length': 3.5485792850595783, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6160501', 'n_tokens_mistral': 3426, 'n_tokens_neox': 3087, 'n_words': 888}