text: /*!
   * UI development toolkit for HTML5 (OpenUI5)
   * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  sap.ui.define(['jquery.sap.global','sap/ui/core/theming/Parameters','./ListItemBaseRenderer'],function(q,P,L){"use strict";var a={};a.ModeOrder={None:0,Delete:1,MultiSelect:-1,SingleSelect:1,SingleSelectLeft:-1,SingleSelectMaster:0};a.render=function(r,c){r.write("<div");r.addClass("sapMList");r.writeControlData(c);if(c.getInset()){r.addClass("sapMListInsetBG");}if(c.getWidth()){r.addStyle("width",c.getWidth());}if(c.getBackgroundDesign){r.addClass("sapMListBG"+c.getBackgroundDesign());}var t=c.getTooltip_AsString();if(t){r.writeAttributeEscaped("title",t);}this.renderContainerAttributes(r,c);r.writeStyles();r.writeClasses();r.write(">");var h=c.getHeaderText();var H=c.getHeaderToolbar();if(H){H.setDesign(sap.m.ToolbarDesign.Transparent,true);H.addStyleClass("sapMListHdrTBar");r.renderControl(H);}else if(h){r.write("<header class='sapMListHdr'");r.writeAttribute("id",c.getId("header"));r.write(">");r.writeEscaped(h);r.write("</header>");}var I=c.getInfoToolbar();if(I){I.setDesign(sap.m.ToolbarDesign.Info,true);I.addStyleClass("sapMListInfoTBar");r.renderControl(I);}var b=c.getItems(),s=c.getShowNoData(),R=c.shouldRenderItems()&&b.length,T=c.getKeyboardMode()==sap.m.ListKeyboardMode.Edit?-1:0,u=c.getGrowingDirection()==sap.m.ListGrowingDirection.Upwards&&c.getGrowing();if(u){this.renderGrowing(r,c);}if(R||s){this.renderDummyArea(r,c,"before",-1);}this.renderListStartAttributes(r,c);r.writeAccessibilityState(c,this.getAccessibilityState(c));r.addClass("sapMListUl");if(c._iItemNeedsHighlight){r.addClass("sapMListHighlight");}r.writeAttribute("id",c.getId("listUl"));if(R||s){r.writeAttribute("tabindex",T);}r.addClass("sapMListShowSeparators"+c.getShowSeparators());r.addClass("sapMListMode"+c.getMode());c.getInset()&&r.addClass("sapMListInset");r.writeClasses();r.writeStyles();r.write(">");this.renderListHeadAttributes(r,c);if(R){if(u){b.reverse();}for(var i=0;i<b.length;i++){r.renderControl(b[i]);}}if(!R&&s){this.renderNoData(r,c);}this.renderListEndAttributes(r,c);if(R||s){this.renderDummyArea(r,c,"after",T);}if(!u){this.renderGrowing(r,c);}if(c.getFooterText()){r.write("<footer class='sapMListFtr'");r.writeAttribute("id",c.getId("footer"));r.write(">");r.writeEscaped(c.getFooterText());r.write("</footer>");}r.write("</div>");};a.renderContainerAttributes=function(r,c){};a.renderListHeadAttributes=function(r,c){};a.renderListStartAttributes=function(r,c){r.write("<ul");c.addNavSection(c.getId("listUl"));};a.getAriaRole=function(c){return"listbox";};a.getAriaLabelledBy=function(c){var h=c.getHeaderToolbar();if(h){return h.getTitleId();}if(c.getHeaderText()){return c.getId("header");}};a.getAriaDescribedBy=function(c){if(c.getFooterText()){return c.getId("footer");}};a.getAccessibilityState=function(c){return{role:this.getAriaRole(c),multiselectable:c._bSelectionMode?c.getMode()=="MultiSelect":undefined,labelledby:{value:this.getAriaLabelledBy(c),append:true},describedby:{value:this.getAriaDescribedBy(c),append:true}};};a.renderListEndAttributes=function(r,c){r.write("</ul>");};a.renderNoData=function(r,c){r.write("<li");r.writeAttribute("tabindex",c.getKeyboardMode()==sap.m.ListKeyboardMode.Navigation?-1:0);r.writeAttribute("id",c.getId("nodata"));r.addClass("sapMLIB sapMListNoData sapMLIBTypeInactive");L.addFocusableClasses.call(L,r);r.writeClasses();r.write(">");r.write("<div");r.addClass("sapMListNoDataText");r.writeAttribute("id",c.getId("nodata-text"));r.writeClasses();r.write(">");r.writeEscaped(c.getNoDataText(true));r.write("</div>");r.write("</li>");};a.renderDummyArea=function(r,c,A,t){r.write("<div");r.writeAttribute("id",c.getId(A));r.writeAttribute("tabindex",t);if(sap.ui.Device.system.desktop){r.addClass("sapMListDummyArea").writeClasses();}r.write("></div>");};a.renderGrowing=function(r,c){var g=c._oGrowingDelegate;if(!g){return;}g.render(r);};return a;},true);
  