This file is indexed.

/usr/share/hotot/js/ui.home_tabs.js is in hotot-common 1:0.9.8.14-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
if (typeof ui == 'undefined') var ui = {};
ui.HomeTabs = {

current_filter_name: null,

init:
function init() {
    var btns = new widget.RadioGroup('#home_radio_group');
    btns.on_clicked = function (btn, event) {
        ui.HomeTabs.current_filter_name = $(btn).attr('href');
        ui.HomeTabs.apply_filter();
    };
    btns.create();
    ui.HomeTabs.current_filter_name = '#all';
},

get_non_public_tweets:
function get_non_public_tweets(tweets) {
    return $($.grep(tweets, function (obj, i) {    
        return $(obj).attr('reply_name') != ''; 
    }));
},

get_public_tweets:
function get_public_tweets(tweets) {
    return $($.grep(tweets, function (obj, i) {    
        return $(obj).attr('reply_name') == ''; 
    }));
},

apply_filter:
function apply_filter() {
    switch (ui.HomeTabs.current_filter_name) {
    case '#all':
        $('#home_timeline_tweet_block .card:hidden').show();
    break;
    case '#public':
        ui.HomeTabs.get_non_public_tweets(
            $('#home_timeline_tweet_block .card:visible')
        ).hide();
        ui.HomeTabs.get_public_tweets(
            $('#home_timeline_tweet_block .card:hidden')
        ).show();
    break;
    case '#conversation':
        ui.HomeTabs.get_public_tweets(
            $('#home_timeline_tweet_block .card:visible')
        ).hide();
        ui.HomeTabs.get_non_public_tweets(
            $('#home_timeline_tweet_block .card:hidden')
        ).show();
    break;
    default:
    break;
    }
}
};