!function(e){function t(t){for(var r,u,l=t[0],d=t[1],f=t[2],a=0,p=[];a<l.length;a++)u=l[a],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&p.push(o[u][0]),o[u]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(t);p.length;)p.shift()();return i.push.apply(i,f||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,l=1;l<n.length;l++){var d=n[l];0!==o[d]&&(r=!1)}r&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var r={},o={6:0},i=[];function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=e,u.c=r,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)u.d(n,r,function(t){return e[t]}.bind(null,r));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/dist/";var l=window.webpackJsonp=window.webpackJsonp||[],d=l.push.bind(l);l.push=t,l=l.slice();for(var f=0;f<l.length;f++)t(l[f]);var c=d;i.push([89,0]),n()}({89:function(e,t,n){"use strict";function r(e,t,n,r,o,i,u){try{var l=e[i](u),d=l.value}catch(e){return void n(e)}l.done?t(d):Promise.resolve(d).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var u=e.apply(t,n);function l(e){r(u,o,i,l,d,"next",e)}function d(e){r(u,o,i,l,d,"throw",e)}l(void 0)})}}CloudCmd.EditFileVim=t;var i=n(17),u=CloudCmd.Key,l={bindKeys:!1,beforeClose:function(){i.rmKey(f),CloudCmd.EditFile.isChanged()}};function d(){CloudCmd.Edit.hide()}function f(e){var t=e.keyCode;e.shiftKey&&t===u.ESC&&(e.preventDefault(),d())}e.exports.init=o(function*(){yield CloudCmd.EditFile()}),e.exports.show=function(){i.addKey(f),CloudCmd.EditFile.show(l).getEditor().setKeyMap("vim")},e.exports.hide=d}});
//# sourceMappingURL=edit-file-vim.js.map