define(["itemsTab","cardBuilder","layoutManager","globalize","listView","emby-itemscontainer"],function(ItemsTab,cardBuilder,layoutManager,globalize,listView){"use strict";function GameSystemsTab(view,params){ItemsTab.call(this,view,params)}return Object.assign(GameSystemsTab.prototype,ItemsTab.prototype),GameSystemsTab.prototype.getItemsHtml=function(items){var settings=(this.mode,this.getViewSettings());if("list"===settings.imageType)return listView.getListViewHtml({items:items});var shape,preferThumb,preferDisc;"banner"===settings.imageType?shape="banner":"disc"===settings.imageType?(shape="square",preferDisc=!0):"thumb"===settings.imageType?(shape="backdrop",preferThumb=!0):shape="auto";return cardBuilder.getCardsHtml(items,{items:items,shape:shape,centerText:!0,preferThumb:preferThumb,preferDisc:preferDisc,overlayMoreButton:!layoutManager.tv,showTitle:settings.showTitle,showYear:settings.showYear,overlayText:!settings.showTitle,cardLayout:!1})},GameSystemsTab.prototype.getSettingsKey=function(){return ItemsTab.prototype.getSettingsKey.call(this)+"-gamesystems"},GameSystemsTab.prototype.getVisibleViewSettings=function(){return["showTitle","imageType"]},GameSystemsTab.prototype.getItemTypes=function(){return["GameSystem"]},GameSystemsTab});