//>>built
define("dijit/_KeyNavContainer","dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/_base/kernel dojo/keys dojo/_base/lang ./registry ./_Container ./_FocusMixin ./_KeyNavMixin".split(" "),function(d,h,t,k,f,b,l,m,n,p){return h("dijit._KeyNavContainer",[n,p,m],{connectKeyNavHandlers:function(a,g){var c=this._keyNavCodes={},q=b.hitch(this,"focusPrev"),r=b.hitch(this,"focusNext");d.forEach(a,function(e){c[e]=q});d.forEach(g,function(e){c[e]=r});c[f.HOME]=b.hitch(this,"focusFirstChild");c[f.END]=
b.hitch(this,"focusLastChild")},startupKeyNavChildren:function(){k.deprecated("startupKeyNavChildren() call no longer needed","","2.0")},startup:function(){this.inherited(arguments);d.forEach(this.getChildren(),b.hitch(this,"_startupChild"))},addChild:function(a,g){this.inherited(arguments);this._startupChild(a)},_startupChild:function(a){a.set("tabIndex","-1")},_getFirst:function(){var a=this.getChildren();return a.length?a[0]:null},_getLast:function(){var a=this.getChildren();return a.length?a[a.length-
1]:null},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1))},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),!0)},childSelector:function(a){return(a=l.byNode(a))&&a.getParent()==this}})});