!function(e){function r(r){for(var n,l,u=r[0],p=r[1],a=r[2],f=0,s=[];f<u.length;f++)l=u[f],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);for(c&&c(r);s.length;)s.shift()();return i.push.apply(i,a||[]),t()}function t(){for(var e,r=0;r<i.length;r++){for(var t=i[r],n=!0,u=1;u<t.length;u++){var p=t[u];0!==o[p]&&(n=!1)}n&&(i.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},i=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/dist/";var u=window.webpackJsonp=window.webpackJsonp||[],p=u.push.bind(u);u.push=r,u=u.slice();for(var a=0;a<u.length;a++)r(u[a]);var c=p;i.push([118,0]),t()}({118:function(e,r,t){"use strict";const n=t(5),o=t(0),i=t(4),{ajax:l}=t(15),u=t(16),p=t(1),{log:a}=CloudCmd,c=o((function(e,r){const{url:t,filename:o}=r,i=n.with(e,o);l({url:t,responseType:"arraybuffer",success:i})}));CloudCmd.Cloud=e.exports,e.exports.init=async()=>{const[e]=await Promise.all([u.get("modules"),i.js("//api.filepicker.io/v2/filepicker.js")]),{key:r}=e.data.FilePicker;filepicker.setKey(r),p.hide()},e.exports.uploadFile=(e,r)=>{filepicker.store(r,{mimetype:"",filename:e},e=>{filepicker.exportFile(e,a,a)})},e.exports.saveFile=e=>{filepicker.pick(c(e))}}});
//# sourceMappingURL=cloud.js.map