//>>built
require({cache:{"url:mill/jssupport/layout/layoutMenu/mobileMenu.html":'\x3cdiv\x3e\x3cdiv data-dojo-attach-point\x3d"menuContent" class\x3d"menuContent"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-event\x3d"onclick: toggleView" class\x3d"icon"\x3e\x3cspan\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e'}});
define("mill/jssupport/layout/layoutMenu/MobileMenu","dojo/_base/declare dojo/_base/lang dojo/topic dojo/dom-class dojo/dom-construct dijit/_WidgetBase dijit/_TemplatedMixin dojo/text!mill/jssupport/layout/layoutMenu/mobileMenu.html mill/jssupport/layout/layoutMenu/_LayoutMenuMixin mill/jssupport/layout/layoutMenu/LayoutMenuItem mill/jssupport/layout/_LayoutMixin mill/jssupport/layout/LayoutOverlay".split(" "),function(e,a,f,c,g,h,k,l,m,n,p,q){return mill.registerAlias("office.layout.MobileMenu",
e("mill.jssupport.layout.layoutMenu.MobileMenu",[h,k,m,p],{baseClass:"officeLayoutMobileMenu",templateString:l,state:"external-state",_layoutOverlayWidget:null,postMixInProperties:function(){this.inherited(arguments);this._layoutOverlayWidget=new q({onClick:a.hitch(this,this.toggleView)},document.body.appendChild(document.createElement("div")))},_setStateAttr:function(b){c.remove(this.domNode,["external-state","internal-state"]);c.add(this.domNode,this.state=b)},postCreate:function(){this.inherited(arguments);
this.own(f.subscribe("office.layout.MobileMenu.registerItem",a.hitch(this,this.registerItem)))},toggleView:function(){c.toggle(this.domNode,"officeLayoutMobileMenuActive");this._layoutOverlayWidget.toggleView()},registerItem:function(b){var d=this.inherited(arguments);d=g.create("li",{className:"officeLayoutMenuElem"},d).appendChild(document.createElement("div"));a.mixin(b,{mobileItem:new n(a.mixin(a.clone(b),{onClick:a.hitch(this,this.toggleView)}),d)})}}))});