diff --git a/dist/react-sortable-hoc.esm.js b/dist/react-sortable-hoc.esm.js new file mode 100644 index 000000000..63162f4ea --- /dev/null +++ b/dist/react-sortable-hoc.esm.js @@ -0,0 +1,2005 @@ +import _extends from '@babel/runtime/helpers/esm/extends'; +import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray'; +import _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray'; +import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck'; +import _createClass from '@babel/runtime/helpers/esm/createClass'; +import _possibleConstructorReturn from '@babel/runtime/helpers/esm/possibleConstructorReturn'; +import _getPrototypeOf from '@babel/runtime/helpers/esm/getPrototypeOf'; +import _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized'; +import _inherits from '@babel/runtime/helpers/esm/inherits'; +import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; +import {createElement, Component} from 'react'; +import PropTypes from 'prop-types'; +import {findDOMNode} from 'react-dom'; +import invariant from 'invariant'; +import findIndex from 'lodash/findIndex'; +import isPlainObject from 'lodash/isPlainObject'; +import _objectSpread from '@babel/runtime/helpers/esm/objectSpread'; +import 'classlist-polyfill'; + +function arrayMove(array, from, to) { + array = array.slice(); + array.splice(to < 0 ? array.length + to : to, 0, array.splice(from, 1)[0]); + return array; +} +function omit(obj) { + for ( + var _len = arguments.length, + keysToOmit = new Array(_len > 1 ? _len - 1 : 0), + _key = 1; + _key < _len; + _key++ + ) { + keysToOmit[_key - 1] = arguments[_key]; + } + + return Object.keys(obj).reduce(function(acc, key) { + if (keysToOmit.indexOf(key) === -1) { + acc[key] = obj[key]; + } + + return acc; + }, {}); +} +var events = { + start: ['touchstart', 'mousedown'], + move: ['touchmove', 'mousemove'], + end: ['touchend', 'touchcancel', 'mouseup'], +}; +var vendorPrefix = (function() { + if (typeof window === 'undefined' || typeof document === 'undefined') { + return ''; + } + + var styles = window.getComputedStyle(document.documentElement, '') || [ + '-moz-hidden-iframe', + ]; + var pre = (Array.prototype.slice + .call(styles) + .join('') + .match(/-(moz|webkit|ms)-/) || + (styles.OLink === '' && ['', 'o']))[1]; + + switch (pre) { + case 'ms': + return 'ms'; + + default: + return pre && pre.length ? pre[0].toUpperCase() + pre.substr(1) : ''; + } +})(); +function closest(el, fn) { + while (el) { + if (fn(el)) { + return el; + } + + el = el.parentNode; + } + + return null; +} +function limit(min, max, value) { + return Math.max(min, Math.min(value, max)); +} + +function getPixelValue(stringValue) { + if (stringValue.substr(-2) === 'px') { + return parseFloat(stringValue); + } + + return 0; +} + +function getElementMargin(element) { + var style = window.getComputedStyle(element); + return { + top: getPixelValue(style.marginTop), + right: getPixelValue(style.marginRight), + bottom: getPixelValue(style.marginBottom), + left: getPixelValue(style.marginLeft), + }; +} +function provideDisplayName(prefix, Component) { + var componentName = Component.displayName || Component.name; + return componentName + ? ''.concat(prefix, '(').concat(componentName, ')') + : prefix; +} +function getPosition(event) { + if (event.touches && event.touches.length) { + return { + x: event.touches[0].pageX, + y: event.touches[0].pageY, + }; + } else if (event.changedTouches && event.changedTouches.length) { + return { + x: event.changedTouches[0].pageX, + y: event.changedTouches[0].pageY, + }; + } else { + return { + x: event.pageX, + y: event.pageY, + }; + } +} +function isTouchEvent(event) { + return ( + (event.touches && event.touches.length) || + (event.changedTouches && event.changedTouches.length) + ); +} +function getEdgeOffset(node, parent) { + var offset = + arguments.length > 2 && arguments[2] !== undefined + ? arguments[2] + : { + top: 0, + left: 0, + }; + + if (!node) { + return undefined; + } + + var nodeOffset = { + top: offset.top + node.offsetTop, + left: offset.left + node.offsetLeft, + }; + + if (node.parentNode === parent) { + return nodeOffset; + } + + return getEdgeOffset(node.parentNode, parent, nodeOffset); +} +function getLockPixelOffset(_ref) { + var lockOffset = _ref.lockOffset, + width = _ref.width, + height = _ref.height; + var offsetX = lockOffset; + var offsetY = lockOffset; + var unit = 'px'; + + if (typeof lockOffset === 'string') { + var match = /^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(lockOffset); + invariant( + match !== null, + 'lockOffset value should be a number or a string of a ' + + 'number followed by "px" or "%". Given %s', + lockOffset, + ); + offsetX = parseFloat(lockOffset); + offsetY = parseFloat(lockOffset); + unit = match[1]; + } + + invariant( + isFinite(offsetX) && isFinite(offsetY), + 'lockOffset value should be a finite. Given %s', + lockOffset, + ); + + if (unit === '%') { + offsetX = (offsetX * width) / 100; + offsetY = (offsetY * height) / 100; + } + + return { + x: offsetX, + y: offsetY, + }; +} +var NodeType = { + Anchor: 'A', + Button: 'BUTTON', + Canvas: 'CANVAS', + Input: 'INPUT', + Option: 'OPTION', + Textarea: 'TEXTAREA', + Select: 'SELECT', +}; + +function distanceRect(x, y, rect) { + var pageXOffset = window.pageXOffset; + var pageYOffset = window.pageYOffset; + var left = rect.left + pageXOffset; + var right = rect.right + pageXOffset; + var top = rect.top + pageYOffset; + var bottom = rect.bottom + pageYOffset; + var dx = x - limit(left, right, x); + var dy = y - limit(top, bottom, y); + return Math.sqrt(dx * dx + dy * dy); +} +function closestRect(x, y, containers) { + var distances = containers.map(function(container) { + return distanceRect(x, y, container.getBoundingClientRect()); + }); + return distances.indexOf(Math.min.apply(Math, _toConsumableArray(distances))); +} +function getDelta(rect1, rect2) { + return { + x: rect1.left - rect2.left, + y: rect1.top - rect2.top, + }; +} +function updateDistanceBetweenContainers(distance, container1, container2) { + var x = distance.x, + y = distance.y; + var delta = getDelta.apply( + void 0, + _toConsumableArray( + [container1, container2].map(function(cont) { + return cont.container.getBoundingClientRect(); + }), + ), + ); + var scrollDX = + container2.scrollContainer.scrollLeft - + container1.scrollContainer.scrollLeft; + var scrollDY = + container2.scrollContainer.scrollTop - container1.scrollContainer.scrollTop; + return { + x: x + delta.x + scrollDX, + y: y + delta.y + scrollDY, + }; +} + +var DragLayer = (function() { + function DragLayer() { + var _this = this; + + _classCallCheck(this, DragLayer); + + _defineProperty(this, 'helper', null); + + _defineProperty(this, 'lists', []); + + _defineProperty(this, 'handleSortMove', function(event) { + event.preventDefault(); + + _this.updatePosition(event); + + _this.updateTargetContainer(event); + + if (_this.targetList) { + _this.targetList.handleSortMove(event); + } + }); + + _defineProperty(this, 'handleSortEnd', function(event) { + if (_this.listenerNode) { + events.move.forEach(function(eventName) { + return _this.listenerNode.removeEventListener( + eventName, + _this.handleSortMove, + ); + }); + events.end.forEach(function(eventName) { + return _this.listenerNode.removeEventListener( + eventName, + _this.handleSortEnd, + ); + }); + } + + if (typeof _this.onDragEnd === 'function') { + _this.onDragEnd(); + } + + if (_this.helper) { + _this.helper.parentNode.removeChild(_this.helper); + + _this.helper = null; + + _this.targetList.handleSortEnd(event); + } + + _this.lists.forEach(function(list) { + delete list.initialWindowScroll; + }); + }); + } + + _createClass(DragLayer, [ + { + key: 'addRef', + value: function addRef(list) { + this.lists.push(list); + }, + }, + { + key: 'removeRef', + value: function removeRef(list) { + var i = this.lists.indexOf(list); + + if (i !== -1) { + this.lists.splice(i, 1); + } + }, + }, + { + key: 'setTranslateBoundaries', + value: function setTranslateBoundaries(containerBoundingRect, list) { + var useWindowAsScrollContainer = list.props.useWindowAsScrollContainer; + this.minTranslate = {}; + this.maxTranslate = {}; + + if (this.axis.x) { + this.minTranslate.x = + (useWindowAsScrollContainer ? 0 : containerBoundingRect.left) - + this.boundingClientRect.left - + this.width / 2; + this.maxTranslate.x = + (useWindowAsScrollContainer + ? list.contentWindow.innerWidth + : containerBoundingRect.left + containerBoundingRect.width) - + this.boundingClientRect.left - + this.width / 2; + } + + if (this.axis.y) { + this.minTranslate.y = + (useWindowAsScrollContainer ? 0 : containerBoundingRect.top) - + this.boundingClientRect.top - + this.height / 2; + this.maxTranslate.y = + (useWindowAsScrollContainer + ? list.contentWindow.innerHeight + : containerBoundingRect.top + containerBoundingRect.height) - + this.boundingClientRect.top - + this.height / 2; + } + }, + }, + { + key: 'startDrag', + value: function startDrag(parent, list, event) { + var _this2 = this; + + var position = getPosition(event); + var activeNode = list.manager.getActive(); + + if (activeNode) { + var _list$props = list.props, + axis = _list$props.axis, + getHelperDimensions = _list$props.getHelperDimensions; + var node = activeNode.node, + collection = activeNode.collection; + var index = node.sortableInfo.index; + var margin = getElementMargin(node); + var containerBoundingRect = list.container.getBoundingClientRect(); + var dimensions = getHelperDimensions({ + index: index, + node: node, + collection: collection, + }); + this.width = dimensions.width; + this.height = dimensions.height; + this.marginOffset = { + x: margin.left + margin.right, + y: Math.max(margin.top, margin.bottom), + }; + this.boundingClientRect = node.getBoundingClientRect(); + this.containerBoundingRect = containerBoundingRect; + this.targetList = list; + this.axis = { + x: axis.indexOf('x') >= 0, + y: axis.indexOf('y') >= 0, + }; + this.offsetEdge = getEdgeOffset(node, list.container); + this.initialOffset = position; + this.distanceBetweenContainers = { + x: 0, + y: 0, + }; + var fields = node.querySelectorAll('input, textarea, select, canvas'); + var clonedNode = node.cloneNode(true); + + var clonedFields = _toConsumableArray( + clonedNode.querySelectorAll('input, textarea, select, canvas'), + ); + + clonedFields.forEach(function(field, i) { + if (field.type !== 'file' && fields[index]) { + field.value = fields[i].value; + } + + if (field.tagName === NodeType.Canvas) { + var destCtx = field.getContext('2d'); + destCtx.drawImage(fields[index], 0, 0); + } + }); + this.helper = parent.appendChild(clonedNode); + this.helper.style.position = 'fixed'; + this.helper.style.top = ''.concat( + this.boundingClientRect.top - margin.top, + 'px', + ); + this.helper.style.left = ''.concat( + this.boundingClientRect.left - margin.left, + 'px', + ); + this.helper.style.width = ''.concat(this.width, 'px'); + this.helper.style.height = ''.concat(this.height, 'px'); + this.helper.style.boxSizing = 'border-box'; + this.helper.style.pointerEvents = 'none'; + this.setTranslateBoundaries(containerBoundingRect, list); + this.listenerNode = event.touches ? node : list.contentWindow; + events.move.forEach(function(eventName) { + return _this2.listenerNode.addEventListener( + eventName, + _this2.handleSortMove, + false, + ); + }); + events.end.forEach(function(eventName) { + return _this2.listenerNode.addEventListener( + eventName, + _this2.handleSortEnd, + false, + ); + }); + return activeNode; + } + + return false; + }, + }, + { + key: 'stopDrag', + value: function stopDrag() { + this.handleSortEnd(); + }, + }, + { + key: 'updatePosition', + value: function updatePosition(event) { + var _this$targetList$prop = this.targetList.props, + lockAxis = _this$targetList$prop.lockAxis, + lockToContainerEdges = _this$targetList$prop.lockToContainerEdges; + var offset = getPosition(event); + var translate = { + x: offset.x - this.initialOffset.x, + y: offset.y - this.initialOffset.y, + }; + translate.y -= + window.pageYOffset - this.targetList.initialWindowScroll.top; + translate.x -= + window.pageXOffset - this.targetList.initialWindowScroll.left; + this.translate = translate; + this.delta = offset; + + if (lockToContainerEdges) { + var _this$targetList$getL = this.targetList.getLockPixelOffsets(), + _this$targetList$getL2 = _slicedToArray(_this$targetList$getL, 2), + minLockOffset = _this$targetList$getL2[0], + maxLockOffset = _this$targetList$getL2[1]; + + var minOffset = { + x: this.width / 2 - minLockOffset.x, + y: this.height / 2 - minLockOffset.y, + }; + var maxOffset = { + x: this.width / 2 - maxLockOffset.x, + y: this.height / 2 - maxLockOffset.y, + }; + translate.x = limit( + this.minTranslate.x + minOffset.x, + this.maxTranslate.x - maxOffset.x, + translate.x, + ); + translate.y = limit( + this.minTranslate.y + minOffset.y, + this.maxTranslate.y - maxOffset.y, + translate.y, + ); + } + + if (lockAxis === 'x') { + translate.y = 0; + } else if (lockAxis === 'y') { + translate.x = 0; + } + + this.helper.style[ + ''.concat(vendorPrefix, 'Transform') + ] = 'translate3d(' + .concat(translate.x, 'px,') + .concat(translate.y, 'px, 0)'); + }, + }, + { + key: 'updateTargetContainer', + value: function updateTargetContainer(event) { + var _this$delta = this.delta, + x = _this$delta.x, + y = _this$delta.y; + var originList = this.targetList; + var targetList = this.lists[ + closestRect( + x, + y, + this.lists.map(function(list) { + return list.container; + }), + ) + ]; + var item = this.targetList.manager.active.item; + this.active = item; + + if (targetList !== originList) { + this.targetList = targetList; + var originListInitialWindowScroll = originList.initialWindowScroll; + var cachedOriginListRect = originList.container.getBoundingClientRect(); + var cachedTargetListRect = targetList.container.getBoundingClientRect(); + originList.handleSortEnd(event, targetList); + this.setTranslateBoundaries( + targetList.container.getBoundingClientRect(), + targetList, + ); + this.targetList.manager.active = _objectSpread( + {}, + targetList.getClosestNode(event), + { + item: item, + }, + ); + targetList.handlePress(event); + this.targetList.initialWindowScroll = originListInitialWindowScroll; + this.distanceBetweenContainers = updateDistanceBetweenContainers( + this.distanceBetweenContainers, + targetList, + originList, + ); + var targetListRect = targetList.container.getBoundingClientRect(); + + if (targetListRect.top < cachedOriginListRect.top) { + var targetListContainerHeightDelta = Math.abs( + cachedTargetListRect.height - targetListRect.height, + ); + this.distanceBetweenContainers.y += targetListContainerHeightDelta; + } + } + }, + }, + ]); + + return DragLayer; +})(); + +var Manager = (function() { + function Manager() { + _classCallCheck(this, Manager); + + _defineProperty(this, 'refs', {}); + } + + _createClass(Manager, [ + { + key: 'add', + value: function add(collection, ref) { + if (!this.refs[collection]) { + this.refs[collection] = []; + } + + this.refs[collection].push(ref); + }, + }, + { + key: 'remove', + value: function remove(collection, ref) { + var index = this.getIndex(collection, ref); + + if (index !== -1) { + this.refs[collection].splice(index, 1); + } + }, + }, + { + key: 'isActive', + value: function isActive() { + return this.active; + }, + }, + { + key: 'getActive', + value: function getActive() { + var _this = this; + + if (!this.active) { + return null; + } + + var activeRef = this.refs[this.active.collection]; + + if (!activeRef) { + return null; + } + + return ( + activeRef.find(function(_ref) { + var node = _ref.node; + return node.sortableInfo.index == _this.active.index; + }) || activeRef.slice(-1).pop() + ); + }, + }, + { + key: 'getIndex', + value: function getIndex(collection, ref) { + return this.refs[collection].indexOf(ref); + }, + }, + { + key: 'getOrderedRefs', + value: function getOrderedRefs() { + var collection = + arguments.length > 0 && arguments[0] !== undefined + ? arguments[0] + : this.active.collection; + return this.refs[collection].sort(sortByIndex); + }, + }, + ]); + + return Manager; +})(); + +function sortByIndex(_ref2, _ref3) { + var index1 = _ref2.node.sortableInfo.index; + var index2 = _ref3.node.sortableInfo.index; + return index1 - index2; +} + +function _finallyRethrows(body, finalizer) { + try { + var result = body(); + } catch (e) { + return finalizer(true, e); + } + + if (result && result.then) { + return result.then(finalizer.bind(null, false), finalizer.bind(null, true)); + } + + return finalizer(false, value); +} +function sortableContainer(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + _inherits(WithSortableContainer, _React$Component); + + function WithSortableContainer(props) { + var _this; + + _classCallCheck(this, WithSortableContainer); + + _this = _possibleConstructorReturn( + this, + _getPrototypeOf(WithSortableContainer).call(this, props), + ); + + _defineProperty( + _assertThisInitialized(_this), + 'checkActiveIndex', + function(nextProps) { + var _ref = nextProps || _this.props, + items = _ref.items; + + var item = _this.manager.active.item; + var newIndex = isPlainObject(item) + ? findIndex(items, function(obj) { + return obj.id === item.id; + }) + : findIndex(items, item); + + if (newIndex === -1) { + _this.dragLayer.stopDrag(); + + return; + } + + _this.manager.active.index = newIndex; + _this.index = newIndex; + }, + ); + + _defineProperty(_assertThisInitialized(_this), 'handleStart', function( + event, + ) { + var _this$props = _this.props, + distance = _this$props.distance, + shouldCancelStart = _this$props.shouldCancelStart, + items = _this$props.items; + + if (event.button === 2 || shouldCancelStart(event)) { + return; + } + + _this._touched = true; + _this._pos = getPosition(event); + var node = closest(event.target, function(el) { + return el.sortableInfo != null; + }); + + if ( + node && + node.sortableInfo && + _this.nodeIsChild(node) && + !_this.sorting + ) { + var useDragHandle = _this.props.useDragHandle; + var _node$sortableInfo = node.sortableInfo, + index = _node$sortableInfo.index, + collection = _node$sortableInfo.collection; + + if ( + useDragHandle && + !closest(event.target, function(el) { + return el.sortableHandle != null; + }) + ) { + return; + } + + _this.manager.active = { + index: index, + collection: collection, + item: items[index], + }; + + if ( + !isTouchEvent(event) && + event.target.tagName.toLowerCase() === 'a' + ) { + event.preventDefault(); + } + + if (!distance) { + if (_this.props.pressDelay === 0) { + _this.handlePress(event); + } else { + _this.pressTimer = setTimeout(function() { + return _this.handlePress(event); + }, _this.props.pressDelay); + } + } + } + }); + + _defineProperty(_assertThisInitialized(_this), 'nodeIsChild', function( + node, + ) { + return node.sortableInfo.manager === _this.manager; + }); + + _defineProperty(_assertThisInitialized(_this), 'handleMove', function( + event, + ) { + var _this$props2 = _this.props, + distance = _this$props2.distance, + pressThreshold = _this$props2.pressThreshold; + + if ( + !_this.sorting && + _this._touched && + !_this._awaitingUpdateBeforeSortStart + ) { + var position = getPosition(event); + var delta = { + x: _this._pos.x - position.x, + y: _this._pos.y - position.y, + }; + var combinedDelta = Math.abs(delta.x) + Math.abs(delta.y); + _this.delta = delta; + + if ( + !distance && + (!pressThreshold || + (pressThreshold && combinedDelta >= pressThreshold)) + ) { + clearTimeout(_this.cancelTimer); + _this.cancelTimer = setTimeout(_this.cancel, 0); + } else if ( + distance && + combinedDelta >= distance && + _this.manager.isActive() + ) { + _this.handlePress(event); + } + } + }); + + _defineProperty(_assertThisInitialized(_this), 'handleEnd', function() { + _this._touched = false; + + _this.cancel(); + }); + + _defineProperty(_assertThisInitialized(_this), 'cancel', function() { + var distance = _this.props.distance; + + if (!_this.sorting) { + if (!distance) { + clearTimeout(_this.pressTimer); + } + + _this.manager.active = null; + } + }); + + _defineProperty(_assertThisInitialized(_this), 'handlePress', function( + event, + ) { + try { + var active = null; + + if (_this.dragLayer.helper) { + if (_this.manager.active) { + _this.checkActiveIndex(); + + active = _this.manager.getActive(); + } + } else { + active = _this.dragLayer.startDrag( + _this.document.body, + _assertThisInitialized(_this), + event, + ); + } + + var _temp6 = (function() { + if (active) { + var _temp7 = function _temp7() { + _this.index = _index; + _this.newIndex = _index; + _this.axis = { + x: _axis.indexOf('x') >= 0, + y: _axis.indexOf('y') >= 0, + }; + _this.initialScroll = { + top: _this.container.scrollTop, + left: _this.container.scrollLeft, + }; + _this.initialWindowScroll = { + top: window.pageYOffset, + left: window.pageXOffset, + }; + + if (_hideSortableGhost) { + _this.sortableGhost = _node; + _node.style.visibility = 'hidden'; + _node.style.opacity = 0; + } + + if (_helperClass) { + var _this$dragLayer$helpe; + + (_this$dragLayer$helpe = + _this.dragLayer.helper.classList).add.apply( + _this$dragLayer$helpe, + _toConsumableArray(_helperClass.split(' ')), + ); + } + + _this.sorting = true; + _this.sortingIndex = _index; + + if (_onSortStart) { + _onSortStart( + { + node: _node, + index: _index, + collection: _collection, + }, + event, + ); + } + }; + + var _this$props3 = _this.props, + _axis = _this$props3.axis, + _helperClass = _this$props3.helperClass, + _hideSortableGhost = _this$props3.hideSortableGhost, + updateBeforeSortStart = _this$props3.updateBeforeSortStart, + _onSortStart = _this$props3.onSortStart; + var _active = active, + _node = _active.node, + _collection = _active.collection; + var _index = _node.sortableInfo.index; + + var _temp8 = (function() { + if (typeof updateBeforeSortStart === 'function') { + _this._awaitingUpdateBeforeSortStart = true; + + var _temp9 = _finallyRethrows( + function() { + return Promise.resolve( + updateBeforeSortStart( + { + node: _node, + index: _index, + collection: _collection, + }, + event, + ), + ).then(function() {}); + }, + function(_wasThrown, _result) { + _this._awaitingUpdateBeforeSortStart = false; + if (_wasThrown) throw _result; + return _result; + }, + ); + + if (_temp9 && _temp9.then) + return _temp9.then(function() {}); + } + })(); + + return _temp8 && _temp8.then + ? _temp8.then(_temp7) + : _temp7(_temp8); + } + })(); + + return Promise.resolve( + _temp6 && _temp6.then ? _temp6.then(function() {}) : void 0, + ); + } catch (e) { + return Promise.reject(e); + } + }); + + _defineProperty( + _assertThisInitialized(_this), + '_handleSortMove', + function(event) { + if (_this.checkActive(event)) { + _this.animateNodes(); + + _this.autoscroll(); + } + + if (window.requestAnimationFrame) { + _this.sortMoveAF = null; + } else { + setTimeout(function() { + _this.sortMoveAF = null; + }, 1000 / 60); + } + }, + ); + + _defineProperty( + _assertThisInitialized(_this), + 'handleSortMove', + function(event) { + var onSortMove = _this.props.onSortMove; + event.preventDefault(); + + if (_this.sortMoveAF) { + return; + } + + if (window.requestAnimationFrame) { + _this.sortMoveAF = window.requestAnimationFrame( + _this._handleSortMove, + ); + } else { + _this.sortMoveAF = true; + + _this._handleSortMove(); + } + + if (onSortMove) { + onSortMove(event); + } + }, + ); + + _defineProperty( + _assertThisInitialized(_this), + 'handleSortEnd', + function(event) { + var newList = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : null; + var _this$props4 = _this.props, + hideSortableGhost = _this$props4.hideSortableGhost, + onSortEnd = _this$props4.onSortEnd; + + if (!_this.manager.active) { + return; + } + + var collection = _this.manager.active.collection; + + if (window.cancelAnimationFrame && _this.sortMoveAF) { + window.cancelAnimationFrame(_this.sortMoveAF); + _this.sortMoveAF = null; + } + + if (hideSortableGhost && _this.sortableGhost) { + _this.sortableGhost.style.visibility = ''; + _this.sortableGhost.style.opacity = ''; + } + + var nodes = _this.manager.refs[collection]; + + for (var i = 0, len = nodes.length; i < len; i++) { + var _node2 = nodes[i]; + var el = _node2.node; + _node2.edgeOffset = null; + el.style[''.concat(vendorPrefix, 'Transform')] = ''; + el.style[''.concat(vendorPrefix, 'TransitionDuration')] = ''; + } + + clearInterval(_this.autoscrollInterval); + _this.autoscrollInterval = null; + _this.manager.active = null; + _this.sorting = false; + _this.sortingIndex = null; + + if (typeof onSortEnd === 'function') { + if (newList) { + _this.newIndex = newList.getClosestNode(event).index; + } + + onSortEnd( + { + oldIndex: _this.index, + newIndex: _this.newIndex, + newList: newList, + collection: collection, + }, + event, + ); + } + + _this._touched = false; + }, + ); + + _defineProperty( + _assertThisInitialized(_this), + 'handleSortSwap', + function(index, item) { + var onSortSwap = _this.props.onSortSwap; + + if (typeof onSortSwap === 'function') { + onSortSwap({ + index: index, + item: item, + }); + } + }, + ); + + _defineProperty( + _assertThisInitialized(_this), + 'getClosestNode', + function(event) { + var position = getPosition(event); + var closestNodes = []; + var closestCollections = []; + Object.keys(_this.manager.refs).forEach(function(collection) { + var nodes = _this.manager.refs[collection].map(function(ref) { + return ref.node; + }); + + if (nodes && nodes.length > 0) { + closestNodes.push( + nodes[closestRect(position.x, position.y, nodes)], + ); + closestCollections.push(collection); + } + }); + var index = closestRect(position.x, position.y, closestNodes); + var collection = closestCollections[index]; + + if (collection === undefined) { + return { + collection: collection, + index: 0, + }; + } + + var finalNodes = _this.manager.refs[collection].map(function(ref) { + return ref.node; + }); + + var finalIndex = finalNodes.indexOf(closestNodes[index]); + var node = closestNodes[index]; + var rect = node.getBoundingClientRect(); + return { + collection: collection, + index: finalIndex + (position.y > rect.bottom ? 1 : 0), + }; + }, + ); + + _defineProperty(_assertThisInitialized(_this), 'checkActive', function( + event, + ) { + var active = _this.manager.active; + + if (!active) { + var _node3 = closest(event.target, function(el) { + return el.sortableInfo != null; + }); + + if (_node3 && _node3.sortableInfo) { + var pos = getPosition(event); + var _collection2 = _node3.sortableInfo.collection; + + var nodes = _this.manager.refs[_collection2].map(function(ref) { + return ref.node; + }); + + if (nodes) { + var _index2 = closestRect(pos.x, pos.y, nodes); + + _this.manager.active = { + index: _index2, + collection: _collection2, + item: _this.props.items[_index2], + }; + + _this.handlePress(event); + } + } + + return false; + } + + return true; + }); + + _defineProperty( + _assertThisInitialized(_this), + 'autoscroll', + function() { + var translate = _this.dragLayer.translate; + var direction = { + x: 0, + y: 0, + }; + var speed = { + x: 1, + y: 1, + }; + var acceleration = { + x: 10, + y: 10, + }; + + if ( + translate.y >= + _this.dragLayer.maxTranslate.y - _this.dragLayer.height / 2 + ) { + direction.y = 1; + speed.y = + acceleration.y * + Math.abs( + (_this.dragLayer.maxTranslate.y - + _this.dragLayer.height / 2 - + translate.y) / + _this.dragLayer.height, + ); + } else if ( + translate.x >= + _this.dragLayer.maxTranslate.x - _this.dragLayer.width / 2 + ) { + direction.x = 1; + speed.x = + acceleration.x * + Math.abs( + (_this.dragLayer.maxTranslate.x - + _this.dragLayer.width / 2 - + translate.x) / + _this.dragLayer.width, + ); + } else if ( + translate.y <= + _this.dragLayer.minTranslate.y + _this.dragLayer.height / 2 + ) { + direction.y = -1; + speed.y = + acceleration.y * + Math.abs( + (translate.y - + _this.dragLayer.height / 2 - + _this.dragLayer.minTranslate.y) / + _this.dragLayer.height, + ); + } else if ( + translate.x <= + _this.dragLayer.minTranslate.x + _this.dragLayer.width / 2 + ) { + direction.x = -1; + speed.x = + acceleration.x * + Math.abs( + (translate.x - + _this.dragLayer.width / 2 - + _this.dragLayer.minTranslate.x) / + _this.dragLayer.width, + ); + } + + if (_this.autoscrollInterval) { + clearInterval(_this.autoscrollInterval); + _this.autoscrollInterval = null; + _this.isAutoScrolling = false; + } + + if (direction.x !== 0 || direction.y !== 0) { + _this.autoscrollInterval = setInterval(function() { + _this.isAutoScrolling = true; + var offset = { + left: speed.x * direction.x, + top: speed.y * direction.y, + }; + _this.scrollContainer.scrollTop += offset.top; + _this.scrollContainer.scrollLeft += offset.left; + + _this.animateNodes(); + }, 5); + } + }, + ); + + _this.dragLayer = props.dragLayer || new DragLayer(); + + _this.dragLayer.addRef(_assertThisInitialized(_this)); + + _this.dragLayer.onDragEnd = props.onDragEnd; + _this.manager = new Manager(); + _this.events = { + start: _this.handleStart, + move: _this.handleMove, + end: _this.handleEnd, + }; + invariant( + !(props.distance && props.pressDelay), + 'Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.', + ); + _this.state = {}; + _this.sorting = false; + return _this; + } + + _createClass(WithSortableContainer, [ + { + key: 'getChildContext', + value: function getChildContext() { + return { + manager: this.manager, + }; + }, + }, + { + key: 'componentDidMount', + value: function componentDidMount() { + var _this2 = this; + + var useWindowAsScrollContainer = this.props + .useWindowAsScrollContainer; + var container = this.getContainer(); + Promise.resolve(container).then(function(containerNode) { + _this2.container = containerNode; + _this2.document = _this2.container.ownerDocument || document; + var contentWindow = + _this2.props.contentWindow || + _this2.document.defaultView || + window; + _this2.contentWindow = + typeof contentWindow === 'function' + ? contentWindow() + : contentWindow; + _this2.scrollContainer = useWindowAsScrollContainer + ? _this2.document.scrollingElement || + _this2.document.documentElement + : _this2.container; + _this2.initialScroll = { + top: _this2.scrollContainer.scrollTop, + left: _this2.scrollContainer.scrollLeft, + }; + + var _loop = function _loop(key) { + if (_this2.events.hasOwnProperty(key)) { + events[key].forEach(function(eventName) { + return _this2.container.addEventListener( + eventName, + _this2.events[key], + false, + ); + }); + } + }; + + for (var key in _this2.events) { + _loop(key); + } + }); + }, + }, + { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + var _this3 = this; + + this.dragLayer.removeRef(this); + + if (this.container) { + var _loop2 = function _loop2(key) { + if (_this3.events.hasOwnProperty(key)) { + events[key].forEach(function(eventName) { + return _this3.container.removeEventListener( + eventName, + _this3.events[key], + ); + }); + } + }; + + for (var key in this.events) { + _loop2(key); + } + } + }, + }, + { + key: 'componentWillReceiveProps', + value: function componentWillReceiveProps(nextProps) { + var active = this.manager.active; + + if (!active) { + return; + } + + this.checkActiveIndex(nextProps); + }, + }, + { + key: 'getLockPixelOffsets', + value: function getLockPixelOffsets() { + var _this$dragLayer = this.dragLayer, + width = _this$dragLayer.width, + height = _this$dragLayer.height; + var lockOffset = this.props.lockOffset; + var offsets = Array.isArray(lockOffset) + ? lockOffset + : [lockOffset, lockOffset]; + invariant( + offsets.length === 2, + 'lockOffset prop of SortableContainer should be a single ' + + 'value or an array of exactly two values. Given %s', + lockOffset, + ); + + var _offsets = _slicedToArray(offsets, 2), + minLockOffset = _offsets[0], + maxLockOffset = _offsets[1]; + + return [ + getLockPixelOffset({ + lockOffset: minLockOffset, + width: width, + height: height, + }), + getLockPixelOffset({ + lockOffset: maxLockOffset, + width: width, + height: height, + }), + ]; + }, + }, + { + key: 'animateNodes', + value: function animateNodes() { + if (!this.axis) { + return; + } + + var _this$props5 = this.props, + transitionDuration = _this$props5.transitionDuration, + hideSortableGhost = _this$props5.hideSortableGhost, + onSortOver = _this$props5.onSortOver, + animateNodes = _this$props5.animateNodes; + var nodes = this.manager.getOrderedRefs(); + var containerScrollDelta = { + left: this.container.scrollLeft - this.initialScroll.left, + top: this.container.scrollTop - this.initialScroll.top, + }; + var sortingOffset = { + left: + this.dragLayer.offsetEdge.left - + this.dragLayer.distanceBetweenContainers.x + + this.dragLayer.translate.x + + containerScrollDelta.left, + top: + this.dragLayer.offsetEdge.top - + this.dragLayer.distanceBetweenContainers.y + + this.dragLayer.translate.y + + containerScrollDelta.top, + }; + var windowScrollDelta = { + top: window.pageYOffset - this.initialWindowScroll.top, + left: window.pageXOffset - this.initialWindowScroll.left, + }; + var prevIndex = this.newIndex; + this.newIndex = null; + + for (var i = 0, len = nodes.length; i < len; i++) { + var _node4 = nodes[i].node; + var _index3 = _node4.sortableInfo.index; + var width = _node4.offsetWidth; + var height = _node4.offsetHeight; + var offset = { + width: + this.dragLayer.width > width + ? width / 2 + : this.dragLayer.width / 2, + height: + this.dragLayer.height > height + ? height / 2 + : this.dragLayer.height / 2, + }; + var translate = { + x: 0, + y: 0, + }; + var edgeOffset = nodes[i].edgeOffset; + + if (!edgeOffset) { + edgeOffset = getEdgeOffset(_node4, this.container); + nodes[i].edgeOffset = edgeOffset; + } + + var nextNode = i < nodes.length - 1 && nodes[i + 1]; + var prevNode = i > 0 && nodes[i - 1]; + + if (nextNode && !nextNode.edgeOffset) { + nextNode.edgeOffset = getEdgeOffset( + nextNode.node, + this.container, + ); + } + + if (_index3 === this.index) { + if (hideSortableGhost) { + this.sortableGhost = _node4; + _node4.style.visibility = 'hidden'; + _node4.style.opacity = 0; + } + + continue; + } + + if (transitionDuration) { + _node4.style[ + ''.concat(vendorPrefix, 'TransitionDuration') + ] = ''.concat(transitionDuration, 'ms'); + } + + if (this.axis.x) { + if (this.axis.y) { + if ( + _index3 < this.index && + ((sortingOffset.left + + windowScrollDelta.left - + offset.width <= + edgeOffset.left && + sortingOffset.top + windowScrollDelta.top <= + edgeOffset.top + offset.height) || + sortingOffset.top + + windowScrollDelta.top + + offset.height <= + edgeOffset.top) + ) { + translate.x = + this.dragLayer.width + this.dragLayer.marginOffset.x; + + if ( + edgeOffset.left + translate.x > + this.dragLayer.containerBoundingRect.width - offset.width + ) { + translate.x = nextNode.edgeOffset.left - edgeOffset.left; + translate.y = nextNode.edgeOffset.top - edgeOffset.top; + } + + if (this.newIndex === null) { + this.newIndex = _index3; + } + } else if ( + _index3 > this.index && + ((sortingOffset.left + + windowScrollDelta.left + + offset.width >= + edgeOffset.left && + sortingOffset.top + + windowScrollDelta.top + + offset.height >= + edgeOffset.top) || + sortingOffset.top + + windowScrollDelta.top + + offset.height >= + edgeOffset.top + height) + ) { + translate.x = -( + this.dragLayer.width + this.dragLayer.marginOffset.x + ); + + if ( + edgeOffset.left + translate.x < + this.dragLayer.containerBoundingRect.left + offset.width + ) { + translate.x = prevNode.edgeOffset.left - edgeOffset.left; + translate.y = prevNode.edgeOffset.top - edgeOffset.top; + } + + this.newIndex = _index3; + } + } else { + if ( + _index3 > this.index && + sortingOffset.left + + windowScrollDelta.left + + offset.width >= + edgeOffset.left + ) { + translate.x = -( + this.dragLayer.width + this.dragLayer.marginOffset.x + ); + this.newIndex = _index3; + } else if ( + _index3 < this.index && + sortingOffset.left + windowScrollDelta.left <= + edgeOffset.left + offset.width + ) { + translate.x = + this.dragLayer.width + this.dragLayer.marginOffset.x; + + if (this.newIndex == null) { + this.newIndex = _index3; + } + } + } + } else if (this.axis.y) { + if ( + _index3 > this.index && + sortingOffset.top + windowScrollDelta.top + offset.height >= + edgeOffset.top + ) { + translate.y = -( + this.dragLayer.height + this.dragLayer.marginOffset.y + ); + this.newIndex = _index3; + } else if ( + _index3 < this.index && + sortingOffset.top + windowScrollDelta.top <= + edgeOffset.top + offset.height + ) { + translate.y = + this.dragLayer.height + this.dragLayer.marginOffset.y; + + if (this.newIndex == null) { + this.newIndex = _index3; + } + } + } + + if (animateNodes) { + _node4.style[ + ''.concat(vendorPrefix, 'Transform') + ] = 'translate3d(' + .concat(translate.x, 'px,') + .concat(translate.y, 'px,0)'); + } + } + + if (this.newIndex == null) { + this.newIndex = this.index; + } + + if (onSortOver && this.newIndex !== prevIndex) { + onSortOver({ + newIndex: this.newIndex, + oldIndex: prevIndex, + index: this.index, + collection: this.manager.active.collection, + }); + } + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'getContainer', + value: function getContainer() { + var getContainer = this.props.getContainer; + + if (typeof getContainer !== 'function') { + return findDOMNode(this); + } + + return getContainer( + config.withRef ? this.getWrappedInstance() : undefined, + ); + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return createElement( + WrappedComponent, + _extends( + { + ref: ref, + }, + omit( + this.props, + 'contentWindow', + 'useWindowAsScrollContainer', + 'distance', + 'helperClass', + 'hideSortableGhost', + 'transitionDuration', + 'useDragHandle', + 'animateNodes', + 'pressDelay', + 'pressThreshold', + 'shouldCancelStart', + 'updateBeforeSortStart', + 'onSortStart', + 'onSortSwap', + 'onSortMove', + 'onSortEnd', + 'axis', + 'lockAxis', + 'lockOffset', + 'lockToContainerEdges', + 'getContainer', + 'getHelperDimensions', + ), + ), + ); + }, + }, + { + key: 'helperContainer', + get: function get() { + return this.props.helperContainer || this.document.body; + }, + }, + ]); + + return WithSortableContainer; + })(Component)), + _defineProperty( + _class, + 'displayName', + provideDisplayName('sortableList', WrappedComponent), + ), + _defineProperty(_class, 'defaultProps', { + axis: 'y', + transitionDuration: 300, + pressDelay: 0, + pressThreshold: 5, + distance: 0, + useWindowAsScrollContainer: false, + hideSortableGhost: true, + animateNodes: true, + shouldCancelStart: function shouldCancelStart(event) { + var disabledElements = [ + 'input', + 'textarea', + 'select', + 'option', + 'button', + ]; + + if ( + disabledElements.indexOf(event.target.tagName.toLowerCase()) !== -1 + ) { + return true; + } + + return false; + }, + lockToContainerEdges: false, + lockOffset: '50%', + getHelperDimensions: function getHelperDimensions(_ref2) { + var node = _ref2.node; + return { + width: node.offsetWidth, + height: node.offsetHeight, + }; + }, + }), + _defineProperty(_class, 'propTypes', { + axis: PropTypes.oneOf(['x', 'y', 'xy']), + distance: PropTypes.number, + dragLayer: PropTypes.object, + lockAxis: PropTypes.string, + helperClass: PropTypes.string, + transitionDuration: PropTypes.number, + contentWindow: PropTypes.any, + updateBeforeSortStart: PropTypes.func, + onSortStart: PropTypes.func, + onSortMove: PropTypes.func, + onSortOver: PropTypes.func, + onSortEnd: PropTypes.func, + onDragEnd: PropTypes.func, + shouldCancelStart: PropTypes.func, + pressDelay: PropTypes.number, + pressThreshold: PropTypes.number, + useDragHandle: PropTypes.bool, + animateNodes: PropTypes.bool, + useWindowAsScrollContainer: PropTypes.bool, + hideSortableGhost: PropTypes.bool, + lockToContainerEdges: PropTypes.bool, + lockOffset: PropTypes.oneOfType([ + PropTypes.number, + PropTypes.string, + PropTypes.arrayOf( + PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + ), + ]), + getContainer: PropTypes.func, + getHelperDimensions: PropTypes.func, + helperContainer: + typeof HTMLElement === 'undefined' + ? PropTypes.any + : PropTypes.instanceOf(HTMLElement), + }), + _defineProperty(_class, 'childContextTypes', { + manager: PropTypes.object.isRequired, + }), + _temp + ); +} + +function sortableElement(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + _inherits(WithSortableElement, _React$Component); + + function WithSortableElement() { + _classCallCheck(this, WithSortableElement); + + return _possibleConstructorReturn( + this, + _getPrototypeOf(WithSortableElement).apply(this, arguments), + ); + } + + _createClass(WithSortableElement, [ + { + key: 'componentDidMount', + value: function componentDidMount() { + var _this$props = this.props, + collection = _this$props.collection, + disabled = _this$props.disabled, + index = _this$props.index; + + if (!disabled) { + this.setDraggable(collection, index); + } + }, + }, + { + key: 'componentWillReceiveProps', + value: function componentWillReceiveProps(nextProps) { + if (this.props.index !== nextProps.index && this.node) { + this.node.sortableInfo.index = nextProps.index; + } + + if (this.props.disabled !== nextProps.disabled) { + var collection = nextProps.collection, + disabled = nextProps.disabled, + index = nextProps.index; + + if (disabled) { + this.removeDraggable(collection); + } else { + this.setDraggable(collection, index); + } + } else if (this.props.collection !== nextProps.collection) { + this.removeDraggable(this.props.collection); + this.setDraggable(nextProps.collection, nextProps.index); + } + }, + }, + { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + var _this$props2 = this.props, + collection = _this$props2.collection, + disabled = _this$props2.disabled; + + if (!disabled) { + this.removeDraggable(collection); + } + }, + }, + { + key: 'setDraggable', + value: function setDraggable(collection, index) { + var node = findDOMNode(this); + node.sortableInfo = { + index: index, + collection: collection, + manager: this.context.manager, + }; + this.node = node; + this.ref = { + node: node, + }; + this.context.manager.add(collection, this.ref); + }, + }, + { + key: 'removeDraggable', + value: function removeDraggable(collection) { + this.context.manager.remove(collection, this.ref); + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return createElement( + WrappedComponent, + _extends( + { + ref: ref, + }, + omit(this.props, 'collection', 'disabled', 'index'), + ), + ); + }, + }, + ]); + + return WithSortableElement; + })(Component)), + _defineProperty( + _class, + 'displayName', + provideDisplayName('sortableElement', WrappedComponent), + ), + _defineProperty(_class, 'contextTypes', { + manager: PropTypes.object.isRequired, + }), + _defineProperty(_class, 'propTypes', { + index: PropTypes.number.isRequired, + collection: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + disabled: PropTypes.bool, + }), + _defineProperty(_class, 'defaultProps', { + collection: 0, + }), + _temp + ); +} + +function sortableHandle(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + _inherits(WithSortableHandle, _React$Component); + + function WithSortableHandle() { + _classCallCheck(this, WithSortableHandle); + + return _possibleConstructorReturn( + this, + _getPrototypeOf(WithSortableHandle).apply(this, arguments), + ); + } + + _createClass(WithSortableHandle, [ + { + key: 'componentDidMount', + value: function componentDidMount() { + var node = findDOMNode(this); + node.sortableHandle = true; + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return createElement( + WrappedComponent, + _extends( + { + ref: ref, + }, + this.props, + ), + ); + }, + }, + ]); + + return WithSortableHandle; + })(Component)), + _defineProperty( + _class, + 'displayName', + provideDisplayName('sortableHandle', WrappedComponent), + ), + _temp + ); +} + +export { + DragLayer, + sortableContainer as SortableContainer, + sortableElement as SortableElement, + sortableHandle as SortableHandle, + arrayMove, + sortableContainer, + sortableElement, + sortableHandle, +}; diff --git a/dist/react-sortable-hoc.js b/dist/react-sortable-hoc.js new file mode 100644 index 000000000..242fbf6d1 --- /dev/null +++ b/dist/react-sortable-hoc.js @@ -0,0 +1,2029 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', {value: true}); + +function _interopDefault(ex) { + return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex; +} + +var _extends = _interopDefault(require('@babel/runtime/helpers/extends')); +var _slicedToArray = _interopDefault( + require('@babel/runtime/helpers/slicedToArray'), +); +var _toConsumableArray = _interopDefault( + require('@babel/runtime/helpers/toConsumableArray'), +); +var _classCallCheck = _interopDefault( + require('@babel/runtime/helpers/classCallCheck'), +); +var _createClass = _interopDefault( + require('@babel/runtime/helpers/createClass'), +); +var _possibleConstructorReturn = _interopDefault( + require('@babel/runtime/helpers/possibleConstructorReturn'), +); +var _getPrototypeOf = _interopDefault( + require('@babel/runtime/helpers/getPrototypeOf'), +); +var _assertThisInitialized = _interopDefault( + require('@babel/runtime/helpers/assertThisInitialized'), +); +var _inherits = _interopDefault(require('@babel/runtime/helpers/inherits')); +var _defineProperty = _interopDefault( + require('@babel/runtime/helpers/defineProperty'), +); +var React = require('react'); +var PropTypes = _interopDefault(require('prop-types')); +var reactDom = require('react-dom'); +var invariant = _interopDefault(require('invariant')); +var findIndex = _interopDefault(require('lodash/findIndex')); +var isPlainObject = _interopDefault(require('lodash/isPlainObject')); +var _objectSpread = _interopDefault( + require('@babel/runtime/helpers/objectSpread'), +); +require('classlist-polyfill'); + +function arrayMove(array, from, to) { + array = array.slice(); + array.splice(to < 0 ? array.length + to : to, 0, array.splice(from, 1)[0]); + return array; +} +function omit(obj) { + for ( + var _len = arguments.length, + keysToOmit = new Array(_len > 1 ? _len - 1 : 0), + _key = 1; + _key < _len; + _key++ + ) { + keysToOmit[_key - 1] = arguments[_key]; + } + + return Object.keys(obj).reduce(function(acc, key) { + if (keysToOmit.indexOf(key) === -1) { + acc[key] = obj[key]; + } + + return acc; + }, {}); +} +var events = { + start: ['touchstart', 'mousedown'], + move: ['touchmove', 'mousemove'], + end: ['touchend', 'touchcancel', 'mouseup'], +}; +var vendorPrefix = (function() { + if (typeof window === 'undefined' || typeof document === 'undefined') { + return ''; + } + + var styles = window.getComputedStyle(document.documentElement, '') || [ + '-moz-hidden-iframe', + ]; + var pre = (Array.prototype.slice + .call(styles) + .join('') + .match(/-(moz|webkit|ms)-/) || + (styles.OLink === '' && ['', 'o']))[1]; + + switch (pre) { + case 'ms': + return 'ms'; + + default: + return pre && pre.length ? pre[0].toUpperCase() + pre.substr(1) : ''; + } +})(); +function closest(el, fn) { + while (el) { + if (fn(el)) { + return el; + } + + el = el.parentNode; + } + + return null; +} +function limit(min, max, value) { + return Math.max(min, Math.min(value, max)); +} + +function getPixelValue(stringValue) { + if (stringValue.substr(-2) === 'px') { + return parseFloat(stringValue); + } + + return 0; +} + +function getElementMargin(element) { + var style = window.getComputedStyle(element); + return { + top: getPixelValue(style.marginTop), + right: getPixelValue(style.marginRight), + bottom: getPixelValue(style.marginBottom), + left: getPixelValue(style.marginLeft), + }; +} +function provideDisplayName(prefix, Component) { + var componentName = Component.displayName || Component.name; + return componentName + ? ''.concat(prefix, '(').concat(componentName, ')') + : prefix; +} +function getPosition(event) { + if (event.touches && event.touches.length) { + return { + x: event.touches[0].pageX, + y: event.touches[0].pageY, + }; + } else if (event.changedTouches && event.changedTouches.length) { + return { + x: event.changedTouches[0].pageX, + y: event.changedTouches[0].pageY, + }; + } else { + return { + x: event.pageX, + y: event.pageY, + }; + } +} +function isTouchEvent(event) { + return ( + (event.touches && event.touches.length) || + (event.changedTouches && event.changedTouches.length) + ); +} +function getEdgeOffset(node, parent) { + var offset = + arguments.length > 2 && arguments[2] !== undefined + ? arguments[2] + : { + top: 0, + left: 0, + }; + + if (!node) { + return undefined; + } + + var nodeOffset = { + top: offset.top + node.offsetTop, + left: offset.left + node.offsetLeft, + }; + + if (node.parentNode === parent) { + return nodeOffset; + } + + return getEdgeOffset(node.parentNode, parent, nodeOffset); +} +function getLockPixelOffset(_ref) { + var lockOffset = _ref.lockOffset, + width = _ref.width, + height = _ref.height; + var offsetX = lockOffset; + var offsetY = lockOffset; + var unit = 'px'; + + if (typeof lockOffset === 'string') { + var match = /^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(lockOffset); + invariant( + match !== null, + 'lockOffset value should be a number or a string of a ' + + 'number followed by "px" or "%". Given %s', + lockOffset, + ); + offsetX = parseFloat(lockOffset); + offsetY = parseFloat(lockOffset); + unit = match[1]; + } + + invariant( + isFinite(offsetX) && isFinite(offsetY), + 'lockOffset value should be a finite. Given %s', + lockOffset, + ); + + if (unit === '%') { + offsetX = (offsetX * width) / 100; + offsetY = (offsetY * height) / 100; + } + + return { + x: offsetX, + y: offsetY, + }; +} +var NodeType = { + Anchor: 'A', + Button: 'BUTTON', + Canvas: 'CANVAS', + Input: 'INPUT', + Option: 'OPTION', + Textarea: 'TEXTAREA', + Select: 'SELECT', +}; + +function distanceRect(x, y, rect) { + var pageXOffset = window.pageXOffset; + var pageYOffset = window.pageYOffset; + var left = rect.left + pageXOffset; + var right = rect.right + pageXOffset; + var top = rect.top + pageYOffset; + var bottom = rect.bottom + pageYOffset; + var dx = x - limit(left, right, x); + var dy = y - limit(top, bottom, y); + return Math.sqrt(dx * dx + dy * dy); +} +function closestRect(x, y, containers) { + var distances = containers.map(function(container) { + return distanceRect(x, y, container.getBoundingClientRect()); + }); + return distances.indexOf(Math.min.apply(Math, _toConsumableArray(distances))); +} +function getDelta(rect1, rect2) { + return { + x: rect1.left - rect2.left, + y: rect1.top - rect2.top, + }; +} +function updateDistanceBetweenContainers(distance, container1, container2) { + var x = distance.x, + y = distance.y; + var delta = getDelta.apply( + void 0, + _toConsumableArray( + [container1, container2].map(function(cont) { + return cont.container.getBoundingClientRect(); + }), + ), + ); + var scrollDX = + container2.scrollContainer.scrollLeft - + container1.scrollContainer.scrollLeft; + var scrollDY = + container2.scrollContainer.scrollTop - container1.scrollContainer.scrollTop; + return { + x: x + delta.x + scrollDX, + y: y + delta.y + scrollDY, + }; +} + +var DragLayer = (function() { + function DragLayer() { + var _this = this; + + _classCallCheck(this, DragLayer); + + _defineProperty(this, 'helper', null); + + _defineProperty(this, 'lists', []); + + _defineProperty(this, 'handleSortMove', function(event) { + event.preventDefault(); + + _this.updatePosition(event); + + _this.updateTargetContainer(event); + + if (_this.targetList) { + _this.targetList.handleSortMove(event); + } + }); + + _defineProperty(this, 'handleSortEnd', function(event) { + if (_this.listenerNode) { + events.move.forEach(function(eventName) { + return _this.listenerNode.removeEventListener( + eventName, + _this.handleSortMove, + ); + }); + events.end.forEach(function(eventName) { + return _this.listenerNode.removeEventListener( + eventName, + _this.handleSortEnd, + ); + }); + } + + if (typeof _this.onDragEnd === 'function') { + _this.onDragEnd(); + } + + if (_this.helper) { + _this.helper.parentNode.removeChild(_this.helper); + + _this.helper = null; + + _this.targetList.handleSortEnd(event); + } + + _this.lists.forEach(function(list) { + delete list.initialWindowScroll; + }); + }); + } + + _createClass(DragLayer, [ + { + key: 'addRef', + value: function addRef(list) { + this.lists.push(list); + }, + }, + { + key: 'removeRef', + value: function removeRef(list) { + var i = this.lists.indexOf(list); + + if (i !== -1) { + this.lists.splice(i, 1); + } + }, + }, + { + key: 'setTranslateBoundaries', + value: function setTranslateBoundaries(containerBoundingRect, list) { + var useWindowAsScrollContainer = list.props.useWindowAsScrollContainer; + this.minTranslate = {}; + this.maxTranslate = {}; + + if (this.axis.x) { + this.minTranslate.x = + (useWindowAsScrollContainer ? 0 : containerBoundingRect.left) - + this.boundingClientRect.left - + this.width / 2; + this.maxTranslate.x = + (useWindowAsScrollContainer + ? list.contentWindow.innerWidth + : containerBoundingRect.left + containerBoundingRect.width) - + this.boundingClientRect.left - + this.width / 2; + } + + if (this.axis.y) { + this.minTranslate.y = + (useWindowAsScrollContainer ? 0 : containerBoundingRect.top) - + this.boundingClientRect.top - + this.height / 2; + this.maxTranslate.y = + (useWindowAsScrollContainer + ? list.contentWindow.innerHeight + : containerBoundingRect.top + containerBoundingRect.height) - + this.boundingClientRect.top - + this.height / 2; + } + }, + }, + { + key: 'startDrag', + value: function startDrag(parent, list, event) { + var _this2 = this; + + var position = getPosition(event); + var activeNode = list.manager.getActive(); + + if (activeNode) { + var _list$props = list.props, + axis = _list$props.axis, + getHelperDimensions = _list$props.getHelperDimensions; + var node = activeNode.node, + collection = activeNode.collection; + var index = node.sortableInfo.index; + var margin = getElementMargin(node); + var containerBoundingRect = list.container.getBoundingClientRect(); + var dimensions = getHelperDimensions({ + index: index, + node: node, + collection: collection, + }); + this.width = dimensions.width; + this.height = dimensions.height; + this.marginOffset = { + x: margin.left + margin.right, + y: Math.max(margin.top, margin.bottom), + }; + this.boundingClientRect = node.getBoundingClientRect(); + this.containerBoundingRect = containerBoundingRect; + this.targetList = list; + this.axis = { + x: axis.indexOf('x') >= 0, + y: axis.indexOf('y') >= 0, + }; + this.offsetEdge = getEdgeOffset(node, list.container); + this.initialOffset = position; + this.distanceBetweenContainers = { + x: 0, + y: 0, + }; + var fields = node.querySelectorAll('input, textarea, select, canvas'); + var clonedNode = node.cloneNode(true); + + var clonedFields = _toConsumableArray( + clonedNode.querySelectorAll('input, textarea, select, canvas'), + ); + + clonedFields.forEach(function(field, i) { + if (field.type !== 'file' && fields[index]) { + field.value = fields[i].value; + } + + if (field.tagName === NodeType.Canvas) { + var destCtx = field.getContext('2d'); + destCtx.drawImage(fields[index], 0, 0); + } + }); + this.helper = parent.appendChild(clonedNode); + this.helper.style.position = 'fixed'; + this.helper.style.top = ''.concat( + this.boundingClientRect.top - margin.top, + 'px', + ); + this.helper.style.left = ''.concat( + this.boundingClientRect.left - margin.left, + 'px', + ); + this.helper.style.width = ''.concat(this.width, 'px'); + this.helper.style.height = ''.concat(this.height, 'px'); + this.helper.style.boxSizing = 'border-box'; + this.helper.style.pointerEvents = 'none'; + this.setTranslateBoundaries(containerBoundingRect, list); + this.listenerNode = event.touches ? node : list.contentWindow; + events.move.forEach(function(eventName) { + return _this2.listenerNode.addEventListener( + eventName, + _this2.handleSortMove, + false, + ); + }); + events.end.forEach(function(eventName) { + return _this2.listenerNode.addEventListener( + eventName, + _this2.handleSortEnd, + false, + ); + }); + return activeNode; + } + + return false; + }, + }, + { + key: 'stopDrag', + value: function stopDrag() { + this.handleSortEnd(); + }, + }, + { + key: 'updatePosition', + value: function updatePosition(event) { + var _this$targetList$prop = this.targetList.props, + lockAxis = _this$targetList$prop.lockAxis, + lockToContainerEdges = _this$targetList$prop.lockToContainerEdges; + var offset = getPosition(event); + var translate = { + x: offset.x - this.initialOffset.x, + y: offset.y - this.initialOffset.y, + }; + translate.y -= + window.pageYOffset - this.targetList.initialWindowScroll.top; + translate.x -= + window.pageXOffset - this.targetList.initialWindowScroll.left; + this.translate = translate; + this.delta = offset; + + if (lockToContainerEdges) { + var _this$targetList$getL = this.targetList.getLockPixelOffsets(), + _this$targetList$getL2 = _slicedToArray(_this$targetList$getL, 2), + minLockOffset = _this$targetList$getL2[0], + maxLockOffset = _this$targetList$getL2[1]; + + var minOffset = { + x: this.width / 2 - minLockOffset.x, + y: this.height / 2 - minLockOffset.y, + }; + var maxOffset = { + x: this.width / 2 - maxLockOffset.x, + y: this.height / 2 - maxLockOffset.y, + }; + translate.x = limit( + this.minTranslate.x + minOffset.x, + this.maxTranslate.x - maxOffset.x, + translate.x, + ); + translate.y = limit( + this.minTranslate.y + minOffset.y, + this.maxTranslate.y - maxOffset.y, + translate.y, + ); + } + + if (lockAxis === 'x') { + translate.y = 0; + } else if (lockAxis === 'y') { + translate.x = 0; + } + + this.helper.style[ + ''.concat(vendorPrefix, 'Transform') + ] = 'translate3d(' + .concat(translate.x, 'px,') + .concat(translate.y, 'px, 0)'); + }, + }, + { + key: 'updateTargetContainer', + value: function updateTargetContainer(event) { + var _this$delta = this.delta, + x = _this$delta.x, + y = _this$delta.y; + var originList = this.targetList; + var targetList = this.lists[ + closestRect( + x, + y, + this.lists.map(function(list) { + return list.container; + }), + ) + ]; + var item = this.targetList.manager.active.item; + this.active = item; + + if (targetList !== originList) { + this.targetList = targetList; + var originListInitialWindowScroll = originList.initialWindowScroll; + var cachedOriginListRect = originList.container.getBoundingClientRect(); + var cachedTargetListRect = targetList.container.getBoundingClientRect(); + originList.handleSortEnd(event, targetList); + this.setTranslateBoundaries( + targetList.container.getBoundingClientRect(), + targetList, + ); + this.targetList.manager.active = _objectSpread( + {}, + targetList.getClosestNode(event), + { + item: item, + }, + ); + targetList.handlePress(event); + this.targetList.initialWindowScroll = originListInitialWindowScroll; + this.distanceBetweenContainers = updateDistanceBetweenContainers( + this.distanceBetweenContainers, + targetList, + originList, + ); + var targetListRect = targetList.container.getBoundingClientRect(); + + if (targetListRect.top < cachedOriginListRect.top) { + var targetListContainerHeightDelta = Math.abs( + cachedTargetListRect.height - targetListRect.height, + ); + this.distanceBetweenContainers.y += targetListContainerHeightDelta; + } + } + }, + }, + ]); + + return DragLayer; +})(); + +var Manager = (function() { + function Manager() { + _classCallCheck(this, Manager); + + _defineProperty(this, 'refs', {}); + } + + _createClass(Manager, [ + { + key: 'add', + value: function add(collection, ref) { + if (!this.refs[collection]) { + this.refs[collection] = []; + } + + this.refs[collection].push(ref); + }, + }, + { + key: 'remove', + value: function remove(collection, ref) { + var index = this.getIndex(collection, ref); + + if (index !== -1) { + this.refs[collection].splice(index, 1); + } + }, + }, + { + key: 'isActive', + value: function isActive() { + return this.active; + }, + }, + { + key: 'getActive', + value: function getActive() { + var _this = this; + + if (!this.active) { + return null; + } + + var activeRef = this.refs[this.active.collection]; + + if (!activeRef) { + return null; + } + + return ( + activeRef.find(function(_ref) { + var node = _ref.node; + return node.sortableInfo.index == _this.active.index; + }) || activeRef.slice(-1).pop() + ); + }, + }, + { + key: 'getIndex', + value: function getIndex(collection, ref) { + return this.refs[collection].indexOf(ref); + }, + }, + { + key: 'getOrderedRefs', + value: function getOrderedRefs() { + var collection = + arguments.length > 0 && arguments[0] !== undefined + ? arguments[0] + : this.active.collection; + return this.refs[collection].sort(sortByIndex); + }, + }, + ]); + + return Manager; +})(); + +function sortByIndex(_ref2, _ref3) { + var index1 = _ref2.node.sortableInfo.index; + var index2 = _ref3.node.sortableInfo.index; + return index1 - index2; +} + +function _finallyRethrows(body, finalizer) { + try { + var result = body(); + } catch (e) { + return finalizer(true, e); + } + + if (result && result.then) { + return result.then(finalizer.bind(null, false), finalizer.bind(null, true)); + } + + return finalizer(false, value); +} +function sortableContainer(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + _inherits(WithSortableContainer, _React$Component); + + function WithSortableContainer(props) { + var _this; + + _classCallCheck(this, WithSortableContainer); + + _this = _possibleConstructorReturn( + this, + _getPrototypeOf(WithSortableContainer).call(this, props), + ); + + _defineProperty( + _assertThisInitialized(_this), + 'checkActiveIndex', + function(nextProps) { + var _ref = nextProps || _this.props, + items = _ref.items; + + var item = _this.manager.active.item; + var newIndex = isPlainObject(item) + ? findIndex(items, function(obj) { + return obj.id === item.id; + }) + : findIndex(items, item); + + if (newIndex === -1) { + _this.dragLayer.stopDrag(); + + return; + } + + _this.manager.active.index = newIndex; + _this.index = newIndex; + }, + ); + + _defineProperty(_assertThisInitialized(_this), 'handleStart', function( + event, + ) { + var _this$props = _this.props, + distance = _this$props.distance, + shouldCancelStart = _this$props.shouldCancelStart, + items = _this$props.items; + + if (event.button === 2 || shouldCancelStart(event)) { + return; + } + + _this._touched = true; + _this._pos = getPosition(event); + var node = closest(event.target, function(el) { + return el.sortableInfo != null; + }); + + if ( + node && + node.sortableInfo && + _this.nodeIsChild(node) && + !_this.sorting + ) { + var useDragHandle = _this.props.useDragHandle; + var _node$sortableInfo = node.sortableInfo, + index = _node$sortableInfo.index, + collection = _node$sortableInfo.collection; + + if ( + useDragHandle && + !closest(event.target, function(el) { + return el.sortableHandle != null; + }) + ) { + return; + } + + _this.manager.active = { + index: index, + collection: collection, + item: items[index], + }; + + if ( + !isTouchEvent(event) && + event.target.tagName.toLowerCase() === 'a' + ) { + event.preventDefault(); + } + + if (!distance) { + if (_this.props.pressDelay === 0) { + _this.handlePress(event); + } else { + _this.pressTimer = setTimeout(function() { + return _this.handlePress(event); + }, _this.props.pressDelay); + } + } + } + }); + + _defineProperty(_assertThisInitialized(_this), 'nodeIsChild', function( + node, + ) { + return node.sortableInfo.manager === _this.manager; + }); + + _defineProperty(_assertThisInitialized(_this), 'handleMove', function( + event, + ) { + var _this$props2 = _this.props, + distance = _this$props2.distance, + pressThreshold = _this$props2.pressThreshold; + + if ( + !_this.sorting && + _this._touched && + !_this._awaitingUpdateBeforeSortStart + ) { + var position = getPosition(event); + var delta = { + x: _this._pos.x - position.x, + y: _this._pos.y - position.y, + }; + var combinedDelta = Math.abs(delta.x) + Math.abs(delta.y); + _this.delta = delta; + + if ( + !distance && + (!pressThreshold || + (pressThreshold && combinedDelta >= pressThreshold)) + ) { + clearTimeout(_this.cancelTimer); + _this.cancelTimer = setTimeout(_this.cancel, 0); + } else if ( + distance && + combinedDelta >= distance && + _this.manager.isActive() + ) { + _this.handlePress(event); + } + } + }); + + _defineProperty(_assertThisInitialized(_this), 'handleEnd', function() { + _this._touched = false; + + _this.cancel(); + }); + + _defineProperty(_assertThisInitialized(_this), 'cancel', function() { + var distance = _this.props.distance; + + if (!_this.sorting) { + if (!distance) { + clearTimeout(_this.pressTimer); + } + + _this.manager.active = null; + } + }); + + _defineProperty(_assertThisInitialized(_this), 'handlePress', function( + event, + ) { + try { + var active = null; + + if (_this.dragLayer.helper) { + if (_this.manager.active) { + _this.checkActiveIndex(); + + active = _this.manager.getActive(); + } + } else { + active = _this.dragLayer.startDrag( + _this.document.body, + _assertThisInitialized(_this), + event, + ); + } + + var _temp6 = (function() { + if (active) { + var _temp7 = function _temp7() { + _this.index = _index; + _this.newIndex = _index; + _this.axis = { + x: _axis.indexOf('x') >= 0, + y: _axis.indexOf('y') >= 0, + }; + _this.initialScroll = { + top: _this.container.scrollTop, + left: _this.container.scrollLeft, + }; + _this.initialWindowScroll = { + top: window.pageYOffset, + left: window.pageXOffset, + }; + + if (_hideSortableGhost) { + _this.sortableGhost = _node; + _node.style.visibility = 'hidden'; + _node.style.opacity = 0; + } + + if (_helperClass) { + var _this$dragLayer$helpe; + + (_this$dragLayer$helpe = + _this.dragLayer.helper.classList).add.apply( + _this$dragLayer$helpe, + _toConsumableArray(_helperClass.split(' ')), + ); + } + + _this.sorting = true; + _this.sortingIndex = _index; + + if (_onSortStart) { + _onSortStart( + { + node: _node, + index: _index, + collection: _collection, + }, + event, + ); + } + }; + + var _this$props3 = _this.props, + _axis = _this$props3.axis, + _helperClass = _this$props3.helperClass, + _hideSortableGhost = _this$props3.hideSortableGhost, + updateBeforeSortStart = _this$props3.updateBeforeSortStart, + _onSortStart = _this$props3.onSortStart; + var _active = active, + _node = _active.node, + _collection = _active.collection; + var _index = _node.sortableInfo.index; + + var _temp8 = (function() { + if (typeof updateBeforeSortStart === 'function') { + _this._awaitingUpdateBeforeSortStart = true; + + var _temp9 = _finallyRethrows( + function() { + return Promise.resolve( + updateBeforeSortStart( + { + node: _node, + index: _index, + collection: _collection, + }, + event, + ), + ).then(function() {}); + }, + function(_wasThrown, _result) { + _this._awaitingUpdateBeforeSortStart = false; + if (_wasThrown) throw _result; + return _result; + }, + ); + + if (_temp9 && _temp9.then) + return _temp9.then(function() {}); + } + })(); + + return _temp8 && _temp8.then + ? _temp8.then(_temp7) + : _temp7(_temp8); + } + })(); + + return Promise.resolve( + _temp6 && _temp6.then ? _temp6.then(function() {}) : void 0, + ); + } catch (e) { + return Promise.reject(e); + } + }); + + _defineProperty( + _assertThisInitialized(_this), + '_handleSortMove', + function(event) { + if (_this.checkActive(event)) { + _this.animateNodes(); + + _this.autoscroll(); + } + + if (window.requestAnimationFrame) { + _this.sortMoveAF = null; + } else { + setTimeout(function() { + _this.sortMoveAF = null; + }, 1000 / 60); + } + }, + ); + + _defineProperty( + _assertThisInitialized(_this), + 'handleSortMove', + function(event) { + var onSortMove = _this.props.onSortMove; + event.preventDefault(); + + if (_this.sortMoveAF) { + return; + } + + if (window.requestAnimationFrame) { + _this.sortMoveAF = window.requestAnimationFrame( + _this._handleSortMove, + ); + } else { + _this.sortMoveAF = true; + + _this._handleSortMove(); + } + + if (onSortMove) { + onSortMove(event); + } + }, + ); + + _defineProperty( + _assertThisInitialized(_this), + 'handleSortEnd', + function(event) { + var newList = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : null; + var _this$props4 = _this.props, + hideSortableGhost = _this$props4.hideSortableGhost, + onSortEnd = _this$props4.onSortEnd; + + if (!_this.manager.active) { + return; + } + + var collection = _this.manager.active.collection; + + if (window.cancelAnimationFrame && _this.sortMoveAF) { + window.cancelAnimationFrame(_this.sortMoveAF); + _this.sortMoveAF = null; + } + + if (hideSortableGhost && _this.sortableGhost) { + _this.sortableGhost.style.visibility = ''; + _this.sortableGhost.style.opacity = ''; + } + + var nodes = _this.manager.refs[collection]; + + for (var i = 0, len = nodes.length; i < len; i++) { + var _node2 = nodes[i]; + var el = _node2.node; + _node2.edgeOffset = null; + el.style[''.concat(vendorPrefix, 'Transform')] = ''; + el.style[''.concat(vendorPrefix, 'TransitionDuration')] = ''; + } + + clearInterval(_this.autoscrollInterval); + _this.autoscrollInterval = null; + _this.manager.active = null; + _this.sorting = false; + _this.sortingIndex = null; + + if (typeof onSortEnd === 'function') { + if (newList) { + _this.newIndex = newList.getClosestNode(event).index; + } + + onSortEnd( + { + oldIndex: _this.index, + newIndex: _this.newIndex, + newList: newList, + collection: collection, + }, + event, + ); + } + + _this._touched = false; + }, + ); + + _defineProperty( + _assertThisInitialized(_this), + 'handleSortSwap', + function(index, item) { + var onSortSwap = _this.props.onSortSwap; + + if (typeof onSortSwap === 'function') { + onSortSwap({ + index: index, + item: item, + }); + } + }, + ); + + _defineProperty( + _assertThisInitialized(_this), + 'getClosestNode', + function(event) { + var position = getPosition(event); + var closestNodes = []; + var closestCollections = []; + Object.keys(_this.manager.refs).forEach(function(collection) { + var nodes = _this.manager.refs[collection].map(function(ref) { + return ref.node; + }); + + if (nodes && nodes.length > 0) { + closestNodes.push( + nodes[closestRect(position.x, position.y, nodes)], + ); + closestCollections.push(collection); + } + }); + var index = closestRect(position.x, position.y, closestNodes); + var collection = closestCollections[index]; + + if (collection === undefined) { + return { + collection: collection, + index: 0, + }; + } + + var finalNodes = _this.manager.refs[collection].map(function(ref) { + return ref.node; + }); + + var finalIndex = finalNodes.indexOf(closestNodes[index]); + var node = closestNodes[index]; + var rect = node.getBoundingClientRect(); + return { + collection: collection, + index: finalIndex + (position.y > rect.bottom ? 1 : 0), + }; + }, + ); + + _defineProperty(_assertThisInitialized(_this), 'checkActive', function( + event, + ) { + var active = _this.manager.active; + + if (!active) { + var _node3 = closest(event.target, function(el) { + return el.sortableInfo != null; + }); + + if (_node3 && _node3.sortableInfo) { + var pos = getPosition(event); + var _collection2 = _node3.sortableInfo.collection; + + var nodes = _this.manager.refs[_collection2].map(function(ref) { + return ref.node; + }); + + if (nodes) { + var _index2 = closestRect(pos.x, pos.y, nodes); + + _this.manager.active = { + index: _index2, + collection: _collection2, + item: _this.props.items[_index2], + }; + + _this.handlePress(event); + } + } + + return false; + } + + return true; + }); + + _defineProperty( + _assertThisInitialized(_this), + 'autoscroll', + function() { + var translate = _this.dragLayer.translate; + var direction = { + x: 0, + y: 0, + }; + var speed = { + x: 1, + y: 1, + }; + var acceleration = { + x: 10, + y: 10, + }; + + if ( + translate.y >= + _this.dragLayer.maxTranslate.y - _this.dragLayer.height / 2 + ) { + direction.y = 1; + speed.y = + acceleration.y * + Math.abs( + (_this.dragLayer.maxTranslate.y - + _this.dragLayer.height / 2 - + translate.y) / + _this.dragLayer.height, + ); + } else if ( + translate.x >= + _this.dragLayer.maxTranslate.x - _this.dragLayer.width / 2 + ) { + direction.x = 1; + speed.x = + acceleration.x * + Math.abs( + (_this.dragLayer.maxTranslate.x - + _this.dragLayer.width / 2 - + translate.x) / + _this.dragLayer.width, + ); + } else if ( + translate.y <= + _this.dragLayer.minTranslate.y + _this.dragLayer.height / 2 + ) { + direction.y = -1; + speed.y = + acceleration.y * + Math.abs( + (translate.y - + _this.dragLayer.height / 2 - + _this.dragLayer.minTranslate.y) / + _this.dragLayer.height, + ); + } else if ( + translate.x <= + _this.dragLayer.minTranslate.x + _this.dragLayer.width / 2 + ) { + direction.x = -1; + speed.x = + acceleration.x * + Math.abs( + (translate.x - + _this.dragLayer.width / 2 - + _this.dragLayer.minTranslate.x) / + _this.dragLayer.width, + ); + } + + if (_this.autoscrollInterval) { + clearInterval(_this.autoscrollInterval); + _this.autoscrollInterval = null; + _this.isAutoScrolling = false; + } + + if (direction.x !== 0 || direction.y !== 0) { + _this.autoscrollInterval = setInterval(function() { + _this.isAutoScrolling = true; + var offset = { + left: speed.x * direction.x, + top: speed.y * direction.y, + }; + _this.scrollContainer.scrollTop += offset.top; + _this.scrollContainer.scrollLeft += offset.left; + + _this.animateNodes(); + }, 5); + } + }, + ); + + _this.dragLayer = props.dragLayer || new DragLayer(); + + _this.dragLayer.addRef(_assertThisInitialized(_this)); + + _this.dragLayer.onDragEnd = props.onDragEnd; + _this.manager = new Manager(); + _this.events = { + start: _this.handleStart, + move: _this.handleMove, + end: _this.handleEnd, + }; + invariant( + !(props.distance && props.pressDelay), + 'Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.', + ); + _this.state = {}; + _this.sorting = false; + return _this; + } + + _createClass(WithSortableContainer, [ + { + key: 'getChildContext', + value: function getChildContext() { + return { + manager: this.manager, + }; + }, + }, + { + key: 'componentDidMount', + value: function componentDidMount() { + var _this2 = this; + + var useWindowAsScrollContainer = this.props + .useWindowAsScrollContainer; + var container = this.getContainer(); + Promise.resolve(container).then(function(containerNode) { + _this2.container = containerNode; + _this2.document = _this2.container.ownerDocument || document; + var contentWindow = + _this2.props.contentWindow || + _this2.document.defaultView || + window; + _this2.contentWindow = + typeof contentWindow === 'function' + ? contentWindow() + : contentWindow; + _this2.scrollContainer = useWindowAsScrollContainer + ? _this2.document.scrollingElement || + _this2.document.documentElement + : _this2.container; + _this2.initialScroll = { + top: _this2.scrollContainer.scrollTop, + left: _this2.scrollContainer.scrollLeft, + }; + + var _loop = function _loop(key) { + if (_this2.events.hasOwnProperty(key)) { + events[key].forEach(function(eventName) { + return _this2.container.addEventListener( + eventName, + _this2.events[key], + false, + ); + }); + } + }; + + for (var key in _this2.events) { + _loop(key); + } + }); + }, + }, + { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + var _this3 = this; + + this.dragLayer.removeRef(this); + + if (this.container) { + var _loop2 = function _loop2(key) { + if (_this3.events.hasOwnProperty(key)) { + events[key].forEach(function(eventName) { + return _this3.container.removeEventListener( + eventName, + _this3.events[key], + ); + }); + } + }; + + for (var key in this.events) { + _loop2(key); + } + } + }, + }, + { + key: 'componentWillReceiveProps', + value: function componentWillReceiveProps(nextProps) { + var active = this.manager.active; + + if (!active) { + return; + } + + this.checkActiveIndex(nextProps); + }, + }, + { + key: 'getLockPixelOffsets', + value: function getLockPixelOffsets() { + var _this$dragLayer = this.dragLayer, + width = _this$dragLayer.width, + height = _this$dragLayer.height; + var lockOffset = this.props.lockOffset; + var offsets = Array.isArray(lockOffset) + ? lockOffset + : [lockOffset, lockOffset]; + invariant( + offsets.length === 2, + 'lockOffset prop of SortableContainer should be a single ' + + 'value or an array of exactly two values. Given %s', + lockOffset, + ); + + var _offsets = _slicedToArray(offsets, 2), + minLockOffset = _offsets[0], + maxLockOffset = _offsets[1]; + + return [ + getLockPixelOffset({ + lockOffset: minLockOffset, + width: width, + height: height, + }), + getLockPixelOffset({ + lockOffset: maxLockOffset, + width: width, + height: height, + }), + ]; + }, + }, + { + key: 'animateNodes', + value: function animateNodes() { + if (!this.axis) { + return; + } + + var _this$props5 = this.props, + transitionDuration = _this$props5.transitionDuration, + hideSortableGhost = _this$props5.hideSortableGhost, + onSortOver = _this$props5.onSortOver, + animateNodes = _this$props5.animateNodes; + var nodes = this.manager.getOrderedRefs(); + var containerScrollDelta = { + left: this.container.scrollLeft - this.initialScroll.left, + top: this.container.scrollTop - this.initialScroll.top, + }; + var sortingOffset = { + left: + this.dragLayer.offsetEdge.left - + this.dragLayer.distanceBetweenContainers.x + + this.dragLayer.translate.x + + containerScrollDelta.left, + top: + this.dragLayer.offsetEdge.top - + this.dragLayer.distanceBetweenContainers.y + + this.dragLayer.translate.y + + containerScrollDelta.top, + }; + var windowScrollDelta = { + top: window.pageYOffset - this.initialWindowScroll.top, + left: window.pageXOffset - this.initialWindowScroll.left, + }; + var prevIndex = this.newIndex; + this.newIndex = null; + + for (var i = 0, len = nodes.length; i < len; i++) { + var _node4 = nodes[i].node; + var _index3 = _node4.sortableInfo.index; + var width = _node4.offsetWidth; + var height = _node4.offsetHeight; + var offset = { + width: + this.dragLayer.width > width + ? width / 2 + : this.dragLayer.width / 2, + height: + this.dragLayer.height > height + ? height / 2 + : this.dragLayer.height / 2, + }; + var translate = { + x: 0, + y: 0, + }; + var edgeOffset = nodes[i].edgeOffset; + + if (!edgeOffset) { + edgeOffset = getEdgeOffset(_node4, this.container); + nodes[i].edgeOffset = edgeOffset; + } + + var nextNode = i < nodes.length - 1 && nodes[i + 1]; + var prevNode = i > 0 && nodes[i - 1]; + + if (nextNode && !nextNode.edgeOffset) { + nextNode.edgeOffset = getEdgeOffset( + nextNode.node, + this.container, + ); + } + + if (_index3 === this.index) { + if (hideSortableGhost) { + this.sortableGhost = _node4; + _node4.style.visibility = 'hidden'; + _node4.style.opacity = 0; + } + + continue; + } + + if (transitionDuration) { + _node4.style[ + ''.concat(vendorPrefix, 'TransitionDuration') + ] = ''.concat(transitionDuration, 'ms'); + } + + if (this.axis.x) { + if (this.axis.y) { + if ( + _index3 < this.index && + ((sortingOffset.left + + windowScrollDelta.left - + offset.width <= + edgeOffset.left && + sortingOffset.top + windowScrollDelta.top <= + edgeOffset.top + offset.height) || + sortingOffset.top + + windowScrollDelta.top + + offset.height <= + edgeOffset.top) + ) { + translate.x = + this.dragLayer.width + this.dragLayer.marginOffset.x; + + if ( + edgeOffset.left + translate.x > + this.dragLayer.containerBoundingRect.width - offset.width + ) { + translate.x = nextNode.edgeOffset.left - edgeOffset.left; + translate.y = nextNode.edgeOffset.top - edgeOffset.top; + } + + if (this.newIndex === null) { + this.newIndex = _index3; + } + } else if ( + _index3 > this.index && + ((sortingOffset.left + + windowScrollDelta.left + + offset.width >= + edgeOffset.left && + sortingOffset.top + + windowScrollDelta.top + + offset.height >= + edgeOffset.top) || + sortingOffset.top + + windowScrollDelta.top + + offset.height >= + edgeOffset.top + height) + ) { + translate.x = -( + this.dragLayer.width + this.dragLayer.marginOffset.x + ); + + if ( + edgeOffset.left + translate.x < + this.dragLayer.containerBoundingRect.left + offset.width + ) { + translate.x = prevNode.edgeOffset.left - edgeOffset.left; + translate.y = prevNode.edgeOffset.top - edgeOffset.top; + } + + this.newIndex = _index3; + } + } else { + if ( + _index3 > this.index && + sortingOffset.left + + windowScrollDelta.left + + offset.width >= + edgeOffset.left + ) { + translate.x = -( + this.dragLayer.width + this.dragLayer.marginOffset.x + ); + this.newIndex = _index3; + } else if ( + _index3 < this.index && + sortingOffset.left + windowScrollDelta.left <= + edgeOffset.left + offset.width + ) { + translate.x = + this.dragLayer.width + this.dragLayer.marginOffset.x; + + if (this.newIndex == null) { + this.newIndex = _index3; + } + } + } + } else if (this.axis.y) { + if ( + _index3 > this.index && + sortingOffset.top + windowScrollDelta.top + offset.height >= + edgeOffset.top + ) { + translate.y = -( + this.dragLayer.height + this.dragLayer.marginOffset.y + ); + this.newIndex = _index3; + } else if ( + _index3 < this.index && + sortingOffset.top + windowScrollDelta.top <= + edgeOffset.top + offset.height + ) { + translate.y = + this.dragLayer.height + this.dragLayer.marginOffset.y; + + if (this.newIndex == null) { + this.newIndex = _index3; + } + } + } + + if (animateNodes) { + _node4.style[ + ''.concat(vendorPrefix, 'Transform') + ] = 'translate3d(' + .concat(translate.x, 'px,') + .concat(translate.y, 'px,0)'); + } + } + + if (this.newIndex == null) { + this.newIndex = this.index; + } + + if (onSortOver && this.newIndex !== prevIndex) { + onSortOver({ + newIndex: this.newIndex, + oldIndex: prevIndex, + index: this.index, + collection: this.manager.active.collection, + }); + } + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'getContainer', + value: function getContainer() { + var getContainer = this.props.getContainer; + + if (typeof getContainer !== 'function') { + return reactDom.findDOMNode(this); + } + + return getContainer( + config.withRef ? this.getWrappedInstance() : undefined, + ); + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return React.createElement( + WrappedComponent, + _extends( + { + ref: ref, + }, + omit( + this.props, + 'contentWindow', + 'useWindowAsScrollContainer', + 'distance', + 'helperClass', + 'hideSortableGhost', + 'transitionDuration', + 'useDragHandle', + 'animateNodes', + 'pressDelay', + 'pressThreshold', + 'shouldCancelStart', + 'updateBeforeSortStart', + 'onSortStart', + 'onSortSwap', + 'onSortMove', + 'onSortEnd', + 'axis', + 'lockAxis', + 'lockOffset', + 'lockToContainerEdges', + 'getContainer', + 'getHelperDimensions', + ), + ), + ); + }, + }, + { + key: 'helperContainer', + get: function get() { + return this.props.helperContainer || this.document.body; + }, + }, + ]); + + return WithSortableContainer; + })(React.Component)), + _defineProperty( + _class, + 'displayName', + provideDisplayName('sortableList', WrappedComponent), + ), + _defineProperty(_class, 'defaultProps', { + axis: 'y', + transitionDuration: 300, + pressDelay: 0, + pressThreshold: 5, + distance: 0, + useWindowAsScrollContainer: false, + hideSortableGhost: true, + animateNodes: true, + shouldCancelStart: function shouldCancelStart(event) { + var disabledElements = [ + 'input', + 'textarea', + 'select', + 'option', + 'button', + ]; + + if ( + disabledElements.indexOf(event.target.tagName.toLowerCase()) !== -1 + ) { + return true; + } + + return false; + }, + lockToContainerEdges: false, + lockOffset: '50%', + getHelperDimensions: function getHelperDimensions(_ref2) { + var node = _ref2.node; + return { + width: node.offsetWidth, + height: node.offsetHeight, + }; + }, + }), + _defineProperty(_class, 'propTypes', { + axis: PropTypes.oneOf(['x', 'y', 'xy']), + distance: PropTypes.number, + dragLayer: PropTypes.object, + lockAxis: PropTypes.string, + helperClass: PropTypes.string, + transitionDuration: PropTypes.number, + contentWindow: PropTypes.any, + updateBeforeSortStart: PropTypes.func, + onSortStart: PropTypes.func, + onSortMove: PropTypes.func, + onSortOver: PropTypes.func, + onSortEnd: PropTypes.func, + onDragEnd: PropTypes.func, + shouldCancelStart: PropTypes.func, + pressDelay: PropTypes.number, + pressThreshold: PropTypes.number, + useDragHandle: PropTypes.bool, + animateNodes: PropTypes.bool, + useWindowAsScrollContainer: PropTypes.bool, + hideSortableGhost: PropTypes.bool, + lockToContainerEdges: PropTypes.bool, + lockOffset: PropTypes.oneOfType([ + PropTypes.number, + PropTypes.string, + PropTypes.arrayOf( + PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + ), + ]), + getContainer: PropTypes.func, + getHelperDimensions: PropTypes.func, + helperContainer: + typeof HTMLElement === 'undefined' + ? PropTypes.any + : PropTypes.instanceOf(HTMLElement), + }), + _defineProperty(_class, 'childContextTypes', { + manager: PropTypes.object.isRequired, + }), + _temp + ); +} + +function sortableElement(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + _inherits(WithSortableElement, _React$Component); + + function WithSortableElement() { + _classCallCheck(this, WithSortableElement); + + return _possibleConstructorReturn( + this, + _getPrototypeOf(WithSortableElement).apply(this, arguments), + ); + } + + _createClass(WithSortableElement, [ + { + key: 'componentDidMount', + value: function componentDidMount() { + var _this$props = this.props, + collection = _this$props.collection, + disabled = _this$props.disabled, + index = _this$props.index; + + if (!disabled) { + this.setDraggable(collection, index); + } + }, + }, + { + key: 'componentWillReceiveProps', + value: function componentWillReceiveProps(nextProps) { + if (this.props.index !== nextProps.index && this.node) { + this.node.sortableInfo.index = nextProps.index; + } + + if (this.props.disabled !== nextProps.disabled) { + var collection = nextProps.collection, + disabled = nextProps.disabled, + index = nextProps.index; + + if (disabled) { + this.removeDraggable(collection); + } else { + this.setDraggable(collection, index); + } + } else if (this.props.collection !== nextProps.collection) { + this.removeDraggable(this.props.collection); + this.setDraggable(nextProps.collection, nextProps.index); + } + }, + }, + { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + var _this$props2 = this.props, + collection = _this$props2.collection, + disabled = _this$props2.disabled; + + if (!disabled) { + this.removeDraggable(collection); + } + }, + }, + { + key: 'setDraggable', + value: function setDraggable(collection, index) { + var node = reactDom.findDOMNode(this); + node.sortableInfo = { + index: index, + collection: collection, + manager: this.context.manager, + }; + this.node = node; + this.ref = { + node: node, + }; + this.context.manager.add(collection, this.ref); + }, + }, + { + key: 'removeDraggable', + value: function removeDraggable(collection) { + this.context.manager.remove(collection, this.ref); + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return React.createElement( + WrappedComponent, + _extends( + { + ref: ref, + }, + omit(this.props, 'collection', 'disabled', 'index'), + ), + ); + }, + }, + ]); + + return WithSortableElement; + })(React.Component)), + _defineProperty( + _class, + 'displayName', + provideDisplayName('sortableElement', WrappedComponent), + ), + _defineProperty(_class, 'contextTypes', { + manager: PropTypes.object.isRequired, + }), + _defineProperty(_class, 'propTypes', { + index: PropTypes.number.isRequired, + collection: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + disabled: PropTypes.bool, + }), + _defineProperty(_class, 'defaultProps', { + collection: 0, + }), + _temp + ); +} + +function sortableHandle(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + _inherits(WithSortableHandle, _React$Component); + + function WithSortableHandle() { + _classCallCheck(this, WithSortableHandle); + + return _possibleConstructorReturn( + this, + _getPrototypeOf(WithSortableHandle).apply(this, arguments), + ); + } + + _createClass(WithSortableHandle, [ + { + key: 'componentDidMount', + value: function componentDidMount() { + var node = reactDom.findDOMNode(this); + node.sortableHandle = true; + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return React.createElement( + WrappedComponent, + _extends( + { + ref: ref, + }, + this.props, + ), + ); + }, + }, + ]); + + return WithSortableHandle; + })(React.Component)), + _defineProperty( + _class, + 'displayName', + provideDisplayName('sortableHandle', WrappedComponent), + ), + _temp + ); +} + +exports.DragLayer = DragLayer; +exports.SortableContainer = sortableContainer; +exports.SortableElement = sortableElement; +exports.SortableHandle = sortableHandle; +exports.arrayMove = arrayMove; +exports.sortableContainer = sortableContainer; +exports.sortableElement = sortableElement; +exports.sortableHandle = sortableHandle; diff --git a/dist/react-sortable-hoc.umd.js b/dist/react-sortable-hoc.umd.js new file mode 100644 index 000000000..a23dfc14a --- /dev/null +++ b/dist/react-sortable-hoc.umd.js @@ -0,0 +1,5938 @@ +(function(global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + ? factory( + exports, + require('react'), + require('prop-types'), + require('react-dom'), + ) + : typeof define === 'function' && define.amd + ? define(['exports', 'react', 'prop-types', 'react-dom'], factory) + : ((global = global || self), + factory( + (global.SortableHOC = {}), + global.React, + global.PropTypes, + global.ReactDOM, + )); +})(this, function(exports, React, PropTypes, reactDom) { + 'use strict'; + + PropTypes = + PropTypes && PropTypes.hasOwnProperty('default') + ? PropTypes['default'] + : PropTypes; + + var commonjsGlobal = + typeof window !== 'undefined' + ? window + : typeof global !== 'undefined' + ? global + : typeof self !== 'undefined' + ? self + : {}; + + function createCommonjsModule(fn, module) { + return (module = {exports: {}}), fn(module, module.exports), module.exports; + } + + var _extends_1 = createCommonjsModule(function(module) { + function _extends() { + module.exports = _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; + }; + + return _extends.apply(this, arguments); + } + + module.exports = _extends; + }); + + function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; + } + + var arrayWithHoles = _arrayWithHoles; + + function _iterableToArrayLimit(arr, i) { + var _arr = []; + var _n = true; + var _d = false; + var _e = undefined; + + try { + for ( + var _i = arr[Symbol.iterator](), _s; + !(_n = (_s = _i.next()).done); + _n = true + ) { + _arr.push(_s.value); + + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i['return'] != null) _i['return'](); + } finally { + if (_d) throw _e; + } + } + + return _arr; + } + + var iterableToArrayLimit = _iterableToArrayLimit; + + function _nonIterableRest() { + throw new TypeError('Invalid attempt to destructure non-iterable instance'); + } + + var nonIterableRest = _nonIterableRest; + + function _slicedToArray(arr, i) { + return ( + arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest() + ); + } + + var slicedToArray = _slicedToArray; + + function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) { + for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { + arr2[i] = arr[i]; + } + + return arr2; + } + } + + var arrayWithoutHoles = _arrayWithoutHoles; + + function _iterableToArray(iter) { + if ( + Symbol.iterator in Object(iter) || + Object.prototype.toString.call(iter) === '[object Arguments]' + ) + return Array.from(iter); + } + + var iterableToArray = _iterableToArray; + + function _nonIterableSpread() { + throw new TypeError('Invalid attempt to spread non-iterable instance'); + } + + var nonIterableSpread = _nonIterableSpread; + + function _toConsumableArray(arr) { + return ( + arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread() + ); + } + + var toConsumableArray = _toConsumableArray; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError('Cannot call a class as a function'); + } + } + + var classCallCheck = _classCallCheck; + + 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); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + var createClass = _createClass; + + var _typeof_1 = createCommonjsModule(function(module) { + function _typeof2(obj) { + if (typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol') { + _typeof2 = function _typeof2(obj) { + return typeof obj; + }; + } else { + _typeof2 = function _typeof2(obj) { + return obj && + typeof Symbol === 'function' && + obj.constructor === Symbol && + obj !== Symbol.prototype + ? 'symbol' + : typeof obj; + }; + } + return _typeof2(obj); + } + + function _typeof(obj) { + if ( + typeof Symbol === 'function' && + _typeof2(Symbol.iterator) === 'symbol' + ) { + module.exports = _typeof = function _typeof(obj) { + return _typeof2(obj); + }; + } else { + module.exports = _typeof = function _typeof(obj) { + return obj && + typeof Symbol === 'function' && + obj.constructor === Symbol && + obj !== Symbol.prototype + ? 'symbol' + : _typeof2(obj); + }; + } + + return _typeof(obj); + } + + module.exports = _typeof; + }); + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called", + ); + } + + return self; + } + + var assertThisInitialized = _assertThisInitialized; + + function _possibleConstructorReturn(self, call) { + if (call && (_typeof_1(call) === 'object' || typeof call === 'function')) { + return call; + } + + return assertThisInitialized(self); + } + + var possibleConstructorReturn = _possibleConstructorReturn; + + var getPrototypeOf = createCommonjsModule(function(module) { + function _getPrototypeOf(o) { + module.exports = _getPrototypeOf = Object.setPrototypeOf + ? Object.getPrototypeOf + : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + module.exports = _getPrototypeOf; + }); + + var setPrototypeOf = createCommonjsModule(function(module) { + function _setPrototypeOf(o, p) { + module.exports = _setPrototypeOf = + Object.setPrototypeOf || + function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + module.exports = _setPrototypeOf; + }); + + function _inherits(subClass, superClass) { + if (typeof superClass !== 'function' && superClass !== null) { + throw new TypeError('Super expression must either be null or a function'); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true, + }, + }); + if (superClass) setPrototypeOf(subClass, superClass); + } + + var inherits = _inherits; + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true, + }); + } else { + obj[key] = value; + } + + return obj; + } + + var defineProperty = _defineProperty; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + /** + * Use invariant() to assert state which your program assumes to be true. + * + * Provide sprintf-style format (only %s is supported) and arguments + * to provide information about what broke and what you were + * expecting. + * + * The invariant message will be stripped in production, but the invariant + * will remain to ensure logic does not differ in production. + */ + + var NODE_ENV = process.env.NODE_ENV; + + var invariant = function(condition, format, a, b, c, d, e, f) { + if (NODE_ENV !== 'production') { + if (format === undefined) { + throw new Error('invariant requires an error message argument'); + } + } + + if (!condition) { + var error; + if (format === undefined) { + error = new Error( + 'Minified exception occurred; use the non-minified dev environment ' + + 'for the full error message and additional helpful warnings.', + ); + } else { + var args = [a, b, c, d, e, f]; + var argIndex = 0; + error = new Error( + format.replace(/%s/g, function() { + return args[argIndex++]; + }), + ); + error.name = 'Invariant Violation'; + } + + error.framesToPop = 1; // we don't care about invariant's own frame + throw error; + } + }; + + var invariant_1 = invariant; + + /** + * The base implementation of `_.findIndex` and `_.findLastIndex` without + * support for iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Function} predicate The function invoked per iteration. + * @param {number} fromIndex The index to search from. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {number} Returns the index of the matched value, else `-1`. + */ + function baseFindIndex(array, predicate, fromIndex, fromRight) { + var length = array.length, + index = fromIndex + (fromRight ? 1 : -1); + + while (fromRight ? index-- : ++index < length) { + if (predicate(array[index], index, array)) { + return index; + } + } + return -1; + } + + var _baseFindIndex = baseFindIndex; + + /** + * Removes all key-value entries from the list cache. + * + * @private + * @name clear + * @memberOf ListCache + */ + function listCacheClear() { + this.__data__ = []; + this.size = 0; + } + + var _listCacheClear = listCacheClear; + + /** + * Performs a + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * comparison between two values to determine if they are equivalent. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'a': 1 }; + * var other = { 'a': 1 }; + * + * _.eq(object, object); + * // => true + * + * _.eq(object, other); + * // => false + * + * _.eq('a', 'a'); + * // => true + * + * _.eq('a', Object('a')); + * // => false + * + * _.eq(NaN, NaN); + * // => true + */ + function eq(value, other) { + return value === other || (value !== value && other !== other); + } + + var eq_1 = eq; + + /** + * Gets the index at which the `key` is found in `array` of key-value pairs. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} key The key to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + */ + function assocIndexOf(array, key) { + var length = array.length; + while (length--) { + if (eq_1(array[length][0], key)) { + return length; + } + } + return -1; + } + + var _assocIndexOf = assocIndexOf; + + /** Used for built-in method references. */ + var arrayProto = Array.prototype; + + /** Built-in value references. */ + var splice = arrayProto.splice; + + /** + * Removes `key` and its value from the list cache. + * + * @private + * @name delete + * @memberOf ListCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function listCacheDelete(key) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + if (index < 0) { + return false; + } + var lastIndex = data.length - 1; + if (index == lastIndex) { + data.pop(); + } else { + splice.call(data, index, 1); + } + --this.size; + return true; + } + + var _listCacheDelete = listCacheDelete; + + /** + * Gets the list cache value for `key`. + * + * @private + * @name get + * @memberOf ListCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function listCacheGet(key) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + return index < 0 ? undefined : data[index][1]; + } + + var _listCacheGet = listCacheGet; + + /** + * Checks if a list cache value for `key` exists. + * + * @private + * @name has + * @memberOf ListCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function listCacheHas(key) { + return _assocIndexOf(this.__data__, key) > -1; + } + + var _listCacheHas = listCacheHas; + + /** + * Sets the list cache `key` to `value`. + * + * @private + * @name set + * @memberOf ListCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the list cache instance. + */ + function listCacheSet(key, value) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + if (index < 0) { + ++this.size; + data.push([key, value]); + } else { + data[index][1] = value; + } + return this; + } + + var _listCacheSet = listCacheSet; + + /** + * Creates an list cache object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function ListCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + // Add methods to `ListCache`. + ListCache.prototype.clear = _listCacheClear; + ListCache.prototype['delete'] = _listCacheDelete; + ListCache.prototype.get = _listCacheGet; + ListCache.prototype.has = _listCacheHas; + ListCache.prototype.set = _listCacheSet; + + var _ListCache = ListCache; + + /** + * Removes all key-value entries from the stack. + * + * @private + * @name clear + * @memberOf Stack + */ + function stackClear() { + this.__data__ = new _ListCache(); + this.size = 0; + } + + var _stackClear = stackClear; + + /** + * Removes `key` and its value from the stack. + * + * @private + * @name delete + * @memberOf Stack + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function stackDelete(key) { + var data = this.__data__, + result = data['delete'](key); + + this.size = data.size; + return result; + } + + var _stackDelete = stackDelete; + + /** + * Gets the stack value for `key`. + * + * @private + * @name get + * @memberOf Stack + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function stackGet(key) { + return this.__data__.get(key); + } + + var _stackGet = stackGet; + + /** + * Checks if a stack value for `key` exists. + * + * @private + * @name has + * @memberOf Stack + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function stackHas(key) { + return this.__data__.has(key); + } + + var _stackHas = stackHas; + + /** Detect free variable `global` from Node.js. */ + var freeGlobal = + typeof commonjsGlobal == 'object' && + commonjsGlobal && + commonjsGlobal.Object === Object && + commonjsGlobal; + + var _freeGlobal = freeGlobal; + + /** Detect free variable `self`. */ + var freeSelf = + typeof self == 'object' && self && self.Object === Object && self; + + /** Used as a reference to the global object. */ + var root = _freeGlobal || freeSelf || Function('return this')(); + + var _root = root; + + /** Built-in value references. */ + var Symbol$1 = _root.Symbol; + + var _Symbol = Symbol$1; + + /** Used for built-in method references. */ + var objectProto = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty = objectProto.hasOwnProperty; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var nativeObjectToString = objectProto.toString; + + /** Built-in value references. */ + var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; + + /** + * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the raw `toStringTag`. + */ + function getRawTag(value) { + var isOwn = hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; + + try { + value[symToStringTag] = undefined; + var unmasked = true; + } catch (e) {} + + var result = nativeObjectToString.call(value); + if (unmasked) { + if (isOwn) { + value[symToStringTag] = tag; + } else { + delete value[symToStringTag]; + } + } + return result; + } + + var _getRawTag = getRawTag; + + /** Used for built-in method references. */ + var objectProto$1 = Object.prototype; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var nativeObjectToString$1 = objectProto$1.toString; + + /** + * Converts `value` to a string using `Object.prototype.toString`. + * + * @private + * @param {*} value The value to convert. + * @returns {string} Returns the converted string. + */ + function objectToString(value) { + return nativeObjectToString$1.call(value); + } + + var _objectToString = objectToString; + + /** `Object#toString` result references. */ + var nullTag = '[object Null]', + undefinedTag = '[object Undefined]'; + + /** Built-in value references. */ + var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined; + + /** + * The base implementation of `getTag` without fallbacks for buggy environments. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ + function baseGetTag(value) { + if (value == null) { + return value === undefined ? undefinedTag : nullTag; + } + return symToStringTag$1 && symToStringTag$1 in Object(value) + ? _getRawTag(value) + : _objectToString(value); + } + + var _baseGetTag = baseGetTag; + + /** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ + function isObject(value) { + var type = typeof value; + return value != null && (type == 'object' || type == 'function'); + } + + var isObject_1 = isObject; + + /** `Object#toString` result references. */ + var asyncTag = '[object AsyncFunction]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + proxyTag = '[object Proxy]'; + + /** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ + function isFunction(value) { + if (!isObject_1(value)) { + return false; + } + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 9 which returns 'object' for typed arrays and other constructors. + var tag = _baseGetTag(value); + return ( + tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag + ); + } + + var isFunction_1 = isFunction; + + /** Used to detect overreaching core-js shims. */ + var coreJsData = _root['__core-js_shared__']; + + var _coreJsData = coreJsData; + + /** Used to detect methods masquerading as native. */ + var maskSrcKey = (function() { + var uid = /[^.]+$/.exec( + (_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO) || '', + ); + return uid ? 'Symbol(src)_1.' + uid : ''; + })(); + + /** + * Checks if `func` has its source masked. + * + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` is masked, else `false`. + */ + function isMasked(func) { + return !!maskSrcKey && maskSrcKey in func; + } + + var _isMasked = isMasked; + + /** Used for built-in method references. */ + var funcProto = Function.prototype; + + /** Used to resolve the decompiled source of functions. */ + var funcToString = funcProto.toString; + + /** + * Converts `func` to its source code. + * + * @private + * @param {Function} func The function to convert. + * @returns {string} Returns the source code. + */ + function toSource(func) { + if (func != null) { + try { + return funcToString.call(func); + } catch (e) {} + try { + return func + ''; + } catch (e) {} + } + return ''; + } + + var _toSource = toSource; + + /** + * Used to match `RegExp` + * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). + */ + var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; + + /** Used to detect host constructors (Safari). */ + var reIsHostCtor = /^\[object .+?Constructor\]$/; + + /** Used for built-in method references. */ + var funcProto$1 = Function.prototype, + objectProto$2 = Object.prototype; + + /** Used to resolve the decompiled source of functions. */ + var funcToString$1 = funcProto$1.toString; + + /** Used to check objects for own properties. */ + var hasOwnProperty$1 = objectProto$2.hasOwnProperty; + + /** Used to detect if a method is native. */ + var reIsNative = RegExp( + '^' + + funcToString$1 + .call(hasOwnProperty$1) + .replace(reRegExpChar, '\\$&') + .replace( + /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, + '$1.*?', + ) + + '$', + ); + + /** + * The base implementation of `_.isNative` without bad shim checks. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. + */ + function baseIsNative(value) { + if (!isObject_1(value) || _isMasked(value)) { + return false; + } + var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor; + return pattern.test(_toSource(value)); + } + + var _baseIsNative = baseIsNative; + + /** + * Gets the value at `key` of `object`. + * + * @private + * @param {Object} [object] The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ + function getValue(object, key) { + return object == null ? undefined : object[key]; + } + + var _getValue = getValue; + + /** + * Gets the native function at `key` of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the method to get. + * @returns {*} Returns the function if it's native, else `undefined`. + */ + function getNative(object, key) { + var value = _getValue(object, key); + return _baseIsNative(value) ? value : undefined; + } + + var _getNative = getNative; + + /* Built-in method references that are verified to be native. */ + var Map = _getNative(_root, 'Map'); + + var _Map = Map; + + /* Built-in method references that are verified to be native. */ + var nativeCreate = _getNative(Object, 'create'); + + var _nativeCreate = nativeCreate; + + /** + * Removes all key-value entries from the hash. + * + * @private + * @name clear + * @memberOf Hash + */ + function hashClear() { + this.__data__ = _nativeCreate ? _nativeCreate(null) : {}; + this.size = 0; + } + + var _hashClear = hashClear; + + /** + * Removes `key` and its value from the hash. + * + * @private + * @name delete + * @memberOf Hash + * @param {Object} hash The hash to modify. + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function hashDelete(key) { + var result = this.has(key) && delete this.__data__[key]; + this.size -= result ? 1 : 0; + return result; + } + + var _hashDelete = hashDelete; + + /** Used to stand-in for `undefined` hash values. */ + var HASH_UNDEFINED = '__lodash_hash_undefined__'; + + /** Used for built-in method references. */ + var objectProto$3 = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty$2 = objectProto$3.hasOwnProperty; + + /** + * Gets the hash value for `key`. + * + * @private + * @name get + * @memberOf Hash + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function hashGet(key) { + var data = this.__data__; + if (_nativeCreate) { + var result = data[key]; + return result === HASH_UNDEFINED ? undefined : result; + } + return hasOwnProperty$2.call(data, key) ? data[key] : undefined; + } + + var _hashGet = hashGet; + + /** Used for built-in method references. */ + var objectProto$4 = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty$3 = objectProto$4.hasOwnProperty; + + /** + * Checks if a hash value for `key` exists. + * + * @private + * @name has + * @memberOf Hash + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function hashHas(key) { + var data = this.__data__; + return _nativeCreate + ? data[key] !== undefined + : hasOwnProperty$3.call(data, key); + } + + var _hashHas = hashHas; + + /** Used to stand-in for `undefined` hash values. */ + var HASH_UNDEFINED$1 = '__lodash_hash_undefined__'; + + /** + * Sets the hash `key` to `value`. + * + * @private + * @name set + * @memberOf Hash + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the hash instance. + */ + function hashSet(key, value) { + var data = this.__data__; + this.size += this.has(key) ? 0 : 1; + data[key] = _nativeCreate && value === undefined ? HASH_UNDEFINED$1 : value; + return this; + } + + var _hashSet = hashSet; + + /** + * Creates a hash object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function Hash(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + // Add methods to `Hash`. + Hash.prototype.clear = _hashClear; + Hash.prototype['delete'] = _hashDelete; + Hash.prototype.get = _hashGet; + Hash.prototype.has = _hashHas; + Hash.prototype.set = _hashSet; + + var _Hash = Hash; + + /** + * Removes all key-value entries from the map. + * + * @private + * @name clear + * @memberOf MapCache + */ + function mapCacheClear() { + this.size = 0; + this.__data__ = { + hash: new _Hash(), + map: new (_Map || _ListCache)(), + string: new _Hash(), + }; + } + + var _mapCacheClear = mapCacheClear; + + /** + * Checks if `value` is suitable for use as unique object key. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is suitable, else `false`. + */ + function isKeyable(value) { + var type = typeof value; + return type == 'string' || + type == 'number' || + type == 'symbol' || + type == 'boolean' + ? value !== '__proto__' + : value === null; + } + + var _isKeyable = isKeyable; + + /** + * Gets the data for `map`. + * + * @private + * @param {Object} map The map to query. + * @param {string} key The reference key. + * @returns {*} Returns the map data. + */ + function getMapData(map, key) { + var data = map.__data__; + return _isKeyable(key) + ? data[typeof key == 'string' ? 'string' : 'hash'] + : data.map; + } + + var _getMapData = getMapData; + + /** + * Removes `key` and its value from the map. + * + * @private + * @name delete + * @memberOf MapCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function mapCacheDelete(key) { + var result = _getMapData(this, key)['delete'](key); + this.size -= result ? 1 : 0; + return result; + } + + var _mapCacheDelete = mapCacheDelete; + + /** + * Gets the map value for `key`. + * + * @private + * @name get + * @memberOf MapCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function mapCacheGet(key) { + return _getMapData(this, key).get(key); + } + + var _mapCacheGet = mapCacheGet; + + /** + * Checks if a map value for `key` exists. + * + * @private + * @name has + * @memberOf MapCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function mapCacheHas(key) { + return _getMapData(this, key).has(key); + } + + var _mapCacheHas = mapCacheHas; + + /** + * Sets the map `key` to `value`. + * + * @private + * @name set + * @memberOf MapCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the map cache instance. + */ + function mapCacheSet(key, value) { + var data = _getMapData(this, key), + size = data.size; + + data.set(key, value); + this.size += data.size == size ? 0 : 1; + return this; + } + + var _mapCacheSet = mapCacheSet; + + /** + * Creates a map cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function MapCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + // Add methods to `MapCache`. + MapCache.prototype.clear = _mapCacheClear; + MapCache.prototype['delete'] = _mapCacheDelete; + MapCache.prototype.get = _mapCacheGet; + MapCache.prototype.has = _mapCacheHas; + MapCache.prototype.set = _mapCacheSet; + + var _MapCache = MapCache; + + /** Used as the size to enable large array optimizations. */ + var LARGE_ARRAY_SIZE = 200; + + /** + * Sets the stack `key` to `value`. + * + * @private + * @name set + * @memberOf Stack + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the stack cache instance. + */ + function stackSet(key, value) { + var data = this.__data__; + if (data instanceof _ListCache) { + var pairs = data.__data__; + if (!_Map || pairs.length < LARGE_ARRAY_SIZE - 1) { + pairs.push([key, value]); + this.size = ++data.size; + return this; + } + data = this.__data__ = new _MapCache(pairs); + } + data.set(key, value); + this.size = data.size; + return this; + } + + var _stackSet = stackSet; + + /** + * Creates a stack cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function Stack(entries) { + var data = (this.__data__ = new _ListCache(entries)); + this.size = data.size; + } + + // Add methods to `Stack`. + Stack.prototype.clear = _stackClear; + Stack.prototype['delete'] = _stackDelete; + Stack.prototype.get = _stackGet; + Stack.prototype.has = _stackHas; + Stack.prototype.set = _stackSet; + + var _Stack = Stack; + + /** Used to stand-in for `undefined` hash values. */ + var HASH_UNDEFINED$2 = '__lodash_hash_undefined__'; + + /** + * Adds `value` to the array cache. + * + * @private + * @name add + * @memberOf SetCache + * @alias push + * @param {*} value The value to cache. + * @returns {Object} Returns the cache instance. + */ + function setCacheAdd(value) { + this.__data__.set(value, HASH_UNDEFINED$2); + return this; + } + + var _setCacheAdd = setCacheAdd; + + /** + * Checks if `value` is in the array cache. + * + * @private + * @name has + * @memberOf SetCache + * @param {*} value The value to search for. + * @returns {number} Returns `true` if `value` is found, else `false`. + */ + function setCacheHas(value) { + return this.__data__.has(value); + } + + var _setCacheHas = setCacheHas; + + /** + * + * Creates an array cache object to store unique values. + * + * @private + * @constructor + * @param {Array} [values] The values to cache. + */ + function SetCache(values) { + var index = -1, + length = values == null ? 0 : values.length; + + this.__data__ = new _MapCache(); + while (++index < length) { + this.add(values[index]); + } + } + + // Add methods to `SetCache`. + SetCache.prototype.add = SetCache.prototype.push = _setCacheAdd; + SetCache.prototype.has = _setCacheHas; + + var _SetCache = SetCache; + + /** + * A specialized version of `_.some` for arrays without support for iteratee + * shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if any element passes the predicate check, + * else `false`. + */ + function arraySome(array, predicate) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (predicate(array[index], index, array)) { + return true; + } + } + return false; + } + + var _arraySome = arraySome; + + /** + * Checks if a `cache` value for `key` exists. + * + * @private + * @param {Object} cache The cache to query. + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function cacheHas(cache, key) { + return cache.has(key); + } + + var _cacheHas = cacheHas; + + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; + + /** + * A specialized version of `baseIsEqualDeep` for arrays with support for + * partial deep comparisons. + * + * @private + * @param {Array} array The array to compare. + * @param {Array} other The other array to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `array` and `other` objects. + * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. + */ + function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + arrLength = array.length, + othLength = other.length; + + if (arrLength != othLength && !(isPartial && othLength > arrLength)) { + return false; + } + // Assume cyclic values are equal. + var stacked = stack.get(array); + if (stacked && stack.get(other)) { + return stacked == other; + } + var index = -1, + result = true, + seen = bitmask & COMPARE_UNORDERED_FLAG ? new _SetCache() : undefined; + + stack.set(array, other); + stack.set(other, array); + + // Ignore non-index properties. + while (++index < arrLength) { + var arrValue = array[index], + othValue = other[index]; + + if (customizer) { + var compared = isPartial + ? customizer(othValue, arrValue, index, other, array, stack) + : customizer(arrValue, othValue, index, array, other, stack); + } + if (compared !== undefined) { + if (compared) { + continue; + } + result = false; + break; + } + // Recursively compare arrays (susceptible to call stack limits). + if (seen) { + if ( + !_arraySome(other, function(othValue, othIndex) { + if ( + !_cacheHas(seen, othIndex) && + (arrValue === othValue || + equalFunc(arrValue, othValue, bitmask, customizer, stack)) + ) { + return seen.push(othIndex); + } + }) + ) { + result = false; + break; + } + } else if ( + !( + arrValue === othValue || + equalFunc(arrValue, othValue, bitmask, customizer, stack) + ) + ) { + result = false; + break; + } + } + stack['delete'](array); + stack['delete'](other); + return result; + } + + var _equalArrays = equalArrays; + + /** Built-in value references. */ + var Uint8Array = _root.Uint8Array; + + var _Uint8Array = Uint8Array; + + /** + * Converts `map` to its key-value pairs. + * + * @private + * @param {Object} map The map to convert. + * @returns {Array} Returns the key-value pairs. + */ + function mapToArray(map) { + var index = -1, + result = Array(map.size); + + map.forEach(function(value, key) { + result[++index] = [key, value]; + }); + return result; + } + + var _mapToArray = mapToArray; + + /** + * Converts `set` to an array of its values. + * + * @private + * @param {Object} set The set to convert. + * @returns {Array} Returns the values. + */ + function setToArray(set) { + var index = -1, + result = Array(set.size); + + set.forEach(function(value) { + result[++index] = value; + }); + return result; + } + + var _setToArray = setToArray; + + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG$1 = 1, + COMPARE_UNORDERED_FLAG$1 = 2; + + /** `Object#toString` result references. */ + var boolTag = '[object Boolean]', + dateTag = '[object Date]', + errorTag = '[object Error]', + mapTag = '[object Map]', + numberTag = '[object Number]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + symbolTag = '[object Symbol]'; + + var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]'; + + /** Used to convert symbols to primitives and strings. */ + var symbolProto = _Symbol ? _Symbol.prototype : undefined, + symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; + + /** + * A specialized version of `baseIsEqualDeep` for comparing objects of + * the same `toStringTag`. + * + * **Note:** This function only supports comparing values with tags of + * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {string} tag The `toStringTag` of the objects to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function equalByTag( + object, + other, + tag, + bitmask, + customizer, + equalFunc, + stack, + ) { + switch (tag) { + case dataViewTag: + if ( + object.byteLength != other.byteLength || + object.byteOffset != other.byteOffset + ) { + return false; + } + object = object.buffer; + other = other.buffer; + + case arrayBufferTag: + if ( + object.byteLength != other.byteLength || + !equalFunc(new _Uint8Array(object), new _Uint8Array(other)) + ) { + return false; + } + return true; + + case boolTag: + case dateTag: + case numberTag: + // Coerce booleans to `1` or `0` and dates to milliseconds. + // Invalid dates are coerced to `NaN`. + return eq_1(+object, +other); + + case errorTag: + return object.name == other.name && object.message == other.message; + + case regexpTag: + case stringTag: + // Coerce regexes to strings and treat strings, primitives and objects, + // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring + // for more details. + return object == other + ''; + + case mapTag: + var convert = _mapToArray; + + case setTag: + var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1; + convert || (convert = _setToArray); + + if (object.size != other.size && !isPartial) { + return false; + } + // Assume cyclic values are equal. + var stacked = stack.get(object); + if (stacked) { + return stacked == other; + } + bitmask |= COMPARE_UNORDERED_FLAG$1; + + // Recursively compare objects (susceptible to call stack limits). + stack.set(object, other); + var result = _equalArrays( + convert(object), + convert(other), + bitmask, + customizer, + equalFunc, + stack, + ); + stack['delete'](object); + return result; + + case symbolTag: + if (symbolValueOf) { + return symbolValueOf.call(object) == symbolValueOf.call(other); + } + } + return false; + } + + var _equalByTag = equalByTag; + + /** + * Appends the elements of `values` to `array`. + * + * @private + * @param {Array} array The array to modify. + * @param {Array} values The values to append. + * @returns {Array} Returns `array`. + */ + function arrayPush(array, values) { + var index = -1, + length = values.length, + offset = array.length; + + while (++index < length) { + array[offset + index] = values[index]; + } + return array; + } + + var _arrayPush = arrayPush; + + /** + * Checks if `value` is classified as an `Array` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array, else `false`. + * @example + * + * _.isArray([1, 2, 3]); + * // => true + * + * _.isArray(document.body.children); + * // => false + * + * _.isArray('abc'); + * // => false + * + * _.isArray(_.noop); + * // => false + */ + var isArray = Array.isArray; + + var isArray_1 = isArray; + + /** + * The base implementation of `getAllKeys` and `getAllKeysIn` which uses + * `keysFunc` and `symbolsFunc` to get the enumerable property names and + * symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Function} keysFunc The function to get the keys of `object`. + * @param {Function} symbolsFunc The function to get the symbols of `object`. + * @returns {Array} Returns the array of property names and symbols. + */ + function baseGetAllKeys(object, keysFunc, symbolsFunc) { + var result = keysFunc(object); + return isArray_1(object) ? result : _arrayPush(result, symbolsFunc(object)); + } + + var _baseGetAllKeys = baseGetAllKeys; + + /** + * A specialized version of `_.filter` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + */ + function arrayFilter(array, predicate) { + var index = -1, + length = array == null ? 0 : array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index]; + if (predicate(value, index, array)) { + result[resIndex++] = value; + } + } + return result; + } + + var _arrayFilter = arrayFilter; + + /** + * This method returns a new empty array. + * + * @static + * @memberOf _ + * @since 4.13.0 + * @category Util + * @returns {Array} Returns the new empty array. + * @example + * + * var arrays = _.times(2, _.stubArray); + * + * console.log(arrays); + * // => [[], []] + * + * console.log(arrays[0] === arrays[1]); + * // => false + */ + function stubArray() { + return []; + } + + var stubArray_1 = stubArray; + + /** Used for built-in method references. */ + var objectProto$5 = Object.prototype; + + /** Built-in value references. */ + var propertyIsEnumerable = objectProto$5.propertyIsEnumerable; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeGetSymbols = Object.getOwnPropertySymbols; + + /** + * Creates an array of the own enumerable symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. + */ + var getSymbols = !nativeGetSymbols + ? stubArray_1 + : function(object) { + if (object == null) { + return []; + } + object = Object(object); + return _arrayFilter(nativeGetSymbols(object), function(symbol) { + return propertyIsEnumerable.call(object, symbol); + }); + }; + + var _getSymbols = getSymbols; + + /** + * The base implementation of `_.times` without support for iteratee shorthands + * or max array length checks. + * + * @private + * @param {number} n The number of times to invoke `iteratee`. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the array of results. + */ + function baseTimes(n, iteratee) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; + } + + var _baseTimes = baseTimes; + + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + function isObjectLike(value) { + return value != null && typeof value == 'object'; + } + + var isObjectLike_1 = isObjectLike; + + /** `Object#toString` result references. */ + var argsTag = '[object Arguments]'; + + /** + * The base implementation of `_.isArguments`. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + */ + function baseIsArguments(value) { + return isObjectLike_1(value) && _baseGetTag(value) == argsTag; + } + + var _baseIsArguments = baseIsArguments; + + /** Used for built-in method references. */ + var objectProto$6 = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty$4 = objectProto$6.hasOwnProperty; + + /** Built-in value references. */ + var propertyIsEnumerable$1 = objectProto$6.propertyIsEnumerable; + + /** + * Checks if `value` is likely an `arguments` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + * else `false`. + * @example + * + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false + */ + var isArguments = _baseIsArguments( + (function() { + return arguments; + })(), + ) + ? _baseIsArguments + : function(value) { + return ( + isObjectLike_1(value) && + hasOwnProperty$4.call(value, 'callee') && + !propertyIsEnumerable$1.call(value, 'callee') + ); + }; + + var isArguments_1 = isArguments; + + /** + * This method returns `false`. + * + * @static + * @memberOf _ + * @since 4.13.0 + * @category Util + * @returns {boolean} Returns `false`. + * @example + * + * _.times(2, _.stubFalse); + * // => [false, false] + */ + function stubFalse() { + return false; + } + + var stubFalse_1 = stubFalse; + + var isBuffer_1 = createCommonjsModule(function(module, exports) { + /** Detect free variable `exports`. */ + var freeExports = exports && !exports.nodeType && exports; + + /** Detect free variable `module`. */ + var freeModule = + freeExports && + 'object' == 'object' && + module && + !module.nodeType && + module; + + /** Detect the popular CommonJS extension `module.exports`. */ + var moduleExports = freeModule && freeModule.exports === freeExports; + + /** Built-in value references. */ + var Buffer = moduleExports ? _root.Buffer : undefined; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined; + + /** + * Checks if `value` is a buffer. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. + * @example + * + * _.isBuffer(new Buffer(2)); + * // => true + * + * _.isBuffer(new Uint8Array(2)); + * // => false + */ + var isBuffer = nativeIsBuffer || stubFalse_1; + + module.exports = isBuffer; + }); + + /** Used as references for various `Number` constants. */ + var MAX_SAFE_INTEGER = 9007199254740991; + + /** Used to detect unsigned integer values. */ + var reIsUint = /^(?:0|[1-9]\d*)$/; + + /** + * Checks if `value` is a valid array-like index. + * + * @private + * @param {*} value The value to check. + * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. + * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. + */ + function isIndex(value, length) { + var type = typeof value; + length = length == null ? MAX_SAFE_INTEGER : length; + + return ( + !!length && + (type == 'number' || (type != 'symbol' && reIsUint.test(value))) && + (value > -1 && value % 1 == 0 && value < length) + ); + } + + var _isIndex = isIndex; + + /** Used as references for various `Number` constants. */ + var MAX_SAFE_INTEGER$1 = 9007199254740991; + + /** + * Checks if `value` is a valid array-like length. + * + * **Note:** This method is loosely based on + * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ + function isLength(value) { + return ( + typeof value == 'number' && + value > -1 && + value % 1 == 0 && + value <= MAX_SAFE_INTEGER$1 + ); + } + + var isLength_1 = isLength; + + /** `Object#toString` result references. */ + var argsTag$1 = '[object Arguments]', + arrayTag = '[object Array]', + boolTag$1 = '[object Boolean]', + dateTag$1 = '[object Date]', + errorTag$1 = '[object Error]', + funcTag$1 = '[object Function]', + mapTag$1 = '[object Map]', + numberTag$1 = '[object Number]', + objectTag = '[object Object]', + regexpTag$1 = '[object RegExp]', + setTag$1 = '[object Set]', + stringTag$1 = '[object String]', + weakMapTag = '[object WeakMap]'; + + var arrayBufferTag$1 = '[object ArrayBuffer]', + dataViewTag$1 = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + + /** Used to identify `toStringTag` values of typed arrays. */ + var typedArrayTags = {}; + typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[ + int8Tag + ] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[ + uint8Tag + ] = typedArrayTags[uint8ClampedTag] = typedArrayTags[ + uint16Tag + ] = typedArrayTags[uint32Tag] = true; + typedArrayTags[argsTag$1] = typedArrayTags[arrayTag] = typedArrayTags[ + arrayBufferTag$1 + ] = typedArrayTags[boolTag$1] = typedArrayTags[ + dataViewTag$1 + ] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[ + funcTag$1 + ] = typedArrayTags[mapTag$1] = typedArrayTags[numberTag$1] = typedArrayTags[ + objectTag + ] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$1] = typedArrayTags[ + stringTag$1 + ] = typedArrayTags[weakMapTag] = false; + + /** + * The base implementation of `_.isTypedArray` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. + */ + function baseIsTypedArray(value) { + return ( + isObjectLike_1(value) && + isLength_1(value.length) && + !!typedArrayTags[_baseGetTag(value)] + ); + } + + var _baseIsTypedArray = baseIsTypedArray; + + /** + * The base implementation of `_.unary` without support for storing metadata. + * + * @private + * @param {Function} func The function to cap arguments for. + * @returns {Function} Returns the new capped function. + */ + function baseUnary(func) { + return function(value) { + return func(value); + }; + } + + var _baseUnary = baseUnary; + + var _nodeUtil = createCommonjsModule(function(module, exports) { + /** Detect free variable `exports`. */ + var freeExports = exports && !exports.nodeType && exports; + + /** Detect free variable `module`. */ + var freeModule = + freeExports && + 'object' == 'object' && + module && + !module.nodeType && + module; + + /** Detect the popular CommonJS extension `module.exports`. */ + var moduleExports = freeModule && freeModule.exports === freeExports; + + /** Detect free variable `process` from Node.js. */ + var freeProcess = moduleExports && _freeGlobal.process; + + /** Used to access faster Node.js helpers. */ + var nodeUtil = (function() { + try { + // Use `util.types` for Node.js 10+. + var types = + freeModule && freeModule.require && freeModule.require('util').types; + + if (types) { + return types; + } + + // Legacy `process.binding('util')` for Node.js < 10. + return ( + freeProcess && freeProcess.binding && freeProcess.binding('util') + ); + } catch (e) {} + })(); + + module.exports = nodeUtil; + }); + + /* Node.js helper references. */ + var nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray; + + /** + * Checks if `value` is classified as a typed array. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. + * @example + * + * _.isTypedArray(new Uint8Array); + * // => true + * + * _.isTypedArray([]); + * // => false + */ + var isTypedArray = nodeIsTypedArray + ? _baseUnary(nodeIsTypedArray) + : _baseIsTypedArray; + + var isTypedArray_1 = isTypedArray; + + /** Used for built-in method references. */ + var objectProto$7 = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty$5 = objectProto$7.hasOwnProperty; + + /** + * Creates an array of the enumerable property names of the array-like `value`. + * + * @private + * @param {*} value The value to query. + * @param {boolean} inherited Specify returning inherited property names. + * @returns {Array} Returns the array of property names. + */ + function arrayLikeKeys(value, inherited) { + var isArr = isArray_1(value), + isArg = !isArr && isArguments_1(value), + isBuff = !isArr && !isArg && isBuffer_1(value), + isType = !isArr && !isArg && !isBuff && isTypedArray_1(value), + skipIndexes = isArr || isArg || isBuff || isType, + result = skipIndexes ? _baseTimes(value.length, String) : [], + length = result.length; + + for (var key in value) { + if ( + (inherited || hasOwnProperty$5.call(value, key)) && + !( + skipIndexes && + // Safari 9 has enumerable `arguments.length` in strict mode. + (key == 'length' || + // Node.js 0.10 has enumerable non-index properties on buffers. + (isBuff && (key == 'offset' || key == 'parent')) || + // PhantomJS 2 has enumerable non-index properties on typed arrays. + (isType && + (key == 'buffer' || + key == 'byteLength' || + key == 'byteOffset')) || + // Skip index properties. + _isIndex(key, length)) + ) + ) { + result.push(key); + } + } + return result; + } + + var _arrayLikeKeys = arrayLikeKeys; + + /** Used for built-in method references. */ + var objectProto$8 = Object.prototype; + + /** + * Checks if `value` is likely a prototype object. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. + */ + function isPrototype(value) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$8; + + return value === proto; + } + + var _isPrototype = isPrototype; + + /** + * Creates a unary function that invokes `func` with its argument transformed. + * + * @private + * @param {Function} func The function to wrap. + * @param {Function} transform The argument transform. + * @returns {Function} Returns the new function. + */ + function overArg(func, transform) { + return function(arg) { + return func(transform(arg)); + }; + } + + var _overArg = overArg; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeKeys = _overArg(Object.keys, Object); + + var _nativeKeys = nativeKeys; + + /** Used for built-in method references. */ + var objectProto$9 = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty$6 = objectProto$9.hasOwnProperty; + + /** + * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ + function baseKeys(object) { + if (!_isPrototype(object)) { + return _nativeKeys(object); + } + var result = []; + for (var key in Object(object)) { + if (hasOwnProperty$6.call(object, key) && key != 'constructor') { + result.push(key); + } + } + return result; + } + + var _baseKeys = baseKeys; + + /** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ + function isArrayLike(value) { + return value != null && isLength_1(value.length) && !isFunction_1(value); + } + + var isArrayLike_1 = isArrayLike; + + /** + * Creates an array of the own enumerable property names of `object`. + * + * **Note:** Non-object values are coerced to objects. See the + * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) + * for more details. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.keys(new Foo); + * // => ['a', 'b'] (iteration order is not guaranteed) + * + * _.keys('hi'); + * // => ['0', '1'] + */ + function keys(object) { + return isArrayLike_1(object) ? _arrayLikeKeys(object) : _baseKeys(object); + } + + var keys_1 = keys; + + /** + * Creates an array of own enumerable property names and symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names and symbols. + */ + function getAllKeys(object) { + return _baseGetAllKeys(object, keys_1, _getSymbols); + } + + var _getAllKeys = getAllKeys; + + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG$2 = 1; + + /** Used for built-in method references. */ + var objectProto$a = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty$7 = objectProto$a.hasOwnProperty; + + /** + * A specialized version of `baseIsEqualDeep` for objects with support for + * partial deep comparisons. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2, + objProps = _getAllKeys(object), + objLength = objProps.length, + othProps = _getAllKeys(other), + othLength = othProps.length; + + if (objLength != othLength && !isPartial) { + return false; + } + var index = objLength; + while (index--) { + var key = objProps[index]; + if (!(isPartial ? key in other : hasOwnProperty$7.call(other, key))) { + return false; + } + } + // Assume cyclic values are equal. + var stacked = stack.get(object); + if (stacked && stack.get(other)) { + return stacked == other; + } + var result = true; + stack.set(object, other); + stack.set(other, object); + + var skipCtor = isPartial; + while (++index < objLength) { + key = objProps[index]; + var objValue = object[key], + othValue = other[key]; + + if (customizer) { + var compared = isPartial + ? customizer(othValue, objValue, key, other, object, stack) + : customizer(objValue, othValue, key, object, other, stack); + } + // Recursively compare objects (susceptible to call stack limits). + if ( + !(compared === undefined + ? objValue === othValue || + equalFunc(objValue, othValue, bitmask, customizer, stack) + : compared) + ) { + result = false; + break; + } + skipCtor || (skipCtor = key == 'constructor'); + } + if (result && !skipCtor) { + var objCtor = object.constructor, + othCtor = other.constructor; + + // Non `Object` object instances with different constructors are not equal. + if ( + objCtor != othCtor && + ('constructor' in object && 'constructor' in other) && + !( + typeof objCtor == 'function' && + objCtor instanceof objCtor && + typeof othCtor == 'function' && + othCtor instanceof othCtor + ) + ) { + result = false; + } + } + stack['delete'](object); + stack['delete'](other); + return result; + } + + var _equalObjects = equalObjects; + + /* Built-in method references that are verified to be native. */ + var DataView = _getNative(_root, 'DataView'); + + var _DataView = DataView; + + /* Built-in method references that are verified to be native. */ + var Promise$1 = _getNative(_root, 'Promise'); + + var _Promise = Promise$1; + + /* Built-in method references that are verified to be native. */ + var Set = _getNative(_root, 'Set'); + + var _Set = Set; + + /* Built-in method references that are verified to be native. */ + var WeakMap = _getNative(_root, 'WeakMap'); + + var _WeakMap = WeakMap; + + /** `Object#toString` result references. */ + var mapTag$2 = '[object Map]', + objectTag$1 = '[object Object]', + promiseTag = '[object Promise]', + setTag$2 = '[object Set]', + weakMapTag$1 = '[object WeakMap]'; + + var dataViewTag$2 = '[object DataView]'; + + /** Used to detect maps, sets, and weakmaps. */ + var dataViewCtorString = _toSource(_DataView), + mapCtorString = _toSource(_Map), + promiseCtorString = _toSource(_Promise), + setCtorString = _toSource(_Set), + weakMapCtorString = _toSource(_WeakMap); + + /** + * Gets the `toStringTag` of `value`. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ + var getTag = _baseGetTag; + + // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. + if ( + (_DataView && getTag(new _DataView(new ArrayBuffer(1))) != dataViewTag$2) || + (_Map && getTag(new _Map()) != mapTag$2) || + (_Promise && getTag(_Promise.resolve()) != promiseTag) || + (_Set && getTag(new _Set()) != setTag$2) || + (_WeakMap && getTag(new _WeakMap()) != weakMapTag$1) + ) { + getTag = function(value) { + var result = _baseGetTag(value), + Ctor = result == objectTag$1 ? value.constructor : undefined, + ctorString = Ctor ? _toSource(Ctor) : ''; + + if (ctorString) { + switch (ctorString) { + case dataViewCtorString: + return dataViewTag$2; + case mapCtorString: + return mapTag$2; + case promiseCtorString: + return promiseTag; + case setCtorString: + return setTag$2; + case weakMapCtorString: + return weakMapTag$1; + } + } + return result; + }; + } + + var _getTag = getTag; + + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG$3 = 1; + + /** `Object#toString` result references. */ + var argsTag$2 = '[object Arguments]', + arrayTag$1 = '[object Array]', + objectTag$2 = '[object Object]'; + + /** Used for built-in method references. */ + var objectProto$b = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty$8 = objectProto$b.hasOwnProperty; + + /** + * A specialized version of `baseIsEqual` for arrays and objects which performs + * deep comparisons and tracks traversed objects enabling objects with circular + * references to be compared. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} [stack] Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function baseIsEqualDeep( + object, + other, + bitmask, + customizer, + equalFunc, + stack, + ) { + var objIsArr = isArray_1(object), + othIsArr = isArray_1(other), + objTag = objIsArr ? arrayTag$1 : _getTag(object), + othTag = othIsArr ? arrayTag$1 : _getTag(other); + + objTag = objTag == argsTag$2 ? objectTag$2 : objTag; + othTag = othTag == argsTag$2 ? objectTag$2 : othTag; + + var objIsObj = objTag == objectTag$2, + othIsObj = othTag == objectTag$2, + isSameTag = objTag == othTag; + + if (isSameTag && isBuffer_1(object)) { + if (!isBuffer_1(other)) { + return false; + } + objIsArr = true; + objIsObj = false; + } + if (isSameTag && !objIsObj) { + stack || (stack = new _Stack()); + return objIsArr || isTypedArray_1(object) + ? _equalArrays(object, other, bitmask, customizer, equalFunc, stack) + : _equalByTag( + object, + other, + objTag, + bitmask, + customizer, + equalFunc, + stack, + ); + } + if (!(bitmask & COMPARE_PARTIAL_FLAG$3)) { + var objIsWrapped = + objIsObj && hasOwnProperty$8.call(object, '__wrapped__'), + othIsWrapped = othIsObj && hasOwnProperty$8.call(other, '__wrapped__'); + + if (objIsWrapped || othIsWrapped) { + var objUnwrapped = objIsWrapped ? object.value() : object, + othUnwrapped = othIsWrapped ? other.value() : other; + + stack || (stack = new _Stack()); + return equalFunc( + objUnwrapped, + othUnwrapped, + bitmask, + customizer, + stack, + ); + } + } + if (!isSameTag) { + return false; + } + stack || (stack = new _Stack()); + return _equalObjects(object, other, bitmask, customizer, equalFunc, stack); + } + + var _baseIsEqualDeep = baseIsEqualDeep; + + /** + * The base implementation of `_.isEqual` which supports partial comparisons + * and tracks traversed objects. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @param {boolean} bitmask The bitmask flags. + * 1 - Unordered comparison + * 2 - Partial comparison + * @param {Function} [customizer] The function to customize comparisons. + * @param {Object} [stack] Tracks traversed `value` and `other` objects. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + */ + function baseIsEqual(value, other, bitmask, customizer, stack) { + if (value === other) { + return true; + } + if ( + value == null || + other == null || + (!isObjectLike_1(value) && !isObjectLike_1(other)) + ) { + return value !== value && other !== other; + } + return _baseIsEqualDeep( + value, + other, + bitmask, + customizer, + baseIsEqual, + stack, + ); + } + + var _baseIsEqual = baseIsEqual; + + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG$4 = 1, + COMPARE_UNORDERED_FLAG$2 = 2; + + /** + * The base implementation of `_.isMatch` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to inspect. + * @param {Object} source The object of property values to match. + * @param {Array} matchData The property names, values, and compare flags to match. + * @param {Function} [customizer] The function to customize comparisons. + * @returns {boolean} Returns `true` if `object` is a match, else `false`. + */ + function baseIsMatch(object, source, matchData, customizer) { + var index = matchData.length, + length = index, + noCustomizer = !customizer; + + if (object == null) { + return !length; + } + object = Object(object); + while (index--) { + var data = matchData[index]; + if ( + noCustomizer && data[2] + ? data[1] !== object[data[0]] + : !(data[0] in object) + ) { + return false; + } + } + while (++index < length) { + data = matchData[index]; + var key = data[0], + objValue = object[key], + srcValue = data[1]; + + if (noCustomizer && data[2]) { + if (objValue === undefined && !(key in object)) { + return false; + } + } else { + var stack = new _Stack(); + if (customizer) { + var result = customizer( + objValue, + srcValue, + key, + object, + source, + stack, + ); + } + if ( + !(result === undefined + ? _baseIsEqual( + srcValue, + objValue, + COMPARE_PARTIAL_FLAG$4 | COMPARE_UNORDERED_FLAG$2, + customizer, + stack, + ) + : result) + ) { + return false; + } + } + } + return true; + } + + var _baseIsMatch = baseIsMatch; + + /** + * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` if suitable for strict + * equality comparisons, else `false`. + */ + function isStrictComparable(value) { + return value === value && !isObject_1(value); + } + + var _isStrictComparable = isStrictComparable; + + /** + * Gets the property names, values, and compare flags of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the match data of `object`. + */ + function getMatchData(object) { + var result = keys_1(object), + length = result.length; + + while (length--) { + var key = result[length], + value = object[key]; + + result[length] = [key, value, _isStrictComparable(value)]; + } + return result; + } + + var _getMatchData = getMatchData; + + /** + * A specialized version of `matchesProperty` for source values suitable + * for strict equality comparisons, i.e. `===`. + * + * @private + * @param {string} key The key of the property to get. + * @param {*} srcValue The value to match. + * @returns {Function} Returns the new spec function. + */ + function matchesStrictComparable(key, srcValue) { + return function(object) { + if (object == null) { + return false; + } + return ( + object[key] === srcValue && + (srcValue !== undefined || key in Object(object)) + ); + }; + } + + var _matchesStrictComparable = matchesStrictComparable; + + /** + * The base implementation of `_.matches` which doesn't clone `source`. + * + * @private + * @param {Object} source The object of property values to match. + * @returns {Function} Returns the new spec function. + */ + function baseMatches(source) { + var matchData = _getMatchData(source); + if (matchData.length == 1 && matchData[0][2]) { + return _matchesStrictComparable(matchData[0][0], matchData[0][1]); + } + return function(object) { + return object === source || _baseIsMatch(object, source, matchData); + }; + } + + var _baseMatches = baseMatches; + + /** `Object#toString` result references. */ + var symbolTag$1 = '[object Symbol]'; + + /** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ + function isSymbol(value) { + return ( + typeof value == 'symbol' || + (isObjectLike_1(value) && _baseGetTag(value) == symbolTag$1) + ); + } + + var isSymbol_1 = isSymbol; + + /** Used to match property names within property paths. */ + var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, + reIsPlainProp = /^\w*$/; + + /** + * Checks if `value` is a property name and not a property path. + * + * @private + * @param {*} value The value to check. + * @param {Object} [object] The object to query keys on. + * @returns {boolean} Returns `true` if `value` is a property name, else `false`. + */ + function isKey(value, object) { + if (isArray_1(value)) { + return false; + } + var type = typeof value; + if ( + type == 'number' || + type == 'symbol' || + type == 'boolean' || + value == null || + isSymbol_1(value) + ) { + return true; + } + return ( + reIsPlainProp.test(value) || + !reIsDeepProp.test(value) || + (object != null && value in Object(object)) + ); + } + + var _isKey = isKey; + + /** Error message constants. */ + var FUNC_ERROR_TEXT = 'Expected a function'; + + /** + * Creates a function that memoizes the result of `func`. If `resolver` is + * provided, it determines the cache key for storing the result based on the + * arguments provided to the memoized function. By default, the first argument + * provided to the memoized function is used as the map cache key. The `func` + * is invoked with the `this` binding of the memoized function. + * + * **Note:** The cache is exposed as the `cache` property on the memoized + * function. Its creation may be customized by replacing the `_.memoize.Cache` + * constructor with one whose instances implement the + * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) + * method interface of `clear`, `delete`, `get`, `has`, and `set`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to have its output memoized. + * @param {Function} [resolver] The function to resolve the cache key. + * @returns {Function} Returns the new memoized function. + * @example + * + * var object = { 'a': 1, 'b': 2 }; + * var other = { 'c': 3, 'd': 4 }; + * + * var values = _.memoize(_.values); + * values(object); + * // => [1, 2] + * + * values(other); + * // => [3, 4] + * + * object.a = 2; + * values(object); + * // => [1, 2] + * + * // Modify the result cache. + * values.cache.set(object, ['a', 'b']); + * values(object); + * // => ['a', 'b'] + * + * // Replace `_.memoize.Cache`. + * _.memoize.Cache = WeakMap; + */ + function memoize(func, resolver) { + if ( + typeof func != 'function' || + (resolver != null && typeof resolver != 'function') + ) { + throw new TypeError(FUNC_ERROR_TEXT); + } + var memoized = function() { + var args = arguments, + key = resolver ? resolver.apply(this, args) : args[0], + cache = memoized.cache; + + if (cache.has(key)) { + return cache.get(key); + } + var result = func.apply(this, args); + memoized.cache = cache.set(key, result) || cache; + return result; + }; + memoized.cache = new (memoize.Cache || _MapCache)(); + return memoized; + } + + // Expose `MapCache`. + memoize.Cache = _MapCache; + + var memoize_1 = memoize; + + /** Used as the maximum memoize cache size. */ + var MAX_MEMOIZE_SIZE = 500; + + /** + * A specialized version of `_.memoize` which clears the memoized function's + * cache when it exceeds `MAX_MEMOIZE_SIZE`. + * + * @private + * @param {Function} func The function to have its output memoized. + * @returns {Function} Returns the new memoized function. + */ + function memoizeCapped(func) { + var result = memoize_1(func, function(key) { + if (cache.size === MAX_MEMOIZE_SIZE) { + cache.clear(); + } + return key; + }); + + var cache = result.cache; + return result; + } + + var _memoizeCapped = memoizeCapped; + + /** Used to match property names within property paths. */ + var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; + + /** Used to match backslashes in property paths. */ + var reEscapeChar = /\\(\\)?/g; + + /** + * Converts `string` to a property path array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the property path array. + */ + var stringToPath = _memoizeCapped(function(string) { + var result = []; + if (string.charCodeAt(0) === 46 /* . */) { + result.push(''); + } + string.replace(rePropName, function(match, number, quote, subString) { + result.push( + quote ? subString.replace(reEscapeChar, '$1') : number || match, + ); + }); + return result; + }); + + var _stringToPath = stringToPath; + + /** + * A specialized version of `_.map` for arrays without support for iteratee + * shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the new mapped array. + */ + function arrayMap(array, iteratee) { + var index = -1, + length = array == null ? 0 : array.length, + result = Array(length); + + while (++index < length) { + result[index] = iteratee(array[index], index, array); + } + return result; + } + + var _arrayMap = arrayMap; + + /** Used as references for various `Number` constants. */ + var INFINITY = 1 / 0; + + /** Used to convert symbols to primitives and strings. */ + var symbolProto$1 = _Symbol ? _Symbol.prototype : undefined, + symbolToString = symbolProto$1 ? symbolProto$1.toString : undefined; + + /** + * The base implementation of `_.toString` which doesn't convert nullish + * values to empty strings. + * + * @private + * @param {*} value The value to process. + * @returns {string} Returns the string. + */ + function baseToString(value) { + // Exit early for strings to avoid a performance hit in some environments. + if (typeof value == 'string') { + return value; + } + if (isArray_1(value)) { + // Recursively convert values (susceptible to call stack limits). + return _arrayMap(value, baseToString) + ''; + } + if (isSymbol_1(value)) { + return symbolToString ? symbolToString.call(value) : ''; + } + var result = value + ''; + return result == '0' && 1 / value == -INFINITY ? '-0' : result; + } + + var _baseToString = baseToString; + + /** + * Converts `value` to a string. An empty string is returned for `null` + * and `undefined` values. The sign of `-0` is preserved. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {string} Returns the converted string. + * @example + * + * _.toString(null); + * // => '' + * + * _.toString(-0); + * // => '-0' + * + * _.toString([1, 2, 3]); + * // => '1,2,3' + */ + function toString(value) { + return value == null ? '' : _baseToString(value); + } + + var toString_1 = toString; + + /** + * Casts `value` to a path array if it's not one. + * + * @private + * @param {*} value The value to inspect. + * @param {Object} [object] The object to query keys on. + * @returns {Array} Returns the cast property path array. + */ + function castPath(value, object) { + if (isArray_1(value)) { + return value; + } + return _isKey(value, object) ? [value] : _stringToPath(toString_1(value)); + } + + var _castPath = castPath; + + /** Used as references for various `Number` constants. */ + var INFINITY$1 = 1 / 0; + + /** + * Converts `value` to a string key if it's not a string or symbol. + * + * @private + * @param {*} value The value to inspect. + * @returns {string|symbol} Returns the key. + */ + function toKey(value) { + if (typeof value == 'string' || isSymbol_1(value)) { + return value; + } + var result = value + ''; + return result == '0' && 1 / value == -INFINITY$1 ? '-0' : result; + } + + var _toKey = toKey; + + /** + * The base implementation of `_.get` without support for default values. + * + * @private + * @param {Object} object The object to query. + * @param {Array|string} path The path of the property to get. + * @returns {*} Returns the resolved value. + */ + function baseGet(object, path) { + path = _castPath(path, object); + + var index = 0, + length = path.length; + + while (object != null && index < length) { + object = object[_toKey(path[index++])]; + } + return index && index == length ? object : undefined; + } + + var _baseGet = baseGet; + + /** + * Gets the value at `path` of `object`. If the resolved value is + * `undefined`, the `defaultValue` is returned in its place. + * + * @static + * @memberOf _ + * @since 3.7.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path of the property to get. + * @param {*} [defaultValue] The value returned for `undefined` resolved values. + * @returns {*} Returns the resolved value. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 3 } }] }; + * + * _.get(object, 'a[0].b.c'); + * // => 3 + * + * _.get(object, ['a', '0', 'b', 'c']); + * // => 3 + * + * _.get(object, 'a.b.c', 'default'); + * // => 'default' + */ + function get(object, path, defaultValue) { + var result = object == null ? undefined : _baseGet(object, path); + return result === undefined ? defaultValue : result; + } + + var get_1 = get; + + /** + * The base implementation of `_.hasIn` without support for deep paths. + * + * @private + * @param {Object} [object] The object to query. + * @param {Array|string} key The key to check. + * @returns {boolean} Returns `true` if `key` exists, else `false`. + */ + function baseHasIn(object, key) { + return object != null && key in Object(object); + } + + var _baseHasIn = baseHasIn; + + /** + * Checks if `path` exists on `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @param {Function} hasFunc The function to check properties. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + */ + function hasPath(object, path, hasFunc) { + path = _castPath(path, object); + + var index = -1, + length = path.length, + result = false; + + while (++index < length) { + var key = _toKey(path[index]); + if (!(result = object != null && hasFunc(object, key))) { + break; + } + object = object[key]; + } + if (result || ++index != length) { + return result; + } + length = object == null ? 0 : object.length; + return ( + !!length && + isLength_1(length) && + _isIndex(key, length) && + (isArray_1(object) || isArguments_1(object)) + ); + } + + var _hasPath = hasPath; + + /** + * Checks if `path` is a direct or inherited property of `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + * @example + * + * var object = _.create({ 'a': _.create({ 'b': 2 }) }); + * + * _.hasIn(object, 'a'); + * // => true + * + * _.hasIn(object, 'a.b'); + * // => true + * + * _.hasIn(object, ['a', 'b']); + * // => true + * + * _.hasIn(object, 'b'); + * // => false + */ + function hasIn(object, path) { + return object != null && _hasPath(object, path, _baseHasIn); + } + + var hasIn_1 = hasIn; + + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG$5 = 1, + COMPARE_UNORDERED_FLAG$3 = 2; + + /** + * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. + * + * @private + * @param {string} path The path of the property to get. + * @param {*} srcValue The value to match. + * @returns {Function} Returns the new spec function. + */ + function baseMatchesProperty(path, srcValue) { + if (_isKey(path) && _isStrictComparable(srcValue)) { + return _matchesStrictComparable(_toKey(path), srcValue); + } + return function(object) { + var objValue = get_1(object, path); + return objValue === undefined && objValue === srcValue + ? hasIn_1(object, path) + : _baseIsEqual( + srcValue, + objValue, + COMPARE_PARTIAL_FLAG$5 | COMPARE_UNORDERED_FLAG$3, + ); + }; + } + + var _baseMatchesProperty = baseMatchesProperty; + + /** + * This method returns the first argument it receives. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Util + * @param {*} value Any value. + * @returns {*} Returns `value`. + * @example + * + * var object = { 'a': 1 }; + * + * console.log(_.identity(object) === object); + * // => true + */ + function identity(value) { + return value; + } + + var identity_1 = identity; + + /** + * The base implementation of `_.property` without support for deep paths. + * + * @private + * @param {string} key The key of the property to get. + * @returns {Function} Returns the new accessor function. + */ + function baseProperty(key) { + return function(object) { + return object == null ? undefined : object[key]; + }; + } + + var _baseProperty = baseProperty; + + /** + * A specialized version of `baseProperty` which supports deep paths. + * + * @private + * @param {Array|string} path The path of the property to get. + * @returns {Function} Returns the new accessor function. + */ + function basePropertyDeep(path) { + return function(object) { + return _baseGet(object, path); + }; + } + + var _basePropertyDeep = basePropertyDeep; + + /** + * Creates a function that returns the value at `path` of a given object. + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Util + * @param {Array|string} path The path of the property to get. + * @returns {Function} Returns the new accessor function. + * @example + * + * var objects = [ + * { 'a': { 'b': 2 } }, + * { 'a': { 'b': 1 } } + * ]; + * + * _.map(objects, _.property('a.b')); + * // => [2, 1] + * + * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b'); + * // => [1, 2] + */ + function property(path) { + return _isKey(path) ? _baseProperty(_toKey(path)) : _basePropertyDeep(path); + } + + var property_1 = property; + + /** + * The base implementation of `_.iteratee`. + * + * @private + * @param {*} [value=_.identity] The value to convert to an iteratee. + * @returns {Function} Returns the iteratee. + */ + function baseIteratee(value) { + // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. + // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. + if (typeof value == 'function') { + return value; + } + if (value == null) { + return identity_1; + } + if (typeof value == 'object') { + return isArray_1(value) + ? _baseMatchesProperty(value[0], value[1]) + : _baseMatches(value); + } + return property_1(value); + } + + var _baseIteratee = baseIteratee; + + /** Used as references for various `Number` constants. */ + var NAN = 0 / 0; + + /** Used to match leading and trailing whitespace. */ + var reTrim = /^\s+|\s+$/g; + + /** Used to detect bad signed hexadecimal string values. */ + var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; + + /** Used to detect binary string values. */ + var reIsBinary = /^0b[01]+$/i; + + /** Used to detect octal string values. */ + var reIsOctal = /^0o[0-7]+$/i; + + /** Built-in method references without a dependency on `root`. */ + var freeParseInt = parseInt; + + /** + * Converts `value` to a number. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to process. + * @returns {number} Returns the number. + * @example + * + * _.toNumber(3.2); + * // => 3.2 + * + * _.toNumber(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toNumber(Infinity); + * // => Infinity + * + * _.toNumber('3.2'); + * // => 3.2 + */ + function toNumber(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol_1(value)) { + return NAN; + } + if (isObject_1(value)) { + var other = typeof value.valueOf == 'function' ? value.valueOf() : value; + value = isObject_1(other) ? other + '' : other; + } + if (typeof value != 'string') { + return value === 0 ? value : +value; + } + value = value.replace(reTrim, ''); + var isBinary = reIsBinary.test(value); + return isBinary || reIsOctal.test(value) + ? freeParseInt(value.slice(2), isBinary ? 2 : 8) + : reIsBadHex.test(value) + ? NAN + : +value; + } + + var toNumber_1 = toNumber; + + /** Used as references for various `Number` constants. */ + var INFINITY$2 = 1 / 0, + MAX_INTEGER = 1.7976931348623157e308; + + /** + * Converts `value` to a finite number. + * + * @static + * @memberOf _ + * @since 4.12.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {number} Returns the converted number. + * @example + * + * _.toFinite(3.2); + * // => 3.2 + * + * _.toFinite(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toFinite(Infinity); + * // => 1.7976931348623157e+308 + * + * _.toFinite('3.2'); + * // => 3.2 + */ + function toFinite(value) { + if (!value) { + return value === 0 ? value : 0; + } + value = toNumber_1(value); + if (value === INFINITY$2 || value === -INFINITY$2) { + var sign = value < 0 ? -1 : 1; + return sign * MAX_INTEGER; + } + return value === value ? value : 0; + } + + var toFinite_1 = toFinite; + + /** + * Converts `value` to an integer. + * + * **Note:** This method is loosely based on + * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {number} Returns the converted integer. + * @example + * + * _.toInteger(3.2); + * // => 3 + * + * _.toInteger(Number.MIN_VALUE); + * // => 0 + * + * _.toInteger(Infinity); + * // => 1.7976931348623157e+308 + * + * _.toInteger('3.2'); + * // => 3 + */ + function toInteger(value) { + var result = toFinite_1(value), + remainder = result % 1; + + return result === result ? (remainder ? result - remainder : result) : 0; + } + + var toInteger_1 = toInteger; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeMax = Math.max; + + /** + * This method is like `_.find` except that it returns the index of the first + * element `predicate` returns truthy for instead of the element itself. + * + * @static + * @memberOf _ + * @since 1.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=0] The index to search from. + * @returns {number} Returns the index of the found element, else `-1`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; + * + * _.findIndex(users, function(o) { return o.user == 'barney'; }); + * // => 0 + * + * // The `_.matches` iteratee shorthand. + * _.findIndex(users, { 'user': 'fred', 'active': false }); + * // => 1 + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findIndex(users, ['active', false]); + * // => 0 + * + * // The `_.property` iteratee shorthand. + * _.findIndex(users, 'active'); + * // => 2 + */ + function findIndex(array, predicate, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = fromIndex == null ? 0 : toInteger_1(fromIndex); + if (index < 0) { + index = nativeMax(length + index, 0); + } + return _baseFindIndex(array, _baseIteratee(predicate, 3), index); + } + + var findIndex_1 = findIndex; + + /** Built-in value references. */ + var getPrototype = _overArg(Object.getPrototypeOf, Object); + + var _getPrototype = getPrototype; + + /** `Object#toString` result references. */ + var objectTag$3 = '[object Object]'; + + /** Used for built-in method references. */ + var funcProto$2 = Function.prototype, + objectProto$c = Object.prototype; + + /** Used to resolve the decompiled source of functions. */ + var funcToString$2 = funcProto$2.toString; + + /** Used to check objects for own properties. */ + var hasOwnProperty$9 = objectProto$c.hasOwnProperty; + + /** Used to infer the `Object` constructor. */ + var objectCtorString = funcToString$2.call(Object); + + /** + * Checks if `value` is a plain object, that is, an object created by the + * `Object` constructor or one with a `[[Prototype]]` of `null`. + * + * @static + * @memberOf _ + * @since 0.8.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * _.isPlainObject(new Foo); + * // => false + * + * _.isPlainObject([1, 2, 3]); + * // => false + * + * _.isPlainObject({ 'x': 0, 'y': 0 }); + * // => true + * + * _.isPlainObject(Object.create(null)); + * // => true + */ + function isPlainObject(value) { + if (!isObjectLike_1(value) || _baseGetTag(value) != objectTag$3) { + return false; + } + var proto = _getPrototype(value); + if (proto === null) { + return true; + } + var Ctor = hasOwnProperty$9.call(proto, 'constructor') && proto.constructor; + return ( + typeof Ctor == 'function' && + Ctor instanceof Ctor && + funcToString$2.call(Ctor) == objectCtorString + ); + } + + var isPlainObject_1 = isPlainObject; + + function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys = ownKeys.concat( + Object.getOwnPropertySymbols(source).filter(function(sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + }), + ); + } + + ownKeys.forEach(function(key) { + defineProperty(target, key, source[key]); + }); + } + + return target; + } + + var objectSpread = _objectSpread; + + function arrayMove(array, from, to) { + array = array.slice(); + array.splice(to < 0 ? array.length + to : to, 0, array.splice(from, 1)[0]); + return array; + } + function omit(obj) { + for ( + var _len = arguments.length, + keysToOmit = new Array(_len > 1 ? _len - 1 : 0), + _key = 1; + _key < _len; + _key++ + ) { + keysToOmit[_key - 1] = arguments[_key]; + } + + return Object.keys(obj).reduce(function(acc, key) { + if (keysToOmit.indexOf(key) === -1) { + acc[key] = obj[key]; + } + + return acc; + }, {}); + } + var events = { + start: ['touchstart', 'mousedown'], + move: ['touchmove', 'mousemove'], + end: ['touchend', 'touchcancel', 'mouseup'], + }; + var vendorPrefix = (function() { + if (typeof window === 'undefined' || typeof document === 'undefined') { + return ''; + } + + var styles = window.getComputedStyle(document.documentElement, '') || [ + '-moz-hidden-iframe', + ]; + var pre = (Array.prototype.slice + .call(styles) + .join('') + .match(/-(moz|webkit|ms)-/) || + (styles.OLink === '' && ['', 'o']))[1]; + + switch (pre) { + case 'ms': + return 'ms'; + + default: + return pre && pre.length ? pre[0].toUpperCase() + pre.substr(1) : ''; + } + })(); + function closest(el, fn) { + while (el) { + if (fn(el)) { + return el; + } + + el = el.parentNode; + } + + return null; + } + function limit(min, max, value) { + return Math.max(min, Math.min(value, max)); + } + + function getPixelValue(stringValue) { + if (stringValue.substr(-2) === 'px') { + return parseFloat(stringValue); + } + + return 0; + } + + function getElementMargin(element) { + var style = window.getComputedStyle(element); + return { + top: getPixelValue(style.marginTop), + right: getPixelValue(style.marginRight), + bottom: getPixelValue(style.marginBottom), + left: getPixelValue(style.marginLeft), + }; + } + function provideDisplayName(prefix, Component) { + var componentName = Component.displayName || Component.name; + return componentName + ? ''.concat(prefix, '(').concat(componentName, ')') + : prefix; + } + function getPosition(event) { + if (event.touches && event.touches.length) { + return { + x: event.touches[0].pageX, + y: event.touches[0].pageY, + }; + } else if (event.changedTouches && event.changedTouches.length) { + return { + x: event.changedTouches[0].pageX, + y: event.changedTouches[0].pageY, + }; + } else { + return { + x: event.pageX, + y: event.pageY, + }; + } + } + function isTouchEvent(event) { + return ( + (event.touches && event.touches.length) || + (event.changedTouches && event.changedTouches.length) + ); + } + function getEdgeOffset(node, parent) { + var offset = + arguments.length > 2 && arguments[2] !== undefined + ? arguments[2] + : { + top: 0, + left: 0, + }; + + if (!node) { + return undefined; + } + + var nodeOffset = { + top: offset.top + node.offsetTop, + left: offset.left + node.offsetLeft, + }; + + if (node.parentNode === parent) { + return nodeOffset; + } + + return getEdgeOffset(node.parentNode, parent, nodeOffset); + } + function getLockPixelOffset(_ref) { + var lockOffset = _ref.lockOffset, + width = _ref.width, + height = _ref.height; + var offsetX = lockOffset; + var offsetY = lockOffset; + var unit = 'px'; + + if (typeof lockOffset === 'string') { + var match = /^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(lockOffset); + invariant_1( + match !== null, + 'lockOffset value should be a number or a string of a ' + + 'number followed by "px" or "%". Given %s', + lockOffset, + ); + offsetX = parseFloat(lockOffset); + offsetY = parseFloat(lockOffset); + unit = match[1]; + } + + invariant_1( + isFinite(offsetX) && isFinite(offsetY), + 'lockOffset value should be a finite. Given %s', + lockOffset, + ); + + if (unit === '%') { + offsetX = (offsetX * width) / 100; + offsetY = (offsetY * height) / 100; + } + + return { + x: offsetX, + y: offsetY, + }; + } + var NodeType = { + Anchor: 'A', + Button: 'BUTTON', + Canvas: 'CANVAS', + Input: 'INPUT', + Option: 'OPTION', + Textarea: 'TEXTAREA', + Select: 'SELECT', + }; + + function distanceRect(x, y, rect) { + var pageXOffset = window.pageXOffset; + var pageYOffset = window.pageYOffset; + var left = rect.left + pageXOffset; + var right = rect.right + pageXOffset; + var top = rect.top + pageYOffset; + var bottom = rect.bottom + pageYOffset; + var dx = x - limit(left, right, x); + var dy = y - limit(top, bottom, y); + return Math.sqrt(dx * dx + dy * dy); + } + function closestRect(x, y, containers) { + var distances = containers.map(function(container) { + return distanceRect(x, y, container.getBoundingClientRect()); + }); + return distances.indexOf( + Math.min.apply(Math, toConsumableArray(distances)), + ); + } + function getDelta(rect1, rect2) { + return { + x: rect1.left - rect2.left, + y: rect1.top - rect2.top, + }; + } + function updateDistanceBetweenContainers(distance, container1, container2) { + var x = distance.x, + y = distance.y; + var delta = getDelta.apply( + void 0, + toConsumableArray( + [container1, container2].map(function(cont) { + return cont.container.getBoundingClientRect(); + }), + ), + ); + var scrollDX = + container2.scrollContainer.scrollLeft - + container1.scrollContainer.scrollLeft; + var scrollDY = + container2.scrollContainer.scrollTop - + container1.scrollContainer.scrollTop; + return { + x: x + delta.x + scrollDX, + y: y + delta.y + scrollDY, + }; + } + + var DragLayer = (function() { + function DragLayer() { + var _this = this; + + classCallCheck(this, DragLayer); + + defineProperty(this, 'helper', null); + + defineProperty(this, 'lists', []); + + defineProperty(this, 'handleSortMove', function(event) { + event.preventDefault(); + + _this.updatePosition(event); + + _this.updateTargetContainer(event); + + if (_this.targetList) { + _this.targetList.handleSortMove(event); + } + }); + + defineProperty(this, 'handleSortEnd', function(event) { + if (_this.listenerNode) { + events.move.forEach(function(eventName) { + return _this.listenerNode.removeEventListener( + eventName, + _this.handleSortMove, + ); + }); + events.end.forEach(function(eventName) { + return _this.listenerNode.removeEventListener( + eventName, + _this.handleSortEnd, + ); + }); + } + + if (typeof _this.onDragEnd === 'function') { + _this.onDragEnd(); + } + + if (_this.helper) { + _this.helper.parentNode.removeChild(_this.helper); + + _this.helper = null; + + _this.targetList.handleSortEnd(event); + } + + _this.lists.forEach(function(list) { + delete list.initialWindowScroll; + }); + }); + } + + createClass(DragLayer, [ + { + key: 'addRef', + value: function addRef(list) { + this.lists.push(list); + }, + }, + { + key: 'removeRef', + value: function removeRef(list) { + var i = this.lists.indexOf(list); + + if (i !== -1) { + this.lists.splice(i, 1); + } + }, + }, + { + key: 'setTranslateBoundaries', + value: function setTranslateBoundaries(containerBoundingRect, list) { + var useWindowAsScrollContainer = + list.props.useWindowAsScrollContainer; + this.minTranslate = {}; + this.maxTranslate = {}; + + if (this.axis.x) { + this.minTranslate.x = + (useWindowAsScrollContainer ? 0 : containerBoundingRect.left) - + this.boundingClientRect.left - + this.width / 2; + this.maxTranslate.x = + (useWindowAsScrollContainer + ? list.contentWindow.innerWidth + : containerBoundingRect.left + containerBoundingRect.width) - + this.boundingClientRect.left - + this.width / 2; + } + + if (this.axis.y) { + this.minTranslate.y = + (useWindowAsScrollContainer ? 0 : containerBoundingRect.top) - + this.boundingClientRect.top - + this.height / 2; + this.maxTranslate.y = + (useWindowAsScrollContainer + ? list.contentWindow.innerHeight + : containerBoundingRect.top + containerBoundingRect.height) - + this.boundingClientRect.top - + this.height / 2; + } + }, + }, + { + key: 'startDrag', + value: function startDrag(parent, list, event) { + var _this2 = this; + + var position = getPosition(event); + var activeNode = list.manager.getActive(); + + if (activeNode) { + var _list$props = list.props, + axis = _list$props.axis, + getHelperDimensions = _list$props.getHelperDimensions; + var node = activeNode.node, + collection = activeNode.collection; + var index = node.sortableInfo.index; + var margin = getElementMargin(node); + var containerBoundingRect = list.container.getBoundingClientRect(); + var dimensions = getHelperDimensions({ + index: index, + node: node, + collection: collection, + }); + this.width = dimensions.width; + this.height = dimensions.height; + this.marginOffset = { + x: margin.left + margin.right, + y: Math.max(margin.top, margin.bottom), + }; + this.boundingClientRect = node.getBoundingClientRect(); + this.containerBoundingRect = containerBoundingRect; + this.targetList = list; + this.axis = { + x: axis.indexOf('x') >= 0, + y: axis.indexOf('y') >= 0, + }; + this.offsetEdge = getEdgeOffset(node, list.container); + this.initialOffset = position; + this.distanceBetweenContainers = { + x: 0, + y: 0, + }; + var fields = node.querySelectorAll( + 'input, textarea, select, canvas', + ); + var clonedNode = node.cloneNode(true); + + var clonedFields = toConsumableArray( + clonedNode.querySelectorAll('input, textarea, select, canvas'), + ); + + clonedFields.forEach(function(field, i) { + if (field.type !== 'file' && fields[index]) { + field.value = fields[i].value; + } + + if (field.tagName === NodeType.Canvas) { + var destCtx = field.getContext('2d'); + destCtx.drawImage(fields[index], 0, 0); + } + }); + this.helper = parent.appendChild(clonedNode); + this.helper.style.position = 'fixed'; + this.helper.style.top = ''.concat( + this.boundingClientRect.top - margin.top, + 'px', + ); + this.helper.style.left = ''.concat( + this.boundingClientRect.left - margin.left, + 'px', + ); + this.helper.style.width = ''.concat(this.width, 'px'); + this.helper.style.height = ''.concat(this.height, 'px'); + this.helper.style.boxSizing = 'border-box'; + this.helper.style.pointerEvents = 'none'; + this.setTranslateBoundaries(containerBoundingRect, list); + this.listenerNode = event.touches ? node : list.contentWindow; + events.move.forEach(function(eventName) { + return _this2.listenerNode.addEventListener( + eventName, + _this2.handleSortMove, + false, + ); + }); + events.end.forEach(function(eventName) { + return _this2.listenerNode.addEventListener( + eventName, + _this2.handleSortEnd, + false, + ); + }); + return activeNode; + } + + return false; + }, + }, + { + key: 'stopDrag', + value: function stopDrag() { + this.handleSortEnd(); + }, + }, + { + key: 'updatePosition', + value: function updatePosition(event) { + var _this$targetList$prop = this.targetList.props, + lockAxis = _this$targetList$prop.lockAxis, + lockToContainerEdges = _this$targetList$prop.lockToContainerEdges; + var offset = getPosition(event); + var translate = { + x: offset.x - this.initialOffset.x, + y: offset.y - this.initialOffset.y, + }; + translate.y -= + window.pageYOffset - this.targetList.initialWindowScroll.top; + translate.x -= + window.pageXOffset - this.targetList.initialWindowScroll.left; + this.translate = translate; + this.delta = offset; + + if (lockToContainerEdges) { + var _this$targetList$getL = this.targetList.getLockPixelOffsets(), + _this$targetList$getL2 = slicedToArray(_this$targetList$getL, 2), + minLockOffset = _this$targetList$getL2[0], + maxLockOffset = _this$targetList$getL2[1]; + + var minOffset = { + x: this.width / 2 - minLockOffset.x, + y: this.height / 2 - minLockOffset.y, + }; + var maxOffset = { + x: this.width / 2 - maxLockOffset.x, + y: this.height / 2 - maxLockOffset.y, + }; + translate.x = limit( + this.minTranslate.x + minOffset.x, + this.maxTranslate.x - maxOffset.x, + translate.x, + ); + translate.y = limit( + this.minTranslate.y + minOffset.y, + this.maxTranslate.y - maxOffset.y, + translate.y, + ); + } + + if (lockAxis === 'x') { + translate.y = 0; + } else if (lockAxis === 'y') { + translate.x = 0; + } + + this.helper.style[ + ''.concat(vendorPrefix, 'Transform') + ] = 'translate3d(' + .concat(translate.x, 'px,') + .concat(translate.y, 'px, 0)'); + }, + }, + { + key: 'updateTargetContainer', + value: function updateTargetContainer(event) { + var _this$delta = this.delta, + x = _this$delta.x, + y = _this$delta.y; + var originList = this.targetList; + var targetList = this.lists[ + closestRect( + x, + y, + this.lists.map(function(list) { + return list.container; + }), + ) + ]; + var item = this.targetList.manager.active.item; + this.active = item; + + if (targetList !== originList) { + this.targetList = targetList; + var originListInitialWindowScroll = originList.initialWindowScroll; + var cachedOriginListRect = originList.container.getBoundingClientRect(); + var cachedTargetListRect = targetList.container.getBoundingClientRect(); + originList.handleSortEnd(event, targetList); + this.setTranslateBoundaries( + targetList.container.getBoundingClientRect(), + targetList, + ); + this.targetList.manager.active = objectSpread( + {}, + targetList.getClosestNode(event), + { + item: item, + }, + ); + targetList.handlePress(event); + this.targetList.initialWindowScroll = originListInitialWindowScroll; + this.distanceBetweenContainers = updateDistanceBetweenContainers( + this.distanceBetweenContainers, + targetList, + originList, + ); + var targetListRect = targetList.container.getBoundingClientRect(); + + if (targetListRect.top < cachedOriginListRect.top) { + var targetListContainerHeightDelta = Math.abs( + cachedTargetListRect.height - targetListRect.height, + ); + this.distanceBetweenContainers.y += targetListContainerHeightDelta; + } + } + }, + }, + ]); + + return DragLayer; + })(); + + var Manager = (function() { + function Manager() { + classCallCheck(this, Manager); + + defineProperty(this, 'refs', {}); + } + + createClass(Manager, [ + { + key: 'add', + value: function add(collection, ref) { + if (!this.refs[collection]) { + this.refs[collection] = []; + } + + this.refs[collection].push(ref); + }, + }, + { + key: 'remove', + value: function remove(collection, ref) { + var index = this.getIndex(collection, ref); + + if (index !== -1) { + this.refs[collection].splice(index, 1); + } + }, + }, + { + key: 'isActive', + value: function isActive() { + return this.active; + }, + }, + { + key: 'getActive', + value: function getActive() { + var _this = this; + + if (!this.active) { + return null; + } + + var activeRef = this.refs[this.active.collection]; + + if (!activeRef) { + return null; + } + + return ( + activeRef.find(function(_ref) { + var node = _ref.node; + return node.sortableInfo.index == _this.active.index; + }) || activeRef.slice(-1).pop() + ); + }, + }, + { + key: 'getIndex', + value: function getIndex(collection, ref) { + return this.refs[collection].indexOf(ref); + }, + }, + { + key: 'getOrderedRefs', + value: function getOrderedRefs() { + var collection = + arguments.length > 0 && arguments[0] !== undefined + ? arguments[0] + : this.active.collection; + return this.refs[collection].sort(sortByIndex); + }, + }, + ]); + + return Manager; + })(); + + function sortByIndex(_ref2, _ref3) { + var index1 = _ref2.node.sortableInfo.index; + var index2 = _ref3.node.sortableInfo.index; + return index1 - index2; + } + + /* + * classList.js: Cross-browser full element.classList implementation. + * 1.1.20170427 + * + * By Eli Grey, http://eligrey.com + * License: Dedicated to the public domain. + * See https://github.com/eligrey/classList.js/blob/master/LICENSE.md + */ + + /*global self, document, DOMException */ + + /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */ + + if ('document' in window.self) { + // Full polyfill for browsers with no classList support + // Including IE < Edge missing SVGElement.classList + if ( + !('classList' in document.createElement('_')) || + (document.createElementNS && + !( + 'classList' in + document.createElementNS('http://www.w3.org/2000/svg', 'g') + )) + ) { + (function(view) { + if (!('Element' in view)) return; + + var classListProp = 'classList', + protoProp = 'prototype', + elemCtrProto = view.Element[protoProp], + objCtr = Object, + strTrim = + String[protoProp].trim || + function() { + return this.replace(/^\s+|\s+$/g, ''); + }, + arrIndexOf = + Array[protoProp].indexOf || + function(item) { + var i = 0, + len = this.length; + for (; i < len; i++) { + if (i in this && this[i] === item) { + return i; + } + } + return -1; + }, + // Vendors: please allow content code to instantiate DOMExceptions + DOMEx = function(type, message) { + this.name = type; + this.code = DOMException[type]; + this.message = message; + }, + checkTokenAndGetIndex = function(classList, token) { + if (token === '') { + throw new DOMEx( + 'SYNTAX_ERR', + 'An invalid or illegal string was specified', + ); + } + if (/\s/.test(token)) { + throw new DOMEx( + 'INVALID_CHARACTER_ERR', + 'String contains an invalid character', + ); + } + return arrIndexOf.call(classList, token); + }, + ClassList = function(elem) { + var trimmedClasses = strTrim.call(elem.getAttribute('class') || ''), + classes = trimmedClasses ? trimmedClasses.split(/\s+/) : [], + i = 0, + len = classes.length; + for (; i < len; i++) { + this.push(classes[i]); + } + this._updateClassName = function() { + elem.setAttribute('class', this.toString()); + }; + }, + classListProto = (ClassList[protoProp] = []), + classListGetter = function() { + return new ClassList(this); + }; + // Most DOMException implementations don't allow calling DOMException's toString() + // on non-DOMExceptions. Error's toString() is sufficient here. + DOMEx[protoProp] = Error[protoProp]; + classListProto.item = function(i) { + return this[i] || null; + }; + classListProto.contains = function(token) { + token += ''; + return checkTokenAndGetIndex(this, token) !== -1; + }; + classListProto.add = function() { + var tokens = arguments, + i = 0, + l = tokens.length, + token, + updated = false; + do { + token = tokens[i] + ''; + if (checkTokenAndGetIndex(this, token) === -1) { + this.push(token); + updated = true; + } + } while (++i < l); + + if (updated) { + this._updateClassName(); + } + }; + classListProto.remove = function() { + var tokens = arguments, + i = 0, + l = tokens.length, + token, + updated = false, + index; + do { + token = tokens[i] + ''; + index = checkTokenAndGetIndex(this, token); + while (index !== -1) { + this.splice(index, 1); + updated = true; + index = checkTokenAndGetIndex(this, token); + } + } while (++i < l); + + if (updated) { + this._updateClassName(); + } + }; + classListProto.toggle = function(token, force) { + token += ''; + + var result = this.contains(token), + method = result + ? force !== true && 'remove' + : force !== false && 'add'; + if (method) { + this[method](token); + } + + if (force === true || force === false) { + return force; + } else { + return !result; + } + }; + classListProto.toString = function() { + return this.join(' '); + }; + + if (objCtr.defineProperty) { + var classListPropDesc = { + get: classListGetter, + enumerable: true, + configurable: true, + }; + try { + objCtr.defineProperty( + elemCtrProto, + classListProp, + classListPropDesc, + ); + } catch (ex) { + // IE 8 doesn't support enumerable:true + // adding undefined to fight this issue https://github.com/eligrey/classList.js/issues/36 + // modernie IE8-MSW7 machine has IE8 8.0.6001.18702 and is affected + if (ex.number === undefined || ex.number === -0x7ff5ec54) { + classListPropDesc.enumerable = false; + objCtr.defineProperty( + elemCtrProto, + classListProp, + classListPropDesc, + ); + } + } + } else if (objCtr[protoProp].__defineGetter__) { + elemCtrProto.__defineGetter__(classListProp, classListGetter); + } + })(window.self); + } + + // There is full or partial native classList support, so just check if we need + // to normalize the add/remove and toggle APIs. + + (function() { + var testElement = document.createElement('_'); + + testElement.classList.add('c1', 'c2'); + + // Polyfill for IE 10/11 and Firefox <26, where classList.add and + // classList.remove exist but support only one argument at a time. + if (!testElement.classList.contains('c2')) { + var createMethod = function(method) { + var original = DOMTokenList.prototype[method]; + + DOMTokenList.prototype[method] = function(token) { + var i, + len = arguments.length; + + for (i = 0; i < len; i++) { + token = arguments[i]; + original.call(this, token); + } + }; + }; + createMethod('add'); + createMethod('remove'); + } + + testElement.classList.toggle('c3', false); + + // Polyfill for IE 10 and Firefox <24, where classList.toggle does not + // support the second argument. + if (testElement.classList.contains('c3')) { + var _toggle = DOMTokenList.prototype.toggle; + + DOMTokenList.prototype.toggle = function(token, force) { + if (1 in arguments && !this.contains(token) === !force) { + return force; + } else { + return _toggle.call(this, token); + } + }; + } + + testElement = null; + })(); + } + + function _finallyRethrows(body, finalizer) { + try { + var result = body(); + } catch (e) { + return finalizer(true, e); + } + + if (result && result.then) { + return result.then( + finalizer.bind(null, false), + finalizer.bind(null, true), + ); + } + + return finalizer(false, value); + } + function sortableContainer(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + inherits(WithSortableContainer, _React$Component); + + function WithSortableContainer(props) { + var _this; + + classCallCheck(this, WithSortableContainer); + + _this = possibleConstructorReturn( + this, + getPrototypeOf(WithSortableContainer).call(this, props), + ); + + defineProperty( + assertThisInitialized(_this), + 'checkActiveIndex', + function(nextProps) { + var _ref = nextProps || _this.props, + items = _ref.items; + + var item = _this.manager.active.item; + var newIndex = isPlainObject_1(item) + ? findIndex_1(items, function(obj) { + return obj.id === item.id; + }) + : findIndex_1(items, item); + + if (newIndex === -1) { + _this.dragLayer.stopDrag(); + + return; + } + + _this.manager.active.index = newIndex; + _this.index = newIndex; + }, + ); + + defineProperty(assertThisInitialized(_this), 'handleStart', function( + event, + ) { + var _this$props = _this.props, + distance = _this$props.distance, + shouldCancelStart = _this$props.shouldCancelStart, + items = _this$props.items; + + if (event.button === 2 || shouldCancelStart(event)) { + return; + } + + _this._touched = true; + _this._pos = getPosition(event); + var node = closest(event.target, function(el) { + return el.sortableInfo != null; + }); + + if ( + node && + node.sortableInfo && + _this.nodeIsChild(node) && + !_this.sorting + ) { + var useDragHandle = _this.props.useDragHandle; + var _node$sortableInfo = node.sortableInfo, + index = _node$sortableInfo.index, + collection = _node$sortableInfo.collection; + + if ( + useDragHandle && + !closest(event.target, function(el) { + return el.sortableHandle != null; + }) + ) { + return; + } + + _this.manager.active = { + index: index, + collection: collection, + item: items[index], + }; + + if ( + !isTouchEvent(event) && + event.target.tagName.toLowerCase() === 'a' + ) { + event.preventDefault(); + } + + if (!distance) { + if (_this.props.pressDelay === 0) { + _this.handlePress(event); + } else { + _this.pressTimer = setTimeout(function() { + return _this.handlePress(event); + }, _this.props.pressDelay); + } + } + } + }); + + defineProperty(assertThisInitialized(_this), 'nodeIsChild', function( + node, + ) { + return node.sortableInfo.manager === _this.manager; + }); + + defineProperty(assertThisInitialized(_this), 'handleMove', function( + event, + ) { + var _this$props2 = _this.props, + distance = _this$props2.distance, + pressThreshold = _this$props2.pressThreshold; + + if ( + !_this.sorting && + _this._touched && + !_this._awaitingUpdateBeforeSortStart + ) { + var position = getPosition(event); + var delta = { + x: _this._pos.x - position.x, + y: _this._pos.y - position.y, + }; + var combinedDelta = Math.abs(delta.x) + Math.abs(delta.y); + _this.delta = delta; + + if ( + !distance && + (!pressThreshold || + (pressThreshold && combinedDelta >= pressThreshold)) + ) { + clearTimeout(_this.cancelTimer); + _this.cancelTimer = setTimeout(_this.cancel, 0); + } else if ( + distance && + combinedDelta >= distance && + _this.manager.isActive() + ) { + _this.handlePress(event); + } + } + }); + + defineProperty(assertThisInitialized(_this), 'handleEnd', function() { + _this._touched = false; + + _this.cancel(); + }); + + defineProperty(assertThisInitialized(_this), 'cancel', function() { + var distance = _this.props.distance; + + if (!_this.sorting) { + if (!distance) { + clearTimeout(_this.pressTimer); + } + + _this.manager.active = null; + } + }); + + defineProperty(assertThisInitialized(_this), 'handlePress', function( + event, + ) { + try { + var active = null; + + if (_this.dragLayer.helper) { + if (_this.manager.active) { + _this.checkActiveIndex(); + + active = _this.manager.getActive(); + } + } else { + active = _this.dragLayer.startDrag( + _this.document.body, + assertThisInitialized(_this), + event, + ); + } + + var _temp6 = (function() { + if (active) { + var _temp7 = function _temp7() { + _this.index = _index; + _this.newIndex = _index; + _this.axis = { + x: _axis.indexOf('x') >= 0, + y: _axis.indexOf('y') >= 0, + }; + _this.initialScroll = { + top: _this.container.scrollTop, + left: _this.container.scrollLeft, + }; + _this.initialWindowScroll = { + top: window.pageYOffset, + left: window.pageXOffset, + }; + + if (_hideSortableGhost) { + _this.sortableGhost = _node; + _node.style.visibility = 'hidden'; + _node.style.opacity = 0; + } + + if (_helperClass) { + var _this$dragLayer$helpe; + + (_this$dragLayer$helpe = + _this.dragLayer.helper.classList).add.apply( + _this$dragLayer$helpe, + toConsumableArray(_helperClass.split(' ')), + ); + } + + _this.sorting = true; + _this.sortingIndex = _index; + + if (_onSortStart) { + _onSortStart( + { + node: _node, + index: _index, + collection: _collection, + }, + event, + ); + } + }; + + var _this$props3 = _this.props, + _axis = _this$props3.axis, + _helperClass = _this$props3.helperClass, + _hideSortableGhost = _this$props3.hideSortableGhost, + updateBeforeSortStart = _this$props3.updateBeforeSortStart, + _onSortStart = _this$props3.onSortStart; + var _active = active, + _node = _active.node, + _collection = _active.collection; + var _index = _node.sortableInfo.index; + + var _temp8 = (function() { + if (typeof updateBeforeSortStart === 'function') { + _this._awaitingUpdateBeforeSortStart = true; + + var _temp9 = _finallyRethrows( + function() { + return Promise.resolve( + updateBeforeSortStart( + { + node: _node, + index: _index, + collection: _collection, + }, + event, + ), + ).then(function() {}); + }, + function(_wasThrown, _result) { + _this._awaitingUpdateBeforeSortStart = false; + if (_wasThrown) throw _result; + return _result; + }, + ); + + if (_temp9 && _temp9.then) + return _temp9.then(function() {}); + } + })(); + + return _temp8 && _temp8.then + ? _temp8.then(_temp7) + : _temp7(_temp8); + } + })(); + + return Promise.resolve( + _temp6 && _temp6.then ? _temp6.then(function() {}) : void 0, + ); + } catch (e) { + return Promise.reject(e); + } + }); + + defineProperty( + assertThisInitialized(_this), + '_handleSortMove', + function(event) { + if (_this.checkActive(event)) { + _this.animateNodes(); + + _this.autoscroll(); + } + + if (window.requestAnimationFrame) { + _this.sortMoveAF = null; + } else { + setTimeout(function() { + _this.sortMoveAF = null; + }, 1000 / 60); + } + }, + ); + + defineProperty( + assertThisInitialized(_this), + 'handleSortMove', + function(event) { + var onSortMove = _this.props.onSortMove; + event.preventDefault(); + + if (_this.sortMoveAF) { + return; + } + + if (window.requestAnimationFrame) { + _this.sortMoveAF = window.requestAnimationFrame( + _this._handleSortMove, + ); + } else { + _this.sortMoveAF = true; + + _this._handleSortMove(); + } + + if (onSortMove) { + onSortMove(event); + } + }, + ); + + defineProperty( + assertThisInitialized(_this), + 'handleSortEnd', + function(event) { + var newList = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : null; + var _this$props4 = _this.props, + hideSortableGhost = _this$props4.hideSortableGhost, + onSortEnd = _this$props4.onSortEnd; + + if (!_this.manager.active) { + return; + } + + var collection = _this.manager.active.collection; + + if (window.cancelAnimationFrame && _this.sortMoveAF) { + window.cancelAnimationFrame(_this.sortMoveAF); + _this.sortMoveAF = null; + } + + if (hideSortableGhost && _this.sortableGhost) { + _this.sortableGhost.style.visibility = ''; + _this.sortableGhost.style.opacity = ''; + } + + var nodes = _this.manager.refs[collection]; + + for (var i = 0, len = nodes.length; i < len; i++) { + var _node2 = nodes[i]; + var el = _node2.node; + _node2.edgeOffset = null; + el.style[''.concat(vendorPrefix, 'Transform')] = ''; + el.style[''.concat(vendorPrefix, 'TransitionDuration')] = ''; + } + + clearInterval(_this.autoscrollInterval); + _this.autoscrollInterval = null; + _this.manager.active = null; + _this.sorting = false; + _this.sortingIndex = null; + + if (typeof onSortEnd === 'function') { + if (newList) { + _this.newIndex = newList.getClosestNode(event).index; + } + + onSortEnd( + { + oldIndex: _this.index, + newIndex: _this.newIndex, + newList: newList, + collection: collection, + }, + event, + ); + } + + _this._touched = false; + }, + ); + + defineProperty( + assertThisInitialized(_this), + 'handleSortSwap', + function(index, item) { + var onSortSwap = _this.props.onSortSwap; + + if (typeof onSortSwap === 'function') { + onSortSwap({ + index: index, + item: item, + }); + } + }, + ); + + defineProperty( + assertThisInitialized(_this), + 'getClosestNode', + function(event) { + var position = getPosition(event); + var closestNodes = []; + var closestCollections = []; + Object.keys(_this.manager.refs).forEach(function(collection) { + var nodes = _this.manager.refs[collection].map(function(ref) { + return ref.node; + }); + + if (nodes && nodes.length > 0) { + closestNodes.push( + nodes[closestRect(position.x, position.y, nodes)], + ); + closestCollections.push(collection); + } + }); + var index = closestRect(position.x, position.y, closestNodes); + var collection = closestCollections[index]; + + if (collection === undefined) { + return { + collection: collection, + index: 0, + }; + } + + var finalNodes = _this.manager.refs[collection].map(function( + ref, + ) { + return ref.node; + }); + + var finalIndex = finalNodes.indexOf(closestNodes[index]); + var node = closestNodes[index]; + var rect = node.getBoundingClientRect(); + return { + collection: collection, + index: finalIndex + (position.y > rect.bottom ? 1 : 0), + }; + }, + ); + + defineProperty(assertThisInitialized(_this), 'checkActive', function( + event, + ) { + var active = _this.manager.active; + + if (!active) { + var _node3 = closest(event.target, function(el) { + return el.sortableInfo != null; + }); + + if (_node3 && _node3.sortableInfo) { + var pos = getPosition(event); + var _collection2 = _node3.sortableInfo.collection; + + var nodes = _this.manager.refs[_collection2].map(function(ref) { + return ref.node; + }); + + if (nodes) { + var _index2 = closestRect(pos.x, pos.y, nodes); + + _this.manager.active = { + index: _index2, + collection: _collection2, + item: _this.props.items[_index2], + }; + + _this.handlePress(event); + } + } + + return false; + } + + return true; + }); + + defineProperty( + assertThisInitialized(_this), + 'autoscroll', + function() { + var translate = _this.dragLayer.translate; + var direction = { + x: 0, + y: 0, + }; + var speed = { + x: 1, + y: 1, + }; + var acceleration = { + x: 10, + y: 10, + }; + + if ( + translate.y >= + _this.dragLayer.maxTranslate.y - _this.dragLayer.height / 2 + ) { + direction.y = 1; + speed.y = + acceleration.y * + Math.abs( + (_this.dragLayer.maxTranslate.y - + _this.dragLayer.height / 2 - + translate.y) / + _this.dragLayer.height, + ); + } else if ( + translate.x >= + _this.dragLayer.maxTranslate.x - _this.dragLayer.width / 2 + ) { + direction.x = 1; + speed.x = + acceleration.x * + Math.abs( + (_this.dragLayer.maxTranslate.x - + _this.dragLayer.width / 2 - + translate.x) / + _this.dragLayer.width, + ); + } else if ( + translate.y <= + _this.dragLayer.minTranslate.y + _this.dragLayer.height / 2 + ) { + direction.y = -1; + speed.y = + acceleration.y * + Math.abs( + (translate.y - + _this.dragLayer.height / 2 - + _this.dragLayer.minTranslate.y) / + _this.dragLayer.height, + ); + } else if ( + translate.x <= + _this.dragLayer.minTranslate.x + _this.dragLayer.width / 2 + ) { + direction.x = -1; + speed.x = + acceleration.x * + Math.abs( + (translate.x - + _this.dragLayer.width / 2 - + _this.dragLayer.minTranslate.x) / + _this.dragLayer.width, + ); + } + + if (_this.autoscrollInterval) { + clearInterval(_this.autoscrollInterval); + _this.autoscrollInterval = null; + _this.isAutoScrolling = false; + } + + if (direction.x !== 0 || direction.y !== 0) { + _this.autoscrollInterval = setInterval(function() { + _this.isAutoScrolling = true; + var offset = { + left: speed.x * direction.x, + top: speed.y * direction.y, + }; + _this.scrollContainer.scrollTop += offset.top; + _this.scrollContainer.scrollLeft += offset.left; + + _this.animateNodes(); + }, 5); + } + }, + ); + + _this.dragLayer = props.dragLayer || new DragLayer(); + + _this.dragLayer.addRef(assertThisInitialized(_this)); + + _this.dragLayer.onDragEnd = props.onDragEnd; + _this.manager = new Manager(); + _this.events = { + start: _this.handleStart, + move: _this.handleMove, + end: _this.handleEnd, + }; + invariant_1( + !(props.distance && props.pressDelay), + 'Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.', + ); + _this.state = {}; + _this.sorting = false; + return _this; + } + + createClass(WithSortableContainer, [ + { + key: 'getChildContext', + value: function getChildContext() { + return { + manager: this.manager, + }; + }, + }, + { + key: 'componentDidMount', + value: function componentDidMount() { + var _this2 = this; + + var useWindowAsScrollContainer = this.props + .useWindowAsScrollContainer; + var container = this.getContainer(); + Promise.resolve(container).then(function(containerNode) { + _this2.container = containerNode; + _this2.document = _this2.container.ownerDocument || document; + var contentWindow = + _this2.props.contentWindow || + _this2.document.defaultView || + window; + _this2.contentWindow = + typeof contentWindow === 'function' + ? contentWindow() + : contentWindow; + _this2.scrollContainer = useWindowAsScrollContainer + ? _this2.document.scrollingElement || + _this2.document.documentElement + : _this2.container; + _this2.initialScroll = { + top: _this2.scrollContainer.scrollTop, + left: _this2.scrollContainer.scrollLeft, + }; + + var _loop = function _loop(key) { + if (_this2.events.hasOwnProperty(key)) { + events[key].forEach(function(eventName) { + return _this2.container.addEventListener( + eventName, + _this2.events[key], + false, + ); + }); + } + }; + + for (var key in _this2.events) { + _loop(key); + } + }); + }, + }, + { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + var _this3 = this; + + this.dragLayer.removeRef(this); + + if (this.container) { + var _loop2 = function _loop2(key) { + if (_this3.events.hasOwnProperty(key)) { + events[key].forEach(function(eventName) { + return _this3.container.removeEventListener( + eventName, + _this3.events[key], + ); + }); + } + }; + + for (var key in this.events) { + _loop2(key); + } + } + }, + }, + { + key: 'componentWillReceiveProps', + value: function componentWillReceiveProps(nextProps) { + var active = this.manager.active; + + if (!active) { + return; + } + + this.checkActiveIndex(nextProps); + }, + }, + { + key: 'getLockPixelOffsets', + value: function getLockPixelOffsets() { + var _this$dragLayer = this.dragLayer, + width = _this$dragLayer.width, + height = _this$dragLayer.height; + var lockOffset = this.props.lockOffset; + var offsets = Array.isArray(lockOffset) + ? lockOffset + : [lockOffset, lockOffset]; + invariant_1( + offsets.length === 2, + 'lockOffset prop of SortableContainer should be a single ' + + 'value or an array of exactly two values. Given %s', + lockOffset, + ); + + var _offsets = slicedToArray(offsets, 2), + minLockOffset = _offsets[0], + maxLockOffset = _offsets[1]; + + return [ + getLockPixelOffset({ + lockOffset: minLockOffset, + width: width, + height: height, + }), + getLockPixelOffset({ + lockOffset: maxLockOffset, + width: width, + height: height, + }), + ]; + }, + }, + { + key: 'animateNodes', + value: function animateNodes() { + if (!this.axis) { + return; + } + + var _this$props5 = this.props, + transitionDuration = _this$props5.transitionDuration, + hideSortableGhost = _this$props5.hideSortableGhost, + onSortOver = _this$props5.onSortOver, + animateNodes = _this$props5.animateNodes; + var nodes = this.manager.getOrderedRefs(); + var containerScrollDelta = { + left: this.container.scrollLeft - this.initialScroll.left, + top: this.container.scrollTop - this.initialScroll.top, + }; + var sortingOffset = { + left: + this.dragLayer.offsetEdge.left - + this.dragLayer.distanceBetweenContainers.x + + this.dragLayer.translate.x + + containerScrollDelta.left, + top: + this.dragLayer.offsetEdge.top - + this.dragLayer.distanceBetweenContainers.y + + this.dragLayer.translate.y + + containerScrollDelta.top, + }; + var windowScrollDelta = { + top: window.pageYOffset - this.initialWindowScroll.top, + left: window.pageXOffset - this.initialWindowScroll.left, + }; + var prevIndex = this.newIndex; + this.newIndex = null; + + for (var i = 0, len = nodes.length; i < len; i++) { + var _node4 = nodes[i].node; + var _index3 = _node4.sortableInfo.index; + var width = _node4.offsetWidth; + var height = _node4.offsetHeight; + var offset = { + width: + this.dragLayer.width > width + ? width / 2 + : this.dragLayer.width / 2, + height: + this.dragLayer.height > height + ? height / 2 + : this.dragLayer.height / 2, + }; + var translate = { + x: 0, + y: 0, + }; + var edgeOffset = nodes[i].edgeOffset; + + if (!edgeOffset) { + edgeOffset = getEdgeOffset(_node4, this.container); + nodes[i].edgeOffset = edgeOffset; + } + + var nextNode = i < nodes.length - 1 && nodes[i + 1]; + var prevNode = i > 0 && nodes[i - 1]; + + if (nextNode && !nextNode.edgeOffset) { + nextNode.edgeOffset = getEdgeOffset( + nextNode.node, + this.container, + ); + } + + if (_index3 === this.index) { + if (hideSortableGhost) { + this.sortableGhost = _node4; + _node4.style.visibility = 'hidden'; + _node4.style.opacity = 0; + } + + continue; + } + + if (transitionDuration) { + _node4.style[ + ''.concat(vendorPrefix, 'TransitionDuration') + ] = ''.concat(transitionDuration, 'ms'); + } + + if (this.axis.x) { + if (this.axis.y) { + if ( + _index3 < this.index && + ((sortingOffset.left + + windowScrollDelta.left - + offset.width <= + edgeOffset.left && + sortingOffset.top + windowScrollDelta.top <= + edgeOffset.top + offset.height) || + sortingOffset.top + + windowScrollDelta.top + + offset.height <= + edgeOffset.top) + ) { + translate.x = + this.dragLayer.width + this.dragLayer.marginOffset.x; + + if ( + edgeOffset.left + translate.x > + this.dragLayer.containerBoundingRect.width - + offset.width + ) { + translate.x = + nextNode.edgeOffset.left - edgeOffset.left; + translate.y = nextNode.edgeOffset.top - edgeOffset.top; + } + + if (this.newIndex === null) { + this.newIndex = _index3; + } + } else if ( + _index3 > this.index && + ((sortingOffset.left + + windowScrollDelta.left + + offset.width >= + edgeOffset.left && + sortingOffset.top + + windowScrollDelta.top + + offset.height >= + edgeOffset.top) || + sortingOffset.top + + windowScrollDelta.top + + offset.height >= + edgeOffset.top + height) + ) { + translate.x = -( + this.dragLayer.width + this.dragLayer.marginOffset.x + ); + + if ( + edgeOffset.left + translate.x < + this.dragLayer.containerBoundingRect.left + offset.width + ) { + translate.x = + prevNode.edgeOffset.left - edgeOffset.left; + translate.y = prevNode.edgeOffset.top - edgeOffset.top; + } + + this.newIndex = _index3; + } + } else { + if ( + _index3 > this.index && + sortingOffset.left + + windowScrollDelta.left + + offset.width >= + edgeOffset.left + ) { + translate.x = -( + this.dragLayer.width + this.dragLayer.marginOffset.x + ); + this.newIndex = _index3; + } else if ( + _index3 < this.index && + sortingOffset.left + windowScrollDelta.left <= + edgeOffset.left + offset.width + ) { + translate.x = + this.dragLayer.width + this.dragLayer.marginOffset.x; + + if (this.newIndex == null) { + this.newIndex = _index3; + } + } + } + } else if (this.axis.y) { + if ( + _index3 > this.index && + sortingOffset.top + windowScrollDelta.top + offset.height >= + edgeOffset.top + ) { + translate.y = -( + this.dragLayer.height + this.dragLayer.marginOffset.y + ); + this.newIndex = _index3; + } else if ( + _index3 < this.index && + sortingOffset.top + windowScrollDelta.top <= + edgeOffset.top + offset.height + ) { + translate.y = + this.dragLayer.height + this.dragLayer.marginOffset.y; + + if (this.newIndex == null) { + this.newIndex = _index3; + } + } + } + + if (animateNodes) { + _node4.style[ + ''.concat(vendorPrefix, 'Transform') + ] = 'translate3d(' + .concat(translate.x, 'px,') + .concat(translate.y, 'px,0)'); + } + } + + if (this.newIndex == null) { + this.newIndex = this.index; + } + + if (onSortOver && this.newIndex !== prevIndex) { + onSortOver({ + newIndex: this.newIndex, + oldIndex: prevIndex, + index: this.index, + collection: this.manager.active.collection, + }); + } + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant_1( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'getContainer', + value: function getContainer() { + var getContainer = this.props.getContainer; + + if (typeof getContainer !== 'function') { + return reactDom.findDOMNode(this); + } + + return getContainer( + config.withRef ? this.getWrappedInstance() : undefined, + ); + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return React.createElement( + WrappedComponent, + _extends_1( + { + ref: ref, + }, + omit( + this.props, + 'contentWindow', + 'useWindowAsScrollContainer', + 'distance', + 'helperClass', + 'hideSortableGhost', + 'transitionDuration', + 'useDragHandle', + 'animateNodes', + 'pressDelay', + 'pressThreshold', + 'shouldCancelStart', + 'updateBeforeSortStart', + 'onSortStart', + 'onSortSwap', + 'onSortMove', + 'onSortEnd', + 'axis', + 'lockAxis', + 'lockOffset', + 'lockToContainerEdges', + 'getContainer', + 'getHelperDimensions', + ), + ), + ); + }, + }, + { + key: 'helperContainer', + get: function get() { + return this.props.helperContainer || this.document.body; + }, + }, + ]); + + return WithSortableContainer; + })(React.Component)), + defineProperty( + _class, + 'displayName', + provideDisplayName('sortableList', WrappedComponent), + ), + defineProperty(_class, 'defaultProps', { + axis: 'y', + transitionDuration: 300, + pressDelay: 0, + pressThreshold: 5, + distance: 0, + useWindowAsScrollContainer: false, + hideSortableGhost: true, + animateNodes: true, + shouldCancelStart: function shouldCancelStart(event) { + var disabledElements = [ + 'input', + 'textarea', + 'select', + 'option', + 'button', + ]; + + if ( + disabledElements.indexOf(event.target.tagName.toLowerCase()) !== -1 + ) { + return true; + } + + return false; + }, + lockToContainerEdges: false, + lockOffset: '50%', + getHelperDimensions: function getHelperDimensions(_ref2) { + var node = _ref2.node; + return { + width: node.offsetWidth, + height: node.offsetHeight, + }; + }, + }), + defineProperty(_class, 'propTypes', { + axis: PropTypes.oneOf(['x', 'y', 'xy']), + distance: PropTypes.number, + dragLayer: PropTypes.object, + lockAxis: PropTypes.string, + helperClass: PropTypes.string, + transitionDuration: PropTypes.number, + contentWindow: PropTypes.any, + updateBeforeSortStart: PropTypes.func, + onSortStart: PropTypes.func, + onSortMove: PropTypes.func, + onSortOver: PropTypes.func, + onSortEnd: PropTypes.func, + onDragEnd: PropTypes.func, + shouldCancelStart: PropTypes.func, + pressDelay: PropTypes.number, + pressThreshold: PropTypes.number, + useDragHandle: PropTypes.bool, + animateNodes: PropTypes.bool, + useWindowAsScrollContainer: PropTypes.bool, + hideSortableGhost: PropTypes.bool, + lockToContainerEdges: PropTypes.bool, + lockOffset: PropTypes.oneOfType([ + PropTypes.number, + PropTypes.string, + PropTypes.arrayOf( + PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + ), + ]), + getContainer: PropTypes.func, + getHelperDimensions: PropTypes.func, + helperContainer: + typeof HTMLElement === 'undefined' + ? PropTypes.any + : PropTypes.instanceOf(HTMLElement), + }), + defineProperty(_class, 'childContextTypes', { + manager: PropTypes.object.isRequired, + }), + _temp + ); + } + + function sortableElement(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + inherits(WithSortableElement, _React$Component); + + function WithSortableElement() { + classCallCheck(this, WithSortableElement); + + return possibleConstructorReturn( + this, + getPrototypeOf(WithSortableElement).apply(this, arguments), + ); + } + + createClass(WithSortableElement, [ + { + key: 'componentDidMount', + value: function componentDidMount() { + var _this$props = this.props, + collection = _this$props.collection, + disabled = _this$props.disabled, + index = _this$props.index; + + if (!disabled) { + this.setDraggable(collection, index); + } + }, + }, + { + key: 'componentWillReceiveProps', + value: function componentWillReceiveProps(nextProps) { + if (this.props.index !== nextProps.index && this.node) { + this.node.sortableInfo.index = nextProps.index; + } + + if (this.props.disabled !== nextProps.disabled) { + var collection = nextProps.collection, + disabled = nextProps.disabled, + index = nextProps.index; + + if (disabled) { + this.removeDraggable(collection); + } else { + this.setDraggable(collection, index); + } + } else if (this.props.collection !== nextProps.collection) { + this.removeDraggable(this.props.collection); + this.setDraggable(nextProps.collection, nextProps.index); + } + }, + }, + { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + var _this$props2 = this.props, + collection = _this$props2.collection, + disabled = _this$props2.disabled; + + if (!disabled) { + this.removeDraggable(collection); + } + }, + }, + { + key: 'setDraggable', + value: function setDraggable(collection, index) { + var node = reactDom.findDOMNode(this); + node.sortableInfo = { + index: index, + collection: collection, + manager: this.context.manager, + }; + this.node = node; + this.ref = { + node: node, + }; + this.context.manager.add(collection, this.ref); + }, + }, + { + key: 'removeDraggable', + value: function removeDraggable(collection) { + this.context.manager.remove(collection, this.ref); + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant_1( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return React.createElement( + WrappedComponent, + _extends_1( + { + ref: ref, + }, + omit(this.props, 'collection', 'disabled', 'index'), + ), + ); + }, + }, + ]); + + return WithSortableElement; + })(React.Component)), + defineProperty( + _class, + 'displayName', + provideDisplayName('sortableElement', WrappedComponent), + ), + defineProperty(_class, 'contextTypes', { + manager: PropTypes.object.isRequired, + }), + defineProperty(_class, 'propTypes', { + index: PropTypes.number.isRequired, + collection: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + disabled: PropTypes.bool, + }), + defineProperty(_class, 'defaultProps', { + collection: 0, + }), + _temp + ); + } + + function sortableHandle(WrappedComponent) { + var _class, _temp; + + var config = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : { + withRef: false, + }; + return ( + (_temp = _class = (function(_React$Component) { + inherits(WithSortableHandle, _React$Component); + + function WithSortableHandle() { + classCallCheck(this, WithSortableHandle); + + return possibleConstructorReturn( + this, + getPrototypeOf(WithSortableHandle).apply(this, arguments), + ); + } + + createClass(WithSortableHandle, [ + { + key: 'componentDidMount', + value: function componentDidMount() { + var node = reactDom.findDOMNode(this); + node.sortableHandle = true; + }, + }, + { + key: 'getWrappedInstance', + value: function getWrappedInstance() { + invariant_1( + config.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call', + ); + return this.refs.wrappedInstance; + }, + }, + { + key: 'render', + value: function render() { + var ref = config.withRef ? 'wrappedInstance' : null; + return React.createElement( + WrappedComponent, + _extends_1( + { + ref: ref, + }, + this.props, + ), + ); + }, + }, + ]); + + return WithSortableHandle; + })(React.Component)), + defineProperty( + _class, + 'displayName', + provideDisplayName('sortableHandle', WrappedComponent), + ), + _temp + ); + } + + exports.DragLayer = DragLayer; + exports.SortableContainer = sortableContainer; + exports.SortableElement = sortableElement; + exports.SortableHandle = sortableHandle; + exports.arrayMove = arrayMove; + exports.sortableContainer = sortableContainer; + exports.sortableElement = sortableElement; + exports.sortableHandle = sortableHandle; + + Object.defineProperty(exports, '__esModule', {value: true}); +}); diff --git a/dist/react-sortable-hoc.umd.min.js b/dist/react-sortable-hoc.umd.min.js new file mode 100644 index 000000000..d69574434 --- /dev/null +++ b/dist/react-sortable-hoc.umd.min.js @@ -0,0 +1,2614 @@ +!(function(t, e) { + 'object' == typeof exports && 'undefined' != typeof module + ? e(exports, require('react'), require('prop-types'), require('react-dom')) + : 'function' == typeof define && define.amd + ? define(['exports', 'react', 'prop-types', 'react-dom'], e) + : e(((t = t || self).SortableHOC = {}), t.React, t.PropTypes, t.ReactDOM); +})(this, function(t, o, i, a) { + 'use strict'; + i = i && i.hasOwnProperty('default') ? i.default : i; + var e = + 'undefined' != typeof window + ? window + : 'undefined' != typeof global + ? global + : 'undefined' != typeof self + ? self + : {}; + function n(t, e) { + return t((e = {exports: {}}), e.exports), e.exports; + } + var s = n(function(t) { + function e() { + return ( + (t.exports = e = + Object.assign || + function(t) { + for (var e = 1; e < arguments.length; e++) { + var n = arguments[e]; + for (var r in n) + Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]); + } + return t; + }), + e.apply(this, arguments) + ); + } + t.exports = e; + }); + var r = function(t) { + if (Array.isArray(t)) return t; + }; + var c = function(t, e) { + var n = [], + r = !0, + o = !1, + i = void 0; + try { + for ( + var a, s = t[Symbol.iterator](); + !(r = (a = s.next()).done) && (n.push(a.value), !e || n.length !== e); + r = !0 + ); + } catch (t) { + (o = !0), (i = t); + } finally { + try { + r || null == s.return || s.return(); + } finally { + if (o) throw i; + } + } + return n; + }; + var l = function() { + throw new TypeError('Invalid attempt to destructure non-iterable instance'); + }; + var p = function(t, e) { + return r(t) || c(t, e) || l(); + }; + var u = function(t) { + if (Array.isArray(t)) { + for (var e = 0, n = new Array(t.length); e < t.length; e++) n[e] = t[e]; + return n; + } + }; + var f = function(t) { + if ( + Symbol.iterator in Object(t) || + '[object Arguments]' === Object.prototype.toString.call(t) + ) + return Array.from(t); + }; + var h = function() { + throw new TypeError('Invalid attempt to spread non-iterable instance'); + }; + var g = function(t) { + return u(t) || f(t) || h(); + }; + var d = function(t, e) { + if (!(t instanceof e)) + throw new TypeError('Cannot call a class as a function'); + }; + function v(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + (r.enumerable = r.enumerable || !1), + (r.configurable = !0), + 'value' in r && (r.writable = !0), + Object.defineProperty(t, r.key, r); + } + } + var y = function(t, e, n) { + return e && v(t.prototype, e), n && v(t, n), t; + }, + b = n(function(e) { + function n(t) { + return (n = + 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator + ? function(t) { + return typeof t; + } + : function(t) { + return t && + 'function' == typeof Symbol && + t.constructor === Symbol && + t !== Symbol.prototype + ? 'symbol' + : typeof t; + })(t); + } + function r(t) { + return ( + 'function' == typeof Symbol && 'symbol' === n(Symbol.iterator) + ? (e.exports = r = function(t) { + return n(t); + }) + : (e.exports = r = function(t) { + return t && + 'function' == typeof Symbol && + t.constructor === Symbol && + t !== Symbol.prototype + ? 'symbol' + : n(t); + }), + r(t) + ); + } + e.exports = r; + }); + var m = function(t) { + if (void 0 === t) + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called", + ); + return t; + }; + var x = function(t, e) { + return !e || ('object' !== b(e) && 'function' != typeof e) ? m(t) : e; + }, + w = n(function(e) { + function n(t) { + return ( + (e.exports = n = Object.setPrototypeOf + ? Object.getPrototypeOf + : function(t) { + return t.__proto__ || Object.getPrototypeOf(t); + }), + n(t) + ); + } + e.exports = n; + }), + _ = n(function(n) { + function r(t, e) { + return ( + (n.exports = r = + Object.setPrototypeOf || + function(t, e) { + return (t.__proto__ = e), t; + }), + r(t, e) + ); + } + n.exports = r; + }); + var O = function(t, e) { + if ('function' != typeof e && null !== e) + throw new TypeError('Super expression must either be null or a function'); + (t.prototype = Object.create(e && e.prototype, { + constructor: {value: t, writable: !0, configurable: !0}, + })), + e && _(t, e); + }; + var S = function(t, e, n) { + return ( + e in t + ? Object.defineProperty(t, e, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (t[e] = n), + t + ); + }, + j = process.env.NODE_ENV, + L = function(t, e, n, r, o, i, a, s) { + if ('production' !== j && void 0 === e) + throw new Error('invariant requires an error message argument'); + if (!t) { + var c; + if (void 0 === e) + c = new Error( + 'Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.', + ); + else { + var l = [n, r, o, i, a, s], + u = 0; + (c = new Error( + e.replace(/%s/g, function() { + return l[u++]; + }), + )).name = 'Invariant Violation'; + } + throw ((c.framesToPop = 1), c); + } + }; + var C = function(t, e, n, r) { + for (var o = t.length, i = n + (r ? 1 : -1); r ? i-- : ++i < o; ) + if (e(t[i], i, t)) return i; + return -1; + }; + var T = function() { + (this.__data__ = []), (this.size = 0); + }; + var E = function(t, e) { + return t === e || (t != t && e != e); + }; + var A = function(t, e) { + for (var n = t.length; n--; ) if (E(t[n][0], e)) return n; + return -1; + }, + k = Array.prototype.splice; + var I = function(t) { + var e = this.__data__, + n = A(e, t); + return !( + n < 0 || (n == e.length - 1 ? e.pop() : k.call(e, n, 1), --this.size, 0) + ); + }; + var D = function(t) { + var e = this.__data__, + n = A(e, t); + return n < 0 ? void 0 : e[n][1]; + }; + var M = function(t) { + return -1 < A(this.__data__, t); + }; + var R = function(t, e) { + var n = this.__data__, + r = A(n, t); + return r < 0 ? (++this.size, n.push([t, e])) : (n[r][1] = e), this; + }; + function P(t) { + var e = -1, + n = null == t ? 0 : t.length; + for (this.clear(); ++e < n; ) { + var r = t[e]; + this.set(r[0], r[1]); + } + } + (P.prototype.clear = T), + (P.prototype.delete = I), + (P.prototype.get = D), + (P.prototype.has = M), + (P.prototype.set = R); + var N = P; + var B = function() { + (this.__data__ = new N()), (this.size = 0); + }; + var W = function(t) { + var e = this.__data__, + n = e.delete(t); + return (this.size = e.size), n; + }; + var z = function(t) { + return this.__data__.get(t); + }; + var F = function(t) { + return this.__data__.has(t); + }, + H = 'object' == typeof e && e && e.Object === Object && e, + G = 'object' == typeof self && self && self.Object === Object && self, + $ = H || G || Function('return this')(), + q = $.Symbol, + U = Object.prototype, + V = U.hasOwnProperty, + X = U.toString, + Y = q ? q.toStringTag : void 0; + var J = function(t) { + var e = V.call(t, Y), + n = t[Y]; + try { + var r = !(t[Y] = void 0); + } catch (t) {} + var o = X.call(t); + return r && (e ? (t[Y] = n) : delete t[Y]), o; + }, + K = Object.prototype.toString; + var Q = function(t) { + return K.call(t); + }, + Z = q ? q.toStringTag : void 0; + var tt = function(t) { + return null == t + ? void 0 === t + ? '[object Undefined]' + : '[object Null]' + : Z && Z in Object(t) + ? J(t) + : Q(t); + }; + var et = function(t) { + var e = typeof t; + return null != t && ('object' == e || 'function' == e); + }; + var nt, + rt = function(t) { + if (!et(t)) return !1; + var e = tt(t); + return ( + '[object Function]' == e || + '[object GeneratorFunction]' == e || + '[object AsyncFunction]' == e || + '[object Proxy]' == e + ); + }, + ot = $['__core-js_shared__'], + it = (nt = /[^.]+$/.exec((ot && ot.keys && ot.keys.IE_PROTO) || '')) + ? 'Symbol(src)_1.' + nt + : ''; + var at = function(t) { + return !!it && it in t; + }, + st = Function.prototype.toString; + var ct = function(t) { + if (null != t) { + try { + return st.call(t); + } catch (t) {} + try { + return t + ''; + } catch (t) {} + } + return ''; + }, + lt = /^\[object .+?Constructor\]$/, + ut = Function.prototype, + ft = Object.prototype, + ht = ut.toString, + dt = ft.hasOwnProperty, + pt = RegExp( + '^' + + ht + .call(dt) + .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&') + .replace( + /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, + '$1.*?', + ) + + '$', + ); + var vt = function(t) { + return !(!et(t) || at(t)) && (rt(t) ? pt : lt).test(ct(t)); + }; + var yt = function(t, e) { + return null == t ? void 0 : t[e]; + }; + var gt = function(t, e) { + var n = yt(t, e); + return vt(n) ? n : void 0; + }, + bt = gt($, 'Map'), + mt = gt(Object, 'create'); + var xt = function() { + (this.__data__ = mt ? mt(null) : {}), (this.size = 0); + }; + var wt = function(t) { + var e = this.has(t) && delete this.__data__[t]; + return (this.size -= e ? 1 : 0), e; + }, + _t = Object.prototype.hasOwnProperty; + var Ot = function(t) { + var e = this.__data__; + if (mt) { + var n = e[t]; + return '__lodash_hash_undefined__' === n ? void 0 : n; + } + return _t.call(e, t) ? e[t] : void 0; + }, + St = Object.prototype.hasOwnProperty; + var jt = function(t) { + var e = this.__data__; + return mt ? void 0 !== e[t] : St.call(e, t); + }; + var Lt = function(t, e) { + var n = this.__data__; + return ( + (this.size += this.has(t) ? 0 : 1), + (n[t] = mt && void 0 === e ? '__lodash_hash_undefined__' : e), + this + ); + }; + function Ct(t) { + var e = -1, + n = null == t ? 0 : t.length; + for (this.clear(); ++e < n; ) { + var r = t[e]; + this.set(r[0], r[1]); + } + } + (Ct.prototype.clear = xt), + (Ct.prototype.delete = wt), + (Ct.prototype.get = Ot), + (Ct.prototype.has = jt), + (Ct.prototype.set = Lt); + var Tt = Ct; + var Et = function(t) { + var e = typeof t; + return 'string' == e || 'number' == e || 'symbol' == e || 'boolean' == e + ? '__proto__' !== t + : null === t; + }; + var At = function(t, e) { + var n = t.__data__; + return Et(e) ? n['string' == typeof e ? 'string' : 'hash'] : n.map; + }; + var kt = function(t) { + var e = At(this, t).delete(t); + return (this.size -= e ? 1 : 0), e; + }; + var It = function(t) { + return At(this, t).get(t); + }; + var Dt = function(t) { + return At(this, t).has(t); + }; + var Mt = function(t, e) { + var n = At(this, t), + r = n.size; + return n.set(t, e), (this.size += n.size == r ? 0 : 1), this; + }; + function Rt(t) { + var e = -1, + n = null == t ? 0 : t.length; + for (this.clear(); ++e < n; ) { + var r = t[e]; + this.set(r[0], r[1]); + } + } + (Rt.prototype.clear = function() { + (this.size = 0), + (this.__data__ = { + hash: new Tt(), + map: new (bt || N)(), + string: new Tt(), + }); + }), + (Rt.prototype.delete = kt), + (Rt.prototype.get = It), + (Rt.prototype.has = Dt), + (Rt.prototype.set = Mt); + var Pt = Rt; + var Nt = function(t, e) { + var n = this.__data__; + if (n instanceof N) { + var r = n.__data__; + if (!bt || r.length < 199) + return r.push([t, e]), (this.size = ++n.size), this; + n = this.__data__ = new Pt(r); + } + return n.set(t, e), (this.size = n.size), this; + }; + function Bt(t) { + var e = (this.__data__ = new N(t)); + this.size = e.size; + } + (Bt.prototype.clear = B), + (Bt.prototype.delete = W), + (Bt.prototype.get = z), + (Bt.prototype.has = F), + (Bt.prototype.set = Nt); + var Wt = Bt; + var zt = function(t) { + return this.__data__.has(t); + }; + function Ft(t) { + var e = -1, + n = null == t ? 0 : t.length; + for (this.__data__ = new Pt(); ++e < n; ) this.add(t[e]); + } + (Ft.prototype.add = Ft.prototype.push = function(t) { + return this.__data__.set(t, '__lodash_hash_undefined__'), this; + }), + (Ft.prototype.has = zt); + var Ht = Ft; + var Gt = function(t, e) { + for (var n = -1, r = null == t ? 0 : t.length; ++n < r; ) + if (e(t[n], n, t)) return !0; + return !1; + }; + var $t = function(t, e) { + return t.has(e); + }; + var qt = function(t, e, n, r, o, i) { + var a = 1 & n, + s = t.length, + c = e.length; + if (s != c && !(a && s < c)) return !1; + var l = i.get(t); + if (l && i.get(e)) return l == e; + var u = -1, + f = !0, + h = 2 & n ? new Ht() : void 0; + for (i.set(t, e), i.set(e, t); ++u < s; ) { + var d = t[u], + p = e[u]; + if (r) var v = a ? r(p, d, u, e, t, i) : r(d, p, u, t, e, i); + if (void 0 !== v) { + if (v) continue; + f = !1; + break; + } + if (h) { + if ( + !Gt(e, function(t, e) { + if (!$t(h, e) && (d === t || o(d, t, n, r, i))) return h.push(e); + }) + ) { + f = !1; + break; + } + } else if (d !== p && !o(d, p, n, r, i)) { + f = !1; + break; + } + } + return i.delete(t), i.delete(e), f; + }, + Ut = $.Uint8Array; + var Vt = function(t) { + var n = -1, + r = Array(t.size); + return ( + t.forEach(function(t, e) { + r[++n] = [e, t]; + }), + r + ); + }; + var Xt = function(t) { + var e = -1, + n = Array(t.size); + return ( + t.forEach(function(t) { + n[++e] = t; + }), + n + ); + }, + Yt = q ? q.prototype : void 0, + Jt = Yt ? Yt.valueOf : void 0; + var Kt = function(t, e, n, r, o, i, a) { + switch (n) { + case '[object DataView]': + if (t.byteLength != e.byteLength || t.byteOffset != e.byteOffset) + return !1; + (t = t.buffer), (e = e.buffer); + case '[object ArrayBuffer]': + return !(t.byteLength != e.byteLength || !i(new Ut(t), new Ut(e))); + case '[object Boolean]': + case '[object Date]': + case '[object Number]': + return E(+t, +e); + case '[object Error]': + return t.name == e.name && t.message == e.message; + case '[object RegExp]': + case '[object String]': + return t == e + ''; + case '[object Map]': + var s = Vt; + case '[object Set]': + var c = 1 & r; + if ((s || (s = Xt), t.size != e.size && !c)) return !1; + var l = a.get(t); + if (l) return l == e; + (r |= 2), a.set(t, e); + var u = qt(s(t), s(e), r, o, i, a); + return a.delete(t), u; + case '[object Symbol]': + if (Jt) return Jt.call(t) == Jt.call(e); + } + return !1; + }; + var Qt = function(t, e) { + for (var n = -1, r = e.length, o = t.length; ++n < r; ) t[o + n] = e[n]; + return t; + }, + Zt = Array.isArray; + var te = function(t, e, n) { + var r = e(t); + return Zt(t) ? r : Qt(r, n(t)); + }; + var ee = function(t, e) { + for (var n = -1, r = null == t ? 0 : t.length, o = 0, i = []; ++n < r; ) { + var a = t[n]; + e(a, n, t) && (i[o++] = a); + } + return i; + }; + var ne = function() { + return []; + }, + re = Object.prototype.propertyIsEnumerable, + oe = Object.getOwnPropertySymbols, + ie = oe + ? function(e) { + return null == e + ? [] + : ((e = Object(e)), + ee(oe(e), function(t) { + return re.call(e, t); + })); + } + : ne; + var ae = function(t, e) { + for (var n = -1, r = Array(t); ++n < t; ) r[n] = e(n); + return r; + }; + var se = function(t) { + return null != t && 'object' == typeof t; + }; + var ce = function(t) { + return se(t) && '[object Arguments]' == tt(t); + }, + le = Object.prototype, + ue = le.hasOwnProperty, + fe = le.propertyIsEnumerable, + he = ce( + (function() { + return arguments; + })(), + ) + ? ce + : function(t) { + return se(t) && ue.call(t, 'callee') && !fe.call(t, 'callee'); + }; + var de = function() { + return !1; + }, + pe = n(function(t, e) { + var n = e && !e.nodeType && e, + r = n && t && !t.nodeType && t, + o = r && r.exports === n ? $.Buffer : void 0, + i = (o ? o.isBuffer : void 0) || de; + t.exports = i; + }), + ve = /^(?:0|[1-9]\d*)$/; + var ye = function(t, e) { + var n = typeof t; + return ( + !!(e = null == e ? 9007199254740991 : e) && + ('number' == n || ('symbol' != n && ve.test(t))) && + -1 < t && + t % 1 == 0 && + t < e + ); + }; + var ge = function(t) { + return ( + 'number' == typeof t && -1 < t && t % 1 == 0 && t <= 9007199254740991 + ); + }, + be = {}; + (be['[object Float32Array]'] = be['[object Float64Array]'] = be[ + '[object Int8Array]' + ] = be['[object Int16Array]'] = be['[object Int32Array]'] = be[ + '[object Uint8Array]' + ] = be['[object Uint8ClampedArray]'] = be['[object Uint16Array]'] = be[ + '[object Uint32Array]' + ] = !0), + (be['[object Arguments]'] = be['[object Array]'] = be[ + '[object ArrayBuffer]' + ] = be['[object Boolean]'] = be['[object DataView]'] = be[ + '[object Date]' + ] = be['[object Error]'] = be['[object Function]'] = be[ + '[object Map]' + ] = be['[object Number]'] = be['[object Object]'] = be[ + '[object RegExp]' + ] = be['[object Set]'] = be['[object String]'] = be[ + '[object WeakMap]' + ] = !1); + var me = function(t) { + return se(t) && ge(t.length) && !!be[tt(t)]; + }; + var xe = function(e) { + return function(t) { + return e(t); + }; + }, + we = n(function(t, e) { + var n = e && !e.nodeType && e, + r = n && t && !t.nodeType && t, + o = r && r.exports === n && H.process, + i = (function() { + try { + var t = r && r.require && r.require('util').types; + return t || (o && o.binding && o.binding('util')); + } catch (t) {} + })(); + t.exports = i; + }), + _e = we && we.isTypedArray, + Oe = _e ? xe(_e) : me, + Se = Object.prototype.hasOwnProperty; + var je = function(t, e) { + var n = Zt(t), + r = !n && he(t), + o = !n && !r && pe(t), + i = !n && !r && !o && Oe(t), + a = n || r || o || i, + s = a ? ae(t.length, String) : [], + c = s.length; + for (var l in t) + (!e && !Se.call(t, l)) || + (a && + ('length' == l || + (o && ('offset' == l || 'parent' == l)) || + (i && + ('buffer' == l || 'byteLength' == l || 'byteOffset' == l)) || + ye(l, c))) || + s.push(l); + return s; + }, + Le = Object.prototype; + var Ce = function(t) { + var e = t && t.constructor; + return t === (('function' == typeof e && e.prototype) || Le); + }; + var Te = function(e, n) { + return function(t) { + return e(n(t)); + }; + }, + Ee = Te(Object.keys, Object), + Ae = Object.prototype.hasOwnProperty; + var ke = function(t) { + if (!Ce(t)) return Ee(t); + var e = []; + for (var n in Object(t)) Ae.call(t, n) && 'constructor' != n && e.push(n); + return e; + }; + var Ie = function(t) { + return null != t && ge(t.length) && !rt(t); + }; + var De = function(t) { + return Ie(t) ? je(t) : ke(t); + }; + var Me = function(t) { + return te(t, De, ie); + }, + Re = Object.prototype.hasOwnProperty; + var Pe = function(t, e, n, r, o, i) { + var a = 1 & n, + s = Me(t), + c = s.length; + if (c != Me(e).length && !a) return !1; + for (var l = c; l--; ) { + var u = s[l]; + if (!(a ? u in e : Re.call(e, u))) return !1; + } + var f = i.get(t); + if (f && i.get(e)) return f == e; + var h = !0; + i.set(t, e), i.set(e, t); + for (var d = a; ++l < c; ) { + var p = t[(u = s[l])], + v = e[u]; + if (r) var y = a ? r(v, p, u, e, t, i) : r(p, v, u, t, e, i); + if (!(void 0 === y ? p === v || o(p, v, n, r, i) : y)) { + h = !1; + break; + } + d || (d = 'constructor' == u); + } + if (h && !d) { + var g = t.constructor, + b = e.constructor; + g != b && + 'constructor' in t && + 'constructor' in e && + !( + 'function' == typeof g && + g instanceof g && + 'function' == typeof b && + b instanceof b + ) && + (h = !1); + } + return i.delete(t), i.delete(e), h; + }, + Ne = gt($, 'DataView'), + Be = gt($, 'Promise'), + We = gt($, 'Set'), + ze = gt($, 'WeakMap'), + Fe = '[object Map]', + He = '[object Promise]', + Ge = '[object Set]', + $e = '[object WeakMap]', + qe = '[object DataView]', + Ue = ct(Ne), + Ve = ct(bt), + Xe = ct(Be), + Ye = ct(We), + Je = ct(ze), + Ke = tt; + ((Ne && Ke(new Ne(new ArrayBuffer(1))) != qe) || + (bt && Ke(new bt()) != Fe) || + (Be && Ke(Be.resolve()) != He) || + (We && Ke(new We()) != Ge) || + (ze && Ke(new ze()) != $e)) && + (Ke = function(t) { + var e = tt(t), + n = '[object Object]' == e ? t.constructor : void 0, + r = n ? ct(n) : ''; + if (r) + switch (r) { + case Ue: + return qe; + case Ve: + return Fe; + case Xe: + return He; + case Ye: + return Ge; + case Je: + return $e; + } + return e; + }); + var Qe = Ke, + Ze = '[object Arguments]', + tn = '[object Array]', + en = '[object Object]', + nn = Object.prototype.hasOwnProperty; + var rn = function(t, e, n, r, o, i) { + var a = Zt(t), + s = Zt(e), + c = a ? tn : Qe(t), + l = s ? tn : Qe(e), + u = (c = c == Ze ? en : c) == en, + f = (l = l == Ze ? en : l) == en, + h = c == l; + if (h && pe(t)) { + if (!pe(e)) return !1; + u = !(a = !0); + } + if (h && !u) + return ( + i || (i = new Wt()), + a || Oe(t) ? qt(t, e, n, r, o, i) : Kt(t, e, c, n, r, o, i) + ); + if (!(1 & n)) { + var d = u && nn.call(t, '__wrapped__'), + p = f && nn.call(e, '__wrapped__'); + if (d || p) { + var v = d ? t.value() : t, + y = p ? e.value() : e; + return i || (i = new Wt()), o(v, y, n, r, i); + } + } + return h && (i || (i = new Wt()), Pe(t, e, n, r, o, i)); + }; + var on = function t(e, n, r, o, i) { + return ( + e === n || + (null == e || null == n || (!se(e) && !se(n)) + ? e != e && n != n + : rn(e, n, r, o, t, i)) + ); + }; + var an = function(t, e, n, r) { + var o = n.length, + i = o, + a = !r; + if (null == t) return !i; + for (t = Object(t); o--; ) { + var s = n[o]; + if (a && s[2] ? s[1] !== t[s[0]] : !(s[0] in t)) return !1; + } + for (; ++o < i; ) { + var c = (s = n[o])[0], + l = t[c], + u = s[1]; + if (a && s[2]) { + if (void 0 === l && !(c in t)) return !1; + } else { + var f = new Wt(); + if (r) var h = r(l, u, c, t, e, f); + if (!(void 0 === h ? on(u, l, 3, r, f) : h)) return !1; + } + } + return !0; + }; + var sn = function(t) { + return t == t && !et(t); + }; + var cn = function(t) { + for (var e = De(t), n = e.length; n--; ) { + var r = e[n], + o = t[r]; + e[n] = [r, o, sn(o)]; + } + return e; + }; + var ln = function(e, n) { + return function(t) { + return null != t && t[e] === n && (void 0 !== n || e in Object(t)); + }; + }; + var un = function(e) { + var n = cn(e); + return 1 == n.length && n[0][2] + ? ln(n[0][0], n[0][1]) + : function(t) { + return t === e || an(t, e, n); + }; + }; + var fn = function(t) { + return 'symbol' == typeof t || (se(t) && '[object Symbol]' == tt(t)); + }, + hn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, + dn = /^\w*$/; + var pn = function(t, e) { + if (Zt(t)) return !1; + var n = typeof t; + return ( + !( + 'number' != n && + 'symbol' != n && + 'boolean' != n && + null != t && + !fn(t) + ) || + dn.test(t) || + !hn.test(t) || + (null != e && t in Object(e)) + ); + }, + vn = 'Expected a function'; + function yn(o, i) { + if ('function' != typeof o || (null != i && 'function' != typeof i)) + throw new TypeError(vn); + var a = function() { + var t = arguments, + e = i ? i.apply(this, t) : t[0], + n = a.cache; + if (n.has(e)) return n.get(e); + var r = o.apply(this, t); + return (a.cache = n.set(e, r) || n), r; + }; + return (a.cache = new (yn.Cache || Pt)()), a; + } + yn.Cache = Pt; + var gn = yn; + var bn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, + mn = /\\(\\)?/g, + xn = (function(t) { + var e = gn(t, function(t) { + return 500 === n.size && n.clear(), t; + }), + n = e.cache; + return e; + })(function(t) { + var o = []; + return ( + 46 === t.charCodeAt(0) && o.push(''), + t.replace(bn, function(t, e, n, r) { + o.push(n ? r.replace(mn, '$1') : e || t); + }), + o + ); + }); + var wn = function(t, e) { + for (var n = -1, r = null == t ? 0 : t.length, o = Array(r); ++n < r; ) + o[n] = e(t[n], n, t); + return o; + }, + _n = 1 / 0, + On = q ? q.prototype : void 0, + Sn = On ? On.toString : void 0; + var jn = function t(e) { + if ('string' == typeof e) return e; + if (Zt(e)) return wn(e, t) + ''; + if (fn(e)) return Sn ? Sn.call(e) : ''; + var n = e + ''; + return '0' == n && 1 / e == -_n ? '-0' : n; + }; + var Ln = function(t) { + return null == t ? '' : jn(t); + }; + var Cn = function(t, e) { + return Zt(t) ? t : pn(t, e) ? [t] : xn(Ln(t)); + }; + var Tn = function(t) { + if ('string' == typeof t || fn(t)) return t; + var e = t + ''; + return '0' == e && 1 / t == -1 / 0 ? '-0' : e; + }; + var En = function(t, e) { + for (var n = 0, r = (e = Cn(e, t)).length; null != t && n < r; ) + t = t[Tn(e[n++])]; + return n && n == r ? t : void 0; + }; + var An = function(t, e, n) { + var r = null == t ? void 0 : En(t, e); + return void 0 === r ? n : r; + }; + var kn = function(t, e) { + return null != t && e in Object(t); + }; + var In = function(t, e, n) { + for (var r = -1, o = (e = Cn(e, t)).length, i = !1; ++r < o; ) { + var a = Tn(e[r]); + if (!(i = null != t && n(t, a))) break; + t = t[a]; + } + return i || ++r != o + ? i + : !!(o = null == t ? 0 : t.length) && + ge(o) && + ye(a, o) && + (Zt(t) || he(t)); + }; + var Dn = function(t, e) { + return null != t && In(t, e, kn); + }; + var Mn = function(n, r) { + return pn(n) && sn(r) + ? ln(Tn(n), r) + : function(t) { + var e = An(t, n); + return void 0 === e && e === r ? Dn(t, n) : on(r, e, 3); + }; + }; + var Rn = function(t) { + return t; + }; + var Pn = function(e) { + return function(t) { + return null == t ? void 0 : t[e]; + }; + }; + var Nn = function(e) { + return function(t) { + return En(t, e); + }; + }; + var Bn = function(t) { + return pn(t) ? Pn(Tn(t)) : Nn(t); + }; + var Wn = function(t) { + return 'function' == typeof t + ? t + : null == t + ? Rn + : 'object' == typeof t + ? Zt(t) + ? Mn(t[0], t[1]) + : un(t) + : Bn(t); + }, + zn = /^\s+|\s+$/g, + Fn = /^[-+]0x[0-9a-f]+$/i, + Hn = /^0b[01]+$/i, + Gn = /^0o[0-7]+$/i, + $n = parseInt; + var qn = function(t) { + if ('number' == typeof t) return t; + if (fn(t)) return NaN; + if (et(t)) { + var e = 'function' == typeof t.valueOf ? t.valueOf() : t; + t = et(e) ? e + '' : e; + } + if ('string' != typeof t) return 0 === t ? t : +t; + t = t.replace(zn, ''); + var n = Hn.test(t); + return n || Gn.test(t) ? $n(t.slice(2), n ? 2 : 8) : Fn.test(t) ? NaN : +t; + }; + var Un = function(t) { + return t + ? (t = qn(t)) !== 1 / 0 && t !== -1 / 0 + ? t == t + ? t + : 0 + : 17976931348623157e292 * (t < 0 ? -1 : 1) + : 0 === t + ? t + : 0; + }; + var Vn = function(t) { + var e = Un(t), + n = e % 1; + return e == e ? (n ? e - n : e) : 0; + }, + Xn = Math.max; + var Yn = function(t, e, n) { + var r = null == t ? 0 : t.length; + if (!r) return -1; + var o = null == n ? 0 : Vn(n); + return o < 0 && (o = Xn(r + o, 0)), C(t, Wn(e, 3), o); + }, + Jn = Te(Object.getPrototypeOf, Object), + Kn = Function.prototype, + Qn = Object.prototype, + Zn = Kn.toString, + tr = Qn.hasOwnProperty, + er = Zn.call(Object); + var nr = function(t) { + if (!se(t) || '[object Object]' != tt(t)) return !1; + var e = Jn(t); + if (null === e) return !0; + var n = tr.call(e, 'constructor') && e.constructor; + return 'function' == typeof n && n instanceof n && Zn.call(n) == er; + }; + var rr = function(e) { + for (var t = 1; t < arguments.length; t++) { + var n = null != arguments[t] ? arguments[t] : {}, + r = Object.keys(n); + 'function' == typeof Object.getOwnPropertySymbols && + (r = r.concat( + Object.getOwnPropertySymbols(n).filter(function(t) { + return Object.getOwnPropertyDescriptor(n, t).enumerable; + }), + )), + r.forEach(function(t) { + S(e, t, n[t]); + }); + } + return e; + }; + function or(n) { + for ( + var t = arguments.length, r = new Array(1 < t ? t - 1 : 0), e = 1; + e < t; + e++ + ) + r[e - 1] = arguments[e]; + return Object.keys(n).reduce(function(t, e) { + return -1 === r.indexOf(e) && (t[e] = n[e]), t; + }, {}); + } + var ir = { + start: ['touchstart', 'mousedown'], + move: ['touchmove', 'mousemove'], + end: ['touchend', 'touchcancel', 'mouseup'], + }, + ar = (function() { + if ('undefined' == typeof window || 'undefined' == typeof document) + return ''; + var t = window.getComputedStyle(document.documentElement, '') || [ + '-moz-hidden-iframe', + ], + e = (Array.prototype.slice + .call(t) + .join('') + .match(/-(moz|webkit|ms)-/) || + ('' === t.OLink && ['', 'o']))[1]; + switch (e) { + case 'ms': + return 'ms'; + default: + return e && e.length ? e[0].toUpperCase() + e.substr(1) : ''; + } + })(); + function sr(t, e) { + for (; t; ) { + if (e(t)) return t; + t = t.parentNode; + } + return null; + } + function cr(t, e, n) { + return Math.max(t, Math.min(n, e)); + } + function lr(t) { + return 'px' === t.substr(-2) ? parseFloat(t) : 0; + } + function ur(t, e) { + var n = e.displayName || e.name; + return n ? ''.concat(t, '(').concat(n, ')') : t; + } + function fr(t) { + return t.touches && t.touches.length + ? {x: t.touches[0].pageX, y: t.touches[0].pageY} + : t.changedTouches && t.changedTouches.length + ? {x: t.changedTouches[0].pageX, y: t.changedTouches[0].pageY} + : {x: t.pageX, y: t.pageY}; + } + function hr(t, e) { + var n = + 2 < arguments.length && void 0 !== arguments[2] + ? arguments[2] + : {top: 0, left: 0}; + if (t) { + var r = {top: n.top + t.offsetTop, left: n.left + t.offsetLeft}; + return t.parentNode === e ? r : hr(t.parentNode, e, r); + } + } + function dr(t) { + var e = t.lockOffset, + n = t.width, + r = t.height, + o = e, + i = e, + a = 'px'; + if ('string' == typeof e) { + var s = /^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e); + L( + null !== s, + 'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s', + e, + ), + (o = parseFloat(e)), + (i = parseFloat(e)), + (a = s[1]); + } + return ( + L( + isFinite(o) && isFinite(i), + 'lockOffset value should be a finite. Given %s', + e, + ), + '%' === a && ((o = (o * n) / 100), (i = (i * r) / 100)), + {x: o, y: i} + ); + } + var pr = 'CANVAS'; + function vr(e, n, t) { + var r = t.map(function(t) { + return (function(t, e, n) { + var r = window.pageXOffset, + o = window.pageYOffset, + i = n.left + r, + a = n.right + r, + s = n.top + o, + c = n.bottom + o, + l = t - cr(i, a, t), + u = e - cr(s, c, e); + return Math.sqrt(l * l + u * u); + })(e, n, t.getBoundingClientRect()); + }); + return r.indexOf(Math.min.apply(Math, g(r))); + } + var yr = (function() { + function t() { + var e = this; + d(this, t), + S(this, 'helper', null), + S(this, 'lists', []), + S(this, 'handleSortMove', function(t) { + t.preventDefault(), + e.updatePosition(t), + e.updateTargetContainer(t), + e.targetList && e.targetList.handleSortMove(t); + }), + S(this, 'handleSortEnd', function(t) { + e.listenerNode && + (ir.move.forEach(function(t) { + return e.listenerNode.removeEventListener(t, e.handleSortMove); + }), + ir.end.forEach(function(t) { + return e.listenerNode.removeEventListener(t, e.handleSortEnd); + })), + 'function' == typeof e.onDragEnd && e.onDragEnd(), + e.helper && + (e.helper.parentNode.removeChild(e.helper), + (e.helper = null), + e.targetList.handleSortEnd(t)), + e.lists.forEach(function(t) { + delete t.initialWindowScroll; + }); + }); + } + return ( + y(t, [ + { + key: 'addRef', + value: function(t) { + this.lists.push(t); + }, + }, + { + key: 'removeRef', + value: function(t) { + var e = this.lists.indexOf(t); + -1 !== e && this.lists.splice(e, 1); + }, + }, + { + key: 'setTranslateBoundaries', + value: function(t, e) { + var n = e.props.useWindowAsScrollContainer; + (this.minTranslate = {}), + (this.maxTranslate = {}), + this.axis.x && + ((this.minTranslate.x = + (n ? 0 : t.left) - + this.boundingClientRect.left - + this.width / 2), + (this.maxTranslate.x = + (n ? e.contentWindow.innerWidth : t.left + t.width) - + this.boundingClientRect.left - + this.width / 2)), + this.axis.y && + ((this.minTranslate.y = + (n ? 0 : t.top) - + this.boundingClientRect.top - + this.height / 2), + (this.maxTranslate.y = + (n ? e.contentWindow.innerHeight : t.top + t.height) - + this.boundingClientRect.top - + this.height / 2)); + }, + }, + { + key: 'startDrag', + value: function(t, e, n) { + var r = this, + o = fr(n), + i = e.manager.getActive(); + if (i) { + var a = e.props, + s = a.axis, + c = a.getHelperDimensions, + l = i.node, + u = i.collection, + f = l.sortableInfo.index, + h = (function(t) { + var e = window.getComputedStyle(t); + return { + top: lr(e.marginTop), + right: lr(e.marginRight), + bottom: lr(e.marginBottom), + left: lr(e.marginLeft), + }; + })(l), + d = e.container.getBoundingClientRect(), + p = c({index: f, node: l, collection: u}); + (this.width = p.width), + (this.height = p.height), + (this.marginOffset = { + x: h.left + h.right, + y: Math.max(h.top, h.bottom), + }), + (this.boundingClientRect = l.getBoundingClientRect()), + (this.containerBoundingRect = d), + (this.targetList = e), + (this.axis = { + x: 0 <= s.indexOf('x'), + y: 0 <= s.indexOf('y'), + }), + (this.offsetEdge = hr(l, e.container)), + (this.initialOffset = o), + (this.distanceBetweenContainers = {x: 0, y: 0}); + var v = l.querySelectorAll('input, textarea, select, canvas'), + y = l.cloneNode(!0); + return ( + g( + y.querySelectorAll('input, textarea, select, canvas'), + ).forEach(function(t, e) { + ('file' !== t.type && v[f] && (t.value = v[e].value), + t.tagName === pr) && + t.getContext('2d').drawImage(v[f], 0, 0); + }), + (this.helper = t.appendChild(y)), + (this.helper.style.position = 'fixed'), + (this.helper.style.top = ''.concat( + this.boundingClientRect.top - h.top, + 'px', + )), + (this.helper.style.left = ''.concat( + this.boundingClientRect.left - h.left, + 'px', + )), + (this.helper.style.width = ''.concat(this.width, 'px')), + (this.helper.style.height = ''.concat(this.height, 'px')), + (this.helper.style.boxSizing = 'border-box'), + (this.helper.style.pointerEvents = 'none'), + this.setTranslateBoundaries(d, e), + (this.listenerNode = n.touches ? l : e.contentWindow), + ir.move.forEach(function(t) { + return r.listenerNode.addEventListener( + t, + r.handleSortMove, + !1, + ); + }), + ir.end.forEach(function(t) { + return r.listenerNode.addEventListener( + t, + r.handleSortEnd, + !1, + ); + }), + i + ); + } + return !1; + }, + }, + { + key: 'stopDrag', + value: function() { + this.handleSortEnd(); + }, + }, + { + key: 'updatePosition', + value: function(t) { + var e = this.targetList.props, + n = e.lockAxis, + r = e.lockToContainerEdges, + o = fr(t), + i = { + x: o.x - this.initialOffset.x, + y: o.y - this.initialOffset.y, + }; + if ( + ((i.y -= + window.pageYOffset - this.targetList.initialWindowScroll.top), + (i.x -= + window.pageXOffset - + this.targetList.initialWindowScroll.left), + (this.translate = i), + (this.delta = o), + r) + ) { + var a = this.targetList.getLockPixelOffsets(), + s = p(a, 2), + c = s[0], + l = s[1], + u = this.width / 2 - c.x, + f = this.height / 2 - c.y, + h = this.width / 2 - l.x, + d = this.height / 2 - l.y; + (i.x = cr( + this.minTranslate.x + u, + this.maxTranslate.x - h, + i.x, + )), + (i.y = cr( + this.minTranslate.y + f, + this.maxTranslate.y - d, + i.y, + )); + } + 'x' === n ? (i.y = 0) : 'y' === n && (i.x = 0), + (this.helper.style[ + ''.concat(ar, 'Transform') + ] = 'translate3d('.concat(i.x, 'px,').concat(i.y, 'px, 0)')); + }, + }, + { + key: 'updateTargetContainer', + value: function(t) { + var e = this.delta, + n = e.x, + r = e.y, + o = this.targetList, + i = this.lists[ + vr( + n, + r, + this.lists.map(function(t) { + return t.container; + }), + ) + ], + a = this.targetList.manager.active.item; + if (((this.active = a), i !== o)) { + this.targetList = i; + var s = o.initialWindowScroll, + c = o.container.getBoundingClientRect(), + l = i.container.getBoundingClientRect(); + o.handleSortEnd(t, i), + this.setTranslateBoundaries( + i.container.getBoundingClientRect(), + i, + ), + (this.targetList.manager.active = rr( + {}, + i.getClosestNode(t), + {item: a}, + )), + i.handlePress(t), + (this.targetList.initialWindowScroll = s), + (this.distanceBetweenContainers = (function(t, e, n) { + var r = t.x, + o = t.y, + i = function(t, e) { + return {x: t.left - e.left, y: t.top - e.top}; + }.apply( + void 0, + g( + [e, n].map(function(t) { + return t.container.getBoundingClientRect(); + }), + ), + ), + a = + n.scrollContainer.scrollLeft - + e.scrollContainer.scrollLeft, + s = + n.scrollContainer.scrollTop - + e.scrollContainer.scrollTop; + return {x: r + i.x + a, y: o + i.y + s}; + })(this.distanceBetweenContainers, i, o)); + var u = i.container.getBoundingClientRect(); + if (u.top < c.top) { + var f = Math.abs(l.height - u.height); + this.distanceBetweenContainers.y += f; + } + } + }, + }, + ]), + t + ); + })(), + gr = (function() { + function t() { + d(this, t), S(this, 'refs', {}); + } + return ( + y(t, [ + { + key: 'add', + value: function(t, e) { + this.refs[t] || (this.refs[t] = []), this.refs[t].push(e); + }, + }, + { + key: 'remove', + value: function(t, e) { + var n = this.getIndex(t, e); + -1 !== n && this.refs[t].splice(n, 1); + }, + }, + { + key: 'isActive', + value: function() { + return this.active; + }, + }, + { + key: 'getActive', + value: function() { + var e = this; + if (!this.active) return null; + var t = this.refs[this.active.collection]; + return t + ? t.find(function(t) { + return t.node.sortableInfo.index == e.active.index; + }) || t.slice(-1).pop() + : null; + }, + }, + { + key: 'getIndex', + value: function(t, e) { + return this.refs[t].indexOf(e); + }, + }, + { + key: 'getOrderedRefs', + value: function() { + var t = + 0 < arguments.length && void 0 !== arguments[0] + ? arguments[0] + : this.active.collection; + return this.refs[t].sort(br); + }, + }, + ]), + t + ); + })(); + function br(t, e) { + return t.node.sortableInfo.index - e.node.sortableInfo.index; + } + function mr(n) { + var t, + e, + r = + 1 < arguments.length && void 0 !== arguments[1] + ? arguments[1] + : {withRef: !1}; + return ( + (e = t = (function(t) { + function e(t) { + var p; + return ( + d(this, e), + (p = x(this, w(e).call(this, t))), + S(m(p), 'checkActiveIndex', function(t) { + var e = (t || p.props).items, + n = p.manager.active.item, + r = nr(n) + ? Yn(e, function(t) { + return t.id === n.id; + }) + : Yn(e, n); + -1 !== r + ? ((p.manager.active.index = r), (p.index = r)) + : p.dragLayer.stopDrag(); + }), + S(m(p), 'handleStart', function(t) { + var e = p.props, + n = e.distance, + r = e.shouldCancelStart, + o = e.items; + if (2 !== t.button && !r(t)) { + (p._touched = !0), (p._pos = fr(t)); + var i = sr(t.target, function(t) { + return null != t.sortableInfo; + }); + if (i && i.sortableInfo && p.nodeIsChild(i) && !p.sorting) { + var a = p.props.useDragHandle, + s = i.sortableInfo, + c = s.index, + l = s.collection; + if ( + a && + !sr(t.target, function(t) { + return null != t.sortableHandle; + }) + ) + return; + (p.manager.active = {index: c, collection: l, item: o[c]}), + (function(t) { + return ( + (t.touches && t.touches.length) || + (t.changedTouches && t.changedTouches.length) + ); + })(t) || + 'a' !== t.target.tagName.toLowerCase() || + t.preventDefault(), + n || + (0 === p.props.pressDelay + ? p.handlePress(t) + : (p.pressTimer = setTimeout(function() { + return p.handlePress(t); + }, p.props.pressDelay))); + } + } + }), + S(m(p), 'nodeIsChild', function(t) { + return t.sortableInfo.manager === p.manager; + }), + S(m(p), 'handleMove', function(t) { + var e = p.props, + n = e.distance, + r = e.pressThreshold; + if ( + !p.sorting && + p._touched && + !p._awaitingUpdateBeforeSortStart + ) { + var o = fr(t), + i = {x: p._pos.x - o.x, y: p._pos.y - o.y}, + a = Math.abs(i.x) + Math.abs(i.y); + (p.delta = i), + n || (r && !(r && r <= a)) + ? n && n <= a && p.manager.isActive() && p.handlePress(t) + : (clearTimeout(p.cancelTimer), + (p.cancelTimer = setTimeout(p.cancel, 0))); + } + }), + S(m(p), 'handleEnd', function() { + (p._touched = !1), p.cancel(); + }), + S(m(p), 'cancel', function() { + var t = p.props.distance; + p.sorting || + (t || clearTimeout(p.pressTimer), (p.manager.active = null)); + }), + S(m(p), 'handlePress', function(h) { + try { + var d = null; + p.dragLayer.helper + ? p.manager.active && + (p.checkActiveIndex(), (d = p.manager.getActive())) + : (d = p.dragLayer.startDrag(p.document.body, m(p), h)); + var t = (function() { + if (d) { + var t = function() { + var t; + ((p.index = u), + (p.newIndex = u), + (p.axis = { + x: 0 <= n.indexOf('x'), + y: 0 <= n.indexOf('y'), + }), + (p.initialScroll = { + top: p.container.scrollTop, + left: p.container.scrollLeft, + }), + (p.initialWindowScroll = { + top: window.pageYOffset, + left: window.pageXOffset, + }), + o && + (((p.sortableGhost = c).style.visibility = 'hidden'), + (c.style.opacity = 0)), + r) && + (t = p.dragLayer.helper.classList).add.apply( + t, + g(r.split(' ')), + ); + (p.sorting = !0), + (p.sortingIndex = u), + a && a({node: c, index: u, collection: l}, h); + }, + e = p.props, + n = e.axis, + r = e.helperClass, + o = e.hideSortableGhost, + i = e.updateBeforeSortStart, + a = e.onSortStart, + s = d, + c = s.node, + l = s.collection, + u = c.sortableInfo.index, + f = (function() { + if ('function' == typeof i) { + p._awaitingUpdateBeforeSortStart = !0; + var t = (function(t, e) { + try { + var n = t(); + } catch (t) { + return e(!0, t); + } + return n && n.then + ? n.then(e.bind(null, !1), e.bind(null, !0)) + : e(!1, value); + })( + function() { + return Promise.resolve( + i({node: c, index: u, collection: l}, h), + ).then(function() {}); + }, + function(t, e) { + if (((p._awaitingUpdateBeforeSortStart = !1), t)) + throw e; + return e; + }, + ); + if (t && t.then) return t.then(function() {}); + } + })(); + return f && f.then ? f.then(t) : t(); + } + })(); + return Promise.resolve( + t && t.then ? t.then(function() {}) : void 0, + ); + } catch (t) { + return Promise.reject(t); + } + }), + S(m(p), '_handleSortMove', function(t) { + p.checkActive(t) && (p.animateNodes(), p.autoscroll()), + window.requestAnimationFrame + ? (p.sortMoveAF = null) + : setTimeout(function() { + p.sortMoveAF = null; + }, 1e3 / 60); + }), + S(m(p), 'handleSortMove', function(t) { + var e = p.props.onSortMove; + t.preventDefault(), + p.sortMoveAF || + (window.requestAnimationFrame + ? (p.sortMoveAF = window.requestAnimationFrame( + p._handleSortMove, + )) + : ((p.sortMoveAF = !0), p._handleSortMove()), + e && e(t)); + }), + S(m(p), 'handleSortEnd', function(t) { + var e = + 1 < arguments.length && void 0 !== arguments[1] + ? arguments[1] + : null, + n = p.props, + r = n.hideSortableGhost, + o = n.onSortEnd; + if (p.manager.active) { + var i = p.manager.active.collection; + window.cancelAnimationFrame && + p.sortMoveAF && + (window.cancelAnimationFrame(p.sortMoveAF), + (p.sortMoveAF = null)), + r && + p.sortableGhost && + ((p.sortableGhost.style.visibility = ''), + (p.sortableGhost.style.opacity = '')); + for ( + var a = p.manager.refs[i], s = 0, c = a.length; + s < c; + s++ + ) { + var l = a[s], + u = l.node; + (l.edgeOffset = null), + (u.style[''.concat(ar, 'Transform')] = ''), + (u.style[''.concat(ar, 'TransitionDuration')] = ''); + } + clearInterval(p.autoscrollInterval), + (p.autoscrollInterval = null), + (p.manager.active = null), + (p.sorting = !1), + (p.sortingIndex = null), + 'function' == typeof o && + (e && (p.newIndex = e.getClosestNode(t).index), + o( + { + oldIndex: p.index, + newIndex: p.newIndex, + newList: e, + collection: i, + }, + t, + )), + (p._touched = !1); + } + }), + S(m(p), 'handleSortSwap', function(t, e) { + var n = p.props.onSortSwap; + 'function' == typeof n && n({index: t, item: e}); + }), + S(m(p), 'getClosestNode', function(t) { + var n = fr(t), + r = [], + o = []; + Object.keys(p.manager.refs).forEach(function(t) { + var e = p.manager.refs[t].map(function(t) { + return t.node; + }); + e && 0 < e.length && (r.push(e[vr(n.x, n.y, e)]), o.push(t)); + }); + var e = vr(n.x, n.y, r), + i = o[e]; + if (void 0 === i) return {collection: i, index: 0}; + var a = p.manager.refs[i] + .map(function(t) { + return t.node; + }) + .indexOf(r[e]), + s = r[e].getBoundingClientRect(); + return {collection: i, index: a + (n.y > s.bottom ? 1 : 0)}; + }), + S(m(p), 'checkActive', function(t) { + if (p.manager.active) return !0; + var e = sr(t.target, function(t) { + return null != t.sortableInfo; + }); + if (e && e.sortableInfo) { + var n = fr(t), + r = e.sortableInfo.collection, + o = p.manager.refs[r].map(function(t) { + return t.node; + }); + if (o) { + var i = vr(n.x, n.y, o); + (p.manager.active = { + index: i, + collection: r, + item: p.props.items[i], + }), + p.handlePress(t); + } + } + return !1; + }), + S(m(p), 'autoscroll', function() { + var t = p.dragLayer.translate, + n = {x: 0, y: 0}, + r = {x: 1, y: 1}, + e = 10, + o = 10; + t.y >= p.dragLayer.maxTranslate.y - p.dragLayer.height / 2 + ? ((n.y = 1), + (r.y = + o * + Math.abs( + (p.dragLayer.maxTranslate.y - + p.dragLayer.height / 2 - + t.y) / + p.dragLayer.height, + ))) + : t.x >= p.dragLayer.maxTranslate.x - p.dragLayer.width / 2 + ? ((n.x = 1), + (r.x = + e * + Math.abs( + (p.dragLayer.maxTranslate.x - + p.dragLayer.width / 2 - + t.x) / + p.dragLayer.width, + ))) + : t.y <= p.dragLayer.minTranslate.y + p.dragLayer.height / 2 + ? ((n.y = -1), + (r.y = + o * + Math.abs( + (t.y - + p.dragLayer.height / 2 - + p.dragLayer.minTranslate.y) / + p.dragLayer.height, + ))) + : t.x <= p.dragLayer.minTranslate.x + p.dragLayer.width / 2 && + ((n.x = -1), + (r.x = + e * + Math.abs( + (t.x - + p.dragLayer.width / 2 - + p.dragLayer.minTranslate.x) / + p.dragLayer.width, + ))), + p.autoscrollInterval && + (clearInterval(p.autoscrollInterval), + (p.autoscrollInterval = null), + (p.isAutoScrolling = !1)), + (0 === n.x && 0 === n.y) || + (p.autoscrollInterval = setInterval(function() { + p.isAutoScrolling = !0; + var t = r.x * n.x, + e = r.y * n.y; + (p.scrollContainer.scrollTop += e), + (p.scrollContainer.scrollLeft += t), + p.animateNodes(); + }, 5)); + }), + (p.dragLayer = t.dragLayer || new yr()), + p.dragLayer.addRef(m(p)), + (p.dragLayer.onDragEnd = t.onDragEnd), + (p.manager = new gr()), + (p.events = { + start: p.handleStart, + move: p.handleMove, + end: p.handleEnd, + }), + L( + !(t.distance && t.pressDelay), + 'Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.', + ), + (p.state = {}), + (p.sorting = !1), + p + ); + } + return ( + O(e, t), + y(e, [ + { + key: 'getChildContext', + value: function() { + return {manager: this.manager}; + }, + }, + { + key: 'componentDidMount', + value: function() { + var o = this, + i = this.props.useWindowAsScrollContainer, + t = this.getContainer(); + Promise.resolve(t).then(function(t) { + (o.container = t), + (o.document = o.container.ownerDocument || document); + var e = + o.props.contentWindow || o.document.defaultView || window; + (o.contentWindow = 'function' == typeof e ? e() : e), + (o.scrollContainer = i + ? o.document.scrollingElement || + o.document.documentElement + : o.container), + (o.initialScroll = { + top: o.scrollContainer.scrollTop, + left: o.scrollContainer.scrollLeft, + }); + var n = function(e) { + o.events.hasOwnProperty(e) && + ir[e].forEach(function(t) { + return o.container.addEventListener(t, o.events[e], !1); + }); + }; + for (var r in o.events) n(r); + }); + }, + }, + { + key: 'componentWillUnmount', + value: function() { + var n = this; + if ((this.dragLayer.removeRef(this), this.container)) { + var t = function(e) { + n.events.hasOwnProperty(e) && + ir[e].forEach(function(t) { + return n.container.removeEventListener(t, n.events[e]); + }); + }; + for (var e in this.events) t(e); + } + }, + }, + { + key: 'componentWillReceiveProps', + value: function(t) { + this.manager.active && this.checkActiveIndex(t); + }, + }, + { + key: 'getLockPixelOffsets', + value: function() { + var t = this.dragLayer, + e = t.width, + n = t.height, + r = this.props.lockOffset, + o = Array.isArray(r) ? r : [r, r]; + L( + 2 === o.length, + 'lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s', + r, + ); + var i = p(o, 2), + a = i[0], + s = i[1]; + return [ + dr({lockOffset: a, width: e, height: n}), + dr({lockOffset: s, width: e, height: n}), + ]; + }, + }, + { + key: 'animateNodes', + value: function() { + if (this.axis) { + var t = this.props, + e = t.transitionDuration, + n = t.hideSortableGhost, + r = t.onSortOver, + o = t.animateNodes, + i = this.manager.getOrderedRefs(), + a = this.container.scrollLeft - this.initialScroll.left, + s = this.container.scrollTop - this.initialScroll.top, + c = + this.dragLayer.offsetEdge.left - + this.dragLayer.distanceBetweenContainers.x + + this.dragLayer.translate.x + + a, + l = + this.dragLayer.offsetEdge.top - + this.dragLayer.distanceBetweenContainers.y + + this.dragLayer.translate.y + + s, + u = window.pageYOffset - this.initialWindowScroll.top, + f = window.pageXOffset - this.initialWindowScroll.left, + h = this.newIndex; + this.newIndex = null; + for (var d = 0, p = i.length; d < p; d++) { + var v = i[d].node, + y = v.sortableInfo.index, + g = v.offsetWidth, + b = v.offsetHeight, + m = + this.dragLayer.width > g + ? g / 2 + : this.dragLayer.width / 2, + x = + this.dragLayer.height > b + ? b / 2 + : this.dragLayer.height / 2, + w = {x: 0, y: 0}, + _ = i[d].edgeOffset; + _ || ((_ = hr(v, this.container)), (i[d].edgeOffset = _)); + var O = d < i.length - 1 && i[d + 1], + S = 0 < d && i[d - 1]; + O && + !O.edgeOffset && + (O.edgeOffset = hr(O.node, this.container)), + y !== this.index + ? (e && + (v.style[ + ''.concat(ar, 'TransitionDuration') + ] = ''.concat(e, 'ms')), + this.axis.x + ? this.axis.y + ? y < this.index && + ((c + f - m <= _.left && l + u <= _.top + x) || + l + u + x <= _.top) + ? ((w.x = + this.dragLayer.width + + this.dragLayer.marginOffset.x), + _.left + w.x > + this.dragLayer.containerBoundingRect.width - + m && + ((w.x = O.edgeOffset.left - _.left), + (w.y = O.edgeOffset.top - _.top)), + null === this.newIndex && (this.newIndex = y)) + : y > this.index && + ((c + f + m >= _.left && + l + u + x >= _.top) || + l + u + x >= _.top + b) && + ((w.x = -( + this.dragLayer.width + + this.dragLayer.marginOffset.x + )), + _.left + w.x < + this.dragLayer.containerBoundingRect.left + + m && + ((w.x = S.edgeOffset.left - _.left), + (w.y = S.edgeOffset.top - _.top)), + (this.newIndex = y)) + : y > this.index && c + f + m >= _.left + ? ((w.x = -( + this.dragLayer.width + + this.dragLayer.marginOffset.x + )), + (this.newIndex = y)) + : y < this.index && + c + f <= _.left + m && + ((w.x = + this.dragLayer.width + + this.dragLayer.marginOffset.x), + null == this.newIndex && (this.newIndex = y)) + : this.axis.y && + (y > this.index && l + u + x >= _.top + ? ((w.y = -( + this.dragLayer.height + + this.dragLayer.marginOffset.y + )), + (this.newIndex = y)) + : y < this.index && + l + u <= _.top + x && + ((w.y = + this.dragLayer.height + + this.dragLayer.marginOffset.y), + null == this.newIndex && + (this.newIndex = y))), + o && + (v.style[ + ''.concat(ar, 'Transform') + ] = 'translate3d(' + .concat(w.x, 'px,') + .concat(w.y, 'px,0)'))) + : n && + (((this.sortableGhost = v).style.visibility = + 'hidden'), + (v.style.opacity = 0)); + } + null == this.newIndex && (this.newIndex = this.index), + r && + this.newIndex !== h && + r({ + newIndex: this.newIndex, + oldIndex: h, + index: this.index, + collection: this.manager.active.collection, + }); + } + }, + }, + { + key: 'getWrappedInstance', + value: function() { + return ( + L( + r.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call', + ), + this.refs.wrappedInstance + ); + }, + }, + { + key: 'getContainer', + value: function() { + var t = this.props.getContainer; + return 'function' != typeof t + ? a.findDOMNode(this) + : t(r.withRef ? this.getWrappedInstance() : void 0); + }, + }, + { + key: 'render', + value: function() { + var t = r.withRef ? 'wrappedInstance' : null; + return o.createElement( + n, + s( + {ref: t}, + or( + this.props, + 'contentWindow', + 'useWindowAsScrollContainer', + 'distance', + 'helperClass', + 'hideSortableGhost', + 'transitionDuration', + 'useDragHandle', + 'animateNodes', + 'pressDelay', + 'pressThreshold', + 'shouldCancelStart', + 'updateBeforeSortStart', + 'onSortStart', + 'onSortSwap', + 'onSortMove', + 'onSortEnd', + 'axis', + 'lockAxis', + 'lockOffset', + 'lockToContainerEdges', + 'getContainer', + 'getHelperDimensions', + ), + ), + ); + }, + }, + { + key: 'helperContainer', + get: function() { + return this.props.helperContainer || this.document.body; + }, + }, + ]), + e + ); + })(o.Component)), + S(t, 'displayName', ur('sortableList', n)), + S(t, 'defaultProps', { + axis: 'y', + transitionDuration: 300, + pressDelay: 0, + pressThreshold: 5, + distance: 0, + useWindowAsScrollContainer: !1, + hideSortableGhost: !0, + animateNodes: !0, + shouldCancelStart: function(t) { + return ( + -1 !== + ['input', 'textarea', 'select', 'option', 'button'].indexOf( + t.target.tagName.toLowerCase(), + ) + ); + }, + lockToContainerEdges: !1, + lockOffset: '50%', + getHelperDimensions: function(t) { + var e = t.node; + return {width: e.offsetWidth, height: e.offsetHeight}; + }, + }), + S(t, 'propTypes', { + axis: i.oneOf(['x', 'y', 'xy']), + distance: i.number, + dragLayer: i.object, + lockAxis: i.string, + helperClass: i.string, + transitionDuration: i.number, + contentWindow: i.any, + updateBeforeSortStart: i.func, + onSortStart: i.func, + onSortMove: i.func, + onSortOver: i.func, + onSortEnd: i.func, + onDragEnd: i.func, + shouldCancelStart: i.func, + pressDelay: i.number, + pressThreshold: i.number, + useDragHandle: i.bool, + animateNodes: i.bool, + useWindowAsScrollContainer: i.bool, + hideSortableGhost: i.bool, + lockToContainerEdges: i.bool, + lockOffset: i.oneOfType([ + i.number, + i.string, + i.arrayOf(i.oneOfType([i.number, i.string])), + ]), + getContainer: i.func, + getHelperDimensions: i.func, + helperContainer: + 'undefined' == typeof HTMLElement ? i.any : i.instanceOf(HTMLElement), + }), + S(t, 'childContextTypes', {manager: i.object.isRequired}), + e + ); + } + function xr(n) { + var t, + e, + r = + 1 < arguments.length && void 0 !== arguments[1] + ? arguments[1] + : {withRef: !1}; + return ( + (e = t = (function(t) { + function e() { + return d(this, e), x(this, w(e).apply(this, arguments)); + } + return ( + O(e, t), + y(e, [ + { + key: 'componentDidMount', + value: function() { + var t = this.props, + e = t.collection, + n = t.disabled, + r = t.index; + n || this.setDraggable(e, r); + }, + }, + { + key: 'componentWillReceiveProps', + value: function(t) { + if ( + (this.props.index !== t.index && + this.node && + (this.node.sortableInfo.index = t.index), + this.props.disabled !== t.disabled) + ) { + var e = t.collection, + n = t.disabled, + r = t.index; + n ? this.removeDraggable(e) : this.setDraggable(e, r); + } else + this.props.collection !== t.collection && + (this.removeDraggable(this.props.collection), + this.setDraggable(t.collection, t.index)); + }, + }, + { + key: 'componentWillUnmount', + value: function() { + var t = this.props, + e = t.collection; + t.disabled || this.removeDraggable(e); + }, + }, + { + key: 'setDraggable', + value: function(t, e) { + var n = a.findDOMNode(this); + (n.sortableInfo = { + index: e, + collection: t, + manager: this.context.manager, + }), + (this.node = n), + (this.ref = {node: n}), + this.context.manager.add(t, this.ref); + }, + }, + { + key: 'removeDraggable', + value: function(t) { + this.context.manager.remove(t, this.ref); + }, + }, + { + key: 'getWrappedInstance', + value: function() { + return ( + L( + r.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call', + ), + this.refs.wrappedInstance + ); + }, + }, + { + key: 'render', + value: function() { + var t = r.withRef ? 'wrappedInstance' : null; + return o.createElement( + n, + s( + {ref: t}, + or(this.props, 'collection', 'disabled', 'index'), + ), + ); + }, + }, + ]), + e + ); + })(o.Component)), + S(t, 'displayName', ur('sortableElement', n)), + S(t, 'contextTypes', {manager: i.object.isRequired}), + S(t, 'propTypes', { + index: i.number.isRequired, + collection: i.oneOfType([i.number, i.string]), + disabled: i.bool, + }), + S(t, 'defaultProps', {collection: 0}), + e + ); + } + function wr(n) { + var t, + e, + r = + 1 < arguments.length && void 0 !== arguments[1] + ? arguments[1] + : {withRef: !1}; + return ( + (e = t = (function(t) { + function e() { + return d(this, e), x(this, w(e).apply(this, arguments)); + } + return ( + O(e, t), + y(e, [ + { + key: 'componentDidMount', + value: function() { + a.findDOMNode(this).sortableHandle = !0; + }, + }, + { + key: 'getWrappedInstance', + value: function() { + return ( + L( + r.withRef, + 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call', + ), + this.refs.wrappedInstance + ); + }, + }, + { + key: 'render', + value: function() { + var t = r.withRef ? 'wrappedInstance' : null; + return o.createElement(n, s({ref: t}, this.props)); + }, + }, + ]), + e + ); + })(o.Component)), + S(t, 'displayName', ur('sortableHandle', n)), + e + ); + } + 'document' in window.self && + (('classList' in document.createElement('_') && + (!document.createElementNS || + 'classList' in + document.createElementNS('http://www.w3.org/2000/svg', 'g'))) || + (function(t) { + if ('Element' in t) { + var e = 'classList', + n = 'prototype', + r = t.Element[n], + o = Object, + i = + String[n].trim || + function() { + return this.replace(/^\s+|\s+$/g, ''); + }, + a = + Array[n].indexOf || + function(t) { + for (var e = 0, n = this.length; e < n; e++) + if (e in this && this[e] === t) return e; + return -1; + }, + s = function(t, e) { + (this.name = t), + (this.code = DOMException[t]), + (this.message = e); + }, + c = function(t, e) { + if ('' === e) + throw new s( + 'SYNTAX_ERR', + 'An invalid or illegal string was specified', + ); + if (/\s/.test(e)) + throw new s( + 'INVALID_CHARACTER_ERR', + 'String contains an invalid character', + ); + return a.call(t, e); + }, + l = function(t) { + for ( + var e = i.call(t.getAttribute('class') || ''), + n = e ? e.split(/\s+/) : [], + r = 0, + o = n.length; + r < o; + r++ + ) + this.push(n[r]); + this._updateClassName = function() { + t.setAttribute('class', this.toString()); + }; + }, + u = (l[n] = []), + f = function() { + return new l(this); + }; + if ( + ((s[n] = Error[n]), + (u.item = function(t) { + return this[t] || null; + }), + (u.contains = function(t) { + return -1 !== c(this, (t += '')); + }), + (u.add = function() { + for ( + var t, e = arguments, n = 0, r = e.length, o = !1; + (t = e[n] + ''), + -1 === c(this, t) && (this.push(t), (o = !0)), + ++n < r; + + ); + o && this._updateClassName(); + }), + (u.remove = function() { + var t, + e, + n = arguments, + r = 0, + o = n.length, + i = !1; + do { + for (t = n[r] + '', e = c(this, t); -1 !== e; ) + this.splice(e, 1), (i = !0), (e = c(this, t)); + } while (++r < o); + i && this._updateClassName(); + }), + (u.toggle = function(t, e) { + t += ''; + var n = this.contains(t), + r = n ? !0 !== e && 'remove' : !1 !== e && 'add'; + return r && this[r](t), !0 === e || !1 === e ? e : !n; + }), + (u.toString = function() { + return this.join(' '); + }), + o.defineProperty) + ) { + var h = {get: f, enumerable: !0, configurable: !0}; + try { + o.defineProperty(r, e, h); + } catch (t) { + (void 0 !== t.number && -2146823252 !== t.number) || + ((h.enumerable = !1), o.defineProperty(r, e, h)); + } + } else o[n].__defineGetter__ && r.__defineGetter__(e, f); + } + })(window.self), + (function() { + var t = document.createElement('_'); + if ((t.classList.add('c1', 'c2'), !t.classList.contains('c2'))) { + var e = function(t) { + var r = DOMTokenList.prototype[t]; + DOMTokenList.prototype[t] = function(t) { + var e, + n = arguments.length; + for (e = 0; e < n; e++) (t = arguments[e]), r.call(this, t); + }; + }; + e('add'), e('remove'); + } + if ((t.classList.toggle('c3', !1), t.classList.contains('c3'))) { + var n = DOMTokenList.prototype.toggle; + DOMTokenList.prototype.toggle = function(t, e) { + return 1 in arguments && !this.contains(t) == !e + ? e + : n.call(this, t); + }; + } + t = null; + })()), + (t.DragLayer = yr), + (t.SortableContainer = mr), + (t.SortableElement = xr), + (t.SortableHandle = wr), + (t.arrayMove = function(t, e, n) { + return ( + (t = t.slice()).splice(n < 0 ? t.length + n : n, 0, t.splice(e, 1)[0]), + t + ); + }), + (t.sortableContainer = mr), + (t.sortableElement = xr), + (t.sortableHandle = wr), + Object.defineProperty(t, '__esModule', {value: !0}); +}); diff --git a/yarn.lock b/yarn.lock index 8ee99d5b5..8b4c407ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -30,33 +30,33 @@ source-map "^0.5.0" "@babel/core@^7.1.6", "@babel/core@^7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.2.2.tgz#07adba6dde27bb5ad8d8672f15fde3e08184a687" - integrity sha512-59vB0RWt09cAct5EIe58+NzGP4TFSD3Bz//2/ELy3ZeTeKF6VTD1AXlH8BGGbCX0PuobZBsIzO7IAI9PH67eKw== + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.4.0.tgz#248fd6874b7d755010bfe61f557461d4f446d9e9" + integrity sha512-Dzl7U0/T69DFOTwqz/FJdnOSWS57NpjNfCwMKHABr589Lg8uX1RrlBIJ7L5Dubt/xkLsx0xH5EBFzlBVes1ayA== dependencies: "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.2.2" - "@babel/helpers" "^7.2.0" - "@babel/parser" "^7.2.2" - "@babel/template" "^7.2.2" - "@babel/traverse" "^7.2.2" - "@babel/types" "^7.2.2" + "@babel/generator" "^7.4.0" + "@babel/helpers" "^7.4.0" + "@babel/parser" "^7.4.0" + "@babel/template" "^7.4.0" + "@babel/traverse" "^7.4.0" + "@babel/types" "^7.4.0" convert-source-map "^1.1.0" debug "^4.1.0" json5 "^2.1.0" - lodash "^4.17.10" + lodash "^4.17.11" resolve "^1.3.2" semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.0.0", "@babel/generator@^7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.2.2.tgz#18c816c70962640eab42fe8cae5f3947a5c65ccc" - integrity sha512-I4o675J/iS8k+P38dvJ3IBGqObLXyQLTxtrR4u9cSUJOURvafeEWb/pFMOTwtNrmq73mJzyF6ueTbO1BtN0Zeg== +"@babel/generator@^7.0.0", "@babel/generator@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.4.0.tgz#c230e79589ae7a729fd4631b9ded4dc220418196" + integrity sha512-/v5I+a1jhGSKLgZDcmAUZ4K/VePi43eRkUs3yePW1HB1iANOD5tqJXwGSG4BZhSksP8J9ejSlwGeTiiOFZOrXQ== dependencies: - "@babel/types" "^7.2.2" + "@babel/types" "^7.4.0" jsesc "^2.5.1" - lodash "^4.17.10" + lodash "^4.17.11" source-map "^0.5.0" trim-right "^1.0.1" @@ -75,42 +75,43 @@ "@babel/helper-explode-assignable-expression" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-builder-react-jsx@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0.tgz#fa154cb53eb918cf2a9a7ce928e29eb649c5acdb" - integrity sha512-ebJ2JM6NAKW0fQEqN8hOLxK84RbRz9OkUhGS/Xd5u56ejMfVbayJ4+LykERZCOUM6faa6Fp3SZNX3fcT16MKHw== +"@babel/helper-builder-react-jsx@^7.3.0": + version "7.3.0" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.3.0.tgz#a1ac95a5d2b3e88ae5e54846bf462eeb81b318a4" + integrity sha512-MjA9KgwCuPEkQd9ncSXvSyJ5y+j2sICHyrI0M3L+6fnS4wMSNDc1ARXsbTfbb2cXHn17VisSnU/sHFTCxVxSMw== dependencies: - "@babel/types" "^7.0.0" + "@babel/types" "^7.3.0" esutils "^2.0.0" -"@babel/helper-call-delegate@^7.1.0": - version "7.1.0" - resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.1.0.tgz#6a957f105f37755e8645343d3038a22e1449cc4a" - integrity sha512-YEtYZrw3GUK6emQHKthltKNZwszBcHK58Ygcis+gVUrF4/FmTVr5CCqQNSfmvg2y+YDEANyYoaLz/SHsnusCwQ== +"@babel/helper-call-delegate@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.4.0.tgz#f308eabe0d44f451217853aedf4dea5f6fe3294f" + integrity sha512-SdqDfbVdNQCBp3WhK2mNdDvHd3BD6qbmIc43CAyjnsfCmgHMeqgDcM3BzY2lchi7HBJGJ2CVdynLWbezaE4mmQ== dependencies: - "@babel/helper-hoist-variables" "^7.0.0" - "@babel/traverse" "^7.1.0" - "@babel/types" "^7.0.0" + "@babel/helper-hoist-variables" "^7.4.0" + "@babel/traverse" "^7.4.0" + "@babel/types" "^7.4.0" -"@babel/helper-create-class-features-plugin@^7.2.3": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.2.3.tgz#f6e719abb90cb7f4a69591e35fd5eb89047c4a7c" - integrity sha512-xO/3Gn+2C7/eOUeb0VRnSP1+yvWHNxlpAot1eMhtoKDCN7POsyQP5excuT5UsV5daHxMWBeIIOeI5cmB8vMRgQ== +"@babel/helper-create-class-features-plugin@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.4.0.tgz#30fd090e059d021995c1762a5b76798fa0b51d82" + integrity sha512-2K8NohdOT7P6Vyp23QH4w2IleP8yG3UJsbRKwA4YP6H8fErcLkFuuEEqbF2/BYBKSNci/FWJiqm6R3VhM/QHgw== dependencies: "@babel/helper-function-name" "^7.1.0" "@babel/helper-member-expression-to-functions" "^7.0.0" "@babel/helper-optimise-call-expression" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.2.3" + "@babel/helper-replace-supers" "^7.4.0" + "@babel/helper-split-export-declaration" "^7.4.0" -"@babel/helper-define-map@^7.1.0": - version "7.1.0" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.1.0.tgz#3b74caec329b3c80c116290887c0dd9ae468c20c" - integrity sha512-yPPcW8dc3gZLN+U1mhYV91QU3n5uTbx7DUdf8NnPbjS0RMwBuHi9Xt2MUgppmNz7CJxTBWsGczTiEp1CSOTPRg== +"@babel/helper-define-map@^7.1.0", "@babel/helper-define-map@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.4.0.tgz#cbfd8c1b2f12708e262c26f600cd16ed6a3bc6c9" + integrity sha512-wAhQ9HdnLIywERVcSvX40CEJwKdAa1ID4neI9NXQPDOHwwA+57DqwLiPEVy2AIyWzAk0CQ8qx4awO0VUURwLtA== dependencies: "@babel/helper-function-name" "^7.1.0" - "@babel/types" "^7.0.0" - lodash "^4.17.10" + "@babel/types" "^7.4.0" + lodash "^4.17.11" "@babel/helper-explode-assignable-expression@^7.1.0": version "7.1.0" @@ -136,12 +137,12 @@ dependencies: "@babel/types" "^7.0.0" -"@babel/helper-hoist-variables@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0.tgz#46adc4c5e758645ae7a45deb92bab0918c23bb88" - integrity sha512-Ggv5sldXUeSKsuzLkddtyhyHe2YantsxWKNi7A+7LeD12ExRDWTRk29JCXpaHPAbMaIPZSil7n+lq78WY2VY7w== +"@babel/helper-hoist-variables@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.4.0.tgz#25b621399ae229869329730a62015bbeb0a6fbd6" + integrity sha512-/NErCuoe/et17IlAQFKWM24qtyYYie7sFIrW/tIQXpck6vAu2hhtYYsKLBWQV+BQZMbcIYPU/QMYuTufrY4aQw== dependencies: - "@babel/types" "^7.0.0" + "@babel/types" "^7.4.0" "@babel/helper-member-expression-to-functions@^7.0.0": version "7.0.0" @@ -199,15 +200,15 @@ "@babel/traverse" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-replace-supers@^7.1.0", "@babel/helper-replace-supers@^7.2.3": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.2.3.tgz#19970020cf22677d62b3a689561dbd9644d8c5e5" - integrity sha512-GyieIznGUfPXPWu0yLS6U55Mz67AZD9cUk0BfirOWlPrXlBcan9Gz+vHGz+cPfuoweZSnPzPIm67VtQM0OWZbA== +"@babel/helper-replace-supers@^7.1.0", "@babel/helper-replace-supers@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.4.0.tgz#4f56adb6aedcd449d2da9399c2dcf0545463b64c" + integrity sha512-PVwCVnWWAgnal+kJ+ZSAphzyl58XrFeSKSAJRiqg5QToTsjL+Xu1f9+RJ+d+Q0aPhPfBGaYfkox66k86thxNSg== dependencies: "@babel/helper-member-expression-to-functions" "^7.0.0" "@babel/helper-optimise-call-expression" "^7.0.0" - "@babel/traverse" "^7.2.3" - "@babel/types" "^7.0.0" + "@babel/traverse" "^7.4.0" + "@babel/types" "^7.4.0" "@babel/helper-simple-access@^7.1.0": version "7.1.0" @@ -217,12 +218,12 @@ "@babel/template" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-split-export-declaration@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0.tgz#3aae285c0311c2ab095d997b8c9a94cad547d813" - integrity sha512-MXkOJqva62dfC0w85mEf/LucPPS/1+04nmmRMPEBUB++hiiThQ2zPtX/mEWQ3mtzCEjIJvPY8nuwxXtQeQwUag== +"@babel/helper-split-export-declaration@^7.0.0", "@babel/helper-split-export-declaration@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.0.tgz#571bfd52701f492920d63b7f735030e9a3e10b55" + integrity sha512-7Cuc6JZiYShaZnybDmfwhY4UYHzI6rlqhWjaIqbsJGsIqPimEYy5uh3akSRLMg65LSdSEnJ8a8/bWQN6u2oMGw== dependencies: - "@babel/types" "^7.0.0" + "@babel/types" "^7.4.0" "@babel/helper-wrap-function@^7.1.0": version "7.2.0" @@ -234,14 +235,14 @@ "@babel/traverse" "^7.1.0" "@babel/types" "^7.2.0" -"@babel/helpers@^7.1.0", "@babel/helpers@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.2.0.tgz#8335f3140f3144270dc63c4732a4f8b0a50b7a21" - integrity sha512-Fr07N+ea0dMcMN8nFpuK6dUIT7/ivt9yKQdEEnjVS83tG2pHwPi03gYmk/tyuwONnZ+sY+GFFPlWGgCtW1hF9A== +"@babel/helpers@^7.1.0", "@babel/helpers@^7.4.0": + version "7.4.2" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.4.2.tgz#3bdfa46a552ca77ef5a0f8551be5f0845ae989be" + integrity sha512-gQR1eQeroDzFBikhrCccm5Gs2xBjZ57DNjGbqTaHo911IpmSxflOQWMAHPw/TXk8L3isv7s9lYzUkexOeTQUYg== dependencies: - "@babel/template" "^7.1.2" - "@babel/traverse" "^7.1.5" - "@babel/types" "^7.2.0" + "@babel/template" "^7.4.0" + "@babel/traverse" "^7.4.0" + "@babel/types" "^7.4.0" "@babel/highlight@^7.0.0": version "7.0.0" @@ -252,10 +253,10 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.1.3", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.2.3.tgz#32f5df65744b70888d17872ec106b02434ba1489" - integrity sha512-0LyEcVlfCoFmci8mXx8A5oIkpkOgyo8dRHtxBnK9RRBwxO2+JZPNsqtVEZQ7mJFPxnXF9lfmU24mHOPI0qnlkA== +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.1.3", "@babel/parser@^7.4.0": + version "7.4.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.4.2.tgz#b4521a400cb5a871eab3890787b4bc1326d38d91" + integrity sha512-9fJTDipQFvlfSVdD/JBtkiY0br9BtfvW2R8wo6CX/Ej2eMuV0gWPk1M67Mt3eggQvBqYW1FCEk8BN7WvGm/g5g== "@babel/plugin-proposal-async-generator-functions@^7.1.0", "@babel/plugin-proposal-async-generator-functions@^7.2.0": version "7.2.0" @@ -279,11 +280,11 @@ "@babel/plugin-syntax-class-properties" "^7.0.0" "@babel/plugin-proposal-class-properties@^7.2.0", "@babel/plugin-proposal-class-properties@^7.2.3": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.2.3.tgz#c9e1294363b346cff333007a92080f3203698461" - integrity sha512-FVuQngLoN2iDrpW7LmhPZ2sO4DJxf35FOcwidwB9Ru9tMvI5URthnkVHuG14IStV+TzkMTyLMoOUlSTtrdVwqw== + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.4.0.tgz#d70db61a2f1fd79de927eea91f6411c964e084b8" + integrity sha512-t2ECPNOXsIeK1JxJNKmgbzQtoG27KIlVE61vTqX0DKR9E9sZlVVxWUtEW9D5FlZ8b8j7SBNCHY47GgPKCKlpPg== dependencies: - "@babel/helper-create-class-features-plugin" "^7.2.3" + "@babel/helper-create-class-features-plugin" "^7.4.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-decorators@7.1.2": @@ -312,10 +313,10 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.0.0" -"@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.2.0.tgz#88f5fec3e7ad019014c97f7ee3c992f0adbf7fb8" - integrity sha512-1L5mWLSvR76XYUQJXkd/EEQgjq8HHRP6lQuZTTg0VA4tTGPpGemmCdAfQIz1rzEuWAm+ecP8PyyEm30jC1eQCg== +"@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.0.tgz#e4960575205eadf2a1ab4e0c79f9504d5b82a97f" + integrity sha512-uTNi8pPYyUH2eWHyYWWSYJKwKg34hhgl4/dbejEjL+64OhbHjTX7wEVWMQl82tEmdDsGeu77+s8HHLS627h6OQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.2.0" @@ -328,14 +329,14 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" -"@babel/plugin-proposal-unicode-property-regex@^7.0.0", "@babel/plugin-proposal-unicode-property-regex@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.2.0.tgz#abe7281fe46c95ddc143a65e5358647792039520" - integrity sha512-LvRVYb7kikuOtIoUeWTkOxQEV1kYvL5B6U3iWEGCzPNRus1MzJweFqORTj+0jkxozkTSYNJozPOddxmqdqsRpw== +"@babel/plugin-proposal-unicode-property-regex@^7.0.0", "@babel/plugin-proposal-unicode-property-regex@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.0.tgz#202d91ee977d760ef83f4f416b280d568be84623" + integrity sha512-h/KjEZ3nK9wv1P1FSNb9G079jXrNYR0Ko+7XkOx85+gM24iZbPn0rh4vCftk+5QKY7y1uByFataBTmX7irEF1w== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-regex" "^7.0.0" - regexpu-core "^4.2.0" + regexpu-core "^4.5.4" "@babel/plugin-syntax-async-generators@^7.0.0", "@babel/plugin-syntax-async-generators@^7.2.0": version "7.2.0" @@ -401,9 +402,9 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-typescript@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.2.0.tgz#55d240536bd314dcbbec70fd949c5cabaed1de29" - integrity sha512-WhKr6yu6yGpGcNMVgIBuI9MkredpVc7Y3YR4UzEZmDztHoL6wV56YBHLhWnjO1EvId1B32HrD3DRFc+zSoKI1g== + version "7.3.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.3.3.tgz#a7cc3f66119a9f7ebe2de5383cce193473d65991" + integrity sha512-dGwbSMA1YhVS8+31CnPR7LB4pcbrzcV99wQzby4uAfrkZPYZlQ7ImwdpzLqi6Z6IL02b8IAL379CaMwo0x5Lag== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -414,10 +415,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-async-to-generator@^7.1.0", "@babel/plugin-transform-async-to-generator@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.2.0.tgz#68b8a438663e88519e65b776f8938f3445b1a2ff" - integrity sha512-CEHzg4g5UraReozI9D4fblBYABs7IM6UerAVG7EJVrTLC5keh00aEuLUT+O40+mJCEzaXkYfTCUKIyeDfMOFFQ== +"@babel/plugin-transform-async-to-generator@^7.1.0", "@babel/plugin-transform-async-to-generator@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.4.0.tgz#234fe3e458dce95865c0d152d256119b237834b0" + integrity sha512-EeaFdCeUULM+GPFEsf7pFcNSxM7hYjoj5fiYbyuiXobW4JhFnjAv9OWzNwHyHcKoPNpAfeRDuW6VyaXEDUBa7g== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -430,13 +431,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-block-scoping@^7.0.0", "@babel/plugin-transform-block-scoping@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.2.0.tgz#f17c49d91eedbcdf5dd50597d16f5f2f770132d4" - integrity sha512-vDTgf19ZEV6mx35yiPJe4fS02mPQUUcBNwWQSZFXSzTSbsJFQvHt7DqyS3LK8oOWALFOsJ+8bbqBgkirZteD5Q== +"@babel/plugin-transform-block-scoping@^7.0.0", "@babel/plugin-transform-block-scoping@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.4.0.tgz#164df3bb41e3deb954c4ca32ffa9fcaa56d30bcb" + integrity sha512-AWyt3k+fBXQqt2qb9r97tn3iBwFpiv9xdAiG+Gr2HpAZpuayvbL55yWrsV3MyHvXk/4vmSiedhDRl1YI2Iy5nQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" - lodash "^4.17.10" + lodash "^4.17.11" "@babel/plugin-transform-classes@7.1.0": version "7.1.0" @@ -452,18 +453,18 @@ "@babel/helper-split-export-declaration" "^7.0.0" globals "^11.1.0" -"@babel/plugin-transform-classes@^7.1.0", "@babel/plugin-transform-classes@^7.2.0": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.2.2.tgz#6c90542f210ee975aa2aa8c8b5af7fa73a126953" - integrity sha512-gEZvgTy1VtcDOaQty1l10T3jQmJKlNVxLDCs+3rCVPr6nMkODLELxViq5X9l+rfxbie3XrfrMCYYY6eX3aOcOQ== +"@babel/plugin-transform-classes@^7.1.0", "@babel/plugin-transform-classes@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.0.tgz#e3428d3c8a3d01f33b10c529b998ba1707043d4d" + integrity sha512-XGg1Mhbw4LDmrO9rSTNe+uI79tQPdGs0YASlxgweYRLZqo/EQktjaOV4tchL/UZbM0F+/94uOipmdNGoaGOEYg== dependencies: "@babel/helper-annotate-as-pure" "^7.0.0" - "@babel/helper-define-map" "^7.1.0" + "@babel/helper-define-map" "^7.4.0" "@babel/helper-function-name" "^7.1.0" "@babel/helper-optimise-call-expression" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.1.0" - "@babel/helper-split-export-declaration" "^7.0.0" + "@babel/helper-replace-supers" "^7.4.0" + "@babel/helper-split-export-declaration" "^7.4.0" globals "^11.1.0" "@babel/plugin-transform-computed-properties@^7.0.0", "@babel/plugin-transform-computed-properties@^7.2.0": @@ -480,10 +481,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-destructuring@^7.0.0", "@babel/plugin-transform-destructuring@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.2.0.tgz#e75269b4b7889ec3a332cd0d0c8cff8fed0dc6f3" - integrity sha512-coVO2Ayv7g0qdDbrNiadE4bU7lvCd9H539m2gMknyVjjMdwF/iCOM7R+E8PkntoqLkltO0rk+3axhpp/0v68VQ== +"@babel/plugin-transform-destructuring@^7.0.0", "@babel/plugin-transform-destructuring@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.0.tgz#acbb9b2418d290107db333f4d6cd8aa6aea00343" + integrity sha512-HySkoatyYTY3ZwLI8GGvkRWCFrjAGXUHur5sMecmCIdIharnlcWWivOqDJI76vvmVZfzwb6G08NREsrY96RhGQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -520,17 +521,17 @@ "@babel/plugin-syntax-flow" "^7.0.0" "@babel/plugin-transform-flow-strip-types@^7.0.0": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.2.3.tgz#e3ac2a594948454e7431c7db33e1d02d51b5cd69" - integrity sha512-xnt7UIk9GYZRitqCnsVMjQK1O2eKZwFB3CvvHjf5SGx6K6vr/MScCKQDnf1DxRaj501e3pXjti+inbSXX2ZUoQ== + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.0.tgz#f3c59eecff68c99b9c96eaafe4fe9d1fa8947138" + integrity sha512-C4ZVNejHnfB22vI2TYN4RUp2oCmq6cSEAg4RygSvYZUECRqUu9O4PMEMNJ4wsemaRGg27BbgYctG4BZh+AgIHw== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-flow" "^7.2.0" -"@babel/plugin-transform-for-of@^7.0.0", "@babel/plugin-transform-for-of@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.2.0.tgz#ab7468befa80f764bb03d3cb5eef8cc998e1cad9" - integrity sha512-Kz7Mt0SsV2tQk6jG5bBv5phVbkd0gd27SgYD4hH1aLMJRchM0dzHaXvrWhVZ+WxAlDoAKZ7Uy3jVTW2mKXQ1WQ== +"@babel/plugin-transform-for-of@^7.0.0", "@babel/plugin-transform-for-of@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.0.tgz#56c8c36677f5d4a16b80b12f7b768de064aaeb5f" + integrity sha512-vWdfCEYLlYSxbsKj5lGtzA49K3KANtb8qCPQ1em07txJzsBwY+cKJzBHizj5fl3CCx7vt+WPdgDLTHmydkbQSQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -557,21 +558,21 @@ "@babel/helper-module-transforms" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-modules-commonjs@^7.1.0", "@babel/plugin-transform-modules-commonjs@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.2.0.tgz#c4f1933f5991d5145e9cfad1dfd848ea1727f404" - integrity sha512-V6y0uaUQrQPXUrmj+hgnks8va2L0zcZymeU7TtWEgdRLNkceafKXEduv7QzgQAE4lT+suwooG9dC7LFhdRAbVQ== +"@babel/plugin-transform-modules-commonjs@^7.1.0", "@babel/plugin-transform-modules-commonjs@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.0.tgz#3b8ec61714d3b75d20c5ccfa157f2c2e087fd4ca" + integrity sha512-iWKAooAkipG7g1IY0eah7SumzfnIT3WNhT4uYB2kIsvHnNSB6MDYVa5qyICSwaTBDBY2c4SnJ3JtEa6ltJd6Jw== dependencies: "@babel/helper-module-transforms" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-simple-access" "^7.1.0" -"@babel/plugin-transform-modules-systemjs@^7.0.0", "@babel/plugin-transform-modules-systemjs@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.2.0.tgz#912bfe9e5ff982924c81d0937c92d24994bb9068" - integrity sha512-aYJwpAhoK9a+1+O625WIjvMY11wkB/ok0WClVwmeo3mCjcNRjt+/8gHWrB5i+00mUju0gWsBkQnPpdvQ7PImmQ== +"@babel/plugin-transform-modules-systemjs@^7.0.0", "@babel/plugin-transform-modules-systemjs@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.4.0.tgz#c2495e55528135797bc816f5d50f851698c586a1" + integrity sha512-gjPdHmqiNhVoBqus5qK60mWPp1CmYWp/tkh11mvb0rrys01HycEGD7NvvSoKXlWEfSM9TcL36CpsK8ElsADptQ== dependencies: - "@babel/helper-hoist-variables" "^7.0.0" + "@babel/helper-hoist-variables" "^7.4.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-transform-modules-umd@^7.1.0", "@babel/plugin-transform-modules-umd@^7.2.0": @@ -582,10 +583,17 @@ "@babel/helper-module-transforms" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-new-target@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0.tgz#ae8fbd89517fa7892d20e6564e641e8770c3aa4a" - integrity sha512-yin069FYjah+LbqfGeTfzIBODex/e++Yfa0rH0fpfam9uTbuEeEOx5GLGr210ggOV77mVRNoeqSYqeuaqSzVSw== +"@babel/plugin-transform-named-capturing-groups-regex@^7.4.2": + version "7.4.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.2.tgz#800391136d6cbcc80728dbdba3c1c6e46f86c12e" + integrity sha512-NsAuliSwkL3WO2dzWTOL1oZJHm0TM8ZY8ZSxk2ANyKkt5SQlToGA4pzctmq1BEjoacurdwZ3xp2dCQWJkME0gQ== + dependencies: + regexp-tree "^0.1.0" + +"@babel/plugin-transform-new-target@^7.0.0", "@babel/plugin-transform-new-target@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.0.tgz#67658a1d944edb53c8d4fa3004473a0dd7838150" + integrity sha512-6ZKNgMQmQmrEX/ncuCwnnw1yVGoaOW5KpxNhoWI7pCQdA0uZ0HqHGqenCUIENAnxRjy2WwNQ30gfGdIgqJXXqw== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -597,12 +605,12 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-replace-supers" "^7.1.0" -"@babel/plugin-transform-parameters@^7.1.0", "@babel/plugin-transform-parameters@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.2.0.tgz#0d5ad15dc805e2ea866df4dd6682bfe76d1408c2" - integrity sha512-kB9+hhUidIgUoBQ0MsxMewhzr8i60nMa2KgeJKQWYrqQpqcBYtnpR+JgkadZVZoaEZ/eKu9mclFaVwhRpLNSzA== +"@babel/plugin-transform-parameters@^7.1.0", "@babel/plugin-transform-parameters@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.0.tgz#a1309426fac4eecd2a9439a4c8c35124a11a48a9" + integrity sha512-Xqv6d1X+doyiuCGDoVJFtlZx0onAX0tnc3dY8w71pv/O0dODAbusVv2Ale3cGOwfiyi895ivOBhYa9DhAM8dUA== dependencies: - "@babel/helper-call-delegate" "^7.1.0" + "@babel/helper-call-delegate" "^7.4.0" "@babel/helper-get-function-arity" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -653,20 +661,20 @@ "@babel/plugin-syntax-jsx" "^7.2.0" "@babel/plugin-transform-react-jsx@^7.0.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.2.0.tgz#ca36b6561c4d3b45524f8efb6f0fbc9a0d1d622f" - integrity sha512-h/fZRel5wAfCqcKgq3OhbmYaReo7KkoJBpt8XnvpS7wqaNMqtw5xhxutzcm35iMUWucfAdT/nvGTsWln0JTg2Q== + version "7.3.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.3.0.tgz#f2cab99026631c767e2745a5368b331cfe8f5290" + integrity sha512-a/+aRb7R06WcKvQLOu4/TpjKOdvVEKRLWFpKcNuHhiREPgGRB4TQJxq07+EZLS8LFVYpfq1a5lDUnuMdcCpBKg== dependencies: - "@babel/helper-builder-react-jsx" "^7.0.0" + "@babel/helper-builder-react-jsx" "^7.3.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-jsx" "^7.2.0" -"@babel/plugin-transform-regenerator@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0.tgz#5b41686b4ed40bef874d7ed6a84bdd849c13e0c1" - integrity sha512-sj2qzsEx8KDVv1QuJc/dEfilkg3RRPvPYx/VnKLtItVQRWt1Wqf5eVCOLZm29CiGFfYYsA3VPjfizTCV0S0Dlw== +"@babel/plugin-transform-regenerator@^7.0.0", "@babel/plugin-transform-regenerator@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.0.tgz#0780e27ee458cc3fdbad18294d703e972ae1f6d1" + integrity sha512-SZ+CgL4F0wm4npojPU6swo/cK4FcbLgxLd4cWpHaNXY/NJ2dpahODCqBbAwb2rDmVszVb3SSjnk9/vik3AYdBw== dependencies: - regenerator-transform "^0.13.3" + regenerator-transform "^0.13.4" "@babel/plugin-transform-runtime@7.1.0": version "7.1.0" @@ -679,9 +687,9 @@ semver "^5.5.1" "@babel/plugin-transform-runtime@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.2.0.tgz#566bc43f7d0aedc880eaddbd29168d0f248966ea" - integrity sha512-jIgkljDdq4RYDnJyQsiWbdvGeei/0MOTtSHKO/rfbd/mXBxNpdlulMx49L0HQ4pug1fXannxoqCI+fYSle9eSw== + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.4.0.tgz#b4d8c925ed957471bc57e0b9da53408ebb1ed457" + integrity sha512-1uv2h9wnRj98XX3g0l4q+O3jFM6HfayKup7aIu4pnnlzGz0H+cYckGBC74FZIWJXJSXAmeJ9Yu5Gg2RQpS4hWg== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -726,9 +734,9 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-transform-typescript@^7.1.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.2.0.tgz#bce7c06300434de6a860ae8acf6a442ef74a99d1" - integrity sha512-EnI7i2/gJ7ZNr2MuyvN2Hu+BHJENlxWte5XygPvfj/MbvtOkWor9zcnHpMMQL2YYaaCcqtIvJUyJ7QVfoGs7ew== + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.4.0.tgz#0389ec53a34e80f99f708c4ca311181449a68eb1" + integrity sha512-U7/+zKnRZg04ggM/Bm+xmu2B/PrwyDQTT/V89FXWYWNMxBDwSx56u6jtk9SEbfLFbZaEI72L+5LPvQjeZgFCrQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-typescript" "^7.2.0" @@ -790,48 +798,52 @@ semver "^5.3.0" "@babel/preset-env@^7.1.6", "@babel/preset-env@^7.2.0", "@babel/preset-env@^7.2.3": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.2.3.tgz#948c8df4d4609c99c7e0130169f052ea6a7a8933" - integrity sha512-AuHzW7a9rbv5WXmvGaPX7wADxFkZIqKlbBh1dmZUQp4iwiPpkE/Qnrji6SC4UQCQzvWY/cpHET29eUhXS9cLPw== + version "7.4.2" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.2.tgz#2f5ba1de2daefa9dcca653848f96c7ce2e406676" + integrity sha512-OEz6VOZaI9LW08CWVS3d9g/0jZA6YCn1gsKIy/fut7yZCJti5Lm1/Hi+uo/U+ODm7g4I6gULrCP+/+laT8xAsA== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-async-generator-functions" "^7.2.0" "@babel/plugin-proposal-json-strings" "^7.2.0" - "@babel/plugin-proposal-object-rest-spread" "^7.2.0" + "@babel/plugin-proposal-object-rest-spread" "^7.4.0" "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.2.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.0" "@babel/plugin-syntax-async-generators" "^7.2.0" + "@babel/plugin-syntax-json-strings" "^7.2.0" "@babel/plugin-syntax-object-rest-spread" "^7.2.0" "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" "@babel/plugin-transform-arrow-functions" "^7.2.0" - "@babel/plugin-transform-async-to-generator" "^7.2.0" + "@babel/plugin-transform-async-to-generator" "^7.4.0" "@babel/plugin-transform-block-scoped-functions" "^7.2.0" - "@babel/plugin-transform-block-scoping" "^7.2.0" - "@babel/plugin-transform-classes" "^7.2.0" + "@babel/plugin-transform-block-scoping" "^7.4.0" + "@babel/plugin-transform-classes" "^7.4.0" "@babel/plugin-transform-computed-properties" "^7.2.0" - "@babel/plugin-transform-destructuring" "^7.2.0" + "@babel/plugin-transform-destructuring" "^7.4.0" "@babel/plugin-transform-dotall-regex" "^7.2.0" "@babel/plugin-transform-duplicate-keys" "^7.2.0" "@babel/plugin-transform-exponentiation-operator" "^7.2.0" - "@babel/plugin-transform-for-of" "^7.2.0" + "@babel/plugin-transform-for-of" "^7.4.0" "@babel/plugin-transform-function-name" "^7.2.0" "@babel/plugin-transform-literals" "^7.2.0" "@babel/plugin-transform-modules-amd" "^7.2.0" - "@babel/plugin-transform-modules-commonjs" "^7.2.0" - "@babel/plugin-transform-modules-systemjs" "^7.2.0" + "@babel/plugin-transform-modules-commonjs" "^7.4.0" + "@babel/plugin-transform-modules-systemjs" "^7.4.0" "@babel/plugin-transform-modules-umd" "^7.2.0" - "@babel/plugin-transform-new-target" "^7.0.0" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.4.2" + "@babel/plugin-transform-new-target" "^7.4.0" "@babel/plugin-transform-object-super" "^7.2.0" - "@babel/plugin-transform-parameters" "^7.2.0" - "@babel/plugin-transform-regenerator" "^7.0.0" + "@babel/plugin-transform-parameters" "^7.4.0" + "@babel/plugin-transform-regenerator" "^7.4.0" "@babel/plugin-transform-shorthand-properties" "^7.2.0" "@babel/plugin-transform-spread" "^7.2.0" "@babel/plugin-transform-sticky-regex" "^7.2.0" "@babel/plugin-transform-template-literals" "^7.2.0" "@babel/plugin-transform-typeof-symbol" "^7.2.0" "@babel/plugin-transform-unicode-regex" "^7.2.0" - browserslist "^4.3.4" + "@babel/types" "^7.4.0" + browserslist "^4.4.2" + core-js-compat "^3.0.0" invariant "^2.2.2" js-levenshtein "^1.1.3" semver "^5.3.0" @@ -871,43 +883,43 @@ regenerator-runtime "^0.12.0" "@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.2.0.tgz#b03e42eeddf5898e00646e4c840fa07ba8dcad7f" - integrity sha512-oouEibCbHMVdZSDlJBO6bZmID/zA/G/Qx3H1d3rSNPTD+L8UNKvCat7aKWSJ74zYbm5zWGh0GQN0hKj8zYFTCg== + version "7.4.2" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.2.tgz#f5ab6897320f16decd855eed70b705908a313fe8" + integrity sha512-7Bl2rALb7HpvXFL7TETNzKSAeBVCPHELzc0C//9FCxN8nsiueWSJBqaF+2oIJScyILStASR/Cx5WMkXGYTiJFA== dependencies: - regenerator-runtime "^0.12.0" + regenerator-runtime "^0.13.2" -"@babel/template@^7.1.0", "@babel/template@^7.1.2", "@babel/template@^7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.2.2.tgz#005b3fdf0ed96e88041330379e0da9a708eb2907" - integrity sha512-zRL0IMM02AUDwghf5LMSSDEz7sBCO2YnNmpg3uWTZj/v1rcG2BmQUvaGU8GhU8BvfMh1k2KIAYZ7Ji9KXPUg7g== +"@babel/template@^7.1.0", "@babel/template@^7.2.2", "@babel/template@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.4.0.tgz#12474e9c077bae585c5d835a95c0b0b790c25c8b" + integrity sha512-SOWwxxClTTh5NdbbYZ0BmaBVzxzTh2tO/TeLTbF6MO6EzVhHTnff8CdBXx3mEtazFBoysmEM6GU/wF+SuSx4Fw== dependencies: "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.2.2" - "@babel/types" "^7.2.2" + "@babel/parser" "^7.4.0" + "@babel/types" "^7.4.0" -"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.5", "@babel/traverse@^7.2.2", "@babel/traverse@^7.2.3": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.2.3.tgz#7ff50cefa9c7c0bd2d81231fdac122f3957748d8" - integrity sha512-Z31oUD/fJvEWVR0lNZtfgvVt512ForCTNKYcJBGbPb1QZfve4WGH8Wsy7+Mev33/45fhP/hwQtvgusNdcCMgSw== +"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.4.0.tgz#14006967dd1d2b3494cdd650c686db9daf0ddada" + integrity sha512-/DtIHKfyg2bBKnIN+BItaIlEg5pjAnzHOIQe5w+rHAw/rg9g0V7T4rqPX8BJPfW11kt3koyjAnTNwCzb28Y1PA== dependencies: "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.2.2" + "@babel/generator" "^7.4.0" "@babel/helper-function-name" "^7.1.0" - "@babel/helper-split-export-declaration" "^7.0.0" - "@babel/parser" "^7.2.3" - "@babel/types" "^7.2.2" + "@babel/helper-split-export-declaration" "^7.4.0" + "@babel/parser" "^7.4.0" + "@babel/types" "^7.4.0" debug "^4.1.0" globals "^11.1.0" - lodash "^4.17.10" + lodash "^4.17.11" -"@babel/types@^7.0.0", "@babel/types@^7.1.6", "@babel/types@^7.2.0", "@babel/types@^7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.2.2.tgz#44e10fc24e33af524488b716cdaee5360ea8ed1e" - integrity sha512-fKCuD6UFUMkR541eDWL+2ih/xFZBXPOg/7EQFeTluMDebfqR4jrpaCjLhkWlQS4hT6nRa2PMEgXKbRB5/H2fpg== +"@babel/types@^7.0.0", "@babel/types@^7.1.6", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.4.0.tgz#670724f77d24cce6cc7d8cf64599d511d164894c" + integrity sha512-aPvkXyU2SPOnztlgo8n9cEiXW755mgyvueUPcpStqdzoSPm0fjO0vQBjLkt3JKJW7ufikfcnMTTPsN1xaTsBPA== dependencies: esutils "^2.0.2" - lodash "^4.17.10" + lodash "^4.17.11" to-fast-properties "^2.0.0" "@emotion/cache@^0.8.8": @@ -1028,47 +1040,47 @@ integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== "@storybook/addon-options@^4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-options/-/addon-options-4.1.4.tgz#58765a50d7cf8c1b1ff1cf9e257ce29f8b47912e" - integrity sha512-+XK72SYStpYlfssHHBw6wJu5+KZ+W5nuOChcgEB9fmpbQVd+69tLv8QWaK95ez0/+3KRC7jrHWAzsd8nitQZBQ== + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/addon-options/-/addon-options-4.1.16.tgz#07957ec2c43eedfe7c3524dd6275c662adcaa0d6" + integrity sha512-ttnK7XVvl6iApfqur/Ny/iGEcZOeb/Tj1iYLfZZMv/8XXcSswHrVexi3wHcenrAge09PW45yf570bySqOgRCgQ== dependencies: - "@storybook/addons" "4.1.4" + "@storybook/addons" "4.1.16" core-js "^2.5.7" util-deprecate "^1.0.2" -"@storybook/addons@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-4.1.4.tgz#652c494aa448441f182a36d83d8f05a54f5b5c31" - integrity sha512-h91OXr9eFx3ilST+4rpXpPB3Y6gnJ/ZBps84cgZ69coffTeYfzNHPB1Fu2RVsB1skdSFTF/TnB1bAEzYNZ2cDQ== +"@storybook/addons@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-4.1.16.tgz#f9b63d6086dd094536e39e24e8a6d7e06f7ed7a7" + integrity sha512-RSvlE/yOpEvRaleeeucRlIZkxUK0QvQxPGtcNOy+H/sE2ZIi9DB3bjhFnhWDaeqW8AYHfxA1hzujeO7kWYV0dw== dependencies: - "@storybook/channels" "4.1.4" - "@storybook/components" "4.1.4" + "@storybook/channels" "4.1.16" + "@storybook/components" "4.1.16" global "^4.3.2" util-deprecate "^1.0.2" -"@storybook/channel-postmessage@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-4.1.4.tgz#f63bd2a6a8725e3af2c184dfa27f5eaada5eed23" - integrity sha512-VeZkS6ISoJH/HHl45LlIWKt4uv1YuIeRzrpPJ0ggnSIPvroRfEypQh5svuFuEkHXs5jOPQ6gtFEyxjT+EH+SfQ== +"@storybook/channel-postmessage@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-4.1.16.tgz#ae7bf95ff45c6f868b8cb90a0cc21748ea45ebd2" + integrity sha512-GfmaXKpTs3hT7v0qTlDaJLGiT6nz8nePi89yQfPUGNsZi0xdJZ89H8kLzu/T5K9p8h7adodvfX4vR0lh8xDFUg== dependencies: - "@storybook/channels" "4.1.4" + "@storybook/channels" "4.1.16" global "^4.3.2" json-stringify-safe "^5.0.1" -"@storybook/channels@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-4.1.4.tgz#8ed05f821c55fd359231568d9a94e31ea81a2f82" - integrity sha512-tXKSz58p4o1CiRL9VNUfgMuNeuyUkLLyBfK0tAY0Co370BTfUvMq7clG65+nPj+rdb7foYQQKpnwGYdMVzuzsg== +"@storybook/channels@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-4.1.16.tgz#b935a5e5b762ba0f7ebb6d833e35a57dbfc02858" + integrity sha512-1lQ52C5eGXFuIFxaoaghNpszKSeW0UPF/BU1Yjd3F0k5Ud43PPPhhdQ0CpnWYj+UbfhwWFZmf2bhT/qpzpCQcQ== -"@storybook/client-logger@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-4.1.4.tgz#c87d8d3357cb3eb582249f43692ea82c7c2461e0" - integrity sha512-fOrSNPa4Pg8m9UD8fTUFTewTtuzhckrt6zESpj+P7/MnWM+W71umvobb0HpPBGKvwSC8qJZhOwsH7tNI7K0PAw== +"@storybook/client-logger@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-4.1.16.tgz#be9ffda433fdbf6a3cfe6b99ec62bcea35966140" + integrity sha512-20M2MLxoKYQpSAIYnOBypnPmEPxm91MDV8d2vv5YcPJ7ZtjigOVtyxRL1/SA/2Lo0jd/ZGBgt+XdHjfhreLRmg== -"@storybook/components@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-4.1.4.tgz#9513cb9f224bd9c1a449b8ff85bcf03e5572e0bd" - integrity sha512-H0SMPt/zF1zfyCqUTwx0RcaRbviiz9vdxXWO4jURfgULhGpP+mQRXz0KUn2k7s/RMerTtpB4/DKNKm0zDylcNQ== +"@storybook/components@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-4.1.16.tgz#fb850b8a16142c570b550a8b62035734d519b2b5" + integrity sha512-pAUSLRhu8Gm7HI0CA3GDkBlDgQdiPQkC+CBheX992lg+pbGNb9sAuclFDsGZCJwq2XURkbgKxJFuqcitO5F38g== dependencies: "@emotion/core" "^0.13.1" "@emotion/provider" "^0.11.2" @@ -1081,27 +1093,27 @@ react-textarea-autosize "^7.0.4" render-fragment "^0.1.1" -"@storybook/core-events@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-4.1.4.tgz#e20eff66c2683989fe1d9aa02aa9c1e28d15a927" - integrity sha512-N/yQOwNMyPZQEj0Q2ZN/DEm+A9TvCMzL24w7f1JC2W2sSrnzMKPQabSIk2rzH2gJwc4Z2EyVI4AgPTocBwCHNA== +"@storybook/core-events@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-4.1.16.tgz#1f159c3086ae26681f468be4d56e7d388302f662" + integrity sha512-uVZzo3lcBKp/lly2Bt9q2AcZULXVVqGGqtHunRBFrbmJhJnNNr7G6XpajdQOcT6uo6eQ0xEEPMp0wn1+yh863A== -"@storybook/core@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-4.1.4.tgz#69f4fdf083160d71d309347d51b7037afdac1eee" - integrity sha512-nniqbFVszHhvca33uDft0ErUuaKkAul17Tke4EOvP0xb0/4sFj6CL1B2KTMUdsarlq+dcNXdKP0+e5skgwojvg== +"@storybook/core@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/core/-/core-4.1.16.tgz#83a670f6dad4549248b583d18d3a7992981388f5" + integrity sha512-ZPHiV0KJW5WCQh4vF3PWvDGrGCJ/Ebpqfx5WiBmIpYJoabRYsXuK+brkiH0tP5NKSLcSYEAZ/TV2I75aaQ1uGA== dependencies: "@babel/plugin-proposal-class-properties" "^7.2.0" "@babel/preset-env" "^7.2.0" "@emotion/core" "^0.13.1" "@emotion/provider" "^0.11.2" "@emotion/styled" "^0.10.6" - "@storybook/addons" "4.1.4" - "@storybook/channel-postmessage" "4.1.4" - "@storybook/client-logger" "4.1.4" - "@storybook/core-events" "4.1.4" - "@storybook/node-logger" "4.1.4" - "@storybook/ui" "4.1.4" + "@storybook/addons" "4.1.16" + "@storybook/channel-postmessage" "4.1.16" + "@storybook/client-logger" "4.1.16" + "@storybook/core-events" "4.1.16" + "@storybook/node-logger" "4.1.16" + "@storybook/ui" "4.1.16" airbnb-js-shims "^1 || ^2" autoprefixer "^9.3.1" babel-plugin-macros "^2.4.2" @@ -1143,6 +1155,7 @@ redux "^4.0.1" regenerator-runtime "^0.12.1" resolve "^1.8.1" + resolve-from "^4.0.0" semver "^5.6.0" serve-favicon "^2.5.0" shelljs "^0.8.2" @@ -1164,10 +1177,10 @@ "@storybook/react-simple-di" "^1.2.1" babel-runtime "6.x.x" -"@storybook/node-logger@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-4.1.4.tgz#3f2255a01fcbcd875be7b334833fd775a0338058" - integrity sha512-jMepAkeeYY29kQEgbWMpTCCiV2P8fMhEwOudBBlq+QUj0Ugkchh2tfp5ViZ52aqQeZtoGJA8++rVSAKaTYkhOA== +"@storybook/node-logger@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-4.1.16.tgz#8606704fbdf09480f19b2e5cf0dbec19dbfd9b09" + integrity sha512-+nfd4Q96h/qr+Vx7JDKtaOhT13KxYqOgA7QdB6CD8X5O/4ibB8W/4arGWc1SZBOWIvlG/ry2KuS/1sGmY1WlkA== dependencies: chalk "^2.4.1" core-js "^2.5.7" @@ -1212,16 +1225,16 @@ babel-runtime "^6.5.0" "@storybook/react@^4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-4.1.4.tgz#29b7bbee6b6f5cf9b8b2c5ed796cfcb144c572b5" - integrity sha512-W4H3JKkmI9QWvJzCLTETMrESKjnYU0alutd45Jz6Oie/eniGmZZDHoq40TpQNafchc5StBiqq9zbq0axy9UMPA== + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-4.1.16.tgz#50a207b7051a1535cec4ddf8156ede796efdaed6" + integrity sha512-tsUYa01mFIAWsCn7qSZjl3wWFsr8ybOV3ub4hstxDul0gj3r4hz0Ftyije7mCShoK2CwT3RASkdni/aRDzN3GQ== dependencies: "@babel/plugin-transform-react-constant-elements" "^7.2.0" "@babel/preset-flow" "^7.0.0" "@babel/preset-react" "^7.0.0" "@emotion/styled" "^0.10.6" - "@storybook/core" "4.1.4" - "@storybook/node-logger" "4.1.4" + "@storybook/core" "4.1.16" + "@storybook/node-logger" "4.1.16" "@svgr/webpack" "^4.0.3" babel-plugin-named-asset-import "^0.2.3" babel-plugin-react-docgen "^2.0.0" @@ -1237,16 +1250,16 @@ semver "^5.6.0" webpack "^4.23.1" -"@storybook/ui@4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-4.1.4.tgz#519118ad41430115359b245384854cb3388ed53f" - integrity sha512-qP7aDHxHBShU8MACnDsfR7LaOYvGcpRKF99yO3eygmHGJNyt7DHvxa5MnUOnsB30nRhcPuEPEWbVsamLQOUg3Q== +"@storybook/ui@4.1.16": + version "4.1.16" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-4.1.16.tgz#a36c92b77c9f2408fefd0dd797ef764fe8f39a89" + integrity sha512-uBRTkSYapF/es2T0gIWZHcbXOt8gq+xIWvrEdFXjqX2diUC0k//6dN0k/+y4DQ4zdj0+g9SkiS81nOBvw7iTBw== dependencies: "@emotion/core" "^0.13.1" "@emotion/provider" "^0.11.2" "@emotion/styled" "^0.10.6" - "@storybook/components" "4.1.4" - "@storybook/core-events" "4.1.4" + "@storybook/components" "4.1.16" + "@storybook/core-events" "4.1.16" "@storybook/mantra-core" "^1.7.2" "@storybook/podda" "^1.2.3" "@storybook/react-komposer" "^2.0.5" @@ -1258,6 +1271,8 @@ lodash "^4.17.11" prop-types "^15.6.2" qs "^6.5.2" + react "^16.7.0" + react-dom "^16.7.0" react-fuzzy "^0.5.2" react-lifecycles-compat "^3.0.4" react-modal "^3.6.1" @@ -1378,20 +1393,20 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/node@*": - version "10.12.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" - integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== +"@types/node@*", "@types/node@^11.11.6": + version "11.11.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== "@types/q@^1.5.1": - version "1.5.1" - resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18" - integrity sha512-eqz8c/0kwNi/OEHQfvIuJVLTst3in0e7uTKeuY+WL/zfKn0xVujOTp42bS/vUUokhK5P2BppLd9JXMOMHcgbjA== + version "1.5.2" + resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" + integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== "@types/unist@*", "@types/unist@^2.0.0": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.2.tgz#5dc0a7f76809b7518c0df58689cd16a19bd751c6" - integrity sha512-iHI60IbyfQilNubmxsq4zqSjdynlmc2Q/QvH9kjzg9+CCYVVzq1O6tc7VBzSygIwnmOt07w80IG6HDQvjv3Liw== + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" + integrity sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ== "@types/vfile-message@*": version "1.0.1" @@ -1410,158 +1425,161 @@ "@types/unist" "*" "@types/vfile-message" "*" -"@webassemblyjs/ast@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.7.11.tgz#b988582cafbb2b095e8b556526f30c90d057cace" - integrity sha512-ZEzy4vjvTzScC+SH8RBssQUawpaInUdMTYwYYLh54/s8TuT0gBLuyUnppKsVyZEi876VmmStKsUs28UxPgdvrA== - dependencies: - "@webassemblyjs/helper-module-context" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/wast-parser" "1.7.11" - -"@webassemblyjs/floating-point-hex-parser@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.11.tgz#a69f0af6502eb9a3c045555b1a6129d3d3f2e313" - integrity sha512-zY8dSNyYcgzNRNT666/zOoAyImshm3ycKdoLsyDw/Bwo6+/uktb7p4xyApuef1dwEBo/U/SYQzbGBvV+nru2Xg== - -"@webassemblyjs/helper-api-error@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.11.tgz#c7b6bb8105f84039511a2b39ce494f193818a32a" - integrity sha512-7r1qXLmiglC+wPNkGuXCvkmalyEstKVwcueZRP2GNC2PAvxbLYwLLPr14rcdJaE4UtHxQKfFkuDFuv91ipqvXg== - -"@webassemblyjs/helper-buffer@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.11.tgz#3122d48dcc6c9456ed982debe16c8f37101df39b" - integrity sha512-MynuervdylPPh3ix+mKZloTcL06P8tenNH3sx6s0qE8SLR6DdwnfgA7Hc9NSYeob2jrW5Vql6GVlsQzKQCa13w== - -"@webassemblyjs/helper-code-frame@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.11.tgz#cf8f106e746662a0da29bdef635fcd3d1248364b" - integrity sha512-T8ESC9KMXFTXA5urJcyor5cn6qWeZ4/zLPyWeEXZ03hj/x9weSokGNkVCdnhSabKGYWxElSdgJ+sFa9G/RdHNw== - dependencies: - "@webassemblyjs/wast-printer" "1.7.11" - -"@webassemblyjs/helper-fsm@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.11.tgz#df38882a624080d03f7503f93e3f17ac5ac01181" - integrity sha512-nsAQWNP1+8Z6tkzdYlXT0kxfa2Z1tRTARd8wYnc/e3Zv3VydVVnaeePgqUzFrpkGUyhUUxOl5ML7f1NuT+gC0A== - -"@webassemblyjs/helper-module-context@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.11.tgz#d874d722e51e62ac202476935d649c802fa0e209" - integrity sha512-JxfD5DX8Ygq4PvXDucq0M+sbUFA7BJAv/GGl9ITovqE+idGX+J3QSzJYz+LwQmL7fC3Rs+utvWoJxDb6pmC0qg== - -"@webassemblyjs/helper-wasm-bytecode@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.11.tgz#dd9a1e817f1c2eb105b4cf1013093cb9f3c9cb06" - integrity sha512-cMXeVS9rhoXsI9LLL4tJxBgVD/KMOKXuFqYb5oCJ/opScWpkCMEz9EJtkonaNcnLv2R3K5jIeS4TRj/drde1JQ== - -"@webassemblyjs/helper-wasm-section@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.11.tgz#9c9ac41ecf9fbcfffc96f6d2675e2de33811e68a" - integrity sha512-8ZRY5iZbZdtNFE5UFunB8mmBEAbSI3guwbrsCl4fWdfRiAcvqQpeqd5KHhSWLL5wuxo53zcaGZDBU64qgn4I4Q== - dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-buffer" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/wasm-gen" "1.7.11" - -"@webassemblyjs/ieee754@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.7.11.tgz#c95839eb63757a31880aaec7b6512d4191ac640b" - integrity sha512-Mmqx/cS68K1tSrvRLtaV/Lp3NZWzXtOHUW2IvDvl2sihAwJh4ACE0eL6A8FvMyDG9abes3saB6dMimLOs+HMoQ== +"@webassemblyjs/ast@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" + integrity sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ== + dependencies: + "@webassemblyjs/helper-module-context" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/wast-parser" "1.8.5" + +"@webassemblyjs/floating-point-hex-parser@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz#1ba926a2923613edce496fd5b02e8ce8a5f49721" + integrity sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ== + +"@webassemblyjs/helper-api-error@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz#c49dad22f645227c5edb610bdb9697f1aab721f7" + integrity sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA== + +"@webassemblyjs/helper-buffer@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz#fea93e429863dd5e4338555f42292385a653f204" + integrity sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q== + +"@webassemblyjs/helper-code-frame@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz#9a740ff48e3faa3022b1dff54423df9aa293c25e" + integrity sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ== + dependencies: + "@webassemblyjs/wast-printer" "1.8.5" + +"@webassemblyjs/helper-fsm@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz#ba0b7d3b3f7e4733da6059c9332275d860702452" + integrity sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow== + +"@webassemblyjs/helper-module-context@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz#def4b9927b0101dc8cbbd8d1edb5b7b9c82eb245" + integrity sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g== + dependencies: + "@webassemblyjs/ast" "1.8.5" + mamacro "^0.0.3" + +"@webassemblyjs/helper-wasm-bytecode@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz#537a750eddf5c1e932f3744206551c91c1b93e61" + integrity sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ== + +"@webassemblyjs/helper-wasm-section@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz#74ca6a6bcbe19e50a3b6b462847e69503e6bfcbf" + integrity sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA== + dependencies: + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-buffer" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/wasm-gen" "1.8.5" + +"@webassemblyjs/ieee754@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz#712329dbef240f36bf57bd2f7b8fb9bf4154421e" + integrity sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.7.11.tgz#d7267a1ee9c4594fd3f7e37298818ec65687db63" - integrity sha512-vuGmgZjjp3zjcerQg+JA+tGOncOnJLWVkt8Aze5eWQLwTQGNgVLcyOTqgSCxWTR4J42ijHbBxnuRaL1Rv7XMdw== - dependencies: - "@xtuc/long" "4.2.1" - -"@webassemblyjs/utf8@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.7.11.tgz#06d7218ea9fdc94a6793aa92208160db3d26ee82" - integrity sha512-C6GFkc7aErQIAH+BMrIdVSmW+6HSe20wg57HEC1uqJP8E/xpMjXqQUxkQw07MhNDSDcGpxI9G5JSNOQCqJk4sA== - -"@webassemblyjs/wasm-edit@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.11.tgz#8c74ca474d4f951d01dbae9bd70814ee22a82005" - integrity sha512-FUd97guNGsCZQgeTPKdgxJhBXkUbMTY6hFPf2Y4OedXd48H97J+sOY2Ltaq6WGVpIH8o/TGOVNiVz/SbpEMJGg== - dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-buffer" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/helper-wasm-section" "1.7.11" - "@webassemblyjs/wasm-gen" "1.7.11" - "@webassemblyjs/wasm-opt" "1.7.11" - "@webassemblyjs/wasm-parser" "1.7.11" - "@webassemblyjs/wast-printer" "1.7.11" - -"@webassemblyjs/wasm-gen@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.11.tgz#9bbba942f22375686a6fb759afcd7ac9c45da1a8" - integrity sha512-U/KDYp7fgAZX5KPfq4NOupK/BmhDc5Kjy2GIqstMhvvdJRcER/kUsMThpWeRP8BMn4LXaKhSTggIJPOeYHwISA== - dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/ieee754" "1.7.11" - "@webassemblyjs/leb128" "1.7.11" - "@webassemblyjs/utf8" "1.7.11" - -"@webassemblyjs/wasm-opt@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.11.tgz#b331e8e7cef8f8e2f007d42c3a36a0580a7d6ca7" - integrity sha512-XynkOwQyiRidh0GLua7SkeHvAPXQV/RxsUeERILmAInZegApOUAIJfRuPYe2F7RcjOC9tW3Cb9juPvAC/sCqvg== - dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-buffer" "1.7.11" - "@webassemblyjs/wasm-gen" "1.7.11" - "@webassemblyjs/wasm-parser" "1.7.11" - -"@webassemblyjs/wasm-parser@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.11.tgz#6e3d20fa6a3519f6b084ef9391ad58211efb0a1a" - integrity sha512-6lmXRTrrZjYD8Ng8xRyvyXQJYUQKYSXhJqXOBLw24rdiXsHAOlvw5PhesjdcaMadU/pyPQOJ5dHreMjBxwnQKg== - dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-api-error" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/ieee754" "1.7.11" - "@webassemblyjs/leb128" "1.7.11" - "@webassemblyjs/utf8" "1.7.11" - -"@webassemblyjs/wast-parser@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.7.11.tgz#25bd117562ca8c002720ff8116ef9072d9ca869c" - integrity sha512-lEyVCg2np15tS+dm7+JJTNhNWq9yTZvi3qEhAIIOaofcYlUp0UR5/tVqOwa/gXYr3gjwSZqw+/lS9dscyLelbQ== - dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/floating-point-hex-parser" "1.7.11" - "@webassemblyjs/helper-api-error" "1.7.11" - "@webassemblyjs/helper-code-frame" "1.7.11" - "@webassemblyjs/helper-fsm" "1.7.11" - "@xtuc/long" "4.2.1" - -"@webassemblyjs/wast-printer@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.7.11.tgz#c4245b6de242cb50a2cc950174fdbf65c78d7813" - integrity sha512-m5vkAsuJ32QpkdkDOUPGSltrg8Cuk3KBx4YrmAGQwCZPRdUHXxG4phIOuuycLemHFr74sWL9Wthqss4fzdzSwg== - dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/wast-parser" "1.7.11" - "@xtuc/long" "4.2.1" +"@webassemblyjs/leb128@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.8.5.tgz#044edeb34ea679f3e04cd4fd9824d5e35767ae10" + integrity sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A== + dependencies: + "@xtuc/long" "4.2.2" + +"@webassemblyjs/utf8@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.8.5.tgz#a8bf3b5d8ffe986c7c1e373ccbdc2a0915f0cedc" + integrity sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw== + +"@webassemblyjs/wasm-edit@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz#962da12aa5acc1c131c81c4232991c82ce56e01a" + integrity sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q== + dependencies: + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-buffer" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/helper-wasm-section" "1.8.5" + "@webassemblyjs/wasm-gen" "1.8.5" + "@webassemblyjs/wasm-opt" "1.8.5" + "@webassemblyjs/wasm-parser" "1.8.5" + "@webassemblyjs/wast-printer" "1.8.5" + +"@webassemblyjs/wasm-gen@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz#54840766c2c1002eb64ed1abe720aded714f98bc" + integrity sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg== + dependencies: + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/ieee754" "1.8.5" + "@webassemblyjs/leb128" "1.8.5" + "@webassemblyjs/utf8" "1.8.5" + +"@webassemblyjs/wasm-opt@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz#b24d9f6ba50394af1349f510afa8ffcb8a63d264" + integrity sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q== + dependencies: + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-buffer" "1.8.5" + "@webassemblyjs/wasm-gen" "1.8.5" + "@webassemblyjs/wasm-parser" "1.8.5" + +"@webassemblyjs/wasm-parser@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz#21576f0ec88b91427357b8536383668ef7c66b8d" + integrity sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw== + dependencies: + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-api-error" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/ieee754" "1.8.5" + "@webassemblyjs/leb128" "1.8.5" + "@webassemblyjs/utf8" "1.8.5" + +"@webassemblyjs/wast-parser@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz#e10eecd542d0e7bd394f6827c49f3df6d4eefb8c" + integrity sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg== + dependencies: + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/floating-point-hex-parser" "1.8.5" + "@webassemblyjs/helper-api-error" "1.8.5" + "@webassemblyjs/helper-code-frame" "1.8.5" + "@webassemblyjs/helper-fsm" "1.8.5" + "@xtuc/long" "4.2.2" + +"@webassemblyjs/wast-printer@1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz#114bbc481fd10ca0e23b3560fa812748b0bae5bc" + integrity sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg== + dependencies: + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/wast-parser" "1.8.5" + "@xtuc/long" "4.2.2" "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== -"@xtuc/long@4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.1.tgz#5c85d662f76fa1d34575766c5dcd6615abcd30d8" - integrity sha512-FZdkNBDqBRHKQ2MEbSC17xnPFOhZxeJ2YGSfr2BKf3sujG49Qe3bB+rGCwQfIaA7WHnGeGkSijX4FuBCdrzW/g== +"@xtuc/long@4.2.2": + version "4.2.2" + resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" + integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== JSONStream@^1.0.4: version "1.3.5" @@ -1584,12 +1602,10 @@ accepts@~1.3.5: mime-types "~2.1.18" negotiator "0.6.1" -acorn-dynamic-import@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz#901ceee4c7faaef7e07ad2a47e890675da50a278" - integrity sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg== - dependencies: - acorn "^5.0.0" +acorn-dynamic-import@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz#482210140582a36b83c3e342e1cfebcaa9240948" + integrity sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw== acorn-jsx@^3.0.0: version "3.0.1" @@ -1608,20 +1624,15 @@ acorn@^3.0.4: resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" integrity sha1-ReN/s56No/JbruP/U2niu18iAXo= -acorn@^5.0.0, acorn@^5.6.2: +acorn@^5.5.0: version "5.7.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== -acorn@^5.5.0: - version "5.5.3" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.3.tgz#f473dd47e0277a08e28e9bec5aeeb04751f0b8c9" - integrity sha512-jd5MkIUlbbmb07nXH0DT3y7rDVtkzDi4XZOUVWAer8ajmF/DTSSbl5oNFyDOl/OXA33Bl79+ypHhl2pN20VeOQ== - -acorn@^6.0.2, acorn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.0.5.tgz#81730c0815f3f3b34d8efa95cb7430965f4d887a" - integrity sha512-i33Zgp3XWtmZBMNvCr4azvOFeWVw1Rk6p3hfi3LUDvIFraOMywb1kAtrbi+med14m4Xfpqm3zRZMT+c0FNE7kg== +acorn@^6.0.2, acorn@^6.0.5, acorn@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.1.tgz#7d25ae05bb8ad1f9b699108e1094ecd7884adc1f" + integrity sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA== address@1.0.3, address@^1.0.1: version "1.0.3" @@ -1660,9 +1671,9 @@ ajv-keywords@^2.1.0: integrity sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I= ajv-keywords@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a" - integrity sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo= + version "3.4.0" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.0.tgz#4b831e7b531415a7cc518cd404e73f6193c6349d" + integrity sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw== ajv@^5.2.3, ajv@^5.3.0: version "5.5.2" @@ -1675,9 +1686,9 @@ ajv@^5.2.3, ajv@^5.3.0: json-schema-traverse "^0.3.0" ajv@^6.1.0, ajv@^6.5.5: - version "6.6.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.6.2.tgz#caceccf474bf3fc3ce3b147443711a24063cc30d" - integrity sha512-FBHEW6Jf5TB9MGBgUUA9XHkTbjXYfAUjY43ACMfmdMRHniyoMHjHjzD50OK8LGDWQwp4rWEsIq5kEqq7rvIM1g== + version "6.10.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.0.tgz#90d0d54439da587cd7e843bfb7045f50bd22bdf1" + integrity sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg== dependencies: fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" @@ -1697,14 +1708,14 @@ ansi-align@^3.0.0: string-width "^3.0.0" ansi-colors@^3.0.0: - version "3.2.3" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813" - integrity sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw== + version "3.2.4" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" + integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== -ansi-escapes@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" - integrity sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw== +ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" + integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== ansi-html@0.0.7: version "0.0.7" @@ -1721,10 +1732,10 @@ ansi-regex@^3.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= -ansi-regex@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.0.0.tgz#70de791edf021404c3fd615aa89118ae0432e5a9" - integrity sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w== +ansi-regex@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" + integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== ansi-styles@^2.2.1: version "2.2.1" @@ -1757,9 +1768,9 @@ aproba@^1.0.3, aproba@^1.1.1: integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== are-we-there-yet@~1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" - integrity sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0= + version "1.1.5" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" + integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== dependencies: delegates "^1.0.0" readable-stream "^2.0.6" @@ -1779,19 +1790,12 @@ aria-query@^3.0.0: ast-types-flow "0.0.7" commander "^2.11.0" -arr-diff@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" - integrity sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8= - dependencies: - arr-flatten "^1.0.1" - arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= -arr-flatten@^1.0.1, arr-flatten@^1.1.0: +arr-flatten@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== @@ -1806,6 +1810,11 @@ array-differ@^1.0.0: resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031" integrity sha1-7/UuN1gknTO+QCuLuOVkuytdQDE= +array-differ@^2.0.3: + version "2.1.0" + resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-2.1.0.tgz#4b9c1c3f14b906757082925769e8ab904f4801b1" + integrity sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w== + array-filter@~0.0.0: version "0.0.1" resolved "https://registry.yarnpkg.com/array-filter/-/array-filter-0.0.1.tgz#7da8cf2e26628ed732803581fd21f67cacd2eeec" @@ -1844,7 +1853,7 @@ array-reduce@~0.0.0: resolved "https://registry.yarnpkg.com/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b" integrity sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys= -array-union@^1.0.1: +array-union@^1.0.1, array-union@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= @@ -1856,11 +1865,6 @@ array-uniq@^1.0.1: resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= -array-unique@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" - integrity sha1-odl8yvy8JiXMcPrc6zalDFiwGlM= - array-unique@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" @@ -1904,9 +1908,11 @@ asn1.js@^4.0.0: minimalistic-assert "^1.0.0" asn1@~0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" - integrity sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y= + version "0.2.4" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" + integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== + dependencies: + safer-buffer "~2.1.0" assert-plus@1.0.0, assert-plus@^1.0.0: version "1.0.0" @@ -1930,15 +1936,20 @@ ast-types-flow@0.0.7, ast-types-flow@^0.0.7: resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" integrity sha1-9wtzXGvKGlycItmCw+Oef+ujva0= -ast-types@0.11.6: - version "0.11.6" - resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.6.tgz#4e2266c2658829aef3b40cc33ad599c4e9eb89ef" - integrity sha512-nHiuV14upVGl7MWwFUYbzJ6YlfwWS084CU9EA8HajfYQjMSli5TQi3UTRygGF58LFWVkXxS1rbgRhROEqlQkXg== +ast-types@0.11.3: + version "0.11.3" + resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.3.tgz#c20757fe72ee71278ea0ff3d87e5c2ca30d9edf8" + integrity sha512-XA5o5dsNw8MhyW0Q7MWXJWc4oOzZKbdsEJq45h7c8q/d9DwWZ5F2ugUc1PuMLPGsUnphCt/cNDHu8JeBbxf1qA== -async-each@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" - integrity sha1-GdOGodntxufByF04iu28xW0zYC0= +ast-types@0.11.7: + version "0.11.7" + resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.7.tgz#f318bf44e339db6a320be0009ded64ec1471f46c" + integrity sha512-2mP3TwtkY/aTv5X3ZsMpNAbOnyoC/aMJwJSoaELPkHId0nSQgFcnU4dRW3isxiz7+zBexk0ym3WNVjMiQBnJSw== + +async-each@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.2.tgz#8b8a7ca2a658f927e9f307d6d1a42f4199f0f735" + integrity sha512-6xrbvN0MOBKSJDdonmSSz2OwFSgxRaVtBDes26mj9KIGtDo+g9xosFRSC+i1gQh2oAN/tQ62AI/pGZGQjVOiRg== async-foreach@^0.1.3: version "0.1.3" @@ -1950,12 +1961,12 @@ async@^1.5.0: resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo= -async@^2.1.4, async@^2.5.0: - version "2.6.1" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" - integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ== +async@^2.1.4: + version "2.6.2" + resolved "https://registry.yarnpkg.com/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381" + integrity sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg== dependencies: - lodash "^4.17.10" + lodash "^4.17.11" asynckit@^0.4.0: version "0.4.0" @@ -1980,15 +1991,15 @@ autoprefixer@^6.3.6: postcss-value-parser "^3.2.3" autoprefixer@^9.3.1: - version "9.4.4" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.4.4.tgz#40c42b335bdb22efe8cd80389ca82ffb5e32d68d" - integrity sha512-7tpjBadJyHKf+gOJEmKhZIksWxdZCSrnKbbTJNsw+/zX9+f//DLELRQPWjjjVoDbbWlCuNRkN7RfmZwDVgWMLw== + version "9.5.0" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.5.0.tgz#7e51d0355c11596e6cf9a0afc9a44e86d1596c70" + integrity sha512-hMKcyHsZn5+qL6AUeP3c8OyuteZ4VaUlg+fWbyl8z7PqsKHF/Bf8/px3K6AT8aMzDkBo8Bc11245MM+itDBOxQ== dependencies: - browserslist "^4.3.7" - caniuse-lite "^1.0.30000926" + browserslist "^4.4.2" + caniuse-lite "^1.0.30000947" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^7.0.7" + postcss "^7.0.14" postcss-value-parser "^3.3.1" aws-sign2@~0.7.0: @@ -2100,9 +2111,9 @@ babel-plugin-macros@2.4.2: resolve "^1.8.1" babel-plugin-macros@^2.4.2: - version "2.4.4" - resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.4.4.tgz#d7bb55ba6473094ac0e1087fbceb062ebfd2337f" - integrity sha512-PODLcF8vhB2eC0zZ5s67sBQPLlT0YdINd4/2erTgtyVG5q5cLfsxtSmP8wleeFDH8SZpeLXAStqqFOyfIqccqg== + version "2.5.0" + resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.5.0.tgz#01f4d3b50ed567a67b80a30b9da066e94f4097b6" + integrity sha512-BWw0lD0kVZAXRD3Od1kMrdmfudqzDzYv2qrN3l2ISR1HVp1EgLKfbOrYV9xmY5k3qx3RIu5uPAUZZZHpo0o5Iw== dependencies: cosmiconfig "^5.0.5" resolve "^1.8.1" @@ -2187,17 +2198,18 @@ babel-plugin-named-asset-import@^0.2.3: integrity sha512-9mx2Z9M4EGbutvXxoLV7aUBCY6ps3sqLFl094FeA2tFQzQffIh0XSsmwwQRxiSfpg3rnb5x/o46qRLxS/OzFTg== babel-plugin-react-docgen@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-2.0.0.tgz#039d90f5a1a37131c8cc3015017eecafa8d78882" - integrity sha512-AaA6IPxCF1EkzpFG41GkVh/VGdoBejPF6oIub2K8E6AD3kwnTZ0DIKG7f20a7zmqBEeO8GkFWdM7tYd9Owkc+Q== + version "2.0.2" + resolved "https://registry.yarnpkg.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-2.0.2.tgz#3307e27414c370365710576b7fadbcaf8984d862" + integrity sha512-fFendfUUU2KqqE1ki2NyQoZm4uHPoEWPUgBZiPBiowcPZos+4q+chdQh0nlwY5hxs08AMHSH4Pp98RQL0VFS/g== dependencies: lodash "^4.17.10" - react-docgen "^3.0.0-rc.1" + react-docgen "^3.0.0" + recast "^0.14.7" babel-plugin-transform-async-to-promises@^0.8.4: - version "0.8.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-promises/-/babel-plugin-transform-async-to-promises-0.8.4.tgz#f0ffd0db2b1fa1bee1b723fe651dc412d75aabb7" - integrity sha512-2lS63lG9z0pMpnd6D+dOctOgZ0QQlYZrPSMzx9IeJpSZo3MuFD09LfG12PRSIkJr7v2UkcnYKfBJRx39X4Di4w== + version "0.8.7" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-promises/-/babel-plugin-transform-async-to-promises-0.8.7.tgz#8e9d214f54a0fabba4088dda4c8df214d4698429" + integrity sha512-znRrOjUy8gDHs6c40dpqVnYrzvCEWyISnLVS1U1ZJvahX2YF19tI8Rq3tI7u7SFe4bE48oceEVY437pYDnRYpQ== babel-plugin-transform-inline-consecutive-adds@^0.4.3: version "0.4.3" @@ -2354,9 +2366,9 @@ base@^0.11.1: pascalcase "^0.1.1" bcrypt-pbkdf@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" - integrity sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40= + version "1.0.2" + resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" + integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= dependencies: tweetnacl "^0.14.3" @@ -2371,9 +2383,9 @@ big.js@^5.2.2: integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== binary-extensions@^1.0.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" - integrity sha1-RqoXUftqL5PuXmibsQh9SxTGwgU= + version "1.13.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.0.tgz#9523e001306a32444b907423f1de2164222f6ab1" + integrity sha512-EgmjVLMn22z7eGGv3kcnHwSnJXmFHjISTY9E/S5lIcTD3Oxw05QTcBLNkJFzcb3cNueUdF/IN4U+d78V0zO8Hw== bl@^1.0.0: version "1.2.2" @@ -2390,16 +2402,11 @@ block-stream@*: dependencies: inherits "~2.0.0" -bluebird@^3.3.5, bluebird@^3.5.3: +bluebird@^3.3.5, bluebird@^3.4.7, bluebird@^3.5.3: version "3.5.3" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw== -bluebird@^3.4.7: - version "3.5.1" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" - integrity sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== - bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: version "4.11.8" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" @@ -2447,16 +2454,7 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^1.8.2: - version "1.8.5" - resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" - integrity sha1-uneWLhLf+WnWt2cR6RS3N4V79qc= - dependencies: - expand-range "^1.8.1" - preserve "^0.2.0" - repeat-element "^1.1.2" - -braces@^2.3.0, braces@^2.3.1: +braces@^2.3.1, braces@^2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== @@ -2561,14 +2559,14 @@ browserslist@^1.7.6: caniuse-db "^1.0.30000639" electron-to-chromium "^1.2.7" -browserslist@^4.1.0, browserslist@^4.3.4, browserslist@^4.3.7: - version "4.3.7" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.3.7.tgz#f1de479a6466ea47a0a26dcc725e7504817e624a" - integrity sha512-pWQv51Ynb0MNk9JGMCZ8VkM785/4MQNXiFYtPqI7EEP0TJO+/d/NqRVn1uiAN0DNbnlUSpL2sh16Kspasv3pUQ== +browserslist@^4.1.0, browserslist@^4.4.2, browserslist@^4.5.1: + version "4.5.2" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.5.2.tgz#36ad281f040af684555a23c780f5c2081c752df0" + integrity sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ== dependencies: - caniuse-lite "^1.0.30000925" - electron-to-chromium "^1.3.96" - node-releases "^1.1.3" + caniuse-lite "^1.0.30000951" + electron-to-chromium "^1.3.116" + node-releases "^1.1.11" buf-compare@^1.0.0: version "1.0.1" @@ -2594,9 +2592,9 @@ buffer-fill@^1.0.0: integrity sha1-+PeLdniYiO858gXNY39o5wISKyw= buffer-from@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.0.0.tgz#4cb8832d23612589b0406e9e2956c17f06fdf531" - integrity sha512-83apNb8KK0Se60UE1+4Ukbe3HbfELJ6UlI4ldtOGs7So4KD26orJM8hIY9lxdzP+UpItH1Yh/Y8GUvNFWFFRxA== + version "1.1.1" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" + integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== buffer-xor@^1.0.3: version "1.0.3" @@ -2612,11 +2610,6 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" -builtin-modules@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" - integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= - builtin-modules@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.0.0.tgz#1e587d44b006620d90286cc7a9238bbc6129cab1" @@ -2743,25 +2736,25 @@ camelcase@^4.1.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= -camelcase@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.0.0.tgz#03295527d58bd3cd4aa75363f35b2e8d97be2f42" - integrity sha512-faqwZqnWxbxn+F1d399ygeamQNy3lPp/H9H6rNrqYh4FSVCtcY+3cub1MxA8o9mDd55mM8Aghuu/kuyYA6VTsA== +camelcase@^5.0.0, camelcase@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.2.0.tgz#e7522abda5ed94cc0489e1b8466610e88404cf45" + integrity sha512-IXFsBS2pC+X0j0N/GE7Dm7j3bsEBp+oTpb7F50dwEVX7rf3IgwO9XatnegTsDtniKCUtEJH4fSU6Asw7uoVLfQ== caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: - version "1.0.30000842" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000842.tgz#8a82c377b8b3d6f2594478e8431ff4fd303e160c" - integrity sha1-ioLDd7iz1vJZRHjoQx/0/TA+Fgw= + version "1.0.30000951" + resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000951.tgz#64a5d491c8164a4f81ce9f3ab906b61df9a61b1a" + integrity sha512-Nb8bgexT3HDxPMFOLcT5kol/dHsXpPiiFLU079+msbSBTsq9zZaCpzqDb122+9B9woZnTG5Z8lt+3adIaxKj2A== -caniuse-lite@^1.0.30000884, caniuse-lite@^1.0.30000925, caniuse-lite@^1.0.30000926: - version "1.0.30000927" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000927.tgz#114a9de4ff1e01f5790fe578ecd93421c7524665" - integrity sha512-ogq4NbUWf1uG/j66k0AmiO3GjqJAlQyF8n4w8a954cbCyFKmYGvRtgz6qkq2fWuduTXHibX7GyYL5Pg58Aks2g== +caniuse-lite@^1.0.30000884, caniuse-lite@^1.0.30000947, caniuse-lite@^1.0.30000951: + version "1.0.30000951" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000951.tgz#c7c2fd4d71080284c8677dd410368df8d83688fe" + integrity sha512-eRhP+nQ6YUkIcNQ6hnvdhMkdc7n3zadog0KXNRxAZTT2kHjUb1yGn71OrPhSn8MOvlX97g5CR97kGVj8fMsXWg== case-sensitive-paths-webpack-plugin@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.1.2.tgz#c899b52175763689224571dad778742e133f0192" - integrity sha512-oEZgAFfEvKtjSRCu6VgYkuGxwrWXMnQzyBmlLPP7r6PWQVtHxP5Z5N6XsuJvtoVax78am/r7lr46bwo3IVEBOg== + version "2.2.0" + resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.2.0.tgz#3371ef6365ef9c25fa4b81c16ace0e9c7dc58c3e" + integrity sha512-u5ElzokS8A1pm9vM3/iDgTcI3xqHxuCao94Oz8etI3cf0Tio0p8izkDYbTIn09uP3yUUr6+veaE6IkjnTYS46g== caseless@~0.12.0: version "0.12.0" @@ -2773,7 +2766,7 @@ ccount@^1.0.3: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.3.tgz#f1cec43f332e2ea5a569fd46f9f5bde4e6102aff" integrity sha512-Jt9tIBkRc9POUof7QA/VwWd+58fKkEEfI+/t1/eOlxKM7ZhrczNzMFefge7Ai+39y1pR/pP6cI19guHy3FSLmw== -chalk@2.4.1, chalk@^2.4.1: +chalk@2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ== @@ -2793,7 +2786,7 @@ chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0: +chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2822,31 +2815,25 @@ child-process-promise@^2.2.1: promise-polyfill "^6.0.1" chokidar@^2.0.2: - version "2.0.4" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.4.tgz#356ff4e2b0e8e43e322d18a372460bbcf3accd26" - integrity sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ== + version "2.1.5" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.5.tgz#0ae8434d962281a5f56c72869e79cb6d9d86ad4d" + integrity sha512-i0TprVWp+Kj4WRPtInjexJ8Q+BqTE909VpH8xVhXrJkoc5QC8VO9TryGOqTr+2hljzc1sC62t22h5tZePodM/A== dependencies: anymatch "^2.0.0" - async-each "^1.0.0" - braces "^2.3.0" + async-each "^1.0.1" + braces "^2.3.2" glob-parent "^3.1.0" - inherits "^2.0.1" + inherits "^2.0.3" is-binary-path "^1.0.0" is-glob "^4.0.0" - lodash.debounce "^4.0.8" - normalize-path "^2.1.1" + normalize-path "^3.0.0" path-is-absolute "^1.0.0" - readdirp "^2.0.0" - upath "^1.0.5" + readdirp "^2.2.1" + upath "^1.1.1" optionalDependencies: - fsevents "^1.2.2" - -chownr@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" - integrity sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE= + fsevents "^1.2.7" -chownr@^1.1.1: +chownr@^1.0.1, chownr@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g== @@ -2886,17 +2873,15 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -classnames@^2.2.3, classnames@^2.2.5: - version "2.2.5" - resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.5.tgz#fb3801d453467649ef3603c7d61a02bd129bde6d" - integrity sha1-+zgB1FNGdknvNgPH1hoCvRKb3m0= +classlist-polyfill@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/classlist-polyfill/-/classlist-polyfill-1.2.0.tgz#935bc2dfd9458a876b279617514638bcaa964a2e" + integrity sha1-k1vC39lFiodrJ5YXUUY4vKqWSi4= -clean-css@4.1.x: - version "4.1.11" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.1.11.tgz#2ecdf145aba38f54740f26cefd0ff3e03e125d6a" - integrity sha1-Ls3xRaujj1R0DybO/Q/z4D4SXWo= - dependencies: - source-map "0.5.x" +classnames@^2.2.3, classnames@^2.2.5: + version "2.2.6" + resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce" + integrity sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q== clean-css@4.2.x: version "4.2.1" @@ -2967,7 +2952,7 @@ co@^4.6.0: resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= -coa@~2.0.1: +coa@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/coa/-/coa-2.0.2.tgz#43f6c21151b4ef2bf57187db0d73de229e3e7ec3" integrity sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA== @@ -2990,13 +2975,13 @@ collection-visit@^1.0.0: object-visit "^1.0.0" color-convert@^1.9.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" - integrity sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ== + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== dependencies: - color-name "^1.1.1" + color-name "1.1.3" -color-name@^1.1.1: +color-name@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= @@ -3006,11 +2991,6 @@ colors@^1.1.2, colors@^1.3.2: resolved "https://registry.yarnpkg.com/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d" integrity sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg== -colors@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" - integrity sha1-FopHAXVran9RoSzgyXv6KMCE7WM= - combined-stream@^1.0.6, combined-stream@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828" @@ -3025,17 +3005,12 @@ comma-separated-tokens@^1.0.0: dependencies: trim "0.0.1" -commander@2.15.x, commander@~2.15.0: - version "2.15.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" - integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag== - -commander@2.17.x, commander@~2.17.1: +commander@2.17.x: version "2.17.1" resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== -commander@^2.11.0, commander@^2.19.0: +commander@^2.11.0, commander@^2.19.0, commander@~2.19.0: version "2.19.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== @@ -3308,20 +3283,35 @@ core-assert@^0.2.0: buf-compare "^1.0.0" is-error "^2.2.0" +core-js-compat@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.0.0.tgz#cd9810b8000742535a4a43773866185e310bd4f7" + integrity sha512-W/Ppz34uUme3LmXWjMgFlYyGnbo1hd9JvA0LNQ4EmieqVjg2GPYbj3H6tcdP2QGPGWdRKUqZVbVKLNIFVs/HiA== + dependencies: + browserslist "^4.5.1" + core-js "3.0.0" + core-js-pure "3.0.0" + semver "^5.6.0" + +core-js-pure@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.0.0.tgz#a5679adb4875427c8c0488afc93e6f5b7125859b" + integrity sha512-yPiS3fQd842RZDgo/TAKGgS0f3p2nxssF1H65DIZvZv0Od5CygP8puHXn3IQiM/39VAvgCbdaMQpresrbGgt9g== + +core-js@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.0.tgz#a8dbfa978d29bfc263bfb66c556d0ca924c28957" + integrity sha512-WBmxlgH2122EzEJ6GH8o9L/FeoUKxxxZ6q6VUxoTlsE4EvbTWKJb447eyVxTEuq0LpXjlq/kCB2qgBvsYRkLvQ== + core-js@^1.0.0: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" integrity sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY= -core-js@^2.0.0, core-js@^2.5.7: - version "2.6.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.1.tgz#87416ae817de957a3f249b3b5ca475d4aaed6042" - integrity sha512-L72mmmEayPJBejKIWe2pYtGis5r0tQ5NaJekdhyXgeMQTpJoBsH0NL4ElY2LfSoV15xeQWKQ+XTTOZdyero5Xg== - -core-js@^2.4.0: - version "2.5.6" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d" - integrity sha512-lQUVfQi0aLix2xpyjrrJEvfuYCqPc/HwmTKsC/VNf8q0zsjX7SQZtp4+oRONN5Tsur9GDETPjj+Ub2iDiGZfSQ== +core-js@^2.0.0, core-js@^2.4.0, core-js@^2.5.7: + version "2.6.5" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895" + integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A== core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -3339,13 +3329,13 @@ cosmiconfig@^4.0.0: require-from-string "^2.0.1" cosmiconfig@^5.0.5, cosmiconfig@^5.0.7: - version "5.0.7" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.0.7.tgz#39826b292ee0d78eda137dfa3173bd1c21a43b04" - integrity sha512-PcLqxTKiDmNT6pSpy4N6KtuPwb53W+2tzNvwOZw0WH9N6O0vLIBq0x8aj8Oj75ere4YcGi48bDFCL+3fRJdlNA== + version "5.2.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.0.tgz#45038e4d28a7fe787203aede9c25bca4a08b12c8" + integrity sha512-nxt+Nfc3JAqf4WIWd0jXLjTJZmsPLrA9DDc4nRw2KFJQJK7DNooqSXrNI7tzLG50CF8axczly5UV929tBmh/7g== dependencies: import-fresh "^2.0.0" is-directory "^0.3.1" - js-yaml "^3.9.0" + js-yaml "^3.13.0" parse-json "^4.0.0" create-ecdh@^4.0.0: @@ -3468,22 +3458,23 @@ css-loader@^1.0.1: source-list-map "^2.0.0" css-loader@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-2.1.0.tgz#42952ac22bca5d076978638e9813abce49b8f0cc" - integrity sha512-MoOu+CStsGrSt5K2OeZ89q3Snf+IkxRfAIt9aAKg4piioTrhtP1iEFPu+OVn3Ohz24FO6L+rw9UJxBILiSBw5Q== - dependencies: - icss-utils "^4.0.0" - loader-utils "^1.2.1" - lodash "^4.17.11" - postcss "^7.0.6" + version "2.1.1" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-2.1.1.tgz#d8254f72e412bb2238bb44dd674ffbef497333ea" + integrity sha512-OcKJU/lt232vl1P9EEDamhoO9iKY3tIjY5GU+XDLblAykTdgs6Ux9P1hTHve8nFKy5KPpOXOsVI/hIwi3841+w== + dependencies: + camelcase "^5.2.0" + icss-utils "^4.1.0" + loader-utils "^1.2.3" + normalize-path "^3.0.0" + postcss "^7.0.14" postcss-modules-extract-imports "^2.0.0" - postcss-modules-local-by-default "^2.0.3" - postcss-modules-scope "^2.0.0" + postcss-modules-local-by-default "^2.0.6" + postcss-modules-scope "^2.1.0" postcss-modules-values "^2.0.0" postcss-value-parser "^3.3.0" schema-utils "^1.0.0" -css-select-base-adapter@~0.1.0: +css-select-base-adapter@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz#3b2ff4972cc362ab88561507a95408a1432135d7" integrity sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w== @@ -3509,9 +3500,9 @@ css-select@^2.0.0: nth-check "^1.0.2" css-selector-tokenizer@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz#e6988474ae8c953477bf5e7efecfceccd9cf4c86" - integrity sha1-5piEdK6MlTR3v15+/s/OzNnPTIY= + version "0.7.1" + resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz#a177271a8bca5019172f4f891fc6eed9cbf68d5d" + integrity sha512-xYL0AMZJ4gFzJQsHUKa5jiWWi2vH77WVNg7JYRyewwj6oPh4yb/y6Y9ZCw9dsj/9UauMhtuxR+ogQd//EdEVNA== dependencies: cssesc "^0.1.0" fastparse "^1.1.1" @@ -3538,22 +3529,22 @@ css-url-regex@^1.1.0: resolved "https://registry.yarnpkg.com/css-url-regex/-/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec" integrity sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w= -css-what@2.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd" - integrity sha1-lGfQMsOM+u+58teVASUwYvh/ob0= - -css-what@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.2.tgz#c0876d9d0480927d7d4920dcd72af3595649554d" - integrity sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ== +css-what@2.1, css-what@^2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2" + integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg== cssesc@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4" integrity sha1-yBSQPkViM3GgR3tAEJqq++6t27Q= -csso@^3.5.0: +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + +csso@^3.5.1: version "3.5.1" resolved "https://registry.yarnpkg.com/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b" integrity sha512-vrqULLffYU1Q2tLdJvaCYbONStnfkfimRxXNaGjxMldI0C7JPBC4rB1RyjhfdZ4m1frm8pM9uRPKH3d2knZ8gg== @@ -3659,11 +3650,6 @@ deep-equal@^1.0.1: resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU= -deep-extend@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.5.1.tgz#b894a9dd90d3023fbf1c55a394fb858eb2066f1f" - integrity sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w== - deep-extend@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" @@ -3686,15 +3672,7 @@ deepmerge@^2.0.1: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.2.1.tgz#5d3ff22a01c00f645405a2fbc17d0778a1801170" integrity sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA== -define-properties@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" - integrity sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ= - dependencies: - foreach "^2.0.5" - object-keys "^1.0.8" - -define-properties@^1.1.3: +define-properties@^1.1.2, define-properties@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== @@ -3723,19 +3701,6 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" -del@^2.0.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" - integrity sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag= - dependencies: - globby "^5.0.0" - is-path-cwd "^1.0.0" - is-path-in-cwd "^1.0.0" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - rimraf "^2.2.8" - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -3795,11 +3760,10 @@ diffie-hellman@^5.0.0: randombytes "^2.0.0" dir-glob@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034" - integrity sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag== + version "2.2.2" + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" + integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== dependencies: - arrify "^1.0.1" path-type "^3.0.0" doctrine@1.5.0: @@ -3817,19 +3781,14 @@ doctrine@^2.0.0, doctrine@^2.1.0: dependencies: esutils "^2.0.2" -dom-converter@~0.1: - version "0.1.4" - resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.1.4.tgz#a45ef5727b890c9bffe6d7c876e7b19cb0e17f3b" - integrity sha1-pF71cnuJDJv/5tfIduexnLDhfzs= +dom-converter@^0.2: + version "0.2.0" + resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768" + integrity sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA== dependencies: - utila "~0.3" - -"dom-helpers@^2.4.0 || ^3.0.0": - version "3.3.1" - resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.3.1.tgz#fc1a4e15ffdf60ddde03a480a9c0fece821dd4a6" - integrity sha512-2Sm+JaYn74OiTM2wHvxJOo3roiq/h25Yi69Fqk269cNUwIXsCvATB6CRSFC9Am/20G2b28hGv/+7NiWydIrPvg== + utila "~0.4" -dom-helpers@^3.3.1: +"dom-helpers@^2.4.0 || ^3.0.0", dom-helpers@^3.3.1: version "3.4.0" resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.4.0.tgz#e9b369700f959f62ecde5a6babde4bccd9169af8" integrity sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA== @@ -3837,12 +3796,12 @@ dom-helpers@^3.3.1: "@babel/runtime" "^7.1.2" dom-serializer@0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" - integrity sha1-BzxpdUbOB4DOI75KKOKT5AvDDII= + version "0.1.1" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0" + integrity sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA== dependencies: - domelementtype "~1.1.1" - entities "~1.1.1" + domelementtype "^1.3.0" + entities "^1.1.1" dom-walk@^0.1.0: version "0.1.1" @@ -3854,27 +3813,15 @@ domain-browser@^1.1.1: resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== -domelementtype@1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2" - integrity sha1-sXrtguirWeUt2cGbF1bg/BhyBMI= - -domelementtype@~1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" - integrity sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs= - -domhandler@2.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.1.0.tgz#d2646f5e57f6c3bab11cf6cb05d3c0acf7412594" - integrity sha1-0mRvXlf2w7qxHPbLBdPArPdBJZQ= - dependencies: - domelementtype "1" +domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" + integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== -domutils@1.1: - version "1.1.6" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.1.6.tgz#bddc3de099b9a2efacc51c623f28f416ecc57485" - integrity sha1-vdw94Jm5ou+sxRxiPyj0FuzFdIU= +domhandler@^2.3.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803" + integrity sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA== dependencies: domelementtype "1" @@ -3886,7 +3833,7 @@ domutils@1.5.1: dom-serializer "0" domelementtype "1" -domutils@^1.7.0: +domutils@^1.5.1, domutils@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a" integrity sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg== @@ -3901,25 +3848,26 @@ dot-prop@^3.0.0: dependencies: is-obj "^1.0.0" -dotenv-expand@^4.0.1, dotenv-expand@^4.2.0: +dotenv-defaults@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/dotenv-defaults/-/dotenv-defaults-1.0.2.tgz#441cf5f067653fca4bbdce9dd3b803f6f84c585d" + integrity sha512-iXFvHtXl/hZPiFj++1hBg4lbKwGM+t/GlvELDnRtOFdjXyWP7mubkVr+eZGWG62kdsbulXAef6v/j6kiWc/xGA== + dependencies: + dotenv "^6.2.0" + +dotenv-expand@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-4.2.0.tgz#def1f1ca5d6059d24a766e587942c21106ce1275" integrity sha1-3vHxyl1gWdJKdm5YeULCEQbOEnU= dotenv-webpack@^1.5.7: - version "1.6.0" - resolved "https://registry.yarnpkg.com/dotenv-webpack/-/dotenv-webpack-1.6.0.tgz#ea5758ce4da1e0c3574ef777a32ee20beb61b3a5" - integrity sha512-jTbHXmcVw3KMVhTdgthYNLWWHRGtucrADpZWwVCdiP+pCvuWvxLcUadwEnmz8Wqv/d2UAJxJhp1jrxGlMYCetg== + version "1.7.0" + resolved "https://registry.yarnpkg.com/dotenv-webpack/-/dotenv-webpack-1.7.0.tgz#4384d8c57ee6f405c296278c14a9f9167856d3a1" + integrity sha512-wwNtOBW/6gLQSkb8p43y0Wts970A3xtNiG/mpwj9MLUhtPCQG6i+/DSXXoNN7fbPCU/vQ7JjwGmgOeGZSSZnsw== dependencies: - dotenv "^5.0.1" - dotenv-expand "^4.0.1" - -dotenv@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef" - integrity sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow== + dotenv-defaults "^1.0.2" -dotenv@^6.0.0: +dotenv@^6.0.0, dotenv@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-6.2.0.tgz#941c0410535d942c8becf28d3f357dbd9d476064" integrity sha512-HygQCKUBSFl8wKQZBSemMywRWcEDNidvNbjGVyZu3nbZ8qq9ubiPoGLMdRDpfSrpkkm9BXYFkpKxxFX38o/76w== @@ -3938,9 +3886,9 @@ duplexer@^0.1.1: integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E= duplexify@^3.4.2, duplexify@^3.6.0: - version "3.6.1" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.6.1.tgz#b1a7a29c4abfd639585efaecce80d666b1e34125" - integrity sha512-vM58DwdnKmty+FSPzT14K9JXb90H+j5emaR4KYbr2KTIz00WHGbWOe5ghQTx233ZCLZtrGDALzKwcjEtSt35mA== + version "3.7.1" + resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" + integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== dependencies: end-of-stream "^1.0.0" inherits "^2.0.1" @@ -3948,11 +3896,12 @@ duplexify@^3.4.2, duplexify@^3.6.0: stream-shift "^1.0.0" ecc-jsbn@~0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" - integrity sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU= + version "0.1.2" + resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" + integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= dependencies: jsbn "~0.1.0" + safer-buffer "^2.1.0" ee-first@1.1.1: version "1.1.1" @@ -3964,15 +3913,10 @@ ejs@^2.6.1: resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.6.1.tgz#498ec0d495655abc6f23cd61868d926464071aa0" integrity sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ== -electron-to-chromium@^1.2.7: - version "1.3.47" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.47.tgz#764e887ca9104d01a0ac8eabee7dfc0e2ce14104" - integrity sha1-dk6IfKkQTQGgrI6r7n38DizhQQQ= - -electron-to-chromium@^1.3.62, electron-to-chromium@^1.3.96: - version "1.3.98" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.98.tgz#f200bdac84b1110d7d9904f34f4fc6d5573a8a9c" - integrity sha512-WIZdNuvE3dFr6kkPgv4d/cfswNZD6XbeLBM8baOIQTsnbf4xWrVEaLvp7oNnbnMWWXDqq7Tbv+H5JfciLTJm4Q== +electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.116, electron-to-chromium@^1.3.62: + version "1.3.119" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.119.tgz#9a7770da667252aeb81f667853f67c2b26e00197" + integrity sha512-3mtqcAWa4HgG+Djh/oNXlPH0cOH6MmtwxN1nHSaReb9P0Vn51qYPqYwLeoSuAX9loU1wrOBhFbiX3CkeIxPfgg== elliptic@^6.0.0: version "6.4.1" @@ -4037,10 +3981,10 @@ enhanced-resolve@^4.1.0: memory-fs "^0.4.0" tapable "^1.0.0" -entities@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" - integrity sha1-blwtClYhtdra7O+AuQ7ftc13cvA= +entities@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" + integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== enzyme-adapter-react-16@1.1.1: version "1.1.1" @@ -4056,13 +4000,14 @@ enzyme-adapter-react-16@1.1.1: react-test-renderer "^16.0.0-0" enzyme-adapter-utils@^1.3.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.9.1.tgz#68196fdaf2a9f51f31603cbae874618661233d72" - integrity sha512-LWc88BbKztLXlpRf5Ba/pSMJRaNezAwZBvis3N/IuB65ltZEh2E2obWU9B36pAbw7rORYeBUuqc79OL17ZzN1A== + version "1.10.1" + resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.10.1.tgz#58264efa19a7befdbf964fb7981a108a5452ac96" + integrity sha512-oasinhhLoBuZsIkTe8mx0HiudtfErUtG0Ooe1FOplu/t4c9rOmyG5gtrBASK6u4whHIRWvv0cbZMElzNTR21SA== dependencies: function.prototype.name "^1.1.0" object.assign "^4.1.0" - prop-types "^15.6.2" + object.fromentries "^2.0.0" + prop-types "^15.7.2" semver "^5.6.0" errno@^0.1.3, errno@~0.1.7: @@ -4072,32 +4017,14 @@ errno@^0.1.3, errno@~0.1.7: dependencies: prr "~1.0.1" -error-ex@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" - integrity sha1-+FWobOYa3E6GIcPNoh56dhLDqNw= - dependencies: - is-arrayish "^0.2.1" - -error-ex@^1.3.1: +error-ex@^1.2.0, error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== dependencies: is-arrayish "^0.2.1" -es-abstract@^1.10.0, es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0, es-abstract@^1.9.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.11.0.tgz#cce87d518f0496893b1a30cd8461835535480681" - integrity sha512-ZnQrE/lXTTQ39ulXZ+J1DTFazV9qBy61x2bY071B+qGco8Z8q1QddsLdt/EF8Ai9hcWH72dWS0kFqXLxOxqslA== - dependencies: - es-to-primitive "^1.1.1" - function-bind "^1.1.1" - has "^1.0.1" - is-callable "^1.1.3" - is-regex "^1.0.4" - -es-abstract@^1.11.0, es-abstract@^1.12.0: +es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.7.0, es-abstract@^1.9.0: version "1.13.0" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9" integrity sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg== @@ -4109,15 +4036,6 @@ es-abstract@^1.11.0, es-abstract@^1.12.0: is-regex "^1.0.4" object-keys "^1.0.12" -es-to-primitive@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" - integrity sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0= - dependencies: - is-callable "^1.1.1" - is-date-object "^1.0.1" - is-symbol "^1.0.1" - es-to-primitive@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" @@ -4128,14 +4046,14 @@ es-to-primitive@^1.2.0: is-symbol "^1.0.2" es5-shim@^4.5.10: - version "4.5.10" - resolved "https://registry.yarnpkg.com/es5-shim/-/es5-shim-4.5.10.tgz#b7e17ef4df2a145b821f1497b50c25cf94026205" - integrity sha512-vmryBdqKRO8Ei9LJ4yyEk/EOmAOGIagcHDYPpTAi6pot4IMHS1AC2q5cTKPmydpijg2iX8DVmCuqgrNxIWj8Yg== + version "4.5.12" + resolved "https://registry.yarnpkg.com/es5-shim/-/es5-shim-4.5.12.tgz#508c13dda1c87dd3df1b50e69e7b96b82149b649" + integrity sha512-MjoCAHE6P2Dirme70Cxd9i2Ng8rhXiaVSsxDWdSwimfLERJL/ypR2ed2rTYkeeYrMk8gq281dzKLiGcdrmc8qg== es6-shim@^0.35.3: - version "0.35.3" - resolved "https://registry.yarnpkg.com/es6-shim/-/es6-shim-0.35.3.tgz#9bfb7363feffff87a6cdb6cd93e405ec3c4b6f26" - integrity sha1-m/tzY/7//4emzbbNk+QF7DxLbyY= + version "0.35.5" + resolved "https://registry.yarnpkg.com/es6-shim/-/es6-shim-0.35.5.tgz#46f59dc0a84a1c5029e8ff1166ca0a902077a9ab" + integrity sha512-E9kK/bjtCQRpN1K28Xh4BlmP8egvZBGJJ+9GtnzOwt7mdqtrjHFuVGr7QJfdjBIKqrlU5duPf3pCBoDrkjVYFg== escape-html@~1.0.3: version "1.0.3" @@ -4180,12 +4098,12 @@ eslint-module-utils@2.1.1: pkg-dir "^1.0.0" eslint-module-utils@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz#b270362cd88b1a48ad308976ce7fa54e98411746" - integrity sha1-snA2LNiLGkitMIl2zn+lTphBF0Y= + version "2.3.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.3.0.tgz#546178dab5e046c8b562bbb50705e2456d7bda49" + integrity sha512-lmDJgeOOjk8hObTysjqH7wyMi+nsHwwvfBykwfhjR1LNdd7C2uFJBvx4OpWYpXOw4df1yE1cDEVd1yLHitk34w== dependencies: debug "^2.6.8" - pkg-dir "^1.0.0" + pkg-dir "^2.0.0" eslint-plugin-ava@5.1.0: version "5.1.0" @@ -4319,21 +4237,23 @@ eslint-plugin-promise@4.0.0: resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-4.0.0.tgz#bc15a4aa04fa6116113b6c47488c421821b758fc" integrity sha512-3on8creJifkmNHvT425jCWSuVK0DG0Quf3H75ENZFqvHl6/s2xme8z6bfxww13XwqfELYWKxc/N3AtBXyV1hdg== -eslint-plugin-react@7.11.1: - version "7.11.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz#c01a7af6f17519457d6116aa94fc6d2ccad5443c" - integrity sha512-cVVyMadRyW7qsIUh3FHp3u6QHNhOgVrLQYdQEB1bPWBsgbNCHdFAeNMquBMCcZJu59eNthX053L70l7gRt4SCw== +eslint-plugin-react@7.12.4: + version "7.12.4" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.12.4.tgz#b1ecf26479d61aee650da612e425c53a99f48c8c" + integrity sha512-1puHJkXJY+oS1t467MjbqjvX53uQ05HXwjqDgdbGBqf5j9eeydI54G3KwiJmWciQ0HTBacIKw2jgwSBSH3yfgQ== dependencies: array-includes "^3.0.3" doctrine "^2.1.0" has "^1.0.3" jsx-ast-utils "^2.0.1" + object.fromentries "^2.0.0" prop-types "^15.6.2" + resolve "^1.9.0" eslint-plugin-shopify@^26.1.2: - version "26.1.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-shopify/-/eslint-plugin-shopify-26.1.2.tgz#8bad611ea3331cdb179af4312c192d06c0890611" - integrity sha512-/09asmD7toCeALjJhpX9+mV0d+vc58DmB1DbaZdjqughQtH1AxtbGamI5uhIkMhwjVL+T5kdeLXU5Kanxm2DTA== + version "26.3.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-shopify/-/eslint-plugin-shopify-26.3.0.tgz#368649e0603a785093ee4d9cbe942f46983900cc" + integrity sha512-btIvevMzkND3iT5oTeXk+DeknRy52T3DLrYSH+AysTFjbbkzQpYvetlVFLUl33qfq9df7wOth4KmbrHAQJBfAg== dependencies: babel-eslint "9.0.0" common-tags "^1.8.0" @@ -4354,7 +4274,7 @@ eslint-plugin-shopify@^26.1.2: eslint-plugin-node "7.0.1" eslint-plugin-prettier "3.0.1" eslint-plugin-promise "4.0.0" - eslint-plugin-react "7.11.1" + eslint-plugin-react "7.12.4" eslint-plugin-sort-class-members "1.3.1" eslint-plugin-typescript "0.12.0" merge "1.2.0" @@ -4397,9 +4317,9 @@ eslint-scope@^3.7.1: estraverse "^4.1.1" eslint-scope@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.0.tgz#50bf3071e9338bcdc43331794a0cb533f0136172" - integrity sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA== + version "4.0.3" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" + integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== dependencies: esrecurse "^4.1.0" estraverse "^4.1.1" @@ -4459,9 +4379,9 @@ eslint@4.19.1, eslint@^4.10.0: text-table "~0.2.0" esm@^3.0.71: - version "3.0.84" - resolved "https://registry.yarnpkg.com/esm/-/esm-3.0.84.tgz#bb108989f4673b32d4f62406869c28eed3815a63" - integrity sha512-SzSGoZc17S7P+12R9cg21Bdb7eybX25RnIeRZ80xZs+VZ3kdQKzqTp2k4hZJjR7p9l0186TTXSgrxzlMDBktlw== + version "3.2.20" + resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.20.tgz#44f125117863427cdece7223baa411fc739c1939" + integrity sha512-NA92qDA8C/qGX/xMinDGa3+cSPs4wQoFxskRrSnDo/9UloifhONFm4sl4G+JsyCqM007z2K+BfQlH5rMta4K1Q== espree@^3.5.4: version "3.5.4" @@ -4480,12 +4400,7 @@ espree@^4.0.0: acorn-jsx "^5.0.0" eslint-visitor-keys "^1.0.0" -esprima@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" - integrity sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw== - -esprima@~4.0.0: +esprima@^4.0.0, esprima@~4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== @@ -4516,10 +4431,10 @@ estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= -estree-walker@^0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.5.2.tgz#d3850be7529c9580d815600b53126515e146dd39" - integrity sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig== +estree-walker@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.0.tgz#5d865327c44a618dde5699f763891ae31f257dae" + integrity sha512-peq1RfVAVzr3PU/jL31RaOjUKLoZJpObQWJJ+LgfcxDUifyLZ1RjPQZTl0pzj2uJ45b7A7XpyppXvxdEqzo4rw== esutils@^2.0.0, esutils@^2.0.2: version "2.0.2" @@ -4536,10 +4451,10 @@ eventemitter3@^3.1.0: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163" integrity sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA== -events@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" - integrity sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ= +events@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88" + integrity sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA== eventsource@0.1.6: version "0.1.6" @@ -4600,13 +4515,6 @@ exenv@^1.2.0: resolved "https://registry.yarnpkg.com/exenv/-/exenv-1.2.2.tgz#2ae78e85d9894158670b03d47bec1f03bd91bb9d" integrity sha1-KueOhdmJQVhnCwPUe+wfA72Ru50= -expand-brackets@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" - integrity sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s= - dependencies: - is-posix-bracket "^0.1.0" - expand-brackets@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" @@ -4620,13 +4528,6 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" -expand-range@^1.8.1: - version "1.8.2" - resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" - integrity sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc= - dependencies: - fill-range "^2.1.0" - expand-template@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" @@ -4704,7 +4605,7 @@ external-editor@^2.0.4: iconv-lite "^0.4.17" tmp "^0.0.33" -external-editor@^3.0.0: +external-editor@^3.0.0, external-editor@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.0.3.tgz#5866db29a97826dbe4bf3afd24070ead9ea43a27" integrity sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA== @@ -4713,13 +4614,6 @@ external-editor@^3.0.0: iconv-lite "^0.4.24" tmp "^0.0.33" -extglob@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" - integrity sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE= - dependencies: - is-extglob "^1.0.0" - extglob@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" @@ -4769,9 +4663,9 @@ fast-diff@^1.1.2: integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== fast-glob@^2.0.2: - version "2.2.4" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.4.tgz#e54f4b66d378040e0e4d6a68ec36bbc5b04363c0" - integrity sha512-FjK2nCGI/McyzgNtTESqaWP3trPvHyRyoyY70hxjc3oKPNmDe8taohLZpoVKoUjW85tbU5txaYUZCNtVzygl1g== + version "2.2.6" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.6.tgz#a5d5b697ec8deda468d85a74035290a025a95295" + integrity sha512-0BvMaZc1k9F+MeWWMe8pL6YltFzZYcJsYU7D4JyDA6PAczaXvxqQQ/z+mDF7/4Mw01DeUc+i3CTKajnkANkV4w== dependencies: "@mrmlnc/readdir-enhanced" "^2.2.1" "@nodelib/fs.stat" "^1.1.2" @@ -4791,9 +4685,9 @@ fast-levenshtein@~2.0.4: integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= fastparse@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.1.tgz#d1e2643b38a94d7583b479060e6c4affc94071f8" - integrity sha1-0eJkOzipTXWDtHkGDmxK/8lAcfg= + version "1.1.2" + resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9" + integrity sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ== faye-websocket@~0.11.0: version "0.11.1" @@ -4803,9 +4697,9 @@ faye-websocket@~0.11.0: websocket-driver ">=0.5.1" fbjs@^0.8.16, fbjs@^0.8.4, fbjs@^0.8.9: - version "0.8.16" - resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db" - integrity sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s= + version "0.8.17" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd" + integrity sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90= dependencies: core-js "^1.0.0" isomorphic-fetch "^2.1.1" @@ -4813,7 +4707,7 @@ fbjs@^0.8.16, fbjs@^0.8.4, fbjs@^0.8.9: object-assign "^4.1.0" promise "^7.1.1" setimmediate "^1.0.5" - ua-parser-js "^0.7.9" + ua-parser-js "^0.7.18" figgy-pudding@^3.5.1: version "3.5.1" @@ -4868,27 +4762,11 @@ file-system-cache@^1.0.5: fs-extra "^0.30.0" ramda "^0.21.0" -filename-regex@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" - integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY= - filesize@3.6.1, filesize@^3.6.1: version "3.6.1" resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.6.1.tgz#090bb3ee01b6f801a8a8be99d31710b3422bb317" integrity sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg== -fill-range@^2.1.0: - version "2.2.4" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.4.tgz#eb1e773abb056dcd8df2bfdf6af59b8b3a936565" - integrity sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q== - dependencies: - is-number "^2.1.0" - isobject "^2.0.0" - randomatic "^3.0.0" - repeat-element "^1.1.2" - repeat-string "^1.5.2" - fill-range@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" @@ -4922,12 +4800,12 @@ find-cache-dir@^1.0.0: pkg-dir "^2.0.0" find-cache-dir@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.0.0.tgz#4c1faed59f45184530fb9d7fa123a4d04a98472d" - integrity sha512-LDUY6V1Xs5eFskUVYtIwatojt6+9xC9Chnlk/jYOOvn3FAFfSaWddxahDGyNHh0b2dMXa6YW2m0tk8TdVaXHlA== + version "2.1.0" + resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" + integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== dependencies: commondir "^1.0.1" - make-dir "^1.0.0" + make-dir "^2.0.0" pkg-dir "^3.0.0" find-up@3.0.0, find-up@^3.0.0: @@ -4953,22 +4831,22 @@ find-up@^2.0.0, find-up@^2.1.0: locate-path "^2.0.0" flat-cache@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481" - integrity sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE= + version "1.3.4" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.4.tgz#2c2ef77525cc2929007dfffa1dd314aa9c9dee6f" + integrity sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg== dependencies: circular-json "^0.3.1" - del "^2.0.2" graceful-fs "^4.1.2" + rimraf "~2.6.2" write "^0.2.1" flush-write-stream@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.0.3.tgz#c5d586ef38af6097650b49bc41b55fabb19f35bd" - integrity sha512-calZMC10u0FMUqoiunI2AiGIIUtUIvifNwkHhNupZH4cbNnW1Itkoh/Nf5HFYmDrwWPjrUxpkZT0KhuCq0jmGw== + version "1.1.1" + resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" + integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== dependencies: - inherits "^2.0.1" - readable-stream "^2.0.4" + inherits "^2.0.3" + readable-stream "^2.3.6" for-in@^0.1.3: version "0.1.8" @@ -4980,7 +4858,7 @@ for-in@^1.0.1, for-in@^1.0.2: resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -for-own@^0.1.3, for-own@^0.1.4: +for-own@^0.1.3: version "0.1.5" resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" integrity sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4= @@ -4994,11 +4872,6 @@ for-own@^1.0.0: dependencies: for-in "^1.0.1" -foreach@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" - integrity sha1-C+4AUBiusmDQo6865ljdATbsG5k= - forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -5092,10 +4965,10 @@ fs.realpath@^1.0.0: resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^1.2.2: - version "1.2.4" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.4.tgz#f41dcb1af2582af3692da36fc55cbd8e1041c426" - integrity sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg== +fsevents@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.7.tgz#4851b664a3783e52003b3c66eb0eee1074933aa4" + integrity sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw== dependencies: nan "^2.9.2" node-pre-gyp "^0.10.0" @@ -5110,7 +4983,7 @@ fstream@^1.0.0, fstream@^1.0.2: mkdirp ">=0.5 0" rimraf "2" -function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1: +function-bind@^1.0.2, function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== @@ -5130,9 +5003,9 @@ functional-red-black-tree@^1.0.1: integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= fuse.js@^3.0.1, fuse.js@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.3.0.tgz#1e4fe172a60687230fb54a5cb247eb96e2e7e885" - integrity sha512-ESBRkGLWMuVkapqYCcNO1uqMg5qbCKkgb+VS6wsy17Rix0/cMS9kSOZoYkjH8Ko//pgJ/EEGu0GTjk2mjX2LGQ== + version "3.4.4" + resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.4.4.tgz#f98f55fcb3b595cf6a3e629c5ffaf10982103e95" + integrity sha512-pyLQo/1oR5Ywf+a/tY8z4JygnIglmRxVUOiyFAbd11o9keUDpUJSMGRWJngcnkURj30kDHPmhoKY8ChJiz3EpQ== gauge@~2.7.3: version "2.7.4" @@ -5149,16 +5022,16 @@ gauge@~2.7.3: wide-align "^1.1.0" gaze@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/gaze/-/gaze-1.1.2.tgz#847224677adb8870d679257ed3388fdb61e40105" - integrity sha1-hHIkZ3rbiHDWeSV+0ziP22HkAQU= + version "1.1.3" + resolved "https://registry.yarnpkg.com/gaze/-/gaze-1.1.3.tgz#c441733e13b927ac8c0ff0b4c3b033f28812924a" + integrity sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g== dependencies: globule "^1.0.0" get-caller-file@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" - integrity sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U= + version "1.0.3" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" + integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== get-pkg-repo@^1.0.0: version "1.4.0" @@ -5244,21 +5117,6 @@ github-from-package@0.0.0: resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" integrity sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4= -glob-base@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" - integrity sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q= - dependencies: - glob-parent "^2.0.0" - is-glob "^2.0.0" - -glob-parent@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" - integrity sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg= - dependencies: - is-glob "^2.0.0" - glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" @@ -5272,19 +5130,7 @@ glob-to-regexp@^0.3.0: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= -glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@~7.1.1: - version "7.1.2" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" - integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.1.2, glob@^7.1.3: +glob@^7.0.0, glob@^7.0.3, glob@^7.1.2, glob@^7.1.3, glob@~7.1.1: version "7.1.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ== @@ -5325,9 +5171,9 @@ global@^4.3.2: process "~0.5.1" globals@^11.0.1, globals@^11.1.0: - version "11.9.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.9.0.tgz#bde236808e987f290768a93d065060d78e6ab249" - integrity sha512-5cJVtyXWH8PiJPVLZzzoIizXx944O4OmRro5MWKx5fT4MgcN7OfaMutPeaTdJCCURwbWdhhcCWcKIffPnmTzBg== + version "11.11.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.11.0.tgz#dcf93757fa2de5486fbeed7118538adf789e9c2e" + integrity sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw== globby@8.0.1: version "8.0.1" @@ -5342,37 +5188,20 @@ globby@8.0.1: pify "^3.0.0" slash "^1.0.0" -globby@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" - integrity sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0= - dependencies: - array-union "^1.0.1" - arrify "^1.0.0" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - globule@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/globule/-/globule-1.2.0.tgz#1dc49c6822dd9e8a2fa00ba2a295006e8664bd09" - integrity sha1-HcScaCLdnoovoAuiopUAboZkvQk= + version "1.2.1" + resolved "https://registry.yarnpkg.com/globule/-/globule-1.2.1.tgz#5dffb1b191f22d20797a9369b49eab4e9839696d" + integrity sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ== dependencies: glob "~7.1.1" - lodash "~4.17.4" + lodash "~4.17.10" minimatch "~3.0.2" -graceful-fs@^4.1.15, graceful-fs@^4.1.6, graceful-fs@^4.1.9: +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: version "4.1.15" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" integrity sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA== -graceful-fs@^4.1.2: - version "4.1.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" - integrity sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg= - graphql-config@^2.0.1: version "2.2.1" resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-2.2.1.tgz#5fd0ec77ac7428ca5fb2026cf131be10151a0cb2" @@ -5408,11 +5237,11 @@ gzip-size@5.0.0, gzip-size@^5.0.0: pify "^3.0.0" handlebars@^4.0.2: - version "4.0.12" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.12.tgz#2c15c8a96d46da5e266700518ba8cb8d919d5bc5" - integrity sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA== + version "4.1.1" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.1.1.tgz#6e4e41c18ebe7719ae4d38e5aca3d32fa3dd23d3" + integrity sha512-3Zhi6C0euYZL5sM0Zcy7lInLXKQ+YLcF/olbN010mzGQ4XVm50JeyBnMqofHh696GrciGruC7kCcApPDJvVgwA== dependencies: - async "^2.5.0" + neo-async "^2.6.0" optimist "^0.6.1" source-map "^0.6.1" optionalDependencies: @@ -5489,14 +5318,7 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" -has@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" - integrity sha1-hGFzP1OLCDfJNh45qauelwTcLyg= - dependencies: - function-bind "^1.0.2" - -has@^1.0.3: +has@^1.0.1, has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== @@ -5545,11 +5367,6 @@ hastscript@^5.0.0: property-information "^5.0.1" space-separated-tokens "^1.0.0" -he@1.1.x: - version "1.1.1" - resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" - integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0= - he@1.2.x: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" @@ -5570,36 +5387,23 @@ hoist-non-react-statics@1.x.x, hoist-non-react-statics@^1.2.0: integrity sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs= homedir-polyfill@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" - integrity sha1-TCu8inWJmP7r9e1oWA921GdotLw= + version "1.0.3" + resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" + integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== dependencies: parse-passwd "^1.0.0" hosted-git-info@^2.1.4: - version "2.6.0" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.6.0.tgz#23235b29ab230c576aab0d4f13fc046b0b038222" - integrity sha512-lIbgIIQA3lz5XaB6vxakj6sDHADJiZadYEJB+FgA+C4nubM1NwcuvUr9EJPmnH1skZqpqUzWborWo8EIUi0Sdw== + version "2.7.1" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" + integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w== html-entities@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f" integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8= -html-minifier@^3.2.3: - version "3.5.15" - resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.15.tgz#f869848d4543cbfd84f26d5514a2a87cbf9a05e0" - integrity sha512-OZa4rfb6tZOZ3Z8Xf0jKxXkiDcFWldQePGYFDcgKqES2sXeWaEv9y6QQvWUtX3ySI3feApQi5uCsHLINQ6NoAw== - dependencies: - camel-case "3.0.x" - clean-css "4.1.x" - commander "2.15.x" - he "1.1.x" - param-case "2.1.x" - relateurl "0.2.x" - uglify-js "3.3.x" - -html-minifier@^3.5.20: +html-minifier@^3.2.3, html-minifier@^3.5.20: version "3.5.21" resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.21.tgz#d0040e054730e354db008463593194015212d20c" integrity sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA== @@ -5636,15 +5440,17 @@ html-webpack-plugin@^4.0.0-beta.2: tapable "^1.1.0" util.promisify "1.0.0" -htmlparser2@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.3.0.tgz#cc70d05a59f6542e43f0e685c982e14c924a9efe" - integrity sha1-zHDQWln2VC5D8OaFyYLhTJJKnv4= +htmlparser2@^3.3.0: + version "3.10.1" + resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f" + integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ== dependencies: - domelementtype "1" - domhandler "2.1" - domutils "1.1" - readable-stream "1.0" + domelementtype "^1.3.1" + domhandler "^2.3.0" + domutils "^1.5.1" + entities "^1.1.1" + inherits "^2.0.1" + readable-stream "^3.1.1" http-errors@1.6.3, http-errors@~1.6.2, http-errors@~1.6.3: version "1.6.3" @@ -5691,14 +5497,14 @@ husky@^1.3.1: run-node "^1.0.0" slash "^2.0.0" -iconv-lite@0.4.23, iconv-lite@^0.4.4, iconv-lite@~0.4.13: +iconv-lite@0.4.23: version "0.4.23" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" integrity sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA== dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@^0.4.17, iconv-lite@^0.4.24: +iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -5717,17 +5523,17 @@ icss-utils@^2.1.0: dependencies: postcss "^6.0.1" -icss-utils@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.0.0.tgz#d52cf4bcdcfa1c45c2dbefb4ffdf6b00ef608098" - integrity sha512-bA/xGiwWM17qjllIs9X/y0EjsB7e0AV08F3OL8UPsoNkNRibIuu8f1eKTnQ8QO1DteKKTxTUAn+IEWUToIwGOA== +icss-utils@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.0.tgz#339dbbffb9f8729a243b701e1c29d4cc58c52f0e" + integrity sha512-3DEun4VOeMvSczifM3F2cKQrDQ5Pj6WKhkOq6HD4QTnDUAq8MQRxy5TX6Sy1iY6WPBe4gQ3p5vTECjbIkglkkQ== dependencies: - postcss "^7.0.5" + postcss "^7.0.14" ieee754@^1.1.4: - version "1.1.11" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.11.tgz#c16384ffe00f5b7835824e67b6f2bd44a5229455" - integrity sha512-VhDzCKN7K8ufStx/CLj5/PDTMgph+qwN5Pkd5i0sGnVwk56zJ0lkT8Qzi1xqWLS0Wp29DgDtNeS7v8/wMoZeHg== + version "1.1.12" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.12.tgz#50bf24e5b9c8bb98af4964c941cdb0918da7b60b" + integrity sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA== iferr@^0.1.5: version "0.1.5" @@ -5752,13 +5558,14 @@ ignore@^4.0.2: integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== iltorb@^2.0.5: - version "2.4.1" - resolved "https://registry.yarnpkg.com/iltorb/-/iltorb-2.4.1.tgz#3ae14f0a76ba880503884a2fe630b1f748eb4c17" - integrity sha512-huyAN7dSNe2b7VAl5AyvaeZ8XTcDTSF1b8JVYDggl+SBfHsORq3qMZeesZW7zoEy21s15SiERAITWT5cwxu1Uw== + version "2.4.2" + resolved "https://registry.yarnpkg.com/iltorb/-/iltorb-2.4.2.tgz#51e341045ad5181bf64832a569ec576e7df0faf2" + integrity sha512-RvsVTHt1Pw1/Zcepfd+3jinu38rO8IBFVONcroT9Dwrb5RSNE/CEX7uy1yZKN/kYCQB7FWx/oQgXhN9qAwZY9Q== dependencies: detect-libc "^1.0.3" + nan "^2.12.1" npmlog "^4.1.2" - prebuild-install "^5.2.1" + prebuild-install "^5.2.4" which-pm-runs "^1.0.0" immer@1.7.2: @@ -5820,6 +5627,11 @@ indent-string@^3.0.0: resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= +indexes-of@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607" + integrity sha1-8w9xbI4r00bHtn0985FVZqfAVgc= + indexof@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" @@ -5888,30 +5700,25 @@ inquirer@^3.0.6: through "^2.3.6" inquirer@^6.2.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.2.1.tgz#9943fc4882161bdb0b0c9276769c75b32dbfcd52" - integrity sha512-088kl3DRT2dLU5riVMKKr1DlImd6X7smDhpXUCkJDCKvTEJeRiXh0G132HG9u5a+6Ylw9plFRY7RuTnwohYSpg== + version "6.2.2" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.2.2.tgz#46941176f65c9eb20804627149b743a218f25406" + integrity sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA== dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.0" + ansi-escapes "^3.2.0" + chalk "^2.4.2" cli-cursor "^2.1.0" cli-width "^2.0.0" - external-editor "^3.0.0" + external-editor "^3.0.3" figures "^2.0.0" - lodash "^4.17.10" + lodash "^4.17.11" mute-stream "0.0.7" run-async "^2.2.0" - rxjs "^6.1.0" + rxjs "^6.4.0" string-width "^2.1.0" strip-ansi "^5.0.0" through "^2.3.6" -interpret@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" - integrity sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ= - -interpret@^1.1.0: +interpret@^1.0.0, interpret@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== @@ -5974,19 +5781,7 @@ is-buffer@^2.0.0: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.3.tgz#4ecf3fcf749cbd1e472689e109ac66261a25e725" integrity sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw== -is-builtin-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" - integrity sha1-VAVy0096wxGfj3bDDLwbHgN6/74= - dependencies: - builtin-modules "^1.0.0" - -is-callable@^1.1.1, is-callable@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" - integrity sha1-hut1OSgF3cM69xySoO7fdO52BLI= - -is-callable@^1.1.4: +is-callable@^1.1.3, is-callable@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75" integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA== @@ -6045,18 +5840,6 @@ is-dom@^1.0.9: resolved "https://registry.yarnpkg.com/is-dom/-/is-dom-1.0.9.tgz#483832d52972073de12b9fe3f60320870da8370d" integrity sha1-SDgy1SlyBz3hK5/j9gMghw2oNw0= -is-dotfile@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" - integrity sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE= - -is-equal-shallow@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" - integrity sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ= - dependencies: - is-primitive "^2.0.0" - is-error@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/is-error/-/is-error-2.2.1.tgz#684a96d84076577c98f4cdb40c6d26a5123bf19c" @@ -6074,11 +5857,6 @@ is-extendable@^1.0.1: dependencies: is-plain-object "^2.0.4" -is-extglob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" - integrity sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA= - is-extglob@^2.1.0, is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -6103,13 +5881,6 @@ is-fullwidth-code-point@^2.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= -is-glob@^2.0.0, is-glob@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" - integrity sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM= - dependencies: - is-extglob "^1.0.0" - is-glob@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" @@ -6129,13 +5900,6 @@ is-module@^1.0.0: resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE= -is-number@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" - integrity sha1-Afy7s5NGOlSPL0ZszhbezknbkI8= - dependencies: - kind-of "^3.0.2" - is-number@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -6143,35 +5907,11 @@ is-number@^3.0.0: dependencies: kind-of "^3.0.2" -is-number@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" - integrity sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ== - is-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= -is-path-cwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" - integrity sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0= - -is-path-in-cwd@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" - integrity sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ== - dependencies: - is-path-inside "^1.0.0" - -is-path-inside@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" - integrity sha1-jvW33lBDej/cprToZe96pVy0gDY= - dependencies: - path-is-inside "^1.0.1" - is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -6184,16 +5924,6 @@ is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" -is-posix-bracket@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" - integrity sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q= - -is-primitive@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" - integrity sha1-IHurkWOEmcB7Kt8kCkGochADRXU= - is-promise@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" @@ -6226,11 +5956,6 @@ is-subset@^0.1.1: resolved "https://registry.yarnpkg.com/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6" integrity sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY= -is-symbol@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" - integrity sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI= - is-symbol@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38" @@ -6265,11 +5990,6 @@ is-wsl@^1.1.0: resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= - isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -6305,37 +6025,39 @@ isstream@~0.1.2: resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= -jest-worker@^23.2.0: - version "23.2.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-23.2.0.tgz#faf706a8da36fae60eb26957257fa7b5d8ea02b9" - integrity sha1-+vcGqNo2+uYOsmlXJX+ntdjqArk= +jest-worker@^24.0.0: + version "24.4.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.4.0.tgz#fbc452b0120bb5c2a70cdc88fa132b48eeb11dd0" + integrity sha512-BH9X/klG9vxwoO99ZBUbZFfV8qO0XNZ5SIiCyYK2zOuJBl6YJVAeNIQjcoOVNu4HGEHeYEKsUWws8kSlSbZ9YQ== dependencies: + "@types/node" "*" merge-stream "^1.0.1" + supports-color "^6.1.0" js-base64@^2.1.8, js-base64@^2.1.9: - version "2.4.5" - resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.5.tgz#e293cd3c7c82f070d700fc7a1ca0a2e69f101f92" - integrity sha512-aUnNwqMOXw3yvErjMPSQu6qIIzUmT1e5KcU1OZxRDU1g/am6mzBvcrmLAYwzmB59BHPrh5/tKaiF4OPhqRWESQ== + version "2.5.1" + resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.5.1.tgz#1efa39ef2c5f7980bb1784ade4a8af2de3291121" + integrity sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw== js-levenshtein@^1.1.3: - version "1.1.4" - resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.4.tgz#3a56e3cbf589ca0081eb22cd9ba0b1290a16d26e" - integrity sha512-PxfGzSs0ztShKrUYPIn5r0MtyAhYcCwmndozzpz8YObbPnD1jFxzlBGbRnX2mIu6Z13xN6+PTu05TQFnZFlzow== - -js-tokens@^3.0.0, js-tokens@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" - integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= + version "1.1.6" + resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" + integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@^3.10.0, js-yaml@^3.12.0, js-yaml@^3.9.0, js-yaml@^3.9.1: - version "3.12.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.1.tgz#295c8632a18a23e054cf5c9d3cecafe678167600" - integrity sha512-um46hB9wNOKlwkHgiuyEVAybXBjwFUV0Z/RaHJblRd9DXltue9FTYvzCr9ErQrK9Adz5MU4gHWVaNUfdmrC8qA== +js-tokens@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" + integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= + +js-yaml@^3.10.0, js-yaml@^3.12.0, js-yaml@^3.13.0, js-yaml@^3.9.0, js-yaml@^3.9.1: + version "3.13.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.0.tgz#38ee7178ac0eea2c97ff6d96fff4b18c7d8cf98e" + integrity sha512-pZZoSxcCYco+DIKBTimr67J6Hy+EYGZDY/HCWC+iAEA9h1ByhMXAIVUXMcMFpOCxQ/xjXmPI2MkDL5HRm5eFrQ== dependencies: argparse "^1.0.7" esprima "^4.0.0" @@ -6561,11 +6283,11 @@ load-json-file@^4.0.0: strip-bom "^3.0.0" loader-runner@^2.3.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.1.tgz#026f12fe7c3115992896ac02ba022ba92971b979" - integrity sha512-By6ZFY7ETWOc9RFaAIb23IjJVcM4dvJC/N57nmdz9RSkMXvAXGI7SyVlAw3v8vjtDRlqThgVDVmTnr9fqMlxkw== + version "2.4.0" + resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" + integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw== -loader-utils@1.1.0, loader-utils@^1.0.2: +loader-utils@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd" integrity sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0= @@ -6584,7 +6306,7 @@ loader-utils@^0.2.16, loader-utils@^0.2.3: json5 "^0.5.0" object-assign "^4.0.1" -loader-utils@^1.0.1, loader-utils@^1.1.0, loader-utils@^1.2.1: +loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" integrity sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA== @@ -6624,11 +6346,6 @@ lodash.clonedeep@^4.3.2: resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= - lodash.isarray@3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" @@ -6679,24 +6396,12 @@ lodash.unescape@4.0.1: resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw= -lodash@^4.0.0, lodash@^4.12.0, lodash@^4.17.3, lodash@^4.2.1, lodash@^4.3.0, lodash@~4.17.4: - version "4.17.10" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" - integrity sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg== - -lodash@^4.11.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.17.5, lodash@~4.17.0: +lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0, lodash@~4.17.0, lodash@~4.17.10: version "4.17.11" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.0, loose-envify@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" - integrity sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg= - dependencies: - js-tokens "^3.0.0" - -loose-envify@^1.4.0: +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.0, loose-envify@^1.3.1, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== @@ -6717,9 +6422,9 @@ lower-case@^1.1.1: integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw= lru-cache@^4.0.1: - version "4.1.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.3.tgz#a1175cf3496dfc8436c156c334b4955992bce69c" - integrity sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA== + version "4.1.5" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" + integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== dependencies: pseudomap "^1.0.2" yallist "^2.1.2" @@ -6731,12 +6436,12 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" -magic-string@^0.25.1: - version "0.25.1" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.1.tgz#b1c248b399cd7485da0fe7385c2fc7011843266e" - integrity sha512-sCuTz6pYom8Rlt4ISPFn6wuFodbKMIHUMv4Qko9P17dpxb7s52KJTmRuZZqHdGmLCK9AOcDare039nRIcfdkEg== +magic-string@^0.25.2: + version "0.25.2" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.2.tgz#139c3a729515ec55e96e69e82a11fe890a293ad9" + integrity sha512-iLs9mPjh9IuTtRsqqhNGYcZXGei0Nh/A4xirrsqW7c+QhKVFL2vm7U09ru6cHRD22azaP/wMDgI+HCqbETMTtg== dependencies: - sourcemap-codec "^1.4.1" + sourcemap-codec "^1.4.4" make-dir@^1.0.0: version "1.3.0" @@ -6745,6 +6450,19 @@ make-dir@^1.0.0: dependencies: pify "^3.0.0" +make-dir@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" + integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== + dependencies: + pify "^4.0.1" + semver "^5.6.0" + +mamacro@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4" + integrity sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA== + map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -6767,11 +6485,6 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -math-random@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.1.tgz#8b3aac588b8a66e4975e3cdea67f7bb329601fac" - integrity sha1-izqsWIuKZuSXXjzepn97sylgH6w= - md5.js@^1.3.4: version "1.3.5" resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" @@ -6798,7 +6511,7 @@ mem@^1.1.0: dependencies: mimic-fn "^1.0.0" -memory-fs@^0.4.0, memory-fs@~0.4.1: +memory-fs@^0.4.0, memory-fs@^0.4.1, memory-fs@~0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" integrity sha1-OpoguEYlI+RHz7x+i7gO1me/xVI= @@ -6873,25 +6586,6 @@ methods@~1.1.2: resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= -micromatch@^2.3.11: - version "2.3.11" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" - integrity sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU= - dependencies: - arr-diff "^2.0.0" - array-unique "^0.2.1" - braces "^1.8.2" - expand-brackets "^0.1.4" - extglob "^0.3.1" - filename-regex "^2.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.1" - kind-of "^3.0.2" - normalize-path "^2.0.1" - object.omit "^2.0.0" - parse-glob "^3.0.4" - regex-cache "^0.4.2" - micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -6919,29 +6613,17 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" -mime-db@~1.33.0: - version "1.33.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" - integrity sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ== - -mime-db@~1.37.0: - version "1.37.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8" - integrity sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg== +mime-db@~1.38.0: + version "1.38.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad" + integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg== -mime-types@^2.1.12, mime-types@~2.1.18: - version "2.1.18" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" - integrity sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ== +mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19: + version "2.1.22" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.22.tgz#fe6b355a190926ab7698c9a0556a11199b2199bd" + integrity sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog== dependencies: - mime-db "~1.33.0" - -mime-types@~2.1.19: - version "2.1.21" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96" - integrity sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg== - dependencies: - mime-db "~1.37.0" + mime-db "~1.38.0" mime@1.4.1: version "1.4.1" @@ -7019,18 +6701,18 @@ minimist@~0.0.1: resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= -minipass@^2.2.1, minipass@^2.2.4: - version "2.3.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.0.tgz#2e11b1c46df7fe7f1afbe9a490280add21ffe384" - integrity sha512-jWC2Eg+Np4bxah7llu1IrUNSJQxtLz/J+pOjTM0nFpJXGAaV18XBWhUn031Q1tAA/TJtA1jgwnOe9S2PQa4Lbg== +minipass@^2.2.1, minipass@^2.3.4: + version "2.3.5" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848" + integrity sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA== dependencies: - safe-buffer "^5.1.1" + safe-buffer "^5.1.2" yallist "^3.0.0" -minizlib@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.1.0.tgz#11e13658ce46bc3a70a267aac58359d1e0c29ceb" - integrity sha512-4T6Ur/GctZ27nHfpt9THOdRZNgyJ9FZchYO1ceg5S8Q3DNLCKYy44nCZzgCJgcvx2UM8czmqak5BCxJMrq37lA== +minizlib@^1.1.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614" + integrity sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA== dependencies: minipass "^2.2.1" @@ -7115,20 +6797,25 @@ multimatch@^2.1.0: arrify "^1.0.0" minimatch "^3.0.0" +multimatch@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-3.0.0.tgz#0e2534cc6bc238d9ab67e1b9cd5fcd85a6dbf70b" + integrity sha512-22foS/gqQfANZ3o+W7ST2x25ueHDVNWl/b9OlGcLpy/iKxjCpvcNCM51YCenUi7Mt/jAjjqv8JwZRs8YP5sRjA== + dependencies: + array-differ "^2.0.3" + array-union "^1.0.2" + arrify "^1.0.1" + minimatch "^3.0.4" + mute-stream@0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= -nan@^2.10.0: - version "2.12.1" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" - integrity sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw== - -nan@^2.9.2: - version "2.10.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" - integrity sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA== +nan@^2.10.0, nan@^2.12.1, nan@^2.9.2: + version "2.13.2" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7" + integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw== nanomatch@^1.2.9: version "1.2.13" @@ -7157,10 +6844,10 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= -needle@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.1.tgz#b5e325bd3aae8c2678902fa296f729455d1d3a7d" - integrity sha512-t/ZswCM9JTWjAdXS9VpvqhI2Ct2sL2MdY4fUXqGJaGBk13ge99ObqRksRTbBE56K+wxUXwwfZYOuZHifFW9q+Q== +needle@^2.2.1: + version "2.2.4" + resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.4.tgz#51931bff82533b1928b7d1d69e01f1b00ffd2a4e" + integrity sha512-HyoqEb4wr/rsoaIDfTH2aVL9nWtQqba2/HvMv+++m8u0dz808MaagKILxtfeSN7QU7nvbQ79zk3vYOJp9zsNEA== dependencies: debug "^2.1.2" iconv-lite "^0.4.4" @@ -7171,7 +6858,7 @@ negotiator@0.6.1: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" integrity sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk= -neo-async@^2.5.0: +neo-async@^2.5.0, neo-async@^2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835" integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA== @@ -7188,10 +6875,10 @@ no-case@^2.2.0: dependencies: lower-case "^1.1.1" -node-abi@^2.2.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.5.1.tgz#bb17288fc3b2f68fea0ed9897c66979fd754ed47" - integrity sha512-oDbFc7vCFx0RWWCweTer3hFm1u+e60N5FtGnmRV6QqvgATGFH/XRR6vqWIeBVosCYCqt6YdIr2L0exLZuEdVcQ== +node-abi@^2.7.0: + version "2.7.1" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.7.1.tgz#a8997ae91176a5fbaa455b194976e32683cda643" + integrity sha512-OV8Bq1OrPh6z+Y4dqwo05HqrRL9YNF7QVMRfq1/pguwKLG+q9UB/Lk0x5qXjO23JjJg+/jqCHSTaG1P3tfKfuw== dependencies: semver "^5.4.1" @@ -7239,9 +6926,9 @@ node-gyp@^3.8.0: which "1" node-libs-browser@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df" - integrity sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg== + version "2.2.0" + resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.0.tgz#c72f60d9d46de08a940dedbb25f3ffa2f9bbaa77" + integrity sha512-5MQunG/oyOaBdttrL40dA7bUfPORLRWMUJLQtMg7nluxUvk5XwnLdL9twQHFAjRx/y7mIMkLKT9++qPbbk6BZA== dependencies: assert "^1.1.1" browserify-zlib "^0.2.0" @@ -7250,7 +6937,7 @@ node-libs-browser@^2.0.0: constants-browserify "^1.0.0" crypto-browserify "^3.11.0" domain-browser "^1.1.1" - events "^1.0.0" + events "^3.0.0" https-browserify "^1.0.0" os-browserify "^0.3.0" path-browserify "0.0.0" @@ -7264,29 +6951,29 @@ node-libs-browser@^2.0.0: timers-browserify "^2.0.4" tty-browserify "0.0.0" url "^0.11.0" - util "^0.10.3" + util "^0.11.0" vm-browserify "0.0.4" node-pre-gyp@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.0.tgz#6e4ef5bb5c5203c6552448828c852c40111aac46" - integrity sha512-G7kEonQLRbcA/mOoFoxvlMrw6Q6dPf92+t/l0DFSMuSlDoWaI9JWIyPwK0jyE1bph//CUEL65/Fz1m2vJbmjQQ== + version "0.10.3" + resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.3.tgz#3070040716afdc778747b61b6887bf78880b80fc" + integrity sha512-d1xFs+C/IPS8Id0qPTZ4bUT8wWryfR/OzzAFxweG+uLN85oPzyo2Iw6bVlLQ/JOdgNonXLCoRyqDzDWq4iw72A== dependencies: detect-libc "^1.0.2" mkdirp "^0.5.1" - needle "^2.2.0" + needle "^2.2.1" nopt "^4.0.1" npm-packlist "^1.1.6" npmlog "^4.0.2" - rc "^1.1.7" + rc "^1.2.7" rimraf "^2.6.1" semver "^5.3.0" tar "^4" -node-releases@^1.0.0-alpha.11, node-releases@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.3.tgz#aad9ce0dcb98129c753f772c0aa01360fb90fbd2" - integrity sha512-6VrvH7z6jqqNFY200kdB6HdzkgM96Oaj9v3dqGfgp6mF+cHmU4wyQKZ2/WPDRVoR0Jz9KqbamaBN0ZhdUaysUQ== +node-releases@^1.0.0-alpha.11, node-releases@^1.1.11: + version "1.1.11" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.11.tgz#9a0841a4b0d92b7d5141ed179e764f42ad22724a" + integrity sha512-8v1j5KfP+s5WOTa1spNUAOfreajQPN12JXbRR0oDE+YrJBQCXBnNqUDj27EKpPLOoSiU3tKi3xGPB+JaOdUEQQ== dependencies: semver "^5.3.0" @@ -7341,36 +7028,41 @@ nopt@^4.0.1: osenv "^0.1.4" normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5: - version "2.4.0" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" - integrity sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw== + version "2.5.0" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" + integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== dependencies: hosted-git-info "^2.1.4" - is-builtin-module "^1.0.0" + resolve "^1.10.0" semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" -normalize-path@^2.0.1, normalize-path@^2.1.1: +normalize-path@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= dependencies: remove-trailing-separator "^1.0.1" +normalize-path@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + normalize-range@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI= npm-bundled@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.3.tgz#7e71703d973af3370a9591bafe3a63aca0be2308" - integrity sha512-ByQ3oJ/5ETLyglU2+8dBObvhfWXX8dtPZDMePCahptliFX2iIuhyEszyFk401PZUNQH20vvdW5MLjJxkwU80Ow== + version "1.0.6" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" + integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g== npm-packlist@^1.1.6: - version "1.1.10" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.10.tgz#1039db9e985727e464df066f4cf0ab6ef85c398a" - integrity sha512-AQC0Dyhzn4EiYEfIUjCdMl0JJ61I2ER9ukf/sLxJUcZHfo+VyEfz2rMJgLZSS1v30OxPQe1cN0LZA1xbcaVfWA== + version "1.4.1" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.1.tgz#19064cdf988da80ea3cee45533879d90192bbfbc" + integrity sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw== dependencies: ignore-walk "^3.0.1" npm-bundled "^1.0.1" @@ -7392,20 +7084,13 @@ npm-run-path@^2.0.0: gauge "~2.7.3" set-blocking "~2.0.0" -nth-check@^1.0.2: +nth-check@^1.0.2, nth-check@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c" integrity sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg== dependencies: boolbase "~1.0.0" -nth-check@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.1.tgz#9929acdf628fc2c41098deab82ac580cf149aae4" - integrity sha1-mSms32KPwsQQmN6rgqxYDPFJquQ= - dependencies: - boolbase "~1.0.0" - null-check@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/null-check/-/null-check-1.0.0.tgz#977dffd7176012b9ec30d2a39db5cf72a0439edd" @@ -7446,14 +7131,9 @@ object-copy@^0.1.0: kind-of "^3.0.3" object-keys@^1.0.11, object-keys@^1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.12.tgz#09c53855377575310cca62f55bb334abff7b3ed2" - integrity sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag== - -object-keys@^1.0.8: - version "1.0.11" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" - integrity sha1-xUYBd4rVYPEULODgG8yotW0TQm0= + version "1.1.0" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.0.tgz#11bd22348dd2e096a045ab06f6c85bcc340fa032" + integrity sha512-6OO5X1+2tYkNyNEx6TsCxEqFfRWaqx6EtMiSbGrw8Ob8v9Ne+Hl8rBAgLBZn5wjEz3s/s6U1WXFUFOcxxAwUpg== object-visit@^1.0.0: version "1.0.1" @@ -7473,14 +7153,14 @@ object.assign@^4.0.4, object.assign@^4.1.0: object-keys "^1.0.11" object.entries@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.0.4.tgz#1bf9a4dd2288f5b33f3a993d257661f05d161a5f" - integrity sha1-G/mk3SKI9bM/Opk9JXZh8F0WGl8= + version "1.1.0" + resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.0.tgz#2024fc6d6ba246aee38bdb0ffd5cfbcf371b7519" + integrity sha512-l+H6EQ8qzGRxbkHOd5I/aHRhHDKoQXQ8g0BYt4uSweQU1/J6dZUOyWh9a2Vky35YCKjzmgxOzta2hH6kf9HuXA== dependencies: - define-properties "^1.1.2" - es-abstract "^1.6.1" - function-bind "^1.1.0" - has "^1.0.1" + define-properties "^1.1.3" + es-abstract "^1.12.0" + function-bind "^1.1.1" + has "^1.0.3" object.fromentries@^1.0.0: version "1.0.0" @@ -7492,6 +7172,16 @@ object.fromentries@^1.0.0: function-bind "^1.1.1" has "^1.0.1" +object.fromentries@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.0.tgz#49a543d92151f8277b3ac9600f1e930b189d30ab" + integrity sha512-9iLiI6H083uiqUuvzyY6qrlmc/Gz8hLQFOcb/Ri/0xXFkSNS3ctV+CbE6yM2+AnkYfOB3dGjdzC0wrMLIhQICA== + dependencies: + define-properties "^1.1.2" + es-abstract "^1.11.0" + function-bind "^1.1.1" + has "^1.0.1" + object.getownpropertydescriptors@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" @@ -7500,14 +7190,6 @@ object.getownpropertydescriptors@^2.0.3: define-properties "^1.1.2" es-abstract "^1.5.1" -object.omit@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" - integrity sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo= - dependencies: - for-own "^0.1.4" - is-extendable "^0.1.1" - object.pick@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" @@ -7515,15 +7197,15 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" -object.values@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.0.4.tgz#e524da09b4f66ff05df457546ec72ac99f13069a" - integrity sha1-5STaCbT2b/Bd9FdUbscqyZ8TBpo= +object.values@^1.0.4, object.values@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.0.tgz#bf6810ef5da3e5325790eaaa2be213ea84624da9" + integrity sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg== dependencies: - define-properties "^1.1.2" - es-abstract "^1.6.1" - function-bind "^1.1.0" - has "^1.0.1" + define-properties "^1.1.3" + es-abstract "^1.12.0" + function-bind "^1.1.1" + has "^1.0.3" on-finished@~2.3.0: version "2.3.0" @@ -7546,13 +7228,20 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -opn@5.4.0, opn@^5.4.0: +opn@5.4.0: version "5.4.0" resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035" integrity sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw== dependencies: is-wsl "^1.1.0" +opn@^5.4.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" + integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== + dependencies: + is-wsl "^1.1.0" + optimist@^0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" @@ -7625,16 +7314,16 @@ p-finally@^1.0.0: integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= p-limit@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.2.0.tgz#0e92b6bedcb59f022c13d0f1949dc82d15909f1c" - integrity sha512-Y/OtIaXtUPr4/YpMv1pCL5L5ed0rumAaAeBSj12F+bSlMdys7i8oQF/GUJmfpTS/QoaRrS/k6pma29haJpsMng== + version "1.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" + integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== dependencies: p-try "^1.0.0" p-limit@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.1.0.tgz#1d5a0d20fb12707c758a655f6bbc4386b5930d68" - integrity sha512-NhURkNcrVB+8hNfLuysU8enY5xn2KXphsHBaC2YmRNTZRc7RWusw6apSpdEj3jo4CMb6W9nrF6tTnsJsJeyu6g== + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.0.tgz#417c9941e6027a9abcba5092dd2904e255b5fbc2" + integrity sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ== dependencies: p-try "^2.0.0" @@ -7658,14 +7347,14 @@ p-try@^1.0.0: integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= p-try@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.0.0.tgz#85080bb87c64688fa47996fe8f7dfbe8211760b1" - integrity sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ== + version "2.1.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.1.0.tgz#c1a0f1030e97de018bb2c718929d2af59463e505" + integrity sha512-H2RyIJ7+A3rjkwKC2l5GGtU4H1vkxKCAGsWasNVd0Set+6i4znxbWy6/j16YDPJDWxhsgZiKAstMEP8wCdSpjA== pako@~1.0.5: - version "1.0.7" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.7.tgz#2473439021b57f1516c82f58be7275ad8ef1bb27" - integrity sha512-3HNK5tW4x8o5mO8RuHZp3Ydw9icZXx0RANAOMzlMzx7LVXhMJ4mo3MOBpzyd7r/+RUu8BmndP47LXT+vzjtWcQ== + version "1.0.10" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732" + integrity sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw== parallel-transform@^1.1.0: version "1.1.0" @@ -7684,31 +7373,22 @@ param-case@2.1.x: no-case "^2.2.0" parse-asn1@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.1.tgz#f6bf293818332bd0dab54efb16087724745e6ca8" - integrity sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw== + version "5.1.4" + resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.4.tgz#37f6628f823fbdeb2273b4d540434a22f3ef1fcc" + integrity sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw== dependencies: asn1.js "^4.0.0" browserify-aes "^1.0.0" create-hash "^1.1.0" evp_bytestokey "^1.0.0" pbkdf2 "^3.0.3" + safe-buffer "^5.1.1" parse-github-repo-url@^1.3.0: version "1.4.1" resolved "https://registry.yarnpkg.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" integrity sha1-nn2LslKmy2ukJZUGC3v23z28H1A= -parse-glob@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" - integrity sha1-ssN2z7EfNVE7rdFz7wu246OIORw= - dependencies: - glob-base "^0.3.0" - is-dotfile "^1.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.0" - parse-json@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" @@ -7779,7 +7459,7 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.1, path-is-inside@^1.0.2: +path-is-inside@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= @@ -7789,11 +7469,6 @@ path-key@^2.0.0, path-key@^2.0.1: resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= -path-parse@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" - integrity sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME= - path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" @@ -7853,6 +7528,11 @@ pify@^3.0.0: resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= +pify@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" + integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== + pinkie-promise@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" @@ -7957,13 +7637,13 @@ postcss-modules-local-by-default@^1.2.0: css-selector-tokenizer "^0.7.0" postcss "^6.0.1" -postcss-modules-local-by-default@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-2.0.4.tgz#a000bb07e4f57f412ba35c904d035cfd4a7b9446" - integrity sha512-WvuSaTKXUqYJbnT7R3YrsNrHv/C5vRfr5VglS4bFOk0MYT4CLBfc/xgExA+x2RftlYgiBDvWmVs191Xv8S8gZQ== +postcss-modules-local-by-default@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-2.0.6.tgz#dd9953f6dd476b5fd1ef2d8830c8929760b56e63" + integrity sha512-oLUV5YNkeIBa0yQl7EYnxMgy4N6noxmiwZStaEJUSe2xPMcdNc8WmBQuQCx18H5psYbVxz8zoHk0RAAYZXP9gA== dependencies: - css-selector-tokenizer "^0.7.0" postcss "^7.0.6" + postcss-selector-parser "^6.0.0" postcss-value-parser "^3.3.1" postcss-modules-scope@^1.1.0: @@ -7974,13 +7654,13 @@ postcss-modules-scope@^1.1.0: css-selector-tokenizer "^0.7.0" postcss "^6.0.1" -postcss-modules-scope@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.0.1.tgz#2c0f2394cde4cd09147db054c68917e38f6d43a4" - integrity sha512-7+6k9c3/AuZ5c596LJx9n923A/j3nF3ormewYBF1RrIQvjvjXe1xE8V8A1KFyFwXbvnshT6FBZFX0k/F1igneg== +postcss-modules-scope@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.1.0.tgz#ad3f5bf7856114f6fcab901b0502e2a2bc39d4eb" + integrity sha512-91Rjps0JnmtUB0cujlc8KIKCsJXWjzuxGeT/+Q2i2HXKZ7nBUeF9YQTZZTNvHVoNYj1AthsjnGLtqDUE0Op79A== dependencies: - css-selector-tokenizer "^0.7.0" postcss "^7.0.6" + postcss-selector-parser "^6.0.0" postcss-modules-values@^1.3.0: version "1.3.0" @@ -7998,12 +7678,16 @@ postcss-modules-values@^2.0.0: icss-replace-symbols "^1.1.0" postcss "^7.0.6" -postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz#87f38f9f18f774a4ab4c8a232f5c5ce8872a9d15" - integrity sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU= +postcss-selector-parser@^6.0.0: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz#934cf799d016c83411859e09dcecade01286ec5c" + integrity sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg== + dependencies: + cssesc "^3.0.0" + indexes-of "^1.0.1" + uniq "^1.0.1" -postcss-value-parser@^3.3.1: +postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0, postcss-value-parser@^3.3.1: version "3.3.1" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== @@ -8018,16 +7702,7 @@ postcss@^5.2.16: source-map "^0.5.6" supports-color "^3.2.3" -postcss@^6.0.1: - version "6.0.22" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.22.tgz#e23b78314905c3b90cbd61702121e7a78848f2a3" - integrity sha512-Toc9lLoUASwGqxBSJGTVcOQiDqjK+Z2XlWBg+IgYwQMY9vA2f7iMpXVc1GpPcfTSyM5lkxNo0oDwDRO+wm7XHA== - dependencies: - chalk "^2.4.1" - source-map "^0.6.1" - supports-color "^5.4.0" - -postcss@^6.0.23: +postcss@^6.0.1, postcss@^6.0.23: version "6.0.23" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324" integrity sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag== @@ -8036,19 +7711,19 @@ postcss@^6.0.23: source-map "^0.6.1" supports-color "^5.4.0" -postcss@^7.0.0, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7: - version "7.0.7" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.7.tgz#2754d073f77acb4ef08f1235c36c5721a7201614" - integrity sha512-HThWSJEPkupqew2fnuQMEI2YcTj/8gMV3n80cMdJsKxfIh5tHf7nM5JigNX6LxVMqo6zkgQNAI88hyFvBk41Pg== +postcss@^7.0.0, postcss@^7.0.14, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7: + version "7.0.14" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5" + integrity sha512-NsbD6XUUMZvBxtQAJuWDJeeC4QFsmWsfozWxCJPWf3M55K9iu2iMDaKqyoOdTJ1R4usBXuxlVFAIo8rZPQD4Bg== dependencies: - chalk "^2.4.1" + chalk "^2.4.2" source-map "^0.6.1" - supports-color "^5.5.0" + supports-color "^6.1.0" -prebuild-install@^5.2.1: - version "5.2.2" - resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.2.2.tgz#237888f21bfda441d0ee5f5612484390bccd4046" - integrity sha512-4e8VJnP3zJdZv/uP0eNWmr2r9urp4NECw7Mt1OSAi3rcLrbBRxGiAkfUFtre2MhQ5wfREAjRV+K1gubvs/GPsA== +prebuild-install@^5.2.4: + version "5.2.5" + resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.2.5.tgz#c7485911fe98950b7f7cd15bb9daee11b875cc44" + integrity sha512-6uZgMVg7yDfqlP5CPurVhtq3hUKBFNufiar4J5hZrlHTo59DDBEtyxw01xCdFss9j0Zb9+qzFVf/s4niayba3w== dependencies: detect-libc "^1.0.3" expand-template "^2.0.3" @@ -8056,7 +7731,7 @@ prebuild-install@^5.2.1: minimist "^1.2.0" mkdirp "^0.5.1" napi-build-utils "^1.0.1" - node-abi "^2.2.0" + node-abi "^2.7.0" noop-logger "^0.1.1" npmlog "^4.0.1" os-homedir "^1.0.1" @@ -8072,11 +7747,6 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -preserve@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" - integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks= - prettier-linter-helpers@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" @@ -8085,9 +7755,9 @@ prettier-linter-helpers@^1.0.0: fast-diff "^1.1.2" prettier@^1.15.3: - version "1.15.3" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.3.tgz#1feaac5bdd181237b54dbe65d874e02a1472786a" - integrity sha512-gAU9AGAPMaKb3NNSUUuhhFAS7SCO4ALTN4nRIn6PJ075Qd28Yn2Ig2ahEJWdJwJmlEBTUfC7mMUSFy8MwsOCfg== + version "1.16.4" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717" + integrity sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g== pretty-error@^2.0.2, pretty-error@^2.1.1: version "2.1.1" @@ -8103,15 +7773,16 @@ pretty-hrtime@^1.0.3: integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= pretty-quick@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-1.8.0.tgz#067ebe744ddb4e1ed4e1ee1af9648815121f78fc" - integrity sha512-qV25sQF/ivJpdZ5efwemQYkQJa7sp3HqT/Vf/7z5vGYMcq1VrT2lDpFKAxJPf6219N1YAdR8mGkIhPAZ1odTmQ== + version "1.10.0" + resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-1.10.0.tgz#d86cc46fe92ed8cfcfba6a082ec5949c53858198" + integrity sha512-uNvm2N3UWmnZRZrClyQI45hIbV20f5BpSyZY51Spbvn4APp9+XLyX4bCjWRGT3fGyVyQ/2/iw7dbQq1UUaq7SQ== dependencies: chalk "^2.3.0" execa "^0.8.0" find-up "^2.1.0" ignore "^3.3.7" mri "^1.1.0" + multimatch "^3.0.0" private@^0.1.6, private@~0.1.5: version "0.1.8" @@ -8164,22 +7835,14 @@ promise@^7.1.1: dependencies: asap "~2.0.3" -prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.7, prop-types@^15.6.0: - version "15.6.1" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.1.tgz#36644453564255ddda391191fb3a125cbdf654ca" - integrity sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ== +prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.5.9, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2: + version "15.7.2" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" + integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== dependencies: - fbjs "^0.8.16" - loose-envify "^1.3.1" - object-assign "^4.1.1" - -prop-types@^15.5.8, prop-types@^15.5.9, prop-types@^15.6.1, prop-types@^15.6.2: - version "15.6.2" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102" - integrity sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ== - dependencies: - loose-envify "^1.3.1" + loose-envify "^1.4.0" object-assign "^4.1.1" + react-is "^16.8.1" property-information@^5.0.0, property-information@^5.0.1: version "5.0.1" @@ -8282,9 +7945,9 @@ qs@6.5.2, qs@~6.5.2: integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== qs@^6.5.2: - version "6.6.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.6.0.tgz#a99c0f69a8d26bf7ef012f871cdabb0aee4424c2" - integrity sha512-KIJqT9jQJDQx5h5uAVPimw6yVg2SekOKu959OCtktD3FjzbpvaPr8i4zzg07DOMz+igA4W/aNM7OV8H37pFYfA== + version "6.7.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" + integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== querystring-es3@^0.2.0: version "0.2.1" @@ -8297,9 +7960,9 @@ querystring@0.2.0, querystring@^0.2.0: integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= querystringify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.0.tgz#7ded8dfbf7879dcc60d0a644ac6754b283ad17ef" - integrity sha512-sluvZZ1YiTLD5jsqZcDmFyV2EwToyXZBfpoVOmktMmW+VEnhgakFHnasVph65fOjGPTWN0Nw3+XQaSeMayr0kg== + version "2.1.1" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e" + integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA== quick-lru@^1.0.0: version "1.1.0" @@ -8316,19 +7979,10 @@ ramda@^0.25.0: resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.25.0.tgz#8fdf68231cffa90bc2f9460390a0cb74a29b29a9" integrity sha512-GXpfrYVPwx3K7RQ6aYT8KPS8XViSXUVJT1ONhoKPE9VAleW42YE+U+8VEyGWt41EnEQW7gwecYJriTI0pKoecQ== -randomatic@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.0.0.tgz#d35490030eb4f7578de292ce6dfb04a91a128923" - integrity sha512-VdxFOIEY3mNO5PtSRkkle/hPJDHvQhK21oa73K4yAc9qmp6N429gAyF1gZMOTMeS0/AYzaV/2Trcef+NaIonSA== - dependencies: - is-number "^4.0.0" - kind-of "^6.0.0" - math-random "^1.0.1" - randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: - version "2.0.6" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.6.tgz#d302c522948588848a8d300c932b44c24231da80" - integrity sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A== + version "2.1.0" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== dependencies: safe-buffer "^5.1.0" @@ -8360,16 +8014,6 @@ raw-loader@^0.5.1: resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa" integrity sha1-DD0L6u2KAclm2Xh793goElKpeao= -rc@^1.1.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.7.tgz#8a10ca30d588d00464360372b890d06dacd02297" - integrity sha512-LdLD8xD4zzLsAT5xyushXDNscEjB7+2ulnl8+r1pnESlYtlJtVSoCMBGr30eDRJ3+2Gq89jK9P9e4tCEH1+ywA== - dependencies: - deep-extend "^0.5.1" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - rc@^1.2.7: version "1.2.8" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" @@ -8431,10 +8075,10 @@ react-dev-utils@^6.1.0: strip-ansi "4.0.0" text-table "0.2.0" -react-docgen@^3.0.0-rc.1: - version "3.0.0-rc.2" - resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-3.0.0-rc.2.tgz#5939c64699fd9959da6d97d890f7b648e542dbcc" - integrity sha512-tXbIvq7Hxdc92jW570rztqsz0adtWEM5FX8bShJYozT2Y6L/LeHvBMQcED6mSqJ72niiNMPV8fi3S37OHrGMEw== +react-docgen@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-3.0.0.tgz#79c6e1b1870480c3c2bc1a65bede0577a11c38cd" + integrity sha512-2UseoLWabFNXuk1Foz4VDPSIAkxz+1Hmmq4qijzUmYHDq0ZSloKDLXtGLpQRcAi/M76hRpPtH1rV4BI5jNAOnQ== dependencies: "@babel/parser" "^7.1.3" "@babel/runtime" "^7.0.0" @@ -8444,20 +8088,20 @@ react-docgen@^3.0.0-rc.1: node-dir "^0.1.10" recast "^0.16.0" -react-dom@^16.6.3, react-dom@^16.7.0: - version "16.7.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.7.0.tgz#a17b2a7ca89ee7390bc1ed5eb81783c7461748b8" - integrity sha512-D0Ufv1ExCAmF38P2Uh1lwpminZFRXEINJe53zRAbm4KPwSyd6DY/uDoS0Blj9jvPpn1+wivKpZYc8aAAN/nAkg== +react-dom@^16.7.0: + version "16.8.5" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.5.tgz#b3e37d152b49e07faaa8de41fdf562be3463335e" + integrity sha512-VIEIvZLpFafsfu4kgmftP5L8j7P1f0YThfVTrANMhZUFMDOsA6e0kfR6wxw/8xxKs4NB59TZYbxNdPCDW34x4w== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" prop-types "^15.6.2" - scheduler "^0.12.0" + scheduler "^0.13.5" react-error-overlay@^5.1.0: - version "5.1.2" - resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-5.1.2.tgz#888957b884d4b25b083a82ad550f7aad96585394" - integrity sha512-7kEBKwU9R8fKnZJBRa5RSIfay4KJwnYvKB6gODGicUmDSAhQJ7Tdnll5S0RLtYrzRfMVXlqYw61rzrSpP4ThLQ== + version "5.1.4" + resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-5.1.4.tgz#88dfb88857c18ceb3b9f95076f850d7121776991" + integrity sha512-fp+U98OMZcnduQ+NSEiQa4s/XMsbp+5KlydmkbESOw4P69iWZ68ZMFM5a2BuE0FgqPBKApJyRuYHR95jM8lAmg== react-fuzzy@^0.5.2: version "0.5.2" @@ -8488,15 +8132,10 @@ react-inspector@^2.3.0: is-dom "^1.0.9" prop-types "^15.6.1" -react-is@^16.7.0: - version "16.7.0" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.7.0.tgz#c1bd21c64f1f1364c6f70695ec02d69392f41bfa" - integrity sha512-Z0VRQdF4NPDoI0tsXVMLkJLiwEBa+RP66g0xDHxgxysxSoCUccSten4RTF/UFvZF1dZvZ9Zu1sx+MDXwcOR34g== - -react-lifecycles-compat@^1.0.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-1.1.4.tgz#fc005c72849b7ed364de20a0f64ff58ebdc2009a" - integrity sha512-g3pdexIqkn+CVvSpYIoyON8zUbF9kgfhp672gyz7wQ7PQyXVmJtah+GDYqpHpOrdwex3F77iv+alq79iux9HZw== +react-is@^16.8.1, react-is@^16.8.5: + version "16.8.5" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.5.tgz#c54ac229dd66b5afe0de5acbe47647c3da692ff8" + integrity sha512-sudt2uq5P/2TznPV4Wtdi+Lnq3yaYW8LfvPKLM9BKD8jJNBkxMVyB0C9/GmVhLw7Jbdmndk/73n7XQGeN9A3QQ== react-lifecycles-compat@^3.0.0, react-lifecycles-compat@^3.0.4: version "3.0.4" @@ -8524,13 +8163,11 @@ react-reconciler@^0.7.0: prop-types "^15.6.0" react-split-pane@^0.1.84: - version "0.1.85" - resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.85.tgz#64819946a99b617ffa2d20f6f45a0056b6ee4faa" - integrity sha512-3GhaYs6+eVNrewgN4eQKJoNMQ4pcegNMTMhR5bO/NFO91K6/98qdD1sCuWPpsefCjzxNTjkvVYWQC0bMaC45mA== + version "0.1.87" + resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.87.tgz#a7027ae554abfacca35f5f780288b07fe4ec4cbd" + integrity sha512-F22jqWyKB1WximT0U5HKdSuB9tmJGjjP+WUyveHxJJys3ANsljj163kCdsI6M3gdfyCVC+B2rq8sc5m2Ko02RA== dependencies: prop-types "^15.5.10" - react "^16.6.3" - react-dom "^16.6.3" react-lifecycles-compat "^3.0.4" react-style-proptype "^3.0.0" @@ -8542,14 +8179,14 @@ react-style-proptype@^3.0.0: prop-types "^15.5.4" react-test-renderer@^16.0.0-0: - version "16.7.0" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.7.0.tgz#1ca96c2b450ab47c36ba92cd8c03fcefc52ea01c" - integrity sha512-tFbhSjknSQ6+ttzmuGdv+SjQfmvGcq3PFKyPItohwhhOBmRoTf1We3Mlt3rJtIn85mjPXOkKV+TaKK4irvk9Yg== + version "16.8.5" + resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.8.5.tgz#4cba7a8aad73f7e8a0bc4379a0fe21632886a563" + integrity sha512-/pFpHYQH4f35OqOae/DgOCXJDxBqD3K3akVfDhLgR0qYHoHjnICI/XS9QDwIhbrOFHWL7okVW9kKMaHuKvt2ng== dependencies: object-assign "^4.1.1" prop-types "^15.6.2" - react-is "^16.7.0" - scheduler "^0.12.0" + react-is "^16.8.5" + scheduler "^0.13.5" react-textarea-autosize@^7.0.4: version "7.1.0" @@ -8560,16 +8197,16 @@ react-textarea-autosize@^7.0.4: prop-types "^15.6.0" react-tiny-virtual-list@^2.0.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/react-tiny-virtual-list/-/react-tiny-virtual-list-2.1.4.tgz#a574c4dfd8ccf462e3a335f665cffbfd08ce6e7d" - integrity sha512-9JvkWliho5SGHlv/uz3MuObUkg60SPvw3Ottvi/n4nl7qzBvxtb9oI8kJqI9sfZYYGy7xQLbTP0vGhqtnhA04Q== + version "2.2.0" + resolved "https://registry.yarnpkg.com/react-tiny-virtual-list/-/react-tiny-virtual-list-2.2.0.tgz#eafb6fcf764e4ed41150ff9752cdaad8b35edf4a" + integrity sha512-MDiy2xyqfvkWrRiQNdHFdm36lfxmcLLKuYnUqcf9xIubML85cmYCgzBJrDsLNZ3uJQ5LEHH9BnxGKKSm8+C0Bw== dependencies: prop-types "^15.5.7" react-transition-group@^2.0.0: - version "2.5.2" - resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-2.5.2.tgz#9457166a9ba6ce697a3e1b076b3c049b9fb2c408" - integrity sha512-vwHP++S+f6KL7rg8V1mfs62+MBKtbMeZDR8KiNmD7v98Gs3UPGsDZDahPJH2PVprFW5YHJfh6cbNim3zPndaSQ== + version "2.7.0" + resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-2.7.0.tgz#60ca3bb2bf83fe71c50816a936e985ce7b8134dc" + integrity sha512-CzF22K0x6arjQO4AxkasMaiYcFG/QH0MhPNs45FmNsfWsQmsO9jv52sIZJAalnlryD5RgrrbLtV5CMJSokrrMA== dependencies: dom-helpers "^3.3.1" loose-envify "^1.4.0" @@ -8590,26 +8227,26 @@ react-treebeard@^3.1.0: velocity-react "^1.4.1" react-virtualized@^9.2.2: - version "9.19.0" - resolved "https://registry.yarnpkg.com/react-virtualized/-/react-virtualized-9.19.0.tgz#f329997be53e3af74427d03062517ddb3b9c8ab7" - integrity sha512-aeOGF964AnR7rcKtl2mQF8Ci2s3OJI2a4lmcCTTj1tNBk0V3xKjlhQETrnHs1xU66yNx2+CMTgS4CV82Pf/oNQ== + version "9.21.0" + resolved "https://registry.yarnpkg.com/react-virtualized/-/react-virtualized-9.21.0.tgz#8267c40ffb48db35b242a36dea85edcf280a6506" + integrity sha512-duKD2HvO33mqld4EtQKm9H9H0p+xce1c++2D5xn59Ma7P8VT7CprfAe5hwjd1OGkyhqzOZiTMlTal7LxjH5yBQ== dependencies: babel-runtime "^6.26.0" classnames "^2.2.3" dom-helpers "^2.4.0 || ^3.0.0" loose-envify "^1.3.0" prop-types "^15.6.0" - react-lifecycles-compat "^1.0.2" + react-lifecycles-compat "^3.0.4" -react@^16.6.3, react@^16.7.0: - version "16.7.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.7.0.tgz#b674ec396b0a5715873b350446f7ea0802ab6381" - integrity sha512-StCz3QY8lxTb5cl2HJxjwLFOXPIFQp+p+hxQfc8WE0QiLfCtIlKj8/+5tjjKm8uSTlAW+fCPaavGFS06V9Ar3A== +react@^16.7.0: + version "16.8.5" + resolved "https://registry.yarnpkg.com/react/-/react-16.8.5.tgz#49be3b655489d74504ad994016407e8a0445de66" + integrity sha512-daCb9TD6FZGvJ3sg8da1tRAtIuw29PbKZW++NN4wqkbEvxL+bZpaaYb4xuftW/SpXmgacf1skXl/ddX6CdOlDw== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" prop-types "^15.6.2" - scheduler "^0.12.0" + scheduler "^0.13.5" read-pkg-up@^1.0.1: version "1.0.1" @@ -8671,7 +8308,7 @@ read-pkg@^4.0.1: parse-json "^4.0.0" pify "^3.0.0" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== @@ -8684,32 +8321,40 @@ read-pkg@^4.0.1: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@1.0: - version "1.0.34" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" - integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw= +readable-stream@^3.1.1: + version "3.2.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.2.0.tgz#de17f229864c120a9f56945756e4f32c4045245d" + integrity sha512-RV20kLjdmpZuTF1INEb9IA3L68Nmi+Ri7ppZqo78wj//Pn62fCoJyV9zalccNzDD/OuJpMG4f+pfMl8+L6QdGw== dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" -readdirp@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" - integrity sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg= +readdirp@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" + integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== dependencies: - graceful-fs "^4.1.2" - minimatch "^3.0.2" + graceful-fs "^4.1.11" + micromatch "^3.1.10" readable-stream "^2.0.2" - set-immediate-shim "^1.0.1" + +recast@^0.14.7: + version "0.14.7" + resolved "https://registry.yarnpkg.com/recast/-/recast-0.14.7.tgz#4f1497c2b5826d42a66e8e3c9d80c512983ff61d" + integrity sha512-/nwm9pkrcWagN40JeJhkPaRxiHXBRkXyRh/hgU088Z/v+qCy+zIHHY6bC6o7NaKAxPqtE6nD8zBH1LfU0/Wx6A== + dependencies: + ast-types "0.11.3" + esprima "~4.0.0" + private "~0.1.5" + source-map "~0.6.1" recast@^0.16.0: - version "0.16.1" - resolved "https://registry.yarnpkg.com/recast/-/recast-0.16.1.tgz#865f1800ef76e42e5d0375763b80f4d6a05f2069" - integrity sha512-ZUQm94F3AHozRaTo4Vz6yIgkSEZIL7p+BsWeGZ23rx+ZVRoqX+bvBA8br0xmCOU0DSR4qYGtV7Y5HxTsC4V78A== + version "0.16.2" + resolved "https://registry.yarnpkg.com/recast/-/recast-0.16.2.tgz#3796ebad5fe49ed85473b479cd6df554ad725dc2" + integrity sha512-O/7qXi51DPjRVdbrpNzoBQH5dnAPQNbfoOFyRiUwreTMJfIHYOEBzwuH+c0+/BTSJ3CQyKs6ILSWXhESH6Op3A== dependencies: - ast-types "0.11.6" + ast-types "0.11.7" esprima "~4.0.0" private "~0.1.5" source-map "~0.6.1" @@ -8752,10 +8397,10 @@ redux@^4.0.1: loose-envify "^1.4.0" symbol-observable "^1.2.0" -regenerate-unicode-properties@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-7.0.0.tgz#107405afcc4a190ec5ed450ecaa00ed0cafa7a4c" - integrity sha512-s5NGghCE4itSlUS+0WUj88G6cfMVMmH8boTPNvABf8od+2dhT9WDlWu8n01raQAJZMOK8Ch6jSexaRO7swd6aw== +regenerate-unicode-properties@^8.0.2: + version "8.0.2" + resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.0.2.tgz#7b38faa296252376d363558cfbda90c9ce709662" + integrity sha512-SbA/iNrBUf6Pv2zU8Ekv1Qbhv92yxL4hiDa2siuxs4KKn4oOoMDHXjAf7+Nz9qinUQ46B1LcWEi/PhJfPWpZWQ== dependencies: regenerate "^1.4.0" @@ -8774,19 +8419,17 @@ regenerator-runtime@^0.12.0, regenerator-runtime@^0.12.1: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== -regenerator-transform@^0.13.3: - version "0.13.3" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.13.3.tgz#264bd9ff38a8ce24b06e0636496b2c856b57bcbb" - integrity sha512-5ipTrZFSq5vU2YoGoww4uaRVAK4wyYC4TSICibbfEPOruUu8FFP7ErV0BjmbIOEpn3O/k9na9UEdYR/3m7N6uA== - dependencies: - private "^0.1.6" +regenerator-runtime@^0.13.2: + version "0.13.2" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz#32e59c9a6fb9b1a4aff09b4930ca2d4477343447" + integrity sha512-S/TQAZJO+D3m9xeN1WTI8dLKBBiRgXBlTJvbWjCThHWZj9EvHK70Ff50/tYj2J/fvBY6JtFVwRuazHN2E7M9BA== -regex-cache@^0.4.2: - version "0.4.4" - resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" - integrity sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ== +regenerator-transform@^0.13.4: + version "0.13.4" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.13.4.tgz#18f6763cf1382c69c36df76c6ce122cc694284fb" + integrity sha512-T0QMBjK3J0MtxjPmdIMXm72Wvj2Abb0Bd4HADdfijwMdoIsyQZ6fWC7kDFhk2YinBBEMZDL7Y7wh0J1sGx3S4A== dependencies: - is-equal-shallow "^0.1.3" + private "^0.1.6" regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" @@ -8796,6 +8439,11 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" +regexp-tree@^0.1.0: + version "0.1.5" + resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.5.tgz#7cd71fca17198d04b4176efd79713f2998009397" + integrity sha512-nUmxvfJyAODw+0B13hj8CFVAxhe7fDEAgJgaotBu3nnR+IgGgZq59YedJP5VYTlkEfqjuK6TuRpnymKdatLZfQ== + regexp.prototype.flags@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.2.0.tgz#6b30724e306a27833eeb171b66ac8890ba37e41c" @@ -8822,17 +8470,17 @@ regexpu-core@^1.0.0: regjsgen "^0.2.0" regjsparser "^0.1.4" -regexpu-core@^4.1.3, regexpu-core@^4.2.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.4.0.tgz#8d43e0d1266883969720345e70c275ee0aec0d32" - integrity sha512-eDDWElbwwI3K0Lo6CqbQbA6FwgtCz4kYTarrri1okfkRLZAqstU+B3voZBCjg8Fl6iq0gXrJG6MvRgLthfvgOA== +regexpu-core@^4.1.3, regexpu-core@^4.5.4: + version "4.5.4" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.4.tgz#080d9d02289aa87fe1667a4f5136bc98a6aebaae" + integrity sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ== dependencies: regenerate "^1.4.0" - regenerate-unicode-properties "^7.0.0" + regenerate-unicode-properties "^8.0.2" regjsgen "^0.5.0" regjsparser "^0.6.0" unicode-match-property-ecmascript "^1.0.4" - unicode-match-property-value-ecmascript "^1.0.2" + unicode-match-property-value-ecmascript "^1.1.0" regjsgen@^0.2.0: version "0.2.0" @@ -8883,22 +8531,22 @@ render-fragment@^0.1.1: integrity sha512-+DnAcalJYR8GE5VRuQGGu78Q0GDe8EXnkuk4DF8gbAhIeS6LRt4j+aaggLLj4PtQVfXNC61McXvXI58WqmRleQ== renderkid@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/renderkid/-/renderkid-2.0.1.tgz#898cabfc8bede4b7b91135a3ffd323e58c0db319" - integrity sha1-iYyr/Ivt5Le5ETWj/9Mj5YwNsxk= + version "2.0.3" + resolved "https://registry.yarnpkg.com/renderkid/-/renderkid-2.0.3.tgz#380179c2ff5ae1365c522bf2fcfcff01c5b74149" + integrity sha512-z8CLQp7EZBPCwCnncgf9C4XAi3WR0dv+uWu/PjIyhhAb5d6IJ/QZqlHFprHeKT+59//V6BNUsLbvN8+2LarxGA== dependencies: css-select "^1.1.0" - dom-converter "~0.1" - htmlparser2 "~3.3.0" + dom-converter "^0.2" + htmlparser2 "^3.3.0" strip-ansi "^3.0.0" - utila "~0.3" + utila "^0.4.0" repeat-element@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" - integrity sha1-7wiaF40Ug7quTZPrmLT55OEdmQo= + version "1.1.3" + resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" + integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g== -repeat-string@^1.5.2, repeat-string@^1.6.1: +repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= @@ -9002,17 +8650,10 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.1.6, resolve@^1.5.0: - version "1.7.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.7.1.tgz#aadd656374fd298aee895bc026b8297418677fd3" - integrity sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw== - dependencies: - path-parse "^1.0.5" - -resolve@^1.3.2, resolve@^1.4.0, resolve@^1.6.0, resolve@^1.8.1: - version "1.9.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.9.0.tgz#a14c6fdfa8f92a7df1d996cb7105fa744658ea06" - integrity sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ== +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.6.0, resolve@^1.8.1, resolve@^1.9.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba" + integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg== dependencies: path-parse "^1.0.6" @@ -9029,14 +8670,7 @@ ret@~0.1.10: resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== -rimraf@2, rimraf@^2.2.8, rimraf@^2.6.1: - version "2.6.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" - integrity sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w== - dependencies: - glob "^7.0.5" - -rimraf@^2.5.4, rimraf@^2.6.2: +rimraf@2, rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@~2.6.2: version "2.6.3" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== @@ -9052,27 +8686,27 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: inherits "^2.0.1" rollup-plugin-babel@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.2.0.tgz#9a2c119b5c923928842783ec2abd306fa733054f" - integrity sha512-DBZbItGcru3iZM8aqVOS6+9GgIE+u0eX1HHN2iUIOjeXKMN8MK9/DaCOmQEt/le0sxqQOLIG+rPIhhm8uhJA7Q== + version "4.3.2" + resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.3.2.tgz#8c0e1bd7aa9826e90769cf76895007098ffd1413" + integrity sha512-KfnizE258L/4enADKX61ozfwGHoqYauvoofghFJBhFnpH9Sb9dNPpWg8QHOaAfVASUYV8w0mCx430i9z0LJoJg== dependencies: "@babel/helper-module-imports" "^7.0.0" rollup-pluginutils "^2.3.0" rollup-plugin-commonjs@^9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.2.0.tgz#4604e25069e0c78a09e08faa95dc32dec27f7c89" - integrity sha512-0RM5U4Vd6iHjL6rLvr3lKBwnPsaVml+qxOGaaNUWN1lSq6S33KhITOfHmvxV3z2vy9Mk4t0g4rNlVaJJsNQPWA== + version "9.2.2" + resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.2.2.tgz#4959f3ff0d9706c132e5247b47ab385f11d9aae6" + integrity sha512-FXBgY+IvZIV2AZVT/0CPMsP+b1dKkxE+F6SHI9wddqKDV9KCGDA2cV5e/VsJLwXKFgrtliqMr7Rq3QBfPiJ8Xg== dependencies: - estree-walker "^0.5.2" - magic-string "^0.25.1" - resolve "^1.8.1" - rollup-pluginutils "^2.3.3" + estree-walker "^0.6.0" + magic-string "^0.25.2" + resolve "^1.10.0" + rollup-pluginutils "^2.5.0" rollup-plugin-filesize@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-filesize/-/rollup-plugin-filesize-6.0.0.tgz#6188769eff2ee6f4508e0f6de5cf64409e2a269d" - integrity sha512-yU1nNkB2RP1PwLpBFIzH9oIwLL+Si6AEuy0/hAhFW+68hy6x/W/MxhhsUe7bDhG7Gnei7FOGC4Ag4W9+CninMQ== + version "6.0.1" + resolved "https://registry.yarnpkg.com/rollup-plugin-filesize/-/rollup-plugin-filesize-6.0.1.tgz#71937b48a411374c76c4a7e6bbdb087780d8bd64" + integrity sha512-wtxHShJofSxJRuYGGxgwIJyxxW+Mgu/vGGcsOUJVN+US6jE+gQYphSS3H2PS2HCVfxDtERtL0gjptk1gYru9rA== dependencies: boxen "^2.0.0" brotli-size "0.0.3" @@ -9083,40 +8717,40 @@ rollup-plugin-filesize@^6.0.0: terser "^3.10.0" rollup-plugin-node-resolve@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.0.0.tgz#9bc6b8205e9936cc0e26bba2415f1ecf1e64d9b2" - integrity sha512-7Ni+/M5RPSUBfUaP9alwYQiIKnKeXCOHiqBpKUl9kwp3jX5ZJtgXAait1cne6pGEVUUztPD6skIKH9Kq9sNtfw== + version "4.0.1" + resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.0.1.tgz#f95765d174e5daeef9ea6268566141f53aa9d422" + integrity sha512-fSS7YDuCe0gYqKsr5OvxMloeZYUSgN43Ypi1WeRZzQcWtHgFayV5tUSPYpxuaioIIWaBXl6NrVk0T2/sKwueLg== dependencies: builtin-modules "^3.0.0" is-module "^1.0.0" - resolve "^1.8.1" + resolve "^1.10.0" rollup-plugin-uglify@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-uglify/-/rollup-plugin-uglify-6.0.0.tgz#15aa8919e5cdc63b7cfc9319c781788b40084ce4" - integrity sha512-XtzZd159QuOaXNvcxyBcbUCSoBsv5YYWK+7ZwUyujSmISst8avRfjWlp7cGu8T2O52OJnpEBvl+D4WLV1k1iQQ== + version "6.0.2" + resolved "https://registry.yarnpkg.com/rollup-plugin-uglify/-/rollup-plugin-uglify-6.0.2.tgz#681042cfdf7ea4e514971946344e1a95bc2772fe" + integrity sha512-qwz2Tryspn5QGtPUowq5oumKSxANKdrnfz7C0jm4lKxvRDsNe/hSGsB9FntUul7UeC4TsZEWKErVgE1qWSO0gw== dependencies: "@babel/code-frame" "^7.0.0" - jest-worker "^23.2.0" - serialize-javascript "^1.5.0" + jest-worker "^24.0.0" + serialize-javascript "^1.6.1" uglify-js "^3.4.9" -rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz#3aad9b1eb3e7fe8262820818840bf091e5ae6794" - integrity sha512-2XZwja7b6P5q4RZ5FhyX1+f46xi1Z3qBKigLRZ6VTZjwbN0K1IFGMlwm06Uu0Emcre2Z63l77nq/pzn+KxIEoA== +rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.5.0.tgz#23be0f05ac3972ea7b08fc7870cb91fde5b23a09" + integrity sha512-9Muh1H+XB5f5ONmKMayUoTYR1EZwHbwJJ9oZLrKT5yuTf/RLIQ5mYIGsrERquVucJmjmaAW0Y7+6Qo1Ep+5w3Q== dependencies: - estree-walker "^0.5.2" - micromatch "^2.3.11" + estree-walker "^0.6.0" + micromatch "^3.1.10" rollup@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.1.0.tgz#461a7534b55be48aa4a6e6810a1543a5769e75d1" - integrity sha512-NK03gkkOz0CchHBMGomcNqa6U3jLNzHuWK9SI0+1FV475JA6cQxVtjlDcQoKKDNIQ3IwYumIlgoKYDEWUyFBwQ== + version "1.7.3" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.7.3.tgz#cade518b92e23efa72026e264e29d9a56cbf8eb9" + integrity sha512-U3/HaZujvGofNZQldfIknKoaNFNRS+j8/uCS/jSy3FrxF9t0FBsgZW4+VXLHG7l1daTgE6+jEy0Dv7cVCB2NPg== dependencies: "@types/estree" "0.0.39" - "@types/node" "*" - acorn "^6.0.5" + "@types/node" "^11.11.6" + acorn "^6.1.1" run-async@^2.2.0: version "2.3.0" @@ -9149,10 +8783,10 @@ rx-lite@*, rx-lite@^4.0.8: resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" integrity sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ= -rxjs@^6.1.0: - version "6.3.3" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz#3c6a7fa420e844a81390fb1158a9ec614f4bad55" - integrity sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw== +rxjs@^6.1.0, rxjs@^6.4.0: + version "6.4.0" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.4.0.tgz#f3bb0fe7bda7fb69deac0c16f17b50b0b8790504" + integrity sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw== dependencies: tslib "^1.9.0" @@ -9173,7 +8807,7 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3": +"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -9205,15 +8839,15 @@ sax@^1.2.4, sax@~1.2.4: resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== -scheduler@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.12.0.tgz#8ab17699939c0aedc5a196a657743c496538647b" - integrity sha512-t7MBR28Akcp4Jm+QoR63XgAi9YgCUmgvDHqf5otgAj4QvdoBE4ImCX0ffehefePPG+aitiYHp0g/mW6s4Tp+dw== +scheduler@^0.13.5: + version "0.13.5" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.13.5.tgz#b7226625167041298af3b98088a9dbbf6d7733a8" + integrity sha512-K98vjkQX9OIt/riLhp6F+XtDPtMQhqNcf045vsh+pcuvHq+PHy1xCrH3pq1P40m6yR46lpVvVhKdEOtnimuUJw== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" -schema-utils@^0.4.4, schema-utils@^0.4.5: +schema-utils@^0.4.5: version "0.4.7" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187" integrity sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ== @@ -9243,16 +8877,16 @@ semver-compare@^1.0.0: resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc" integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w= -"semver@2 || 3 || 4 || 5", semver@5.5.0, semver@^5.3.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" - integrity sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== - -semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: +"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: version "5.6.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== +semver@5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" + integrity sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== + semver@~5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" @@ -9277,7 +8911,7 @@ send@0.16.2: range-parser "~1.2.0" statuses "~1.4.0" -serialize-javascript@^1.4.0, serialize-javascript@^1.5.0: +serialize-javascript@^1.4.0, serialize-javascript@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.6.1.tgz#4d1f697ec49429a847ca6f442a2a755126c4d879" integrity sha512-A5MOagrPFga4YaKQSWHryl7AXvbQkEqpw4NNYMTNYUNV51bA8ABHgYFpqKx+YFFrw59xMV1qGH1R4AgoNIVgCw== @@ -9308,11 +8942,6 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= -set-immediate-shim@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" - integrity sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E= - set-value@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" @@ -9505,10 +9134,10 @@ source-map-resolve@^0.5.0: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@~0.5.6: - version "0.5.9" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.9.tgz#41bc953b2534267ea2d605bccfa7bfa3111ced5f" - integrity sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA== +source-map-support@~0.5.10: + version "0.5.11" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.11.tgz#efac2ce0800355d026326a0ca23e162aeac9a4e2" + integrity sha512-//sajEx/fGL3iw6fltKMdPvy8kL3kJ2O3iuYlRoT3k9Kb4BjOoZ+BZzaNHeuaruSt+Kf3Zk9tnfAQg9/AJqUVQ== dependencies: buffer-from "^1.0.0" source-map "^0.6.0" @@ -9518,11 +9147,6 @@ source-map-url@^0.4.0: resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= -source-map@0.5.x, source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.3: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= - source-map@^0.4.2: version "0.4.4" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" @@ -9530,12 +9154,17 @@ source-map@^0.4.2: dependencies: amdefine ">=0.0.4" +source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.3: + version "0.5.7" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= + source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -sourcemap-codec@^1.4.1: +sourcemap-codec@^1.4.4: version "1.4.4" resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" integrity sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg== @@ -9555,17 +9184,17 @@ spawn-promise@^0.1.8: co "^4.6.0" spdx-correct@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.0.0.tgz#05a5b4d7153a195bc92c3c425b69f3b2a9524c82" - integrity sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g== + version "3.1.0" + resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" + integrity sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q== dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" spdx-exceptions@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz#2c7ae61056c714a5b9b9b2b2af7d311ef5c78fe9" - integrity sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg== + version "2.2.0" + resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" + integrity sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA== spdx-expression-parse@^3.0.0: version "3.0.0" @@ -9576,9 +9205,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz#7a7cd28470cc6d3a1cfe6d66886f6bc430d3ac87" - integrity sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA== + version "3.0.3" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz#81c0ce8f21474756148bbb5f3bfc0f36bf15d76e" + integrity sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g== split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" @@ -9607,18 +9236,18 @@ sprintf-js@~1.0.2: integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= sshpk@^1.7.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" - integrity sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s= + version "1.16.1" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" + integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== dependencies: asn1 "~0.2.3" assert-plus "^1.0.0" - dashdash "^1.12.0" - getpass "^0.1.1" - optionalDependencies: bcrypt-pbkdf "^1.0.0" + dashdash "^1.12.0" ecc-jsbn "~0.1.1" + getpass "^0.1.1" jsbn "~0.1.0" + safer-buffer "^2.0.2" tweetnacl "~0.14.0" ssri@^6.0.1: @@ -9628,7 +9257,7 @@ ssri@^6.0.1: dependencies: figgy-pudding "^3.5.1" -stable@~0.1.6: +stable@^0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== @@ -9673,9 +9302,9 @@ stdout-stream@^1.4.0: readable-stream "^2.0.1" stream-browserify@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" - integrity sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds= + version "2.0.2" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" + integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg== dependencies: inherits "~2.0.1" readable-stream "^2.0.2" @@ -9713,7 +9342,7 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: +"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -9722,13 +9351,13 @@ string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: strip-ansi "^4.0.0" string-width@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.0.0.tgz#5a1690a57cc78211fffd9bf24bbe24d090604eb1" - integrity sha512-rr8CUxBbvOZDUvc5lNIJ+OC1nPVpz+Siw9VBtUjB9b6jZehZLFt0JMCZzShFHIsI8cbhm0EsNIfWJMFV3cu3Ew== + version "3.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== dependencies: emoji-regex "^7.0.1" is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.0.0" + strip-ansi "^5.1.0" string.prototype.matchall@^3.0.0: version "3.0.1" @@ -9759,18 +9388,13 @@ string.prototype.padstart@^3.0.0: es-abstract "^1.4.3" function-bind "^1.0.2" -string_decoder@^1.0.0: +string_decoder@^1.0.0, string_decoder@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" integrity sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w== dependencies: safe-buffer "~5.1.0" -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ= - string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" @@ -9792,12 +9416,12 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" -strip-ansi@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.0.0.tgz#f78f68b5d0866c20b2c9b8c61b5298508dc8756f" - integrity sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow== +strip-ansi@^5.0.0, strip-ansi@^5.1.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== dependencies: - ansi-regex "^4.0.0" + ansi-regex "^4.1.0" strip-bom@^2.0.0: version "2.0.0" @@ -9854,19 +9478,19 @@ supports-color@^3.2.3: has-flag "^1.0.0" supports-color@^5.3.0, supports-color@^5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" - integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w== - dependencies: - has-flag "^3.0.0" - -supports-color@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== dependencies: has-flag "^3.0.0" +supports-color@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" + integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== + dependencies: + has-flag "^3.0.0" + svg-url-loader@^2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/svg-url-loader/-/svg-url-loader-2.3.2.tgz#dd86b26c19fe3b914f04ea10ef39594eade04464" @@ -9876,22 +9500,22 @@ svg-url-loader@^2.3.2: loader-utils "1.1.0" svgo@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.1.1.tgz#12384b03335bcecd85cfa5f4e3375fed671cb985" - integrity sha512-GBkJbnTuFpM4jFbiERHDWhZc/S/kpHToqmZag3aEBjPYK44JAN2QBjvrGIxLOoCyMZjuFQIfTO2eJd8uwLY/9g== + version "1.2.0" + resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.2.0.tgz#305a8fc0f4f9710828c65039bb93d5793225ffc3" + integrity sha512-xBfxJxfk4UeVN8asec9jNxHiv3UAMv/ujwBWGYvQhhMb2u3YTGKkiybPcLFDLq7GLLWE9wa73e0/m8L5nTzQbw== dependencies: - coa "~2.0.1" - colors "~1.1.2" + chalk "^2.4.1" + coa "^2.0.2" css-select "^2.0.0" - css-select-base-adapter "~0.1.0" + css-select-base-adapter "^0.1.1" css-tree "1.0.0-alpha.28" css-url-regex "^1.1.0" - csso "^3.5.0" + csso "^3.5.1" js-yaml "^3.12.0" mkdirp "~0.5.1" - object.values "^1.0.4" + object.values "^1.1.0" sax "~1.2.4" - stable "~0.1.6" + stable "^0.1.8" unquote "~1.1.1" util.promisify "~1.0.0" @@ -9957,14 +9581,14 @@ tar@^2.0.0: inherits "2" tar@^4: - version "4.4.2" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.2.tgz#60685211ba46b38847b1ae7ee1a24d744a2cd462" - integrity sha512-BfkE9CciGGgDsATqkikUHrQrraBCO+ke/1f6SFAEMnxyyfN9lxC+nW1NFWMpqH865DhHIy9vQi682gk1X7friw== + version "4.4.8" + resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.8.tgz#b19eec3fde2a96e64666df9fdb40c5ca1bc3747d" + integrity sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ== dependencies: - chownr "^1.0.1" + chownr "^1.1.1" fs-minipass "^1.2.5" - minipass "^2.2.4" - minizlib "^1.1.0" + minipass "^2.3.4" + minizlib "^1.1.1" mkdirp "^0.5.0" safe-buffer "^5.1.2" yallist "^3.0.2" @@ -9977,27 +9601,27 @@ term-size@^1.2.0: execa "^0.7.0" terser-webpack-plugin@^1.1.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.2.1.tgz#7545da9ae5f4f9ae6a0ac961eb46f5e7c845cc26" - integrity sha512-GGSt+gbT0oKcMDmPx4SRSfJPE1XaN3kQRWG4ghxKQw9cn5G9x6aCKSsgYdvyM0na9NJ4Drv0RG6jbBByZ5CMjw== + version "1.2.3" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.2.3.tgz#3f98bc902fac3e5d0de730869f50668561262ec8" + integrity sha512-GOK7q85oAb/5kE12fMuLdn2btOS9OBZn4VsecpHDywoUC/jLhSAKOiYo0ezx7ss2EXPMzyEWFoE0s1WLE+4+oA== dependencies: cacache "^11.0.2" find-cache-dir "^2.0.0" schema-utils "^1.0.0" serialize-javascript "^1.4.0" source-map "^0.6.1" - terser "^3.8.1" + terser "^3.16.1" webpack-sources "^1.1.0" worker-farm "^1.5.2" -terser@^3.10.0, terser@^3.8.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-3.14.1.tgz#cc4764014af570bc79c79742358bd46926018a32" - integrity sha512-NSo3E99QDbYSMeJaEk9YW2lTg3qS9V0aKGlb+PlOrei1X02r1wSBHCNX/O+yeTRFSWPKPIGj6MqvvdqV4rnVGw== +terser@^3.10.0, terser@^3.16.1: + version "3.17.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-3.17.0.tgz#f88ffbeda0deb5637f9d24b0da66f4e15ab10cb2" + integrity sha512-/FQzzPJmCpjAH9Xvk2paiWrFq+5M6aVOf+2KRbwhByISDX/EujxsK+BAvrhb6H+2rtrLCHK9N01wO014vrIwVQ== dependencies: - commander "~2.17.1" + commander "^2.19.0" source-map "~0.6.1" - source-map-support "~0.5.6" + source-map-support "~0.5.10" text-extensions@^1.0.0: version "1.9.0" @@ -10127,9 +9751,9 @@ trough@^1.0.0: glob "^7.1.2" tsconfig-paths@^3.6.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.7.0.tgz#02ae978db447b22e09dafcd4198be95c4885ceb2" - integrity sha512-7iE+Q/2E1lgvxD+c0Ot+GFFmgmfIjt/zCayyruXkXQ84BLT85gHXy0WSoQSiuFX9+d+keE/jiON7notV74ZY+A== + version "3.8.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.8.0.tgz#4e34202d5b41958f269cf56b01ed95b853d59f72" + integrity sha512-zZEYFo4sjORK8W58ENkRn9s+HmQFkkwydDG7My5s/fnfr2YYCaiyXe/HBUcIgU8epEKOXwiahOO+KZYjiXlWyQ== dependencies: "@types/json5" "^0.0.29" deepmerge "^2.0.1" @@ -10195,25 +9819,25 @@ typescript-estree@2.1.0: lodash.unescape "4.0.1" semver "5.5.0" -ua-parser-js@^0.7.9: - version "0.7.18" - resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.18.tgz#a7bfd92f56edfb117083b69e31d2aa8882d4b1ed" - integrity sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA== +ua-parser-js@^0.7.18: + version "0.7.19" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.19.tgz#94151be4c0a7fb1d001af7022fdaca4642659e4b" + integrity sha512-T3PVJ6uz8i0HzPxOF9SWzWAlfN/DavlpQqepn22xgve/5QecC+XMCAtmUNnY7C9StehaV6exjUCI801lOI7QlQ== -uglify-js@3.3.x: - version "3.3.25" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.3.25.tgz#3266ccb87c5bea229f69041a0296010d6477d539" - integrity sha512-hobogryjDV36VrLK3Y69ou4REyrTApzUblVFmdQOYRe8cYaSmFJXMb4dR9McdvYDSbeNdzUgYr2YVukJaErJcA== +uglify-js@3.4.x: + version "3.4.10" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.10.tgz#9ad9563d8eb3acdfb8d38597d2af1d815f6a755f" + integrity sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw== dependencies: - commander "~2.15.0" + commander "~2.19.0" source-map "~0.6.1" -uglify-js@3.4.x, uglify-js@^3.1.4, uglify-js@^3.4.9: - version "3.4.9" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3" - integrity sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q== +uglify-js@^3.1.4, uglify-js@^3.4.9: + version "3.5.2" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.5.2.tgz#dc0c7ac2da0a4b7d15e84266818ff30e82529474" + integrity sha512-imog1WIsi9Yb56yRt5TfYVxGmnWs3WSGU73ieSOlMVFwhJCA9W8fqFFMMj4kgDqiS/80LGdsYnWL7O9UcjEBlg== dependencies: - commander "~2.17.1" + commander "~2.19.0" source-map "~0.6.1" unicode-canonical-property-names-ecmascript@^1.0.4: @@ -10229,15 +9853,15 @@ unicode-match-property-ecmascript@^1.0.4: unicode-canonical-property-names-ecmascript "^1.0.4" unicode-property-aliases-ecmascript "^1.0.4" -unicode-match-property-value-ecmascript@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.2.tgz#9f1dc76926d6ccf452310564fd834ace059663d4" - integrity sha512-Rx7yODZC1L/T8XKo/2kNzVAQaRE88AaMvI1EF/Xnj3GW2wzN6fop9DDWuFAKUVFH7vozkz26DzP0qyWLKLIVPQ== +unicode-match-property-value-ecmascript@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277" + integrity sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g== unicode-property-aliases-ecmascript@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz#5a533f31b4317ea76f17d807fa0d116546111dd0" - integrity sha512-2WSLa6OdYd2ng8oqiGIWnJqyFArvhn+5vgx5GTxMbUYjCYKUcuKS62YLFF0R/BDGlB1yzXjQOLtPAfHsgirEpg== + version "1.0.5" + resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" + integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw== unified@^7.0.2: version "7.1.0" @@ -10263,6 +9887,11 @@ union-value@^1.0.0: is-extendable "^0.1.1" set-value "^0.4.3" +uniq@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" + integrity sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8= + unique-filename@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" @@ -10305,10 +9934,10 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -upath@^1.0.5: - version "1.1.0" - resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" - integrity sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw== +upath@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.2.tgz#3db658600edaeeccbe6db5e684d67ee8c2acd068" + integrity sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q== upper-case-first@^1.1.0: version "1.1.2" @@ -10364,7 +9993,7 @@ use@^3.1.0: resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== -util-deprecate@^1.0.2, util-deprecate@~1.0.1: +util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= @@ -10377,19 +10006,21 @@ util.promisify@1.0.0, util.promisify@^1.0.0, util.promisify@~1.0.0: define-properties "^1.1.2" object.getownpropertydescriptors "^2.0.3" -util@0.10.3, util@^0.10.3: +util@0.10.3: version "0.10.3" resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" integrity sha1-evsa/lCAUkZInj23/g7TeTNqwPk= dependencies: inherits "2.0.1" -utila@~0.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/utila/-/utila-0.3.3.tgz#d7e8e7d7e309107092b05f8d9688824d633a4226" - integrity sha1-1+jn1+MJEHCSsF+NloiCTWM6QiY= +util@^0.11.0: + version "0.11.1" + resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" + integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ== + dependencies: + inherits "2.0.3" -utila@~0.4: +utila@^0.4.0, utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" integrity sha1-ihagXURWV6Oupe7MWxKk+lN5dyw= @@ -10405,9 +10036,9 @@ uuid@^3.3.2: integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== validate-npm-package-license@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz#81643bcbef1bdfecd4623793dc4648948ba98338" - integrity sha512-63ZOUnL4SIXj4L0NixR3L1lcjO38crAbgrTpl28t8jjrfuiOBL5Iygm+60qPs/KsZGzPNg6Smnc/oY16QTjF0g== + version "3.0.4" + resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" + integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== dependencies: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" @@ -10487,11 +10118,11 @@ web-namespaces@^1.1.2: integrity sha512-II+n2ms4mPxK+RnIxRPOw3zwF2jRscdJIUE9BfkKHm4FYEg9+biIoTMnaZF5MpemE3T+VhMLrhbyD4ilkPCSbg== webpack-dev-middleware@^3.4.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.5.0.tgz#fff0a07b0461314fb6ca82df3642c2423f768429" - integrity sha512-1Zie7+dMr4Vv3nGyhr8mxGQkzTQK1PTS8K3yJ4yB1mfRGwO1DzQibgmNfUqbEfQY6eEtEEUzC+o7vhpm/Sfn5w== + version "3.6.1" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.6.1.tgz#91f2531218a633a99189f7de36045a331a4b9cd4" + integrity sha512-XQmemun8QJexMEvNFbD2BIg4eSKrmSIMrTfnl2nql2Sc6OGAYFyb8rwuYrCjl/IiEYYuyTEiimMscu7EXji/Dw== dependencies: - memory-fs "~0.4.1" + memory-fs "^0.4.1" mime "^2.3.1" range-parser "^1.0.3" webpack-log "^2.0.0" @@ -10531,16 +10162,16 @@ webpack-sources@^1.1.0, webpack-sources@^1.3.0: source-map "~0.6.1" webpack@^4.23.1: - version "4.28.3" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.28.3.tgz#8acef6e77fad8a01bfd0c2b25aa3636d46511874" - integrity sha512-vLZN9k5I7Nr/XB1IDG9GbZB4yQd1sPuvufMFgJkx0b31fi2LD97KQIjwjxE7xytdruAYfu5S0FLBLjdxmwGJCg== - dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-module-context" "1.7.11" - "@webassemblyjs/wasm-edit" "1.7.11" - "@webassemblyjs/wasm-parser" "1.7.11" - acorn "^5.6.2" - acorn-dynamic-import "^3.0.0" + version "4.29.6" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.29.6.tgz#66bf0ec8beee4d469f8b598d3988ff9d8d90e955" + integrity sha512-MwBwpiE1BQpMDkbnUUaW6K8RFZjljJHArC6tWQJoFm0oQtfoSebtg4Y7/QHnJ/SddtjYLHaKGX64CFjG5rehJw== + dependencies: + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-module-context" "1.8.5" + "@webassemblyjs/wasm-edit" "1.8.5" + "@webassemblyjs/wasm-parser" "1.8.5" + acorn "^6.0.5" + acorn-dynamic-import "^4.0.0" ajv "^6.1.0" ajv-keywords "^3.1.0" chrome-trace-event "^1.0.0" @@ -10554,7 +10185,7 @@ webpack@^4.23.1: mkdirp "~0.5.0" neo-async "^2.5.0" node-libs-browser "^2.0.0" - schema-utils "^0.4.4" + schema-utils "^1.0.0" tapable "^1.1.0" terser-webpack-plugin "^1.1.0" watchpack "^1.5.0" @@ -10573,11 +10204,16 @@ websocket-extensions@>=0.1.1: resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" integrity sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg== -whatwg-fetch@2.0.4, whatwg-fetch@>=0.10.0: +whatwg-fetch@2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" integrity sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng== +whatwg-fetch@>=0.10.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb" + integrity sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q== + which-module@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" @@ -10593,14 +10229,7 @@ which-pm-runs@^1.0.0: resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= -which@1, which@^1.2.9: - version "1.3.0" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" - integrity sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg== - dependencies: - isexe "^2.0.0" - -which@^1.2.14: +which@1, which@^1.2.14, which@^1.2.9: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -10608,11 +10237,11 @@ which@^1.2.14: isexe "^2.0.0" wide-align@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" - integrity sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w== + version "1.1.3" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" + integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== dependencies: - string-width "^1.0.2" + string-width "^1.0.2 || 2" widest-line@^2.0.0: version "2.0.1" @@ -10684,9 +10313,9 @@ yallist@^2.1.2: integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= yallist@^3.0.0, yallist@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" - integrity sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k= + version "3.0.3" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" + integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A== yargs-parser@^5.0.0: version "5.0.0"