<commit_before>// Written by <NAME>
(function() {
"use strict";

// `convoList`
// Controls the convo-list (conversation list pane), allowing for display of the
// conversations and bulk/singular book-keeping operations upon conversations.
//
// @pre     : the user must be logged-in
//
// @attr    : query             : String            : the search query
// @attr    : isSearch          : Boolean           : whether a search is being
// performed or not
// @attr    : filters           : Object            : the list of conversation
// filters
// @attr    : curFilter         : String            : the current filter being
// used [ default : the first defined filter in `filters` ]
// @attr    : curPage           : Number            : the current page being
// displayed up to in the conversation list
// @attr    : numItemsPerPage   : Number            : the number of
// conversations to display per page
// @attr    : convos            : Conversation[]    : the conversation objects
// @attr    : selectedConvos    : String[]          : the ids of currently
// selected conversation objects
//
// @method: loadConversations(pg)               : Loads the conversations from
// the server using the conersation service.
// @method: searchConvos()                      : Loads the conversations from
// the server using the conersation service.
// @method: loadNextPage()                      : Load the next page of
// conversation items (either during regular browsing or search).
// @method: byStatus(convo)                     : Works with `ng-repeat |
// filter` to filter the shown conversations in the list.
// @method: toggleSelect(convoId)               : Selects (or de-selects) an
// item depending on whether it is currently being selected.
// @method: selectAll()                         : Selects all the current
// conversations in scope.
// @method: deselectAll()                       : De-Selects all the
// conversations currently selected.
// @method: listButtonsDisabled()               : Checks whether the
// conversation list items shoudl be disabled or not.
// @method: openMarkModal()                     : Opens the 'Mark As' modal for
// marking a conversation/several conversations as a certain status (i.e. read,
// replied).
// @method: closeMarkModal()                    : Closes the 'Mark As' modal for
// marking a conversation/several conversations as a certain status (i.e. read,
// replied).
// @method: markConvos(convoIds, status)        : Uses the conversation list
// service to mark the given conversations (convoIds) with the given status
// (i.e. read/unread, unreplied/replied).
// @method: openMoveModal()                     : Opens the 'Move To' modal for
// selecting a folder (i.e inbox, trash, etc.) to move a conversation/several
// conversations to.
// @method: closeMoveModal()                    : Closes the 'Move To' modal for<commit_msg>Add default values for the convoList attrs<commit_after>// Written by <NAME>
(function() {
"use strict";

// `convoList`
// Controls the convo-list (conversation list pane), allowing for display of the
// conversations and bulk/singular book-keeping operations upon conversations.
//
// @pre     : the user must be logged-in
//
// @attr    : query             : String            : the search query [default: '']
// @attr    : isSearch          : Boolean           : whether a search is being
// performed or not [default: false]
// @attr    : filters           : Object            : the list of conversation
// filters
// @attr    : curFilter         : String            : the current filter being
// used [ default : the first defined filter in `filters` ]
// @attr    : curPage           : Number            : the current page being
// displayed up to in the conversation list [default: 0]
// @attr    : numItemsPerPage   : Number            : the number of
// conversations to display per page [default: 25]
// @attr    : convos            : Conversation[]    : the conversation objects [default: []]
// @attr    : selectedConvos    : String[]          : the ids of currently [default: []]
// selected conversation objects
//
// @method: loadConversations(pg)               : Loads the conversations from
// the server using the conersation service.
// @method: searchConvos()                      : Loads the conversations from
// the server using the conersation service.
// @method: loadNextPage()                      : Load the next page of
// conversation items (either during regular browsing or search).
// @method: byStatus(convo)                     : Works with `ng-repeat |
// filter` to filter the shown conversations in the list.
// @method: toggleSelect(convoId)               : Selects (or de-selects) an
// item depending on whether it is currently being selected.
// @method: selectAll()                         : Selects all the current
// conversations in scope.
// @method: deselectAll()                       : De-Selects all the
// conversations currently selected.
// @method: listButtonsDisabled()               : Checks whether the
// conversation list items shoudl be disabled or not.
// @method: openMarkModal()                     : Opens the 'Mark As' modal for
// marking a conversation/several conversations as a certain status (i.e. read,
// replied).
// @method: closeMarkModal()                    : Closes the 'Mark As' modal for
// marking a conversation/several conversations as a certain status (i.e. read,
// replied).
// @method: markConvos(convoIds, status)        : Uses the conversation list
// service to mark the given conversations (convoIds) with the given status
// (i.e. read/unread, unreplied/replied).
// @method: openMoveModal()                     : Opens the 'Move To' modal for
// selecting a folder (i.e inbox, trash, etc.) to move a conversation/several
// conversations to.
// @method: closeMoveModal()                    : Closes the 'Move To' modal for
{'fraction_non_alphanumeric': 0.10238215914850482, 'fraction_numerical': 0.0005068423720223011, 'mean_word_length': 2.143919277748274, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5209658', 'n_tokens_mistral': 1492, 'n_tokens_neox': 1449, 'n_words': 612}