/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2018 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(["sap/f/library","sap/base/security/encodeXML","sap/ui/core/IconPool"],function(l,e,I){"use strict";var s={"1x1":{icon:true},"2x1":{icon:false,title:true,subtitle:true},"4x1":{icon:true,title:true,subtitle:true,status:true},"2x2":{icon:true,title:true,subtitle:true,status:false},"*x*":{icon:true,title:true,subtitle:true,status:true,content:true}};var C={};C.render=function(r,c){var S=C.getSizeSettings(c),R=c.getRaster(),h=c.getHorizontalSize(),v=c.getVerticalSize();r.write("");C.renderHeaderSection(r,c,S);if(S.content){r.write("");C.renderContentSection(r,c);}r.write("");};C.renderHeaderSection=function(r,c,S){r.write("");};C.renderHeaderIcon=function(r,c){var i=c.getIcon(),v=I.getIconInfo(c.getIcon(),undefined,"mixed"),b=false,a=c.getIconColor()||c.getColor(),d=c.getIconBackgroundColor();if(v instanceof Promise){v.then(c.invalidate.bind(c));}else if(v){b=true;}if(a){r.addStyle("color",a);}if(d){r.addStyle("background-color",d);}r.write("");r.write("");};C.renderContentSection=function(r,c){r.write("");r.renderControl(c.getAggregation("_content"));r.write("");};C.getSizeSettings=function(c){var v=c.getVerticalSize(),h=c.getHorizontalSize(),S=s[h+"x"+v]||s["*x*"];S.vertical=v;S.horizontal=h;return S;};return C;},true);