define(["itemsTab","layoutManager","globalize","listView","emby-itemscontainer"],function(ItemsTab,layoutManager,globalize,listView){"use strict";function MoviesTab(view,params){this.enableAlphaPicker=!0,ItemsTab.call(this,view,params)}return Object.assign(MoviesTab.prototype,ItemsTab.prototype),MoviesTab.prototype.getViewSettings=function(){var settings=ItemsTab.prototype.getViewSettings.call(this);return"favorites"===this.mode&&(settings.groupItemsIntoCollections=!1),settings},MoviesTab.prototype.getSettingsKey=function(){return ItemsTab.prototype.getSettingsKey.call(this)+"-movies"},MoviesTab.prototype.getCommunityRatingSortOption=function(){return{name:globalize.translate("ImdbRating"),reverseName:globalize.translate("ImdbRatingHighToLow"),value:"CommunityRating,SortName"}},MoviesTab.prototype.getVisibleViewSettings=function(){var settings=["showTitle","showYear","imageType"];return this.apiClient.isMinServerVersion("3.6.0.43")&&settings.push("groupItemsIntoCollections"),settings},MoviesTab.prototype.getItemTypes=function(){return["Movie"]},MoviesTab.prototype.getVisibleFilters=function(){return["Genres","Studios","Tags","OfficialRatings","Containers","Years","AudioCodecs","VideoCodecs","SubtitleCodecs","IsUnplayed","IsPlayed","IsFavorite","IsResumable","HasTrailer","HasSpecialFeature","HasThemeSong","HasThemeVideo","VideoType","HasSubtitles","HasOverview","HasImdbId","HasTmdbId","IsLocked"]},MoviesTab});