AdfDhtmlCommonFlashPeer.prototype.Hk=function(a,b){var c=A_Pb(this,this.getComponent(),a);if("HTML5"==this.I()){if(this.c&&this.c.Hk)return this.c.Hk(c.x,c.y,b)}else{var d=this.pa();if(d&&d.isDragAvailable)return d.isDragAvailable(c.x,c.y,b)}return A_};
AdfDhtmlCommonFlashPeer.prototype.getDragTransferable=function(a,b){var c=A_Pb(this,a,b);if("HTML5"==this.I()){if(this.c&&this.c.getDragTransferable)return this.c.getDragTransferable(c.x,c.y)}else{var d=this.pa();if(d&&d.getDragTransferable)return d.getDragTransferable(c.x,c.y)}return A_};A_h("AdfDhtmlCommonFlashPeer.prototype.getDragTransferable",AdfDhtmlCommonFlashPeer.prototype.getDragTransferable);AdfDhtmlCommonFlashPeer.prototype.cf=A_d();
AdfDhtmlCommonFlashPeer.prototype.getDragOverFeedback=function(a,b){var c=A_Pb(this,a,b);if("HTML5"==this.I()){if(this.c&&this.c.getDragOverFeedback){var c=this.c.getDragOverFeedback(c.x,c.y),d=dvt.OQ.XJ(c,this.c.Rh().getStage());this.c.vr&&this.c.vr(c);return d}}else if((d=this.pa())&&d.getDragOverFeedback){d.disableEvents&&d.disableEvents;var e=AdfDhtmlCommonFlashPeer.gp();return d.getDragOverFeedback(c.x,c.y,e)}return A_};A_h("AdfDhtmlCommonFlashPeer.prototype.getDragOverFeedback",AdfDhtmlCommonFlashPeer.prototype.getDragOverFeedback);
AdfDhtmlCommonFlashPeer.prototype.sn=function(a,b){var c=A_Pb(this,a,b);if("HTML5"==this.I()){if(this.c&&this.c.sn)return this.c.sn(c.x,c.y)}else{var d=this.pa();if(d&&d.getDragOffset)return d.getDragOffset(c.x,c.y)}return A_};A_h("AdfDhtmlCommonFlashPeer.prototype.getDragOffset",AdfDhtmlCommonFlashPeer.prototype.sn);A_g=AdfDhtmlCommonFlashPeer.prototype;
A_g.Zr=function(a,b){if("HTML5"==this.I()){if(this.c&&this.c.Zr)return this.c.Zr(a,b)}else{var c=this.pa();if(c&&c.getPointerOffset)return c.getPointerOffset(a,b)}return{x:a,y:b}};A_g.dragDropEnd=function(){if("HTML5"==this.I())this.c&&this.c.dragDropEnd&&this.c.dragDropEnd();else{var a=this.pa();a&&a.dragDropEnd&&(a.enableEvents&&a.enableEvents(),a.dragDropEnd())}};
A_g.Gh=function(a,b,c){if("HTML5"==this.I()){if(this.c&&this.c.Gh)return this.c.Gh(a,b,c)}else{var d=this.pa();if(d&&d.acceptDrag)return(a=d.acceptDrag(a,b,c))&&d.disableEvents&&d.disableEvents(),a}return A_};A_g.dragEnter=function(){if("HTML5"==this.I())this.c&&this.c.dragEnter&&this.c.dragEnter();else{var a=this.pa();a&&a.dragEnter&&a.dragEnter()}};
A_g.dragExit=function(){if("HTML5"==this.I())this.c&&this.c.dragExit&&this.c.dragExit();else{var a=this.pa();a&&a.dragExit&&(a.enableEvents&&a.enableEvents(),a.dragExit())}};A_g.tn=function(a,b){if("HTML5"==this.I()){if(this.c&&this.c.tn)return this.c.tn(a,b)}else{var c=this.pa();if(c&&c.getDropSite)return c.getDropSite(a,b)}this.dragExit();return A_};A_g.dy=A_d();
A_g.Qg=function(a,b){var c=this.getComponent();a&&(c.getDragSource()||c.setDragSource(new A_G(AdfDnDContext.ACTION_COPY,AdfDnDContext.ACTION_COPY)),A_Qb(c.getDragSource(),a));b&&(c.getDropTarget()||c.setDropTarget(new A_H),A_Rb(c.getDropTarget(),b))};function A_Pb(a,b,c){c=AdfAgent.getAgent().getMousePosition(c.getNativeEvent());a=a.getPagePosition(b);return{x:c.x-a.x,y:c.y-a.y}}AdfDhtmlCommonFlashPeer.oB=function(a){a=AdfPage.PAGE.findComponent(a);if(a!=A_){a=a.getPeer();var b=a.dw;a.dw=A_;return b}};
A_h("AdfDhtmlCommonFlashPeer.GetFlashFeedback",AdfDhtmlCommonFlashPeer.oB);AdfDhtmlCommonFlashPeer.UC=function(a,b){a!=A_&&(a.getPeer().dw=b)};AdfDhtmlCommonFlashPeer.gp=function(){return AdfAgent.getAgent().getPlatform()==AdfAgent.IE_PLATFORM&&8>AdfDhtmlCommonFlashPeer.oG()?A_c:A_b};AdfDhtmlCommonFlashPeer.oG=function(){var a=-1;"Microsoft Internet Explorer"==navigator.appName&&/MSIE ([0-9]+)/.exec(navigator.userAgent)!=A_&&(a=parseFloat(RegExp.$1));return a};
AdfDhtmlCommonFlashPeer.VC=function(a){a=AdfPage.PAGE.findComponent(a);if(a!=A_){a=a.getPeer();var b=a.CR;if(b){var c=A_;switch(b){case AdfDnDContext.ACTION_COPY:c="copy";break;case AdfDnDContext.ACTION_MOVE:c="move";break;case AdfDnDContext.ACTION_LINK:c="link"}c!=A_&&(b=AdfAgent.AGENT.getCursor(c),AdfAgent.AGENT.setCursor(a.getDomElement(),b))}}};A_h("AdfDhtmlCommonFlashPeer.ShowDragCursor",AdfDhtmlCommonFlashPeer.VC);AdfDhtmlCommonFlashPeer.prototype.rz=A_f(A_b);