<commit_before><!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
        
        <style>
            .container
            {
                background: #efefef;
                display: inline-block;
                box-sizing: border-box;
                margin: 10px;
                padding: 10px;
                text-align: center;
                vertical-align: top;
                min-width: 220px;
            }
            
            .container > a
            {
                display: block;
                margin-bottom: 10px;
            }
            
            .container > ul
            {
                list-style: none;
                padding: 0;
                text-align: left;
            }
        </style>
    </head>
    <body>
        <div>
            <div class="container" id="mapselA">
                <a href="#" onclick="mapselA.show()">Example A</a>
                <ul>
                    <li>Default settings</li>
                </ul>
            </div>
            
            <div class="container" id="mapselB">
                <a href="#" onclick="mapselB.show()">Example B</a>
                <ul>
                    <li>Leaflet API</li>
                    <li>Norwegian (Bokmål)</li>
                </ul>
            </div>
            
            <div class="container" id="mapselC">
                <a href="#" onclick="mapselC.show()">Example C</a>
                <ul>
                    <li>Google API</li>
                    <li>Norwegian (Nynorsk)</li>
                    <li>Hidden, with radius</li>
                </ul>
            </div>
            
            <div class="container" id="mapselD">
                <a href="#" onclick="mapselD.show()">Example D</a>
                <ul>
                    <li>Leaflet API</li>
                    <li>Chinese (Simplified)</li>
                    <li>With radius and precision</li>
                </ul>
            </div>
            
            <div class="container" id="mapselE">
                <a href="#" onclick="mapselE.show()">Example E</a>
                <ul>
                    <li>Google API</li>
                    <li>Cantonese (Traditional)</li>
                    <li>Hidden, with radius</li>
                </ul>
            </div>
            
            <div class="container" id="mapselF">
                <a href="#" onclick="mapselF.show()">Example F</a>
                <ul>
                    <li>Leaflet API</li>
                    <li>Japanese</li>
                    <li>Non-closeable, custom size</li>
                </ul>
            </div>
            
            <div class="container" id="mapselG">
                <a href="#" onclick="mapselG.show()">Example G</a>
                <ul>
                    <li>Google API</li>
                    <li>English</li>
                    <li>Custom size and coordinates</li>
                </ul>
            </div>
        </div>
        
        <script src="https://maps.googleapis.com/maps/api/js"></script>
        <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
        <script src="../dist/mapsel.min.js"></script>
        
        <script>
            var mapselA = new Mapsel({
                container: document.getElementById('mapselA')
            });
            
            var mapselB = new Mapsel({
                api: 'leaflet',
                container: document.getElementById('mapselB'),
                language: 'nb'
            });
            
            var mapselC = new Mapsel({
                api: 'google',
                container: document.getElementById('mapselC'),
                language: 'nn',
                radius: 250000,
                visible: false
            });
            
            var mapselD = new Mapsel({
                api: 'leaflet',
                container: document.getElementById('mapselD'),
                language: 'zh',
                latitude: 65.1234,
                longitude: 0.1234,
                precision: 3,
                radius: 250000
            });
            
            var mapselE = new Mapsel({
                api: 'google',
                container: document.getElementById('mapselE'),
                language: 'yue',
                radius: 250000,
                visible: false
            });
            
            var mapselF = new Mapsel({
                api: 'leaflet',
                closeable: false,
                container: document.getElementById('mapselF'),
                height: 350,
                language: 'ja',
                width: 445
            });
            
            var mapselG = new Mapsel({
                api: 'google',
                container: document.getElementById('mapselG'),
                height: 350,
                language: 'en',
                latitude: 78.65,
                longitude: 19.52,
                radius: 252000,
                width: 445
            });
        </script>
    </body>
</html><commit_msg>Updated Mapsel demo with new features<commit_after><!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
        
        <style>
            .container
            {
                background: #efefef;
                display: inline-block;
                box-sizing: border-box;
                margin: 10px;
                padding: 10px;
                text-align: center;
                vertical-align: top;
                min-width: 220px;
            }
            
            .container > a
            {
                display: block;
                margin-bottom: 10px;
            }
            
            .container > ul
            {
                list-style: none;
                padding: 0;
                text-align: left;
            }
        </style>
    </head>
    <body>
        <div>
            <div class="container" id="mapselA">
                <a href="#" onclick="mapselA.show()">Example A</a>
                <ul>
                    <li>Default settings</li>
                </ul>
            </div>
            
            <div class="container" id="mapselB">
                <a href="#" onclick="mapselB.show()">Example B</a>
                <ul>
                    <li>Leaflet API</li>
                    <li>Norwegian (Bokmål)</li>
                </ul>
            </div>
            
            <div class="container" id="mapselC">
                <a href="#" onclick="mapselC.show()">Example C</a>
                <ul>
                    <li>Google API</li>
                    <li>Norwegian (Nynorsk)</li>
                    <li>Hidden, with radius</li>
                </ul>
            </div>
            
            <div class="container" id="mapselD">
                <a href="#" onclick="mapselD.show()">Example D</a>
                <ul>
                    <li>Leaflet API</li>
                    <li>Chinese (Simplified)</li>
                    <li>With radius and precision</li>
                </ul>
            </div>
            
            <div class="container" id="mapselE">
                <a href="#" onclick="mapselE.show()">Example E</a>
                <ul>
                    <li>Google API</li>
                    <li>Cantonese (Traditional)</li>
                    <li>Hidden, with radius</li>
                </ul>
            </div>
            
            <div class="container" id="mapselF">
                <a href="#" onclick="mapselF.show()">Example F</a>
                <ul>
                    <li>Leaflet API</li>
                    <li>Japanese</li>
                    <li>Non-closeable, custom size</li>
                </ul>
            </div>
            
            <div class="container" id="mapselG">
                <a href="#" onclick="mapselG.show()">Example G</a>
                <ul>
                    <li>Google API</li>
                    <li>English</li>
                    <li>Box-selection and custom size</li>
                </ul>
            </div>
        </div>
        
        <script src="https://maps.googleapis.com/maps/api/js"></script>
        <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
        <script src="../dist/mapsel.min.js"></script>
        
        <script>
            var mapselA = new Mapsel({
                container: document.getElementById('mapselA')
            });
            
            var mapselB = new Mapsel({
                api: 'leaflet',
                container: document.getElementById('mapselB'),
                language: 'nb'
            });
            
            var mapselC = new Mapsel({
                api: 'google',
                container: document.getElementById('mapselC'),
                language: 'nn',
                radius: 250000,
                visible: false
            });
            
            var mapselD = new Mapsel({
                api: 'leaflet',
                container: document.getElementById('mapselD'),
                language: 'zh',
                latitude: 65.1234,
                longitude: 0.1234,
                precision: 3,
                radius: 250000
            });
            
            var mapselE = new Mapsel({
                api: 'google',
                container: document.getElementById('mapselE'),
                language: 'yue',
                radius: 250000,
                visible: false
            });
            
            var mapselF = new Mapsel({
                api: 'leaflet',
                closeable: false,
                container: document.getElementById('mapselF'),
                height: 350,
                language: 'ja',
                width: 445
            });
            
            var mapselG = new Mapsel({
                api: 'google',
                container: document.getElementById('mapselG'),
                height: 350,
                language: 'en',
                northeast: [ 66.8, -12.3 ],
                southwest: [ 62.9, -25.2 ],
                width: 445
            });
        </script>
    </body>
</html>
{'fraction_non_alphanumeric': 0.12644571872873944, 'fraction_numerical': 0.0139955292059481, 'mean_word_length': 0.9611206403659234, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 205, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '1269392', 'n_tokens_mistral': 2946, 'n_tokens_neox': 2605, 'n_words': 534}