module.exports=function(t,a){function n(t){var a=new CustomEvent("CustomEvent");return a.initCustomEvent(t,!0,!0,null),a.dataTransfer={data:{},setData:function(t,a){this.data[t]=a},getData:function(t){return this.data[t]}},a}function r(t,a,n){return t.dispatchEvent?t.dispatchEvent(n):t.fireEvent?t.fireEvent("on"+a,n):void 0}var e={DRAG_END:"dragend",DRAG_START:"dragstart",DROP:"drop"},d=n(e.DRAG_START);r(t,e.DRAG_START,d);var s=n(e.DROP);s.dataTransfer=d.dataTransfer,r(a,e.DROP,s);var i=n(e.DRAG_END);i.dataTransfer=d.dataTransfer,r(t,e.DRAG_END,i)};