function Xa(){this.Init()}m("AdfDropTarget",Xa);r.v(Xa);Xa.prototype.Init=function(){Xa.h.Init.call(this);this.gb=null};r.a("AdfDropTarget.prototype.Init",{Init:Xa.prototype.Init});Xa.prototype.f=function(){return this.gb};r.a("AdfDropTarget.prototype.getComponent",{f:Xa.prototype.f});Xa.prototype.Ga=function(){return Xa.h.Ga.call(this)+"[source component:"+this.gb+"]"};r.a("AdfDropTarget.prototype.toDebugString",{Ga:Xa.prototype.Ga});
Xa.prototype.dO=function(a,b,d,e){v.l.finer("dragEnter:",this);b=this.FA(a,b,d,e);b!=Ia.Ob&&this.cba(a,b,d,e);return b};r.a("AdfDropTarget.prototype.acceptDragEnter",{dO:Xa.prototype.dO});Xa.prototype.Ji=function(){v.l.finer("dragExit:",this)};r.a("AdfDropTarget.prototype.dragExit",{Ji:Xa.prototype.Ji});Xa.prototype.eO=function(a,b,d,e){v.l.finest("dragOver:",this);return this.FA(a,b,d,e)};r.a("AdfDropTarget.prototype.acceptDragOver",{eO:Xa.prototype.eO});
Xa.prototype.mi=function(a,b,d,e){u.assert(b!=Ia.Ob);v.l.finer("drop:",this);var f=this.gb,g=f.o().hP(f);d-=g.x;e-=g.y;(new ub(f,a.kf(),a.ol(),b,d,e)).F();return Ia.Ob};r.a("AdfDropTarget.prototype.drop",{mi:Xa.prototype.mi});Xa.prototype.aRa=function(a,b,d,e){v.l.finest("dropActionChanged:",this," proposed:",b);return this.FA(a,b,d,e)};r.a("AdfDropTarget.prototype.acceptDropActionChanged",{aRa:Xa.prototype.aRa});
Xa.prototype.wq=function(a,b,d){var e=a.Sp("DropTarget:flavorAcceptance");null==e&&(e=this.xba(a),a.tv("DropTarget:flavorAcceptance",e));u.dc(e);return e?d&b?d:b&Ia.eh?Ia.eh:b&Ia.Gh?Ia.Gh:b&Ia.Rs?Ia.Rs:Ia.Ob:Ia.Ob};r.a("AdfDropTarget.prototype.AcceptDrag",{wq:Xa.prototype.wq});Xa.prototype.xba=function(a){var b=this.sf(a);u.og(b);var d=b?b.length:0;a=a.ol();for(var e=0;e<d;e++)if(a.EP(b[e]))return!0;return!1};r.a("AdfDropTarget.prototype.CalculateFlavorAcceptance",{xba:Xa.prototype.xba});
Xa.prototype.cba=function(){};r.a("AdfDropTarget.prototype.AcceptedDragEnter",{cba:Xa.prototype.cba});Xa.prototype.Og=function(){return Ia.sz};r.a("AdfDropTarget.prototype.GetAllowedActions",{Og:Xa.prototype.Og});Xa.prototype.sf=function(){return null};r.a("AdfDropTarget.prototype.GetAllowedFlavors",{sf:Xa.prototype.sf});Xa.prototype.Rt=function(a){this.gb=a};r.a("AdfDropTarget.prototype.__setComponent",{Rt:Xa.prototype.Rt});
Xa.prototype.FA=function(a,b,d,e){u.Da(d);u.Da(e);var f=this.Og()&a.sP();return f?this.wq(a,f,b,d,e):Ia.Ob};