<commit_before>/**
 * Redirection to megogo module.
 */
(function(){

    main_menu.add('MEGOGO', [], 'mm_ico_megogo.png', function(){

        var params = '';

        if (stb.user['web_proxy_host']){
            params = '?proxy=http://'+stb.user['web_proxy_host']+':' +stb.user['web_proxy_port'];
        }

        stb.setFrontPanel('.');

        if (!params){
            params += '?';
        }else{
            params += '&';
        }

        params += 'referrer='+encodeURIComponent(window.location);

        _debug('url', '/' + stb.portal_path + '/external/megogo/index.html'+params);
        window.location = '/' + stb.portal_path + '/external/megogo/index.html'+params;
    }, {layer_name : "megogo"});

    loader.next();
})();<commit_msg>Close MEGOGO for MAG200 (issue #1085)<commit_after>/**
 * Redirection to megogo module.
 */
(function(){

    if (stb.type == 'MAG200'){
        loader.next();
        return;
    }

    main_menu.add('MEGOGO', [], 'mm_ico_megogo.png', function(){

        var params = '';

        if (stb.user['web_proxy_host']){
            params = '?proxy=http://'+stb.user['web_proxy_host']+':' +stb.user['web_proxy_port'];
        }

        stb.setFrontPanel('.');

        if (!params){
            params += '?';
        }else{
            params += '&';
        }

        params += 'referrer='+encodeURIComponent(window.location);

        _debug('url', '/' + stb.portal_path + '/external/megogo/index.html'+params);
        window.location = '/' + stb.portal_path + '/external/megogo/index.html'+params;
    }, {layer_name : "megogo"});

    loader.next();
})();
{'fraction_non_alphanumeric': 0.19606674612634087, 'fraction_numerical': 0.0059594755661501785, 'mean_word_length': 2.1035120147874307, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '702995', 'n_tokens_mistral': 589, 'n_tokens_neox': 540, 'n_words': 76}