36 lines
536 KiB
JavaScript
36 lines
536 KiB
JavaScript
|
|
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Uppy=e()}}((function(){return function e(t,i,r){function s(o,a){if(!i[o]){if(!t[o]){var l="function"==typeof require&&require;if(!a&&l)return l(o,!0);if(n)return n(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var p=i[o]={exports:{}};t[o][0].call(p.exports,(function(e){return s(t[o][1][e]||e)}),p,p.exports,e,t,i,r)}return i[o].exports}for(var n="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(e,t,i){t.exports=function(e){if("number"!=typeof e||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,i=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),i.length-1);e=Number(e/Math.pow(1024,r));var s=i[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+s:(t?"-":"")+e.toFixed(1)+" "+s}},{}],2:[function(e,t,i){function r(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}t.exports=r,r.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),i=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-i:e+i}return 0|Math.min(e,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(e){this.ms=e},r.prototype.setMax=function(e){this.max=e},r.prototype.setJitter=function(e){this.jitter=e}},{}],3:[function(e,t,i){!function(e){"use strict";i.encode=function(t){var i,r=new Uint8Array(t),s=r.length,n="";for(i=0;i<s;i+=3)n+=e[r[i]>>2],n+=e[(3&r[i])<<4|r[i+1]>>4],n+=e[(15&r[i+1])<<2|r[i+2]>>6],n+=e[63&r[i+2]];return s%3==2?n=n.substring(0,n.length-1)+"=":s%3==1&&(n=n.substring(0,n.length-2)+"=="),n},i.decode=function(t){var i,r,s,n,o,a=.75*t.length,l=t.length,u=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var p=new ArrayBuffer(a),c=new Uint8Array(p);for(i=0;i<l;i+=4)r=e.indexOf(t[i]),s=e.indexOf(t[i+1]),n=e.indexOf(t[i+2]),o=e.indexOf(t[i+3]),c[u++]=r<<2|s>>4,c[u++]=(15&s)<<4|n>>2,c[u++]=(3&n)<<6|63&o;return p}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},{}],4:[function(e,t,i){"use strict";i.byteLength=function(e){var t=u(e),i=t[0],r=t[1];return 3*(i+r)/4-r},i.toByteArray=function(e){var t,i,r=u(e),o=r[0],a=r[1],l=new n(function(e,t,i){return 3*(t+i)/4-i}(0,o,a)),p=0,c=a>0?o-4:o;for(i=0;i<c;i+=4)t=s[e.charCodeAt(i)]<<18|s[e.charCodeAt(i+1)]<<12|s[e.charCodeAt(i+2)]<<6|s[e.charCodeAt(i+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=255&t;2===a&&(t=s[e.charCodeAt(i)]<<2|s[e.charCodeAt(i+1)]>>4,l[p++]=255&t);1===a&&(t=s[e.charCodeAt(i)]<<10|s[e.charCodeAt(i+1)]<<4|s[e.charCodeAt(i+2)]>>2,l[p++]=t>>8&255,l[p++]=255&t);return l},i.fromByteArray=function(e){for(var t,i=e.length,s=i%3,n=[],o=16383,a=0,l=i-s;a<l;a+=o)n.push(p(e,a,a+o>l?l:a+o));1===s?(t=e[i-1],n.push(r[t>>2]+r[t<<4&63]+"==")):2===s&&(t=(e[i-2]<<8)+e[i-1],n.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return n.join("")};for(var r=[],s=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=o.length;a<l;++a)r[a]=o[a],s[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");return-1===i&&(i=t),[i,i===t?0:4-i%4]}function p(e,t,i){for(var s,n,o=[],a=t;a<i;a+=3)s=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[(n=s)>>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n]);return o.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},{}],5:[function(e,t,i){(function(t){(function(){
|
||
|
|
/*!
|
||
|
|
* The buffer module from node.js, for the browser.
|
||
|
|
*
|
||
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
||
|
|
* @license MIT
|
||
|
|
*/
|
||
|
|
"use strict";var t=e("base64-js"),r=e("ieee754");i.Buffer=o,i.SlowBuffer=function(e){+e!=e&&(e=0);return o.alloc(+e)},i.INSPECT_MAX_BYTES=50;var s=2147483647;function n(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=o.prototype,t}function o(e,t,i){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return a(e,t,i)}function a(e,t,i){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var i=0|h(e,t),r=n(i),s=r.write(e,t);s!==i&&(r=r.slice(0,s));return r}(e,t);if(ArrayBuffer.isView(e))return p(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer))return function(e,t,i){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(i||0))throw new RangeError('"length" is outside of buffer bounds');var r;r=void 0===t&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,t):new Uint8Array(e,t,i);return r.__proto__=o.prototype,r}(e,t,i);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return o.from(r,t,i);var s=function(e){if(o.isBuffer(e)){var t=0|c(e.length),i=n(t);return 0===i.length||e.copy(i,0,0,t),i}if(void 0!==e.length)return"number"!=typeof e.length||z(e.length)?n(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return l(e),n(e<0?0:0|c(e))}function p(e){for(var t=e.length<0?0:0|c(e.length),i=n(t),r=0;r<t;r+=1)i[r]=255&e[r];return i}function c(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function h(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var i=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===i)return 0;for(var s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return M(e).length;default:if(s)return r?-1:B(e).length;t=(""+t).toLowerCase(),s=!0}}function d(e,t,i){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return _(this,t,i);case"utf8":case"utf-8":return x(this,t,i);case"ascii":return E(this,t,i);case"latin1":case"binary":return F(this,t,i);case"base64":return k(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,i);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function f(e,t,i){var r=e[t];e[t]=e[i],e[i]=r}function m(e,t,i,r,s){if(0===e.length)return-1;if("string"==typeof i?(r=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),z(i=+i)&&(i=s?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(s)return-1;i=e.length-1}else if(i<0){if(!s)return-1;i=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:g(e,t,i,r,s);if("number"==typeof t)return t&=255,"function"==typeof
|
||
|
|
/*!
|
||
|
|
Copyright (c) 2018 Jed Watson.
|
||
|
|
Licensed under the MIT License (MIT), see
|
||
|
|
http://jedwatson.github.io/classnames
|
||
|
|
*/
|
||
|
|
!function(){"use strict";var e={}.hasOwnProperty;function i(){for(var t=[],r=0;r<arguments.length;r++){var s=arguments[r];if(s){var n=typeof s;if("string"===n||"number"===n)t.push(s);else if(Array.isArray(s)){if(s.length){var o=i.apply(null,s);o&&t.push(o)}}else if("object"===n)if(s.toString===Object.prototype.toString)for(var a in s)e.call(s,a)&&s[a]&&t.push(a);else t.push(s.toString())}}return t.join(" ")}void 0!==t&&t.exports?(i.default=i,t.exports=i):window.classNames=i}()},{}],7:[function(e,t,i){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}void 0!==t&&(t.exports=r),r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function i(){this.off(e,i),t.apply(this,arguments)}return i.fn=t,this.on(e,i),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var s=0;s<r.length;s++)if((i=r[s])===t||i.fn===t){r.splice(s,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),i=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(i){r=0;for(var s=(i=i.slice(0)).length;r<s;++r)i[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],8:[function(e,t,i){
|
||
|
|
/*!
|
||
|
|
* Cropper.js v1.5.7
|
||
|
|
* https://fengyuanchen.github.io/cropperjs
|
||
|
|
*
|
||
|
|
* Copyright 2015-present Chen Fengyuan
|
||
|
|
* Released under the MIT license
|
||
|
|
*
|
||
|
|
* Date: 2020-05-23T05:23:00.081Z
|
||
|
|
*/
|
||
|
|
!function(e,r){"object"==typeof i&&void 0!==t?t.exports=r():(e=e||self).Cropper=r()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function s(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function n(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?s(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}var l="undefined"!=typeof window&&void 0!==window.document,u=l?window:{},p=!(!l||!u.document.documentElement)&&"ontouchstart"in u.document.documentElement,c=!!l&&"PointerEvent"in u,h="cropper",d="all",f="crop",m="move",g="zoom",y="e",v="w",b="s",w="n",S="ne",P="nw",k="se",x="sw",C="".concat(h,"-crop"),E="".concat(h,"-disabled"),F="".concat(h,"-hidden"),_="".concat(h,"-hide"),O="".concat(h,"-invisible"),A="".concat(h,"-modal"),R="".concat(h,"-move"),T="".concat(h,"Action"),U="".concat(h,"Preview"),D="crop",I="move",N="none",B="crop",M="cropend",L="cropmove",j="cropstart",z="dblclick",H=c?"pointerdown":p?"touchstart":"mousedown",q=c?"pointermove":p?"touchmove":"mousemove",$=c?"pointerup pointercancel":p?"touchend touchcancel":"mouseup",V="ready",W="resize",X="wheel",G="zoom",K="image/jpeg",Y=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,Q=/^data:/,J=/^data:image\/jpeg;base64,/,Z=/^img|canvas$/i,ee={viewMode:0,dragMode:D,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},te=Number.isNaN||u.isNaN;function ie(e){return"number"==typeof e&&!te(e)}var re=function(e){return e>0&&e<1/0};function se(e){return void 0===e}function ne(t){return"object"===e(t)&&null!==t}var oe=Object.prototype.hasOwnProperty;function ae(e){if(!ne(e))return!1;try{var t=e.constructor,i=t.prototype;return t&&i&&oe.call(i,"isPrototypeOf")}catch(e){return!1}}function le(e){return"function"==typeof e}var ue=Array.prototype.slice;function pe(e){return Array.from?Array.from(e):ue.call(e)}function ce(e,t){return e&&le(t)&&(Array.isArray(e)||ie(e.length)?pe(
|
||
|
|
/**
|
||
|
|
* Takes a string with placeholder variables like `%{smart_count} file selected`
|
||
|
|
* and replaces it with values from options `{smart_count: 5}`
|
||
|
|
*
|
||
|
|
* @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
|
||
|
|
* taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
|
||
|
|
*
|
||
|
|
* @param {string} phrase that needs interpolation, with placeholders
|
||
|
|
* @param {object} options with values that will be used to replace placeholders
|
||
|
|
* @returns {any[]} interpolated
|
||
|
|
*/function u(e,t){const i=/\$/g;let r=[e];if(null==t)return r;for(const e of Object.keys(t))if("_"!==e){let s=t[e];"string"==typeof s&&(s=i[Symbol.replace](s,"$$$$")),r=l(r,new RegExp(`%\\{${e}\\}`,"g"),s)}return r}function p(e){if(null==e||!e.strings)return;const t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}t.exports=(r=o("apply"),class{constructor(e){Object.defineProperty(this,r,{value:p}),this.locale={strings:{},pluralize:e=>1===e?0:1},Array.isArray(e)?e.forEach(s(this,r)[r],this):s(this,r)[r](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!a(this.locale.strings,e))throw new Error(`missing string: ${e}`);const i=this.locale.strings[e];if("object"==typeof i){if(t&&void 0!==t.smart_count){return u(i[this.locale.pluralize(t.smart_count)],t)}throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return u(i,t)}})},{"./hasProperty":217}],196:[function(e,t,i){"use strict";t.exports=function(e,t,i){return new Promise((r=>{e.toBlob(r,t,i)}))}},{}],197:[function(e,t,i){"use strict";const r=/^data:([^/]+\/[^,;]+(?:[^,]*?))(;base64)?,([\s\S]*)$/;t.exports=function(e,t,i){var s,n;const o=r.exec(e),a=null!=(s=null!=(n=t.mimeType)?n:null==o?void 0:o[1])?s:"plain/text";let l;if(null!=o[2]){const e=atob(decodeURIComponent(o[3])),t=new Uint8Array(e.length);for(let i=0;i<e.length;i++)t[i]=e.charCodeAt(i);l=[t]}else l=[decodeURIComponent(o[3])];return i?new File(l,t.name||"",{type:a}):new Blob(l,{type:a})}},{}],198:[function(e,t,i){"use strict";const{createAbortError:r}=e("./AbortController");t.exports=function(e,t){return new Promise(((i,s)=>{var n,o;if(null!=t&&null!=(n=t.signal)&&n.aborted)return s(r());const a=setTimeout((()=>{u(),i()}),e);function l(){clearTimeout(a),u(),s(r())}function u(){var e;null==t||null==(e=t.signal)||e.removeEventListener("abort",l)}null==t||null==(o=t.signal)||o.addEventListener("abort",l)}))}},{"./AbortController":189}],199:[function(e,t,i){"use strict";const r=e("lodash.throttle");t.exports=r((function(e,t,i){const{progress:r,bytesUploaded:s,bytesTotal:n}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",i,{uploader:e,bytesUploaded:s,bytesTotal:n}))}),300,{leading:!0,trailing:!0})},{"lodash.throttle":34}],200:[function(e,t,i){"use strict";const r=e("./NetworkError");t.exports=function(...e){return fetch(...e).catch((e=>{throw"AbortError"===e.name?e:new r(e)}))}},{"./NetworkError":192}],201:[function(e,t,i){"use strict";const r=e("./isDOMElement");t.exports=function(e){if("string"==typeof e){const t=document.querySelectorAll(e);return 0===t.length?null:Array.from(t)}return"object"==typeof e&&r(e)?[e]:null}},{"./isDOMElement":218}],202:[function(e,t,i){"use strict";const r=e("./isDOMElement");t.exports=function(e,t=document){return"string"==typeof e?t.querySelector(e):r(e)?e:null}},{"./isDOMElement":218}],203:[function(e,t,i){"use strict";function r(e){let t="";return e.replace(/[^A-Z0-9]/gi,(e=>(t+=`-${function(e){return e.charCodeAt(0).toString(32)}(e)}`,"/")))+t}t.exports=function(e){let t="uppy";return"string"==typeof e.name&&(t+=`-${r(e.name.toLowerCase())}`),void 0!==e.type&&(t+=`-${e.type}`),e.meta&&"string"==typeof e.meta.relativePath&&(t+=`-${r(e.meta.relativePath.toLowerCase())}`),void 0!==e.data.size&&(t+=`-${e.data.size}`),void 0!==e.data.lastModified&&(t+=`-${e.data.lastModified}`),t}},{}],204:[function(e,t,i){"use strict";t.exports=function(e){return e.bytesTotal-e.bytesUploaded}},{}],205:[function(e,t,i){"use strict";const r=e("./utils/webkitGetAsEntryApi/index"),s=e("./utils/fallbackApi");t.exports=function(e,{logDropError:t=(()=>{})}={}){var i;return null!=(i=e.items)&&i[0]&&"webkitGetAsEntry"in e.items[0]?r(e,t):s(e)}},{"./utils/fallbackApi":206,"./utils/webkitGetAsEntryApi/index":209}],206:[function(e,t,i){"use strict";const r=e("../../toArray");t.exports=function(e){const t=r(e.files);return Promise.resolve(t)}},{"../../toArray":228}],207:[function(e,t,i){"use strict";t.exports=function e(t,i,r,{onSuccess:s}){
|
||
|
|
//# sourceMappingURL=./packages/uppy/dist/uppy.min.js.map
|