//>>built define("../_base/array ../_base/declare ../_base/kernel ../_base/lang ../_base/window ../dom ../dom-class ../dom-construct ../Evented ../has ../on ../query ../touch ./common".split(" "),function(q,l,r,g,v,n,f,e,t,w,h,u,p,d){l=l("dojo.dnd.Container",t,{skipForm:!1,allowNested:!1,constructor:function(a,b){this.node=n.byId(a);b||(b={});this.creator=b.creator||null;this.skipForm=b.skipForm;this.parent=b.dropParent&&n.byId(b.dropParent);this.map={};this.current=null;this.containerState="";f.add(this.node, "dojoDndContainer");b&&b._skipStartup||this.startup();this.events=[h(this.node,p.over,g.hitch(this,"onMouseOver")),h(this.node,p.out,g.hitch(this,"onMouseOut")),h(this.node,"dragstart",g.hitch(this,"onSelectStart")),h(this.node,"selectstart",g.hitch(this,"onSelectStart"))]},creator:function(){},getItem:function(a){return this.map[a]},setItem:function(a,b){this.map[a]=b},delItem:function(a){delete this.map[a]},forInItems:function(a,b){b=b||r.global;var c=this.map,m=d._empty,k;for(k in c)k in m||a.call(b, c[k],k,this);return b},clearItems:function(){this.map={}},getAllNodes:function(){return u((this.allowNested?"":"\x3e ")+".dojoDndItem",this.parent)},sync:function(){var a={};this.getAllNodes().forEach(function(b){if(b.id){var c=this.getItem(b.id);if(c){a[b.id]=c;return}}else b.id=d.getUniqueId();var c=b.getAttribute("dndType"),m=b.getAttribute("dndData");a[b.id]={data:m||b.innerHTML,type:c?c.split(/\s*,\s*/):["text"]}},this);this.map=a;return this},insertNodes:function(a,b,c){this.parent.firstChild? b?c||(c=this.parent.firstChild):c&&(c=c.nextSibling):c=null;var d;if(c)for(b=0;b