jQuery||console.log("ERROR: You must include jQuery before you include jQuery.mapHotKeys.");!jQuery.hotkeys&&console&&console.log("ERROR: You must include jQuery.hotkeys before you include jQuery.mapHotKeys."),function(n){n.fn.mapHotKeys=function(t){var i=n(this);return n(t).each(function(t,r){var u=r.key,f=r.action;i.bind("keydown",u,function(t){return f(r),r.isSequence!==!0&&n(".pending_key").remove(),t.preventDefault(),!1})}),n(this)};n.mapHotKeys={};var t=function(t,i,r){n(r).bind("keypress",null,function(t){return t.which!=i&&n(".pending_key").remove(),!0})},i=function(i,r,u,f){var o="__mapHotKeys__pending_key__"+i+"_"+r,e;t(i,r,u);e=n("#"+o);e.length===0&&(e=n("<div class='pending_key' style='display: none' id='"+o+"'><div>"),n("body").append(e));e.data("key",i);n(u).mapHotKeys([{key:r,action:function(t){var r=n("#"+o),u=r.data("key");r.data("key","");u===i&&(f(t),n(".pending_key").remove())}}])};n.mapHotKeys.createSequence=function(n,t,r,u){return{key:n,isSequence:!0,action:function(){i(n,t,r,u)}}}}(jQuery);
/*
//# sourceMappingURL=jquery.hotkeymap-1.0.min.js.map
*/