//>>built
define("mill/jssupport/layout/layoutMenu/LayoutMenu","dojo/_base/declare dojo/_base/lang dojo/dom-construct dojo/topic dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin mill/jssupport/layout/layoutMenu/_LayoutMenuMixin mill/jssupport/layout/layoutMenu/LayoutMenuItem".split(" "),function(e,b,c,f,g,h,k,l,m){return mill.registerAlias("office.layout.LayoutMenu",e("mill.jssupport.layout.layoutMenu.LayoutMenu",[g,h,k,l],{baseClass:"officeLayoutMenu",templateString:"\x3cdiv\x3e  \x3cdiv data-dojo-type\x3d'office.TranslatableNode' data-dojo-props\x3d'text: \"${officeTitle}\"' class\x3d'larger margin-top-1em'\x3e\x3c/div\x3e  \x3cdiv data-dojo-attach-point\x3d'menuContent'\x3e\x3c/div\x3e  \x3cdiv data-dojo-attach-point\x3d'containerNode'\x3e\x3c/div\x3e\x3c/div\x3e",
officeTitle:"",useLogo:null,buildRendering:function(){this.inherited(arguments);if(this.useLogo){var a=c.create("div",{className:"menu-logo",style:{display:"none"}},this.domNode,"first");c.create("div",{className:"logo"},a);c.create("div",{className:"cabinetTitle",innerHTML:"\u041b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442\x3cbr/\x3e\u0430\u0431\u0438\u0442\u0443\u0440\u0438\u0435\u043d\u0442\u0430 \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0443\u0440\u044b"},
a)}},postCreate:function(){this.inherited(arguments);this.own(f.subscribe("office.layout.LayoutMenu.registerItem",b.hitch(this,this.registerItem)))},registerItem:function(a){if(!a.region||this.region===a.region){var d=this.inherited(arguments);d=c.create("li",{className:"officeLayoutMenuElem"},d).appendChild(document.createElement("div"));b.mixin(a,{layoutItem:new m(b.mixin(b.clone(a),{}),d)})}}}))});