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pD,OAAQA,EACRwE,SAAUA,EACVqC,aAAcsE,EACdhF,SAAuB,IAAdiF,EAAkBxB,IAAWwB,EACtChF,QAASiF,EACTzF,SAAUA,EACVwC,UAAWA,EACXP,gBAAiByD,EACjBvD,gBAAiBwD,EACjBzD,kBAAmB0D,EACnBjD,MAAOA,EACPL,YAAauD,EACbnD,YAAaoD,EACbrD,cAAesD,GAEdpJ,GAIjB,M,oEAAC0H,CAAA,CAzFsB,CAAS8B,EAAAA,WA4FpC9B,EAAOP,UAAYA,EAAAA,GACnBO,EAAON,aAAeA,EAAAA,E","sources":["webpack:///./node_modules/attr-accept/dist/index.js","webpack:///./node_modules/react-dropzone/dist/es/utils/index.js","webpack:///./node_modules/react-dropzone/dist/es/utils/styles.js","webpack:///./node_modules/react-dropzone/dist/es/index.js","webpack:///./src/fragments/Upload.react.js"],"sourcesContent":["module.exports=function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,\"a\",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p=\"\",n(n.s=13)}([function(t,n){var r=t.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=r)},function(t,n){t.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},function(t,n){var r=t.exports={version:\"2.5.0\"};\"number\"==typeof __e&&(__e=r)},function(t,n,r){t.exports=!r(4)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(32)(\"wks\"),o=r(9),i=r(0).Symbol,u=\"function\"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)(\"Symbol.\"+t))}).store=e},function(t,n,r){var e=r(0),o=r(2),i=r(8),u=r(22),c=r(10),f=function(t,n,r){var a,s,p,l,v=t&f.F,y=t&f.G,h=t&f.S,d=t&f.P,x=t&f.B,g=y?e:h?e[n]||(e[n]={}):(e[n]||{}).prototype,m=y?o:o[n]||(o[n]={}),b=m.prototype||(m.prototype={});y&&(r=n);for(a in r)s=!v&&g&&void 0!==g[a],p=(s?g:r)[a],l=x&&s?c(p,e):d&&\"function\"==typeof p?c(Function.call,p):p,g&&u(g,a,p,t&f.U),m[a]!=p&&i(m,a,l),d&&b[a]!=p&&(b[a]=p)};e.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n,r){var e=r(16),o=r(21);t.exports=r(3)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++r+e).toString(36))}},function(t,n,r){var e=r(24);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},function(t,n,r){var e=r(28),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){\"use strict\";n.__esModule=!0,n.default=function(t,n){if(t&&n){var r=Array.isArray(n)?n:n.split(\",\"),e=t.name||\"\",o=t.type||\"\",i=o.replace(/\\/.*$/,\"\");return r.some(function(t){var n=t.trim();return\".\"===n.charAt(0)?e.toLowerCase().endsWith(n.toLowerCase()):n.endsWith(\"/*\")?i===n.replace(/\\/.*$/,\"\"):o===n})}return!0},r(14),r(34)},function(t,n,r){r(15),t.exports=r(2).Array.some},function(t,n,r){\"use strict\";var e=r(7),o=r(25)(3);e(e.P+e.F*!r(33)([].some,!0),\"Array\",{some:function(t){return o(this,t,arguments[1])}})},function(t,n,r){var e=r(17),o=r(18),i=r(20),u=Object.defineProperty;n.f=r(3)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if(\"get\"in r||\"set\"in r)throw TypeError(\"Accessors not supported!\");return\"value\"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(1);t.exports=function(t){if(!e(t))throw TypeError(t+\" is not an object!\");return t}},function(t,n,r){t.exports=!r(3)&&!r(4)(function(){return 7!=Object.defineProperty(r(19)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(t,n,r){var e=r(1),o=r(0).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(1);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&\"function\"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if(\"function\"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&\"function\"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(0),o=r(8),i=r(23),u=r(9)(\"src\"),c=Function.toString,f=(\"\"+c).split(\"toString\");r(2).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var a=\"function\"==typeof r;a&&(i(r,\"name\")||o(r,\"name\",n)),t[n]!==r&&(a&&(i(r,u)||o(r,u,t[n]?\"\"+t[n]:f.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:o(t,n,r):(delete t[n],o(t,n,r)))})(Function.prototype,\"toString\",function(){return\"function\"==typeof this&&this[u]||c.call(this)})},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports=function(t){if(\"function\"!=typeof t)throw TypeError(t+\" is not a function!\");return t}},function(t,n,r){var e=r(10),o=r(26),i=r(27),u=r(12),c=r(29);t.exports=function(t,n){var r=1==t,f=2==t,a=3==t,s=4==t,p=6==t,l=5==t||p,v=n||c;return function(n,c,y){for(var h,d,x=i(n),g=o(x),m=e(c,y,3),b=u(g.length),_=0,w=r?v(n,b):f?v(n,0):void 0;b>_;_++)if((l||_ in g)&&(h=g[_],d=m(h,_,x),t))if(r)w[_]=d;else if(d)switch(t){case 3:return!0;case 5:return h;case 6:return _;case 2:w.push(h)}else if(s)return!1;return p?-1:a||s?s:w}}},function(t,n,r){var e=r(5);t.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==e(t)?t.split(\"\"):Object(t)}},function(t,n,r){var e=r(11);t.exports=function(t){return Object(e(t))}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(30);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(1),o=r(31),i=r(6)(\"species\");t.exports=function(t){var n;return o(t)&&(n=t.constructor,\"function\"!=typeof n||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){var e=r(5);t.exports=Array.isArray||function(t){return\"Array\"==e(t)}},function(t,n,r){var e=r(0),o=e[\"__core-js_shared__\"]||(e[\"__core-js_shared__\"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,r){\"use strict\";var e=r(4);t.exports=function(t,n){return!!t&&e(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,r){r(35),t.exports=r(2).String.endsWith},function(t,n,r){\"use strict\";var e=r(7),o=r(12),i=r(36),u=\"\".endsWith;e(e.P+e.F*r(38)(\"endsWith\"),\"String\",{endsWith:function(t){var n=i(this,t,\"endsWith\"),r=arguments.length>1?arguments[1]:void 0,e=o(n.length),c=void 0===r?e:Math.min(o(r),e),f=String(t);return u?u.call(n,f,c):n.slice(c-f.length,c)===f}})},function(t,n,r){var e=r(37),o=r(11);t.exports=function(t,n,r){if(e(n))throw TypeError(\"String#\"+r+\" doesn't accept regex!\");return String(o(t))}},function(t,n,r){var e=r(1),o=r(5),i=r(6)(\"match\");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:\"RegExp\"==o(t))}},function(t,n,r){var e=r(6)(\"match\");t.exports=function(t){var n=/./;try{\"/./\"[t](n)}catch(r){try{return n[e]=!1,!\"/./\"[t](n)}catch(t){}}return!0}}]);","import accepts from 'attr-accept';\n\nexport var supportMultiple = typeof document !== 'undefined' && document && document.createElement ? 'multiple' in document.createElement('input') : true;\n\nexport function getDataTransferItems(event) {\n var dataTransferItemsList = [];\n if (event.dataTransfer) {\n var dt = event.dataTransfer;\n\n if (dt.files && dt.files.length) {\n dataTransferItemsList = dt.files;\n } else if (dt.items && dt.items.length) {\n // During the drag even the dataTransfer.files is null\n // but Chrome implements some drag store, which is accesible via dataTransfer.items\n dataTransferItemsList = dt.items;\n }\n } else if (event.target && event.target.files) {\n dataTransferItemsList = event.target.files;\n }\n\n // Convert from DataTransferItemsList to the native Array\n return Array.prototype.slice.call(dataTransferItemsList);\n}\n\n// Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with\n// that MIME type will always be accepted\nexport function fileAccepted(file, accept) {\n return file.type === 'application/x-moz-file' || accepts(file, accept);\n}\n\nexport function fileMatchSize(file, maxSize, minSize) {\n return file.size <= maxSize && file.size >= minSize;\n}\n\nexport function allFilesAccepted(files, accept) {\n return files.every(function (file) {\n return fileAccepted(file, accept);\n });\n}\n\n// allow the entire document to be a drag target\nexport function onDocumentDragOver(evt) {\n evt.preventDefault();\n}\n\nfunction isIe(userAgent) {\n return userAgent.indexOf('MSIE') !== -1 || userAgent.indexOf('Trident/') !== -1;\n}\n\nfunction isEdge(userAgent) {\n return userAgent.indexOf('Edge/') !== -1;\n}\n\nexport function isIeOrEdge() {\n var userAgent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window.navigator.userAgent;\n\n return isIe(userAgent) || isEdge(userAgent);\n}","export default {\n rejected: {\n borderStyle: 'solid',\n borderColor: '#c66',\n backgroundColor: '#eee'\n },\n disabled: {\n opacity: 0.5\n },\n active: {\n borderStyle: 'solid',\n borderColor: '#6c6',\n backgroundColor: '#eee'\n },\n default: {\n width: 200,\n height: 200,\n borderWidth: 2,\n borderColor: '#666',\n borderStyle: 'dashed',\n borderRadius: 5\n }\n};","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/* eslint prefer-template: 0 */\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { supportMultiple, fileAccepted, allFilesAccepted, fileMatchSize, onDocumentDragOver, getDataTransferItems as defaultGetDataTransferItem, isIeOrEdge } from './utils';\nimport styles from './utils/styles';\n\nvar Dropzone = function (_React$Component) {\n _inherits(Dropzone, _React$Component);\n\n function Dropzone(props, context) {\n _classCallCheck(this, Dropzone);\n\n var _this = _possibleConstructorReturn(this, (Dropzone.__proto__ || Object.getPrototypeOf(Dropzone)).call(this, props, context));\n\n _this.renderChildren = function (children, isDragActive, isDragAccept, isDragReject) {\n if (typeof children === 'function') {\n return children(_extends({}, _this.state, {\n isDragActive: isDragActive,\n isDragAccept: isDragAccept,\n isDragReject: isDragReject\n }));\n }\n return children;\n };\n\n _this.composeHandlers = _this.composeHandlers.bind(_this);\n _this.onClick = _this.onClick.bind(_this);\n _this.onDocumentDrop = _this.onDocumentDrop.bind(_this);\n _this.onDragEnter = _this.onDragEnter.bind(_this);\n _this.onDragLeave = _this.onDragLeave.bind(_this);\n _this.onDragOver = _this.onDragOver.bind(_this);\n _this.onDragStart = _this.onDragStart.bind(_this);\n _this.onDrop = _this.onDrop.bind(_this);\n _this.onFileDialogCancel = _this.onFileDialogCancel.bind(_this);\n _this.onInputElementClick = _this.onInputElementClick.bind(_this);\n\n _this.setRef = _this.setRef.bind(_this);\n _this.setRefs = _this.setRefs.bind(_this);\n\n _this.isFileDialogActive = false;\n\n _this.state = {\n draggedFiles: [],\n acceptedFiles: [],\n rejectedFiles: []\n };\n return _this;\n }\n\n _createClass(Dropzone, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n var preventDropOnDocument = this.props.preventDropOnDocument;\n\n this.dragTargets = [];\n\n if (preventDropOnDocument) {\n document.addEventListener('dragover', onDocumentDragOver, false);\n document.addEventListener('drop', this.onDocumentDrop, false);\n }\n this.fileInputEl.addEventListener('click', this.onInputElementClick, false);\n window.addEventListener('focus', this.onFileDialogCancel, false);\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var preventDropOnDocument = this.props.preventDropOnDocument;\n\n if (preventDropOnDocument) {\n document.removeEventListener('dragover', onDocumentDragOver);\n document.removeEventListener('drop', this.onDocumentDrop);\n }\n if (this.fileInputEl != null) {\n this.fileInputEl.removeEventListener('click', this.onInputElementClick, false);\n }\n window.removeEventListener('focus', this.onFileDialogCancel, false);\n }\n }, {\n key: 'composeHandlers',\n value: function composeHandlers(handler) {\n if (this.props.disabled) {\n return null;\n }\n\n return handler;\n }\n }, {\n key: 'onDocumentDrop',\n value: function onDocumentDrop(evt) {\n if (this.node && this.node.contains(evt.target)) {\n // if we intercepted an event for our instance, let it propagate down to the instance's onDrop handler\n return;\n }\n evt.preventDefault();\n this.dragTargets = [];\n }\n }, {\n key: 'onDragStart',\n value: function onDragStart(evt) {\n if (this.props.onDragStart) {\n this.props.onDragStart.call(this, evt);\n }\n }\n }, {\n key: 'onDragEnter',\n value: function onDragEnter(evt) {\n var _this2 = this;\n\n evt.preventDefault();\n\n // Count the dropzone and any children that are entered.\n if (this.dragTargets.indexOf(evt.target) === -1) {\n this.dragTargets.push(evt.target);\n }\n\n Promise.resolve(this.props.getDataTransferItems(evt)).then(function (draggedFiles) {\n _this2.setState({\n isDragActive: true, // Do not rely on files for the drag state. It doesn't work in Safari.\n draggedFiles: draggedFiles\n });\n });\n if (this.props.onDragEnter) {\n this.props.onDragEnter.call(this, evt);\n }\n }\n }, {\n key: 'onDragOver',\n value: function onDragOver(evt) {\n // eslint-disable-line class-methods-use-this\n evt.preventDefault();\n evt.stopPropagation();\n try {\n // The file dialog on Chrome allows users to drag files from the dialog onto\n // the dropzone, causing the browser the crash when the file dialog is closed.\n // A drop effect of 'none' prevents the file from being dropped\n evt.dataTransfer.dropEffect = this.isFileDialogActive ? 'none' : 'copy'; // eslint-disable-line no-param-reassign\n } catch (err) {\n // continue regardless of error\n }\n\n if (this.props.onDragOver) {\n this.props.onDragOver.call(this, evt);\n }\n return false;\n }\n }, {\n key: 'onDragLeave',\n value: function onDragLeave(evt) {\n var _this3 = this;\n\n evt.preventDefault();\n\n // Only deactivate once the dropzone and all children have been left.\n this.dragTargets = this.dragTargets.filter(function (el) {\n return el !== evt.target && _this3.node.contains(el);\n });\n if (this.dragTargets.length > 0) {\n return;\n }\n\n // Clear dragging files state\n this.setState({\n isDragActive: false,\n draggedFiles: []\n });\n\n if (this.props.onDragLeave) {\n this.props.onDragLeave.call(this, evt);\n }\n }\n }, {\n key: 'onDrop',\n value: function onDrop(evt) {\n var _this4 = this;\n\n var _props = this.props,\n onDrop = _props.onDrop,\n onDropAccepted = _props.onDropAccepted,\n onDropRejected = _props.onDropRejected,\n multiple = _props.multiple,\n disablePreview = _props.disablePreview,\n accept = _props.accept,\n getDataTransferItems = _props.getDataTransferItems;\n\n // Stop default browser behavior\n\n evt.preventDefault();\n\n // Reset the counter along with the drag on a drop.\n this.dragTargets = [];\n this.isFileDialogActive = false;\n\n // Clear files value\n this.draggedFiles = null;\n\n // Reset drag state\n this.setState({\n isDragActive: false,\n draggedFiles: []\n });\n\n Promise.resolve(getDataTransferItems(evt)).then(function (fileList) {\n var acceptedFiles = [];\n var rejectedFiles = [];\n\n fileList.forEach(function (file) {\n if (!disablePreview) {\n try {\n file.preview = window.URL.createObjectURL(file); // eslint-disable-line no-param-reassign\n } catch (err) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Failed to generate preview for file', file, err); // eslint-disable-line no-console\n }\n }\n }\n\n if (fileAccepted(file, accept) && fileMatchSize(file, _this4.props.maxSize, _this4.props.minSize)) {\n acceptedFiles.push(file);\n } else {\n rejectedFiles.push(file);\n }\n });\n\n if (!multiple) {\n // if not in multi mode add any extra accepted files to rejected.\n // This will allow end users to easily ignore a multi file drop in \"single\" mode.\n rejectedFiles.push.apply(rejectedFiles, _toConsumableArray(acceptedFiles.splice(1)));\n }\n\n if (onDrop) {\n onDrop.call(_this4, acceptedFiles, rejectedFiles, evt);\n }\n\n if (rejectedFiles.length > 0 && onDropRejected) {\n onDropRejected.call(_this4, rejectedFiles, evt);\n }\n\n if (acceptedFiles.length > 0 && onDropAccepted) {\n onDropAccepted.call(_this4, acceptedFiles, evt);\n }\n });\n }\n }, {\n key: 'onClick',\n value: function onClick(evt) {\n var _props2 = this.props,\n onClick = _props2.onClick,\n disableClick = _props2.disableClick;\n\n if (!disableClick) {\n evt.stopPropagation();\n\n if (onClick) {\n onClick.call(this, evt);\n }\n\n // in IE11/Edge the file-browser dialog is blocking, ensure this is behind setTimeout\n // this is so react can handle state changes in the onClick prop above above\n // see: https://github.com/react-dropzone/react-dropzone/issues/450\n if (isIeOrEdge()) {\n setTimeout(this.open.bind(this), 0);\n } else {\n this.open();\n }\n }\n }\n }, {\n key: 'onInputElementClick',\n value: function onInputElementClick(evt) {\n evt.stopPropagation();\n if (this.props.inputProps && this.props.inputProps.onClick) {\n this.props.inputProps.onClick();\n }\n }\n }, {\n key: 'onFileDialogCancel',\n value: function onFileDialogCancel() {\n var _this5 = this;\n\n // timeout will not recognize context of this method\n var onFileDialogCancel = this.props.onFileDialogCancel;\n // execute the timeout only if the FileDialog is opened in the browser\n\n if (this.isFileDialogActive) {\n setTimeout(function () {\n if (_this5.fileInputEl != null) {\n // Returns an object as FileList\n var files = _this5.fileInputEl.files;\n\n\n if (!files.length) {\n _this5.isFileDialogActive = false;\n }\n }\n\n if (typeof onFileDialogCancel === 'function') {\n onFileDialogCancel();\n }\n }, 300);\n }\n }\n }, {\n key: 'setRef',\n value: function setRef(ref) {\n this.node = ref;\n }\n }, {\n key: 'setRefs',\n value: function setRefs(ref) {\n this.fileInputEl = ref;\n }\n /**\n * Open system file upload dialog.\n *\n * @public\n */\n\n }, {\n key: 'open',\n value: function open() {\n this.isFileDialogActive = true;\n this.fileInputEl.value = null;\n this.fileInputEl.click();\n }\n }, {\n key: 'render',\n value: function render() {\n var _props3 = this.props,\n accept = _props3.accept,\n acceptClassName = _props3.acceptClassName,\n activeClassName = _props3.activeClassName,\n children = _props3.children,\n disabled = _props3.disabled,\n disabledClassName = _props3.disabledClassName,\n inputProps = _props3.inputProps,\n multiple = _props3.multiple,\n name = _props3.name,\n rejectClassName = _props3.rejectClassName,\n rest = _objectWithoutProperties(_props3, ['accept', 'acceptClassName', 'activeClassName', 'children', 'disabled', 'disabledClassName', 'inputProps', 'multiple', 'name', 'rejectClassName']);\n\n var acceptStyle = rest.acceptStyle,\n activeStyle = rest.activeStyle,\n _rest$className = rest.className,\n className = _rest$className === undefined ? '' : _rest$className,\n disabledStyle = rest.disabledStyle,\n rejectStyle = rest.rejectStyle,\n style = rest.style,\n props = _objectWithoutProperties(rest, ['acceptStyle', 'activeStyle', 'className', 'disabledStyle', 'rejectStyle', 'style']);\n\n var _state = this.state,\n isDragActive = _state.isDragActive,\n draggedFiles = _state.draggedFiles;\n\n var filesCount = draggedFiles.length;\n var isMultipleAllowed = multiple || filesCount <= 1;\n var isDragAccept = filesCount > 0 && allFilesAccepted(draggedFiles, this.props.accept);\n var isDragReject = filesCount > 0 && (!isDragAccept || !isMultipleAllowed);\n var noStyles = !className && !style && !activeStyle && !acceptStyle && !rejectStyle && !disabledStyle;\n\n if (isDragActive && activeClassName) {\n className += ' ' + activeClassName;\n }\n if (isDragAccept && acceptClassName) {\n className += ' ' + acceptClassName;\n }\n if (isDragReject && rejectClassName) {\n className += ' ' + rejectClassName;\n }\n if (disabled && disabledClassName) {\n className += ' ' + disabledClassName;\n }\n\n if (noStyles) {\n style = styles.default;\n activeStyle = styles.active;\n acceptStyle = styles.active;\n rejectStyle = styles.rejected;\n disabledStyle = styles.disabled;\n }\n\n var appliedStyle = _extends({ position: 'relative' }, style);\n if (activeStyle && isDragActive) {\n appliedStyle = _extends({}, appliedStyle, activeStyle);\n }\n if (acceptStyle && isDragAccept) {\n appliedStyle = _extends({}, appliedStyle, acceptStyle);\n }\n if (rejectStyle && isDragReject) {\n appliedStyle = _extends({}, appliedStyle, rejectStyle);\n }\n if (disabledStyle && disabled) {\n appliedStyle = _extends({}, appliedStyle, disabledStyle);\n }\n\n var inputAttributes = {\n accept: accept,\n disabled: disabled,\n type: 'file',\n style: _extends({\n position: 'absolute',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n opacity: 0.00001,\n pointerEvents: 'none'\n }, inputProps.style),\n multiple: supportMultiple && multiple,\n ref: this.setRefs,\n onChange: this.onDrop,\n autoComplete: 'off'\n };\n\n if (name && name.length) {\n inputAttributes.name = name;\n }\n\n // Destructure custom props away from props used for the div element\n\n var acceptedFiles = props.acceptedFiles,\n preventDropOnDocument = props.preventDropOnDocument,\n disablePreview = props.disablePreview,\n disableClick = props.disableClick,\n onDropAccepted = props.onDropAccepted,\n onDropRejected = props.onDropRejected,\n onFileDialogCancel = props.onFileDialogCancel,\n maxSize = props.maxSize,\n minSize = props.minSize,\n getDataTransferItems = props.getDataTransferItems,\n divProps = _objectWithoutProperties(props, ['acceptedFiles', 'preventDropOnDocument', 'disablePreview', 'disableClick', 'onDropAccepted', 'onDropRejected', 'onFileDialogCancel', 'maxSize', 'minSize', 'getDataTransferItems']);\n\n return React.createElement(\n 'div',\n _extends({\n className: className,\n style: appliedStyle\n }, divProps /* expand user provided props first so event handlers are never overridden */, {\n onClick: this.composeHandlers(this.onClick),\n onDragStart: this.composeHandlers(this.onDragStart),\n onDragEnter: this.composeHandlers(this.onDragEnter),\n onDragOver: this.composeHandlers(this.onDragOver),\n onDragLeave: this.composeHandlers(this.onDragLeave),\n onDrop: this.composeHandlers(this.onDrop),\n ref: this.setRef,\n 'aria-disabled': disabled\n }),\n this.renderChildren(children, isDragActive, isDragAccept, isDragReject),\n React.createElement('input', _extends({}, inputProps /* expand user provided inputProps first so inputAttributes override them */, inputAttributes))\n );\n }\n }]);\n\n return Dropzone;\n}(React.Component);\n\nexport default Dropzone;\n\nDropzone.propTypes = {\n /**\n * Allow specific types of files. See https://github.com/okonet/attr-accept for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all.\n * See: https://github.com/react-dropzone/react-dropzone/issues/276\n */\n accept: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),\n\n /**\n * Contents of the dropzone\n */\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n\n /**\n * Disallow clicking on the dropzone container to open file dialog\n */\n disableClick: PropTypes.bool,\n\n /**\n * Enable/disable the dropzone entirely\n */\n disabled: PropTypes.bool,\n\n /**\n * Enable/disable preview generation\n */\n disablePreview: PropTypes.bool,\n\n /**\n * If false, allow dropped items to take over the current browser window\n */\n preventDropOnDocument: PropTypes.bool,\n\n /**\n * Pass additional attributes to the `<input type=\"file\"/>` tag\n */\n inputProps: PropTypes.object,\n\n /**\n * Allow dropping multiple files\n */\n multiple: PropTypes.bool,\n\n /**\n * `name` attribute for the input tag\n */\n name: PropTypes.string,\n\n /**\n * Maximum file size (in bytes)\n */\n maxSize: PropTypes.number,\n\n /**\n * Minimum file size (in bytes)\n */\n minSize: PropTypes.number,\n\n /**\n * className\n */\n className: PropTypes.string,\n\n /**\n * className to apply when drag is active\n */\n activeClassName: PropTypes.string,\n\n /**\n * className to apply when drop will be accepted\n */\n acceptClassName: PropTypes.string,\n\n /**\n * className to apply when drop will be rejected\n */\n rejectClassName: PropTypes.string,\n\n /**\n * className to apply when dropzone is disabled\n */\n disabledClassName: PropTypes.string,\n\n /**\n * CSS styles to apply\n */\n style: PropTypes.object,\n\n /**\n * CSS styles to apply when drag is active\n */\n activeStyle: PropTypes.object,\n\n /**\n * CSS styles to apply when drop will be accepted\n */\n acceptStyle: PropTypes.object,\n\n /**\n * CSS styles to apply when drop will be rejected\n */\n rejectStyle: PropTypes.object,\n\n /**\n * CSS styles to apply when dropzone is disabled\n */\n disabledStyle: PropTypes.object,\n\n /**\n * getDataTransferItems handler\n * @param {Event} event\n * @returns {Array} array of File objects\n */\n getDataTransferItems: PropTypes.func,\n\n /**\n * onClick callback\n * @param {Event} event\n */\n onClick: PropTypes.func,\n\n /**\n * onDrop callback\n */\n onDrop: PropTypes.func,\n\n /**\n * onDropAccepted callback\n */\n onDropAccepted: PropTypes.func,\n\n /**\n * onDropRejected callback\n */\n onDropRejected: PropTypes.func,\n\n /**\n * onDragStart callback\n */\n onDragStart: PropTypes.func,\n\n /**\n * onDragEnter callback\n */\n onDragEnter: PropTypes.func,\n\n /**\n * onDragOver callback\n */\n onDragOver: PropTypes.func,\n\n /**\n * onDragLeave callback\n */\n onDragLeave: PropTypes.func,\n\n /**\n * Provide a callback on clicking the cancel button of the file dialog\n */\n onFileDialogCancel: PropTypes.func\n};\n\nDropzone.defaultProps = {\n preventDropOnDocument: true,\n disabled: false,\n disablePreview: false,\n disableClick: false,\n inputProps: {},\n multiple: true,\n maxSize: Infinity,\n minSize: 0,\n getDataTransferItems: defaultGetDataTransferItem\n};","import React, {Component} from 'react';\nimport Dropzone from 'react-dropzone';\n\nimport {propTypes, defaultProps} from '../components/Upload.react';\n\nexport default class Upload extends Component {\n constructor() {\n super();\n this.onDrop = this.onDrop.bind(this);\n }\n\n onDrop(files) {\n const {multiple, setProps} = this.props;\n const newProps = {\n contents: [],\n filename: [],\n last_modified: [],\n };\n files.forEach(file => {\n const reader = new FileReader();\n reader.onload = () => {\n /*\n * I'm not sure if reader.onload will be executed in order.\n * For example, if the 1st file is larger than the 2nd one,\n * the 2nd file might load first.\n */\n newProps.contents.push(reader.result);\n newProps.filename.push(file.name);\n // eslint-disable-next-line no-magic-numbers\n newProps.last_modified.push(file.lastModified / 1000);\n if (newProps.contents.length === files.length) {\n if (multiple) {\n setProps(newProps);\n } else {\n setProps({\n contents: newProps.contents[0],\n filename: newProps.filename[0],\n last_modified: newProps.last_modified[0],\n });\n }\n }\n };\n reader.readAsDataURL(file);\n });\n }\n\n render() {\n const {\n id,\n children,\n accept,\n disabled,\n disable_click,\n max_size,\n min_size,\n multiple,\n className,\n className_active,\n className_reject,\n className_disabled,\n style,\n style_active,\n style_reject,\n style_disabled,\n loading_state,\n } = this.props;\n return (\n <div\n id={id}\n data-dash-is-loading={\n (loading_state && loading_state.is_loading) || undefined\n }\n >\n <Dropzone\n onDrop={this.onDrop}\n accept={accept}\n disabled={disabled}\n disableClick={disable_click}\n maxSize={max_size === -1 ? Infinity : max_size}\n minSize={min_size}\n multiple={multiple}\n className={className}\n activeClassName={className_active}\n rejectClassName={className_reject}\n disabledClassName={className_disabled}\n style={style}\n activeStyle={style_active}\n rejectStyle={style_reject}\n disabledStyle={style_disabled}\n >\n {children}\n </Dropzone>\n </div>\n );\n }\n}\n\nUpload.propTypes = propTypes;\nUpload.defaultProps = defaultProps;\n"],"names":["module","exports","t","n","e","r","o","i","l","call","m","c","d","Object","defineProperty","configurable","enumerable","get","__esModule","default","prototype","hasOwnProperty","p","s","window","Math","self","Function","__g","version","__e","a","toString","slice","Symbol","u","store","f","v","F","y","G","h","S","P","x","B","g","b","U","core","W","R","random","concat","apply","arguments","TypeError","min","Array","isArray","split","name","type","replace","some","trim","charAt","toLowerCase","endsWith","this","value","document","createElement","valueOf","writable","inspectSource","join","String","length","_","w","push","propertyIsEnumerable","ceil","floor","isNaN","constructor","supportMultiple","fileAccepted","file","accept","onDocumentDragOver","evt","preventDefault","borderStyle","borderColor","backgroundColor","opacity","width","height","borderWidth","borderRadius","_extends","assign","target","source","key","_createClass","defineProperties","props","descriptor","Constructor","protoProps","staticProps","_objectWithoutProperties","obj","keys","indexOf","Dropzone","_React$Component","context","instance","_classCallCheck","_this","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","renderChildren","children","isDragActive","isDragAccept","isDragReject","state","composeHandlers","bind","onClick","onDocumentDrop","onDragEnter","onDragLeave","onDragOver","onDragStart","onDrop","onFileDialogCancel","onInputElementClick","setRef","setRefs","isFileDialogActive","draggedFiles","acceptedFiles","rejectedFiles","subClass","superClass","create","setPrototypeOf","_inherits","preventDropOnDocument","dragTargets","addEventListener","fileInputEl","removeEventListener","handler","disabled","node","contains","_this2","Promise","resolve","getDataTransferItems","then","setState","stopPropagation","dataTransfer","dropEffect","err","_this3","filter","el","_this4","_props","onDropAccepted","onDropRejected","multiple","disablePreview","fileList","forEach","preview","URL","createObjectURL","maxSize","minSize","size","fileMatchSize","arr","arr2","from","_toConsumableArray","splice","_props2","disableClick","userAgent","undefined","navigator","isIe","isEdge","isIeOrEdge","setTimeout","open","inputProps","_this5","files","ref","click","_props3","acceptClassName","activeClassName","disabledClassName","rejectClassName","rest","acceptStyle","activeStyle","_rest$className","className","disabledStyle","rejectStyle","style","_state","filesCount","isMultipleAllowed","every","allFilesAccepted","noStyles","styles","appliedStyle","position","inputAttributes","top","right","bottom","left","pointerEvents","onChange","autoComplete","divProps","propTypes","defaultProps","Infinity","event","dataTransferItemsList","dt","items","Upload","_Component","_super","_assertThisInitialized","_this$props","setProps","newProps","contents","filename","last_modified","reader","FileReader","onload","result","lastModified","readAsDataURL","_this$props2","id","disable_click","max_size","min_size","className_active","className_reject","className_disabled","style_active","style_reject","style_disabled","loading_state","React","is_loading","Component"],"sourceRoot":""}