<commit_before>

define([

    'text!img/markers/1_optimized.svg',
    'text!img/markers/2_optimized.svg',
    'text!img/markers/3_optimized.svg',
], function (

    marker1,
    marker2,
    marker3
) {

    'use strict';

    return {

        'osm': {

            'changesetCreatedBy': 'MapContrib',
            'changesetComment': 'Test from MapContrib (developpement in progress)'
        },

        'pattern': {

            'integer': /^[0-9]+$/,
            'mongoId': /^[a-z0-9]{24}$/,
            'fragment': /^[a-z0-9]{6}$/,
        },

        'tooltip': {

            'showDelay': 500, // ms
            'hideDelay': 0, // ms
        },

        'map': {

            'panPadding': {

                'top': 10,
                'left': 73,
                'bottom': 20,
                'right': 73,
            },

            'wayPolygonOptions': {

                'color': '#F8981D',
                'weight': 2,
                'opacity': 1,
                'fillOpacity': 0.5,
            },

            'markers': {

                'marker1': {

                    'iconSize':     [36, 42],
                    'iconAnchor':   [18, 42],
                    'popupAnchor':  [0, -38],
                    'className': 'marker marker-1',
                    'html': marker1,
                },
                'marker2': {

                    'iconSize':     [36, 42],
                    'iconAnchor':   [18, 42],
                    'popupAnchor':  [0, -38],
                    'className': 'marker marker-2',
                    'html': marker2,
                },
                'marker3': {

                    'iconSize':     [36, 42],
                    'iconAnchor':   [18, 42],
                    'popupAnchor':  [0, -38],
                    'className': 'marker marker-3',
                    'html': marker3,
                },
            },

            'tiles': {

                'osmFr': {

                    'name': 'OpenStreetMap Français',
                    'attribution': 'Données &copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>',
                    'urlTemplate': 'http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
                    'minZoom': 0,
                    'maxZoom': 19,
                },
                'osm': {

                    'name': 'OpenStreetMap',
                    'attribution': 'Data &copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>',
                    'urlTemplate': '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
                    'minZoom': 0,
                    'maxZoom': 19,
                },
                'osmOutdoors': {

                    'name': 'OSM Outdoors',
                    'attribution': 'Tiles &copy; <a href="http://www.thunderforest.com/outdoors" target="_blank">Gravitystorm</a> - Data &copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>',
                    'urlTemplate': 'http://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png',<commit_msg>Sets the maximum zoom to 20 on osmFr tiles (refs #87)<commit_after>

define([

    'text!img/markers/1_optimized.svg',
    'text!img/markers/2_optimized.svg',
    'text!img/markers/3_optimized.svg',
], function (

    marker1,
    marker2,
    marker3
) {

    'use strict';

    return {

        'osm': {

            'changesetCreatedBy': 'MapContrib',
            'changesetComment': 'Test from MapContrib (developpement in progress)'
        },

        'pattern': {

            'integer': /^[0-9]+$/,
            'mongoId': /^[a-z0-9]{24}$/,
            'fragment': /^[a-z0-9]{6}$/,
        },

        'tooltip': {

            'showDelay': 500, // ms
            'hideDelay': 0, // ms
        },

        'map': {

            'panPadding': {

                'top': 10,
                'left': 73,
                'bottom': 20,
                'right': 73,
            },

            'wayPolygonOptions': {

                'color': '#F8981D',
                'weight': 2,
                'opacity': 1,
                'fillOpacity': 0.5,
            },

            'markers': {

                'marker1': {

                    'iconSize':     [36, 42],
                    'iconAnchor':   [18, 42],
                    'popupAnchor':  [0, -38],
                    'className': 'marker marker-1',
                    'html': marker1,
                },
                'marker2': {

                    'iconSize':     [36, 42],
                    'iconAnchor':   [18, 42],
                    'popupAnchor':  [0, -38],
                    'className': 'marker marker-2',
                    'html': marker2,
                },
                'marker3': {

                    'iconSize':     [36, 42],
                    'iconAnchor':   [18, 42],
                    'popupAnchor':  [0, -38],
                    'className': 'marker marker-3',
                    'html': marker3,
                },
            },

            'tiles': {

                'osmFr': {

                    'name': 'OpenStreetMap Français',
                    'attribution': 'Données &copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>',
                    'urlTemplate': 'http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
                    'minZoom': 0,
                    'maxZoom': 20,
                },
                'osm': {

                    'name': 'OpenStreetMap',
                    'attribution': 'Data &copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>',
                    'urlTemplate': '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
                    'minZoom': 0,
                    'maxZoom': 19,
                },
                'osmOutdoors': {

                    'name': 'OSM Outdoors',
                    'attribution': 'Tiles &copy; <a href="http://www.thunderforest.com/outdoors" target="_blank">Gravitystorm</a> - Data &copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>',
                    'urlTemplate': 'http://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png',
{'fraction_non_alphanumeric': 0.1663458453641322, 'fraction_numerical': 0.027269810715431504, 'mean_word_length': 1.1656825286557833, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, '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': '2449785', 'n_tokens_mistral': 2034, 'n_tokens_neox': 1755, 'n_words': 309}