//>>built
define("dijit/tree/_dndContainer","dojo/aspect dojo/_base/declare dojo/dom-class dojo/_base/lang dojo/on dojo/touch".split(" "),function(g,l,d,c,f,h){return l("dijit.tree._dndContainer",null,{constructor:function(a,b){this.tree=a;this.node=a.domNode;c.mixin(this,b);this.containerState="";d.add(this.node,"dojoDndContainer");this.events=[f(this.node,h.enter,c.hitch(this,"onOverEvent")),f(this.node,h.leave,c.hitch(this,"onOutEvent")),g.after(this.tree,"_onNodeMouseEnter",c.hitch(this,"onMouseOver"),
!0),g.after(this.tree,"_onNodeMouseLeave",c.hitch(this,"onMouseOut"),!0),f(this.node,"dragstart, selectstart",function(e){e.preventDefault()})]},destroy:function(){for(var a;a=this.events.pop();)a.remove();this.node=this.parent=null},onMouseOver:function(a){this.current=a},onMouseOut:function(){this.current=null},_changeState:function(a,b){var e="dojoDnd"+a,k=a.toLowerCase()+"State";d.replace(this.node,e+b,e+this[k]);this[k]=b},_addItemClass:function(a,b){d.add(a,"dojoDndItem"+b)},_removeItemClass:function(a,
b){d.remove(a,"dojoDndItem"+b)},onOverEvent:function(){this._changeState("Container","Over")},onOutEvent:function(){this._changeState("Container","")}})});