!function(n){function t(t){for(var o,u,a=t[0],l=t[1],f=t[2],c=0,s=[];c<a.length;c++)u=a[c],Object.prototype.hasOwnProperty.call(r,u)&&r[u]&&s.push(r[u][0]),r[u]=0;for(o in l)Object.prototype.hasOwnProperty.call(l,o)&&(n[o]=l[o]);for(p&&p(t);s.length;)s.shift()();return i.push.apply(i,f||[]),e()}function e(){for(var n,t=0;t<i.length;t++){for(var e=i[t],o=!0,a=1;a<e.length;a++){var l=e[a];0!==r[l]&&(o=!1)}o&&(i.splice(t--,1),n=u(u.s=e[0]))}return n}var o={},r={17:0},i=[];function u(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,u),e.l=!0,e.exports}u.m=n,u.c=o,u.d=function(n,t,e){u.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},u.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},u.t=function(n,t){if(1&t&&(n=u(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(u.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)u.d(e,o,function(t){return n[t]}.bind(null,o));return e},u.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return u.d(t,"a",t),t},u.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},u.p="/dist/";var a=window.webpackJsonp=window.webpackJsonp||[],l=a.push.bind(a);a.push=t,a=a.slice();for(var f=0;f<a.length;f++)t(a[f]);var p=l;i.push([105,0]),e()}({105:function(n,t,e){"use strict";function o(n,t,e,o,r,i,u){try{var a=n[i](u),l=a.value}catch(n){return void e(n)}a.done?t(l):Promise.resolve(l).then(o,r)}function r(n){return function(){var t=this,e=arguments;return new Promise(function(r,i){var u=n.apply(t,e);function a(n){o(u,r,i,a,l,"next",n)}function l(n){o(u,r,i,a,l,"throw",n)}a(void 0)})}}CloudCmd.Upload=t;var i=e(15),u=e(1),a=e(37),l=e(3);function f(){return(f=r(function*(){u.show.load("top");var n=yield i.get("upload"),t=l("div",{innerHTML:n});CloudCmd.View.show(t,{autoSize:!0,afterShow:c});var e=['"Droid Sans Mono"','"Ubuntu Mono"','"Consolas"',"monospace"].join(", ");l("style",{dataName:"upload-css",innerText:"[data-name=js-upload-file-button] {\n                      font-family: ".concat(e,";\n                      font-size: 16px;\n                      margin: 10px 0 10px 0;\n                   }")})})).apply(this,arguments)}function p(){CloudCmd.View.hide()}function c(){var n=DOM.getByDataName("js-upload-file-button");u.hide(),DOM.Events.add("change",n,function(n){var t=n.target.files;p(),a(t)})}n.exports.init=r(function*(){u.show.load("top"),yield CloudCmd.View()}),n.exports.show=function(){return f.apply(this,arguments)},n.exports.hide=p}});
//# sourceMappingURL=upload.js.map