function nb(a,b,d){ya.isArray(d)||(B.J(d,hb),d=[d]);this.Init(a,b,d)}v("AdfBasicDropTarget",nb);z.l(nb,$a);nb.prototype.Init=function(a,b,d){nb.f.Init.call(this);B.nC(a,"dropHandler function required");B.Ea(b);B.assert(b!=Ka.lb,"allowedActions must be specified");B.assert(0==(b&~Ka.Fv),"Invalid allowedActions:"+b);B.yc(d,"At least one flavor must be allowed");B.J(d[0],hb);this.g$=a;this.rk=b;this.Ct=d};z.a("AdfBasicDropTarget.prototype.Init",{Init:nb.prototype.Init});
nb.prototype.mh=function(a,b,d,e){var f=this.g$;b=f!=n?f.call(this,a,b,d,e):b;B.Ea(b);if(b==Ka.lb)return b;B.assert(0==(b&~Ka.Fv),"Invalid userAction:"+b);return nb.f.mh.call(this,a,b,d,e)};z.a("AdfBasicDropTarget.prototype.drop",{mh:nb.prototype.mh});nb.prototype.ma=function(){var a=nb.f.ma.call(this),b=this.rk;b&&(a+=" allowedActions:"+b.toString(2));return a+=" allowedFlavors:"+this.Ct};z.a("AdfBasicDropTarget.prototype.toDebugString",{ma:nb.prototype.ma});nb.prototype.Je=r("Ct");
z.a("AdfBasicDropTarget.prototype.GetAllowedFlavors",{Je:nb.prototype.Je});nb.prototype.Tf=r("rk");z.a("AdfBasicDropTarget.prototype.GetAllowedActions",{Tf:nb.prototype.Tf});