diff --git a/iframe.html b/iframe.html index 0b1b921e4b..ac666086c5 100644 --- a/iframe.html +++ b/iframe.html @@ -135,4 +135,4 @@ - window['FEATURES'] = {"postcss":true}; \ No newline at end of file + window['FEATURES'] = {"postcss":true}; \ No newline at end of file diff --git a/vendors~main.fcab6728.iframe.bundle.js b/vendors~main.53ccaaf5.iframe.bundle.js similarity index 98% rename from vendors~main.fcab6728.iframe.bundle.js rename to vendors~main.53ccaaf5.iframe.bundle.js index f599afd04e..06a0ac74c7 100644 --- a/vendors~main.fcab6728.iframe.bundle.js +++ b/vendors~main.53ccaaf5.iframe.bundle.js @@ -58706,7 +58706,6 @@ var euiDescriptionListTitleStyles = function euiDescriptionListTitleStyles(euiTh /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @hello-pangea/dnd */ "../node_modules/@hello-pangea/dnd/dist/dnd.esm.js"); -/* harmony import */ var _hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/react */ "../node_modules/@emotion/react/dist/emotion-react.browser.esm.js"); var _excluded = ["onBeforeDragStart", "onDragStart", "onDragUpdate", "onDragEnd", "children"]; function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); } @@ -58757,7 +58756,7 @@ var EuiDragDropContext = function EuiDragDropContext(_ref) { onDragEnd(result, provided); } }; - return Object(_emotion_react__WEBPACK_IMPORTED_MODULE_2__[/* jsx */ "d"])(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_1__["DragDropContext"], _extends({ + return Object(_emotion_react__WEBPACK_IMPORTED_MODULE_2__[/* jsx */ "d"])(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_1__[/* DragDropContext */ "a"], _extends({ onBeforeDragStart: onBeforeDragStart, onDragStart: euiOnDragStart, onDragUpdate: onDragUpdate, @@ -58786,7 +58785,6 @@ var EuiDragDropContext = function EuiDragDropContext(_ref) { /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @hello-pangea/dnd */ "../node_modules/@hello-pangea/dnd/dist/dnd.esm.js"); -/* harmony import */ var _hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "../node_modules/@elastic/eui/node_modules/classnames/index.js"); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _droppable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./droppable */ "../node_modules/@elastic/eui/es/components/drag_and_drop/droppable.js"); @@ -58842,7 +58840,7 @@ var EuiDraggable = function EuiDraggable(_ref) { rest = _objectWithoutProperties(_ref, _excluded); var _useContext = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_droppable__WEBPACK_IMPORTED_MODULE_4__[/* EuiDroppableContext */ "b"]), cloneItems = _useContext.cloneItems; - return Object(_emotion_react__WEBPACK_IMPORTED_MODULE_5__[/* jsx */ "d"])(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2__["Draggable"], _extends({ + return Object(_emotion_react__WEBPACK_IMPORTED_MODULE_5__[/* jsx */ "d"])(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2__[/* Draggable */ "b"], _extends({ draggableId: draggableId, index: index, isDragDisabled: isDragDisabled @@ -58929,7 +58927,6 @@ EuiDraggable.propTypes = { /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @hello-pangea/dnd */ "../node_modules/@hello-pangea/dnd/dist/dnd.esm.js"); -/* harmony import */ var _hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "../node_modules/@elastic/eui/node_modules/classnames/index.js"); /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _drag_drop_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./drag_drop_context */ "../node_modules/@elastic/eui/es/components/drag_and_drop/drag_drop_context.js"); @@ -58985,7 +58982,7 @@ var EuiDroppable = function EuiDroppable(_ref) { var _useContext = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_drag_drop_context__WEBPACK_IMPORTED_MODULE_4__[/* EuiDragDropContextContext */ "b"]), isDraggingType = _useContext.isDraggingType; var dropIsDisabled = cloneDraggables ? true : isDropDisabled; - return Object(_emotion_react__WEBPACK_IMPORTED_MODULE_5__[/* jsx */ "d"])(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2__["Droppable"], _extends({ + return Object(_emotion_react__WEBPACK_IMPORTED_MODULE_5__[/* jsx */ "d"])(_hello_pangea_dnd__WEBPACK_IMPORTED_MODULE_2__[/* Droppable */ "c"], _extends({ isDropDisabled: dropIsDisabled, droppableId: droppableId, direction: direction, @@ -132886,71 +132883,122 @@ var useInsertionEffectWithLayoutFallback = useInsertionEffect || react__WEBPACK_ /*!*********************************************************!*\ !*** ../node_modules/@hello-pangea/dnd/dist/dnd.esm.js ***! \*********************************************************/ -/*! no static exports found */ +/*! exports provided: DragDropContext, Draggable, Droppable, resetServerContext, useKeyboardSensor, useMouseSensor, useTouchSensor */ /*! exports used: DragDropContext, Draggable, Droppable */ -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DragDropContext; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return PublicDraggable; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return ConnectedDroppable$1; }); +/* unused harmony export resetServerContext */ +/* unused harmony export useKeyboardSensor */ +/* unused harmony export useMouseSensor */ +/* unused harmony export useTouchSensor */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "../node_modules/react-dom/index.js"); +/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux */ "../node_modules/@hello-pangea/dnd/node_modules/redux/es/redux.js"); +/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-redux */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/index.js"); +/* harmony import */ var use_memo_one__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! use-memo-one */ "../node_modules/use-memo-one/dist/use-memo-one.esm.js"); +/* harmony import */ var css_box_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! css-box-model */ "../node_modules/css-box-model/dist/css-box-model.esm.js"); +/* harmony import */ var memoize_one__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! memoize-one */ "../node_modules/@hello-pangea/dnd/node_modules/memoize-one/dist/memoize-one.esm.js"); +/* harmony import */ var raf_schd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! raf-schd */ "../node_modules/raf-schd/dist/raf-schd.esm.js"); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/extends.js"); +var _preventedKeys, _scrollJumpKeys; +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } +function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } +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, _toPropertyKey(descriptor.key), descriptor); } } +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); } +function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); } +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } +function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } +function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } +function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } +function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } +function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } +function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } + + + + + -import React, { useLayoutEffect as useLayoutEffect$1, useEffect, useRef, useState, useContext } from 'react'; -import ReactDOM, { flushSync } from 'react-dom'; -import { createStore as createStore$1, applyMiddleware, compose, bindActionCreators } from 'redux'; -import { Provider, connect } from 'react-redux'; -import { useMemo, useCallback } from 'use-memo-one'; -import { getRect, expand, offset, withScroll, calculateBox, getBox, createBox } from 'css-box-model'; -import memoizeOne from 'memoize-one'; -import rafSchd from 'raf-schd'; -import _extends from '@babel/runtime/helpers/esm/extends'; - -const isProduction$1 = process.env.NODE_ENV === 'production'; -const spacesAndTabs = /[ \t]{2,}/g; -const lineStartWithSpaces = /^[ \t]*/gm; -const clean$2 = value => value.replace(spacesAndTabs, ' ').replace(lineStartWithSpaces, '').trim(); -const getDevMessage = message => clean$2(` - %c@hello-pangea/dnd - - %c${clean$2(message)} - - %c👷‍ This is a development only message. It will be removed in production builds. -`); -const getFormattedMessage = message => [getDevMessage(message), 'color: #00C584; font-size: 1.2em; font-weight: bold;', 'line-height: 1.5', 'color: #723874;']; -const isDisabledFlag = '__@hello-pangea/dnd-disable-dev-warnings'; + + + +var isProduction$1 = "production" === 'production'; +var spacesAndTabs = /[ \t]{2,}/g; +var lineStartWithSpaces = /^[ \t]*/gm; +var clean$2 = function clean$2(value) { + return value.replace(spacesAndTabs, ' ').replace(lineStartWithSpaces, '').trim(); +}; +var getDevMessage = function getDevMessage(message) { + return clean$2("\n %c@hello-pangea/dnd\n\n %c".concat(clean$2(message), "\n\n %c\uD83D\uDC77\u200D This is a development only message. It will be removed in production builds.\n")); +}; +var getFormattedMessage = function getFormattedMessage(message) { + return [getDevMessage(message), 'color: #00C584; font-size: 1.2em; font-weight: bold;', 'line-height: 1.5', 'color: #723874;']; +}; +var isDisabledFlag = '__@hello-pangea/dnd-disable-dev-warnings'; function log(type, message) { + var _console; if (isProduction$1) { return; } if (typeof window !== 'undefined' && window[isDisabledFlag]) { return; } - console[type](...getFormattedMessage(message)); + (_console = console)[type].apply(_console, _toConsumableArray(getFormattedMessage(message))); } -const warning = log.bind(null, 'warn'); -const error = log.bind(null, 'error'); - +var warning = log.bind(null, 'warn'); +var error = log.bind(null, 'error'); function noop$2() {} - function getOptions(shared, fromBinding) { - return { - ...shared, - ...fromBinding - }; + return _objectSpread(_objectSpread({}, shared), fromBinding); } function bindEvents(el, bindings, sharedOptions) { - const unbindings = bindings.map(binding => { - const options = getOptions(sharedOptions, binding.options); + var unbindings = bindings.map(function (binding) { + var options = getOptions(sharedOptions, binding.options); el.addEventListener(binding.eventName, binding.fn, options); return function unbind() { el.removeEventListener(binding.eventName, binding.fn, options); }; }); return function unbindAll() { - unbindings.forEach(unbind => { + unbindings.forEach(function (unbind) { unbind(); }); }; } - -const isProduction = process.env.NODE_ENV === 'production'; -const prefix$1 = 'Invariant failed'; -class RbdInvariant extends Error {} +var isProduction = "production" === 'production'; +var prefix$1 = 'Invariant failed'; +var RbdInvariant = /*#__PURE__*/function (_Error) { + _inherits(RbdInvariant, _Error); + var _super = _createSuper(RbdInvariant); + function RbdInvariant() { + _classCallCheck(this, RbdInvariant); + return _super.apply(this, arguments); + } + return _createClass(RbdInvariant); +}( /*#__PURE__*/_wrapNativeSuper(Error)); RbdInvariant.prototype.toString = function toString() { return this.message; }; @@ -132961,173 +133009,156 @@ function invariant(condition, message) { if (isProduction) { throw new RbdInvariant(prefix$1); } else { - throw new RbdInvariant(`${prefix$1}: ${message || ''}`); + throw new RbdInvariant("".concat(prefix$1, ": ").concat(message || '')); } } - -class ErrorBoundary extends React.Component { - constructor() { - super(...arguments); - this.callbacks = null; - this.unbind = noop$2; - this.onWindowError = event => { - const callbacks = this.getCallbacks(); +var ErrorBoundary = /*#__PURE__*/function (_React$Component) { + _inherits(ErrorBoundary, _React$Component); + var _super2 = _createSuper(ErrorBoundary); + function ErrorBoundary() { + var _this; + _classCallCheck(this, ErrorBoundary); + _this = _super2.apply(this, arguments); + _this.callbacks = null; + _this.unbind = noop$2; + _this.onWindowError = function (event) { + var callbacks = _this.getCallbacks(); if (callbacks.isDragging()) { callbacks.tryAbort(); - process.env.NODE_ENV !== "production" ? warning(` - An error was caught by our window 'error' event listener while a drag was occurring. - The active drag has been aborted. - `) : void 0; + false ? undefined : void 0; } - const err = event.error; + var err = event.error; if (err instanceof RbdInvariant) { event.preventDefault(); - if (process.env.NODE_ENV !== 'production') { - error(err.message); - } + if (false) {} } }; - this.getCallbacks = () => { - if (!this.callbacks) { + _this.getCallbacks = function () { + if (!_this.callbacks) { throw new Error('Unable to find AppCallbacks in '); } - return this.callbacks; + return _this.callbacks; }; - this.setCallbacks = callbacks => { - this.callbacks = callbacks; + _this.setCallbacks = function (callbacks) { + _this.callbacks = callbacks; }; + return _this; } - componentDidMount() { - this.unbind = bindEvents(window, [{ - eventName: 'error', - fn: this.onWindowError - }]); - } - componentDidCatch(err) { - if (err instanceof RbdInvariant) { - if (process.env.NODE_ENV !== 'production') { - error(err.message); + _createClass(ErrorBoundary, [{ + key: "componentDidMount", + value: function componentDidMount() { + this.unbind = bindEvents(window, [{ + eventName: 'error', + fn: this.onWindowError + }]); + } + }, { + key: "componentDidCatch", + value: function componentDidCatch(err) { + if (err instanceof RbdInvariant) { + if (false) {} + this.setState({}); + return; } - this.setState({}); - return; + throw err; } - throw err; - } - componentWillUnmount() { - this.unbind(); - } - render() { - return this.props.children(this.setCallbacks); - } -} - -const dragHandleUsageInstructions = ` - Press space bar to start a drag. - When dragging you can use the arrow keys to move the item around and escape to cancel. - Some screen readers may require you to be in focus mode or to use your pass through key -`; -const position = index => index + 1; -const onDragStart = start => ` - You have lifted an item in position ${position(start.source.index)} -`; -const withLocation = (source, destination) => { - const isInHomeList = source.droppableId === destination.droppableId; - const startPosition = position(source.index); - const endPosition = position(destination.index); + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.unbind(); + } + }, { + key: "render", + value: function render() { + return this.props.children(this.setCallbacks); + } + }]); + return ErrorBoundary; +}(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component); +var dragHandleUsageInstructions = "\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n"; +var position = function position(index) { + return index + 1; +}; +var onDragStart = function onDragStart(start) { + return "\n You have lifted an item in position ".concat(position(start.source.index), "\n"); +}; +var withLocation = function withLocation(source, destination) { + var isInHomeList = source.droppableId === destination.droppableId; + var startPosition = position(source.index); + var endPosition = position(destination.index); if (isInHomeList) { - return ` - You have moved the item from position ${startPosition} - to position ${endPosition} - `; - } - return ` - You have moved the item from position ${startPosition} - in list ${source.droppableId} - to list ${destination.droppableId} - in position ${endPosition} - `; -}; -const withCombine = (id, source, combine) => { - const inHomeList = source.droppableId === combine.droppableId; + return "\n You have moved the item from position ".concat(startPosition, "\n to position ").concat(endPosition, "\n "); + } + return "\n You have moved the item from position ".concat(startPosition, "\n in list ").concat(source.droppableId, "\n to list ").concat(destination.droppableId, "\n in position ").concat(endPosition, "\n "); +}; +var withCombine = function withCombine(id, source, combine) { + var inHomeList = source.droppableId === combine.droppableId; if (inHomeList) { - return ` - The item ${id} - has been combined with ${combine.draggableId}`; - } - return ` - The item ${id} - in list ${source.droppableId} - has been combined with ${combine.draggableId} - in list ${combine.droppableId} - `; -}; -const onDragUpdate = update => { - const location = update.destination; + return "\n The item ".concat(id, "\n has been combined with ").concat(combine.draggableId); + } + return "\n The item ".concat(id, "\n in list ").concat(source.droppableId, "\n has been combined with ").concat(combine.draggableId, "\n in list ").concat(combine.droppableId, "\n "); +}; +var onDragUpdate = function onDragUpdate(update) { + var location = update.destination; if (location) { return withLocation(update.source, location); } - const combine = update.combine; + var combine = update.combine; if (combine) { return withCombine(update.draggableId, update.source, combine); } return 'You are over an area that cannot be dropped on'; }; -const returnedToStart = source => ` - The item has returned to its starting position - of ${position(source.index)} -`; -const onDragEnd = result => { +var returnedToStart = function returnedToStart(source) { + return "\n The item has returned to its starting position\n of ".concat(position(source.index), "\n"); +}; +var onDragEnd = function onDragEnd(result) { if (result.reason === 'CANCEL') { - return ` - Movement cancelled. - ${returnedToStart(result.source)} - `; + return "\n Movement cancelled.\n ".concat(returnedToStart(result.source), "\n "); } - const location = result.destination; - const combine = result.combine; + var location = result.destination; + var combine = result.combine; if (location) { - return ` - You have dropped the item. - ${withLocation(result.source, location)} - `; + return "\n You have dropped the item.\n ".concat(withLocation(result.source, location), "\n "); } if (combine) { - return ` - You have dropped the item. - ${withCombine(result.draggableId, result.source, combine)} - `; - } - return ` - The item has been dropped while not over a drop area. - ${returnedToStart(result.source)} - `; -}; -const preset = { - dragHandleUsageInstructions, - onDragStart, - onDragUpdate, - onDragEnd + return "\n You have dropped the item.\n ".concat(withCombine(result.draggableId, result.source, combine), "\n "); + } + return "\n The item has been dropped while not over a drop area.\n ".concat(returnedToStart(result.source), "\n "); +}; +var preset = { + dragHandleUsageInstructions: dragHandleUsageInstructions, + onDragStart: onDragStart, + onDragUpdate: onDragUpdate, + onDragEnd: onDragEnd }; var preset$1 = preset; - -const origin = { +var origin = { x: 0, y: 0 }; -const add = (point1, point2) => ({ - x: point1.x + point2.x, - y: point1.y + point2.y -}); -const subtract = (point1, point2) => ({ - x: point1.x - point2.x, - y: point1.y - point2.y -}); -const isEqual$1 = (point1, point2) => point1.x === point2.x && point1.y === point2.y; -const negate = point => ({ - x: point.x !== 0 ? -point.x : 0, - y: point.y !== 0 ? -point.y : 0 -}); -const patch = function (line, value, otherValue) { +var add = function add(point1, point2) { + return { + x: point1.x + point2.x, + y: point1.y + point2.y + }; +}; +var subtract = function subtract(point1, point2) { + return { + x: point1.x - point2.x, + y: point1.y - point2.y + }; +}; +var isEqual$1 = function isEqual$1(point1, point2) { + return point1.x === point2.x && point1.y === point2.y; +}; +var negate = function negate(point) { + return { + x: point.x !== 0 ? -point.x : 0, + y: point.y !== 0 ? -point.y : 0 + }; +}; +var patch = function patch(line, value, otherValue) { if (otherValue === void 0) { otherValue = 0; } @@ -133142,15 +133173,24 @@ const patch = function (line, value, otherValue) { y: value }; }; -const distance = (point1, point2) => Math.sqrt((point2.x - point1.x) ** 2 + (point2.y - point1.y) ** 2); -const closest$1 = (target, points) => Math.min(...points.map(point => distance(target, point))); -const apply = fn => point => ({ - x: fn(point.x), - y: fn(point.y) -}); - -var executeClip = ((frame, subject) => { - const result = getRect({ +var distance = function distance(point1, point2) { + return Math.sqrt(Math.pow(point2.x - point1.x, 2) + Math.pow(point2.y - point1.y, 2)); +}; +var closest$1 = function closest$1(target, points) { + return Math.min.apply(Math, _toConsumableArray(points.map(function (point) { + return distance(target, point); + }))); +}; +var apply = function apply(fn) { + return function (point) { + return { + x: fn(point.x), + y: fn(point.y) + }; + }; +}; +var executeClip = function executeClip(frame, subject) { + var result = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getRect */ "e"])({ top: Math.max(subject.top, frame.top), right: Math.min(subject.right, frame.right), bottom: Math.min(subject.bottom, frame.bottom), @@ -133160,79 +133200,74 @@ var executeClip = ((frame, subject) => { return null; } return result; -}); - -const offsetByPosition = (spacing, point) => ({ - top: spacing.top + point.y, - left: spacing.left + point.x, - bottom: spacing.bottom + point.y, - right: spacing.right + point.x -}); -const getCorners = spacing => [{ - x: spacing.left, - y: spacing.top -}, { - x: spacing.right, - y: spacing.top -}, { - x: spacing.left, - y: spacing.bottom -}, { - x: spacing.right, - y: spacing.bottom -}]; -const noSpacing = { +}; +var offsetByPosition = function offsetByPosition(spacing, point) { + return { + top: spacing.top + point.y, + left: spacing.left + point.x, + bottom: spacing.bottom + point.y, + right: spacing.right + point.x + }; +}; +var getCorners = function getCorners(spacing) { + return [{ + x: spacing.left, + y: spacing.top + }, { + x: spacing.right, + y: spacing.top + }, { + x: spacing.left, + y: spacing.bottom + }, { + x: spacing.right, + y: spacing.bottom + }]; +}; +var noSpacing = { top: 0, right: 0, bottom: 0, left: 0 }; - -const scroll$1 = (target, frame) => { +var scroll$1 = function scroll$1(target, frame) { if (!frame) { return target; } return offsetByPosition(target, frame.scroll.diff.displacement); }; -const increase = (target, axis, withPlaceholder) => { +var increase = function increase(target, axis, withPlaceholder) { if (withPlaceholder && withPlaceholder.increasedBy) { - return { - ...target, - [axis.end]: target[axis.end] + withPlaceholder.increasedBy[axis.line] - }; + return _objectSpread(_objectSpread({}, target), {}, _defineProperty({}, axis.end, target[axis.end] + withPlaceholder.increasedBy[axis.line])); } return target; }; -const clip = (target, frame) => { +var clip = function clip(target, frame) { if (frame && frame.shouldClipSubject) { return executeClip(frame.pageMarginBox, target); } - return getRect(target); -}; -var getSubject = (_ref => { - let { - page, - withPlaceholder, - axis, - frame - } = _ref; - const scrolled = scroll$1(page.marginBox, frame); - const increased = increase(scrolled, axis, withPlaceholder); - const clipped = clip(increased, frame); + return Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getRect */ "e"])(target); +}; +var getSubject = function getSubject(_ref) { + var page = _ref.page, + withPlaceholder = _ref.withPlaceholder, + axis = _ref.axis, + frame = _ref.frame; + var scrolled = scroll$1(page.marginBox, frame); + var increased = increase(scrolled, axis, withPlaceholder); + var clipped = clip(increased, frame); return { - page, - withPlaceholder, + page: page, + withPlaceholder: withPlaceholder, active: clipped }; -}); - -var scrollDroppable = ((droppable, newScroll) => { - !droppable.frame ? process.env.NODE_ENV !== "production" ? invariant(false) : invariant(false) : void 0; - const scrollable = droppable.frame; - const scrollDiff = subtract(newScroll, scrollable.scroll.initial); - const scrollDisplacement = negate(scrollDiff); - const frame = { - ...scrollable, +}; +var scrollDroppable = function scrollDroppable(droppable, newScroll) { + !droppable.frame ? false ? undefined : invariant(false) : void 0; + var scrollable = droppable.frame; + var scrollDiff = subtract(newScroll, scrollable.scroll.initial); + var scrollDisplacement = negate(scrollDiff); + var frame = _objectSpread(_objectSpread({}, scrollable), {}, { scroll: { initial: scrollable.scroll.initial, current: newScroll, @@ -133242,37 +133277,45 @@ var scrollDroppable = ((droppable, newScroll) => { }, max: scrollable.scroll.max } - }; - const subject = getSubject({ + }); + var subject = getSubject({ page: droppable.subject.page, withPlaceholder: droppable.subject.withPlaceholder, axis: droppable.axis, - frame + frame: frame + }); + var result = _objectSpread(_objectSpread({}, droppable), {}, { + frame: frame, + subject: subject }); - const result = { - ...droppable, - frame, - subject - }; return result; +}; +var toDroppableMap = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (droppables) { + return droppables.reduce(function (previous, current) { + previous[current.descriptor.id] = current; + return previous; + }, {}); }); - -const toDroppableMap = memoizeOne(droppables => droppables.reduce((previous, current) => { - previous[current.descriptor.id] = current; - return previous; -}, {})); -const toDraggableMap = memoizeOne(draggables => draggables.reduce((previous, current) => { - previous[current.descriptor.id] = current; - return previous; -}, {})); -const toDroppableList = memoizeOne(droppables => Object.values(droppables)); -const toDraggableList = memoizeOne(draggables => Object.values(draggables)); - -var getDraggablesInsideDroppable = memoizeOne((droppableId, draggables) => { - const result = toDraggableList(draggables).filter(draggable => droppableId === draggable.descriptor.droppableId).sort((a, b) => a.descriptor.index - b.descriptor.index); +var toDraggableMap = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (draggables) { + return draggables.reduce(function (previous, current) { + previous[current.descriptor.id] = current; + return previous; + }, {}); +}); +var toDroppableList = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (droppables) { + return Object.values(droppables); +}); +var toDraggableList = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (draggables) { + return Object.values(draggables); +}); +var getDraggablesInsideDroppable = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (droppableId, draggables) { + var result = toDraggableList(draggables).filter(function (draggable) { + return droppableId === draggable.descriptor.droppableId; + }).sort(function (a, b) { + return a.descriptor.index - b.descriptor.index; + }); return result; }); - function tryGetDestination(impact) { if (impact.at && impact.at.type === 'REORDER') { return impact.at.destination; @@ -133285,115 +133328,116 @@ function tryGetCombine(impact) { } return null; } - -var removeDraggableFromList = memoizeOne((remove, list) => list.filter(item => item.descriptor.id !== remove.descriptor.id)); - -var moveToNextCombine = (_ref => { - let { - isMovingForward, - draggable, - destination, - insideDestination, - previousImpact - } = _ref; +var removeDraggableFromList = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (remove, list) { + return list.filter(function (item) { + return item.descriptor.id !== remove.descriptor.id; + }); +}); +var moveToNextCombine = function moveToNextCombine(_ref) { + var isMovingForward = _ref.isMovingForward, + draggable = _ref.draggable, + destination = _ref.destination, + insideDestination = _ref.insideDestination, + previousImpact = _ref.previousImpact; if (!destination.isCombineEnabled) { return null; } - const location = tryGetDestination(previousImpact); + var location = tryGetDestination(previousImpact); if (!location) { return null; } function getImpact(target) { - const at = { + var at = { type: 'COMBINE', combine: { draggableId: target, droppableId: destination.descriptor.id } }; - return { - ...previousImpact, - at - }; + return _objectSpread(_objectSpread({}, previousImpact), {}, { + at: at + }); } - const all = previousImpact.displaced.all; - const closestId = all.length ? all[0] : null; + var all = previousImpact.displaced.all; + var closestId = all.length ? all[0] : null; if (isMovingForward) { return closestId ? getImpact(closestId) : null; } - const withoutDraggable = removeDraggableFromList(draggable, insideDestination); + var withoutDraggable = removeDraggableFromList(draggable, insideDestination); if (!closestId) { if (!withoutDraggable.length) { return null; } - const last = withoutDraggable[withoutDraggable.length - 1]; + var last = withoutDraggable[withoutDraggable.length - 1]; return getImpact(last.descriptor.id); } - const indexOfClosest = withoutDraggable.findIndex(d => d.descriptor.id === closestId); - !(indexOfClosest !== -1) ? process.env.NODE_ENV !== "production" ? invariant(false, 'Could not find displaced item in set') : invariant(false) : void 0; - const proposedIndex = indexOfClosest - 1; + var indexOfClosest = withoutDraggable.findIndex(function (d) { + return d.descriptor.id === closestId; + }); + !(indexOfClosest !== -1) ? false ? undefined : invariant(false) : void 0; + var proposedIndex = indexOfClosest - 1; if (proposedIndex < 0) { return null; } - const before = withoutDraggable[proposedIndex]; + var before = withoutDraggable[proposedIndex]; return getImpact(before.descriptor.id); -}); - -var isHomeOf = ((draggable, destination) => draggable.descriptor.droppableId === destination.descriptor.id); - -const noDisplacedBy = { +}; +var isHomeOf = function isHomeOf(draggable, destination) { + return draggable.descriptor.droppableId === destination.descriptor.id; +}; +var noDisplacedBy = { point: origin, value: 0 }; -const emptyGroups = { +var emptyGroups = { invisible: {}, visible: {}, all: [] }; -const noImpact = { +var noImpact = { displaced: emptyGroups, displacedBy: noDisplacedBy, at: null }; var noImpact$1 = noImpact; - -var isWithin = ((lowerBound, upperBound) => value => lowerBound <= value && value <= upperBound); - -var isPartiallyVisibleThroughFrame = (frame => { - const isWithinVertical = isWithin(frame.top, frame.bottom); - const isWithinHorizontal = isWithin(frame.left, frame.right); - return subject => { - const isContained = isWithinVertical(subject.top) && isWithinVertical(subject.bottom) && isWithinHorizontal(subject.left) && isWithinHorizontal(subject.right); +var isWithin = function isWithin(lowerBound, upperBound) { + return function (value) { + return lowerBound <= value && value <= upperBound; + }; +}; +var isPartiallyVisibleThroughFrame = function isPartiallyVisibleThroughFrame(frame) { + var isWithinVertical = isWithin(frame.top, frame.bottom); + var isWithinHorizontal = isWithin(frame.left, frame.right); + return function (subject) { + var isContained = isWithinVertical(subject.top) && isWithinVertical(subject.bottom) && isWithinHorizontal(subject.left) && isWithinHorizontal(subject.right); if (isContained) { return true; } - const isPartiallyVisibleVertically = isWithinVertical(subject.top) || isWithinVertical(subject.bottom); - const isPartiallyVisibleHorizontally = isWithinHorizontal(subject.left) || isWithinHorizontal(subject.right); - const isPartiallyContained = isPartiallyVisibleVertically && isPartiallyVisibleHorizontally; + var isPartiallyVisibleVertically = isWithinVertical(subject.top) || isWithinVertical(subject.bottom); + var isPartiallyVisibleHorizontally = isWithinHorizontal(subject.left) || isWithinHorizontal(subject.right); + var isPartiallyContained = isPartiallyVisibleVertically && isPartiallyVisibleHorizontally; if (isPartiallyContained) { return true; } - const isBiggerVertically = subject.top < frame.top && subject.bottom > frame.bottom; - const isBiggerHorizontally = subject.left < frame.left && subject.right > frame.right; - const isTargetBiggerThanFrame = isBiggerVertically && isBiggerHorizontally; + var isBiggerVertically = subject.top < frame.top && subject.bottom > frame.bottom; + var isBiggerHorizontally = subject.left < frame.left && subject.right > frame.right; + var isTargetBiggerThanFrame = isBiggerVertically && isBiggerHorizontally; if (isTargetBiggerThanFrame) { return true; } - const isTargetBiggerOnOneAxis = isBiggerVertically && isPartiallyVisibleHorizontally || isBiggerHorizontally && isPartiallyVisibleVertically; + var isTargetBiggerOnOneAxis = isBiggerVertically && isPartiallyVisibleHorizontally || isBiggerHorizontally && isPartiallyVisibleVertically; return isTargetBiggerOnOneAxis; }; -}); - -var isTotallyVisibleThroughFrame = (frame => { - const isWithinVertical = isWithin(frame.top, frame.bottom); - const isWithinHorizontal = isWithin(frame.left, frame.right); - return subject => { - const isContained = isWithinVertical(subject.top) && isWithinVertical(subject.bottom) && isWithinHorizontal(subject.left) && isWithinHorizontal(subject.right); +}; +var isTotallyVisibleThroughFrame = function isTotallyVisibleThroughFrame(frame) { + var isWithinVertical = isWithin(frame.top, frame.bottom); + var isWithinHorizontal = isWithin(frame.left, frame.right); + return function (subject) { + var isContained = isWithinVertical(subject.top) && isWithinVertical(subject.bottom) && isWithinHorizontal(subject.left) && isWithinHorizontal(subject.right); return isContained; }; -}); - -const vertical = { +}; +var vertical = { direction: 'vertical', line: 'y', crossAxisLine: 'x', @@ -133404,7 +133448,7 @@ const vertical = { crossAxisEnd: 'right', crossAxisSize: 'width' }; -const horizontal = { +var horizontal = { direction: 'horizontal', line: 'x', crossAxisLine: 'y', @@ -133415,107 +133459,105 @@ const horizontal = { crossAxisEnd: 'bottom', crossAxisSize: 'height' }; - -var isTotallyVisibleThroughFrameOnAxis = (axis => frame => { - const isWithinVertical = isWithin(frame.top, frame.bottom); - const isWithinHorizontal = isWithin(frame.left, frame.right); - return subject => { - if (axis === vertical) { - return isWithinVertical(subject.top) && isWithinVertical(subject.bottom); - } - return isWithinHorizontal(subject.left) && isWithinHorizontal(subject.right); +var isTotallyVisibleThroughFrameOnAxis = function isTotallyVisibleThroughFrameOnAxis(axis) { + return function (frame) { + var isWithinVertical = isWithin(frame.top, frame.bottom); + var isWithinHorizontal = isWithin(frame.left, frame.right); + return function (subject) { + if (axis === vertical) { + return isWithinVertical(subject.top) && isWithinVertical(subject.bottom); + } + return isWithinHorizontal(subject.left) && isWithinHorizontal(subject.right); + }; }; -}); - -const getDroppableDisplaced = (target, destination) => { - const displacement = destination.frame ? destination.frame.scroll.diff.displacement : origin; +}; +var getDroppableDisplaced = function getDroppableDisplaced(target, destination) { + var displacement = destination.frame ? destination.frame.scroll.diff.displacement : origin; return offsetByPosition(target, displacement); }; -const isVisibleInDroppable = (target, destination, isVisibleThroughFrameFn) => { +var isVisibleInDroppable = function isVisibleInDroppable(target, destination, isVisibleThroughFrameFn) { if (!destination.subject.active) { return false; } return isVisibleThroughFrameFn(destination.subject.active)(target); }; -const isVisibleInViewport = (target, viewport, isVisibleThroughFrameFn) => isVisibleThroughFrameFn(viewport)(target); -const isVisible$1 = _ref => { - let { - target: toBeDisplaced, - destination, - viewport, - withDroppableDisplacement, - isVisibleThroughFrameFn - } = _ref; - const displacedTarget = withDroppableDisplacement ? getDroppableDisplaced(toBeDisplaced, destination) : toBeDisplaced; +var isVisibleInViewport = function isVisibleInViewport(target, viewport, isVisibleThroughFrameFn) { + return isVisibleThroughFrameFn(viewport)(target); +}; +var isVisible$1 = function isVisible$1(_ref) { + var toBeDisplaced = _ref.target, + destination = _ref.destination, + viewport = _ref.viewport, + withDroppableDisplacement = _ref.withDroppableDisplacement, + isVisibleThroughFrameFn = _ref.isVisibleThroughFrameFn; + var displacedTarget = withDroppableDisplacement ? getDroppableDisplaced(toBeDisplaced, destination) : toBeDisplaced; return isVisibleInDroppable(displacedTarget, destination, isVisibleThroughFrameFn) && isVisibleInViewport(displacedTarget, viewport, isVisibleThroughFrameFn); }; -const isPartiallyVisible = args => isVisible$1({ - ...args, - isVisibleThroughFrameFn: isPartiallyVisibleThroughFrame -}); -const isTotallyVisible = args => isVisible$1({ - ...args, - isVisibleThroughFrameFn: isTotallyVisibleThroughFrame -}); -const isTotallyVisibleOnAxis = args => isVisible$1({ - ...args, - isVisibleThroughFrameFn: isTotallyVisibleThroughFrameOnAxis(args.destination.axis) -}); - -const getShouldAnimate = (id, last, forceShouldAnimate) => { +var isPartiallyVisible = function isPartiallyVisible(args) { + return isVisible$1(_objectSpread(_objectSpread({}, args), {}, { + isVisibleThroughFrameFn: isPartiallyVisibleThroughFrame + })); +}; +var isTotallyVisible = function isTotallyVisible(args) { + return isVisible$1(_objectSpread(_objectSpread({}, args), {}, { + isVisibleThroughFrameFn: isTotallyVisibleThroughFrame + })); +}; +var isTotallyVisibleOnAxis = function isTotallyVisibleOnAxis(args) { + return isVisible$1(_objectSpread(_objectSpread({}, args), {}, { + isVisibleThroughFrameFn: isTotallyVisibleThroughFrameOnAxis(args.destination.axis) + })); +}; +var getShouldAnimate = function getShouldAnimate(id, last, forceShouldAnimate) { if (typeof forceShouldAnimate === 'boolean') { return forceShouldAnimate; } if (!last) { return true; } - const { - invisible, - visible - } = last; + var invisible = last.invisible, + visible = last.visible; if (invisible[id]) { return false; } - const previous = visible[id]; + var previous = visible[id]; return previous ? previous.shouldAnimate : true; }; function getTarget(draggable, displacedBy) { - const marginBox = draggable.page.marginBox; - const expandBy = { + var marginBox = draggable.page.marginBox; + var expandBy = { top: displacedBy.point.y, right: 0, bottom: 0, left: displacedBy.point.x }; - return getRect(expand(marginBox, expandBy)); + return Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getRect */ "e"])(Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* expand */ "c"])(marginBox, expandBy)); } function getDisplacementGroups(_ref) { - let { - afterDragging, - destination, - displacedBy, - viewport, - forceShouldAnimate, - last - } = _ref; + var afterDragging = _ref.afterDragging, + destination = _ref.destination, + displacedBy = _ref.displacedBy, + viewport = _ref.viewport, + forceShouldAnimate = _ref.forceShouldAnimate, + last = _ref.last; return afterDragging.reduce(function process(groups, draggable) { - const target = getTarget(draggable, displacedBy); - const id = draggable.descriptor.id; + var target = getTarget(draggable, displacedBy); + var id = draggable.descriptor.id; groups.all.push(id); - const isVisible = isPartiallyVisible({ - target, - destination, - viewport, + var isVisible = isPartiallyVisible({ + target: target, + destination: destination, + viewport: viewport, withDroppableDisplacement: true }); if (!isVisible) { groups.invisible[draggable.descriptor.id] = true; return groups; } - const shouldAnimate = getShouldAnimate(id, last, forceShouldAnimate); - const displacement = { + var shouldAnimate = getShouldAnimate(id, last, forceShouldAnimate); + var displacement = { draggableId: id, - shouldAnimate + shouldAnimate: shouldAnimate }; groups.visible[id] = displacement; return groups; @@ -133525,27 +133567,24 @@ function getDisplacementGroups(_ref) { invisible: {} }); } - function getIndexOfLastItem(draggables, options) { if (!draggables.length) { return 0; } - const indexOfLastItem = draggables[draggables.length - 1].descriptor.index; + var indexOfLastItem = draggables[draggables.length - 1].descriptor.index; return options.inHomeList ? indexOfLastItem : indexOfLastItem + 1; } function goAtEnd(_ref) { - let { - insideDestination, - inHomeList, - displacedBy, - destination - } = _ref; - const newIndex = getIndexOfLastItem(insideDestination, { - inHomeList + var insideDestination = _ref.insideDestination, + inHomeList = _ref.inHomeList, + displacedBy = _ref.displacedBy, + destination = _ref.destination; + var newIndex = getIndexOfLastItem(insideDestination, { + inHomeList: inHomeList }); return { displaced: emptyGroups, - displacedBy, + displacedBy: displacedBy, at: { type: 'REORDER', destination: { @@ -133556,77 +133595,73 @@ function goAtEnd(_ref) { }; } function calculateReorderImpact(_ref2) { - let { - draggable, - insideDestination, - destination, - viewport, - displacedBy, - last, - index, - forceShouldAnimate - } = _ref2; - const inHomeList = isHomeOf(draggable, destination); + var draggable = _ref2.draggable, + insideDestination = _ref2.insideDestination, + destination = _ref2.destination, + viewport = _ref2.viewport, + displacedBy = _ref2.displacedBy, + last = _ref2.last, + index = _ref2.index, + forceShouldAnimate = _ref2.forceShouldAnimate; + var inHomeList = isHomeOf(draggable, destination); if (index == null) { return goAtEnd({ - insideDestination, - inHomeList, - displacedBy, - destination + insideDestination: insideDestination, + inHomeList: inHomeList, + displacedBy: displacedBy, + destination: destination }); } - const match = insideDestination.find(item => item.descriptor.index === index); + var match = insideDestination.find(function (item) { + return item.descriptor.index === index; + }); if (!match) { return goAtEnd({ - insideDestination, - inHomeList, - displacedBy, - destination + insideDestination: insideDestination, + inHomeList: inHomeList, + displacedBy: displacedBy, + destination: destination }); } - const withoutDragging = removeDraggableFromList(draggable, insideDestination); - const sliceFrom = insideDestination.indexOf(match); - const impacted = withoutDragging.slice(sliceFrom); - const displaced = getDisplacementGroups({ + var withoutDragging = removeDraggableFromList(draggable, insideDestination); + var sliceFrom = insideDestination.indexOf(match); + var impacted = withoutDragging.slice(sliceFrom); + var displaced = getDisplacementGroups({ afterDragging: impacted, - destination, - displacedBy, - last, + destination: destination, + displacedBy: displacedBy, + last: last, viewport: viewport.frame, - forceShouldAnimate + forceShouldAnimate: forceShouldAnimate }); return { - displaced, - displacedBy, + displaced: displaced, + displacedBy: displacedBy, at: { type: 'REORDER', destination: { droppableId: destination.descriptor.id, - index + index: index } } }; } - function didStartAfterCritical(draggableId, afterCritical) { return Boolean(afterCritical.effected[draggableId]); } - -var fromCombine = (_ref => { - let { - isMovingForward, - destination, - draggables, - combine, - afterCritical - } = _ref; +var fromCombine = function fromCombine(_ref) { + var isMovingForward = _ref.isMovingForward, + destination = _ref.destination, + draggables = _ref.draggables, + combine = _ref.combine, + afterCritical = _ref.afterCritical; if (!destination.isCombineEnabled) { return null; } - const combineId = combine.draggableId; - const combineWith = draggables[combineId]; - const combineWithIndex = combineWith.descriptor.index; - const didCombineWithStartAfterCritical = didStartAfterCritical(combineId, afterCritical); + var combineId = combine.draggableId; + var combineWith = draggables[combineId]; + var combineWithIndex = combineWith.descriptor.index; + var didCombineWithStartAfterCritical = didStartAfterCritical(combineId, afterCritical); if (didCombineWithStartAfterCritical) { if (isMovingForward) { return combineWithIndex; @@ -133637,23 +133672,20 @@ var fromCombine = (_ref => { return combineWithIndex + 1; } return combineWithIndex; -}); - -var fromReorder = (_ref => { - let { - isMovingForward, - isInHomeList, - insideDestination, - location - } = _ref; +}; +var fromReorder = function fromReorder(_ref) { + var isMovingForward = _ref.isMovingForward, + isInHomeList = _ref.isInHomeList, + insideDestination = _ref.insideDestination, + location = _ref.location; if (!insideDestination.length) { return null; } - const currentIndex = location.index; - const proposedIndex = isMovingForward ? currentIndex + 1 : currentIndex - 1; - const firstIndex = insideDestination[0].descriptor.index; - const lastIndex = insideDestination[insideDestination.length - 1].descriptor.index; - const upperBound = isInHomeList ? lastIndex : lastIndex + 1; + var currentIndex = location.index; + var proposedIndex = isMovingForward ? currentIndex + 1 : currentIndex - 1; + var firstIndex = insideDestination[0].descriptor.index; + var lastIndex = insideDestination[insideDestination.length - 1].descriptor.index; + var upperBound = isInHomeList ? lastIndex : lastIndex + 1; if (proposedIndex < firstIndex) { return null; } @@ -133661,201 +133693,182 @@ var fromReorder = (_ref => { return null; } return proposedIndex; -}); - -var moveToNextIndex = (_ref => { - let { - isMovingForward, - isInHomeList, - draggable, - draggables, - destination, - insideDestination, - previousImpact, - viewport, - afterCritical - } = _ref; - const wasAt = previousImpact.at; - !wasAt ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot move in direction without previous impact location') : invariant(false) : void 0; +}; +var moveToNextIndex = function moveToNextIndex(_ref) { + var isMovingForward = _ref.isMovingForward, + isInHomeList = _ref.isInHomeList, + draggable = _ref.draggable, + draggables = _ref.draggables, + destination = _ref.destination, + insideDestination = _ref.insideDestination, + previousImpact = _ref.previousImpact, + viewport = _ref.viewport, + afterCritical = _ref.afterCritical; + var wasAt = previousImpact.at; + !wasAt ? false ? undefined : invariant(false) : void 0; if (wasAt.type === 'REORDER') { - const newIndex = fromReorder({ - isMovingForward, - isInHomeList, + var _newIndex = fromReorder({ + isMovingForward: isMovingForward, + isInHomeList: isInHomeList, location: wasAt.destination, - insideDestination + insideDestination: insideDestination }); - if (newIndex == null) { + if (_newIndex == null) { return null; } return calculateReorderImpact({ - draggable, - insideDestination, - destination, - viewport, + draggable: draggable, + insideDestination: insideDestination, + destination: destination, + viewport: viewport, last: previousImpact.displaced, displacedBy: previousImpact.displacedBy, - index: newIndex + index: _newIndex }); } - const newIndex = fromCombine({ - isMovingForward, - destination, + var newIndex = fromCombine({ + isMovingForward: isMovingForward, + destination: destination, displaced: previousImpact.displaced, - draggables, + draggables: draggables, combine: wasAt.combine, - afterCritical + afterCritical: afterCritical }); if (newIndex == null) { return null; } return calculateReorderImpact({ - draggable, - insideDestination, - destination, - viewport, + draggable: draggable, + insideDestination: insideDestination, + destination: destination, + viewport: viewport, last: previousImpact.displaced, displacedBy: previousImpact.displacedBy, index: newIndex }); -}); - -var getCombinedItemDisplacement = (_ref => { - let { - displaced, - afterCritical, - combineWith, - displacedBy - } = _ref; - const isDisplaced = Boolean(displaced.visible[combineWith] || displaced.invisible[combineWith]); +}; +var getCombinedItemDisplacement = function getCombinedItemDisplacement(_ref) { + var displaced = _ref.displaced, + afterCritical = _ref.afterCritical, + combineWith = _ref.combineWith, + displacedBy = _ref.displacedBy; + var isDisplaced = Boolean(displaced.visible[combineWith] || displaced.invisible[combineWith]); if (didStartAfterCritical(combineWith, afterCritical)) { return isDisplaced ? origin : negate(displacedBy.point); } return isDisplaced ? displacedBy.point : origin; -}); - -var whenCombining = (_ref => { - let { - afterCritical, - impact, - draggables - } = _ref; - const combine = tryGetCombine(impact); - !combine ? process.env.NODE_ENV !== "production" ? invariant(false) : invariant(false) : void 0; - const combineWith = combine.draggableId; - const center = draggables[combineWith].page.borderBox.center; - const displaceBy = getCombinedItemDisplacement({ +}; +var whenCombining = function whenCombining(_ref) { + var afterCritical = _ref.afterCritical, + impact = _ref.impact, + draggables = _ref.draggables; + var combine = tryGetCombine(impact); + !combine ? false ? undefined : invariant(false) : void 0; + var combineWith = combine.draggableId; + var center = draggables[combineWith].page.borderBox.center; + var displaceBy = getCombinedItemDisplacement({ displaced: impact.displaced, - afterCritical, - combineWith, + afterCritical: afterCritical, + combineWith: combineWith, displacedBy: impact.displacedBy }); return add(center, displaceBy); -}); - -const distanceFromStartToBorderBoxCenter = (axis, box) => box.margin[axis.start] + box.borderBox[axis.size] / 2; -const distanceFromEndToBorderBoxCenter = (axis, box) => box.margin[axis.end] + box.borderBox[axis.size] / 2; -const getCrossAxisBorderBoxCenter = (axis, target, isMoving) => target[axis.crossAxisStart] + isMoving.margin[axis.crossAxisStart] + isMoving.borderBox[axis.crossAxisSize] / 2; -const goAfter = _ref => { - let { - axis, - moveRelativeTo, - isMoving - } = _ref; +}; +var distanceFromStartToBorderBoxCenter = function distanceFromStartToBorderBoxCenter(axis, box) { + return box.margin[axis.start] + box.borderBox[axis.size] / 2; +}; +var distanceFromEndToBorderBoxCenter = function distanceFromEndToBorderBoxCenter(axis, box) { + return box.margin[axis.end] + box.borderBox[axis.size] / 2; +}; +var getCrossAxisBorderBoxCenter = function getCrossAxisBorderBoxCenter(axis, target, isMoving) { + return target[axis.crossAxisStart] + isMoving.margin[axis.crossAxisStart] + isMoving.borderBox[axis.crossAxisSize] / 2; +}; +var goAfter = function goAfter(_ref) { + var axis = _ref.axis, + moveRelativeTo = _ref.moveRelativeTo, + isMoving = _ref.isMoving; return patch(axis.line, moveRelativeTo.marginBox[axis.end] + distanceFromStartToBorderBoxCenter(axis, isMoving), getCrossAxisBorderBoxCenter(axis, moveRelativeTo.marginBox, isMoving)); }; -const goBefore = _ref2 => { - let { - axis, - moveRelativeTo, - isMoving - } = _ref2; +var goBefore = function goBefore(_ref2) { + var axis = _ref2.axis, + moveRelativeTo = _ref2.moveRelativeTo, + isMoving = _ref2.isMoving; return patch(axis.line, moveRelativeTo.marginBox[axis.start] - distanceFromEndToBorderBoxCenter(axis, isMoving), getCrossAxisBorderBoxCenter(axis, moveRelativeTo.marginBox, isMoving)); }; -const goIntoStart = _ref3 => { - let { - axis, - moveInto, - isMoving - } = _ref3; +var goIntoStart = function goIntoStart(_ref3) { + var axis = _ref3.axis, + moveInto = _ref3.moveInto, + isMoving = _ref3.isMoving; return patch(axis.line, moveInto.contentBox[axis.start] + distanceFromStartToBorderBoxCenter(axis, isMoving), getCrossAxisBorderBoxCenter(axis, moveInto.contentBox, isMoving)); }; - -var whenReordering = (_ref => { - let { - impact, - draggable, - draggables, - droppable, - afterCritical - } = _ref; - const insideDestination = getDraggablesInsideDroppable(droppable.descriptor.id, draggables); - const draggablePage = draggable.page; - const axis = droppable.axis; +var whenReordering = function whenReordering(_ref) { + var impact = _ref.impact, + draggable = _ref.draggable, + draggables = _ref.draggables, + droppable = _ref.droppable, + afterCritical = _ref.afterCritical; + var insideDestination = getDraggablesInsideDroppable(droppable.descriptor.id, draggables); + var draggablePage = draggable.page; + var axis = droppable.axis; if (!insideDestination.length) { return goIntoStart({ - axis, + axis: axis, moveInto: droppable.page, isMoving: draggablePage }); } - const { - displaced, - displacedBy - } = impact; - const closestAfter = displaced.all[0]; + var displaced = impact.displaced, + displacedBy = impact.displacedBy; + var closestAfter = displaced.all[0]; if (closestAfter) { - const closest = draggables[closestAfter]; + var _closest = draggables[closestAfter]; if (didStartAfterCritical(closestAfter, afterCritical)) { return goBefore({ - axis, - moveRelativeTo: closest.page, + axis: axis, + moveRelativeTo: _closest.page, isMoving: draggablePage }); } - const withDisplacement = offset(closest.page, displacedBy.point); + var withDisplacement = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* offset */ "f"])(_closest.page, displacedBy.point); return goBefore({ - axis, + axis: axis, moveRelativeTo: withDisplacement, isMoving: draggablePage }); } - const last = insideDestination[insideDestination.length - 1]; + var last = insideDestination[insideDestination.length - 1]; if (last.descriptor.id === draggable.descriptor.id) { return draggablePage.borderBox.center; } if (didStartAfterCritical(last.descriptor.id, afterCritical)) { - const page = offset(last.page, negate(afterCritical.displacedBy.point)); + var page = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* offset */ "f"])(last.page, negate(afterCritical.displacedBy.point)); return goAfter({ - axis, + axis: axis, moveRelativeTo: page, isMoving: draggablePage }); } return goAfter({ - axis, + axis: axis, moveRelativeTo: last.page, isMoving: draggablePage }); -}); - -var withDroppableDisplacement = ((droppable, point) => { - const frame = droppable.frame; +}; +var withDroppableDisplacement = function withDroppableDisplacement(droppable, point) { + var frame = droppable.frame; if (!frame) { return point; } return add(point, frame.scroll.diff.displacement); -}); - -const getResultWithoutDroppableDisplacement = _ref => { - let { - impact, - draggable, - droppable, - draggables, - afterCritical - } = _ref; - const original = draggable.page.borderBox.center; - const at = impact.at; +}; +var getResultWithoutDroppableDisplacement = function getResultWithoutDroppableDisplacement(_ref) { + var impact = _ref.impact, + draggable = _ref.draggable, + droppable = _ref.droppable, + draggables = _ref.draggables, + afterCritical = _ref.afterCritical; + var original = draggable.page.borderBox.center; + var at = impact.at; if (!droppable) { return original; } @@ -133864,214 +133877,204 @@ const getResultWithoutDroppableDisplacement = _ref => { } if (at.type === 'REORDER') { return whenReordering({ - impact, - draggable, - draggables, - droppable, - afterCritical + impact: impact, + draggable: draggable, + draggables: draggables, + droppable: droppable, + afterCritical: afterCritical }); } return whenCombining({ - impact, - draggables, - afterCritical + impact: impact, + draggables: draggables, + afterCritical: afterCritical }); }; -var getPageBorderBoxCenterFromImpact = (args => { - const withoutDisplacement = getResultWithoutDroppableDisplacement(args); - const droppable = args.droppable; - const withDisplacement = droppable ? withDroppableDisplacement(droppable, withoutDisplacement) : withoutDisplacement; +var getPageBorderBoxCenterFromImpact = function getPageBorderBoxCenterFromImpact(args) { + var withoutDisplacement = getResultWithoutDroppableDisplacement(args); + var droppable = args.droppable; + var withDisplacement = droppable ? withDroppableDisplacement(droppable, withoutDisplacement) : withoutDisplacement; return withDisplacement; -}); - -var scrollViewport = ((viewport, newScroll) => { - const diff = subtract(newScroll, viewport.scroll.initial); - const displacement = negate(diff); - const frame = getRect({ +}; +var scrollViewport = function scrollViewport(viewport, newScroll) { + var diff = subtract(newScroll, viewport.scroll.initial); + var displacement = negate(diff); + var frame = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getRect */ "e"])({ top: newScroll.y, bottom: newScroll.y + viewport.frame.height, left: newScroll.x, right: newScroll.x + viewport.frame.width }); - const updated = { - frame, + var updated = { + frame: frame, scroll: { initial: viewport.scroll.initial, max: viewport.scroll.max, current: newScroll, diff: { value: diff, - displacement + displacement: displacement } } }; return updated; -}); - +}; function getDraggables$1(ids, draggables) { - return ids.map(id => draggables[id]); + return ids.map(function (id) { + return draggables[id]; + }); } function tryGetVisible(id, groups) { - for (let i = 0; i < groups.length; i++) { - const displacement = groups[i].visible[id]; + for (var i = 0; i < groups.length; i++) { + var displacement = groups[i].visible[id]; if (displacement) { return displacement; } } return null; } -var speculativelyIncrease = (_ref => { - let { - impact, - viewport, - destination, - draggables, - maxScrollChange - } = _ref; - const scrolledViewport = scrollViewport(viewport, add(viewport.scroll.current, maxScrollChange)); - const scrolledDroppable = destination.frame ? scrollDroppable(destination, add(destination.frame.scroll.current, maxScrollChange)) : destination; - const last = impact.displaced; - const withViewportScroll = getDisplacementGroups({ +var speculativelyIncrease = function speculativelyIncrease(_ref) { + var impact = _ref.impact, + viewport = _ref.viewport, + destination = _ref.destination, + draggables = _ref.draggables, + maxScrollChange = _ref.maxScrollChange; + var scrolledViewport = scrollViewport(viewport, add(viewport.scroll.current, maxScrollChange)); + var scrolledDroppable = destination.frame ? scrollDroppable(destination, add(destination.frame.scroll.current, maxScrollChange)) : destination; + var last = impact.displaced; + var withViewportScroll = getDisplacementGroups({ afterDragging: getDraggables$1(last.all, draggables), - destination, + destination: destination, displacedBy: impact.displacedBy, viewport: scrolledViewport.frame, - last, + last: last, forceShouldAnimate: false }); - const withDroppableScroll = getDisplacementGroups({ + var withDroppableScroll = getDisplacementGroups({ afterDragging: getDraggables$1(last.all, draggables), destination: scrolledDroppable, displacedBy: impact.displacedBy, viewport: viewport.frame, - last, + last: last, forceShouldAnimate: false }); - const invisible = {}; - const visible = {}; - const groups = [last, withViewportScroll, withDroppableScroll]; - last.all.forEach(id => { - const displacement = tryGetVisible(id, groups); + var invisible = {}; + var visible = {}; + var groups = [last, withViewportScroll, withDroppableScroll]; + last.all.forEach(function (id) { + var displacement = tryGetVisible(id, groups); if (displacement) { visible[id] = displacement; return; } invisible[id] = true; }); - const newImpact = { - ...impact, + var newImpact = _objectSpread(_objectSpread({}, impact), {}, { displaced: { all: last.all, - invisible, - visible + invisible: invisible, + visible: visible } - }; + }); return newImpact; -}); - -var withViewportDisplacement = ((viewport, point) => add(viewport.scroll.diff.displacement, point)); - -var getClientFromPageBorderBoxCenter = (_ref => { - let { - pageBorderBoxCenter, - draggable, - viewport - } = _ref; - const withoutPageScrollChange = withViewportDisplacement(viewport, pageBorderBoxCenter); - const offset = subtract(withoutPageScrollChange, draggable.page.borderBox.center); +}; +var withViewportDisplacement = function withViewportDisplacement(viewport, point) { + return add(viewport.scroll.diff.displacement, point); +}; +var getClientFromPageBorderBoxCenter = function getClientFromPageBorderBoxCenter(_ref) { + var pageBorderBoxCenter = _ref.pageBorderBoxCenter, + draggable = _ref.draggable, + viewport = _ref.viewport; + var withoutPageScrollChange = withViewportDisplacement(viewport, pageBorderBoxCenter); + var offset = subtract(withoutPageScrollChange, draggable.page.borderBox.center); return add(draggable.client.borderBox.center, offset); -}); - -var isTotallyVisibleInNewLocation = (_ref => { - let { - draggable, - destination, - newPageBorderBoxCenter, - viewport, - withDroppableDisplacement, - onlyOnMainAxis = false - } = _ref; - const changeNeeded = subtract(newPageBorderBoxCenter, draggable.page.borderBox.center); - const shifted = offsetByPosition(draggable.page.borderBox, changeNeeded); - const args = { +}; +var isTotallyVisibleInNewLocation = function isTotallyVisibleInNewLocation(_ref) { + var draggable = _ref.draggable, + destination = _ref.destination, + newPageBorderBoxCenter = _ref.newPageBorderBoxCenter, + viewport = _ref.viewport, + withDroppableDisplacement = _ref.withDroppableDisplacement, + _ref$onlyOnMainAxis = _ref.onlyOnMainAxis, + onlyOnMainAxis = _ref$onlyOnMainAxis === void 0 ? false : _ref$onlyOnMainAxis; + var changeNeeded = subtract(newPageBorderBoxCenter, draggable.page.borderBox.center); + var shifted = offsetByPosition(draggable.page.borderBox, changeNeeded); + var args = { target: shifted, - destination, - withDroppableDisplacement, - viewport + destination: destination, + withDroppableDisplacement: withDroppableDisplacement, + viewport: viewport }; return onlyOnMainAxis ? isTotallyVisibleOnAxis(args) : isTotallyVisible(args); -}); - -var moveToNextPlace = (_ref => { - let { - isMovingForward, - draggable, - destination, - draggables, - previousImpact, - viewport, - previousPageBorderBoxCenter, - previousClientSelection, - afterCritical - } = _ref; +}; +var moveToNextPlace = function moveToNextPlace(_ref) { + var isMovingForward = _ref.isMovingForward, + draggable = _ref.draggable, + destination = _ref.destination, + draggables = _ref.draggables, + previousImpact = _ref.previousImpact, + viewport = _ref.viewport, + previousPageBorderBoxCenter = _ref.previousPageBorderBoxCenter, + previousClientSelection = _ref.previousClientSelection, + afterCritical = _ref.afterCritical; if (!destination.isEnabled) { return null; } - const insideDestination = getDraggablesInsideDroppable(destination.descriptor.id, draggables); - const isInHomeList = isHomeOf(draggable, destination); - const impact = moveToNextCombine({ - isMovingForward, - draggable, - destination, - insideDestination, - previousImpact + var insideDestination = getDraggablesInsideDroppable(destination.descriptor.id, draggables); + var isInHomeList = isHomeOf(draggable, destination); + var impact = moveToNextCombine({ + isMovingForward: isMovingForward, + draggable: draggable, + destination: destination, + insideDestination: insideDestination, + previousImpact: previousImpact }) || moveToNextIndex({ - isMovingForward, - isInHomeList, - draggable, - draggables, - destination, - insideDestination, - previousImpact, - viewport, - afterCritical + isMovingForward: isMovingForward, + isInHomeList: isInHomeList, + draggable: draggable, + draggables: draggables, + destination: destination, + insideDestination: insideDestination, + previousImpact: previousImpact, + viewport: viewport, + afterCritical: afterCritical }); if (!impact) { return null; } - const pageBorderBoxCenter = getPageBorderBoxCenterFromImpact({ - impact, - draggable, + var pageBorderBoxCenter = getPageBorderBoxCenterFromImpact({ + impact: impact, + draggable: draggable, droppable: destination, - draggables, - afterCritical + draggables: draggables, + afterCritical: afterCritical }); - const isVisibleInNewLocation = isTotallyVisibleInNewLocation({ - draggable, - destination, + var isVisibleInNewLocation = isTotallyVisibleInNewLocation({ + draggable: draggable, + destination: destination, newPageBorderBoxCenter: pageBorderBoxCenter, viewport: viewport.frame, withDroppableDisplacement: false, onlyOnMainAxis: true }); if (isVisibleInNewLocation) { - const clientSelection = getClientFromPageBorderBoxCenter({ - pageBorderBoxCenter, - draggable, - viewport + var clientSelection = getClientFromPageBorderBoxCenter({ + pageBorderBoxCenter: pageBorderBoxCenter, + draggable: draggable, + viewport: viewport }); return { - clientSelection, - impact, + clientSelection: clientSelection, + impact: impact, scrollJumpRequest: null }; } - const distance = subtract(pageBorderBoxCenter, previousPageBorderBoxCenter); - const cautious = speculativelyIncrease({ - impact, - viewport, - destination, - draggables, + var distance = subtract(pageBorderBoxCenter, previousPageBorderBoxCenter); + var cautious = speculativelyIncrease({ + impact: impact, + viewport: viewport, + destination: destination, + draggables: draggables, maxScrollChange: distance }); return { @@ -134079,96 +134082,103 @@ var moveToNextPlace = (_ref => { impact: cautious, scrollJumpRequest: distance }; -}); - -const getKnownActive = droppable => { - const rect = droppable.subject.active; - !rect ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot get clipped area from droppable') : invariant(false) : void 0; +}; +var getKnownActive = function getKnownActive(droppable) { + var rect = droppable.subject.active; + !rect ? false ? undefined : invariant(false) : void 0; return rect; }; -var getBestCrossAxisDroppable = (_ref => { - let { - isMovingForward, - pageBorderBoxCenter, - source, - droppables, - viewport - } = _ref; - const active = source.subject.active; +var getBestCrossAxisDroppable = function getBestCrossAxisDroppable(_ref) { + var isMovingForward = _ref.isMovingForward, + pageBorderBoxCenter = _ref.pageBorderBoxCenter, + source = _ref.source, + droppables = _ref.droppables, + viewport = _ref.viewport; + var active = source.subject.active; if (!active) { return null; } - const axis = source.axis; - const isBetweenSourceClipped = isWithin(active[axis.start], active[axis.end]); - const candidates = toDroppableList(droppables).filter(droppable => droppable !== source).filter(droppable => droppable.isEnabled).filter(droppable => Boolean(droppable.subject.active)).filter(droppable => isPartiallyVisibleThroughFrame(viewport.frame)(getKnownActive(droppable))).filter(droppable => { - const activeOfTarget = getKnownActive(droppable); + var axis = source.axis; + var isBetweenSourceClipped = isWithin(active[axis.start], active[axis.end]); + var candidates = toDroppableList(droppables).filter(function (droppable) { + return droppable !== source; + }).filter(function (droppable) { + return droppable.isEnabled; + }).filter(function (droppable) { + return Boolean(droppable.subject.active); + }).filter(function (droppable) { + return isPartiallyVisibleThroughFrame(viewport.frame)(getKnownActive(droppable)); + }).filter(function (droppable) { + var activeOfTarget = getKnownActive(droppable); if (isMovingForward) { return active[axis.crossAxisEnd] < activeOfTarget[axis.crossAxisEnd]; } return activeOfTarget[axis.crossAxisStart] < active[axis.crossAxisStart]; - }).filter(droppable => { - const activeOfTarget = getKnownActive(droppable); - const isBetweenDestinationClipped = isWithin(activeOfTarget[axis.start], activeOfTarget[axis.end]); + }).filter(function (droppable) { + var activeOfTarget = getKnownActive(droppable); + var isBetweenDestinationClipped = isWithin(activeOfTarget[axis.start], activeOfTarget[axis.end]); return isBetweenSourceClipped(activeOfTarget[axis.start]) || isBetweenSourceClipped(activeOfTarget[axis.end]) || isBetweenDestinationClipped(active[axis.start]) || isBetweenDestinationClipped(active[axis.end]); - }).sort((a, b) => { - const first = getKnownActive(a)[axis.crossAxisStart]; - const second = getKnownActive(b)[axis.crossAxisStart]; + }).sort(function (a, b) { + var first = getKnownActive(a)[axis.crossAxisStart]; + var second = getKnownActive(b)[axis.crossAxisStart]; if (isMovingForward) { return first - second; } return second - first; - }).filter((droppable, index, array) => getKnownActive(droppable)[axis.crossAxisStart] === getKnownActive(array[0])[axis.crossAxisStart]); + }).filter(function (droppable, index, array) { + return getKnownActive(droppable)[axis.crossAxisStart] === getKnownActive(array[0])[axis.crossAxisStart]; + }); if (!candidates.length) { return null; } if (candidates.length === 1) { return candidates[0]; } - const contains = candidates.filter(droppable => { - const isWithinDroppable = isWithin(getKnownActive(droppable)[axis.start], getKnownActive(droppable)[axis.end]); + var contains = candidates.filter(function (droppable) { + var isWithinDroppable = isWithin(getKnownActive(droppable)[axis.start], getKnownActive(droppable)[axis.end]); return isWithinDroppable(pageBorderBoxCenter[axis.line]); }); if (contains.length === 1) { return contains[0]; } if (contains.length > 1) { - return contains.sort((a, b) => getKnownActive(a)[axis.start] - getKnownActive(b)[axis.start])[0]; + return contains.sort(function (a, b) { + return getKnownActive(a)[axis.start] - getKnownActive(b)[axis.start]; + })[0]; } - return candidates.sort((a, b) => { - const first = closest$1(pageBorderBoxCenter, getCorners(getKnownActive(a))); - const second = closest$1(pageBorderBoxCenter, getCorners(getKnownActive(b))); + return candidates.sort(function (a, b) { + var first = closest$1(pageBorderBoxCenter, getCorners(getKnownActive(a))); + var second = closest$1(pageBorderBoxCenter, getCorners(getKnownActive(b))); if (first !== second) { return first - second; } return getKnownActive(a)[axis.start] - getKnownActive(b)[axis.start]; })[0]; -}); - -const getCurrentPageBorderBoxCenter = (draggable, afterCritical) => { - const original = draggable.page.borderBox.center; +}; +var getCurrentPageBorderBoxCenter = function getCurrentPageBorderBoxCenter(draggable, afterCritical) { + var original = draggable.page.borderBox.center; return didStartAfterCritical(draggable.descriptor.id, afterCritical) ? subtract(original, afterCritical.displacedBy.point) : original; }; -const getCurrentPageBorderBox = (draggable, afterCritical) => { - const original = draggable.page.borderBox; +var getCurrentPageBorderBox = function getCurrentPageBorderBox(draggable, afterCritical) { + var original = draggable.page.borderBox; return didStartAfterCritical(draggable.descriptor.id, afterCritical) ? offsetByPosition(original, negate(afterCritical.displacedBy.point)) : original; }; - -var getClosestDraggable = (_ref => { - let { - pageBorderBoxCenter, - viewport, - destination, - insideDestination, - afterCritical - } = _ref; - const sorted = insideDestination.filter(draggable => isTotallyVisible({ - target: getCurrentPageBorderBox(draggable, afterCritical), - destination, - viewport: viewport.frame, - withDroppableDisplacement: true - })).sort((a, b) => { - const distanceToA = distance(pageBorderBoxCenter, withDroppableDisplacement(destination, getCurrentPageBorderBoxCenter(a, afterCritical))); - const distanceToB = distance(pageBorderBoxCenter, withDroppableDisplacement(destination, getCurrentPageBorderBoxCenter(b, afterCritical))); +var getClosestDraggable = function getClosestDraggable(_ref) { + var pageBorderBoxCenter = _ref.pageBorderBoxCenter, + viewport = _ref.viewport, + destination = _ref.destination, + insideDestination = _ref.insideDestination, + afterCritical = _ref.afterCritical; + var sorted = insideDestination.filter(function (draggable) { + return isTotallyVisible({ + target: getCurrentPageBorderBox(draggable, afterCritical), + destination: destination, + viewport: viewport.frame, + withDroppableDisplacement: true + }); + }).sort(function (a, b) { + var distanceToA = distance(pageBorderBoxCenter, withDroppableDisplacement(destination, getCurrentPageBorderBoxCenter(a, afterCritical))); + var distanceToB = distance(pageBorderBoxCenter, withDroppableDisplacement(destination, getCurrentPageBorderBoxCenter(b, afterCritical))); if (distanceToA < distanceToB) { return -1; } @@ -134178,123 +134188,116 @@ var getClosestDraggable = (_ref => { return a.descriptor.index - b.descriptor.index; }); return sorted[0] || null; -}); - -var getDisplacedBy = memoizeOne(function getDisplacedBy(axis, displaceBy) { - const displacement = displaceBy[axis.line]; +}; +var getDisplacedBy = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function getDisplacedBy(axis, displaceBy) { + var displacement = displaceBy[axis.line]; return { value: displacement, point: patch(axis.line, displacement) }; }); - -const getRequiredGrowthForPlaceholder = (droppable, placeholderSize, draggables) => { - const axis = droppable.axis; +var getRequiredGrowthForPlaceholder = function getRequiredGrowthForPlaceholder(droppable, placeholderSize, draggables) { + var axis = droppable.axis; if (droppable.descriptor.mode === 'virtual') { return patch(axis.line, placeholderSize[axis.line]); } - const availableSpace = droppable.subject.page.contentBox[axis.size]; - const insideDroppable = getDraggablesInsideDroppable(droppable.descriptor.id, draggables); - const spaceUsed = insideDroppable.reduce((sum, dimension) => sum + dimension.client.marginBox[axis.size], 0); - const requiredSpace = spaceUsed + placeholderSize[axis.line]; - const needsToGrowBy = requiredSpace - availableSpace; + var availableSpace = droppable.subject.page.contentBox[axis.size]; + var insideDroppable = getDraggablesInsideDroppable(droppable.descriptor.id, draggables); + var spaceUsed = insideDroppable.reduce(function (sum, dimension) { + return sum + dimension.client.marginBox[axis.size]; + }, 0); + var requiredSpace = spaceUsed + placeholderSize[axis.line]; + var needsToGrowBy = requiredSpace - availableSpace; if (needsToGrowBy <= 0) { return null; } return patch(axis.line, needsToGrowBy); }; -const withMaxScroll = (frame, max) => ({ - ...frame, - scroll: { - ...frame.scroll, - max - } -}); -const addPlaceholder = (droppable, draggable, draggables) => { - const frame = droppable.frame; - !!isHomeOf(draggable, droppable) ? process.env.NODE_ENV !== "production" ? invariant(false, 'Should not add placeholder space to home list') : invariant(false) : void 0; - !!droppable.subject.withPlaceholder ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot add placeholder size to a subject when it already has one') : invariant(false) : void 0; - const placeholderSize = getDisplacedBy(droppable.axis, draggable.displaceBy).point; - const requiredGrowth = getRequiredGrowthForPlaceholder(droppable, placeholderSize, draggables); - const added = { - placeholderSize, +var withMaxScroll = function withMaxScroll(frame, max) { + return _objectSpread(_objectSpread({}, frame), {}, { + scroll: _objectSpread(_objectSpread({}, frame.scroll), {}, { + max: max + }) + }); +}; +var addPlaceholder = function addPlaceholder(droppable, draggable, draggables) { + var frame = droppable.frame; + !!isHomeOf(draggable, droppable) ? false ? undefined : invariant(false) : void 0; + !!droppable.subject.withPlaceholder ? false ? undefined : invariant(false) : void 0; + var placeholderSize = getDisplacedBy(droppable.axis, draggable.displaceBy).point; + var requiredGrowth = getRequiredGrowthForPlaceholder(droppable, placeholderSize, draggables); + var added = { + placeholderSize: placeholderSize, increasedBy: requiredGrowth, oldFrameMaxScroll: droppable.frame ? droppable.frame.scroll.max : null }; if (!frame) { - const subject = getSubject({ + var _subject = getSubject({ page: droppable.subject.page, withPlaceholder: added, axis: droppable.axis, frame: droppable.frame }); - return { - ...droppable, - subject - }; + return _objectSpread(_objectSpread({}, droppable), {}, { + subject: _subject + }); } - const maxScroll = requiredGrowth ? add(frame.scroll.max, requiredGrowth) : frame.scroll.max; - const newFrame = withMaxScroll(frame, maxScroll); - const subject = getSubject({ + var maxScroll = requiredGrowth ? add(frame.scroll.max, requiredGrowth) : frame.scroll.max; + var newFrame = withMaxScroll(frame, maxScroll); + var subject = getSubject({ page: droppable.subject.page, withPlaceholder: added, axis: droppable.axis, frame: newFrame }); - return { - ...droppable, - subject, + return _objectSpread(_objectSpread({}, droppable), {}, { + subject: subject, frame: newFrame - }; + }); }; -const removePlaceholder = droppable => { - const added = droppable.subject.withPlaceholder; - !added ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot remove placeholder form subject when there was none') : invariant(false) : void 0; - const frame = droppable.frame; +var removePlaceholder = function removePlaceholder(droppable) { + var added = droppable.subject.withPlaceholder; + !added ? false ? undefined : invariant(false) : void 0; + var frame = droppable.frame; if (!frame) { - const subject = getSubject({ + var _subject2 = getSubject({ page: droppable.subject.page, axis: droppable.axis, frame: null, withPlaceholder: null }); - return { - ...droppable, - subject - }; + return _objectSpread(_objectSpread({}, droppable), {}, { + subject: _subject2 + }); } - const oldMaxScroll = added.oldFrameMaxScroll; - !oldMaxScroll ? process.env.NODE_ENV !== "production" ? invariant(false, 'Expected droppable with frame to have old max frame scroll when removing placeholder') : invariant(false) : void 0; - const newFrame = withMaxScroll(frame, oldMaxScroll); - const subject = getSubject({ + var oldMaxScroll = added.oldFrameMaxScroll; + !oldMaxScroll ? false ? undefined : invariant(false) : void 0; + var newFrame = withMaxScroll(frame, oldMaxScroll); + var subject = getSubject({ page: droppable.subject.page, axis: droppable.axis, frame: newFrame, withPlaceholder: null }); - return { - ...droppable, - subject, + return _objectSpread(_objectSpread({}, droppable), {}, { + subject: subject, frame: newFrame - }; + }); }; - -var moveToNewDroppable = (_ref => { - let { - previousPageBorderBoxCenter, - moveRelativeTo, - insideDestination, - draggable, - draggables, - destination, - viewport, - afterCritical - } = _ref; +var moveToNewDroppable = function moveToNewDroppable(_ref) { + var previousPageBorderBoxCenter = _ref.previousPageBorderBoxCenter, + moveRelativeTo = _ref.moveRelativeTo, + insideDestination = _ref.insideDestination, + draggable = _ref.draggable, + draggables = _ref.draggables, + destination = _ref.destination, + viewport = _ref.viewport, + afterCritical = _ref.afterCritical; if (!moveRelativeTo) { if (insideDestination.length) { return null; } - const proposed = { + var proposed = { displaced: emptyGroups, displacedBy: noDisplacedBy, at: { @@ -134305,16 +134308,16 @@ var moveToNewDroppable = (_ref => { } } }; - const proposedPageBorderBoxCenter = getPageBorderBoxCenterFromImpact({ + var proposedPageBorderBoxCenter = getPageBorderBoxCenterFromImpact({ impact: proposed, - draggable, + draggable: draggable, droppable: destination, - draggables, - afterCritical + draggables: draggables, + afterCritical: afterCritical }); - const withPlaceholder = isHomeOf(draggable, destination) ? destination : addPlaceholder(destination, draggable, draggables); - const isVisibleInNewLocation = isTotallyVisibleInNewLocation({ - draggable, + var withPlaceholder = isHomeOf(draggable, destination) ? destination : addPlaceholder(destination, draggable, draggables); + var isVisibleInNewLocation = isTotallyVisibleInNewLocation({ + draggable: draggable, destination: withPlaceholder, newPageBorderBoxCenter: proposedPageBorderBoxCenter, viewport: viewport.frame, @@ -134323,9 +134326,9 @@ var moveToNewDroppable = (_ref => { }); return isVisibleInNewLocation ? proposed : null; } - const isGoingBeforeTarget = Boolean(previousPageBorderBoxCenter[destination.axis.line] <= moveRelativeTo.page.borderBox.center[destination.axis.line]); - const proposedIndex = (() => { - const relativeTo = moveRelativeTo.descriptor.index; + var isGoingBeforeTarget = Boolean(previousPageBorderBoxCenter[destination.axis.line] <= moveRelativeTo.page.borderBox.center[destination.axis.line]); + var proposedIndex = function () { + var relativeTo = moveRelativeTo.descriptor.index; if (moveRelativeTo.descriptor.id === draggable.descriptor.id) { return relativeTo; } @@ -134333,82 +134336,78 @@ var moveToNewDroppable = (_ref => { return relativeTo; } return relativeTo + 1; - })(); - const displacedBy = getDisplacedBy(destination.axis, draggable.displaceBy); + }(); + var displacedBy = getDisplacedBy(destination.axis, draggable.displaceBy); return calculateReorderImpact({ - draggable, - insideDestination, - destination, - viewport, - displacedBy, + draggable: draggable, + insideDestination: insideDestination, + destination: destination, + viewport: viewport, + displacedBy: displacedBy, last: emptyGroups, index: proposedIndex }); -}); - -var moveCrossAxis = (_ref => { - let { - isMovingForward, - previousPageBorderBoxCenter, - draggable, - isOver, - draggables, - droppables, - viewport, - afterCritical - } = _ref; - const destination = getBestCrossAxisDroppable({ - isMovingForward, +}; +var moveCrossAxis = function moveCrossAxis(_ref) { + var isMovingForward = _ref.isMovingForward, + previousPageBorderBoxCenter = _ref.previousPageBorderBoxCenter, + draggable = _ref.draggable, + isOver = _ref.isOver, + draggables = _ref.draggables, + droppables = _ref.droppables, + viewport = _ref.viewport, + afterCritical = _ref.afterCritical; + var destination = getBestCrossAxisDroppable({ + isMovingForward: isMovingForward, pageBorderBoxCenter: previousPageBorderBoxCenter, source: isOver, - droppables, - viewport + droppables: droppables, + viewport: viewport }); if (!destination) { return null; } - const insideDestination = getDraggablesInsideDroppable(destination.descriptor.id, draggables); - const moveRelativeTo = getClosestDraggable({ + var insideDestination = getDraggablesInsideDroppable(destination.descriptor.id, draggables); + var moveRelativeTo = getClosestDraggable({ pageBorderBoxCenter: previousPageBorderBoxCenter, - viewport, - destination, - insideDestination, - afterCritical + viewport: viewport, + destination: destination, + insideDestination: insideDestination, + afterCritical: afterCritical }); - const impact = moveToNewDroppable({ - previousPageBorderBoxCenter, - destination, - draggable, - draggables, - moveRelativeTo, - insideDestination, - viewport, - afterCritical + var impact = moveToNewDroppable({ + previousPageBorderBoxCenter: previousPageBorderBoxCenter, + destination: destination, + draggable: draggable, + draggables: draggables, + moveRelativeTo: moveRelativeTo, + insideDestination: insideDestination, + viewport: viewport, + afterCritical: afterCritical }); if (!impact) { return null; } - const pageBorderBoxCenter = getPageBorderBoxCenterFromImpact({ - impact, - draggable, + var pageBorderBoxCenter = getPageBorderBoxCenterFromImpact({ + impact: impact, + draggable: draggable, droppable: destination, - draggables, - afterCritical + draggables: draggables, + afterCritical: afterCritical }); - const clientSelection = getClientFromPageBorderBoxCenter({ - pageBorderBoxCenter, - draggable, - viewport + var clientSelection = getClientFromPageBorderBoxCenter({ + pageBorderBoxCenter: pageBorderBoxCenter, + draggable: draggable, + viewport: viewport }); return { - clientSelection, - impact, + clientSelection: clientSelection, + impact: impact, scrollJumpRequest: null }; -}); - -var whatIsDraggedOver = (impact => { - const at = impact.at; +}; +var whatIsDraggedOver = function whatIsDraggedOver(impact) { + var at = impact.at; if (!at) { return null; } @@ -134416,98 +134415,89 @@ var whatIsDraggedOver = (impact => { return at.destination.droppableId; } return at.combine.droppableId; -}); - -const getDroppableOver$1 = (impact, droppables) => { - const id = whatIsDraggedOver(impact); +}; +var getDroppableOver$1 = function getDroppableOver$1(impact, droppables) { + var id = whatIsDraggedOver(impact); return id ? droppables[id] : null; }; -var moveInDirection = (_ref => { - let { - state, - type - } = _ref; - const isActuallyOver = getDroppableOver$1(state.impact, state.dimensions.droppables); - const isMainAxisMovementAllowed = Boolean(isActuallyOver); - const home = state.dimensions.droppables[state.critical.droppable.id]; - const isOver = isActuallyOver || home; - const direction = isOver.axis.direction; - const isMovingOnMainAxis = direction === 'vertical' && (type === 'MOVE_UP' || type === 'MOVE_DOWN') || direction === 'horizontal' && (type === 'MOVE_LEFT' || type === 'MOVE_RIGHT'); +var moveInDirection = function moveInDirection(_ref) { + var state = _ref.state, + type = _ref.type; + var isActuallyOver = getDroppableOver$1(state.impact, state.dimensions.droppables); + var isMainAxisMovementAllowed = Boolean(isActuallyOver); + var home = state.dimensions.droppables[state.critical.droppable.id]; + var isOver = isActuallyOver || home; + var direction = isOver.axis.direction; + var isMovingOnMainAxis = direction === 'vertical' && (type === 'MOVE_UP' || type === 'MOVE_DOWN') || direction === 'horizontal' && (type === 'MOVE_LEFT' || type === 'MOVE_RIGHT'); if (isMovingOnMainAxis && !isMainAxisMovementAllowed) { return null; } - const isMovingForward = type === 'MOVE_DOWN' || type === 'MOVE_RIGHT'; - const draggable = state.dimensions.draggables[state.critical.draggable.id]; - const previousPageBorderBoxCenter = state.current.page.borderBoxCenter; - const { - draggables, - droppables - } = state.dimensions; + var isMovingForward = type === 'MOVE_DOWN' || type === 'MOVE_RIGHT'; + var draggable = state.dimensions.draggables[state.critical.draggable.id]; + var previousPageBorderBoxCenter = state.current.page.borderBoxCenter; + var _state$dimensions = state.dimensions, + draggables = _state$dimensions.draggables, + droppables = _state$dimensions.droppables; return isMovingOnMainAxis ? moveToNextPlace({ - isMovingForward, - previousPageBorderBoxCenter, - draggable, + isMovingForward: isMovingForward, + previousPageBorderBoxCenter: previousPageBorderBoxCenter, + draggable: draggable, destination: isOver, - draggables, + draggables: draggables, viewport: state.viewport, previousClientSelection: state.current.client.selection, previousImpact: state.impact, afterCritical: state.afterCritical }) : moveCrossAxis({ - isMovingForward, - previousPageBorderBoxCenter, - draggable, - isOver, - draggables, - droppables, + isMovingForward: isMovingForward, + previousPageBorderBoxCenter: previousPageBorderBoxCenter, + draggable: draggable, + isOver: isOver, + draggables: draggables, + droppables: droppables, viewport: state.viewport, afterCritical: state.afterCritical }); -}); - +}; function isMovementAllowed(state) { return state.phase === 'DRAGGING' || state.phase === 'COLLECTING'; } - function isPositionInFrame(frame) { - const isWithinVertical = isWithin(frame.top, frame.bottom); - const isWithinHorizontal = isWithin(frame.left, frame.right); + var isWithinVertical = isWithin(frame.top, frame.bottom); + var isWithinHorizontal = isWithin(frame.left, frame.right); return function run(point) { return isWithinVertical(point.y) && isWithinHorizontal(point.x); }; } - function getHasOverlap(first, second) { return first.left < second.right && first.right > second.left && first.top < second.bottom && first.bottom > second.top; } function getFurthestAway(_ref) { - let { - pageBorderBox, - draggable, - candidates - } = _ref; - const startCenter = draggable.page.borderBox.center; - const sorted = candidates.map(candidate => { - const axis = candidate.axis; - const target = patch(candidate.axis.line, pageBorderBox.center[axis.line], candidate.page.borderBox.center[axis.crossAxisLine]); + var pageBorderBox = _ref.pageBorderBox, + draggable = _ref.draggable, + candidates = _ref.candidates; + var startCenter = draggable.page.borderBox.center; + var sorted = candidates.map(function (candidate) { + var axis = candidate.axis; + var target = patch(candidate.axis.line, pageBorderBox.center[axis.line], candidate.page.borderBox.center[axis.crossAxisLine]); return { id: candidate.descriptor.id, distance: distance(startCenter, target) }; - }).sort((a, b) => b.distance - a.distance); + }).sort(function (a, b) { + return b.distance - a.distance; + }); return sorted[0] ? sorted[0].id : null; } function getDroppableOver(_ref2) { - let { - pageBorderBox, - draggable, - droppables - } = _ref2; - const candidates = toDroppableList(droppables).filter(item => { + var pageBorderBox = _ref2.pageBorderBox, + draggable = _ref2.draggable, + droppables = _ref2.droppables; + var candidates = toDroppableList(droppables).filter(function (item) { if (!item.isEnabled) { return false; } - const active = item.subject.active; + var active = item.subject.active; if (!active) { return false; } @@ -134517,13 +134507,13 @@ function getDroppableOver(_ref2) { if (isPositionInFrame(active)(pageBorderBox.center)) { return true; } - const axis = item.axis; - const childCenter = active.center[axis.crossAxisLine]; - const crossAxisStart = pageBorderBox[axis.crossAxisStart]; - const crossAxisEnd = pageBorderBox[axis.crossAxisEnd]; - const isContained = isWithin(active[axis.crossAxisStart], active[axis.crossAxisEnd]); - const isStartContained = isContained(crossAxisStart); - const isEndContained = isContained(crossAxisEnd); + var axis = item.axis; + var childCenter = active.center[axis.crossAxisLine]; + var crossAxisStart = pageBorderBox[axis.crossAxisStart]; + var crossAxisEnd = pageBorderBox[axis.crossAxisEnd]; + var isContained = isWithin(active[axis.crossAxisStart], active[axis.crossAxisEnd]); + var isStartContained = isContained(crossAxisStart); + var isEndContained = isContained(crossAxisEnd); if (!isStartContained && !isEndContained) { return true; } @@ -134539,36 +134529,30 @@ function getDroppableOver(_ref2) { return candidates[0].descriptor.id; } return getFurthestAway({ - pageBorderBox, - draggable, - candidates + pageBorderBox: pageBorderBox, + draggable: draggable, + candidates: candidates }); } - -const offsetRectByPosition = (rect, point) => getRect(offsetByPosition(rect, point)); - -var withDroppableScroll = ((droppable, area) => { - const frame = droppable.frame; +var offsetRectByPosition = function offsetRectByPosition(rect, point) { + return Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getRect */ "e"])(offsetByPosition(rect, point)); +}; +var withDroppableScroll = function withDroppableScroll(droppable, area) { + var frame = droppable.frame; if (!frame) { return area; } return offsetRectByPosition(area, frame.scroll.diff.value); -}); - +}; function getIsDisplaced(_ref) { - let { - displaced, - id - } = _ref; + var displaced = _ref.displaced, + id = _ref.id; return Boolean(displaced.visible[id] || displaced.invisible[id]); } - function atIndex(_ref) { - let { - draggable, - closest, - inHomeList - } = _ref; + var draggable = _ref.draggable, + closest = _ref.closest, + inHomeList = _ref.inHomeList; if (!closest) { return null; } @@ -134580,29 +134564,27 @@ function atIndex(_ref) { } return closest.descriptor.index; } -var getReorderImpact = (_ref2 => { - let { - pageBorderBoxWithDroppableScroll: targetRect, - draggable, - destination, - insideDestination, - last, - viewport, - afterCritical - } = _ref2; - const axis = destination.axis; - const displacedBy = getDisplacedBy(destination.axis, draggable.displaceBy); - const displacement = displacedBy.value; - const targetStart = targetRect[axis.start]; - const targetEnd = targetRect[axis.end]; - const withoutDragging = removeDraggableFromList(draggable, insideDestination); - const closest = withoutDragging.find(child => { - const id = child.descriptor.id; - const childCenter = child.page.borderBox.center[axis.line]; - const didStartAfterCritical$1 = didStartAfterCritical(id, afterCritical); - const isDisplaced = getIsDisplaced({ +var getReorderImpact = function getReorderImpact(_ref2) { + var targetRect = _ref2.pageBorderBoxWithDroppableScroll, + draggable = _ref2.draggable, + destination = _ref2.destination, + insideDestination = _ref2.insideDestination, + last = _ref2.last, + viewport = _ref2.viewport, + afterCritical = _ref2.afterCritical; + var axis = destination.axis; + var displacedBy = getDisplacedBy(destination.axis, draggable.displaceBy); + var displacement = displacedBy.value; + var targetStart = targetRect[axis.start]; + var targetEnd = targetRect[axis.end]; + var withoutDragging = removeDraggableFromList(draggable, insideDestination); + var closest = withoutDragging.find(function (child) { + var id = child.descriptor.id; + var childCenter = child.page.borderBox.center[axis.line]; + var didStartAfterCritical$1 = didStartAfterCritical(id, afterCritical); + var isDisplaced = getIsDisplaced({ displaced: last, - id + id: id }); if (didStartAfterCritical$1) { if (isDisplaced) { @@ -134615,50 +134597,47 @@ var getReorderImpact = (_ref2 => { } return targetStart < childCenter; }) || null; - const newIndex = atIndex({ - draggable, - closest, + var newIndex = atIndex({ + draggable: draggable, + closest: closest, inHomeList: isHomeOf(draggable, destination) }); return calculateReorderImpact({ - draggable, - insideDestination, - destination, - viewport, - last, - displacedBy, + draggable: draggable, + insideDestination: insideDestination, + destination: destination, + viewport: viewport, + last: last, + displacedBy: displacedBy, index: newIndex }); -}); - -const combineThresholdDivisor = 4; -var getCombineImpact = (_ref => { - let { - draggable, - pageBorderBoxWithDroppableScroll: targetRect, - previousImpact, - destination, - insideDestination, - afterCritical - } = _ref; +}; +var combineThresholdDivisor = 4; +var getCombineImpact = function getCombineImpact(_ref) { + var draggable = _ref.draggable, + targetRect = _ref.pageBorderBoxWithDroppableScroll, + previousImpact = _ref.previousImpact, + destination = _ref.destination, + insideDestination = _ref.insideDestination, + afterCritical = _ref.afterCritical; if (!destination.isCombineEnabled) { return null; } - const axis = destination.axis; - const displacedBy = getDisplacedBy(destination.axis, draggable.displaceBy); - const displacement = displacedBy.value; - const targetStart = targetRect[axis.start]; - const targetEnd = targetRect[axis.end]; - const withoutDragging = removeDraggableFromList(draggable, insideDestination); - const combineWith = withoutDragging.find(child => { - const id = child.descriptor.id; - const childRect = child.page.borderBox; - const childSize = childRect[axis.size]; - const threshold = childSize / combineThresholdDivisor; - const didStartAfterCritical$1 = didStartAfterCritical(id, afterCritical); - const isDisplaced = getIsDisplaced({ + var axis = destination.axis; + var displacedBy = getDisplacedBy(destination.axis, draggable.displaceBy); + var displacement = displacedBy.value; + var targetStart = targetRect[axis.start]; + var targetEnd = targetRect[axis.end]; + var withoutDragging = removeDraggableFromList(draggable, insideDestination); + var combineWith = withoutDragging.find(function (child) { + var id = child.descriptor.id; + var childRect = child.page.borderBox; + var childSize = childRect[axis.size]; + var threshold = childSize / combineThresholdDivisor; + var didStartAfterCritical$1 = didStartAfterCritical(id, afterCritical); + var isDisplaced = getIsDisplaced({ displaced: previousImpact.displaced, - id + id: id }); if (didStartAfterCritical$1) { if (isDisplaced) { @@ -134674,8 +134653,8 @@ var getCombineImpact = (_ref => { if (!combineWith) { return null; } - const impact = { - displacedBy, + var impact = { + displacedBy: displacedBy, displaced: previousImpact.displaced, at: { type: 'COMBINE', @@ -134686,538 +134665,481 @@ var getCombineImpact = (_ref => { } }; return impact; -}); - -var getDragImpact = (_ref => { - let { - pageOffset, - draggable, - draggables, - droppables, - previousImpact, - viewport, - afterCritical - } = _ref; - const pageBorderBox = offsetRectByPosition(draggable.page.borderBox, pageOffset); - const destinationId = getDroppableOver({ - pageBorderBox, - draggable, - droppables +}; +var getDragImpact = function getDragImpact(_ref) { + var pageOffset = _ref.pageOffset, + draggable = _ref.draggable, + draggables = _ref.draggables, + droppables = _ref.droppables, + previousImpact = _ref.previousImpact, + viewport = _ref.viewport, + afterCritical = _ref.afterCritical; + var pageBorderBox = offsetRectByPosition(draggable.page.borderBox, pageOffset); + var destinationId = getDroppableOver({ + pageBorderBox: pageBorderBox, + draggable: draggable, + droppables: droppables }); if (!destinationId) { return noImpact$1; } - const destination = droppables[destinationId]; - const insideDestination = getDraggablesInsideDroppable(destination.descriptor.id, draggables); - const pageBorderBoxWithDroppableScroll = withDroppableScroll(destination, pageBorderBox); + var destination = droppables[destinationId]; + var insideDestination = getDraggablesInsideDroppable(destination.descriptor.id, draggables); + var pageBorderBoxWithDroppableScroll = withDroppableScroll(destination, pageBorderBox); return getCombineImpact({ - pageBorderBoxWithDroppableScroll, - draggable, - previousImpact, - destination, - insideDestination, - afterCritical + pageBorderBoxWithDroppableScroll: pageBorderBoxWithDroppableScroll, + draggable: draggable, + previousImpact: previousImpact, + destination: destination, + insideDestination: insideDestination, + afterCritical: afterCritical }) || getReorderImpact({ - pageBorderBoxWithDroppableScroll, - draggable, - destination, - insideDestination, + pageBorderBoxWithDroppableScroll: pageBorderBoxWithDroppableScroll, + draggable: draggable, + destination: destination, + insideDestination: insideDestination, last: previousImpact.displaced, - viewport, - afterCritical + viewport: viewport, + afterCritical: afterCritical }); -}); - -var patchDroppableMap = ((droppables, updated) => ({ - ...droppables, - [updated.descriptor.id]: updated -})); - -const clearUnusedPlaceholder = _ref => { - let { - previousImpact, - impact, - droppables - } = _ref; - const last = whatIsDraggedOver(previousImpact); - const now = whatIsDraggedOver(impact); +}; +var patchDroppableMap = function patchDroppableMap(droppables, updated) { + return _objectSpread(_objectSpread({}, droppables), {}, _defineProperty({}, updated.descriptor.id, updated)); +}; +var clearUnusedPlaceholder = function clearUnusedPlaceholder(_ref) { + var previousImpact = _ref.previousImpact, + impact = _ref.impact, + droppables = _ref.droppables; + var last = whatIsDraggedOver(previousImpact); + var now = whatIsDraggedOver(impact); if (!last) { return droppables; } if (last === now) { return droppables; } - const lastDroppable = droppables[last]; + var lastDroppable = droppables[last]; if (!lastDroppable.subject.withPlaceholder) { return droppables; } - const updated = removePlaceholder(lastDroppable); + var updated = removePlaceholder(lastDroppable); return patchDroppableMap(droppables, updated); }; -var recomputePlaceholders = (_ref2 => { - let { - draggable, - draggables, - droppables, - previousImpact, - impact - } = _ref2; - const cleaned = clearUnusedPlaceholder({ - previousImpact, - impact, - droppables +var recomputePlaceholders = function recomputePlaceholders(_ref2) { + var draggable = _ref2.draggable, + draggables = _ref2.draggables, + droppables = _ref2.droppables, + previousImpact = _ref2.previousImpact, + impact = _ref2.impact; + var cleaned = clearUnusedPlaceholder({ + previousImpact: previousImpact, + impact: impact, + droppables: droppables }); - const isOver = whatIsDraggedOver(impact); + var isOver = whatIsDraggedOver(impact); if (!isOver) { return cleaned; } - const droppable = droppables[isOver]; + var droppable = droppables[isOver]; if (isHomeOf(draggable, droppable)) { return cleaned; } if (droppable.subject.withPlaceholder) { return cleaned; } - const patched = addPlaceholder(droppable, draggable, draggables); + var patched = addPlaceholder(droppable, draggable, draggables); return patchDroppableMap(cleaned, patched); -}); - -var update = (_ref => { - let { - state, - clientSelection: forcedClientSelection, - dimensions: forcedDimensions, - viewport: forcedViewport, - impact: forcedImpact, - scrollJumpRequest - } = _ref; - const viewport = forcedViewport || state.viewport; - const dimensions = forcedDimensions || state.dimensions; - const clientSelection = forcedClientSelection || state.current.client.selection; - const offset = subtract(clientSelection, state.initial.client.selection); - const client = { - offset, +}; +var update = function update(_ref) { + var state = _ref.state, + forcedClientSelection = _ref.clientSelection, + forcedDimensions = _ref.dimensions, + forcedViewport = _ref.viewport, + forcedImpact = _ref.impact, + scrollJumpRequest = _ref.scrollJumpRequest; + var viewport = forcedViewport || state.viewport; + var dimensions = forcedDimensions || state.dimensions; + var clientSelection = forcedClientSelection || state.current.client.selection; + var offset = subtract(clientSelection, state.initial.client.selection); + var client = { + offset: offset, selection: clientSelection, borderBoxCenter: add(state.initial.client.borderBoxCenter, offset) }; - const page = { + var page = { selection: add(client.selection, viewport.scroll.current), borderBoxCenter: add(client.borderBoxCenter, viewport.scroll.current), offset: add(client.offset, viewport.scroll.diff.value) }; - const current = { - client, - page + var current = { + client: client, + page: page }; if (state.phase === 'COLLECTING') { - return { - ...state, - dimensions, - viewport, - current - }; + return _objectSpread(_objectSpread({}, state), {}, { + dimensions: dimensions, + viewport: viewport, + current: current + }); } - const draggable = dimensions.draggables[state.critical.draggable.id]; - const newImpact = forcedImpact || getDragImpact({ + var draggable = dimensions.draggables[state.critical.draggable.id]; + var newImpact = forcedImpact || getDragImpact({ pageOffset: page.offset, - draggable, + draggable: draggable, draggables: dimensions.draggables, droppables: dimensions.droppables, previousImpact: state.impact, - viewport, + viewport: viewport, afterCritical: state.afterCritical }); - const withUpdatedPlaceholders = recomputePlaceholders({ - draggable, + var withUpdatedPlaceholders = recomputePlaceholders({ + draggable: draggable, impact: newImpact, previousImpact: state.impact, draggables: dimensions.draggables, droppables: dimensions.droppables }); - const result = { - ...state, - current, + var result = _objectSpread(_objectSpread({}, state), {}, { + current: current, dimensions: { draggables: dimensions.draggables, droppables: withUpdatedPlaceholders }, impact: newImpact, - viewport, + viewport: viewport, scrollJumpRequest: scrollJumpRequest || null, forceShouldAnimate: scrollJumpRequest ? false : null - }; + }); return result; -}); - +}; function getDraggables(ids, draggables) { - return ids.map(id => draggables[id]); -} -var recompute = (_ref => { - let { - impact, - viewport, - draggables, - destination, - forceShouldAnimate - } = _ref; - const last = impact.displaced; - const afterDragging = getDraggables(last.all, draggables); - const displaced = getDisplacementGroups({ - afterDragging, - destination, + return ids.map(function (id) { + return draggables[id]; + }); +} +var recompute = function recompute(_ref) { + var impact = _ref.impact, + viewport = _ref.viewport, + draggables = _ref.draggables, + destination = _ref.destination, + forceShouldAnimate = _ref.forceShouldAnimate; + var last = impact.displaced; + var afterDragging = getDraggables(last.all, draggables); + var displaced = getDisplacementGroups({ + afterDragging: afterDragging, + destination: destination, displacedBy: impact.displacedBy, viewport: viewport.frame, - forceShouldAnimate, - last + forceShouldAnimate: forceShouldAnimate, + last: last }); - return { - ...impact, - displaced - }; -}); - -var getClientBorderBoxCenter = (_ref => { - let { - impact, - draggable, - droppable, - draggables, - viewport, - afterCritical - } = _ref; - const pageBorderBoxCenter = getPageBorderBoxCenterFromImpact({ - impact, - draggable, - draggables, - droppable, - afterCritical + return _objectSpread(_objectSpread({}, impact), {}, { + displaced: displaced + }); +}; +var getClientBorderBoxCenter = function getClientBorderBoxCenter(_ref) { + var impact = _ref.impact, + draggable = _ref.draggable, + droppable = _ref.droppable, + draggables = _ref.draggables, + viewport = _ref.viewport, + afterCritical = _ref.afterCritical; + var pageBorderBoxCenter = getPageBorderBoxCenterFromImpact({ + impact: impact, + draggable: draggable, + draggables: draggables, + droppable: droppable, + afterCritical: afterCritical }); return getClientFromPageBorderBoxCenter({ - pageBorderBoxCenter, - draggable, - viewport + pageBorderBoxCenter: pageBorderBoxCenter, + draggable: draggable, + viewport: viewport }); -}); - -var refreshSnap = (_ref => { - let { - state, - dimensions: forcedDimensions, - viewport: forcedViewport - } = _ref; - !(state.movementMode === 'SNAP') ? process.env.NODE_ENV !== "production" ? invariant(false) : invariant(false) : void 0; - const needsVisibilityCheck = state.impact; - const viewport = forcedViewport || state.viewport; - const dimensions = forcedDimensions || state.dimensions; - const { - draggables, - droppables - } = dimensions; - const draggable = draggables[state.critical.draggable.id]; - const isOver = whatIsDraggedOver(needsVisibilityCheck); - !isOver ? process.env.NODE_ENV !== "production" ? invariant(false, 'Must be over a destination in SNAP movement mode') : invariant(false) : void 0; - const destination = droppables[isOver]; - const impact = recompute({ +}; +var refreshSnap = function refreshSnap(_ref) { + var state = _ref.state, + forcedDimensions = _ref.dimensions, + forcedViewport = _ref.viewport; + !(state.movementMode === 'SNAP') ? false ? undefined : invariant(false) : void 0; + var needsVisibilityCheck = state.impact; + var viewport = forcedViewport || state.viewport; + var dimensions = forcedDimensions || state.dimensions; + var draggables = dimensions.draggables, + droppables = dimensions.droppables; + var draggable = draggables[state.critical.draggable.id]; + var isOver = whatIsDraggedOver(needsVisibilityCheck); + !isOver ? false ? undefined : invariant(false) : void 0; + var destination = droppables[isOver]; + var impact = recompute({ impact: needsVisibilityCheck, - viewport, - destination, - draggables + viewport: viewport, + destination: destination, + draggables: draggables }); - const clientSelection = getClientBorderBoxCenter({ - impact, - draggable, + var clientSelection = getClientBorderBoxCenter({ + impact: impact, + draggable: draggable, droppable: destination, - draggables, - viewport, + draggables: draggables, + viewport: viewport, afterCritical: state.afterCritical }); return update({ - impact, - clientSelection, - state, - dimensions, - viewport + impact: impact, + clientSelection: clientSelection, + state: state, + dimensions: dimensions, + viewport: viewport }); -}); - -var getHomeLocation = (descriptor => ({ - index: descriptor.index, - droppableId: descriptor.droppableId -})); - -var getLiftEffect = (_ref => { - let { - draggable, - home, - draggables, - viewport - } = _ref; - const displacedBy = getDisplacedBy(home.axis, draggable.displaceBy); - const insideHome = getDraggablesInsideDroppable(home.descriptor.id, draggables); - const rawIndex = insideHome.indexOf(draggable); - !(rawIndex !== -1) ? process.env.NODE_ENV !== "production" ? invariant(false, 'Expected draggable to be inside home list') : invariant(false) : void 0; - const afterDragging = insideHome.slice(rawIndex + 1); - const effected = afterDragging.reduce((previous, item) => { +}; +var getHomeLocation = function getHomeLocation(descriptor) { + return { + index: descriptor.index, + droppableId: descriptor.droppableId + }; +}; +var getLiftEffect = function getLiftEffect(_ref) { + var draggable = _ref.draggable, + home = _ref.home, + draggables = _ref.draggables, + viewport = _ref.viewport; + var displacedBy = getDisplacedBy(home.axis, draggable.displaceBy); + var insideHome = getDraggablesInsideDroppable(home.descriptor.id, draggables); + var rawIndex = insideHome.indexOf(draggable); + !(rawIndex !== -1) ? false ? undefined : invariant(false) : void 0; + var afterDragging = insideHome.slice(rawIndex + 1); + var effected = afterDragging.reduce(function (previous, item) { previous[item.descriptor.id] = true; return previous; }, {}); - const afterCritical = { + var afterCritical = { inVirtualList: home.descriptor.mode === 'virtual', - displacedBy, - effected + displacedBy: displacedBy, + effected: effected }; - const displaced = getDisplacementGroups({ - afterDragging, + var displaced = getDisplacementGroups({ + afterDragging: afterDragging, destination: home, - displacedBy, + displacedBy: displacedBy, last: null, viewport: viewport.frame, forceShouldAnimate: false }); - const impact = { - displaced, - displacedBy, + var impact = { + displaced: displaced, + displacedBy: displacedBy, at: { type: 'REORDER', destination: getHomeLocation(draggable.descriptor) } }; return { - impact, - afterCritical + impact: impact, + afterCritical: afterCritical }; -}); - -var patchDimensionMap = ((dimensions, updated) => ({ - draggables: dimensions.draggables, - droppables: patchDroppableMap(dimensions.droppables, updated) -})); - -const start = key => { - if (process.env.NODE_ENV !== 'production') { - { - return; - } - } }; -const finish = key => { - if (process.env.NODE_ENV !== 'production') { - { - return; - } - } -}; - -var offsetDraggable = (_ref => { - let { - draggable, - offset: offset$1, - initialWindowScroll - } = _ref; - const client = offset(draggable.client, offset$1); - const page = withScroll(client, initialWindowScroll); - const moved = { - ...draggable, - placeholder: { - ...draggable.placeholder, - client - }, - client, - page +var patchDimensionMap = function patchDimensionMap(dimensions, updated) { + return { + draggables: dimensions.draggables, + droppables: patchDroppableMap(dimensions.droppables, updated) }; +}; +var start = function start(key) { + if (false) {} +}; +var finish = function finish(key) { + if (false) {} +}; +var offsetDraggable = function offsetDraggable(_ref) { + var draggable = _ref.draggable, + offset$1 = _ref.offset, + initialWindowScroll = _ref.initialWindowScroll; + var client = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* offset */ "f"])(draggable.client, offset$1); + var page = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* withScroll */ "g"])(client, initialWindowScroll); + var moved = _objectSpread(_objectSpread({}, draggable), {}, { + placeholder: _objectSpread(_objectSpread({}, draggable.placeholder), {}, { + client: client + }), + client: client, + page: page + }); return moved; -}); - -var getFrame = (droppable => { - const frame = droppable.frame; - !frame ? process.env.NODE_ENV !== "production" ? invariant(false, 'Expected Droppable to have a frame') : invariant(false) : void 0; +}; +var getFrame = function getFrame(droppable) { + var frame = droppable.frame; + !frame ? false ? undefined : invariant(false) : void 0; return frame; -}); - -var adjustAdditionsForScrollChanges = (_ref => { - let { - additions, - updatedDroppables, - viewport - } = _ref; - const windowScrollChange = viewport.scroll.diff.value; - return additions.map(draggable => { - const droppableId = draggable.descriptor.droppableId; - const modified = updatedDroppables[droppableId]; - const frame = getFrame(modified); - const droppableScrollChange = frame.scroll.diff.value; - const totalChange = add(windowScrollChange, droppableScrollChange); - const moved = offsetDraggable({ - draggable, +}; +var adjustAdditionsForScrollChanges = function adjustAdditionsForScrollChanges(_ref) { + var additions = _ref.additions, + updatedDroppables = _ref.updatedDroppables, + viewport = _ref.viewport; + var windowScrollChange = viewport.scroll.diff.value; + return additions.map(function (draggable) { + var droppableId = draggable.descriptor.droppableId; + var modified = updatedDroppables[droppableId]; + var frame = getFrame(modified); + var droppableScrollChange = frame.scroll.diff.value; + var totalChange = add(windowScrollChange, droppableScrollChange); + var moved = offsetDraggable({ + draggable: draggable, offset: totalChange, initialWindowScroll: viewport.scroll.initial }); return moved; }); -}); - -const timingsKey = 'Processing dynamic changes'; -var publishWhileDraggingInVirtual = (_ref => { - let { - state, - published - } = _ref; +}; +var timingsKey = 'Processing dynamic changes'; +var publishWhileDraggingInVirtual = function publishWhileDraggingInVirtual(_ref) { + var state = _ref.state, + published = _ref.published; start(timingsKey); - const withScrollChange = published.modified.map(update => { - const existing = state.dimensions.droppables[update.droppableId]; - const scrolled = scrollDroppable(existing, update.scroll); + var withScrollChange = published.modified.map(function (update) { + var existing = state.dimensions.droppables[update.droppableId]; + var scrolled = scrollDroppable(existing, update.scroll); return scrolled; }); - const droppables = { - ...state.dimensions.droppables, - ...toDroppableMap(withScrollChange) - }; - const updatedAdditions = toDraggableMap(adjustAdditionsForScrollChanges({ + var droppables = _objectSpread(_objectSpread({}, state.dimensions.droppables), toDroppableMap(withScrollChange)); + var updatedAdditions = toDraggableMap(adjustAdditionsForScrollChanges({ additions: published.additions, updatedDroppables: droppables, viewport: state.viewport })); - const draggables = { - ...state.dimensions.draggables, - ...updatedAdditions - }; - published.removals.forEach(id => { + var draggables = _objectSpread(_objectSpread({}, state.dimensions.draggables), updatedAdditions); + published.removals.forEach(function (id) { delete draggables[id]; }); - const dimensions = { - droppables, - draggables - }; - const wasOverId = whatIsDraggedOver(state.impact); - const wasOver = wasOverId ? dimensions.droppables[wasOverId] : null; - const draggable = dimensions.draggables[state.critical.draggable.id]; - const home = dimensions.droppables[state.critical.droppable.id]; - const { - impact: onLiftImpact, - afterCritical - } = getLiftEffect({ - draggable, - home, - draggables, - viewport: state.viewport - }); - const previousImpact = wasOver && wasOver.isCombineEnabled ? state.impact : onLiftImpact; - const impact = getDragImpact({ + var dimensions = { + droppables: droppables, + draggables: draggables + }; + var wasOverId = whatIsDraggedOver(state.impact); + var wasOver = wasOverId ? dimensions.droppables[wasOverId] : null; + var draggable = dimensions.draggables[state.critical.draggable.id]; + var home = dimensions.droppables[state.critical.droppable.id]; + var _getLiftEffect = getLiftEffect({ + draggable: draggable, + home: home, + draggables: draggables, + viewport: state.viewport + }), + onLiftImpact = _getLiftEffect.impact, + afterCritical = _getLiftEffect.afterCritical; + var previousImpact = wasOver && wasOver.isCombineEnabled ? state.impact : onLiftImpact; + var impact = getDragImpact({ pageOffset: state.current.page.offset, draggable: dimensions.draggables[state.critical.draggable.id], draggables: dimensions.draggables, droppables: dimensions.droppables, - previousImpact, + previousImpact: previousImpact, viewport: state.viewport, - afterCritical + afterCritical: afterCritical }); finish(timingsKey); - const draggingState = { - ...state, + var draggingState = _objectSpread(_objectSpread({}, state), {}, { phase: 'DRAGGING', - impact, - onLiftImpact, - dimensions, - afterCritical, + impact: impact, + onLiftImpact: onLiftImpact, + dimensions: dimensions, + afterCritical: afterCritical, forceShouldAnimate: false - }; + }); if (state.phase === 'COLLECTING') { return draggingState; } - const dropPending = { - ...draggingState, + var dropPending = _objectSpread(_objectSpread({}, draggingState), {}, { phase: 'DROP_PENDING', reason: state.reason, isWaiting: false - }; + }); return dropPending; -}); - -const isSnapping = state => state.movementMode === 'SNAP'; -const postDroppableChange = (state, updated, isEnabledChanging) => { - const dimensions = patchDimensionMap(state.dimensions, updated); +}; +var isSnapping = function isSnapping(state) { + return state.movementMode === 'SNAP'; +}; +var postDroppableChange = function postDroppableChange(state, updated, isEnabledChanging) { + var dimensions = patchDimensionMap(state.dimensions, updated); if (!isSnapping(state) || isEnabledChanging) { return update({ - state, - dimensions + state: state, + dimensions: dimensions }); } return refreshSnap({ - state, - dimensions + state: state, + dimensions: dimensions }); }; function removeScrollJumpRequest(state) { if (state.isDragging && state.movementMode === 'SNAP') { - return { - ...state, + return _objectSpread(_objectSpread({}, state), {}, { scrollJumpRequest: null - }; + }); } return state; } -const idle$2 = { +var idle$2 = { phase: 'IDLE', completed: null, shouldFlush: false }; -var reducer = (function (state, action) { +var reducer = function reducer(state, action) { if (state === void 0) { state = idle$2; } if (action.type === 'FLUSH') { - return { - ...idle$2, + return _objectSpread(_objectSpread({}, idle$2), {}, { shouldFlush: true - }; + }); } if (action.type === 'INITIAL_PUBLISH') { - !(state.phase === 'IDLE') ? process.env.NODE_ENV !== "production" ? invariant(false, 'INITIAL_PUBLISH must come after a IDLE phase') : invariant(false) : void 0; - const { - critical, - clientSelection, - viewport, - dimensions, - movementMode - } = action.payload; - const draggable = dimensions.draggables[critical.draggable.id]; - const home = dimensions.droppables[critical.droppable.id]; - const client = { + !(state.phase === 'IDLE') ? false ? undefined : invariant(false) : void 0; + var _action$payload = action.payload, + critical = _action$payload.critical, + clientSelection = _action$payload.clientSelection, + viewport = _action$payload.viewport, + dimensions = _action$payload.dimensions, + movementMode = _action$payload.movementMode; + var _draggable = dimensions.draggables[critical.draggable.id]; + var _home = dimensions.droppables[critical.droppable.id]; + var client = { selection: clientSelection, - borderBoxCenter: draggable.client.borderBox.center, + borderBoxCenter: _draggable.client.borderBox.center, offset: origin }; - const initial = { - client, + var initial = { + client: client, page: { selection: add(client.selection, viewport.scroll.initial), borderBoxCenter: add(client.selection, viewport.scroll.initial), offset: add(client.selection, viewport.scroll.diff.value) } }; - const isWindowScrollAllowed = toDroppableList(dimensions.droppables).every(item => !item.isFixedOnPage); - const { - impact, - afterCritical - } = getLiftEffect({ - draggable, - home, - draggables: dimensions.draggables, - viewport - }); - const result = { + var isWindowScrollAllowed = toDroppableList(dimensions.droppables).every(function (item) { + return !item.isFixedOnPage; + }); + var _getLiftEffect2 = getLiftEffect({ + draggable: _draggable, + home: _home, + draggables: dimensions.draggables, + viewport: viewport + }), + impact = _getLiftEffect2.impact, + afterCritical = _getLiftEffect2.afterCritical; + var result = { phase: 'DRAGGING', isDragging: true, - critical, - movementMode, - dimensions, - initial, + critical: critical, + movementMode: movementMode, + dimensions: dimensions, + initial: initial, current: initial, - isWindowScrollAllowed, - impact, - afterCritical, + isWindowScrollAllowed: isWindowScrollAllowed, + impact: impact, + afterCritical: afterCritical, onLiftImpact: impact, - viewport, + viewport: viewport, scrollJumpRequest: null, forceShouldAnimate: null }; @@ -135227,17 +135149,16 @@ var reducer = (function (state, action) { if (state.phase === 'COLLECTING' || state.phase === 'DROP_PENDING') { return state; } - !(state.phase === 'DRAGGING') ? process.env.NODE_ENV !== "production" ? invariant(false, `Collection cannot start from phase ${state.phase}`) : invariant(false) : void 0; - const result = { - ...state, + !(state.phase === 'DRAGGING') ? false ? undefined : invariant(false) : void 0; + var _result = _objectSpread(_objectSpread({}, state), {}, { phase: 'COLLECTING' - }; - return result; + }); + return _result; } if (action.type === 'PUBLISH_WHILE_DRAGGING') { - !(state.phase === 'COLLECTING' || state.phase === 'DROP_PENDING') ? process.env.NODE_ENV !== "production" ? invariant(false, `Unexpected ${action.type} received in phase ${state.phase}`) : invariant(false) : void 0; + !(state.phase === 'COLLECTING' || state.phase === 'DROP_PENDING') ? false ? undefined : invariant(false) : void 0; return publishWhileDraggingInVirtual({ - state, + state: state, published: action.payload }); } @@ -135245,16 +135166,14 @@ var reducer = (function (state, action) { if (state.phase === 'DROP_PENDING') { return state; } - !isMovementAllowed(state) ? process.env.NODE_ENV !== "production" ? invariant(false, `${action.type} not permitted in phase ${state.phase}`) : invariant(false) : void 0; - const { - client: clientSelection - } = action.payload; - if (isEqual$1(clientSelection, state.current.client.selection)) { + !isMovementAllowed(state) ? false ? undefined : invariant(false) : void 0; + var _clientSelection = action.payload.client; + if (isEqual$1(_clientSelection, state.current.client.selection)) { return state; } return update({ - state, - clientSelection, + state: state, + clientSelection: _clientSelection, impact: isSnapping(state) ? state.impact : null }); } @@ -135265,251 +135184,279 @@ var reducer = (function (state, action) { if (state.phase === 'COLLECTING') { return removeScrollJumpRequest(state); } - !isMovementAllowed(state) ? process.env.NODE_ENV !== "production" ? invariant(false, `${action.type} not permitted in phase ${state.phase}`) : invariant(false) : void 0; - const { - id, - newScroll - } = action.payload; - const target = state.dimensions.droppables[id]; + !isMovementAllowed(state) ? false ? undefined : invariant(false) : void 0; + var _action$payload2 = action.payload, + id = _action$payload2.id, + newScroll = _action$payload2.newScroll; + var target = state.dimensions.droppables[id]; if (!target) { return state; } - const scrolled = scrollDroppable(target, newScroll); + var scrolled = scrollDroppable(target, newScroll); return postDroppableChange(state, scrolled, false); } if (action.type === 'UPDATE_DROPPABLE_IS_ENABLED') { if (state.phase === 'DROP_PENDING') { return state; } - !isMovementAllowed(state) ? process.env.NODE_ENV !== "production" ? invariant(false, `Attempting to move in an unsupported phase ${state.phase}`) : invariant(false) : void 0; - const { - id, - isEnabled - } = action.payload; - const target = state.dimensions.droppables[id]; - !target ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot find Droppable[id: ${id}] to toggle its enabled state`) : invariant(false) : void 0; - !(target.isEnabled !== isEnabled) ? process.env.NODE_ENV !== "production" ? invariant(false, `Trying to set droppable isEnabled to ${String(isEnabled)} - but it is already ${String(target.isEnabled)}`) : invariant(false) : void 0; - const updated = { - ...target, - isEnabled - }; + !isMovementAllowed(state) ? false ? undefined : invariant(false) : void 0; + var _action$payload3 = action.payload, + _id = _action$payload3.id, + isEnabled = _action$payload3.isEnabled; + var _target = state.dimensions.droppables[_id]; + !_target ? false ? undefined : invariant(false) : void 0; + !(_target.isEnabled !== isEnabled) ? false ? undefined : invariant(false) : void 0; + var updated = _objectSpread(_objectSpread({}, _target), {}, { + isEnabled: isEnabled + }); return postDroppableChange(state, updated, true); } if (action.type === 'UPDATE_DROPPABLE_IS_COMBINE_ENABLED') { if (state.phase === 'DROP_PENDING') { return state; } - !isMovementAllowed(state) ? process.env.NODE_ENV !== "production" ? invariant(false, `Attempting to move in an unsupported phase ${state.phase}`) : invariant(false) : void 0; - const { - id, - isCombineEnabled - } = action.payload; - const target = state.dimensions.droppables[id]; - !target ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot find Droppable[id: ${id}] to toggle its isCombineEnabled state`) : invariant(false) : void 0; - !(target.isCombineEnabled !== isCombineEnabled) ? process.env.NODE_ENV !== "production" ? invariant(false, `Trying to set droppable isCombineEnabled to ${String(isCombineEnabled)} - but it is already ${String(target.isCombineEnabled)}`) : invariant(false) : void 0; - const updated = { - ...target, - isCombineEnabled - }; - return postDroppableChange(state, updated, true); + !isMovementAllowed(state) ? false ? undefined : invariant(false) : void 0; + var _action$payload4 = action.payload, + _id2 = _action$payload4.id, + isCombineEnabled = _action$payload4.isCombineEnabled; + var _target2 = state.dimensions.droppables[_id2]; + !_target2 ? false ? undefined : invariant(false) : void 0; + !(_target2.isCombineEnabled !== isCombineEnabled) ? false ? undefined : invariant(false) : void 0; + var _updated = _objectSpread(_objectSpread({}, _target2), {}, { + isCombineEnabled: isCombineEnabled + }); + return postDroppableChange(state, _updated, true); } if (action.type === 'MOVE_BY_WINDOW_SCROLL') { if (state.phase === 'DROP_PENDING' || state.phase === 'DROP_ANIMATING') { return state; } - !isMovementAllowed(state) ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot move by window in phase ${state.phase}`) : invariant(false) : void 0; - !state.isWindowScrollAllowed ? process.env.NODE_ENV !== "production" ? invariant(false, 'Window scrolling is currently not supported for fixed lists') : invariant(false) : void 0; - const newScroll = action.payload.newScroll; - if (isEqual$1(state.viewport.scroll.current, newScroll)) { + !isMovementAllowed(state) ? false ? undefined : invariant(false) : void 0; + !state.isWindowScrollAllowed ? false ? undefined : invariant(false) : void 0; + var _newScroll = action.payload.newScroll; + if (isEqual$1(state.viewport.scroll.current, _newScroll)) { return removeScrollJumpRequest(state); } - const viewport = scrollViewport(state.viewport, newScroll); + var _viewport = scrollViewport(state.viewport, _newScroll); if (isSnapping(state)) { return refreshSnap({ - state, - viewport + state: state, + viewport: _viewport }); } return update({ - state, - viewport + state: state, + viewport: _viewport }); } if (action.type === 'UPDATE_VIEWPORT_MAX_SCROLL') { if (!isMovementAllowed(state)) { return state; } - const maxScroll = action.payload.maxScroll; + var maxScroll = action.payload.maxScroll; if (isEqual$1(maxScroll, state.viewport.scroll.max)) { return state; } - const withMaxScroll = { - ...state.viewport, - scroll: { - ...state.viewport.scroll, + var _withMaxScroll = _objectSpread(_objectSpread({}, state.viewport), {}, { + scroll: _objectSpread(_objectSpread({}, state.viewport.scroll), {}, { max: maxScroll - } - }; - return { - ...state, - viewport: withMaxScroll - }; + }) + }); + return _objectSpread(_objectSpread({}, state), {}, { + viewport: _withMaxScroll + }); } if (action.type === 'MOVE_UP' || action.type === 'MOVE_DOWN' || action.type === 'MOVE_LEFT' || action.type === 'MOVE_RIGHT') { if (state.phase === 'COLLECTING' || state.phase === 'DROP_PENDING') { return state; } - !(state.phase === 'DRAGGING') ? process.env.NODE_ENV !== "production" ? invariant(false, `${action.type} received while not in DRAGGING phase`) : invariant(false) : void 0; - const result = moveInDirection({ - state, + !(state.phase === 'DRAGGING') ? false ? undefined : invariant(false) : void 0; + var _result2 = moveInDirection({ + state: state, type: action.type }); - if (!result) { + if (!_result2) { return state; } return update({ - state, - impact: result.impact, - clientSelection: result.clientSelection, - scrollJumpRequest: result.scrollJumpRequest + state: state, + impact: _result2.impact, + clientSelection: _result2.clientSelection, + scrollJumpRequest: _result2.scrollJumpRequest }); } if (action.type === 'DROP_PENDING') { - const reason = action.payload.reason; - !(state.phase === 'COLLECTING') ? process.env.NODE_ENV !== "production" ? invariant(false, 'Can only move into the DROP_PENDING phase from the COLLECTING phase') : invariant(false) : void 0; - const newState = { - ...state, + var reason = action.payload.reason; + !(state.phase === 'COLLECTING') ? false ? undefined : invariant(false) : void 0; + var newState = _objectSpread(_objectSpread({}, state), {}, { phase: 'DROP_PENDING', isWaiting: true, - reason - }; + reason: reason + }); return newState; } if (action.type === 'DROP_ANIMATE') { - const { - completed, - dropDuration, - newHomeClientOffset - } = action.payload; - !(state.phase === 'DRAGGING' || state.phase === 'DROP_PENDING') ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot animate drop from phase ${state.phase}`) : invariant(false) : void 0; - const result = { + var _action$payload5 = action.payload, + completed = _action$payload5.completed, + dropDuration = _action$payload5.dropDuration, + newHomeClientOffset = _action$payload5.newHomeClientOffset; + !(state.phase === 'DRAGGING' || state.phase === 'DROP_PENDING') ? false ? undefined : invariant(false) : void 0; + var _result3 = { phase: 'DROP_ANIMATING', - completed, - dropDuration, - newHomeClientOffset, + completed: completed, + dropDuration: dropDuration, + newHomeClientOffset: newHomeClientOffset, dimensions: state.dimensions }; - return result; + return _result3; } if (action.type === 'DROP_COMPLETE') { - const { - completed - } = action.payload; + var _completed = action.payload.completed; return { phase: 'IDLE', - completed, + completed: _completed, shouldFlush: false }; } return state; -}); - -const beforeInitialCapture = args => ({ - type: 'BEFORE_INITIAL_CAPTURE', - payload: args -}); -const lift$1 = args => ({ - type: 'LIFT', - payload: args -}); -const initialPublish = args => ({ - type: 'INITIAL_PUBLISH', - payload: args -}); -const publishWhileDragging = args => ({ - type: 'PUBLISH_WHILE_DRAGGING', - payload: args -}); -const collectionStarting = () => ({ - type: 'COLLECTION_STARTING', - payload: null -}); -const updateDroppableScroll = args => ({ - type: 'UPDATE_DROPPABLE_SCROLL', - payload: args -}); -const updateDroppableIsEnabled = args => ({ - type: 'UPDATE_DROPPABLE_IS_ENABLED', - payload: args -}); -const updateDroppableIsCombineEnabled = args => ({ - type: 'UPDATE_DROPPABLE_IS_COMBINE_ENABLED', - payload: args -}); -const move = args => ({ - type: 'MOVE', - payload: args -}); -const moveByWindowScroll = args => ({ - type: 'MOVE_BY_WINDOW_SCROLL', - payload: args -}); -const updateViewportMaxScroll = args => ({ - type: 'UPDATE_VIEWPORT_MAX_SCROLL', - payload: args -}); -const moveUp = () => ({ - type: 'MOVE_UP', - payload: null -}); -const moveDown = () => ({ - type: 'MOVE_DOWN', - payload: null -}); -const moveRight = () => ({ - type: 'MOVE_RIGHT', - payload: null -}); -const moveLeft = () => ({ - type: 'MOVE_LEFT', - payload: null -}); -const flush = () => ({ - type: 'FLUSH', - payload: null -}); -const animateDrop = args => ({ - type: 'DROP_ANIMATE', - payload: args -}); -const completeDrop = args => ({ - type: 'DROP_COMPLETE', - payload: args -}); -const drop$1 = args => ({ - type: 'DROP', - payload: args -}); -const dropPending = args => ({ - type: 'DROP_PENDING', - payload: args -}); -const dropAnimationFinished = () => ({ - type: 'DROP_ANIMATION_FINISHED', - payload: null -}); - +}; +var beforeInitialCapture = function beforeInitialCapture(args) { + return { + type: 'BEFORE_INITIAL_CAPTURE', + payload: args + }; +}; +var lift$1 = function lift$1(args) { + return { + type: 'LIFT', + payload: args + }; +}; +var initialPublish = function initialPublish(args) { + return { + type: 'INITIAL_PUBLISH', + payload: args + }; +}; +var publishWhileDragging = function publishWhileDragging(args) { + return { + type: 'PUBLISH_WHILE_DRAGGING', + payload: args + }; +}; +var collectionStarting = function collectionStarting() { + return { + type: 'COLLECTION_STARTING', + payload: null + }; +}; +var updateDroppableScroll = function updateDroppableScroll(args) { + return { + type: 'UPDATE_DROPPABLE_SCROLL', + payload: args + }; +}; +var updateDroppableIsEnabled = function updateDroppableIsEnabled(args) { + return { + type: 'UPDATE_DROPPABLE_IS_ENABLED', + payload: args + }; +}; +var updateDroppableIsCombineEnabled = function updateDroppableIsCombineEnabled(args) { + return { + type: 'UPDATE_DROPPABLE_IS_COMBINE_ENABLED', + payload: args + }; +}; +var move = function move(args) { + return { + type: 'MOVE', + payload: args + }; +}; +var moveByWindowScroll = function moveByWindowScroll(args) { + return { + type: 'MOVE_BY_WINDOW_SCROLL', + payload: args + }; +}; +var updateViewportMaxScroll = function updateViewportMaxScroll(args) { + return { + type: 'UPDATE_VIEWPORT_MAX_SCROLL', + payload: args + }; +}; +var _moveUp = function moveUp() { + return { + type: 'MOVE_UP', + payload: null + }; +}; +var _moveDown = function moveDown() { + return { + type: 'MOVE_DOWN', + payload: null + }; +}; +var _moveRight = function moveRight() { + return { + type: 'MOVE_RIGHT', + payload: null + }; +}; +var _moveLeft = function moveLeft() { + return { + type: 'MOVE_LEFT', + payload: null + }; +}; +var flush = function flush() { + return { + type: 'FLUSH', + payload: null + }; +}; +var animateDrop = function animateDrop(args) { + return { + type: 'DROP_ANIMATE', + payload: args + }; +}; +var completeDrop = function completeDrop(args) { + return { + type: 'DROP_COMPLETE', + payload: args + }; +}; +var drop$1 = function drop$1(args) { + return { + type: 'DROP', + payload: args + }; +}; +var dropPending = function dropPending(args) { + return { + type: 'DROP_PENDING', + payload: args + }; +}; +var dropAnimationFinished = function dropAnimationFinished() { + return { + type: 'DROP_ANIMATION_FINISHED', + payload: null + }; +}; function checkIndexes(insideDestination) { if (insideDestination.length <= 1) { return; } - const indexes = insideDestination.map(d => d.descriptor.index); - const errors = {}; - for (let i = 1; i < indexes.length; i++) { - const current = indexes[i]; - const previous = indexes[i - 1]; + var indexes = insideDestination.map(function (d) { + return d.descriptor.index; + }); + var errors = {}; + for (var i = 1; i < indexes.length; i++) { + var current = indexes[i]; + var previous = indexes[i - 1]; if (current !== previous + 1) { errors[current] = true; } @@ -135517,93 +135464,87 @@ function checkIndexes(insideDestination) { if (!Object.keys(errors).length) { return; } - const formatted = indexes.map(index => { - const hasError = Boolean(errors[index]); - return hasError ? `[🔥${index}]` : `${index}`; + var formatted = indexes.map(function (index) { + var hasError = Boolean(errors[index]); + return hasError ? "[\uD83D\uDD25".concat(index, "]") : "".concat(index); }).join(', '); - process.env.NODE_ENV !== "production" ? warning(` - Detected non-consecutive indexes. - - (This can cause unexpected bugs) - - ${formatted} - `) : void 0; + false ? undefined : void 0; } function validateDimensions(critical, dimensions) { - if (process.env.NODE_ENV !== 'production') { - const insideDestination = getDraggablesInsideDroppable(critical.droppable.id, dimensions.draggables); - checkIndexes(insideDestination); - } -} - -var lift = (marshal => _ref => { - let { - getState, - dispatch - } = _ref; - return next => action => { - if (action.type !== 'LIFT') { - next(action); - return; - } - const { - id, - clientSelection, - movementMode - } = action.payload; - const initial = getState(); - if (initial.phase === 'DROP_ANIMATING') { - dispatch(completeDrop({ - completed: initial.completed - })); - } - !(getState().phase === 'IDLE') ? process.env.NODE_ENV !== "production" ? invariant(false, 'Unexpected phase to start a drag') : invariant(false) : void 0; - dispatch(flush()); - dispatch(beforeInitialCapture({ - draggableId: id, - movementMode - })); - const scrollOptions = { - shouldPublishImmediately: movementMode === 'SNAP' + if (false) { var insideDestination; } +} +var lift = function lift(marshal) { + return function (_ref) { + var getState = _ref.getState, + dispatch = _ref.dispatch; + return function (next) { + return function (action) { + if (action.type !== 'LIFT') { + next(action); + return; + } + var _action$payload6 = action.payload, + id = _action$payload6.id, + clientSelection = _action$payload6.clientSelection, + movementMode = _action$payload6.movementMode; + var initial = getState(); + if (initial.phase === 'DROP_ANIMATING') { + dispatch(completeDrop({ + completed: initial.completed + })); + } + !(getState().phase === 'IDLE') ? false ? undefined : invariant(false) : void 0; + dispatch(flush()); + dispatch(beforeInitialCapture({ + draggableId: id, + movementMode: movementMode + })); + var scrollOptions = { + shouldPublishImmediately: movementMode === 'SNAP' + }; + var request = { + draggableId: id, + scrollOptions: scrollOptions + }; + var _marshal$startPublish = marshal.startPublishing(request), + critical = _marshal$startPublish.critical, + dimensions = _marshal$startPublish.dimensions, + viewport = _marshal$startPublish.viewport; + validateDimensions(critical, dimensions); + dispatch(initialPublish({ + critical: critical, + dimensions: dimensions, + clientSelection: clientSelection, + movementMode: movementMode, + viewport: viewport + })); + }; }; - const request = { - draggableId: id, - scrollOptions + }; +}; +var style = function style(marshal) { + return function () { + return function (next) { + return function (action) { + if (action.type === 'INITIAL_PUBLISH') { + marshal.dragging(); + } + if (action.type === 'DROP_ANIMATE') { + marshal.dropping(action.payload.completed.result.reason); + } + if (action.type === 'FLUSH' || action.type === 'DROP_COMPLETE') { + marshal.resting(); + } + next(action); + }; }; - const { - critical, - dimensions, - viewport - } = marshal.startPublishing(request); - validateDimensions(critical, dimensions); - dispatch(initialPublish({ - critical, - dimensions, - clientSelection, - movementMode, - viewport - })); }; -}); - -var style = (marshal => () => next => action => { - if (action.type === 'INITIAL_PUBLISH') { - marshal.dragging(); - } - if (action.type === 'DROP_ANIMATE') { - marshal.dropping(action.payload.completed.result.reason); - } - if (action.type === 'FLUSH' || action.type === 'DROP_COMPLETE') { - marshal.resting(); - } - next(action); -}); - -const curves = { +}; +var curves = { outOfTheWay: 'cubic-bezier(0.2, 0, 0, 1)', drop: 'cubic-bezier(.2,1,.1,1)' }; -const combine = { +var combine = { opacity: { drop: 0, combining: 0.7 @@ -135612,105 +135553,94 @@ const combine = { drop: 0.75 } }; -const timings = { +var timings = { outOfTheWay: 0.2, minDropTime: 0.33, maxDropTime: 0.55 }; -const outOfTheWayTiming = `${timings.outOfTheWay}s ${curves.outOfTheWay}`; -const transitions = { - fluid: `opacity ${outOfTheWayTiming}`, - snap: `transform ${outOfTheWayTiming}, opacity ${outOfTheWayTiming}`, - drop: duration => { - const timing = `${duration}s ${curves.drop}`; - return `transform ${timing}, opacity ${timing}`; +var outOfTheWayTiming = "".concat(timings.outOfTheWay, "s ").concat(curves.outOfTheWay); +var transitions = { + fluid: "opacity ".concat(outOfTheWayTiming), + snap: "transform ".concat(outOfTheWayTiming, ", opacity ").concat(outOfTheWayTiming), + drop: function drop(duration) { + var timing = "".concat(duration, "s ").concat(curves.drop); + return "transform ".concat(timing, ", opacity ").concat(timing); }, - outOfTheWay: `transform ${outOfTheWayTiming}`, - placeholder: `height ${outOfTheWayTiming}, width ${outOfTheWayTiming}, margin ${outOfTheWayTiming}` -}; -const moveTo = offset => isEqual$1(offset, origin) ? undefined : `translate(${offset.x}px, ${offset.y}px)`; -const transforms = { - moveTo, - drop: (offset, isCombining) => { - const translate = moveTo(offset); + outOfTheWay: "transform ".concat(outOfTheWayTiming), + placeholder: "height ".concat(outOfTheWayTiming, ", width ").concat(outOfTheWayTiming, ", margin ").concat(outOfTheWayTiming) +}; +var moveTo = function moveTo(offset) { + return isEqual$1(offset, origin) ? undefined : "translate(".concat(offset.x, "px, ").concat(offset.y, "px)"); +}; +var transforms = { + moveTo: moveTo, + drop: function drop(offset, isCombining) { + var translate = moveTo(offset); if (!translate) { return undefined; } if (!isCombining) { return translate; } - return `${translate} scale(${combine.scale.drop})`; + return "".concat(translate, " scale(").concat(combine.scale.drop, ")"); } }; - -const { - minDropTime, - maxDropTime -} = timings; -const dropTimeRange = maxDropTime - minDropTime; -const maxDropTimeAtDistance = 1500; -const cancelDropModifier = 0.6; -var getDropDuration = (_ref => { - let { - current, - destination, - reason - } = _ref; - const distance$1 = distance(current, destination); +var minDropTime = timings.minDropTime, + maxDropTime = timings.maxDropTime; +var dropTimeRange = maxDropTime - minDropTime; +var maxDropTimeAtDistance = 1500; +var cancelDropModifier = 0.6; +var getDropDuration = function getDropDuration(_ref) { + var current = _ref.current, + destination = _ref.destination, + reason = _ref.reason; + var distance$1 = distance(current, destination); if (distance$1 <= 0) { return minDropTime; } if (distance$1 >= maxDropTimeAtDistance) { return maxDropTime; } - const percentage = distance$1 / maxDropTimeAtDistance; - const duration = minDropTime + dropTimeRange * percentage; - const withDuration = reason === 'CANCEL' ? duration * cancelDropModifier : duration; + var percentage = distance$1 / maxDropTimeAtDistance; + var duration = minDropTime + dropTimeRange * percentage; + var withDuration = reason === 'CANCEL' ? duration * cancelDropModifier : duration; return Number(withDuration.toFixed(2)); -}); - -var getNewHomeClientOffset = (_ref => { - let { - impact, - draggable, - dimensions, - viewport, - afterCritical - } = _ref; - const { - draggables, - droppables - } = dimensions; - const droppableId = whatIsDraggedOver(impact); - const destination = droppableId ? droppables[droppableId] : null; - const home = droppables[draggable.descriptor.droppableId]; - const newClientCenter = getClientBorderBoxCenter({ - impact, - draggable, - draggables, - afterCritical, +}; +var getNewHomeClientOffset = function getNewHomeClientOffset(_ref) { + var impact = _ref.impact, + draggable = _ref.draggable, + dimensions = _ref.dimensions, + viewport = _ref.viewport, + afterCritical = _ref.afterCritical; + var draggables = dimensions.draggables, + droppables = dimensions.droppables; + var droppableId = whatIsDraggedOver(impact); + var destination = droppableId ? droppables[droppableId] : null; + var home = droppables[draggable.descriptor.droppableId]; + var newClientCenter = getClientBorderBoxCenter({ + impact: impact, + draggable: draggable, + draggables: draggables, + afterCritical: afterCritical, droppable: destination || home, - viewport + viewport: viewport }); - const offset = subtract(newClientCenter, draggable.client.borderBox.center); + var offset = subtract(newClientCenter, draggable.client.borderBox.center); return offset; -}); - -var getDropImpact = (_ref => { - let { - draggables, - reason, - lastImpact, - home, - viewport, - onLiftImpact - } = _ref; +}; +var getDropImpact = function getDropImpact(_ref) { + var draggables = _ref.draggables, + reason = _ref.reason, + lastImpact = _ref.lastImpact, + home = _ref.home, + viewport = _ref.viewport, + onLiftImpact = _ref.onLiftImpact; if (!lastImpact.at || reason !== 'DROP') { - const recomputedHomeImpact = recompute({ - draggables, + var recomputedHomeImpact = recompute({ + draggables: draggables, impact: onLiftImpact, destination: home, - viewport, + viewport: viewport, forceShouldAnimate: true }); return { @@ -135724,110 +135654,107 @@ var getDropImpact = (_ref => { didDropInsideDroppable: true }; } - const withoutMovement = { - ...lastImpact, + var withoutMovement = _objectSpread(_objectSpread({}, lastImpact), {}, { displaced: emptyGroups - }; + }); return { impact: withoutMovement, didDropInsideDroppable: true }; -}); - -const dropMiddleware = _ref => { - let { - getState, - dispatch - } = _ref; - return next => action => { - if (action.type !== 'DROP') { - next(action); - return; - } - const state = getState(); - const reason = action.payload.reason; - if (state.phase === 'COLLECTING') { - dispatch(dropPending({ - reason - })); - return; - } - if (state.phase === 'IDLE') { - return; - } - const isWaitingForDrop = state.phase === 'DROP_PENDING' && state.isWaiting; - !!isWaitingForDrop ? process.env.NODE_ENV !== "production" ? invariant(false, 'A DROP action occurred while DROP_PENDING and still waiting') : invariant(false) : void 0; - !(state.phase === 'DRAGGING' || state.phase === 'DROP_PENDING') ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot drop in phase: ${state.phase}`) : invariant(false) : void 0; - const critical = state.critical; - const dimensions = state.dimensions; - const draggable = dimensions.draggables[state.critical.draggable.id]; - const { - impact, - didDropInsideDroppable - } = getDropImpact({ - reason, - lastImpact: state.impact, - afterCritical: state.afterCritical, - onLiftImpact: state.onLiftImpact, - home: state.dimensions.droppables[state.critical.droppable.id], - viewport: state.viewport, - draggables: state.dimensions.draggables - }); - const destination = didDropInsideDroppable ? tryGetDestination(impact) : null; - const combine = didDropInsideDroppable ? tryGetCombine(impact) : null; - const source = { - index: critical.draggable.index, - droppableId: critical.droppable.id - }; - const result = { - draggableId: draggable.descriptor.id, - type: draggable.descriptor.type, - source, - reason, - mode: state.movementMode, - destination, - combine - }; - const newHomeClientOffset = getNewHomeClientOffset({ - impact, - draggable, - dimensions, - viewport: state.viewport, - afterCritical: state.afterCritical - }); - const completed = { - critical: state.critical, - afterCritical: state.afterCritical, - result, - impact - }; - const isAnimationRequired = !isEqual$1(state.current.client.offset, newHomeClientOffset) || Boolean(result.combine); - if (!isAnimationRequired) { - dispatch(completeDrop({ - completed - })); - return; - } - const dropDuration = getDropDuration({ - current: state.current.client.offset, - destination: newHomeClientOffset, - reason - }); - const args = { - newHomeClientOffset, - dropDuration, - completed +}; +var dropMiddleware = function dropMiddleware(_ref) { + var getState = _ref.getState, + dispatch = _ref.dispatch; + return function (next) { + return function (action) { + if (action.type !== 'DROP') { + next(action); + return; + } + var state = getState(); + var reason = action.payload.reason; + if (state.phase === 'COLLECTING') { + dispatch(dropPending({ + reason: reason + })); + return; + } + if (state.phase === 'IDLE') { + return; + } + var isWaitingForDrop = state.phase === 'DROP_PENDING' && state.isWaiting; + !!isWaitingForDrop ? false ? undefined : invariant(false) : void 0; + !(state.phase === 'DRAGGING' || state.phase === 'DROP_PENDING') ? false ? undefined : invariant(false) : void 0; + var critical = state.critical; + var dimensions = state.dimensions; + var draggable = dimensions.draggables[state.critical.draggable.id]; + var _getDropImpact = getDropImpact({ + reason: reason, + lastImpact: state.impact, + afterCritical: state.afterCritical, + onLiftImpact: state.onLiftImpact, + home: state.dimensions.droppables[state.critical.droppable.id], + viewport: state.viewport, + draggables: state.dimensions.draggables + }), + impact = _getDropImpact.impact, + didDropInsideDroppable = _getDropImpact.didDropInsideDroppable; + var destination = didDropInsideDroppable ? tryGetDestination(impact) : null; + var combine = didDropInsideDroppable ? tryGetCombine(impact) : null; + var source = { + index: critical.draggable.index, + droppableId: critical.droppable.id + }; + var result = { + draggableId: draggable.descriptor.id, + type: draggable.descriptor.type, + source: source, + reason: reason, + mode: state.movementMode, + destination: destination, + combine: combine + }; + var newHomeClientOffset = getNewHomeClientOffset({ + impact: impact, + draggable: draggable, + dimensions: dimensions, + viewport: state.viewport, + afterCritical: state.afterCritical + }); + var completed = { + critical: state.critical, + afterCritical: state.afterCritical, + result: result, + impact: impact + }; + var isAnimationRequired = !isEqual$1(state.current.client.offset, newHomeClientOffset) || Boolean(result.combine); + if (!isAnimationRequired) { + dispatch(completeDrop({ + completed: completed + })); + return; + } + var dropDuration = getDropDuration({ + current: state.current.client.offset, + destination: newHomeClientOffset, + reason: reason + }); + var args = { + newHomeClientOffset: newHomeClientOffset, + dropDuration: dropDuration, + completed: completed + }; + dispatch(animateDrop(args)); }; - dispatch(animateDrop(args)); }; }; var drop = dropMiddleware; - -var getWindowScroll = (() => ({ - x: window.pageXOffset, - y: window.pageYOffset -})); - +var getWindowScroll = function getWindowScroll() { + return { + x: window.pageXOffset, + y: window.pageYOffset + }; +}; function getWindowScrollBinding(update) { return { eventName: 'scroll', @@ -135835,7 +135762,7 @@ function getWindowScrollBinding(update) { passive: true, capture: false }, - fn: event => { + fn: function fn(event) { if (event.target !== window && event.target !== window.document) { return; } @@ -135844,116 +135771,119 @@ function getWindowScrollBinding(update) { }; } function getScrollListener(_ref) { - let { - onWindowScroll - } = _ref; + var onWindowScroll = _ref.onWindowScroll; function updateScroll() { onWindowScroll(getWindowScroll()); } - const scheduled = rafSchd(updateScroll); - const binding = getWindowScrollBinding(scheduled); - let unbind = noop$2; + var scheduled = Object(raf_schd__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(updateScroll); + var binding = getWindowScrollBinding(scheduled); + var unbind = noop$2; function isActive() { return unbind !== noop$2; } function start() { - !!isActive() ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot start scroll listener when already active') : invariant(false) : void 0; + !!isActive() ? false ? undefined : invariant(false) : void 0; unbind = bindEvents(window, [binding]); } function stop() { - !isActive() ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot stop scroll listener when not active') : invariant(false) : void 0; + !isActive() ? false ? undefined : invariant(false) : void 0; scheduled.cancel(); unbind(); unbind = noop$2; } return { - start, - stop, - isActive + start: start, + stop: stop, + isActive: isActive }; } - -const shouldEnd = action => action.type === 'DROP_COMPLETE' || action.type === 'DROP_ANIMATE' || action.type === 'FLUSH'; -const scrollListener = store => { - const listener = getScrollListener({ - onWindowScroll: newScroll => { +var shouldEnd = function shouldEnd(action) { + return action.type === 'DROP_COMPLETE' || action.type === 'DROP_ANIMATE' || action.type === 'FLUSH'; +}; +var scrollListener = function scrollListener(store) { + var listener = getScrollListener({ + onWindowScroll: function onWindowScroll(newScroll) { store.dispatch(moveByWindowScroll({ - newScroll + newScroll: newScroll })); } }); - return next => action => { - if (!listener.isActive() && action.type === 'INITIAL_PUBLISH') { - listener.start(); - } - if (listener.isActive() && shouldEnd(action)) { - listener.stop(); - } - next(action); + return function (next) { + return function (action) { + if (!listener.isActive() && action.type === 'INITIAL_PUBLISH') { + listener.start(); + } + if (listener.isActive() && shouldEnd(action)) { + listener.stop(); + } + next(action); + }; }; }; var scrollListener$1 = scrollListener; - -var getExpiringAnnounce = (announce => { - let wasCalled = false; - let isExpired = false; - const timeoutId = setTimeout(() => { +var getExpiringAnnounce = function getExpiringAnnounce(announce) { + var wasCalled = false; + var isExpired = false; + var timeoutId = setTimeout(function () { isExpired = true; }); - const result = message => { + var result = function result(message) { if (wasCalled) { - process.env.NODE_ENV !== "production" ? warning('Announcement already made. Not making a second announcement') : void 0; + false ? undefined : void 0; return; } if (isExpired) { - process.env.NODE_ENV !== "production" ? warning(` - Announcements cannot be made asynchronously. - Default message has already been announced. - `) : void 0; + false ? undefined : void 0; return; } wasCalled = true; announce(message); clearTimeout(timeoutId); }; - result.wasCalled = () => wasCalled; + result.wasCalled = function () { + return wasCalled; + }; return result; -}); - -var getAsyncMarshal = (() => { - const entries = []; - const execute = timerId => { - const index = entries.findIndex(item => item.timerId === timerId); - !(index !== -1) ? process.env.NODE_ENV !== "production" ? invariant(false, 'Could not find timer') : invariant(false) : void 0; - const [entry] = entries.splice(index, 1); +}; +var getAsyncMarshal = function getAsyncMarshal() { + var entries = []; + var execute = function execute(timerId) { + var index = entries.findIndex(function (item) { + return item.timerId === timerId; + }); + !(index !== -1) ? false ? undefined : invariant(false) : void 0; + var _entries$splice = entries.splice(index, 1), + _entries$splice2 = _slicedToArray(_entries$splice, 1), + entry = _entries$splice2[0]; entry.callback(); }; - const add = fn => { - const timerId = setTimeout(() => execute(timerId)); - const entry = { - timerId, + var add = function add(fn) { + var timerId = setTimeout(function () { + return execute(timerId); + }); + var entry = { + timerId: timerId, callback: fn }; entries.push(entry); }; - const flush = () => { + var flush = function flush() { if (!entries.length) { return; } - const shallow = [...entries]; + var shallow = [].concat(entries); entries.length = 0; - shallow.forEach(entry => { + shallow.forEach(function (entry) { clearTimeout(entry.timerId); entry.callback(); }); }; return { - add, - flush + add: add, + flush: flush }; -}); - -const areLocationsEqual = (first, second) => { +}; +var areLocationsEqual = function areLocationsEqual(first, second) { if (first == null && second == null) { return true; } @@ -135962,7 +135892,7 @@ const areLocationsEqual = (first, second) => { } return first.droppableId === second.droppableId && first.index === second.index; }; -const isCombineEqual = (first, second) => { +var isCombineEqual = function isCombineEqual(first, second) { if (first == null && second == null) { return true; } @@ -135971,36 +135901,37 @@ const isCombineEqual = (first, second) => { } return first.draggableId === second.draggableId && first.droppableId === second.droppableId; }; -const isCriticalEqual = (first, second) => { +var isCriticalEqual = function isCriticalEqual(first, second) { if (first === second) { return true; } - const isDraggableEqual = first.draggable.id === second.draggable.id && first.draggable.droppableId === second.draggable.droppableId && first.draggable.type === second.draggable.type && first.draggable.index === second.draggable.index; - const isDroppableEqual = first.droppable.id === second.droppable.id && first.droppable.type === second.droppable.type; + var isDraggableEqual = first.draggable.id === second.draggable.id && first.draggable.droppableId === second.draggable.droppableId && first.draggable.type === second.draggable.type && first.draggable.index === second.draggable.index; + var isDroppableEqual = first.droppable.id === second.droppable.id && first.droppable.type === second.droppable.type; return isDraggableEqual && isDroppableEqual; }; - -const withTimings = (key, fn) => { +var withTimings = function withTimings(key, fn) { start(); fn(); finish(); }; -const getDragStart = (critical, mode) => ({ - draggableId: critical.draggable.id, - type: critical.droppable.type, - source: { - droppableId: critical.droppable.id, - index: critical.draggable.index - }, - mode -}); +var getDragStart = function getDragStart(critical, mode) { + return { + draggableId: critical.draggable.id, + type: critical.droppable.type, + source: { + droppableId: critical.droppable.id, + index: critical.draggable.index + }, + mode: mode + }; +}; function execute(responder, data, announce, getDefaultMessage) { if (!responder) { announce(getDefaultMessage(data)); return; } - const willExpire = getExpiringAnnounce(announce); - const provided = { + var willExpire = getExpiringAnnounce(announce); + var provided = { announce: willExpire }; responder(data, provided); @@ -136008,153 +135939,162 @@ function execute(responder, data, announce, getDefaultMessage) { announce(getDefaultMessage(data)); } } -var getPublisher = ((getResponders, announce) => { - const asyncMarshal = getAsyncMarshal(); - let dragging = null; - const beforeCapture = (draggableId, mode) => { - !!dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot fire onBeforeCapture as a drag start has already been published') : invariant(false) : void 0; - withTimings('onBeforeCapture', () => { - const fn = getResponders().onBeforeCapture; +var getPublisher = function getPublisher(getResponders, announce) { + var asyncMarshal = getAsyncMarshal(); + var dragging = null; + var beforeCapture = function beforeCapture(draggableId, mode) { + !!dragging ? false ? undefined : invariant(false) : void 0; + withTimings('onBeforeCapture', function () { + var fn = getResponders().onBeforeCapture; if (fn) { - const before = { - draggableId, - mode + var before = { + draggableId: draggableId, + mode: mode }; fn(before); } }); }; - const beforeStart = (critical, mode) => { - !!dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot fire onBeforeDragStart as a drag start has already been published') : invariant(false) : void 0; - withTimings('onBeforeDragStart', () => { - const fn = getResponders().onBeforeDragStart; + var beforeStart = function beforeStart(critical, mode) { + !!dragging ? false ? undefined : invariant(false) : void 0; + withTimings('onBeforeDragStart', function () { + var fn = getResponders().onBeforeDragStart; if (fn) { fn(getDragStart(critical, mode)); } }); }; - const start = (critical, mode) => { - !!dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot fire onBeforeDragStart as a drag start has already been published') : invariant(false) : void 0; - const data = getDragStart(critical, mode); + var start = function start(critical, mode) { + !!dragging ? false ? undefined : invariant(false) : void 0; + var data = getDragStart(critical, mode); dragging = { - mode, + mode: mode, lastCritical: critical, lastLocation: data.source, lastCombine: null }; - asyncMarshal.add(() => { - withTimings('onDragStart', () => execute(getResponders().onDragStart, data, announce, preset$1.onDragStart)); + asyncMarshal.add(function () { + withTimings('onDragStart', function () { + return execute(getResponders().onDragStart, data, announce, preset$1.onDragStart); + }); }); }; - const update = (critical, impact) => { - const location = tryGetDestination(impact); - const combine = tryGetCombine(impact); - !dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot fire onDragMove when onDragStart has not been called') : invariant(false) : void 0; - const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical); + var update = function update(critical, impact) { + var location = tryGetDestination(impact); + var combine = tryGetCombine(impact); + !dragging ? false ? undefined : invariant(false) : void 0; + var hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical); if (hasCriticalChanged) { dragging.lastCritical = critical; } - const hasLocationChanged = !areLocationsEqual(dragging.lastLocation, location); + var hasLocationChanged = !areLocationsEqual(dragging.lastLocation, location); if (hasLocationChanged) { dragging.lastLocation = location; } - const hasGroupingChanged = !isCombineEqual(dragging.lastCombine, combine); + var hasGroupingChanged = !isCombineEqual(dragging.lastCombine, combine); if (hasGroupingChanged) { dragging.lastCombine = combine; } if (!hasCriticalChanged && !hasLocationChanged && !hasGroupingChanged) { return; } - const data = { - ...getDragStart(critical, dragging.mode), - combine, + var data = _objectSpread(_objectSpread({}, getDragStart(critical, dragging.mode)), {}, { + combine: combine, destination: location - }; - asyncMarshal.add(() => { - withTimings('onDragUpdate', () => execute(getResponders().onDragUpdate, data, announce, preset$1.onDragUpdate)); + }); + asyncMarshal.add(function () { + withTimings('onDragUpdate', function () { + return execute(getResponders().onDragUpdate, data, announce, preset$1.onDragUpdate); + }); }); }; - const flush = () => { - !dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Can only flush responders while dragging') : invariant(false) : void 0; + var flush = function flush() { + !dragging ? false ? undefined : invariant(false) : void 0; asyncMarshal.flush(); }; - const drop = result => { - !dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot fire onDragEnd when there is no matching onDragStart') : invariant(false) : void 0; + var drop = function drop(result) { + !dragging ? false ? undefined : invariant(false) : void 0; dragging = null; - withTimings('onDragEnd', () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd)); + withTimings('onDragEnd', function () { + return execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd); + }); }; - const abort = () => { + var abort = function abort() { if (!dragging) { return; } - const result = { - ...getDragStart(dragging.lastCritical, dragging.mode), + var result = _objectSpread(_objectSpread({}, getDragStart(dragging.lastCritical, dragging.mode)), {}, { combine: null, destination: null, reason: 'CANCEL' - }; + }); drop(result); }; return { - beforeCapture, - beforeStart, - start, - update, - flush, - drop, - abort + beforeCapture: beforeCapture, + beforeStart: beforeStart, + start: start, + update: update, + flush: flush, + drop: drop, + abort: abort + }; +}; +var responders = function responders(getResponders, announce) { + var publisher = getPublisher(getResponders, announce); + return function (store) { + return function (next) { + return function (action) { + if (action.type === 'BEFORE_INITIAL_CAPTURE') { + publisher.beforeCapture(action.payload.draggableId, action.payload.movementMode); + return; + } + if (action.type === 'INITIAL_PUBLISH') { + var critical = action.payload.critical; + publisher.beforeStart(critical, action.payload.movementMode); + next(action); + publisher.start(critical, action.payload.movementMode); + return; + } + if (action.type === 'DROP_COMPLETE') { + var result = action.payload.completed.result; + publisher.flush(); + next(action); + publisher.drop(result); + return; + } + next(action); + if (action.type === 'FLUSH') { + publisher.abort(); + return; + } + var state = store.getState(); + if (state.phase === 'DRAGGING') { + publisher.update(state.critical, state.impact); + } + }; + }; }; -}); - -var responders = ((getResponders, announce) => { - const publisher = getPublisher(getResponders, announce); - return store => next => action => { - if (action.type === 'BEFORE_INITIAL_CAPTURE') { - publisher.beforeCapture(action.payload.draggableId, action.payload.movementMode); - return; - } - if (action.type === 'INITIAL_PUBLISH') { - const critical = action.payload.critical; - publisher.beforeStart(critical, action.payload.movementMode); - next(action); - publisher.start(critical, action.payload.movementMode); - return; - } - if (action.type === 'DROP_COMPLETE') { - const result = action.payload.completed.result; - publisher.flush(); - next(action); - publisher.drop(result); - return; - } - next(action); - if (action.type === 'FLUSH') { - publisher.abort(); - return; - } - const state = store.getState(); - if (state.phase === 'DRAGGING') { - publisher.update(state.critical, state.impact); - } +}; +var dropAnimationFinishMiddleware = function dropAnimationFinishMiddleware(store) { + return function (next) { + return function (action) { + if (action.type !== 'DROP_ANIMATION_FINISHED') { + next(action); + return; + } + var state = store.getState(); + !(state.phase === 'DROP_ANIMATING') ? false ? undefined : invariant(false) : void 0; + store.dispatch(completeDrop({ + completed: state.completed + })); + }; }; -}); - -const dropAnimationFinishMiddleware = store => next => action => { - if (action.type !== 'DROP_ANIMATION_FINISHED') { - next(action); - return; - } - const state = store.getState(); - !(state.phase === 'DROP_ANIMATING') ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot finish a drop animating when no drop is occurring') : invariant(false) : void 0; - store.dispatch(completeDrop({ - completed: state.completed - })); }; var dropAnimationFinish = dropAnimationFinishMiddleware; - -const dropAnimationFlushOnScrollMiddleware = store => { - let unbind = null; - let frameId = null; +var dropAnimationFlushOnScrollMiddleware = function dropAnimationFlushOnScrollMiddleware(store) { + var unbind = null; + var frameId = null; function clear() { if (frameId) { cancelAnimationFrame(frameId); @@ -136165,159 +136105,176 @@ const dropAnimationFlushOnScrollMiddleware = store => { unbind = null; } } - return next => action => { - if (action.type === 'FLUSH' || action.type === 'DROP_COMPLETE' || action.type === 'DROP_ANIMATION_FINISHED') { - clear(); - } - next(action); - if (action.type !== 'DROP_ANIMATE') { - return; - } - const binding = { - eventName: 'scroll', - options: { - capture: true, - passive: false, - once: true - }, - fn: function flushDropAnimation() { - const state = store.getState(); - if (state.phase === 'DROP_ANIMATING') { - store.dispatch(dropAnimationFinished()); - } + return function (next) { + return function (action) { + if (action.type === 'FLUSH' || action.type === 'DROP_COMPLETE' || action.type === 'DROP_ANIMATION_FINISHED') { + clear(); + } + next(action); + if (action.type !== 'DROP_ANIMATE') { + return; } + var binding = { + eventName: 'scroll', + options: { + capture: true, + passive: false, + once: true + }, + fn: function flushDropAnimation() { + var state = store.getState(); + if (state.phase === 'DROP_ANIMATING') { + store.dispatch(dropAnimationFinished()); + } + } + }; + frameId = requestAnimationFrame(function () { + frameId = null; + unbind = bindEvents(window, [binding]); + }); }; - frameId = requestAnimationFrame(() => { - frameId = null; - unbind = bindEvents(window, [binding]); - }); }; }; var dropAnimationFlushOnScroll = dropAnimationFlushOnScrollMiddleware; - -var dimensionMarshalStopper = (marshal => () => next => action => { - if (action.type === 'DROP_COMPLETE' || action.type === 'FLUSH' || action.type === 'DROP_ANIMATE') { - marshal.stopPublishing(); - } - next(action); -}); - -var focus = (marshal => { - let isWatching = false; - return () => next => action => { - if (action.type === 'INITIAL_PUBLISH') { - isWatching = true; - marshal.tryRecordFocus(action.payload.critical.draggable.id); +var dimensionMarshalStopper = function dimensionMarshalStopper(marshal) { + return function () { + return function (next) { + return function (action) { + if (action.type === 'DROP_COMPLETE' || action.type === 'FLUSH' || action.type === 'DROP_ANIMATE') { + marshal.stopPublishing(); + } + next(action); + }; + }; + }; +}; +var focus = function focus(marshal) { + var isWatching = false; + return function () { + return function (next) { + return function (action) { + if (action.type === 'INITIAL_PUBLISH') { + isWatching = true; + marshal.tryRecordFocus(action.payload.critical.draggable.id); + next(action); + marshal.tryRestoreFocusRecorded(); + return; + } + next(action); + if (!isWatching) { + return; + } + if (action.type === 'FLUSH') { + isWatching = false; + marshal.tryRestoreFocusRecorded(); + return; + } + if (action.type === 'DROP_COMPLETE') { + isWatching = false; + var result = action.payload.completed.result; + if (result.combine) { + marshal.tryShiftRecord(result.draggableId, result.combine.draggableId); + } + marshal.tryRestoreFocusRecorded(); + } + }; + }; + }; +}; +var shouldStop = function shouldStop(action) { + return action.type === 'DROP_COMPLETE' || action.type === 'DROP_ANIMATE' || action.type === 'FLUSH'; +}; +var autoScroll = function autoScroll(autoScroller) { + return function (store) { + return function (next) { + return function (action) { + if (shouldStop(action)) { + autoScroller.stop(); + next(action); + return; + } + if (action.type === 'INITIAL_PUBLISH') { + next(action); + var state = store.getState(); + !(state.phase === 'DRAGGING') ? false ? undefined : invariant(false) : void 0; + autoScroller.start(state); + return; + } + next(action); + autoScroller.scroll(store.getState()); + }; + }; + }; +}; +var pendingDrop = function pendingDrop(store) { + return function (next) { + return function (action) { next(action); - marshal.tryRestoreFocusRecorded(); - return; - } - next(action); - if (!isWatching) { - return; - } - if (action.type === 'FLUSH') { - isWatching = false; - marshal.tryRestoreFocusRecorded(); - return; - } - if (action.type === 'DROP_COMPLETE') { - isWatching = false; - const result = action.payload.completed.result; - if (result.combine) { - marshal.tryShiftRecord(result.draggableId, result.combine.draggableId); + if (action.type !== 'PUBLISH_WHILE_DRAGGING') { + return; } - marshal.tryRestoreFocusRecorded(); - } + var postActionState = store.getState(); + if (postActionState.phase !== 'DROP_PENDING') { + return; + } + if (postActionState.isWaiting) { + return; + } + store.dispatch(drop$1({ + reason: postActionState.reason + })); + }; }; -}); - -const shouldStop = action => action.type === 'DROP_COMPLETE' || action.type === 'DROP_ANIMATE' || action.type === 'FLUSH'; -var autoScroll = (autoScroller => store => next => action => { - if (shouldStop(action)) { - autoScroller.stop(); - next(action); - return; - } - if (action.type === 'INITIAL_PUBLISH') { - next(action); - const state = store.getState(); - !(state.phase === 'DRAGGING') ? process.env.NODE_ENV !== "production" ? invariant(false, 'Expected phase to be DRAGGING after INITIAL_PUBLISH') : invariant(false) : void 0; - autoScroller.start(state); - return; - } - next(action); - autoScroller.scroll(store.getState()); -}); - -const pendingDrop = store => next => action => { - next(action); - if (action.type !== 'PUBLISH_WHILE_DRAGGING') { - return; - } - const postActionState = store.getState(); - if (postActionState.phase !== 'DROP_PENDING') { - return; - } - if (postActionState.isWaiting) { - return; - } - store.dispatch(drop$1({ - reason: postActionState.reason - })); }; var pendingDrop$1 = pendingDrop; - -const composeEnhancers = process.env.NODE_ENV !== 'production' && typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ - name: '@hello-pangea/dnd' -}) : compose; -var createStore = (_ref => { - let { - dimensionMarshal, - focusMarshal, - styleMarshal, - getResponders, - announce, - autoScroller - } = _ref; - return createStore$1(reducer, composeEnhancers(applyMiddleware(style(styleMarshal), dimensionMarshalStopper(dimensionMarshal), lift(dimensionMarshal), drop, dropAnimationFinish, dropAnimationFlushOnScroll, pendingDrop$1, autoScroll(autoScroller), scrollListener$1, focus(focusMarshal), responders(getResponders, announce)))); -}); - -const clean$1 = () => ({ - additions: {}, - removals: {}, - modified: {} -}); +var composeEnhancers = false ? undefined : redux__WEBPACK_IMPORTED_MODULE_2__[/* compose */ "c"]; +var createStore = function createStore(_ref) { + var dimensionMarshal = _ref.dimensionMarshal, + focusMarshal = _ref.focusMarshal, + styleMarshal = _ref.styleMarshal, + getResponders = _ref.getResponders, + announce = _ref.announce, + autoScroller = _ref.autoScroller; + return Object(redux__WEBPACK_IMPORTED_MODULE_2__[/* createStore */ "d"])(reducer, composeEnhancers(Object(redux__WEBPACK_IMPORTED_MODULE_2__[/* applyMiddleware */ "a"])(style(styleMarshal), dimensionMarshalStopper(dimensionMarshal), lift(dimensionMarshal), drop, dropAnimationFinish, dropAnimationFlushOnScroll, pendingDrop$1, autoScroll(autoScroller), scrollListener$1, focus(focusMarshal), responders(getResponders, announce)))); +}; +var clean$1 = function clean$1() { + return { + additions: {}, + removals: {}, + modified: {} + }; +}; function createPublisher(_ref) { - let { - registry, - callbacks - } = _ref; - let staging = clean$1(); - let frameId = null; - const collect = () => { + var registry = _ref.registry, + callbacks = _ref.callbacks; + var staging = clean$1(); + var frameId = null; + var collect = function collect() { if (frameId) { return; } callbacks.collectionStarting(); - frameId = requestAnimationFrame(() => { + frameId = requestAnimationFrame(function () { frameId = null; start(); - const { - additions, - removals, - modified - } = staging; - const added = Object.keys(additions).map(id => registry.draggable.getById(id).getDimension(origin)).sort((a, b) => a.descriptor.index - b.descriptor.index); - const updated = Object.keys(modified).map(id => { - const entry = registry.droppable.getById(id); - const scroll = entry.callbacks.getScrollWhileDragging(); + var _staging = staging, + additions = _staging.additions, + removals = _staging.removals, + modified = _staging.modified; + var added = Object.keys(additions).map(function (id) { + return registry.draggable.getById(id).getDimension(origin); + }).sort(function (a, b) { + return a.descriptor.index - b.descriptor.index; + }); + var updated = Object.keys(modified).map(function (id) { + var entry = registry.droppable.getById(id); + var scroll = entry.callbacks.getScrollWhileDragging(); return { droppableId: id, - scroll + scroll: scroll }; }); - const result = { + var result = { additions: added, removals: Object.keys(removals), modified: updated @@ -136327,8 +136284,8 @@ function createPublisher(_ref) { callbacks.publish(result); }); }; - const add = entry => { - const id = entry.descriptor.id; + var add = function add(entry) { + var id = entry.descriptor.id; staging.additions[id] = entry; staging.modified[entry.descriptor.droppableId] = true; if (staging.removals[id]) { @@ -136336,8 +136293,8 @@ function createPublisher(_ref) { } collect(); }; - const remove = entry => { - const descriptor = entry.descriptor; + var remove = function remove(entry) { + var descriptor = entry.descriptor; staging.removals[descriptor.id] = true; staging.modified[descriptor.droppableId] = true; if (staging.additions[descriptor.id]) { @@ -136345,7 +136302,7 @@ function createPublisher(_ref) { } collect(); }; - const stop = () => { + var stop = function stop() { if (!frameId) { return; } @@ -136354,68 +136311,62 @@ function createPublisher(_ref) { staging = clean$1(); }; return { - add, - remove, - stop + add: add, + remove: remove, + stop: stop }; } - -var getMaxScroll = (_ref => { - let { - scrollHeight, - scrollWidth, - height, - width - } = _ref; - const maxScroll = subtract({ +var getMaxScroll = function getMaxScroll(_ref) { + var scrollHeight = _ref.scrollHeight, + scrollWidth = _ref.scrollWidth, + height = _ref.height, + width = _ref.width; + var maxScroll = subtract({ x: scrollWidth, y: scrollHeight }, { x: width, y: height }); - const adjustedMaxScroll = { + var adjustedMaxScroll = { x: Math.max(0, maxScroll.x), y: Math.max(0, maxScroll.y) }; return adjustedMaxScroll; -}); - -var getDocumentElement = (() => { - const doc = document.documentElement; - !doc ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot find document.documentElement') : invariant(false) : void 0; +}; +var getDocumentElement = function getDocumentElement() { + var doc = document.documentElement; + !doc ? false ? undefined : invariant(false) : void 0; return doc; -}); - -var getMaxWindowScroll = (() => { - const doc = getDocumentElement(); - const maxScroll = getMaxScroll({ +}; +var getMaxWindowScroll = function getMaxWindowScroll() { + var doc = getDocumentElement(); + var maxScroll = getMaxScroll({ scrollHeight: doc.scrollHeight, scrollWidth: doc.scrollWidth, width: doc.clientWidth, height: doc.clientHeight }); return maxScroll; -}); - -var getViewport = (() => { - const scroll = getWindowScroll(); - const maxScroll = getMaxWindowScroll(); - const top = scroll.y; - const left = scroll.x; - const doc = getDocumentElement(); - const width = doc.clientWidth; - const height = doc.clientHeight; - const right = left + width; - const bottom = top + height; - const frame = getRect({ - top, - left, - right, - bottom +}; +var getViewport = function getViewport() { + var scroll = getWindowScroll(); + var maxScroll = getMaxWindowScroll(); + var top = scroll.y; + var left = scroll.x; + var doc = getDocumentElement(); + var width = doc.clientWidth; + var height = doc.clientHeight; + var right = left + width; + var bottom = top + height; + var frame = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getRect */ "e"])({ + top: top, + left: left, + right: right, + bottom: bottom }); - const viewport = { - frame, + var viewport = { + frame: frame, scroll: { initial: scroll, current: scroll, @@ -136427,33 +136378,33 @@ var getViewport = (() => { } }; return viewport; -}); - -var getInitialPublish = (_ref => { - let { - critical, - scrollOptions, - registry - } = _ref; +}; +var getInitialPublish = function getInitialPublish(_ref) { + var critical = _ref.critical, + scrollOptions = _ref.scrollOptions, + registry = _ref.registry; start(); - const viewport = getViewport(); - const windowScroll = viewport.scroll.current; - const home = critical.droppable; - const droppables = registry.droppable.getAllByType(home.type).map(entry => entry.callbacks.getDimensionAndWatchScroll(windowScroll, scrollOptions)); - const draggables = registry.draggable.getAllByType(critical.draggable.type).map(entry => entry.getDimension(windowScroll)); - const dimensions = { + var viewport = getViewport(); + var windowScroll = viewport.scroll.current; + var home = critical.droppable; + var droppables = registry.droppable.getAllByType(home.type).map(function (entry) { + return entry.callbacks.getDimensionAndWatchScroll(windowScroll, scrollOptions); + }); + var draggables = registry.draggable.getAllByType(critical.draggable.type).map(function (entry) { + return entry.getDimension(windowScroll); + }); + var dimensions = { draggables: toDraggableMap(draggables), droppables: toDroppableMap(droppables) }; finish(); - const result = { - dimensions, - critical, - viewport + var result = { + dimensions: dimensions, + critical: critical, + viewport: viewport }; return result; -}); - +}; function shouldPublishUpdate(registry, dragging, entry) { if (entry.descriptor.id === dragging.id) { return false; @@ -136461,76 +136412,73 @@ function shouldPublishUpdate(registry, dragging, entry) { if (entry.descriptor.type !== dragging.type) { return false; } - const home = registry.droppable.getById(entry.descriptor.droppableId); + var home = registry.droppable.getById(entry.descriptor.droppableId); if (home.descriptor.mode !== 'virtual') { - process.env.NODE_ENV !== "production" ? warning(` - You are attempting to add or remove a Draggable [id: ${entry.descriptor.id}] - while a drag is occurring. This is only supported for virtual lists. - - See https://github.com/hello-pangea/dnd/blob/main/docs/patterns/virtual-lists.md - `) : void 0; + false ? undefined : void 0; return false; } return true; } -var createDimensionMarshal = ((registry, callbacks) => { - let collection = null; - const publisher = createPublisher({ +var createDimensionMarshal = function createDimensionMarshal(registry, callbacks) { + var collection = null; + var publisher = createPublisher({ callbacks: { publish: callbacks.publishWhileDragging, collectionStarting: callbacks.collectionStarting }, - registry + registry: registry }); - const updateDroppableIsEnabled = (id, isEnabled) => { - !registry.droppable.exists(id) ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot update is enabled flag of Droppable ${id} as it is not registered`) : invariant(false) : void 0; + var updateDroppableIsEnabled = function updateDroppableIsEnabled(id, isEnabled) { + !registry.droppable.exists(id) ? false ? undefined : invariant(false) : void 0; if (!collection) { return; } callbacks.updateDroppableIsEnabled({ - id, - isEnabled + id: id, + isEnabled: isEnabled }); }; - const updateDroppableIsCombineEnabled = (id, isCombineEnabled) => { + var updateDroppableIsCombineEnabled = function updateDroppableIsCombineEnabled(id, isCombineEnabled) { if (!collection) { return; } - !registry.droppable.exists(id) ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot update isCombineEnabled flag of Droppable ${id} as it is not registered`) : invariant(false) : void 0; + !registry.droppable.exists(id) ? false ? undefined : invariant(false) : void 0; callbacks.updateDroppableIsCombineEnabled({ - id, - isCombineEnabled + id: id, + isCombineEnabled: isCombineEnabled }); }; - const updateDroppableScroll = (id, newScroll) => { + var updateDroppableScroll = function updateDroppableScroll(id, newScroll) { if (!collection) { return; } - !registry.droppable.exists(id) ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot update the scroll on Droppable ${id} as it is not registered`) : invariant(false) : void 0; + !registry.droppable.exists(id) ? false ? undefined : invariant(false) : void 0; callbacks.updateDroppableScroll({ - id, - newScroll + id: id, + newScroll: newScroll }); }; - const scrollDroppable = (id, change) => { + var scrollDroppable = function scrollDroppable(id, change) { if (!collection) { return; } registry.droppable.getById(id).callbacks.scroll(change); }; - const stopPublishing = () => { + var stopPublishing = function stopPublishing() { if (!collection) { return; } publisher.stop(); - const home = collection.critical.droppable; - registry.droppable.getAllByType(home.type).forEach(entry => entry.callbacks.dragStopped()); + var home = collection.critical.droppable; + registry.droppable.getAllByType(home.type).forEach(function (entry) { + return entry.callbacks.dragStopped(); + }); collection.unsubscribe(); collection = null; }; - const subscriber = event => { - !collection ? process.env.NODE_ENV !== "production" ? invariant(false, 'Should only be subscribed when a collection is occurring') : invariant(false) : void 0; - const dragging = collection.critical.draggable; + var subscriber = function subscriber(event) { + !collection ? false ? undefined : invariant(false) : void 0; + var dragging = collection.critical.draggable; if (event.type === 'ADDITION') { if (shouldPublishUpdate(registry, dragging, event.value)) { publisher.add(event.value); @@ -136542,37 +136490,36 @@ var createDimensionMarshal = ((registry, callbacks) => { } } }; - const startPublishing = request => { - !!collection ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot start capturing critical dimensions as there is already a collection') : invariant(false) : void 0; - const entry = registry.draggable.getById(request.draggableId); - const home = registry.droppable.getById(entry.descriptor.droppableId); - const critical = { + var startPublishing = function startPublishing(request) { + !!collection ? false ? undefined : invariant(false) : void 0; + var entry = registry.draggable.getById(request.draggableId); + var home = registry.droppable.getById(entry.descriptor.droppableId); + var critical = { draggable: entry.descriptor, droppable: home.descriptor }; - const unsubscribe = registry.subscribe(subscriber); + var unsubscribe = registry.subscribe(subscriber); collection = { - critical, - unsubscribe + critical: critical, + unsubscribe: unsubscribe }; return getInitialPublish({ - critical, - registry, + critical: critical, + registry: registry, scrollOptions: request.scrollOptions }); }; - const marshal = { - updateDroppableIsEnabled, - updateDroppableIsCombineEnabled, - scrollDroppable, - updateDroppableScroll, - startPublishing, - stopPublishing + var marshal = { + updateDroppableIsEnabled: updateDroppableIsEnabled, + updateDroppableIsCombineEnabled: updateDroppableIsCombineEnabled, + scrollDroppable: scrollDroppable, + updateDroppableScroll: updateDroppableScroll, + startPublishing: startPublishing, + stopPublishing: stopPublishing }; return marshal; -}); - -var canStartDrag = ((state, id) => { +}; +var canStartDrag = function canStartDrag(state, id) { if (state.phase === 'IDLE') { return true; } @@ -136583,98 +136530,91 @@ var canStartDrag = ((state, id) => { return false; } return state.completed.result.reason === 'DROP'; -}); - -var scrollWindow = (change => { +}; +var scrollWindow = function scrollWindow(change) { window.scrollBy(change.x, change.y); +}; +var getScrollableDroppables = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (droppables) { + return toDroppableList(droppables).filter(function (droppable) { + if (!droppable.isEnabled) { + return false; + } + if (!droppable.frame) { + return false; + } + return true; + }); }); - -const getScrollableDroppables = memoizeOne(droppables => toDroppableList(droppables).filter(droppable => { - if (!droppable.isEnabled) { - return false; - } - if (!droppable.frame) { - return false; - } - return true; -})); -const getScrollableDroppableOver = (target, droppables) => { - const maybe = getScrollableDroppables(droppables).find(droppable => { - !droppable.frame ? process.env.NODE_ENV !== "production" ? invariant(false, 'Invalid result') : invariant(false) : void 0; +var getScrollableDroppableOver = function getScrollableDroppableOver(target, droppables) { + var maybe = getScrollableDroppables(droppables).find(function (droppable) { + !droppable.frame ? false ? undefined : invariant(false) : void 0; return isPositionInFrame(droppable.frame.pageMarginBox)(target); }) || null; return maybe; }; -var getBestScrollableDroppable = (_ref => { - let { - center, - destination, - droppables - } = _ref; +var getBestScrollableDroppable = function getBestScrollableDroppable(_ref) { + var center = _ref.center, + destination = _ref.destination, + droppables = _ref.droppables; if (destination) { - const dimension = droppables[destination]; - if (!dimension.frame) { + var _dimension = droppables[destination]; + if (!_dimension.frame) { return null; } - return dimension; + return _dimension; } - const dimension = getScrollableDroppableOver(center, droppables); + var dimension = getScrollableDroppableOver(center, droppables); return dimension; -}); - -const defaultAutoScrollerOptions = { +}; +var defaultAutoScrollerOptions = { startFromPercentage: 0.25, maxScrollAtPercentage: 0.05, maxPixelScroll: 28, - ease: percentage => percentage ** 2, + ease: function ease(percentage) { + return Math.pow(percentage, 2); + }, durationDampening: { stopDampeningAt: 1200, accelerateAt: 360 }, disabled: false }; - -var getDistanceThresholds = (function (container, axis, getAutoScrollerOptions) { +var getDistanceThresholds = function getDistanceThresholds(container, axis, getAutoScrollerOptions) { if (getAutoScrollerOptions === void 0) { - getAutoScrollerOptions = () => defaultAutoScrollerOptions; + getAutoScrollerOptions = function getAutoScrollerOptions() { + return defaultAutoScrollerOptions; + }; } - const autoScrollerOptions = getAutoScrollerOptions(); - const startScrollingFrom = container[axis.size] * autoScrollerOptions.startFromPercentage; - const maxScrollValueAt = container[axis.size] * autoScrollerOptions.maxScrollAtPercentage; - const thresholds = { - startScrollingFrom, - maxScrollValueAt + var autoScrollerOptions = getAutoScrollerOptions(); + var startScrollingFrom = container[axis.size] * autoScrollerOptions.startFromPercentage; + var maxScrollValueAt = container[axis.size] * autoScrollerOptions.maxScrollAtPercentage; + var thresholds = { + startScrollingFrom: startScrollingFrom, + maxScrollValueAt: maxScrollValueAt }; return thresholds; -}); - -var getPercentage = (_ref => { - let { - startOfRange, - endOfRange, - current - } = _ref; - const range = endOfRange - startOfRange; +}; +var getPercentage = function getPercentage(_ref) { + var startOfRange = _ref.startOfRange, + endOfRange = _ref.endOfRange, + current = _ref.current; + var range = endOfRange - startOfRange; if (range === 0) { - process.env.NODE_ENV !== "production" ? warning(` - Detected distance range of 0 in the fluid auto scroller - This is unexpected and would cause a divide by 0 issue. - Not allowing an auto scroll - `) : void 0; + false ? undefined : void 0; return 0; } - const currentInRange = current - startOfRange; - const percentage = currentInRange / range; + var currentInRange = current - startOfRange; + var percentage = currentInRange / range; return percentage; -}); - +}; var minScroll = 1; - -var getValueFromDistance = (function (distanceToEdge, thresholds, getAutoScrollerOptions) { +var getValueFromDistance = function getValueFromDistance(distanceToEdge, thresholds, getAutoScrollerOptions) { if (getAutoScrollerOptions === void 0) { - getAutoScrollerOptions = () => defaultAutoScrollerOptions; + getAutoScrollerOptions = function getAutoScrollerOptions() { + return defaultAutoScrollerOptions; + }; } - const autoScrollerOptions = getAutoScrollerOptions(); + var autoScrollerOptions = getAutoScrollerOptions(); if (distanceToEdge > thresholds.startScrollingFrom) { return 0; } @@ -136684,48 +136624,44 @@ var getValueFromDistance = (function (distanceToEdge, thresholds, getAutoScrolle if (distanceToEdge === thresholds.startScrollingFrom) { return minScroll; } - const percentageFromMaxScrollValueAt = getPercentage({ + var percentageFromMaxScrollValueAt = getPercentage({ startOfRange: thresholds.maxScrollValueAt, endOfRange: thresholds.startScrollingFrom, current: distanceToEdge }); - const percentageFromStartScrollingFrom = 1 - percentageFromMaxScrollValueAt; - const scroll = autoScrollerOptions.maxPixelScroll * autoScrollerOptions.ease(percentageFromStartScrollingFrom); + var percentageFromStartScrollingFrom = 1 - percentageFromMaxScrollValueAt; + var scroll = autoScrollerOptions.maxPixelScroll * autoScrollerOptions.ease(percentageFromStartScrollingFrom); return Math.ceil(scroll); -}); - -var dampenValueByTime = ((proposedScroll, dragStartTime, getAutoScrollerOptions) => { - const autoScrollerOptions = getAutoScrollerOptions(); - const accelerateAt = autoScrollerOptions.durationDampening.accelerateAt; - const stopAt = autoScrollerOptions.durationDampening.stopDampeningAt; - const startOfRange = dragStartTime; - const endOfRange = stopAt; - const now = Date.now(); - const runTime = now - startOfRange; +}; +var dampenValueByTime = function dampenValueByTime(proposedScroll, dragStartTime, getAutoScrollerOptions) { + var autoScrollerOptions = getAutoScrollerOptions(); + var accelerateAt = autoScrollerOptions.durationDampening.accelerateAt; + var stopAt = autoScrollerOptions.durationDampening.stopDampeningAt; + var startOfRange = dragStartTime; + var endOfRange = stopAt; + var now = Date.now(); + var runTime = now - startOfRange; if (runTime >= stopAt) { return proposedScroll; } if (runTime < accelerateAt) { return minScroll; } - const betweenAccelerateAtAndStopAtPercentage = getPercentage({ + var betweenAccelerateAtAndStopAtPercentage = getPercentage({ startOfRange: accelerateAt, - endOfRange, + endOfRange: endOfRange, current: runTime }); - const scroll = proposedScroll * autoScrollerOptions.ease(betweenAccelerateAtAndStopAtPercentage); + var scroll = proposedScroll * autoScrollerOptions.ease(betweenAccelerateAtAndStopAtPercentage); return Math.ceil(scroll); -}); - -var getValue = (_ref => { - let { - distanceToEdge, - thresholds, - dragStartTime, - shouldUseTimeDampening, - getAutoScrollerOptions - } = _ref; - const scroll = getValueFromDistance(distanceToEdge, thresholds, getAutoScrollerOptions); +}; +var getValue = function getValue(_ref) { + var distanceToEdge = _ref.distanceToEdge, + thresholds = _ref.thresholds, + dragStartTime = _ref.dragStartTime, + shouldUseTimeDampening = _ref.shouldUseTimeDampening, + getAutoScrollerOptions = _ref.getAutoScrollerOptions; + var scroll = getValueFromDistance(distanceToEdge, thresholds, getAutoScrollerOptions); if (scroll === 0) { return 0; } @@ -136733,45 +136669,39 @@ var getValue = (_ref => { return scroll; } return Math.max(dampenValueByTime(scroll, dragStartTime, getAutoScrollerOptions), minScroll); -}); - -var getScrollOnAxis = (_ref => { - let { - container, - distanceToEdges, - dragStartTime, - axis, - shouldUseTimeDampening, - getAutoScrollerOptions - } = _ref; - const thresholds = getDistanceThresholds(container, axis, getAutoScrollerOptions); - const isCloserToEnd = distanceToEdges[axis.end] < distanceToEdges[axis.start]; +}; +var getScrollOnAxis = function getScrollOnAxis(_ref) { + var container = _ref.container, + distanceToEdges = _ref.distanceToEdges, + dragStartTime = _ref.dragStartTime, + axis = _ref.axis, + shouldUseTimeDampening = _ref.shouldUseTimeDampening, + getAutoScrollerOptions = _ref.getAutoScrollerOptions; + var thresholds = getDistanceThresholds(container, axis, getAutoScrollerOptions); + var isCloserToEnd = distanceToEdges[axis.end] < distanceToEdges[axis.start]; if (isCloserToEnd) { return getValue({ distanceToEdge: distanceToEdges[axis.end], - thresholds, - dragStartTime, - shouldUseTimeDampening, - getAutoScrollerOptions + thresholds: thresholds, + dragStartTime: dragStartTime, + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions }); } return -1 * getValue({ distanceToEdge: distanceToEdges[axis.start], - thresholds, - dragStartTime, - shouldUseTimeDampening, - getAutoScrollerOptions + thresholds: thresholds, + dragStartTime: dragStartTime, + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions }); -}); - -var adjustForSizeLimits = (_ref => { - let { - container, - subject, - proposedScroll - } = _ref; - const isTooBigVertically = subject.height > container.height; - const isTooBigHorizontally = subject.width > container.width; +}; +var adjustForSizeLimits = function adjustForSizeLimits(_ref) { + var container = _ref.container, + subject = _ref.subject, + proposedScroll = _ref.proposedScroll; + var isTooBigVertically = subject.height > container.height; + var isTooBigHorizontally = subject.width > container.width; if (!isTooBigHorizontally && !isTooBigVertically) { return proposedScroll; } @@ -136782,66 +136712,64 @@ var adjustForSizeLimits = (_ref => { x: isTooBigHorizontally ? 0 : proposedScroll.x, y: isTooBigVertically ? 0 : proposedScroll.y }; +}; +var clean = apply(function (value) { + return value === 0 ? 0 : value; }); - -const clean = apply(value => value === 0 ? 0 : value); -var getScroll$1 = (_ref => { - let { - dragStartTime, - container, - subject, - center, - shouldUseTimeDampening, - getAutoScrollerOptions - } = _ref; - const distanceToEdges = { +var getScroll$1 = function getScroll$1(_ref) { + var dragStartTime = _ref.dragStartTime, + container = _ref.container, + subject = _ref.subject, + center = _ref.center, + shouldUseTimeDampening = _ref.shouldUseTimeDampening, + getAutoScrollerOptions = _ref.getAutoScrollerOptions; + var distanceToEdges = { top: center.y - container.top, right: container.right - center.x, bottom: container.bottom - center.y, left: center.x - container.left }; - const y = getScrollOnAxis({ - container, - distanceToEdges, - dragStartTime, + var y = getScrollOnAxis({ + container: container, + distanceToEdges: distanceToEdges, + dragStartTime: dragStartTime, axis: vertical, - shouldUseTimeDampening, - getAutoScrollerOptions + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions }); - const x = getScrollOnAxis({ - container, - distanceToEdges, - dragStartTime, + var x = getScrollOnAxis({ + container: container, + distanceToEdges: distanceToEdges, + dragStartTime: dragStartTime, axis: horizontal, - shouldUseTimeDampening, - getAutoScrollerOptions + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions }); - const required = clean({ - x, - y + var required = clean({ + x: x, + y: y }); if (isEqual$1(required, origin)) { return null; } - const limited = adjustForSizeLimits({ - container, - subject, + var limited = adjustForSizeLimits({ + container: container, + subject: subject, proposedScroll: required }); if (!limited) { return null; } return isEqual$1(limited, origin) ? null : limited; -}); - -const smallestSigned = apply(value => { +}; +var smallestSigned = apply(function (value) { if (value === 0) { return 0; } return value > 0 ? 1 : -1; }); -const getOverlap = (() => { - const getRemainder = (target, max) => { +var getOverlap = function () { + var getRemainder = function getRemainder(target, max) { if (target < 0) { return target; } @@ -136850,14 +136778,12 @@ const getOverlap = (() => { } return 0; }; - return _ref => { - let { - current, - max, - change - } = _ref; - const targetScroll = add(current, change); - const overlap = { + return function (_ref) { + var current = _ref.current, + max = _ref.max, + change = _ref.change; + var targetScroll = add(current, change); + var overlap = { x: getRemainder(targetScroll.x, max.x), y: getRemainder(targetScroll.y, max.y) }; @@ -136866,21 +136792,19 @@ const getOverlap = (() => { } return overlap; }; -})(); -const canPartiallyScroll = _ref2 => { - let { - max: rawMax, - current, - change - } = _ref2; - const max = { +}(); +var canPartiallyScroll = function canPartiallyScroll(_ref2) { + var rawMax = _ref2.max, + current = _ref2.current, + change = _ref2.change; + var max = { x: Math.max(current.x, rawMax.x), y: Math.max(current.y, rawMax.y) }; - const smallestChange = smallestSigned(change); - const overlap = getOverlap({ - max, - current, + var smallestChange = smallestSigned(change); + var overlap = getOverlap({ + max: max, + current: current, change: smallestChange }); if (!overlap) { @@ -136894,36 +136818,38 @@ const canPartiallyScroll = _ref2 => { } return false; }; -const canScrollWindow = (viewport, change) => canPartiallyScroll({ - current: viewport.scroll.current, - max: viewport.scroll.max, - change -}); -const getWindowOverlap = (viewport, change) => { +var canScrollWindow = function canScrollWindow(viewport, change) { + return canPartiallyScroll({ + current: viewport.scroll.current, + max: viewport.scroll.max, + change: change + }); +}; +var getWindowOverlap = function getWindowOverlap(viewport, change) { if (!canScrollWindow(viewport, change)) { return null; } - const max = viewport.scroll.max; - const current = viewport.scroll.current; + var max = viewport.scroll.max; + var current = viewport.scroll.current; return getOverlap({ - current, - max, - change + current: current, + max: max, + change: change }); }; -const canScrollDroppable = (droppable, change) => { - const frame = droppable.frame; +var canScrollDroppable = function canScrollDroppable(droppable, change) { + var frame = droppable.frame; if (!frame) { return false; } return canPartiallyScroll({ current: frame.scroll.current, max: frame.scroll.max, - change + change: change }); }; -const getDroppableOverlap = (droppable, change) => { - const frame = droppable.frame; +var getDroppableOverlap = function getDroppableOverlap(droppable, change) { + var frame = droppable.frame; if (!frame) { return null; } @@ -136933,144 +136859,134 @@ const getDroppableOverlap = (droppable, change) => { return getOverlap({ current: frame.scroll.current, max: frame.scroll.max, - change + change: change }); }; - -var getWindowScrollChange = (_ref => { - let { - viewport, - subject, - center, - dragStartTime, - shouldUseTimeDampening, - getAutoScrollerOptions - } = _ref; - const scroll = getScroll$1({ - dragStartTime, +var getWindowScrollChange = function getWindowScrollChange(_ref) { + var viewport = _ref.viewport, + subject = _ref.subject, + center = _ref.center, + dragStartTime = _ref.dragStartTime, + shouldUseTimeDampening = _ref.shouldUseTimeDampening, + getAutoScrollerOptions = _ref.getAutoScrollerOptions; + var scroll = getScroll$1({ + dragStartTime: dragStartTime, container: viewport.frame, - subject, - center, - shouldUseTimeDampening, - getAutoScrollerOptions + subject: subject, + center: center, + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions }); return scroll && canScrollWindow(viewport, scroll) ? scroll : null; -}); - -var getDroppableScrollChange = (_ref => { - let { - droppable, - subject, - center, - dragStartTime, - shouldUseTimeDampening, - getAutoScrollerOptions - } = _ref; - const frame = droppable.frame; +}; +var getDroppableScrollChange = function getDroppableScrollChange(_ref) { + var droppable = _ref.droppable, + subject = _ref.subject, + center = _ref.center, + dragStartTime = _ref.dragStartTime, + shouldUseTimeDampening = _ref.shouldUseTimeDampening, + getAutoScrollerOptions = _ref.getAutoScrollerOptions; + var frame = droppable.frame; if (!frame) { return null; } - const scroll = getScroll$1({ - dragStartTime, + var scroll = getScroll$1({ + dragStartTime: dragStartTime, container: frame.pageMarginBox, - subject, - center, - shouldUseTimeDampening, - getAutoScrollerOptions + subject: subject, + center: center, + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions }); return scroll && canScrollDroppable(droppable, scroll) ? scroll : null; -}); - -var scroll = (_ref => { - let { - state, - dragStartTime, - shouldUseTimeDampening, - scrollWindow, - scrollDroppable, - getAutoScrollerOptions - } = _ref; - const center = state.current.page.borderBoxCenter; - const draggable = state.dimensions.draggables[state.critical.draggable.id]; - const subject = draggable.page.marginBox; +}; +var scroll = function scroll(_ref) { + var state = _ref.state, + dragStartTime = _ref.dragStartTime, + shouldUseTimeDampening = _ref.shouldUseTimeDampening, + scrollWindow = _ref.scrollWindow, + scrollDroppable = _ref.scrollDroppable, + getAutoScrollerOptions = _ref.getAutoScrollerOptions; + var center = state.current.page.borderBoxCenter; + var draggable = state.dimensions.draggables[state.critical.draggable.id]; + var subject = draggable.page.marginBox; if (state.isWindowScrollAllowed) { - const viewport = state.viewport; - const change = getWindowScrollChange({ - dragStartTime, - viewport, - subject, - center, - shouldUseTimeDampening, - getAutoScrollerOptions - }); - if (change) { - scrollWindow(change); + var viewport = state.viewport; + var _change = getWindowScrollChange({ + dragStartTime: dragStartTime, + viewport: viewport, + subject: subject, + center: center, + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions + }); + if (_change) { + scrollWindow(_change); return; } } - const droppable = getBestScrollableDroppable({ - center, + var droppable = getBestScrollableDroppable({ + center: center, destination: whatIsDraggedOver(state.impact), droppables: state.dimensions.droppables }); if (!droppable) { return; } - const change = getDroppableScrollChange({ - dragStartTime, - droppable, - subject, - center, - shouldUseTimeDampening, - getAutoScrollerOptions + var change = getDroppableScrollChange({ + dragStartTime: dragStartTime, + droppable: droppable, + subject: subject, + center: center, + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions }); if (change) { scrollDroppable(droppable.descriptor.id, change); } -}); - -var createFluidScroller = (_ref => { - let { - scrollWindow, - scrollDroppable, - getAutoScrollerOptions = () => defaultAutoScrollerOptions - } = _ref; - const scheduleWindowScroll = rafSchd(scrollWindow); - const scheduleDroppableScroll = rafSchd(scrollDroppable); - let dragging = null; - const tryScroll = state => { - !dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot fluid scroll if not dragging') : invariant(false) : void 0; - const { - shouldUseTimeDampening, - dragStartTime - } = dragging; +}; +var createFluidScroller = function createFluidScroller(_ref) { + var scrollWindow = _ref.scrollWindow, + scrollDroppable = _ref.scrollDroppable, + _ref$getAutoScrollerO = _ref.getAutoScrollerOptions, + getAutoScrollerOptions = _ref$getAutoScrollerO === void 0 ? function () { + return defaultAutoScrollerOptions; + } : _ref$getAutoScrollerO; + var scheduleWindowScroll = Object(raf_schd__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(scrollWindow); + var scheduleDroppableScroll = Object(raf_schd__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(scrollDroppable); + var dragging = null; + var tryScroll = function tryScroll(state) { + !dragging ? false ? undefined : invariant(false) : void 0; + var _dragging = dragging, + shouldUseTimeDampening = _dragging.shouldUseTimeDampening, + dragStartTime = _dragging.dragStartTime; scroll({ - state, + state: state, scrollWindow: scheduleWindowScroll, scrollDroppable: scheduleDroppableScroll, - dragStartTime, - shouldUseTimeDampening, - getAutoScrollerOptions + dragStartTime: dragStartTime, + shouldUseTimeDampening: shouldUseTimeDampening, + getAutoScrollerOptions: getAutoScrollerOptions }); }; - const start$1 = state => { + var start$1 = function start$1(state) { start(); - !!dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot start auto scrolling when already started') : invariant(false) : void 0; - const dragStartTime = Date.now(); - let wasScrollNeeded = false; - const fakeScrollCallback = () => { + !!dragging ? false ? undefined : invariant(false) : void 0; + var dragStartTime = Date.now(); + var wasScrollNeeded = false; + var fakeScrollCallback = function fakeScrollCallback() { wasScrollNeeded = true; }; scroll({ - state, + state: state, dragStartTime: 0, shouldUseTimeDampening: false, scrollWindow: fakeScrollCallback, scrollDroppable: fakeScrollCallback, - getAutoScrollerOptions + getAutoScrollerOptions: getAutoScrollerOptions }); dragging = { - dragStartTime, + dragStartTime: dragStartTime, shouldUseTimeDampening: wasScrollNeeded }; finish(); @@ -137078,7 +136994,7 @@ var createFluidScroller = (_ref => { tryScroll(state); } }; - const stop = () => { + var stop = function stop() { if (!dragging) { return; } @@ -137088,94 +137004,88 @@ var createFluidScroller = (_ref => { }; return { start: start$1, - stop, + stop: stop, scroll: tryScroll }; -}); - -var createJumpScroller = (_ref => { - let { - move, - scrollDroppable, - scrollWindow - } = _ref; - const moveByOffset = (state, offset) => { - const client = add(state.current.client.selection, offset); +}; +var createJumpScroller = function createJumpScroller(_ref) { + var move = _ref.move, + scrollDroppable = _ref.scrollDroppable, + scrollWindow = _ref.scrollWindow; + var moveByOffset = function moveByOffset(state, offset) { + var client = add(state.current.client.selection, offset); move({ - client + client: client }); }; - const scrollDroppableAsMuchAsItCan = (droppable, change) => { + var scrollDroppableAsMuchAsItCan = function scrollDroppableAsMuchAsItCan(droppable, change) { if (!canScrollDroppable(droppable, change)) { return change; } - const overlap = getDroppableOverlap(droppable, change); + var overlap = getDroppableOverlap(droppable, change); if (!overlap) { scrollDroppable(droppable.descriptor.id, change); return null; } - const whatTheDroppableCanScroll = subtract(change, overlap); + var whatTheDroppableCanScroll = subtract(change, overlap); scrollDroppable(droppable.descriptor.id, whatTheDroppableCanScroll); - const remainder = subtract(change, whatTheDroppableCanScroll); + var remainder = subtract(change, whatTheDroppableCanScroll); return remainder; }; - const scrollWindowAsMuchAsItCan = (isWindowScrollAllowed, viewport, change) => { + var scrollWindowAsMuchAsItCan = function scrollWindowAsMuchAsItCan(isWindowScrollAllowed, viewport, change) { if (!isWindowScrollAllowed) { return change; } if (!canScrollWindow(viewport, change)) { return change; } - const overlap = getWindowOverlap(viewport, change); + var overlap = getWindowOverlap(viewport, change); if (!overlap) { scrollWindow(change); return null; } - const whatTheWindowCanScroll = subtract(change, overlap); + var whatTheWindowCanScroll = subtract(change, overlap); scrollWindow(whatTheWindowCanScroll); - const remainder = subtract(change, whatTheWindowCanScroll); + var remainder = subtract(change, whatTheWindowCanScroll); return remainder; }; - const jumpScroller = state => { - const request = state.scrollJumpRequest; + var jumpScroller = function jumpScroller(state) { + var request = state.scrollJumpRequest; if (!request) { return; } - const destination = whatIsDraggedOver(state.impact); - !destination ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot perform a jump scroll when there is no destination') : invariant(false) : void 0; - const droppableRemainder = scrollDroppableAsMuchAsItCan(state.dimensions.droppables[destination], request); + var destination = whatIsDraggedOver(state.impact); + !destination ? false ? undefined : invariant(false) : void 0; + var droppableRemainder = scrollDroppableAsMuchAsItCan(state.dimensions.droppables[destination], request); if (!droppableRemainder) { return; } - const viewport = state.viewport; - const windowRemainder = scrollWindowAsMuchAsItCan(state.isWindowScrollAllowed, viewport, droppableRemainder); + var viewport = state.viewport; + var windowRemainder = scrollWindowAsMuchAsItCan(state.isWindowScrollAllowed, viewport, droppableRemainder); if (!windowRemainder) { return; } moveByOffset(state, windowRemainder); }; return jumpScroller; -}); - -var createAutoScroller = (_ref => { - let { - scrollDroppable, - scrollWindow, - move, - getAutoScrollerOptions - } = _ref; - const fluidScroller = createFluidScroller({ - scrollWindow, - scrollDroppable, - getAutoScrollerOptions +}; +var createAutoScroller = function createAutoScroller(_ref) { + var scrollDroppable = _ref.scrollDroppable, + scrollWindow = _ref.scrollWindow, + move = _ref.move, + getAutoScrollerOptions = _ref.getAutoScrollerOptions; + var fluidScroller = createFluidScroller({ + scrollWindow: scrollWindow, + scrollDroppable: scrollDroppable, + getAutoScrollerOptions: getAutoScrollerOptions }); - const jumpScroll = createJumpScroller({ - move, - scrollWindow, - scrollDroppable + var jumpScroll = createJumpScroller({ + move: move, + scrollWindow: scrollWindow, + scrollDroppable: scrollDroppable }); - const scroll = state => { - const autoScrollerOptions = getAutoScrollerOptions(); + var scroll = function scroll(state) { + var autoScrollerOptions = getAutoScrollerOptions(); if (autoScrollerOptions.disabled || state.phase !== 'DRAGGING') { return; } @@ -137188,77 +137098,72 @@ var createAutoScroller = (_ref => { } jumpScroll(state); }; - const scroller = { - scroll, + var scroller = { + scroll: scroll, start: fluidScroller.start, stop: fluidScroller.stop }; return scroller; -}); - -const prefix = 'data-rfd'; -const dragHandle = (() => { - const base = `${prefix}-drag-handle`; +}; +var prefix = 'data-rfd'; +var dragHandle = function () { + var base = "".concat(prefix, "-drag-handle"); return { - base, - draggableId: `${base}-draggable-id`, - contextId: `${base}-context-id` + base: base, + draggableId: "".concat(base, "-draggable-id"), + contextId: "".concat(base, "-context-id") }; -})(); -const draggable = (() => { - const base = `${prefix}-draggable`; +}(); +var draggable = function () { + var base = "".concat(prefix, "-draggable"); return { - base, - contextId: `${base}-context-id`, - id: `${base}-id` + base: base, + contextId: "".concat(base, "-context-id"), + id: "".concat(base, "-id") }; -})(); -const droppable = (() => { - const base = `${prefix}-droppable`; +}(); +var droppable = function () { + var base = "".concat(prefix, "-droppable"); return { - base, - contextId: `${base}-context-id`, - id: `${base}-id` + base: base, + contextId: "".concat(base, "-context-id"), + id: "".concat(base, "-id") }; -})(); -const scrollContainer = { - contextId: `${prefix}-scroll-container-context-id` +}(); +var scrollContainer = { + contextId: "".concat(prefix, "-scroll-container-context-id") }; - -const makeGetSelector = context => attribute => `[${attribute}="${context}"]`; -const getStyles = (rules, property) => rules.map(rule => { - const value = rule.styles[property]; - if (!value) { - return ''; - } - return `${rule.selector} { ${value} }`; -}).join(' '); -const noPointerEvents = 'pointer-events: none;'; -var getStyles$1 = (contextId => { - const getSelector = makeGetSelector(contextId); - const dragHandle$1 = (() => { - const grabCursor = ` - cursor: -webkit-grab; - cursor: grab; - `; +var makeGetSelector = function makeGetSelector(context) { + return function (attribute) { + return "[".concat(attribute, "=\"").concat(context, "\"]"); + }; +}; +var getStyles = function getStyles(rules, property) { + return rules.map(function (rule) { + var value = rule.styles[property]; + if (!value) { + return ''; + } + return "".concat(rule.selector, " { ").concat(value, " }"); + }).join(' '); +}; +var noPointerEvents = 'pointer-events: none;'; +var getStyles$1 = function getStyles$1(contextId) { + var getSelector = makeGetSelector(contextId); + var dragHandle$1 = function () { + var grabCursor = "\n cursor: -webkit-grab;\n cursor: grab;\n "; return { selector: getSelector(dragHandle.contextId), styles: { - always: ` - -webkit-touch-callout: none; - -webkit-tap-highlight-color: rgba(0,0,0,0); - touch-action: manipulation; - `, + always: "\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ", resting: grabCursor, dragging: noPointerEvents, dropAnimating: grabCursor } }; - })(); - const draggable$1 = (() => { - const transition = ` - transition: ${transitions.outOfTheWay}; - `; + }(); + var draggable$1 = function () { + var transition = "\n transition: ".concat(transitions.outOfTheWay, ";\n "); return { selector: getSelector(draggable.contextId), styles: { @@ -137267,28 +137172,20 @@ var getStyles$1 = (contextId => { userCancel: transition } }; - })(); - const droppable$1 = { + }(); + var droppable$1 = { selector: getSelector(droppable.contextId), styles: { - always: `overflow-anchor: none;` + always: "overflow-anchor: none;" } }; - const body = { + var body = { selector: 'body', styles: { - dragging: ` - cursor: grabbing; - cursor: -webkit-grabbing; - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - overflow-anchor: none; - ` - } - }; - const rules = [draggable$1, dragHandle$1, droppable$1, body]; + dragging: "\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n " + } + }; + var rules = [draggable$1, dragHandle$1, droppable$1, body]; return { always: getStyles(rules, 'always'), resting: getStyles(rules, 'resting'), @@ -137296,18 +137193,16 @@ var getStyles$1 = (contextId => { dropAnimating: getStyles(rules, 'dropAnimating'), userCancel: getStyles(rules, 'userCancel') }; -}); - -const useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? useLayoutEffect$1 : useEffect; +}; +var useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"] : react__WEBPACK_IMPORTED_MODULE_0__["useEffect"]; var useLayoutEffect = useIsomorphicLayoutEffect; - -const getHead = () => { - const head = document.querySelector('head'); - !head ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot find the head to append a style to') : invariant(false) : void 0; +var getHead = function getHead() { + var head = document.querySelector('head'); + !head ? false ? undefined : invariant(false) : void 0; return head; }; -const createStyleEl = nonce => { - const el = document.createElement('style'); +var createStyleEl = function createStyleEl(nonce) { + var el = document.createElement('style'); if (nonce) { el.setAttribute('nonce', nonce); } @@ -137315,35 +137210,37 @@ const createStyleEl = nonce => { return el; }; function useStyleMarshal(contextId, nonce) { - const styles = useMemo(() => getStyles$1(contextId), [contextId]); - const alwaysRef = useRef(null); - const dynamicRef = useRef(null); - const setDynamicStyle = useCallback(memoizeOne(proposed => { - const el = dynamicRef.current; - !el ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot set dynamic style element if it is not set') : invariant(false) : void 0; + var styles = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return getStyles$1(contextId); + }, [contextId]); + var alwaysRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var dynamicRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var setDynamicStyle = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (proposed) { + var el = dynamicRef.current; + !el ? false ? undefined : invariant(false) : void 0; el.textContent = proposed; }), []); - const setAlwaysStyle = useCallback(proposed => { - const el = alwaysRef.current; - !el ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot set dynamic style element if it is not set') : invariant(false) : void 0; + var setAlwaysStyle = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (proposed) { + var el = alwaysRef.current; + !el ? false ? undefined : invariant(false) : void 0; el.textContent = proposed; }, []); - useLayoutEffect(() => { - !(!alwaysRef.current && !dynamicRef.current) ? process.env.NODE_ENV !== "production" ? invariant(false, 'style elements already mounted') : invariant(false) : void 0; - const always = createStyleEl(nonce); - const dynamic = createStyleEl(nonce); + useLayoutEffect(function () { + !(!alwaysRef.current && !dynamicRef.current) ? false ? undefined : invariant(false) : void 0; + var always = createStyleEl(nonce); + var dynamic = createStyleEl(nonce); alwaysRef.current = always; dynamicRef.current = dynamic; - always.setAttribute(`${prefix}-always`, contextId); - dynamic.setAttribute(`${prefix}-dynamic`, contextId); + always.setAttribute("".concat(prefix, "-always"), contextId); + dynamic.setAttribute("".concat(prefix, "-dynamic"), contextId); getHead().appendChild(always); getHead().appendChild(dynamic); setAlwaysStyle(styles.always); setDynamicStyle(styles.resting); - return () => { - const remove = ref => { - const current = ref.current; - !current ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot unmount ref as it is not set') : invariant(false) : void 0; + return function () { + var remove = function remove(ref) { + var current = ref.current; + !current ? false ? undefined : invariant(false) : void 0; getHead().removeChild(current); ref.current = null; }; @@ -137351,107 +137248,109 @@ function useStyleMarshal(contextId, nonce) { remove(dynamicRef); }; }, [nonce, setAlwaysStyle, setDynamicStyle, styles.always, styles.resting, contextId]); - const dragging = useCallback(() => setDynamicStyle(styles.dragging), [setDynamicStyle, styles.dragging]); - const dropping = useCallback(reason => { + var dragging = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + return setDynamicStyle(styles.dragging); + }, [setDynamicStyle, styles.dragging]); + var dropping = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (reason) { if (reason === 'DROP') { setDynamicStyle(styles.dropAnimating); return; } setDynamicStyle(styles.userCancel); }, [setDynamicStyle, styles.dropAnimating, styles.userCancel]); - const resting = useCallback(() => { + var resting = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { if (!dynamicRef.current) { return; } setDynamicStyle(styles.resting); }, [setDynamicStyle, styles.resting]); - const marshal = useMemo(() => ({ - dragging, - dropping, - resting - }), [dragging, dropping, resting]); + var marshal = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + dragging: dragging, + dropping: dropping, + resting: resting + }; + }, [dragging, dropping, resting]); return marshal; } - function querySelectorAll(parentNode, selector) { return Array.from(parentNode.querySelectorAll(selector)); } - -var getWindowFromEl = (el => el?.ownerDocument?.defaultView || window); - +var getWindowFromEl = function getWindowFromEl(el) { + var _el$ownerDocument; + return (el === null || el === void 0 || (_el$ownerDocument = el.ownerDocument) === null || _el$ownerDocument === void 0 ? void 0 : _el$ownerDocument.defaultView) || window; +}; function isHtmlElement(el) { return el instanceof getWindowFromEl(el).HTMLElement; } - function findDragHandle(contextId, draggableId) { - const selector = `[${dragHandle.contextId}="${contextId}"]`; - const possible = querySelectorAll(document, selector); + var selector = "[".concat(dragHandle.contextId, "=\"").concat(contextId, "\"]"); + var possible = querySelectorAll(document, selector); if (!possible.length) { - process.env.NODE_ENV !== "production" ? warning(`Unable to find any drag handles in the context "${contextId}"`) : void 0; + false ? undefined : void 0; return null; } - const handle = possible.find(el => { + var handle = possible.find(function (el) { return el.getAttribute(dragHandle.draggableId) === draggableId; }); if (!handle) { - process.env.NODE_ENV !== "production" ? warning(`Unable to find drag handle with id "${draggableId}" as no handle with a matching id was found`) : void 0; + false ? undefined : void 0; return null; } if (!isHtmlElement(handle)) { - process.env.NODE_ENV !== "production" ? warning('drag handle needs to be a HTMLElement') : void 0; + false ? undefined : void 0; return null; } return handle; } - function useFocusMarshal(contextId) { - const entriesRef = useRef({}); - const recordRef = useRef(null); - const restoreFocusFrameRef = useRef(null); - const isMountedRef = useRef(false); - const register = useCallback(function register(id, focus) { - const entry = { - id, - focus + var entriesRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])({}); + var recordRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var restoreFocusFrameRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var isMountedRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(false); + var register = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function register(id, focus) { + var entry = { + id: id, + focus: focus }; entriesRef.current[id] = entry; return function unregister() { - const entries = entriesRef.current; - const current = entries[id]; + var entries = entriesRef.current; + var current = entries[id]; if (current !== entry) { delete entries[id]; } }; }, []); - const tryGiveFocus = useCallback(function tryGiveFocus(tryGiveFocusTo) { - const handle = findDragHandle(contextId, tryGiveFocusTo); + var tryGiveFocus = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function tryGiveFocus(tryGiveFocusTo) { + var handle = findDragHandle(contextId, tryGiveFocusTo); if (handle && handle !== document.activeElement) { handle.focus(); } }, [contextId]); - const tryShiftRecord = useCallback(function tryShiftRecord(previous, redirectTo) { + var tryShiftRecord = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function tryShiftRecord(previous, redirectTo) { if (recordRef.current === previous) { recordRef.current = redirectTo; } }, []); - const tryRestoreFocusRecorded = useCallback(function tryRestoreFocusRecorded() { + var tryRestoreFocusRecorded = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function tryRestoreFocusRecorded() { if (restoreFocusFrameRef.current) { return; } if (!isMountedRef.current) { return; } - restoreFocusFrameRef.current = requestAnimationFrame(() => { + restoreFocusFrameRef.current = requestAnimationFrame(function () { restoreFocusFrameRef.current = null; - const record = recordRef.current; + var record = recordRef.current; if (record) { tryGiveFocus(record); } }); }, [tryGiveFocus]); - const tryRecordFocus = useCallback(function tryRecordFocus(id) { + var tryRecordFocus = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function tryRecordFocus(id) { recordRef.current = null; - const focused = document.activeElement; + var focused = document.activeElement; if (!focused) { return; } @@ -137460,35 +137359,36 @@ function useFocusMarshal(contextId) { } recordRef.current = id; }, []); - useLayoutEffect(() => { + useLayoutEffect(function () { isMountedRef.current = true; return function clearFrameOnUnmount() { isMountedRef.current = false; - const frameId = restoreFocusFrameRef.current; + var frameId = restoreFocusFrameRef.current; if (frameId) { cancelAnimationFrame(frameId); } }; }, []); - const marshal = useMemo(() => ({ - register, - tryRecordFocus, - tryRestoreFocusRecorded, - tryShiftRecord - }), [register, tryRecordFocus, tryRestoreFocusRecorded, tryShiftRecord]); + var marshal = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + register: register, + tryRecordFocus: tryRecordFocus, + tryRestoreFocusRecorded: tryRestoreFocusRecorded, + tryShiftRecord: tryShiftRecord + }; + }, [register, tryRecordFocus, tryRestoreFocusRecorded, tryShiftRecord]); return marshal; } - function createRegistry() { - const entries = { + var entries = { draggables: {}, droppables: {} }; - const subscribers = []; + var subscribers = []; function subscribe(cb) { subscribers.push(cb); return function unsubscribe() { - const index = subscribers.indexOf(cb); + var index = subscribers.indexOf(cb); if (index === -1) { return; } @@ -137497,27 +137397,29 @@ function createRegistry() { } function notify(event) { if (subscribers.length) { - subscribers.forEach(cb => cb(event)); + subscribers.forEach(function (cb) { + return cb(event); + }); } } function findDraggableById(id) { return entries.draggables[id] || null; } function getDraggableById(id) { - const entry = findDraggableById(id); - !entry ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot find draggable entry with id [${id}]`) : invariant(false) : void 0; + var entry = findDraggableById(id); + !entry ? false ? undefined : invariant(false) : void 0; return entry; } - const draggableAPI = { - register: entry => { + var draggableAPI = { + register: function register(entry) { entries.draggables[entry.descriptor.id] = entry; notify({ type: 'ADDITION', value: entry }); }, - update: (entry, last) => { - const current = entries.draggables[last.descriptor.id]; + update: function update(entry, last) { + var current = entries.draggables[last.descriptor.id]; if (!current) { return; } @@ -137527,9 +137429,9 @@ function createRegistry() { delete entries.draggables[last.descriptor.id]; entries.draggables[entry.descriptor.id] = entry; }, - unregister: entry => { - const draggableId = entry.descriptor.id; - const current = findDraggableById(draggableId); + unregister: function unregister(entry) { + var draggableId = entry.descriptor.id; + var current = findDraggableById(draggableId); if (!current) { return; } @@ -137546,23 +137448,29 @@ function createRegistry() { }, getById: getDraggableById, findById: findDraggableById, - exists: id => Boolean(findDraggableById(id)), - getAllByType: type => Object.values(entries.draggables).filter(entry => entry.descriptor.type === type) + exists: function exists(id) { + return Boolean(findDraggableById(id)); + }, + getAllByType: function getAllByType(type) { + return Object.values(entries.draggables).filter(function (entry) { + return entry.descriptor.type === type; + }); + } }; function findDroppableById(id) { return entries.droppables[id] || null; } function getDroppableById(id) { - const entry = findDroppableById(id); - !entry ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot find droppable entry with id [${id}]`) : invariant(false) : void 0; + var entry = findDroppableById(id); + !entry ? false ? undefined : invariant(false) : void 0; return entry; } - const droppableAPI = { - register: entry => { + var droppableAPI = { + register: function register(entry) { entries.droppables[entry.descriptor.id] = entry; }, - unregister: entry => { - const current = findDroppableById(entry.descriptor.id); + unregister: function unregister(entry) { + var current = findDroppableById(entry.descriptor.id); if (!current) { return; } @@ -137573,8 +137481,14 @@ function createRegistry() { }, getById: getDroppableById, findById: findDroppableById, - exists: id => Boolean(findDroppableById(id)), - getAllByType: type => Object.values(entries.droppables).filter(entry => entry.descriptor.type === type) + exists: function exists(id) { + return Boolean(findDroppableById(id)); + }, + getAllByType: function getAllByType(type) { + return Object.values(entries.droppables).filter(function (entry) { + return entry.descriptor.type === type; + }); + } }; function clean() { entries.draggables = {}; @@ -137584,16 +137498,15 @@ function createRegistry() { return { draggable: draggableAPI, droppable: droppableAPI, - subscribe, - clean + subscribe: subscribe, + clean: clean }; } - function useRegistry() { - const registry = useMemo(createRegistry, []); - useEffect(() => { + var registry = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(createRegistry, []); + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () { return function unmount() { - if (React.version.startsWith('16') || React.version.startsWith('17')) { + if (react__WEBPACK_IMPORTED_MODULE_0___default.a.version.startsWith('16') || react__WEBPACK_IMPORTED_MODULE_0___default.a.version.startsWith('17')) { requestAnimationFrame(registry.clean); } else { registry.clean(); @@ -137602,16 +137515,13 @@ function useRegistry() { }, [registry]); return registry; } - -var StoreContext = React.createContext(null); - -var getBodyElement = (() => { - const body = document.body; - !body ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot find document.body') : invariant(false) : void 0; +var StoreContext = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext(null); +var getBodyElement = function getBodyElement() { + var body = document.body; + !body ? false ? undefined : invariant(false) : void 0; return body; -}); - -const visuallyHidden = { +}; +var visuallyHidden = { position: 'absolute', width: '1px', height: '1px', @@ -137623,22 +137533,25 @@ const visuallyHidden = { 'clip-path': 'inset(100%)' }; var visuallyHidden$1 = visuallyHidden; - -const getId = contextId => `rfd-announcement-${contextId}`; +var getId = function getId(contextId) { + return "rfd-announcement-".concat(contextId); +}; function useAnnouncer(contextId) { - const id = useMemo(() => getId(contextId), [contextId]); - const ref = useRef(null); - useEffect(function setup() { - const el = document.createElement('div'); + var id = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return getId(contextId); + }, [contextId]); + var ref = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function setup() { + var el = document.createElement('div'); ref.current = el; el.id = id; el.setAttribute('aria-live', 'assertive'); el.setAttribute('aria-atomic', 'true'); - _extends(el.style, visuallyHidden$1); + Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"])(el.style, visuallyHidden$1); getBodyElement().appendChild(el); return function cleanup() { setTimeout(function remove() { - const body = getBodyElement(); + var body = getBodyElement(); if (body.contains(el)) { body.removeChild(el); } @@ -137648,28 +137561,18 @@ function useAnnouncer(contextId) { }); }; }, [id]); - const announce = useCallback(message => { - const el = ref.current; + var announce = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (message) { + var el = ref.current; if (el) { el.textContent = message; return; } - process.env.NODE_ENV !== "production" ? warning(` - A screen reader message was trying to be announced but it was unable to do so. - This can occur if you unmount your in your onDragEnd. - Consider calling provided.announce() before the unmount so that the instruction will - not be lost for users relying on a screen reader. - - Message not passed to screen reader: - - "${message}" - `) : void 0; + false ? undefined : void 0; }, []); return announce; } - -let count$1 = 0; -const defaults = { +var count$1 = 0; +var defaults = { separator: '::' }; function resetDeprecatedUniqueId() { @@ -137679,44 +137582,45 @@ function useDeprecatedUniqueId(prefix, options) { if (options === void 0) { options = defaults; } - return useMemo(() => `${prefix}${options.separator}${count$1++}`, [options.separator, prefix]); + return Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return "".concat(prefix).concat(options.separator).concat(count$1++); + }, [options.separator, prefix]); } function useUniqueId(prefix, options) { if (options === void 0) { options = defaults; } - const id = React.useId(); - return useMemo(() => `${prefix}${options.separator}${id}`, [options.separator, prefix, id]); + var id = react__WEBPACK_IMPORTED_MODULE_0___default.a.useId(); + return Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return "".concat(prefix).concat(options.separator).concat(id); + }, [options.separator, prefix, id]); } -var useUniqueId$1 = 'useId' in React ? useUniqueId : useDeprecatedUniqueId; - +var useUniqueId$1 = 'useId' in react__WEBPACK_IMPORTED_MODULE_0___default.a ? useUniqueId : useDeprecatedUniqueId; function getElementId(_ref) { - let { - contextId, - uniqueId - } = _ref; - return `rfd-hidden-text-${contextId}-${uniqueId}`; + var contextId = _ref.contextId, + uniqueId = _ref.uniqueId; + return "rfd-hidden-text-".concat(contextId, "-").concat(uniqueId); } function useHiddenTextElement(_ref2) { - let { - contextId, - text - } = _ref2; - const uniqueId = useUniqueId$1('hidden-text', { + var contextId = _ref2.contextId, + text = _ref2.text; + var uniqueId = useUniqueId$1('hidden-text', { separator: '-' }); - const id = useMemo(() => getElementId({ - contextId, - uniqueId - }), [uniqueId, contextId]); - useEffect(function mount() { - const el = document.createElement('div'); + var id = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return getElementId({ + contextId: contextId, + uniqueId: uniqueId + }); + }, [uniqueId, contextId]); + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function mount() { + var el = document.createElement('div'); el.id = id; el.textContent = text; el.style.display = 'none'; getBodyElement().appendChild(el); return function unmount() { - const body = getBodyElement(); + var body = getBodyElement(); if (body.contains(el)) { body.removeChild(el); } @@ -137724,29 +137628,26 @@ function useHiddenTextElement(_ref2) { }, [id, text]); return id; } - -var AppContext = React.createContext(null); - +var AppContext = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext(null); var peerDependencies = { - react: "^16.8.5 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0" -}; - -const semver = /(\d+)\.(\d+)\.(\d+)/; -const getVersion = value => { - const result = semver.exec(value); - !(result != null) ? process.env.NODE_ENV !== "production" ? invariant(false, `Unable to parse React version ${value}`) : invariant(false) : void 0; - const major = Number(result[1]); - const minor = Number(result[2]); - const patch = Number(result[3]); + react: "^16.8.5 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0" +}; +var semver = /(\d+)\.(\d+)\.(\d+)/; +var getVersion = function getVersion(value) { + var result = semver.exec(value); + !(result != null) ? false ? undefined : invariant(false) : void 0; + var major = Number(result[1]); + var minor = Number(result[2]); + var patch = Number(result[3]); return { - major, - minor, - patch, + major: major, + minor: minor, + patch: patch, raw: value }; }; -const isSatisfied = (expected, actual) => { +var isSatisfied = function isSatisfied(expected, actual) { if (actual.major > expected.major) { return true; } @@ -137761,92 +137662,57 @@ const isSatisfied = (expected, actual) => { } return actual.patch >= expected.patch; }; -var checkReactVersion = ((peerDepValue, actualValue) => { - const peerDep = getVersion(peerDepValue); - const actual = getVersion(actualValue); +var checkReactVersion = function checkReactVersion(peerDepValue, actualValue) { + var peerDep = getVersion(peerDepValue); + var actual = getVersion(actualValue); if (isSatisfied(peerDep, actual)) { return; } - process.env.NODE_ENV !== "production" ? warning(` - React version: [${actual.raw}] - does not satisfy expected peer dependency version: [${peerDep.raw}] - - This can result in run time bugs, and even fatal crashes - `) : void 0; -}); - -const suffix = ` - We expect a html5 doctype: - This is to ensure consistent browser layout and measurement - - More information: https://github.com/hello-pangea/dnd/blob/main/docs/guides/doctype.md -`; -var checkDoctype = (doc => { - const doctype = doc.doctype; + false ? undefined : void 0; +}; +var suffix = "\n We expect a html5 doctype: \n This is to ensure consistent browser layout and measurement\n\n More information: https://github.com/hello-pangea/dnd/blob/main/docs/guides/doctype.md\n"; +var checkDoctype = function checkDoctype(doc) { + var doctype = doc.doctype; if (!doctype) { - process.env.NODE_ENV !== "production" ? warning(` - No found. - - ${suffix} - `) : void 0; + false ? undefined : void 0; return; } if (doctype.name.toLowerCase() !== 'html') { - process.env.NODE_ENV !== "production" ? warning(` - Unexpected found: (${doctype.name}) - - ${suffix} - `) : void 0; + false ? undefined : void 0; } if (doctype.publicId !== '') { - process.env.NODE_ENV !== "production" ? warning(` - Unexpected publicId found: (${doctype.publicId}) - A html5 doctype does not have a publicId - - ${suffix} - `) : void 0; + false ? undefined : void 0; } -}); - +}; function useDev(useHook) { - if (process.env.NODE_ENV !== 'production') { - useHook(); - } + if (false) {} } - function useDevSetupWarning(fn, inputs) { - useDev(() => { - useEffect(() => { + useDev(function () { + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () { try { fn(); } catch (e) { - error(` - A setup problem was encountered. - - > ${e.message} - `); + error("\n A setup problem was encountered.\n\n > ".concat(e.message, "\n ")); } }, inputs); }); } - function useStartupValidation() { - useDevSetupWarning(() => { - checkReactVersion(peerDependencies.react, React.version); + useDevSetupWarning(function () { + checkReactVersion(peerDependencies.react, react__WEBPACK_IMPORTED_MODULE_0___default.a.version); checkDoctype(document); }, []); } - function usePrevious(current) { - const ref = useRef(current); - useEffect(() => { + var ref = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(current); + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () { ref.current = current; }); return ref; } - function create() { - let lock = null; + var lock = null; function isClaimed() { return Boolean(lock); } @@ -137854,15 +137720,15 @@ function create() { return value === lock; } function claim(abandon) { - !!lock ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot claim lock as it is already claimed') : invariant(false) : void 0; - const newLock = { - abandon + !!lock ? false ? undefined : invariant(false) : void 0; + var newLock = { + abandon: abandon }; lock = newLock; return newLock; } function release() { - !lock ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot release lock when there is no lock') : invariant(false) : void 0; + !lock ? false ? undefined : invariant(false) : void 0; lock = null; } function tryAbandon() { @@ -137872,107 +137738,97 @@ function create() { } } return { - isClaimed, - isActive, - claim, - release, - tryAbandon + isClaimed: isClaimed, + isActive: isActive, + claim: claim, + release: release, + tryAbandon: tryAbandon }; } - function isDragging(state) { if (state.phase === 'IDLE' || state.phase === 'DROP_ANIMATING') { return false; } return state.isDragging; } - -const tab = 9; -const enter = 13; -const escape = 27; -const space = 32; -const pageUp = 33; -const pageDown = 34; -const end = 35; -const home = 36; -const arrowLeft = 37; -const arrowUp = 38; -const arrowRight = 39; -const arrowDown = 40; - -const preventedKeys = { - [enter]: true, - [tab]: true -}; -var preventStandardKeyEvents = (event => { +var tab = 9; +var enter = 13; +var escape = 27; +var space = 32; +var pageUp = 33; +var pageDown = 34; +var end = 35; +var home = 36; +var arrowLeft = 37; +var arrowUp = 38; +var arrowRight = 39; +var arrowDown = 40; +var preventedKeys = (_preventedKeys = {}, _defineProperty(_preventedKeys, enter, true), _defineProperty(_preventedKeys, tab, true), _preventedKeys); +var preventStandardKeyEvents = function preventStandardKeyEvents(event) { if (preventedKeys[event.keyCode]) { event.preventDefault(); } -}); - -const supportedEventName = (() => { - const base = 'visibilitychange'; +}; +var supportedEventName = function () { + var base = 'visibilitychange'; if (typeof document === 'undefined') { return base; } - const candidates = [base, `ms${base}`, `webkit${base}`, `moz${base}`, `o${base}`]; - const supported = candidates.find(eventName => `on${eventName}` in document); + var candidates = [base, "ms".concat(base), "webkit".concat(base), "moz".concat(base), "o".concat(base)]; + var supported = candidates.find(function (eventName) { + return "on".concat(eventName) in document; + }); return supported || base; -})(); +}(); var supportedPageVisibilityEventName = supportedEventName; - -const primaryButton = 0; -const sloppyClickThreshold = 5; +var primaryButton = 0; +var sloppyClickThreshold = 5; function isSloppyClickThresholdExceeded(original, current) { return Math.abs(current.x - original.x) >= sloppyClickThreshold || Math.abs(current.y - original.y) >= sloppyClickThreshold; } -const idle$1 = { +var idle$1 = { type: 'IDLE' }; function getCaptureBindings(_ref) { - let { - cancel, - completed, - getPhase, - setPhase - } = _ref; + var cancel = _ref.cancel, + completed = _ref.completed, + getPhase = _ref.getPhase, + setPhase = _ref.setPhase; return [{ eventName: 'mousemove', - fn: event => { - const { - button, - clientX, - clientY - } = event; + fn: function fn(event) { + var button = event.button, + clientX = event.clientX, + clientY = event.clientY; if (button !== primaryButton) { return; } - const point = { + var point = { x: clientX, y: clientY }; - const phase = getPhase(); + var phase = getPhase(); if (phase.type === 'DRAGGING') { event.preventDefault(); phase.actions.move(point); return; } - !(phase.type === 'PENDING') ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot be IDLE') : invariant(false) : void 0; - const pending = phase.point; + !(phase.type === 'PENDING') ? false ? undefined : invariant(false) : void 0; + var pending = phase.point; if (!isSloppyClickThresholdExceeded(pending, point)) { return; } event.preventDefault(); - const actions = phase.actions.fluidLift(point); + var actions = phase.actions.fluidLift(point); setPhase({ type: 'DRAGGING', - actions + actions: actions }); } }, { eventName: 'mouseup', - fn: event => { - const phase = getPhase(); + fn: function fn(event) { + var phase = getPhase(); if (phase.type !== 'DRAGGING') { cancel(); return; @@ -137985,7 +137841,7 @@ function getCaptureBindings(_ref) { } }, { eventName: 'mousedown', - fn: event => { + fn: function fn(event) { if (getPhase().type === 'DRAGGING') { event.preventDefault(); } @@ -137993,8 +137849,8 @@ function getCaptureBindings(_ref) { } }, { eventName: 'keydown', - fn: event => { - const phase = getPhase(); + fn: function fn(event) { + var phase = getPhase(); if (phase.type === 'PENDING') { cancel(); return; @@ -138015,16 +137871,16 @@ function getCaptureBindings(_ref) { passive: true, capture: false }, - fn: () => { + fn: function fn() { if (getPhase().type === 'PENDING') { cancel(); } } }, { eventName: 'webkitmouseforcedown', - fn: event => { - const phase = getPhase(); - !(phase.type !== 'IDLE') ? process.env.NODE_ENV !== "production" ? invariant(false, 'Unexpected phase') : invariant(false) : void 0; + fn: function fn(event) { + var phase = getPhase(); + !(phase.type !== 'IDLE') ? false ? undefined : invariant(false) : void 0; if (phase.actions.shouldRespectForcePress()) { cancel(); return; @@ -138037,71 +137893,75 @@ function getCaptureBindings(_ref) { }]; } function useMouseSensor(api) { - const phaseRef = useRef(idle$1); - const unbindEventsRef = useRef(noop$2); - const startCaptureBinding = useMemo(() => ({ - eventName: 'mousedown', - fn: function onMouseDown(event) { - if (event.defaultPrevented) { - return; - } - if (event.button !== primaryButton) { - return; - } - if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) { - return; - } - const draggableId = api.findClosestDraggableId(event); - if (!draggableId) { - return; - } - const actions = api.tryGetLock(draggableId, stop, { - sourceEvent: event - }); - if (!actions) { - return; - } - event.preventDefault(); - const point = { - x: event.clientX, - y: event.clientY - }; - unbindEventsRef.current(); - startPendingDrag(actions, point); - } - }), [api]); - const preventForcePressBinding = useMemo(() => ({ - eventName: 'webkitmouseforcewillbegin', - fn: event => { - if (event.defaultPrevented) { - return; - } - const id = api.findClosestDraggableId(event); - if (!id) { - return; - } - const options = api.findOptionsForDraggable(id); - if (!options) { - return; - } - if (options.shouldRespectForcePress) { - return; + var phaseRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(idle$1); + var unbindEventsRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(noop$2); + var startCaptureBinding = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + eventName: 'mousedown', + fn: function onMouseDown(event) { + if (event.defaultPrevented) { + return; + } + if (event.button !== primaryButton) { + return; + } + if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) { + return; + } + var draggableId = api.findClosestDraggableId(event); + if (!draggableId) { + return; + } + var actions = api.tryGetLock(draggableId, stop, { + sourceEvent: event + }); + if (!actions) { + return; + } + event.preventDefault(); + var point = { + x: event.clientX, + y: event.clientY + }; + unbindEventsRef.current(); + startPendingDrag(actions, point); } - if (!api.canGetLock(id)) { - return; + }; + }, [api]); + var preventForcePressBinding = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + eventName: 'webkitmouseforcewillbegin', + fn: function fn(event) { + if (event.defaultPrevented) { + return; + } + var id = api.findClosestDraggableId(event); + if (!id) { + return; + } + var options = api.findOptionsForDraggable(id); + if (!options) { + return; + } + if (options.shouldRespectForcePress) { + return; + } + if (!api.canGetLock(id)) { + return; + } + event.preventDefault(); } - event.preventDefault(); - } - }), [api]); - const listenForCapture = useCallback(function listenForCapture() { - const options = { + }; + }, [api]); + var listenForCapture = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function listenForCapture() { + var options = { passive: false, capture: true }; unbindEventsRef.current = bindEvents(window, [preventForcePressBinding, startCaptureBinding], options); }, [preventForcePressBinding, startCaptureBinding]); - const stop = useCallback(() => { - const current = phaseRef.current; + var stop = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var current = phaseRef.current; if (current.type === 'IDLE') { return; } @@ -138109,8 +137969,8 @@ function useMouseSensor(api) { unbindEventsRef.current(); listenForCapture(); }, [listenForCapture]); - const cancel = useCallback(() => { - const phase = phaseRef.current; + var cancel = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var phase = phaseRef.current; stop(); if (phase.type === 'DRAGGING') { phase.actions.cancel({ @@ -138121,27 +137981,29 @@ function useMouseSensor(api) { phase.actions.abort(); } }, [stop]); - const bindCapturingEvents = useCallback(function bindCapturingEvents() { - const options = { + var bindCapturingEvents = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function bindCapturingEvents() { + var options = { capture: true, passive: false }; - const bindings = getCaptureBindings({ - cancel, + var bindings = getCaptureBindings({ + cancel: cancel, completed: stop, - getPhase: () => phaseRef.current, - setPhase: phase => { + getPhase: function getPhase() { + return phaseRef.current; + }, + setPhase: function setPhase(phase) { phaseRef.current = phase; } }); unbindEventsRef.current = bindEvents(window, bindings, options); }, [cancel, stop]); - const startPendingDrag = useCallback(function startPendingDrag(actions, point) { - !(phaseRef.current.type === 'IDLE') ? process.env.NODE_ENV !== "production" ? invariant(false, 'Expected to move from IDLE to PENDING drag') : invariant(false) : void 0; + var startPendingDrag = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function startPendingDrag(actions, point) { + !(phaseRef.current.type === 'IDLE') ? false ? undefined : invariant(false) : void 0; phaseRef.current = { type: 'PENDING', - point, - actions + point: point, + actions: actions }; bindCapturingEvents(); }, [bindCapturingEvents]); @@ -138152,14 +138014,8 @@ function useMouseSensor(api) { }; }, [listenForCapture]); } - function noop$1() {} -const scrollJumpKeys = { - [pageDown]: true, - [pageUp]: true, - [home]: true, - [end]: true -}; +var scrollJumpKeys = (_scrollJumpKeys = {}, _defineProperty(_scrollJumpKeys, pageDown, true), _defineProperty(_scrollJumpKeys, pageUp, true), _defineProperty(_scrollJumpKeys, home, true), _defineProperty(_scrollJumpKeys, end, true), _scrollJumpKeys); function getDraggingBindings(actions, stop) { function cancel() { stop(); @@ -138171,7 +138027,7 @@ function getDraggingBindings(actions, stop) { } return [{ eventName: 'keydown', - fn: event => { + fn: function fn(event) { if (event.keyCode === escape) { event.preventDefault(); cancel(); @@ -138235,44 +138091,46 @@ function getDraggingBindings(actions, stop) { }]; } function useKeyboardSensor(api) { - const unbindEventsRef = useRef(noop$1); - const startCaptureBinding = useMemo(() => ({ - eventName: 'keydown', - fn: function onKeyDown(event) { - if (event.defaultPrevented) { - return; - } - if (event.keyCode !== space) { - return; - } - const draggableId = api.findClosestDraggableId(event); - if (!draggableId) { - return; - } - const preDrag = api.tryGetLock(draggableId, stop, { - sourceEvent: event - }); - if (!preDrag) { - return; - } - event.preventDefault(); - let isCapturing = true; - const actions = preDrag.snapLift(); - unbindEventsRef.current(); - function stop() { - !isCapturing ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot stop capturing a keyboard drag when not capturing') : invariant(false) : void 0; - isCapturing = false; + var unbindEventsRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(noop$1); + var startCaptureBinding = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + eventName: 'keydown', + fn: function onKeyDown(event) { + if (event.defaultPrevented) { + return; + } + if (event.keyCode !== space) { + return; + } + var draggableId = api.findClosestDraggableId(event); + if (!draggableId) { + return; + } + var preDrag = api.tryGetLock(draggableId, stop, { + sourceEvent: event + }); + if (!preDrag) { + return; + } + event.preventDefault(); + var isCapturing = true; + var actions = preDrag.snapLift(); unbindEventsRef.current(); - listenForCapture(); + function stop() { + !isCapturing ? false ? undefined : invariant(false) : void 0; + isCapturing = false; + unbindEventsRef.current(); + listenForCapture(); + } + unbindEventsRef.current = bindEvents(window, getDraggingBindings(actions, stop), { + capture: true, + passive: false + }); } - unbindEventsRef.current = bindEvents(window, getDraggingBindings(actions, stop), { - capture: true, - passive: false - }); - } - }), [api]); - const listenForCapture = useCallback(function tryStartCapture() { - const options = { + }; + }, [api]); + var listenForCapture = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function tryStartCapture() { + var options = { passive: false, capture: true }; @@ -138285,17 +138143,14 @@ function useKeyboardSensor(api) { }; }, [listenForCapture]); } - -const idle = { +var idle = { type: 'IDLE' }; -const timeForLongPress = 120; -const forcePressThreshold = 0.15; +var timeForLongPress = 120; +var forcePressThreshold = 0.15; function getWindowBindings(_ref) { - let { - cancel, - getPhase - } = _ref; + var cancel = _ref.cancel, + getPhase = _ref.getPhase; return [{ eventName: 'orientationchange', fn: cancel @@ -138304,12 +138159,12 @@ function getWindowBindings(_ref) { fn: cancel }, { eventName: 'contextmenu', - fn: event => { + fn: function fn(event) { event.preventDefault(); } }, { eventName: 'keydown', - fn: event => { + fn: function fn(event) { if (getPhase().type !== 'DRAGGING') { cancel(); return; @@ -138325,28 +138180,25 @@ function getWindowBindings(_ref) { }]; } function getHandleBindings(_ref2) { - let { - cancel, - completed, - getPhase - } = _ref2; + var cancel = _ref2.cancel, + completed = _ref2.completed, + getPhase = _ref2.getPhase; return [{ eventName: 'touchmove', options: { capture: false }, - fn: event => { - const phase = getPhase(); + fn: function fn(event) { + var phase = getPhase(); if (phase.type !== 'DRAGGING') { cancel(); return; } phase.hasMoved = true; - const { - clientX, - clientY - } = event.touches[0]; - const point = { + var _event$touches$ = event.touches[0], + clientX = _event$touches$.clientX, + clientY = _event$touches$.clientY; + var point = { x: clientX, y: clientY }; @@ -138355,8 +138207,8 @@ function getHandleBindings(_ref2) { } }, { eventName: 'touchend', - fn: event => { - const phase = getPhase(); + fn: function fn(event) { + var phase = getPhase(); if (phase.type !== 'DRAGGING') { cancel(); return; @@ -138369,7 +138221,7 @@ function getHandleBindings(_ref2) { } }, { eventName: 'touchcancel', - fn: event => { + fn: function fn(event) { if (getPhase().type !== 'DRAGGING') { cancel(); return; @@ -138379,18 +138231,18 @@ function getHandleBindings(_ref2) { } }, { eventName: 'touchforcechange', - fn: event => { - const phase = getPhase(); - !(phase.type !== 'IDLE') ? process.env.NODE_ENV !== "production" ? invariant(false) : invariant(false) : void 0; - const touch = event.touches[0]; + fn: function fn(event) { + var phase = getPhase(); + !(phase.type !== 'IDLE') ? false ? undefined : invariant(false) : void 0; + var touch = event.touches[0]; if (!touch) { return; } - const isForcePress = touch.force >= forcePressThreshold; + var isForcePress = touch.force >= forcePressThreshold; if (!isForcePress) { return; } - const shouldRespect = phase.actions.shouldRespectForcePress(); + var shouldRespect = phase.actions.shouldRespectForcePress(); if (phase.type === 'PENDING') { if (shouldRespect) { cancel(); @@ -138413,52 +138265,52 @@ function getHandleBindings(_ref2) { }]; } function useTouchSensor(api) { - const phaseRef = useRef(idle); - const unbindEventsRef = useRef(noop$2); - const getPhase = useCallback(function getPhase() { + var phaseRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(idle); + var unbindEventsRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(noop$2); + var getPhase = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function getPhase() { return phaseRef.current; }, []); - const setPhase = useCallback(function setPhase(phase) { + var setPhase = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function setPhase(phase) { phaseRef.current = phase; }, []); - const startCaptureBinding = useMemo(() => ({ - eventName: 'touchstart', - fn: function onTouchStart(event) { - if (event.defaultPrevented) { - return; - } - const draggableId = api.findClosestDraggableId(event); - if (!draggableId) { - return; - } - const actions = api.tryGetLock(draggableId, stop, { - sourceEvent: event - }); - if (!actions) { - return; + var startCaptureBinding = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + eventName: 'touchstart', + fn: function onTouchStart(event) { + if (event.defaultPrevented) { + return; + } + var draggableId = api.findClosestDraggableId(event); + if (!draggableId) { + return; + } + var actions = api.tryGetLock(draggableId, stop, { + sourceEvent: event + }); + if (!actions) { + return; + } + var touch = event.touches[0]; + var clientX = touch.clientX, + clientY = touch.clientY; + var point = { + x: clientX, + y: clientY + }; + unbindEventsRef.current(); + startPendingDrag(actions, point); } - const touch = event.touches[0]; - const { - clientX, - clientY - } = touch; - const point = { - x: clientX, - y: clientY - }; - unbindEventsRef.current(); - startPendingDrag(actions, point); - } - }), [api]); - const listenForCapture = useCallback(function listenForCapture() { - const options = { + }; + }, [api]); + var listenForCapture = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function listenForCapture() { + var options = { capture: true, passive: false }; unbindEventsRef.current = bindEvents(window, [startCaptureBinding], options); }, [startCaptureBinding]); - const stop = useCallback(() => { - const current = phaseRef.current; + var stop = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var current = phaseRef.current; if (current.type === 'IDLE') { return; } @@ -138469,8 +138321,8 @@ function useTouchSensor(api) { unbindEventsRef.current(); listenForCapture(); }, [listenForCapture, setPhase]); - const cancel = useCallback(() => { - const phase = phaseRef.current; + var cancel = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var phase = phaseRef.current; stop(); if (phase.type === 'DRAGGING') { phase.actions.cancel({ @@ -138481,41 +138333,41 @@ function useTouchSensor(api) { phase.actions.abort(); } }, [stop]); - const bindCapturingEvents = useCallback(function bindCapturingEvents() { - const options = { + var bindCapturingEvents = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function bindCapturingEvents() { + var options = { capture: true, passive: false }; - const args = { - cancel, + var args = { + cancel: cancel, completed: stop, - getPhase + getPhase: getPhase }; - const unbindTarget = bindEvents(window, getHandleBindings(args), options); - const unbindWindow = bindEvents(window, getWindowBindings(args), options); + var unbindTarget = bindEvents(window, getHandleBindings(args), options); + var unbindWindow = bindEvents(window, getWindowBindings(args), options); unbindEventsRef.current = function unbindAll() { unbindTarget(); unbindWindow(); }; }, [cancel, getPhase, stop]); - const startDragging = useCallback(function startDragging() { - const phase = getPhase(); - !(phase.type === 'PENDING') ? process.env.NODE_ENV !== "production" ? invariant(false, `Cannot start dragging from phase ${phase.type}`) : invariant(false) : void 0; - const actions = phase.actions.fluidLift(phase.point); + var startDragging = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function startDragging() { + var phase = getPhase(); + !(phase.type === 'PENDING') ? false ? undefined : invariant(false) : void 0; + var actions = phase.actions.fluidLift(phase.point); setPhase({ type: 'DRAGGING', - actions, + actions: actions, hasMoved: false }); }, [getPhase, setPhase]); - const startPendingDrag = useCallback(function startPendingDrag(actions, point) { - !(getPhase().type === 'IDLE') ? process.env.NODE_ENV !== "production" ? invariant(false, 'Expected to move from IDLE to PENDING drag') : invariant(false) : void 0; - const longPressTimerId = setTimeout(startDragging, timeForLongPress); + var startPendingDrag = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function startPendingDrag(actions, point) { + !(getPhase().type === 'IDLE') ? false ? undefined : invariant(false) : void 0; + var longPressTimerId = setTimeout(startDragging, timeForLongPress); setPhase({ type: 'PENDING', - point, - actions, - longPressTimerId + point: point, + actions: actions, + longPressTimerId: longPressTimerId }); bindCapturingEvents(); }, [bindCapturingEvents, getPhase, setPhase, startDragging]); @@ -138523,7 +138375,7 @@ function useTouchSensor(api) { listenForCapture(); return function unmount() { unbindEventsRef.current(); - const phase = getPhase(); + var phase = getPhase(); if (phase.type === 'PENDING') { clearTimeout(phase.longPressTimerId); setPhase(idle); @@ -138531,9 +138383,9 @@ function useTouchSensor(api) { }; }, [getPhase, listenForCapture, setPhase]); useLayoutEffect(function webkitHack() { - const unbind = bindEvents(window, [{ + var unbind = bindEvents(window, [{ eventName: 'touchmove', - fn: () => {}, + fn: function fn() {}, options: { capture: false, passive: false @@ -138542,26 +138394,24 @@ function useTouchSensor(api) { return unbind; }, []); } - function useValidateSensorHooks(sensorHooks) { - useDev(() => { - const previousRef = usePrevious(sensorHooks); - useDevSetupWarning(() => { - !(previousRef.current.length === sensorHooks.length) ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot change the amount of sensor hooks after mounting') : invariant(false) : void 0; + useDev(function () { + var previousRef = usePrevious(sensorHooks); + useDevSetupWarning(function () { + !(previousRef.current.length === sensorHooks.length) ? false ? undefined : invariant(false) : void 0; }); }); } - -const interactiveTagNames = ['input', 'button', 'textarea', 'select', 'option', 'optgroup', 'video', 'audio']; +var interactiveTagNames = ['input', 'button', 'textarea', 'select', 'option', 'optgroup', 'video', 'audio']; function isAnInteractiveElement(parent, current) { if (current == null) { return false; } - const hasAnInteractiveTag = interactiveTagNames.includes(current.tagName.toLowerCase()); + var hasAnInteractiveTag = interactiveTagNames.includes(current.tagName.toLowerCase()); if (hasAnInteractiveTag) { return true; } - const attribute = current.getAttribute('contenteditable'); + var attribute = current.getAttribute('contenteditable'); if (attribute === 'true' || attribute === '') { return true; } @@ -138571,28 +138421,29 @@ function isAnInteractiveElement(parent, current) { return isAnInteractiveElement(parent, current.parentElement); } function isEventInInteractiveElement(draggable, event) { - const target = event.target; + var target = event.target; if (!isHtmlElement(target)) { return false; } return isAnInteractiveElement(draggable, target); } - -var getBorderBoxCenterPosition = (el => getRect(el.getBoundingClientRect()).center); - +var getBorderBoxCenterPosition = function getBorderBoxCenterPosition(el) { + return Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getRect */ "e"])(el.getBoundingClientRect()).center; +}; function isElement(el) { return el instanceof getWindowFromEl(el).Element; } - -const supportedMatchesName = (() => { - const base = 'matches'; +var supportedMatchesName = function () { + var base = 'matches'; if (typeof document === 'undefined') { return base; } - const candidates = [base, 'msMatchesSelector', 'webkitMatchesSelector']; - const value = candidates.find(name => name in Element.prototype); + var candidates = [base, 'msMatchesSelector', 'webkitMatchesSelector']; + var value = candidates.find(function (name) { + return name in Element.prototype; + }); return value || base; -})(); +}(); function closestPonyfill(el, selector) { if (el == null) { return null; @@ -138608,106 +138459,81 @@ function closest(el, selector) { } return closestPonyfill(el, selector); } - function getSelector(contextId) { - return `[${dragHandle.contextId}="${contextId}"]`; + return "[".concat(dragHandle.contextId, "=\"").concat(contextId, "\"]"); } function findClosestDragHandleFromEvent(contextId, event) { - const target = event.target; + var target = event.target; if (!isElement(target)) { - process.env.NODE_ENV !== "production" ? warning('event.target must be a Element') : void 0; + false ? undefined : void 0; return null; } - const selector = getSelector(contextId); - const handle = closest(target, selector); + var selector = getSelector(contextId); + var handle = closest(target, selector); if (!handle) { return null; } if (!isHtmlElement(handle)) { - process.env.NODE_ENV !== "production" ? warning('drag handle must be a HTMLElement') : void 0; + false ? undefined : void 0; return null; } return handle; } function tryGetClosestDraggableIdFromEvent(contextId, event) { - const handle = findClosestDragHandleFromEvent(contextId, event); + var handle = findClosestDragHandleFromEvent(contextId, event); if (!handle) { return null; } return handle.getAttribute(dragHandle.draggableId); } - function findDraggable(contextId, draggableId) { - const selector = `[${draggable.contextId}="${contextId}"]`; - const possible = querySelectorAll(document, selector); - const draggable$1 = possible.find(el => { + var selector = "[".concat(draggable.contextId, "=\"").concat(contextId, "\"]"); + var possible = querySelectorAll(document, selector); + var draggable$1 = possible.find(function (el) { return el.getAttribute(draggable.id) === draggableId; }); if (!draggable$1) { return null; } if (!isHtmlElement(draggable$1)) { - process.env.NODE_ENV !== "production" ? warning('Draggable element is not a HTMLElement') : void 0; + false ? undefined : void 0; return null; } return draggable$1; } - function preventDefault(event) { event.preventDefault(); } -function isActive(_ref) { - let { - expected, - phase, - isLockActive, - shouldWarn - } = _ref; +function _isActive(_ref) { + var expected = _ref.expected, + phase = _ref.phase, + isLockActive = _ref.isLockActive, + shouldWarn = _ref.shouldWarn; if (!isLockActive()) { if (shouldWarn) { - process.env.NODE_ENV !== "production" ? warning(` - Cannot perform action. - The sensor no longer has an action lock. - - Tips: - - - Throw away your action handlers when forceStop() is called - - Check actions.isActive() if you really need to - `) : void 0; + false ? undefined : void 0; } return false; } if (expected !== phase) { if (shouldWarn) { - process.env.NODE_ENV !== "production" ? warning(` - Cannot perform action. - The actions you used belong to an outdated phase - - Current phase: ${expected} - You called an action from outdated phase: ${phase} - - Tips: - - - Do not use preDragActions actions after calling preDragActions.lift() - `) : void 0; + false ? undefined : void 0; } return false; } return true; } function canStart(_ref2) { - let { - lockAPI, - store, - registry, - draggableId - } = _ref2; + var lockAPI = _ref2.lockAPI, + store = _ref2.store, + registry = _ref2.registry, + draggableId = _ref2.draggableId; if (lockAPI.isClaimed()) { return false; } - const entry = registry.draggable.findById(draggableId); + var entry = registry.draggable.findById(draggableId); if (!entry) { - process.env.NODE_ENV !== "production" ? warning(`Unable to find draggable with id: ${draggableId}`) : void 0; + false ? undefined : void 0; return false; } if (!entry.options.isEnabled) { @@ -138719,35 +138545,33 @@ function canStart(_ref2) { return true; } function tryStart(_ref3) { - let { - lockAPI, - contextId, - store, - registry, - draggableId, - forceSensorStop, - sourceEvent - } = _ref3; - const shouldStart = canStart({ - lockAPI, - store, - registry, - draggableId + var lockAPI = _ref3.lockAPI, + contextId = _ref3.contextId, + store = _ref3.store, + registry = _ref3.registry, + draggableId = _ref3.draggableId, + forceSensorStop = _ref3.forceSensorStop, + sourceEvent = _ref3.sourceEvent; + var shouldStart = canStart({ + lockAPI: lockAPI, + store: store, + registry: registry, + draggableId: draggableId }); if (!shouldStart) { return null; } - const entry = registry.draggable.getById(draggableId); - const el = findDraggable(contextId, entry.descriptor.id); + var entry = registry.draggable.getById(draggableId); + var el = findDraggable(contextId, entry.descriptor.id); if (!el) { - process.env.NODE_ENV !== "production" ? warning(`Unable to find draggable element with id: ${draggableId}`) : void 0; + false ? undefined : void 0; return null; } if (sourceEvent && !entry.options.canDragInteractiveElements && isEventInInteractiveElement(el, sourceEvent)) { return null; } - const lock = lockAPI.claim(forceSensorStop || noop$2); - let phase = 'PRE_DRAG'; + var lock = lockAPI.claim(forceSensorStop || noop$2); + var phase = 'PRE_DRAG'; function getShouldRespectForcePress() { return entry.options.shouldRespectForcePress; } @@ -138755,16 +138579,16 @@ function tryStart(_ref3) { return lockAPI.isActive(lock); } function tryDispatch(expected, getAction) { - if (isActive({ - expected, - phase, - isLockActive, + if (_isActive({ + expected: expected, + phase: phase, + isLockActive: isLockActive, shouldWarn: true })) { store.dispatch(getAction()); } } - const tryDispatchWhenDragging = tryDispatch.bind(null, 'DRAGGING'); + var tryDispatchWhenDragging = tryDispatch.bind(null, 'DRAGGING'); function lift(args) { function completed() { lockAPI.release(); @@ -138772,7 +138596,7 @@ function tryStart(_ref3) { } if (phase !== 'PRE_DRAG') { completed(); - process.env.NODE_ENV !== "production" ? invariant(false, `Cannot lift in phase ${phase}`) : invariant(false) ; + false ? undefined : invariant(false); } store.dispatch(lift$1(args.liftActionArgs)); phase = 'DRAGGING'; @@ -138784,7 +138608,7 @@ function tryStart(_ref3) { } args.cleanup(); if (options.shouldBlockNextClick) { - const unbind = bindEvents(window, [{ + var unbind = bindEvents(window, [{ eventName: 'click', fn: preventDefault, options: { @@ -138797,50 +138621,66 @@ function tryStart(_ref3) { } completed(); store.dispatch(drop$1({ - reason + reason: reason })); } - return { - isActive: () => isActive({ - expected: 'DRAGGING', - phase, - isLockActive, - shouldWarn: false - }), + return _objectSpread({ + isActive: function isActive() { + return _isActive({ + expected: 'DRAGGING', + phase: phase, + isLockActive: isLockActive, + shouldWarn: false + }); + }, shouldRespectForcePress: getShouldRespectForcePress, - drop: options => finish('DROP', options), - cancel: options => finish('CANCEL', options), - ...args.actions - }; + drop: function drop(options) { + return finish('DROP', options); + }, + cancel: function cancel(options) { + return finish('CANCEL', options); + } + }, args.actions); } function fluidLift(clientSelection) { - const move$1 = rafSchd(client => { - tryDispatchWhenDragging(() => move({ - client - })); + var move$1 = Object(raf_schd__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(function (client) { + tryDispatchWhenDragging(function () { + return move({ + client: client + }); + }); }); - const api = lift({ + var api = lift({ liftActionArgs: { id: draggableId, - clientSelection, + clientSelection: clientSelection, movementMode: 'FLUID' }, - cleanup: () => move$1.cancel(), + cleanup: function cleanup() { + return move$1.cancel(); + }, actions: { move: move$1 } }); - return { - ...api, + return _objectSpread(_objectSpread({}, api), {}, { move: move$1 - }; + }); } function snapLift() { - const actions = { - moveUp: () => tryDispatchWhenDragging(moveUp), - moveRight: () => tryDispatchWhenDragging(moveRight), - moveDown: () => tryDispatchWhenDragging(moveDown), - moveLeft: () => tryDispatchWhenDragging(moveLeft) + var actions = { + moveUp: function moveUp() { + return tryDispatchWhenDragging(_moveUp); + }, + moveRight: function moveRight() { + return tryDispatchWhenDragging(_moveRight); + }, + moveDown: function moveDown() { + return tryDispatchWhenDragging(_moveDown); + }, + moveLeft: function moveLeft() { + return tryDispatchWhenDragging(_moveLeft); + } }; return lift({ liftActionArgs: { @@ -138849,85 +138689,91 @@ function tryStart(_ref3) { movementMode: 'SNAP' }, cleanup: noop$2, - actions + actions: actions }); } function abortPreDrag() { - const shouldRelease = isActive({ + var shouldRelease = _isActive({ expected: 'PRE_DRAG', - phase, - isLockActive, + phase: phase, + isLockActive: isLockActive, shouldWarn: true }); if (shouldRelease) { lockAPI.release(); } } - const preDrag = { - isActive: () => isActive({ - expected: 'PRE_DRAG', - phase, - isLockActive, - shouldWarn: false - }), + var preDrag = { + isActive: function isActive() { + return _isActive({ + expected: 'PRE_DRAG', + phase: phase, + isLockActive: isLockActive, + shouldWarn: false + }); + }, shouldRespectForcePress: getShouldRespectForcePress, - fluidLift, - snapLift, + fluidLift: fluidLift, + snapLift: snapLift, abort: abortPreDrag }; return preDrag; } -const defaultSensors = [useMouseSensor, useKeyboardSensor, useTouchSensor]; +var defaultSensors = [useMouseSensor, useKeyboardSensor, useTouchSensor]; function useSensorMarshal(_ref4) { - let { - contextId, - store, - registry, - customSensors, - enableDefaultSensors - } = _ref4; - const useSensors = [...(enableDefaultSensors ? defaultSensors : []), ...(customSensors || [])]; - const lockAPI = useState(() => create())[0]; - const tryAbandonLock = useCallback(function tryAbandonLock(previous, current) { + var contextId = _ref4.contextId, + store = _ref4.store, + registry = _ref4.registry, + customSensors = _ref4.customSensors, + enableDefaultSensors = _ref4.enableDefaultSensors; + var useSensors = [].concat(_toConsumableArray(enableDefaultSensors ? defaultSensors : []), _toConsumableArray(customSensors || [])); + var lockAPI = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(function () { + return create(); + })[0]; + var tryAbandonLock = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function tryAbandonLock(previous, current) { if (isDragging(previous) && !isDragging(current)) { lockAPI.tryAbandon(); } }, [lockAPI]); useLayoutEffect(function listenToStore() { - let previous = store.getState(); - const unsubscribe = store.subscribe(() => { - const current = store.getState(); + var previous = store.getState(); + var unsubscribe = store.subscribe(function () { + var current = store.getState(); tryAbandonLock(previous, current); previous = current; }); return unsubscribe; }, [lockAPI, store, tryAbandonLock]); - useLayoutEffect(() => { + useLayoutEffect(function () { return lockAPI.tryAbandon; }, [lockAPI.tryAbandon]); - const canGetLock = useCallback(draggableId => { + var canGetLock = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (draggableId) { return canStart({ - lockAPI, - registry, - store, - draggableId + lockAPI: lockAPI, + registry: registry, + store: store, + draggableId: draggableId }); }, [lockAPI, registry, store]); - const tryGetLock = useCallback((draggableId, forceStop, options) => tryStart({ - lockAPI, - registry, - contextId, - store, - draggableId, - forceSensorStop: forceStop || null, - sourceEvent: options && options.sourceEvent ? options.sourceEvent : null - }), [contextId, lockAPI, registry, store]); - const findClosestDraggableId = useCallback(event => tryGetClosestDraggableIdFromEvent(contextId, event), [contextId]); - const findOptionsForDraggable = useCallback(id => { - const entry = registry.draggable.findById(id); + var tryGetLock = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (draggableId, forceStop, options) { + return tryStart({ + lockAPI: lockAPI, + registry: registry, + contextId: contextId, + store: store, + draggableId: draggableId, + forceSensorStop: forceStop || null, + sourceEvent: options && options.sourceEvent ? options.sourceEvent : null + }); + }, [contextId, lockAPI, registry, store]); + var findClosestDraggableId = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (event) { + return tryGetClosestDraggableIdFromEvent(contextId, event); + }, [contextId]); + var findOptionsForDraggable = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (id) { + var entry = registry.draggable.findById(id); return entry ? entry.options : null; }, [registry.draggable]); - const tryReleaseLock = useCallback(function tryReleaseLock() { + var tryReleaseLock = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function tryReleaseLock() { if (!lockAPI.isClaimed()) { return; } @@ -138936,120 +138782,121 @@ function useSensorMarshal(_ref4) { store.dispatch(flush()); } }, [lockAPI, store]); - const isLockClaimed = useCallback(() => lockAPI.isClaimed(), [lockAPI]); - const api = useMemo(() => ({ - canGetLock, - tryGetLock, - findClosestDraggableId, - findOptionsForDraggable, - tryReleaseLock, - isLockClaimed - }), [canGetLock, tryGetLock, findClosestDraggableId, findOptionsForDraggable, tryReleaseLock, isLockClaimed]); + var isLockClaimed = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + return lockAPI.isClaimed(); + }, [lockAPI]); + var api = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + canGetLock: canGetLock, + tryGetLock: tryGetLock, + findClosestDraggableId: findClosestDraggableId, + findOptionsForDraggable: findOptionsForDraggable, + tryReleaseLock: tryReleaseLock, + isLockClaimed: isLockClaimed + }; + }, [canGetLock, tryGetLock, findClosestDraggableId, findOptionsForDraggable, tryReleaseLock, isLockClaimed]); useValidateSensorHooks(useSensors); - for (let i = 0; i < useSensors.length; i++) { + for (var i = 0; i < useSensors.length; i++) { useSensors[i](api); } } - -const createResponders = props => ({ - onBeforeCapture: t => { - const onBeforeCapureCallback = () => { - if (props.onBeforeCapture) { - props.onBeforeCapture(t); +var createResponders = function createResponders(props) { + return { + onBeforeCapture: function onBeforeCapture(t) { + var onBeforeCapureCallback = function onBeforeCapureCallback() { + if (props.onBeforeCapture) { + props.onBeforeCapture(t); + } + }; + if (react__WEBPACK_IMPORTED_MODULE_0___default.a.version.startsWith('16') || react__WEBPACK_IMPORTED_MODULE_0___default.a.version.startsWith('17')) { + onBeforeCapureCallback(); + } else { + Object(react_dom__WEBPACK_IMPORTED_MODULE_1__["flushSync"])(onBeforeCapureCallback); } - }; - if (React.version.startsWith('16') || React.version.startsWith('17')) { - onBeforeCapureCallback(); - } else { - flushSync(onBeforeCapureCallback); - } - }, - onBeforeDragStart: props.onBeforeDragStart, - onDragStart: props.onDragStart, - onDragEnd: props.onDragEnd, - onDragUpdate: props.onDragUpdate -}); -const createAutoScrollerOptions = props => ({ - ...defaultAutoScrollerOptions, - ...props.autoScrollerOptions, - durationDampening: { - ...defaultAutoScrollerOptions.durationDampening, - ...props.autoScrollerOptions - } -}); + }, + onBeforeDragStart: props.onBeforeDragStart, + onDragStart: props.onDragStart, + onDragEnd: props.onDragEnd, + onDragUpdate: props.onDragUpdate + }; +}; +var createAutoScrollerOptions = function createAutoScrollerOptions(props) { + return _objectSpread(_objectSpread(_objectSpread({}, defaultAutoScrollerOptions), props.autoScrollerOptions), {}, { + durationDampening: _objectSpread(_objectSpread({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions) + }); +}; function getStore(lazyRef) { - !lazyRef.current ? process.env.NODE_ENV !== "production" ? invariant(false, 'Could not find store from lazy ref') : invariant(false) : void 0; + !lazyRef.current ? false ? undefined : invariant(false) : void 0; return lazyRef.current; } function App(props) { - const { - contextId, - setCallbacks, - sensors, - nonce, - dragHandleUsageInstructions - } = props; - const lazyStoreRef = useRef(null); + var contextId = props.contextId, + setCallbacks = props.setCallbacks, + sensors = props.sensors, + nonce = props.nonce, + dragHandleUsageInstructions = props.dragHandleUsageInstructions; + var lazyStoreRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); useStartupValidation(); - const lastPropsRef = usePrevious(props); - const getResponders = useCallback(() => { + var lastPropsRef = usePrevious(props); + var getResponders = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { return createResponders(lastPropsRef.current); }, [lastPropsRef]); - const getAutoScrollerOptions = useCallback(() => { + var getAutoScrollerOptions = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { return createAutoScrollerOptions(lastPropsRef.current); }, [lastPropsRef]); - const announce = useAnnouncer(contextId); - const dragHandleUsageInstructionsId = useHiddenTextElement({ - contextId, + var announce = useAnnouncer(contextId); + var dragHandleUsageInstructionsId = useHiddenTextElement({ + contextId: contextId, text: dragHandleUsageInstructions }); - const styleMarshal = useStyleMarshal(contextId, nonce); - const lazyDispatch = useCallback(action => { + var styleMarshal = useStyleMarshal(contextId, nonce); + var lazyDispatch = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (action) { getStore(lazyStoreRef).dispatch(action); }, []); - const marshalCallbacks = useMemo(() => bindActionCreators({ - publishWhileDragging, - updateDroppableScroll, - updateDroppableIsEnabled, - updateDroppableIsCombineEnabled, - collectionStarting - }, lazyDispatch), [lazyDispatch]); - const registry = useRegistry(); - const dimensionMarshal = useMemo(() => { + var marshalCallbacks = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return Object(redux__WEBPACK_IMPORTED_MODULE_2__[/* bindActionCreators */ "b"])({ + publishWhileDragging: publishWhileDragging, + updateDroppableScroll: updateDroppableScroll, + updateDroppableIsEnabled: updateDroppableIsEnabled, + updateDroppableIsCombineEnabled: updateDroppableIsCombineEnabled, + collectionStarting: collectionStarting + }, lazyDispatch); + }, [lazyDispatch]); + var registry = useRegistry(); + var dimensionMarshal = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { return createDimensionMarshal(registry, marshalCallbacks); }, [registry, marshalCallbacks]); - const autoScroller = useMemo(() => createAutoScroller({ - scrollWindow, - scrollDroppable: dimensionMarshal.scrollDroppable, - getAutoScrollerOptions, - ...bindActionCreators({ - move - }, lazyDispatch) - }), [dimensionMarshal.scrollDroppable, lazyDispatch, getAutoScrollerOptions]); - const focusMarshal = useFocusMarshal(contextId); - const store = useMemo(() => createStore({ - announce, - autoScroller, - dimensionMarshal, - focusMarshal, - getResponders, - styleMarshal - }), [announce, autoScroller, dimensionMarshal, focusMarshal, getResponders, styleMarshal]); - if (process.env.NODE_ENV !== 'production') { - if (lazyStoreRef.current && lazyStoreRef.current !== store) { - process.env.NODE_ENV !== "production" ? warning('unexpected store change') : void 0; - } - } + var autoScroller = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return createAutoScroller(_objectSpread({ + scrollWindow: scrollWindow, + scrollDroppable: dimensionMarshal.scrollDroppable, + getAutoScrollerOptions: getAutoScrollerOptions + }, Object(redux__WEBPACK_IMPORTED_MODULE_2__[/* bindActionCreators */ "b"])({ + move: move + }, lazyDispatch))); + }, [dimensionMarshal.scrollDroppable, lazyDispatch, getAutoScrollerOptions]); + var focusMarshal = useFocusMarshal(contextId); + var store = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return createStore({ + announce: announce, + autoScroller: autoScroller, + dimensionMarshal: dimensionMarshal, + focusMarshal: focusMarshal, + getResponders: getResponders, + styleMarshal: styleMarshal + }); + }, [announce, autoScroller, dimensionMarshal, focusMarshal, getResponders, styleMarshal]); + if (false) {} lazyStoreRef.current = store; - const tryResetStore = useCallback(() => { - const current = getStore(lazyStoreRef); - const state = current.getState(); + var tryResetStore = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var current = getStore(lazyStoreRef); + var state = current.getState(); if (state.phase !== 'IDLE') { current.dispatch(flush()); } }, []); - const isDragging = useCallback(() => { - const state = getStore(lazyStoreRef).getState(); + var isDragging = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var state = getStore(lazyStoreRef).getState(); if (state.phase === 'DROP_ANIMATING') { return true; } @@ -139058,84 +138905,93 @@ function App(props) { } return state.isDragging; }, []); - const appCallbacks = useMemo(() => ({ - isDragging, - tryAbort: tryResetStore - }), [isDragging, tryResetStore]); + var appCallbacks = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + isDragging: isDragging, + tryAbort: tryResetStore + }; + }, [isDragging, tryResetStore]); setCallbacks(appCallbacks); - const getCanLift = useCallback(id => canStartDrag(getStore(lazyStoreRef).getState(), id), []); - const getIsMovementAllowed = useCallback(() => isMovementAllowed(getStore(lazyStoreRef).getState()), []); - const appContext = useMemo(() => ({ - marshal: dimensionMarshal, - focus: focusMarshal, - contextId, - canLift: getCanLift, - isMovementAllowed: getIsMovementAllowed, - dragHandleUsageInstructionsId, - registry - }), [contextId, dimensionMarshal, dragHandleUsageInstructionsId, focusMarshal, getCanLift, getIsMovementAllowed, registry]); + var getCanLift = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (id) { + return canStartDrag(getStore(lazyStoreRef).getState(), id); + }, []); + var getIsMovementAllowed = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + return isMovementAllowed(getStore(lazyStoreRef).getState()); + }, []); + var appContext = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + marshal: dimensionMarshal, + focus: focusMarshal, + contextId: contextId, + canLift: getCanLift, + isMovementAllowed: getIsMovementAllowed, + dragHandleUsageInstructionsId: dragHandleUsageInstructionsId, + registry: registry + }; + }, [contextId, dimensionMarshal, dragHandleUsageInstructionsId, focusMarshal, getCanLift, getIsMovementAllowed, registry]); useSensorMarshal({ - contextId, - store, - registry, + contextId: contextId, + store: store, + registry: registry, customSensors: sensors || null, enableDefaultSensors: props.enableDefaultSensors !== false }); - useEffect(() => { + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () { return tryResetStore; }, [tryResetStore]); - return React.createElement(AppContext.Provider, { + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(AppContext.Provider, { value: appContext - }, React.createElement(Provider, { + }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_redux__WEBPACK_IMPORTED_MODULE_3__[/* Provider */ "a"], { context: StoreContext, store: store }, props.children)); } - -let count = 0; +var count = 0; function resetDeprecatedUniqueContextId() { count = 0; } function useDeprecatedUniqueContextId() { - return useMemo(() => `${count++}`, []); + return Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return "".concat(count++); + }, []); } function useUniqueContextId() { - return React.useId(); + return react__WEBPACK_IMPORTED_MODULE_0___default.a.useId(); } -var useUniqueContextId$1 = 'useId' in React ? useUniqueContextId : useDeprecatedUniqueContextId; - +var useUniqueContextId$1 = 'useId' in react__WEBPACK_IMPORTED_MODULE_0___default.a ? useUniqueContextId : useDeprecatedUniqueContextId; function resetServerContext() { - if ('useId' in React) { - process.env.NODE_ENV !== "production" ? warning(`It is not necessary to call resetServerContext when using React 18+`) : void 0; + if ('useId' in react__WEBPACK_IMPORTED_MODULE_0___default.a) { + false ? undefined : void 0; return; } resetDeprecatedUniqueContextId(); resetDeprecatedUniqueId(); } function DragDropContext(props) { - const contextId = useUniqueContextId$1(); - const dragHandleUsageInstructions = props.dragHandleUsageInstructions || preset$1.dragHandleUsageInstructions; - return React.createElement(ErrorBoundary, null, setCallbacks => React.createElement(App, { - nonce: props.nonce, - contextId: contextId, - setCallbacks: setCallbacks, - dragHandleUsageInstructions: dragHandleUsageInstructions, - enableDefaultSensors: props.enableDefaultSensors, - sensors: props.sensors, - onBeforeCapture: props.onBeforeCapture, - onBeforeDragStart: props.onBeforeDragStart, - onDragStart: props.onDragStart, - onDragUpdate: props.onDragUpdate, - onDragEnd: props.onDragEnd, - autoScrollerOptions: props.autoScrollerOptions - }, props.children)); + var contextId = useUniqueContextId$1(); + var dragHandleUsageInstructions = props.dragHandleUsageInstructions || preset$1.dragHandleUsageInstructions; + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(ErrorBoundary, null, function (setCallbacks) { + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(App, { + nonce: props.nonce, + contextId: contextId, + setCallbacks: setCallbacks, + dragHandleUsageInstructions: dragHandleUsageInstructions, + enableDefaultSensors: props.enableDefaultSensors, + sensors: props.sensors, + onBeforeCapture: props.onBeforeCapture, + onBeforeDragStart: props.onBeforeDragStart, + onDragStart: props.onDragStart, + onDragUpdate: props.onDragUpdate, + onDragEnd: props.onDragEnd, + autoScrollerOptions: props.autoScrollerOptions + }, props.children); + }); } - -const zIndexOptions = { +var zIndexOptions = { dragging: 5000, dropAnimating: 4500 }; -const getDraggingTransition = (shouldAnimateDragMovement, dropping) => { +var getDraggingTransition = function getDraggingTransition(shouldAnimateDragMovement, dropping) { if (dropping) { return transitions.drop(dropping.duration); } @@ -139144,31 +139000,29 @@ const getDraggingTransition = (shouldAnimateDragMovement, dropping) => { } return transitions.fluid; }; -const getDraggingOpacity = (isCombining, isDropAnimating) => { +var getDraggingOpacity = function getDraggingOpacity(isCombining, isDropAnimating) { if (!isCombining) { return undefined; } return isDropAnimating ? combine.opacity.drop : combine.opacity.combining; }; -const getShouldDraggingAnimate = dragging => { +var getShouldDraggingAnimate = function getShouldDraggingAnimate(dragging) { if (dragging.forceShouldAnimate != null) { return dragging.forceShouldAnimate; } return dragging.mode === 'SNAP'; }; function getDraggingStyle(dragging) { - const dimension = dragging.dimension; - const box = dimension.client; - const { - offset, - combineWith, - dropping - } = dragging; - const isCombining = Boolean(combineWith); - const shouldAnimate = getShouldDraggingAnimate(dragging); - const isDropAnimating = Boolean(dropping); - const transform = isDropAnimating ? transforms.drop(offset, isCombining) : transforms.moveTo(offset); - const style = { + var dimension = dragging.dimension; + var box = dimension.client; + var offset = dragging.offset, + combineWith = dragging.combineWith, + dropping = dragging.dropping; + var isCombining = Boolean(combineWith); + var shouldAnimate = getShouldDraggingAnimate(dragging); + var isDropAnimating = Boolean(dropping); + var transform = isDropAnimating ? transforms.drop(offset, isCombining) : transforms.moveTo(offset); + var style = { position: 'fixed', top: box.marginBox.top, left: box.marginBox.left, @@ -139176,7 +139030,7 @@ function getDraggingStyle(dragging) { width: box.borderBox.width, height: box.borderBox.height, transition: getDraggingTransition(shouldAnimate, dropping), - transform, + transform: transform, opacity: getDraggingOpacity(isCombining, isDropAnimating), zIndex: isDropAnimating ? zIndexOptions.dropAnimating : zIndexOptions.dragging, pointerEvents: 'none' @@ -139192,182 +139046,177 @@ function getSecondaryStyle(secondary) { function getStyle$1(mapped) { return mapped.type === 'DRAGGING' ? getDraggingStyle(mapped) : getSecondaryStyle(mapped); } - function getDimension$1(descriptor, el, windowScroll) { if (windowScroll === void 0) { windowScroll = origin; } - const computedStyles = window.getComputedStyle(el); - const borderBox = el.getBoundingClientRect(); - const client = calculateBox(borderBox, computedStyles); - const page = withScroll(client, windowScroll); - const placeholder = { - client, + var computedStyles = window.getComputedStyle(el); + var borderBox = el.getBoundingClientRect(); + var client = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* calculateBox */ "a"])(borderBox, computedStyles); + var page = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* withScroll */ "g"])(client, windowScroll); + var placeholder = { + client: client, tagName: el.tagName.toLowerCase(), display: computedStyles.display }; - const displaceBy = { + var displaceBy = { x: client.marginBox.width, y: client.marginBox.height }; - const dimension = { - descriptor, - placeholder, - displaceBy, - client, - page + var dimension = { + descriptor: descriptor, + placeholder: placeholder, + displaceBy: displaceBy, + client: client, + page: page }; return dimension; } - function useDraggablePublisher(args) { - const uniqueId = useUniqueId$1('draggable'); - const { - descriptor, - registry, - getDraggableRef, - canDragInteractiveElements, - shouldRespectForcePress, - isEnabled - } = args; - const options = useMemo(() => ({ - canDragInteractiveElements, - shouldRespectForcePress, - isEnabled - }), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]); - const getDimension = useCallback(windowScroll => { - const el = getDraggableRef(); - !el ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot get dimension when no ref is set') : invariant(false) : void 0; + var uniqueId = useUniqueId$1('draggable'); + var descriptor = args.descriptor, + registry = args.registry, + getDraggableRef = args.getDraggableRef, + canDragInteractiveElements = args.canDragInteractiveElements, + shouldRespectForcePress = args.shouldRespectForcePress, + isEnabled = args.isEnabled; + var options = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + canDragInteractiveElements: canDragInteractiveElements, + shouldRespectForcePress: shouldRespectForcePress, + isEnabled: isEnabled + }; + }, [canDragInteractiveElements, isEnabled, shouldRespectForcePress]); + var getDimension = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (windowScroll) { + var el = getDraggableRef(); + !el ? false ? undefined : invariant(false) : void 0; return getDimension$1(descriptor, el, windowScroll); }, [descriptor, getDraggableRef]); - const entry = useMemo(() => ({ - uniqueId, - descriptor, - options, - getDimension - }), [descriptor, getDimension, options, uniqueId]); - const publishedRef = useRef(entry); - const isFirstPublishRef = useRef(true); - useLayoutEffect(() => { + var entry = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + uniqueId: uniqueId, + descriptor: descriptor, + options: options, + getDimension: getDimension + }; + }, [descriptor, getDimension, options, uniqueId]); + var publishedRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(entry); + var isFirstPublishRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(true); + useLayoutEffect(function () { registry.draggable.register(publishedRef.current); - return () => registry.draggable.unregister(publishedRef.current); + return function () { + return registry.draggable.unregister(publishedRef.current); + }; }, [registry.draggable]); - useLayoutEffect(() => { + useLayoutEffect(function () { if (isFirstPublishRef.current) { isFirstPublishRef.current = false; return; } - const last = publishedRef.current; + var last = publishedRef.current; publishedRef.current = entry; registry.draggable.update(entry, last); }, [entry, registry.draggable]); } - -var DroppableContext = React.createContext(null); - +var DroppableContext = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext(null); function checkIsValidInnerRef(el) { - !(el && isHtmlElement(el)) ? process.env.NODE_ENV !== "production" ? invariant(false, ` - provided.innerRef has not been provided with a HTMLElement. - - You can find a guide on using the innerRef callback functions at: - https://github.com/hello-pangea/dnd/blob/main/docs/guides/using-inner-ref.md - `) : invariant(false) : void 0; + !(el && isHtmlElement(el)) ? false ? undefined : invariant(false) : void 0; } - function useValidation$1(props, contextId, getRef) { - useDevSetupWarning(() => { + useDevSetupWarning(function () { function prefix(id) { - return `Draggable[id: ${id}]: `; + return "Draggable[id: ".concat(id, "]: "); } - const id = props.draggableId; - !id ? process.env.NODE_ENV !== "production" ? invariant(false, 'Draggable requires a draggableId') : invariant(false) : void 0; - !(typeof id === 'string') ? process.env.NODE_ENV !== "production" ? invariant(false, `Draggable requires a [string] draggableId. - Provided: [type: ${typeof id}] (value: ${id})`) : invariant(false) : void 0; - !Number.isInteger(props.index) ? process.env.NODE_ENV !== "production" ? invariant(false, `${prefix(id)} requires an integer index prop`) : invariant(false) : void 0; + var id = props.draggableId; + !id ? false ? undefined : invariant(false) : void 0; + !(typeof id === 'string') ? false ? undefined : invariant(false) : void 0; + !Number.isInteger(props.index) ? false ? undefined : invariant(false) : void 0; if (props.mapped.type === 'DRAGGING') { return; } checkIsValidInnerRef(getRef()); if (props.isEnabled) { - !findDragHandle(contextId, id) ? process.env.NODE_ENV !== "production" ? invariant(false, `${prefix(id)} Unable to find drag handle`) : invariant(false) : void 0; + !findDragHandle(contextId, id) ? false ? undefined : invariant(false) : void 0; } }); } function useClonePropValidation(isClone) { - useDev(() => { - const initialRef = useRef(isClone); - useDevSetupWarning(() => { - !(isClone === initialRef.current) ? process.env.NODE_ENV !== "production" ? invariant(false, 'Draggable isClone prop value changed during component life') : invariant(false) : void 0; + useDev(function () { + var initialRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(isClone); + useDevSetupWarning(function () { + !(isClone === initialRef.current) ? false ? undefined : invariant(false) : void 0; }, [isClone]); }); } - function useRequiredContext(Context) { - const result = useContext(Context); - !result ? process.env.NODE_ENV !== "production" ? invariant(false, 'Could not find required context') : invariant(false) : void 0; + var result = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(Context); + !result ? false ? undefined : invariant(false) : void 0; return result; } - function preventHtml5Dnd(event) { event.preventDefault(); } -const Draggable = props => { - const ref = useRef(null); - const setRef = useCallback(function (el) { +var Draggable = function Draggable(props) { + var ref = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var setRef = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (el) { if (el === void 0) { el = null; } ref.current = el; }, []); - const getRef = useCallback(() => ref.current, []); - const { - contextId, - dragHandleUsageInstructionsId, - registry - } = useRequiredContext(AppContext); - const { - type, - droppableId - } = useRequiredContext(DroppableContext); - const descriptor = useMemo(() => ({ - id: props.draggableId, - index: props.index, - type, - droppableId - }), [props.draggableId, props.index, type, droppableId]); - const { - children, - draggableId, - isEnabled, - shouldRespectForcePress, - canDragInteractiveElements, - isClone, - mapped, - dropAnimationFinished: dropAnimationFinishedAction - } = props; + var getRef = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + return ref.current; + }, []); + var _useRequiredContext = useRequiredContext(AppContext), + contextId = _useRequiredContext.contextId, + dragHandleUsageInstructionsId = _useRequiredContext.dragHandleUsageInstructionsId, + registry = _useRequiredContext.registry; + var _useRequiredContext2 = useRequiredContext(DroppableContext), + type = _useRequiredContext2.type, + droppableId = _useRequiredContext2.droppableId; + var descriptor = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + id: props.draggableId, + index: props.index, + type: type, + droppableId: droppableId + }; + }, [props.draggableId, props.index, type, droppableId]); + var children = props.children, + draggableId = props.draggableId, + isEnabled = props.isEnabled, + shouldRespectForcePress = props.shouldRespectForcePress, + canDragInteractiveElements = props.canDragInteractiveElements, + isClone = props.isClone, + mapped = props.mapped, + dropAnimationFinishedAction = props.dropAnimationFinished; useValidation$1(props, contextId, getRef); useClonePropValidation(isClone); if (!isClone) { - const forPublisher = useMemo(() => ({ - descriptor, - registry, - getDraggableRef: getRef, - canDragInteractiveElements, - shouldRespectForcePress, - isEnabled - }), [descriptor, registry, getRef, canDragInteractiveElements, shouldRespectForcePress, isEnabled]); + var forPublisher = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + descriptor: descriptor, + registry: registry, + getDraggableRef: getRef, + canDragInteractiveElements: canDragInteractiveElements, + shouldRespectForcePress: shouldRespectForcePress, + isEnabled: isEnabled + }; + }, [descriptor, registry, getRef, canDragInteractiveElements, shouldRespectForcePress, isEnabled]); useDraggablePublisher(forPublisher); } - const dragHandleProps = useMemo(() => isEnabled ? { - tabIndex: 0, - role: 'button', - 'aria-describedby': dragHandleUsageInstructionsId, - 'data-rfd-drag-handle-draggable-id': draggableId, - 'data-rfd-drag-handle-context-id': contextId, - draggable: false, - onDragStart: preventHtml5Dnd - } : null, [contextId, dragHandleUsageInstructionsId, draggableId, isEnabled]); - const onMoveEnd = useCallback(event => { + var dragHandleProps = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return isEnabled ? { + tabIndex: 0, + role: 'button', + 'aria-describedby': dragHandleUsageInstructionsId, + 'data-rfd-drag-handle-draggable-id': draggableId, + 'data-rfd-drag-handle-context-id': contextId, + draggable: false, + onDragStart: preventHtml5Dnd + } : null; + }, [contextId, dragHandleUsageInstructionsId, draggableId, isEnabled]); + var onMoveEnd = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (event) { if (mapped.type !== 'DRAGGING') { return; } @@ -139377,46 +139226,46 @@ const Draggable = props => { if (event.propertyName !== 'transform') { return; } - if (React.version.startsWith('16') || React.version.startsWith('17')) { + if (react__WEBPACK_IMPORTED_MODULE_0___default.a.version.startsWith('16') || react__WEBPACK_IMPORTED_MODULE_0___default.a.version.startsWith('17')) { dropAnimationFinishedAction(); } else { - flushSync(dropAnimationFinishedAction); + Object(react_dom__WEBPACK_IMPORTED_MODULE_1__["flushSync"])(dropAnimationFinishedAction); } }, [dropAnimationFinishedAction, mapped]); - const provided = useMemo(() => { - const style = getStyle$1(mapped); - const onTransitionEnd = mapped.type === 'DRAGGING' && mapped.dropping ? onMoveEnd : undefined; - const result = { + var provided = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + var style = getStyle$1(mapped); + var onTransitionEnd = mapped.type === 'DRAGGING' && mapped.dropping ? onMoveEnd : undefined; + var result = { innerRef: setRef, draggableProps: { 'data-rfd-draggable-context-id': contextId, 'data-rfd-draggable-id': draggableId, - style, - onTransitionEnd + style: style, + onTransitionEnd: onTransitionEnd }, - dragHandleProps + dragHandleProps: dragHandleProps }; return result; }, [contextId, dragHandleProps, draggableId, mapped, onMoveEnd, setRef]); - const rubric = useMemo(() => ({ - draggableId: descriptor.id, - type: descriptor.type, - source: { - index: descriptor.index, - droppableId: descriptor.droppableId - } - }), [descriptor.droppableId, descriptor.id, descriptor.index, descriptor.type]); - return React.createElement(React.Fragment, null, children(provided, mapped.snapshot, rubric)); + var rubric = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + draggableId: descriptor.id, + type: descriptor.type, + source: { + index: descriptor.index, + droppableId: descriptor.droppableId + } + }; + }, [descriptor.droppableId, descriptor.id, descriptor.index, descriptor.type]); + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment, null, children(provided, mapped.snapshot, rubric)); }; var Draggable$1 = Draggable; - -var isStrictEqual = ((a, b) => a === b); - -var whatIsDraggedOverFromResult = (result => { - const { - combine, - destination - } = result; +var isStrictEqual = function isStrictEqual(a, b) { + return a === b; +}; +var whatIsDraggedOverFromResult = function whatIsDraggedOverFromResult(result) { + var combine = result.combine, + destination = result.destination; if (destination) { return destination.droppableId; } @@ -139424,20 +139273,21 @@ var whatIsDraggedOverFromResult = (result => { return combine.droppableId; } return null; -}); - -const getCombineWithFromResult = result => { +}; +var getCombineWithFromResult = function getCombineWithFromResult(result) { return result.combine ? result.combine.draggableId : null; }; -const getCombineWithFromImpact = impact => { +var getCombineWithFromImpact = function getCombineWithFromImpact(impact) { return impact.at && impact.at.type === 'COMBINE' ? impact.at.combine.draggableId : null; }; function getDraggableSelector() { - const memoizedOffset = memoizeOne((x, y) => ({ - x, - y - })); - const getMemoizedSnapshot = memoizeOne(function (mode, isClone, draggingOver, combineWith, dropping) { + var memoizedOffset = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (x, y) { + return { + x: x, + y: y + }; + }); + var getMemoizedSnapshot = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (mode, isClone, draggingOver, combineWith, dropping) { if (draggingOver === void 0) { draggingOver = null; } @@ -139449,16 +139299,16 @@ function getDraggableSelector() { } return { isDragging: true, - isClone, + isClone: isClone, isDropAnimating: Boolean(dropping), dropAnimation: dropping, - mode, - draggingOver, - combineWith, + mode: mode, + draggingOver: draggingOver, + combineWith: combineWith, combineTargetFor: null }; }); - const getMemoizedProps = memoizeOne(function (offset, mode, dimension, isClone, draggingOver, combineWith, forceShouldAnimate) { + var getMemoizedProps = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (offset, mode, dimension, isClone, draggingOver, combineWith, forceShouldAnimate) { if (draggingOver === void 0) { draggingOver = null; } @@ -139472,58 +139322,58 @@ function getDraggableSelector() { mapped: { type: 'DRAGGING', dropping: null, - draggingOver, - combineWith, - mode, - offset, - dimension, - forceShouldAnimate, + draggingOver: draggingOver, + combineWith: combineWith, + mode: mode, + offset: offset, + dimension: dimension, + forceShouldAnimate: forceShouldAnimate, snapshot: getMemoizedSnapshot(mode, isClone, draggingOver, combineWith, null) } }; }); - const selector = (state, ownProps) => { + var selector = function selector(state, ownProps) { if (isDragging(state)) { if (state.critical.draggable.id !== ownProps.draggableId) { return null; } - const offset = state.current.client.offset; - const dimension = state.dimensions.draggables[ownProps.draggableId]; - const draggingOver = whatIsDraggedOver(state.impact); - const combineWith = getCombineWithFromImpact(state.impact); - const forceShouldAnimate = state.forceShouldAnimate; - return getMemoizedProps(memoizedOffset(offset.x, offset.y), state.movementMode, dimension, ownProps.isClone, draggingOver, combineWith, forceShouldAnimate); + var _offset = state.current.client.offset; + var dimension = state.dimensions.draggables[ownProps.draggableId]; + var draggingOver = whatIsDraggedOver(state.impact); + var combineWith = getCombineWithFromImpact(state.impact); + var forceShouldAnimate = state.forceShouldAnimate; + return getMemoizedProps(memoizedOffset(_offset.x, _offset.y), state.movementMode, dimension, ownProps.isClone, draggingOver, combineWith, forceShouldAnimate); } if (state.phase === 'DROP_ANIMATING') { - const completed = state.completed; + var completed = state.completed; if (completed.result.draggableId !== ownProps.draggableId) { return null; } - const isClone = ownProps.isClone; - const dimension = state.dimensions.draggables[ownProps.draggableId]; - const result = completed.result; - const mode = result.mode; - const draggingOver = whatIsDraggedOverFromResult(result); - const combineWith = getCombineWithFromResult(result); - const duration = state.dropDuration; - const dropping = { - duration, + var isClone = ownProps.isClone; + var _dimension2 = state.dimensions.draggables[ownProps.draggableId]; + var result = completed.result; + var mode = result.mode; + var _draggingOver = whatIsDraggedOverFromResult(result); + var _combineWith = getCombineWithFromResult(result); + var duration = state.dropDuration; + var dropping = { + duration: duration, curve: curves.drop, moveTo: state.newHomeClientOffset, - opacity: combineWith ? combine.opacity.drop : null, - scale: combineWith ? combine.scale.drop : null + opacity: _combineWith ? combine.opacity.drop : null, + scale: _combineWith ? combine.scale.drop : null }; return { mapped: { type: 'DRAGGING', offset: state.newHomeClientOffset, - dimension, - dropping, - draggingOver, - combineWith, - mode, + dimension: _dimension2, + dropping: dropping, + draggingOver: _draggingOver, + combineWith: _combineWith, + mode: mode, forceShouldAnimate: null, - snapshot: getMemoizedSnapshot(mode, isClone, draggingOver, combineWith, dropping) + snapshot: getMemoizedSnapshot(mode, isClone, _draggingOver, _combineWith, dropping) } }; } @@ -139542,11 +139392,11 @@ function getSecondarySnapshot(combineTargetFor) { dropAnimation: null, mode: null, draggingOver: null, - combineTargetFor, + combineTargetFor: combineTargetFor, combineWith: null }; } -const atRest = { +var atRest = { mapped: { type: 'SECONDARY', offset: origin, @@ -139556,33 +139406,35 @@ const atRest = { } }; function getSecondarySelector() { - const memoizedOffset = memoizeOne((x, y) => ({ - x, - y - })); - const getMemoizedSnapshot = memoizeOne(getSecondarySnapshot); - const getMemoizedProps = memoizeOne(function (offset, combineTargetFor, shouldAnimateDisplacement) { + var memoizedOffset = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (x, y) { + return { + x: x, + y: y + }; + }); + var getMemoizedSnapshot = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(getSecondarySnapshot); + var getMemoizedProps = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (offset, combineTargetFor, shouldAnimateDisplacement) { if (combineTargetFor === void 0) { combineTargetFor = null; } return { mapped: { type: 'SECONDARY', - offset, - combineTargetFor, - shouldAnimateDisplacement, + offset: offset, + combineTargetFor: combineTargetFor, + shouldAnimateDisplacement: shouldAnimateDisplacement, snapshot: getMemoizedSnapshot(combineTargetFor) } }; }); - const getFallback = combineTargetFor => { + var getFallback = function getFallback(combineTargetFor) { return combineTargetFor ? getMemoizedProps(origin, combineTargetFor, true) : null; }; - const getProps = (ownId, draggingId, impact, afterCritical) => { - const visualDisplacement = impact.displaced.visible[ownId]; - const isAfterCriticalInVirtualList = Boolean(afterCritical.inVirtualList && afterCritical.effected[ownId]); - const combine = tryGetCombine(impact); - const combineTargetFor = combine && combine.draggableId === ownId ? draggingId : null; + var getProps = function getProps(ownId, draggingId, impact, afterCritical) { + var visualDisplacement = impact.displaced.visible[ownId]; + var isAfterCriticalInVirtualList = Boolean(afterCritical.inVirtualList && afterCritical.effected[ownId]); + var combine = tryGetCombine(impact); + var combineTargetFor = combine && combine.draggableId === ownId ? draggingId : null; if (!visualDisplacement) { if (!isAfterCriticalInVirtualList) { return getFallback(combineTargetFor); @@ -139590,960 +139442,3444 @@ function getSecondarySelector() { if (impact.displaced.invisible[ownId]) { return null; } - const change = negate(afterCritical.displacedBy.point); - const offset = memoizedOffset(change.x, change.y); - return getMemoizedProps(offset, combineTargetFor, true); + var change = negate(afterCritical.displacedBy.point); + var _offset2 = memoizedOffset(change.x, change.y); + return getMemoizedProps(_offset2, combineTargetFor, true); + } + if (isAfterCriticalInVirtualList) { + return getFallback(combineTargetFor); + } + var displaceBy = impact.displacedBy.point; + var offset = memoizedOffset(displaceBy.x, displaceBy.y); + return getMemoizedProps(offset, combineTargetFor, visualDisplacement.shouldAnimate); + }; + var selector = function selector(state, ownProps) { + if (isDragging(state)) { + if (state.critical.draggable.id === ownProps.draggableId) { + return null; + } + return getProps(ownProps.draggableId, state.critical.draggable.id, state.impact, state.afterCritical); + } + if (state.phase === 'DROP_ANIMATING') { + var completed = state.completed; + if (completed.result.draggableId === ownProps.draggableId) { + return null; + } + return getProps(ownProps.draggableId, completed.result.draggableId, completed.impact, completed.afterCritical); + } + return null; + }; + return selector; +} +var makeMapStateToProps$1 = function makeMapStateToProps$1() { + var draggingSelector = getDraggableSelector(); + var secondarySelector = getSecondarySelector(); + var selector = function selector(state, ownProps) { + return draggingSelector(state, ownProps) || secondarySelector(state, ownProps) || atRest; + }; + return selector; +}; +var mapDispatchToProps$1 = { + dropAnimationFinished: dropAnimationFinished +}; +var ConnectedDraggable = Object(react_redux__WEBPACK_IMPORTED_MODULE_3__[/* connect */ "b"])(makeMapStateToProps$1, mapDispatchToProps$1, null, { + context: StoreContext, + areStatePropsEqual: isStrictEqual +})(Draggable$1); +var ConnectedDraggable$1 = ConnectedDraggable; +function PrivateDraggable(props) { + var droppableContext = useRequiredContext(DroppableContext); + var isUsingCloneFor = droppableContext.isUsingCloneFor; + if (isUsingCloneFor === props.draggableId && !props.isClone) { + return null; + } + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(ConnectedDraggable$1, props); +} +function PublicDraggable(props) { + var isEnabled = typeof props.isDragDisabled === 'boolean' ? !props.isDragDisabled : true; + var canDragInteractiveElements = Boolean(props.disableInteractiveElementBlocking); + var shouldRespectForcePress = Boolean(props.shouldRespectForcePress); + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(PrivateDraggable, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"])({}, props, { + isClone: false, + isEnabled: isEnabled, + canDragInteractiveElements: canDragInteractiveElements, + shouldRespectForcePress: shouldRespectForcePress + })); +} +var isEqual = function isEqual(base) { + return function (value) { + return base === value; + }; +}; +var isScroll = isEqual('scroll'); +var isAuto = isEqual('auto'); +var isVisible = isEqual('visible'); +var isEither = function isEither(overflow, fn) { + return fn(overflow.overflowX) || fn(overflow.overflowY); +}; +var isBoth = function isBoth(overflow, fn) { + return fn(overflow.overflowX) && fn(overflow.overflowY); +}; +var isElementScrollable = function isElementScrollable(el) { + var style = window.getComputedStyle(el); + var overflow = { + overflowX: style.overflowX, + overflowY: style.overflowY + }; + return isEither(overflow, isScroll) || isEither(overflow, isAuto); +}; +var isBodyScrollable = function isBodyScrollable() { + if (true) { + return false; + } + var body = getBodyElement(); + var html = document.documentElement; + !html ? false ? undefined : invariant(false) : void 0; + if (!isElementScrollable(body)) { + return false; + } + var htmlStyle = window.getComputedStyle(html); + var htmlOverflow = { + overflowX: htmlStyle.overflowX, + overflowY: htmlStyle.overflowY + }; + if (isBoth(htmlOverflow, isVisible)) { + return false; + } + false ? undefined : void 0; + return false; +}; +var getClosestScrollable = function getClosestScrollable(el) { + if (el == null) { + return null; + } + if (el === document.body) { + return isBodyScrollable() ? el : null; + } + if (el === document.documentElement) { + return null; + } + if (!isElementScrollable(el)) { + return getClosestScrollable(el.parentElement); + } + return el; +}; +var getClosestScrollable$1 = getClosestScrollable; +var checkForNestedScrollContainers = function checkForNestedScrollContainers(scrollable) { + if (!scrollable) { + return; + } + var anotherScrollParent = getClosestScrollable$1(scrollable.parentElement); + if (!anotherScrollParent) { + return; + } + false ? undefined : void 0; +}; +var getScroll = function getScroll(el) { + return { + x: el.scrollLeft, + y: el.scrollTop + }; +}; +var getIsFixed = function getIsFixed(el) { + if (!el) { + return false; + } + var style = window.getComputedStyle(el); + if (style.position === 'fixed') { + return true; + } + return getIsFixed(el.parentElement); +}; +var getEnv = function getEnv(start) { + var closestScrollable = getClosestScrollable$1(start); + var isFixedOnPage = getIsFixed(start); + return { + closestScrollable: closestScrollable, + isFixedOnPage: isFixedOnPage + }; +}; +var getDroppableDimension = function getDroppableDimension(_ref) { + var descriptor = _ref.descriptor, + isEnabled = _ref.isEnabled, + isCombineEnabled = _ref.isCombineEnabled, + isFixedOnPage = _ref.isFixedOnPage, + direction = _ref.direction, + client = _ref.client, + page = _ref.page, + closest = _ref.closest; + var frame = function () { + if (!closest) { + return null; + } + var scrollSize = closest.scrollSize, + frameClient = closest.client; + var maxScroll = getMaxScroll({ + scrollHeight: scrollSize.scrollHeight, + scrollWidth: scrollSize.scrollWidth, + height: frameClient.paddingBox.height, + width: frameClient.paddingBox.width + }); + return { + pageMarginBox: closest.page.marginBox, + frameClient: frameClient, + scrollSize: scrollSize, + shouldClipSubject: closest.shouldClipSubject, + scroll: { + initial: closest.scroll, + current: closest.scroll, + max: maxScroll, + diff: { + value: origin, + displacement: origin + } + } + }; + }(); + var axis = direction === 'vertical' ? vertical : horizontal; + var subject = getSubject({ + page: page, + withPlaceholder: null, + axis: axis, + frame: frame + }); + var dimension = { + descriptor: descriptor, + isCombineEnabled: isCombineEnabled, + isFixedOnPage: isFixedOnPage, + axis: axis, + isEnabled: isEnabled, + client: client, + page: page, + frame: frame, + subject: subject + }; + return dimension; +}; +var getClient = function getClient(targetRef, closestScrollable) { + var base = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getBox */ "d"])(targetRef); + if (!closestScrollable) { + return base; + } + if (targetRef !== closestScrollable) { + return base; + } + var top = base.paddingBox.top - closestScrollable.scrollTop; + var left = base.paddingBox.left - closestScrollable.scrollLeft; + var bottom = top + closestScrollable.scrollHeight; + var right = left + closestScrollable.scrollWidth; + var paddingBox = { + top: top, + right: right, + bottom: bottom, + left: left + }; + var borderBox = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* expand */ "c"])(paddingBox, base.border); + var client = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* createBox */ "b"])({ + borderBox: borderBox, + margin: base.margin, + border: base.border, + padding: base.padding + }); + return client; +}; +var getDimension = function getDimension(_ref) { + var ref = _ref.ref, + descriptor = _ref.descriptor, + env = _ref.env, + windowScroll = _ref.windowScroll, + direction = _ref.direction, + isDropDisabled = _ref.isDropDisabled, + isCombineEnabled = _ref.isCombineEnabled, + shouldClipSubject = _ref.shouldClipSubject; + var closestScrollable = env.closestScrollable; + var client = getClient(ref, closestScrollable); + var page = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* withScroll */ "g"])(client, windowScroll); + var closest = function () { + if (!closestScrollable) { + return null; + } + var frameClient = Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* getBox */ "d"])(closestScrollable); + var scrollSize = { + scrollHeight: closestScrollable.scrollHeight, + scrollWidth: closestScrollable.scrollWidth + }; + return { + client: frameClient, + page: Object(css_box_model__WEBPACK_IMPORTED_MODULE_5__[/* withScroll */ "g"])(frameClient, windowScroll), + scroll: getScroll(closestScrollable), + scrollSize: scrollSize, + shouldClipSubject: shouldClipSubject + }; + }(); + var dimension = getDroppableDimension({ + descriptor: descriptor, + isEnabled: !isDropDisabled, + isCombineEnabled: isCombineEnabled, + isFixedOnPage: env.isFixedOnPage, + direction: direction, + client: client, + page: page, + closest: closest + }); + return dimension; +}; +var immediate = { + passive: false +}; +var delayed = { + passive: true +}; +var getListenerOptions = function getListenerOptions(options) { + return options.shouldPublishImmediately ? immediate : delayed; +}; +var getClosestScrollableFromDrag = function getClosestScrollableFromDrag(dragging) { + return dragging && dragging.env.closestScrollable || null; +}; +function useDroppablePublisher(args) { + var whileDraggingRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var appContext = useRequiredContext(AppContext); + var uniqueId = useUniqueId$1('droppable'); + var registry = appContext.registry, + marshal = appContext.marshal; + var previousRef = usePrevious(args); + var descriptor = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + id: args.droppableId, + type: args.type, + mode: args.mode + }; + }, [args.droppableId, args.mode, args.type]); + var publishedDescriptorRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(descriptor); + var memoizedUpdateScroll = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (x, y) { + !whileDraggingRef.current ? false ? undefined : invariant(false) : void 0; + var scroll = { + x: x, + y: y + }; + marshal.updateDroppableScroll(descriptor.id, scroll); + }); + }, [descriptor.id, marshal]); + var getClosestScroll = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var dragging = whileDraggingRef.current; + if (!dragging || !dragging.env.closestScrollable) { + return origin; + } + return getScroll(dragging.env.closestScrollable); + }, []); + var updateScroll = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var scroll = getClosestScroll(); + memoizedUpdateScroll(scroll.x, scroll.y); + }, [getClosestScroll, memoizedUpdateScroll]); + var scheduleScrollUpdate = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return Object(raf_schd__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(updateScroll); + }, [updateScroll]); + var onClosestScroll = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var dragging = whileDraggingRef.current; + var closest = getClosestScrollableFromDrag(dragging); + !(dragging && closest) ? false ? undefined : invariant(false) : void 0; + var options = dragging.scrollOptions; + if (options.shouldPublishImmediately) { + updateScroll(); + return; + } + scheduleScrollUpdate(); + }, [scheduleScrollUpdate, updateScroll]); + var getDimensionAndWatchScroll = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (windowScroll, options) { + !!whileDraggingRef.current ? false ? undefined : invariant(false) : void 0; + var previous = previousRef.current; + var ref = previous.getDroppableRef(); + !ref ? false ? undefined : invariant(false) : void 0; + var env = getEnv(ref); + var dragging = { + ref: ref, + descriptor: descriptor, + env: env, + scrollOptions: options + }; + whileDraggingRef.current = dragging; + var dimension = getDimension({ + ref: ref, + descriptor: descriptor, + env: env, + windowScroll: windowScroll, + direction: previous.direction, + isDropDisabled: previous.isDropDisabled, + isCombineEnabled: previous.isCombineEnabled, + shouldClipSubject: !previous.ignoreContainerClipping + }); + var scrollable = env.closestScrollable; + if (scrollable) { + scrollable.setAttribute(scrollContainer.contextId, appContext.contextId); + scrollable.addEventListener('scroll', onClosestScroll, getListenerOptions(dragging.scrollOptions)); + if (false) {} + } + return dimension; + }, [appContext.contextId, descriptor, onClosestScroll, previousRef]); + var getScrollWhileDragging = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var dragging = whileDraggingRef.current; + var closest = getClosestScrollableFromDrag(dragging); + !(dragging && closest) ? false ? undefined : invariant(false) : void 0; + return getScroll(closest); + }, []); + var dragStopped = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + var dragging = whileDraggingRef.current; + !dragging ? false ? undefined : invariant(false) : void 0; + var closest = getClosestScrollableFromDrag(dragging); + whileDraggingRef.current = null; + if (!closest) { + return; + } + scheduleScrollUpdate.cancel(); + closest.removeAttribute(scrollContainer.contextId); + closest.removeEventListener('scroll', onClosestScroll, getListenerOptions(dragging.scrollOptions)); + }, [onClosestScroll, scheduleScrollUpdate]); + var scroll = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (change) { + var dragging = whileDraggingRef.current; + !dragging ? false ? undefined : invariant(false) : void 0; + var closest = getClosestScrollableFromDrag(dragging); + !closest ? false ? undefined : invariant(false) : void 0; + closest.scrollTop += change.y; + closest.scrollLeft += change.x; + }, []); + var callbacks = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + getDimensionAndWatchScroll: getDimensionAndWatchScroll, + getScrollWhileDragging: getScrollWhileDragging, + dragStopped: dragStopped, + scroll: scroll + }; + }, [dragStopped, getDimensionAndWatchScroll, getScrollWhileDragging, scroll]); + var entry = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + uniqueId: uniqueId, + descriptor: descriptor, + callbacks: callbacks + }; + }, [callbacks, descriptor, uniqueId]); + useLayoutEffect(function () { + publishedDescriptorRef.current = entry.descriptor; + registry.droppable.register(entry); + return function () { + if (whileDraggingRef.current) { + false ? undefined : void 0; + dragStopped(); + } + registry.droppable.unregister(entry); + }; + }, [callbacks, descriptor, dragStopped, entry, marshal, registry.droppable]); + useLayoutEffect(function () { + if (!whileDraggingRef.current) { + return; + } + marshal.updateDroppableIsEnabled(publishedDescriptorRef.current.id, !args.isDropDisabled); + }, [args.isDropDisabled, marshal]); + useLayoutEffect(function () { + if (!whileDraggingRef.current) { + return; + } + marshal.updateDroppableIsCombineEnabled(publishedDescriptorRef.current.id, args.isCombineEnabled); + }, [args.isCombineEnabled, marshal]); +} +function noop() {} +var empty = { + width: 0, + height: 0, + margin: noSpacing +}; +var getSize = function getSize(_ref) { + var isAnimatingOpenOnMount = _ref.isAnimatingOpenOnMount, + placeholder = _ref.placeholder, + animate = _ref.animate; + if (isAnimatingOpenOnMount) { + return empty; + } + if (animate === 'close') { + return empty; + } + return { + height: placeholder.client.borderBox.height, + width: placeholder.client.borderBox.width, + margin: placeholder.client.margin + }; +}; +var getStyle = function getStyle(_ref2) { + var isAnimatingOpenOnMount = _ref2.isAnimatingOpenOnMount, + placeholder = _ref2.placeholder, + animate = _ref2.animate; + var size = getSize({ + isAnimatingOpenOnMount: isAnimatingOpenOnMount, + placeholder: placeholder, + animate: animate + }); + return { + display: placeholder.display, + boxSizing: 'border-box', + width: size.width, + height: size.height, + marginTop: size.margin.top, + marginRight: size.margin.right, + marginBottom: size.margin.bottom, + marginLeft: size.margin.left, + flexShrink: '0', + flexGrow: '0', + pointerEvents: 'none', + transition: animate !== 'none' ? transitions.placeholder : null + }; +}; +var Placeholder = function Placeholder(props) { + var animateOpenTimerRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var tryClearAnimateOpenTimer = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + if (!animateOpenTimerRef.current) { + return; + } + clearTimeout(animateOpenTimerRef.current); + animateOpenTimerRef.current = null; + }, []); + var animate = props.animate, + onTransitionEnd = props.onTransitionEnd, + onClose = props.onClose, + contextId = props.contextId; + var _useState = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(props.animate === 'open'), + _useState2 = _slicedToArray(_useState, 2), + isAnimatingOpenOnMount = _useState2[0], + setIsAnimatingOpenOnMount = _useState2[1]; + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () { + if (!isAnimatingOpenOnMount) { + return noop; + } + if (animate !== 'open') { + tryClearAnimateOpenTimer(); + setIsAnimatingOpenOnMount(false); + return noop; + } + if (animateOpenTimerRef.current) { + return noop; + } + animateOpenTimerRef.current = setTimeout(function () { + animateOpenTimerRef.current = null; + setIsAnimatingOpenOnMount(false); + }); + return tryClearAnimateOpenTimer; + }, [animate, isAnimatingOpenOnMount, tryClearAnimateOpenTimer]); + var onSizeChangeEnd = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (event) { + if (event.propertyName !== 'height') { + return; + } + onTransitionEnd(); + if (animate === 'close') { + onClose(); + } + }, [animate, onClose, onTransitionEnd]); + var style = getStyle({ + isAnimatingOpenOnMount: isAnimatingOpenOnMount, + animate: props.animate, + placeholder: props.placeholder + }); + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(props.placeholder.tagName, { + style: style, + 'data-rfd-placeholder-context-id': contextId, + onTransitionEnd: onSizeChangeEnd, + ref: props.innerRef + }); +}; +var Placeholder$1 = react__WEBPACK_IMPORTED_MODULE_0___default.a.memo(Placeholder); +function isBoolean(value) { + return typeof value === 'boolean'; +} +function runChecks(args, checks) { + checks.forEach(function (check) { + return check(args); + }); +} +var shared = [function required(_ref) { + var props = _ref.props; + !props.droppableId ? false ? undefined : invariant(false) : void 0; + !(typeof props.droppableId === 'string') ? false ? undefined : invariant(false) : void 0; +}, function _boolean(_ref2) { + var props = _ref2.props; + !isBoolean(props.isDropDisabled) ? false ? undefined : invariant(false) : void 0; + !isBoolean(props.isCombineEnabled) ? false ? undefined : invariant(false) : void 0; + !isBoolean(props.ignoreContainerClipping) ? false ? undefined : invariant(false) : void 0; +}, function ref(_ref3) { + var getDroppableRef = _ref3.getDroppableRef; + checkIsValidInnerRef(getDroppableRef()); +}]; +var standard = [function placeholder(_ref4) { + var props = _ref4.props, + getPlaceholderRef = _ref4.getPlaceholderRef; + if (!props.placeholder) { + return; + } + var ref = getPlaceholderRef(); + if (ref) { + return; + } + false ? undefined : void 0; +}]; +var virtual = [function hasClone(_ref5) { + var props = _ref5.props; + !props.renderClone ? false ? undefined : invariant(false) : void 0; +}, function hasNoPlaceholder(_ref6) { + var getPlaceholderRef = _ref6.getPlaceholderRef; + !!getPlaceholderRef() ? false ? undefined : invariant(false) : void 0; +}]; +function useValidation(args) { + useDevSetupWarning(function () { + runChecks(args, shared); + if (args.props.mode === 'standard') { + runChecks(args, standard); + } + if (args.props.mode === 'virtual') { + runChecks(args, virtual); + } + }); +} +var AnimateInOut = /*#__PURE__*/function (_React$PureComponent) { + _inherits(AnimateInOut, _React$PureComponent); + var _super3 = _createSuper(AnimateInOut); + function AnimateInOut() { + var _this2; + _classCallCheck(this, AnimateInOut); + _this2 = _super3.apply(this, arguments); + _this2.state = { + isVisible: Boolean(_this2.props.on), + data: _this2.props.on, + animate: _this2.props.shouldAnimate && _this2.props.on ? 'open' : 'none' + }; + _this2.onClose = function () { + if (_this2.state.animate !== 'close') { + return; + } + _this2.setState({ + isVisible: false + }); + }; + return _this2; + } + _createClass(AnimateInOut, [{ + key: "render", + value: function render() { + if (!this.state.isVisible) { + return null; + } + var provided = { + onClose: this.onClose, + data: this.state.data, + animate: this.state.animate + }; + return this.props.children(provided); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if (!props.shouldAnimate) { + return { + isVisible: Boolean(props.on), + data: props.on, + animate: 'none' + }; + } + if (props.on) { + return { + isVisible: true, + data: props.on, + animate: 'open' + }; + } + if (state.isVisible) { + return { + isVisible: true, + data: state.data, + animate: 'close' + }; + } + return { + isVisible: false, + animate: 'close', + data: null + }; + } + }]); + return AnimateInOut; +}(react__WEBPACK_IMPORTED_MODULE_0___default.a.PureComponent); +var Droppable = function Droppable(props) { + var appContext = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(AppContext); + !appContext ? false ? undefined : invariant(false) : void 0; + var contextId = appContext.contextId, + isMovementAllowed = appContext.isMovementAllowed; + var droppableRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var placeholderRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null); + var children = props.children, + droppableId = props.droppableId, + type = props.type, + mode = props.mode, + direction = props.direction, + ignoreContainerClipping = props.ignoreContainerClipping, + isDropDisabled = props.isDropDisabled, + isCombineEnabled = props.isCombineEnabled, + snapshot = props.snapshot, + useClone = props.useClone, + updateViewportMaxScroll = props.updateViewportMaxScroll, + getContainerForClone = props.getContainerForClone; + var getDroppableRef = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + return droppableRef.current; + }, []); + var setDroppableRef = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (value) { + if (value === void 0) { + value = null; + } + droppableRef.current = value; + }, []); + var getPlaceholderRef = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + return placeholderRef.current; + }, []); + var setPlaceholderRef = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function (value) { + if (value === void 0) { + value = null; + } + placeholderRef.current = value; + }, []); + useValidation({ + props: props, + getDroppableRef: getDroppableRef, + getPlaceholderRef: getPlaceholderRef + }); + var onPlaceholderTransitionEnd = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useCallback */ "a"])(function () { + if (isMovementAllowed()) { + updateViewportMaxScroll({ + maxScroll: getMaxWindowScroll() + }); + } + }, [isMovementAllowed, updateViewportMaxScroll]); + useDroppablePublisher({ + droppableId: droppableId, + type: type, + mode: mode, + direction: direction, + isDropDisabled: isDropDisabled, + isCombineEnabled: isCombineEnabled, + ignoreContainerClipping: ignoreContainerClipping, + getDroppableRef: getDroppableRef + }); + var placeholder = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(AnimateInOut, { + on: props.placeholder, + shouldAnimate: props.shouldAnimatePlaceholder + }, function (_ref) { + var onClose = _ref.onClose, + data = _ref.data, + animate = _ref.animate; + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Placeholder$1, { + placeholder: data, + onClose: onClose, + innerRef: setPlaceholderRef, + animate: animate, + contextId: contextId, + onTransitionEnd: onPlaceholderTransitionEnd + }); + }); + }, [contextId, onPlaceholderTransitionEnd, props.placeholder, props.shouldAnimatePlaceholder, setPlaceholderRef]); + var provided = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + innerRef: setDroppableRef, + placeholder: placeholder, + droppableProps: { + 'data-rfd-droppable-id': droppableId, + 'data-rfd-droppable-context-id': contextId + } + }; + }, [contextId, droppableId, placeholder, setDroppableRef]); + var isUsingCloneFor = useClone ? useClone.dragging.draggableId : null; + var droppableContext = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_4__[/* useMemo */ "b"])(function () { + return { + droppableId: droppableId, + type: type, + isUsingCloneFor: isUsingCloneFor + }; + }, [droppableId, isUsingCloneFor, type]); + function getClone() { + if (!useClone) { + return null; + } + var dragging = useClone.dragging, + render = useClone.render; + var node = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(PrivateDraggable, { + draggableId: dragging.draggableId, + index: dragging.source.index, + isClone: true, + isEnabled: true, + shouldRespectForcePress: false, + canDragInteractiveElements: true + }, function (draggableProvided, draggableSnapshot) { + return render(draggableProvided, draggableSnapshot, dragging); + }); + return react_dom__WEBPACK_IMPORTED_MODULE_1___default.a.createPortal(node, getContainerForClone()); + } + return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(DroppableContext.Provider, { + value: droppableContext + }, children(provided, snapshot), getClone()); +}; +var Droppable$1 = Droppable; +function getBody() { + !document.body ? false ? undefined : invariant(false) : void 0; + return document.body; +} +var defaultProps = { + mode: 'standard', + type: 'DEFAULT', + direction: 'vertical', + isDropDisabled: false, + isCombineEnabled: false, + ignoreContainerClipping: false, + renderClone: null, + getContainerForClone: getBody +}; +var attachDefaultPropsToOwnProps = function attachDefaultPropsToOwnProps(ownProps) { + var mergedProps = _objectSpread({}, ownProps); + var defaultPropKey; + for (defaultPropKey in defaultProps) { + if (ownProps[defaultPropKey] === undefined) { + mergedProps = _objectSpread(_objectSpread({}, mergedProps), {}, _defineProperty({}, defaultPropKey, defaultProps[defaultPropKey])); + } + } + return mergedProps; +}; +var isMatchingType = function isMatchingType(type, critical) { + return type === critical.droppable.type; +}; +var getDraggable = function getDraggable(critical, dimensions) { + return dimensions.draggables[critical.draggable.id]; +}; +var makeMapStateToProps = function makeMapStateToProps() { + var idleWithAnimation = { + placeholder: null, + shouldAnimatePlaceholder: true, + snapshot: { + isDraggingOver: false, + draggingOverWith: null, + draggingFromThisWith: null, + isUsingPlaceholder: false + }, + useClone: null + }; + var idleWithoutAnimation = _objectSpread(_objectSpread({}, idleWithAnimation), {}, { + shouldAnimatePlaceholder: false + }); + var getDraggableRubric = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (descriptor) { + return { + draggableId: descriptor.id, + type: descriptor.type, + source: { + index: descriptor.index, + droppableId: descriptor.droppableId + } + }; + }); + var getMapProps = Object(memoize_one__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(function (id, isEnabled, isDraggingOverForConsumer, isDraggingOverForImpact, dragging, renderClone) { + var draggableId = dragging.descriptor.id; + var isHome = dragging.descriptor.droppableId === id; + if (isHome) { + var useClone = renderClone ? { + render: renderClone, + dragging: getDraggableRubric(dragging.descriptor) + } : null; + var _snapshot = { + isDraggingOver: isDraggingOverForConsumer, + draggingOverWith: isDraggingOverForConsumer ? draggableId : null, + draggingFromThisWith: draggableId, + isUsingPlaceholder: true + }; + return { + placeholder: dragging.placeholder, + shouldAnimatePlaceholder: false, + snapshot: _snapshot, + useClone: useClone + }; + } + if (!isEnabled) { + return idleWithoutAnimation; + } + if (!isDraggingOverForImpact) { + return idleWithAnimation; + } + var snapshot = { + isDraggingOver: isDraggingOverForConsumer, + draggingOverWith: draggableId, + draggingFromThisWith: null, + isUsingPlaceholder: true + }; + return { + placeholder: dragging.placeholder, + shouldAnimatePlaceholder: true, + snapshot: snapshot, + useClone: null + }; + }); + var selector = function selector(state, ownProps) { + var ownPropsWithDefaultProps = attachDefaultPropsToOwnProps(ownProps); + var id = ownPropsWithDefaultProps.droppableId; + var type = ownPropsWithDefaultProps.type; + var isEnabled = !ownPropsWithDefaultProps.isDropDisabled; + var renderClone = ownPropsWithDefaultProps.renderClone; + if (isDragging(state)) { + var critical = state.critical; + if (!isMatchingType(type, critical)) { + return idleWithoutAnimation; + } + var dragging = getDraggable(critical, state.dimensions); + var isDraggingOver = whatIsDraggedOver(state.impact) === id; + return getMapProps(id, isEnabled, isDraggingOver, isDraggingOver, dragging, renderClone); + } + if (state.phase === 'DROP_ANIMATING') { + var completed = state.completed; + if (!isMatchingType(type, completed.critical)) { + return idleWithoutAnimation; + } + var _dragging2 = getDraggable(completed.critical, state.dimensions); + return getMapProps(id, isEnabled, whatIsDraggedOverFromResult(completed.result) === id, whatIsDraggedOver(completed.impact) === id, _dragging2, renderClone); + } + if (state.phase === 'IDLE' && state.completed && !state.shouldFlush) { + var _completed2 = state.completed; + if (!isMatchingType(type, _completed2.critical)) { + return idleWithoutAnimation; + } + var wasOver = whatIsDraggedOver(_completed2.impact) === id; + var wasCombining = Boolean(_completed2.impact.at && _completed2.impact.at.type === 'COMBINE'); + var isHome = _completed2.critical.droppable.id === id; + if (wasOver) { + return wasCombining ? idleWithAnimation : idleWithoutAnimation; + } + if (isHome) { + return idleWithAnimation; + } + return idleWithoutAnimation; + } + return idleWithoutAnimation; + }; + return selector; +}; +var mapDispatchToProps = { + updateViewportMaxScroll: updateViewportMaxScroll +}; +var ConnectedDroppable = Object(react_redux__WEBPACK_IMPORTED_MODULE_3__[/* connect */ "b"])(makeMapStateToProps, mapDispatchToProps, function (stateProps, dispatchProps, ownProps) { + return _objectSpread(_objectSpread(_objectSpread({}, attachDefaultPropsToOwnProps(ownProps)), stateProps), dispatchProps); +}, { + context: StoreContext, + areStatePropsEqual: isStrictEqual +})(Droppable$1); +var ConnectedDroppable$1 = ConnectedDroppable; + + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/extends.js": +/*!********************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/extends.js ***! + \********************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); +function _extends() { + _extends = Object.assign ? Object.assign.bind() : 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); +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js": +/*!*****************************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***! + \*****************************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + return target; +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/memoize-one/dist/memoize-one.esm.js": +/*!******************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/memoize-one/dist/memoize-one.esm.js ***! + \******************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return memoizeOne; }); +var safeIsNaN = Number.isNaN || function ponyfill(value) { + return typeof value === 'number' && value !== value; +}; +function isEqual(first, second) { + if (first === second) { + return true; + } + if (safeIsNaN(first) && safeIsNaN(second)) { + return true; + } + return false; +} +function areInputsEqual(newInputs, lastInputs) { + if (newInputs.length !== lastInputs.length) { + return false; + } + for (var i = 0; i < newInputs.length; i++) { + if (!isEqual(newInputs[i], lastInputs[i])) { + return false; + } + } + return true; +} +function memoizeOne(resultFn, isEqual) { + if (isEqual === void 0) { + isEqual = areInputsEqual; + } + var cache = null; + function memoized() { + var newArgs = []; + for (var _i = 0; _i < arguments.length; _i++) { + newArgs[_i] = arguments[_i]; + } + if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) { + return cache.lastResult; + } + var lastResult = resultFn.apply(this, newArgs); + cache = { + lastResult: lastResult, + lastArgs: newArgs, + lastThis: this + }; + return lastResult; + } + memoized.clear = function clear() { + cache = null; + }; + return memoized; +} + + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-is/cjs/react-is.production.min.js": +/*!**********************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-is/cjs/react-is.production.min.js ***! + \**********************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +var b = Symbol["for"]("react.element"), + c = Symbol["for"]("react.portal"), + d = Symbol["for"]("react.fragment"), + e = Symbol["for"]("react.strict_mode"), + f = Symbol["for"]("react.profiler"), + g = Symbol["for"]("react.provider"), + h = Symbol["for"]("react.context"), + k = Symbol["for"]("react.server_context"), + l = Symbol["for"]("react.forward_ref"), + m = Symbol["for"]("react.suspense"), + n = Symbol["for"]("react.suspense_list"), + p = Symbol["for"]("react.memo"), + q = Symbol["for"]("react.lazy"), + t = Symbol["for"]("react.offscreen"), + u; +u = Symbol["for"]("react.module.reference"); +function v(a) { + if ("object" === _typeof(a) && null !== a) { + var r = a.$$typeof; + switch (r) { + case b: + switch (a = a.type, a) { + case d: + case f: + case e: + case m: + case n: + return a; + default: + switch (a = a && a.$$typeof, a) { + case k: + case h: + case l: + case q: + case p: + case g: + return a; + default: + return r; + } + } + case c: + return r; + } + } +} +exports.ContextConsumer = h; +exports.ContextProvider = g; +exports.Element = b; +exports.ForwardRef = l; +exports.Fragment = d; +exports.Lazy = q; +exports.Memo = p; +exports.Portal = c; +exports.Profiler = f; +exports.StrictMode = e; +exports.Suspense = m; +exports.SuspenseList = n; +exports.isAsyncMode = function () { + return !1; +}; +exports.isConcurrentMode = function () { + return !1; +}; +exports.isContextConsumer = function (a) { + return v(a) === h; +}; +exports.isContextProvider = function (a) { + return v(a) === g; +}; +exports.isElement = function (a) { + return "object" === _typeof(a) && null !== a && a.$$typeof === b; +}; +exports.isForwardRef = function (a) { + return v(a) === l; +}; +exports.isFragment = function (a) { + return v(a) === d; +}; +exports.isLazy = function (a) { + return v(a) === q; +}; +exports.isMemo = function (a) { + return v(a) === p; +}; +exports.isPortal = function (a) { + return v(a) === c; +}; +exports.isProfiler = function (a) { + return v(a) === f; +}; +exports.isStrictMode = function (a) { + return v(a) === e; +}; +exports.isSuspense = function (a) { + return v(a) === m; +}; +exports.isSuspenseList = function (a) { + return v(a) === n; +}; +exports.isValidElementType = function (a) { + return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === _typeof(a) && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1; +}; +exports.typeOf = v; + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-is/index.js": +/*!************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-is/index.js ***! + \************************************************************************/ +/*! no static exports found */ +/*! exports used: isContextConsumer */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +if (true) { + module.exports = __webpack_require__(/*! ./cjs/react-is.production.min.js */ "../node_modules/@hello-pangea/dnd/node_modules/react-is/cjs/react-is.production.min.js"); +} else {} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js": +/*!*******************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js ***! + \*******************************************************************************************/ +/*! exports provided: ReactReduxContext, default */ +/*! exports used: ReactReduxContext */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ReactReduxContext; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + +var ContextKey = Symbol["for"]("react-redux-context"); +var gT = typeof globalThis !== "undefined" ? globalThis : /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */ +{}; +function getContext() { + var _gT$ContextKey; + if (!react__WEBPACK_IMPORTED_MODULE_0__["createContext"]) return {}; + var contextMap = (_gT$ContextKey = gT[ContextKey]) != null ? _gT$ContextKey : gT[ContextKey] = new Map(); + var realContext = contextMap.get(react__WEBPACK_IMPORTED_MODULE_0__["createContext"]); + if (!realContext) { + realContext = react__WEBPACK_IMPORTED_MODULE_0__["createContext"](null); + if (false) {} + contextMap.set(react__WEBPACK_IMPORTED_MODULE_0__["createContext"], realContext); + } + return realContext; +} +var ReactReduxContext = /*#__PURE__*/getContext(); +/* unused harmony default export */ var _unused_webpack_default_export = (ReactReduxContext); + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Provider.js": +/*!********************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Provider.js ***! + \********************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _Context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Context */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js"); +/* harmony import */ var _utils_Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/Subscription */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/Subscription.js"); +/* harmony import */ var _utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/useIsomorphicLayoutEffect */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js"); + + + + +function Provider(_ref) { + var store = _ref.store, + context = _ref.context, + children = _ref.children, + serverState = _ref.serverState, + _ref$stabilityCheck = _ref.stabilityCheck, + stabilityCheck = _ref$stabilityCheck === void 0 ? 'once' : _ref$stabilityCheck, + _ref$noopCheck = _ref.noopCheck, + noopCheck = _ref$noopCheck === void 0 ? 'once' : _ref$noopCheck; + var contextValue = react__WEBPACK_IMPORTED_MODULE_0__["useMemo"](function () { + var subscription = Object(_utils_Subscription__WEBPACK_IMPORTED_MODULE_2__[/* createSubscription */ "a"])(store); + return { + store: store, + subscription: subscription, + getServerState: serverState ? function () { + return serverState; + } : undefined, + stabilityCheck: stabilityCheck, + noopCheck: noopCheck + }; + }, [store, serverState, stabilityCheck, noopCheck]); + var previousState = react__WEBPACK_IMPORTED_MODULE_0__["useMemo"](function () { + return store.getState(); + }, [store]); + Object(_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__[/* useIsomorphicLayoutEffect */ "a"])(function () { + var subscription = contextValue.subscription; + subscription.onStateChange = subscription.notifyNestedSubs; + subscription.trySubscribe(); + if (previousState !== store.getState()) { + subscription.notifyNestedSubs(); + } + return function () { + subscription.tryUnsubscribe(); + subscription.onStateChange = undefined; + }; + }, [contextValue, previousState]); + var Context = context || _Context__WEBPACK_IMPORTED_MODULE_1__[/* ReactReduxContext */ "a"]; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype + + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createElement"](Context.Provider, { + value: contextValue + }, children); +} +/* harmony default export */ __webpack_exports__["a"] = (Provider); + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/connect.js": +/*!*******************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/connect.js ***! + \*******************************************************************************************/ +/*! exports provided: initializeConnect, default */ +/*! exports used: default, initializeConnect */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return initializeConnect; }); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/extends.js"); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"); +/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! hoist-non-react-statics */ "../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"); +/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-is */ "../node_modules/@hello-pangea/dnd/node_modules/react-is/index.js"); +/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_is__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _connect_selectorFactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../connect/selectorFactory */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/selectorFactory.js"); +/* harmony import */ var _connect_mapDispatchToProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../connect/mapDispatchToProps */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mapDispatchToProps.js"); +/* harmony import */ var _connect_mapStateToProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../connect/mapStateToProps */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mapStateToProps.js"); +/* harmony import */ var _connect_mergeProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../connect/mergeProps */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mergeProps.js"); +/* harmony import */ var _utils_Subscription__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/Subscription */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/Subscription.js"); +/* harmony import */ var _utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/useIsomorphicLayoutEffect */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js"); +/* harmony import */ var _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/shallowEqual */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/shallowEqual.js"); +/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/warning */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/warning.js"); +/* harmony import */ var _Context__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Context */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js"); +/* harmony import */ var _utils_useSyncExternalStore__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/useSyncExternalStore */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/useSyncExternalStore.js"); +function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } +function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } +function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } +function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } + + +var _excluded = ["reactReduxForwardedRef"]; + +/* eslint-disable valid-jsdoc, @typescript-eslint/no-unused-vars */ + + + + + + + + + + + + + +var useSyncExternalStore = _utils_useSyncExternalStore__WEBPACK_IMPORTED_MODULE_14__[/* notInitialized */ "a"]; +var initializeConnect = function initializeConnect(fn) { + useSyncExternalStore = fn; +}; // Define some constant arrays just to avoid re-creating these + +var EMPTY_ARRAY = [null, 0]; +var NO_SUBSCRIPTION_ARRAY = [null, null]; // Attempts to stringify whatever not-really-a-component value we were given +// for logging in an error message + +var stringifyComponent = function stringifyComponent(Comp) { + try { + return JSON.stringify(Comp); + } catch (err) { + return String(Comp); + } +}; + +// This is "just" a `useLayoutEffect`, but with two modifications: +// - we need to fall back to `useEffect` in SSR to avoid annoying warnings +// - we extract this to a separate function to avoid closing over values +// and causing memory leaks +function useIsomorphicLayoutEffectWithArgs(effectFunc, effectArgs, dependencies) { + Object(_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_10__[/* useIsomorphicLayoutEffect */ "a"])(function () { + return effectFunc.apply(void 0, _toConsumableArray(effectArgs)); + }, dependencies); +} // Effect callback, extracted: assign the latest props values to refs for later usage + +function captureWrapperProps(lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, +// actualChildProps: unknown, +childPropsFromStoreUpdate, notifyNestedSubs) { + // We want to capture the wrapper props and child props we used for later comparisons + lastWrapperProps.current = wrapperProps; + renderIsScheduled.current = false; // If the render was from a store update, clear out that reference and cascade the subscriber update + + if (childPropsFromStoreUpdate.current) { + childPropsFromStoreUpdate.current = null; + notifyNestedSubs(); + } +} // Effect callback, extracted: subscribe to the Redux store or nearest connected ancestor, +// check for updates after dispatched actions, and trigger re-renders. + +function subscribeUpdates(shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, isMounted, childPropsFromStoreUpdate, notifyNestedSubs, +// forceComponentUpdateDispatch: React.Dispatch, +additionalSubscribeListener) { + // If we're not subscribed to the store, nothing to do here + if (!shouldHandleStateChanges) return function () {}; // Capture values for checking if and when this component unmounts + + var didUnsubscribe = false; + var lastThrownError = null; // We'll run this callback every time a store subscription update propagates to this component + + var checkForUpdates = function checkForUpdates() { + if (didUnsubscribe || !isMounted.current) { + // Don't run stale listeners. + // Redux doesn't guarantee unsubscriptions happen until next dispatch. + return; + } // TODO We're currently calling getState ourselves here, rather than letting `uSES` do it + + var latestStoreState = store.getState(); + var newChildProps, error; + try { + // Actually run the selector with the most recent store state and wrapper props + // to determine what the child props should be + newChildProps = childPropsSelector(latestStoreState, lastWrapperProps.current); + } catch (e) { + error = e; + lastThrownError = e; + } + if (!error) { + lastThrownError = null; + } // If the child props haven't changed, nothing to do here - cascade the subscription update + + if (newChildProps === lastChildProps.current) { + if (!renderIsScheduled.current) { + notifyNestedSubs(); + } + } else { + // Save references to the new child props. Note that we track the "child props from store update" + // as a ref instead of a useState/useReducer because we need a way to determine if that value has + // been processed. If this went into useState/useReducer, we couldn't clear out the value without + // forcing another re-render, which we don't want. + lastChildProps.current = newChildProps; + childPropsFromStoreUpdate.current = newChildProps; + renderIsScheduled.current = true; // TODO This is hacky and not how `uSES` is meant to be used + // Trigger the React `useSyncExternalStore` subscriber + + additionalSubscribeListener(); + } + }; // Actually subscribe to the nearest connected ancestor (or store) + + subscription.onStateChange = checkForUpdates; + subscription.trySubscribe(); // Pull data from the store after first render in case the store has + // changed since we began. + + checkForUpdates(); + var unsubscribeWrapper = function unsubscribeWrapper() { + didUnsubscribe = true; + subscription.tryUnsubscribe(); + subscription.onStateChange = null; + if (lastThrownError) { + // It's possible that we caught an error due to a bad mapState function, but the + // parent re-rendered without this component and we're about to unmount. + // This shouldn't happen as long as we do top-down subscriptions correctly, but + // if we ever do those wrong, this throw will surface the error in our tests. + // In that case, throw the error from here so it doesn't get lost. + throw lastThrownError; + } + }; + return unsubscribeWrapper; +} // Reducer initial state creation for our update reducer + +var initStateUpdates = function initStateUpdates() { + return EMPTY_ARRAY; +}; +function strictEqual(a, b) { + return a === b; +} +/** + * Infers the type of props that a connector will inject into a component. + */ + +var hasWarnedAboutDeprecatedPureOption = false; +/** + * Connects a React component to a Redux store. + * + * - Without arguments, just wraps the component, without changing the behavior / props + * + * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior + * is to override ownProps (as stated in the docs), so what remains is everything that's + * not a state or dispatch prop + * + * - When 3rd param is passed, we don't know if ownProps propagate and whether they + * should be valid component props, because it depends on mergeProps implementation. + * As such, it is the user's responsibility to extend ownProps interface from state or + * dispatch props or both when applicable + * + * @param mapStateToProps A function that extracts values from state + * @param mapDispatchToProps Setup for dispatching actions + * @param mergeProps Optional callback to merge state and dispatch props together + * @param options Options for configuring the connection + * + */ + +function connect(mapStateToProps, mapDispatchToProps, mergeProps) { + var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}, + pure = _ref.pure, + _ref$areStatesEqual = _ref.areStatesEqual, + areStatesEqual = _ref$areStatesEqual === void 0 ? strictEqual : _ref$areStatesEqual, + _ref$areOwnPropsEqual = _ref.areOwnPropsEqual, + areOwnPropsEqual = _ref$areOwnPropsEqual === void 0 ? _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"] : _ref$areOwnPropsEqual, + _ref$areStatePropsEqu = _ref.areStatePropsEqual, + areStatePropsEqual = _ref$areStatePropsEqu === void 0 ? _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"] : _ref$areStatePropsEqu, + _ref$areMergedPropsEq = _ref.areMergedPropsEqual, + areMergedPropsEqual = _ref$areMergedPropsEq === void 0 ? _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"] : _ref$areMergedPropsEq, + _ref$forwardRef = _ref.forwardRef, + forwardRef = _ref$forwardRef === void 0 ? false : _ref$forwardRef, + _ref$context = _ref.context, + context = _ref$context === void 0 ? _Context__WEBPACK_IMPORTED_MODULE_13__[/* ReactReduxContext */ "a"] : _ref$context; + if (false) {} + var Context = context; + var initMapStateToProps = Object(_connect_mapStateToProps__WEBPACK_IMPORTED_MODULE_7__[/* mapStateToPropsFactory */ "a"])(mapStateToProps); + var initMapDispatchToProps = Object(_connect_mapDispatchToProps__WEBPACK_IMPORTED_MODULE_6__[/* mapDispatchToPropsFactory */ "a"])(mapDispatchToProps); + var initMergeProps = Object(_connect_mergeProps__WEBPACK_IMPORTED_MODULE_8__[/* mergePropsFactory */ "a"])(mergeProps); + var shouldHandleStateChanges = Boolean(mapStateToProps); + var wrapWithConnect = function wrapWithConnect(WrappedComponent) { + if (false) {} + var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component'; + var displayName = "Connect(".concat(wrappedComponentName, ")"); + var selectorFactoryOptions = { + shouldHandleStateChanges: shouldHandleStateChanges, + displayName: displayName, + wrappedComponentName: wrappedComponentName, + WrappedComponent: WrappedComponent, + // @ts-ignore + initMapStateToProps: initMapStateToProps, + // @ts-ignore + initMapDispatchToProps: initMapDispatchToProps, + initMergeProps: initMergeProps, + areStatesEqual: areStatesEqual, + areStatePropsEqual: areStatePropsEqual, + areOwnPropsEqual: areOwnPropsEqual, + areMergedPropsEqual: areMergedPropsEqual + }; + function ConnectFunction(props) { + var _React$useMemo = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + // Distinguish between actual "data" props that were passed to the wrapper component, + // and values needed to control behavior (forwarded refs, alternate context instances). + // To maintain the wrapperProps object reference, memoize this destructuring. + var reactReduxForwardedRef = props.reactReduxForwardedRef, + wrapperProps = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(props, _excluded); + return [props.context, reactReduxForwardedRef, wrapperProps]; + }, [props]), + _React$useMemo2 = _slicedToArray(_React$useMemo, 3), + propsContext = _React$useMemo2[0], + reactReduxForwardedRef = _React$useMemo2[1], + wrapperProps = _React$useMemo2[2]; + var ContextToUse = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + // Users may optionally pass in a custom context instance to use instead of our ReactReduxContext. + // Memoize the check that determines which context instance we should use. + return propsContext && propsContext.Consumer && + // @ts-ignore + Object(react_is__WEBPACK_IMPORTED_MODULE_4__["isContextConsumer"])( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["createElement"](propsContext.Consumer, null)) ? propsContext : Context; + }, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available + + var contextValue = react__WEBPACK_IMPORTED_MODULE_3__["useContext"](ContextToUse); // The store _must_ exist as either a prop or in context. + // We'll check to see if it _looks_ like a Redux store first. + // This allows us to pass through a `store` prop that is just a plain value. + + var didStoreComeFromProps = Boolean(props.store) && Boolean(props.store.getState) && Boolean(props.store.dispatch); + var didStoreComeFromContext = Boolean(contextValue) && Boolean(contextValue.store); + if (false) {} // Based on the previous check, one of these must be true + + var store = didStoreComeFromProps ? props.store : contextValue.store; + var getServerState = didStoreComeFromContext ? contextValue.getServerState : store.getState; + var childPropsSelector = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + // The child props selector needs the store reference as an input. + // Re-create this selector whenever the store changes. + return Object(_connect_selectorFactory__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(store.dispatch, selectorFactoryOptions); + }, [store]); + var _React$useMemo3 = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component + // connected to the store via props shouldn't use subscription from context, or vice versa. + + var subscription = Object(_utils_Subscription__WEBPACK_IMPORTED_MODULE_9__[/* createSubscription */ "a"])(store, didStoreComeFromProps ? undefined : contextValue.subscription); // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in + // the middle of the notification loop, where `subscription` will then be null. This can + // probably be avoided if Subscription's listeners logic is changed to not call listeners + // that have been unsubscribed in the middle of the notification loop. + + var notifyNestedSubs = subscription.notifyNestedSubs.bind(subscription); + return [subscription, notifyNestedSubs]; + }, [store, didStoreComeFromProps, contextValue]), + _React$useMemo4 = _slicedToArray(_React$useMemo3, 2), + subscription = _React$useMemo4[0], + notifyNestedSubs = _React$useMemo4[1]; // Determine what {store, subscription} value should be put into nested context, if necessary, + // and memoize that value to avoid unnecessary context updates. + + var overriddenContextValue = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + if (didStoreComeFromProps) { + // This component is directly subscribed to a store from props. + // We don't want descendants reading from this store - pass down whatever + // the existing context value is from the nearest connected ancestor. + return contextValue; + } // Otherwise, put this component's subscription instance into context, so that + // connected descendants won't update until after this component is done + + return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, contextValue, { + subscription: subscription + }); + }, [didStoreComeFromProps, contextValue, subscription]); // Set up refs to coordinate values between the subscription effect and the render logic + + var lastChildProps = react__WEBPACK_IMPORTED_MODULE_3__["useRef"](); + var lastWrapperProps = react__WEBPACK_IMPORTED_MODULE_3__["useRef"](wrapperProps); + var childPropsFromStoreUpdate = react__WEBPACK_IMPORTED_MODULE_3__["useRef"](); + var renderIsScheduled = react__WEBPACK_IMPORTED_MODULE_3__["useRef"](false); + var isProcessingDispatch = react__WEBPACK_IMPORTED_MODULE_3__["useRef"](false); + var isMounted = react__WEBPACK_IMPORTED_MODULE_3__["useRef"](false); + var latestSubscriptionCallbackError = react__WEBPACK_IMPORTED_MODULE_3__["useRef"](); + Object(_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_10__[/* useIsomorphicLayoutEffect */ "a"])(function () { + isMounted.current = true; + return function () { + isMounted.current = false; + }; + }, []); + var actualChildPropsSelector = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + var selector = function selector() { + // Tricky logic here: + // - This render may have been triggered by a Redux store update that produced new child props + // - However, we may have gotten new wrapper props after that + // If we have new child props, and the same wrapper props, we know we should use the new child props as-is. + // But, if we have new wrapper props, those might change the child props, so we have to recalculate things. + // So, we'll use the child props from store update only if the wrapper props are the same as last time. + if (childPropsFromStoreUpdate.current && wrapperProps === lastWrapperProps.current) { + return childPropsFromStoreUpdate.current; + } // TODO We're reading the store directly in render() here. Bad idea? + // This will likely cause Bad Things (TM) to happen in Concurrent Mode. + // Note that we do this because on renders _not_ caused by store updates, we need the latest store state + // to determine what the child props should be. + + return childPropsSelector(store.getState(), wrapperProps); + }; + return selector; + }, [store, wrapperProps]); // We need this to execute synchronously every time we re-render. However, React warns + // about useLayoutEffect in SSR, so we try to detect environment and fall back to + // just useEffect instead to avoid the warning, since neither will run anyway. + + var subscribeForReact = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + var subscribe = function subscribe(reactListener) { + if (!subscription) { + return function () {}; + } + return subscribeUpdates(shouldHandleStateChanges, store, subscription, + // @ts-ignore + childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, isMounted, childPropsFromStoreUpdate, notifyNestedSubs, reactListener); + }; + return subscribe; + }, [subscription]); + useIsomorphicLayoutEffectWithArgs(captureWrapperProps, [lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, childPropsFromStoreUpdate, notifyNestedSubs]); + var actualChildProps; + try { + actualChildProps = useSyncExternalStore( + // TODO We're passing through a big wrapper that does a bunch of extra side effects besides subscribing + subscribeForReact, + // TODO This is incredibly hacky. We've already processed the store update and calculated new child props, + // TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`. + actualChildPropsSelector, getServerState ? function () { + return childPropsSelector(getServerState(), wrapperProps); + } : actualChildPropsSelector); + } catch (err) { + if (latestSubscriptionCallbackError.current) { + ; + err.message += "\nThe error may be correlated with this previous error:\n".concat(latestSubscriptionCallbackError.current.stack, "\n\n"); + } + throw err; + } + Object(_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_10__[/* useIsomorphicLayoutEffect */ "a"])(function () { + latestSubscriptionCallbackError.current = undefined; + childPropsFromStoreUpdate.current = undefined; + lastChildProps.current = actualChildProps; + }); // Now that all that's done, we can finally try to actually render the child component. + // We memoize the elements for the rendered child component as an optimization. + + var renderedWrappedComponent = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + return /*#__PURE__*/( + // @ts-ignore + react__WEBPACK_IMPORTED_MODULE_3__["createElement"](WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, actualChildProps, { + ref: reactReduxForwardedRef + })) + ); + }, [reactReduxForwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering + // that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate. + + var renderedChild = react__WEBPACK_IMPORTED_MODULE_3__["useMemo"](function () { + if (shouldHandleStateChanges) { + // If this component is subscribed to store updates, we need to pass its own + // subscription instance down to our descendants. That means rendering the same + // Context instance, and putting a different value into the context. + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["createElement"](ContextToUse.Provider, { + value: overriddenContextValue + }, renderedWrappedComponent); + } + return renderedWrappedComponent; + }, [ContextToUse, renderedWrappedComponent, overriddenContextValue]); + return renderedChild; + } + var _Connect = react__WEBPACK_IMPORTED_MODULE_3__["memo"](ConnectFunction); + + // Add a hacky cast to get the right output type + var Connect = _Connect; + Connect.WrappedComponent = WrappedComponent; + Connect.displayName = ConnectFunction.displayName = displayName; + if (forwardRef) { + var _forwarded = react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](function forwardConnectRef(props, ref) { + // @ts-ignore + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["createElement"](Connect, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, { + reactReduxForwardedRef: ref + })); + }); + var forwarded = _forwarded; + forwarded.displayName = displayName; + forwarded.WrappedComponent = WrappedComponent; + return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2___default()(forwarded, WrappedComponent); + } + return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2___default()(Connect, WrappedComponent); + }; + return wrapWithConnect; +} +/* harmony default export */ __webpack_exports__["a"] = (connect); + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/invalidArgFactory.js": +/*!**************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/invalidArgFactory.js ***! + \**************************************************************************************************/ +/*! exports provided: createInvalidArgFactory */ +/*! exports used: createInvalidArgFactory */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createInvalidArgFactory; }); +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +function createInvalidArgFactory(arg, name) { + return function (dispatch, options) { + throw new Error("Invalid value of type ".concat(_typeof(arg), " for ").concat(name, " argument when connecting component ").concat(options.wrappedComponentName, ".")); + }; +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mapDispatchToProps.js": +/*!***************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mapDispatchToProps.js ***! + \***************************************************************************************************/ +/*! exports provided: mapDispatchToPropsFactory */ +/*! exports used: mapDispatchToPropsFactory */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return mapDispatchToPropsFactory; }); +/* harmony import */ var _utils_bindActionCreators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/bindActionCreators */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/bindActionCreators.js"); +/* harmony import */ var _wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wrapMapToProps */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/wrapMapToProps.js"); +/* harmony import */ var _invalidArgFactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./invalidArgFactory */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/invalidArgFactory.js"); +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + + + +function mapDispatchToPropsFactory(mapDispatchToProps) { + return mapDispatchToProps && _typeof(mapDispatchToProps) === 'object' ? Object(_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__[/* wrapMapToPropsConstant */ "a"])(function (dispatch) { + return ( + // @ts-ignore + Object(_utils_bindActionCreators__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(mapDispatchToProps, dispatch) + ); + }) : !mapDispatchToProps ? Object(_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__[/* wrapMapToPropsConstant */ "a"])(function (dispatch) { + return { + dispatch: dispatch + }; + }) : typeof mapDispatchToProps === 'function' ? + // @ts-ignore + Object(_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__[/* wrapMapToPropsFunc */ "b"])(mapDispatchToProps, 'mapDispatchToProps') : Object(_invalidArgFactory__WEBPACK_IMPORTED_MODULE_2__[/* createInvalidArgFactory */ "a"])(mapDispatchToProps, 'mapDispatchToProps'); +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mapStateToProps.js": +/*!************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mapStateToProps.js ***! + \************************************************************************************************/ +/*! exports provided: mapStateToPropsFactory */ +/*! exports used: mapStateToPropsFactory */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return mapStateToPropsFactory; }); +/* harmony import */ var _wrapMapToProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wrapMapToProps */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/wrapMapToProps.js"); +/* harmony import */ var _invalidArgFactory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./invalidArgFactory */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/invalidArgFactory.js"); + + +function mapStateToPropsFactory(mapStateToProps) { + return !mapStateToProps ? Object(_wrapMapToProps__WEBPACK_IMPORTED_MODULE_0__[/* wrapMapToPropsConstant */ "a"])(function () { + return {}; + }) : typeof mapStateToProps === 'function' ? + // @ts-ignore + Object(_wrapMapToProps__WEBPACK_IMPORTED_MODULE_0__[/* wrapMapToPropsFunc */ "b"])(mapStateToProps, 'mapStateToProps') : Object(_invalidArgFactory__WEBPACK_IMPORTED_MODULE_1__[/* createInvalidArgFactory */ "a"])(mapStateToProps, 'mapStateToProps'); +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mergeProps.js": +/*!*******************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/mergeProps.js ***! + \*******************************************************************************************/ +/*! exports provided: defaultMergeProps, wrapMergePropsFunc, mergePropsFactory */ +/*! exports used: mergePropsFactory */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export defaultMergeProps */ +/* unused harmony export wrapMergePropsFunc */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return mergePropsFactory; }); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/extends.js"); +/* harmony import */ var _utils_verifyPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/verifyPlainObject */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/verifyPlainObject.js"); +/* harmony import */ var _invalidArgFactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./invalidArgFactory */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/invalidArgFactory.js"); + + + +function defaultMergeProps(stateProps, dispatchProps, ownProps) { + // @ts-ignore + return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, ownProps, stateProps, dispatchProps); +} +function wrapMergePropsFunc(mergeProps) { + return function initMergePropsProxy(dispatch, _ref) { + var displayName = _ref.displayName, + areMergedPropsEqual = _ref.areMergedPropsEqual; + var hasRunOnce = false; + var mergedProps; + return function mergePropsProxy(stateProps, dispatchProps, ownProps) { + var nextMergedProps = mergeProps(stateProps, dispatchProps, ownProps); + if (hasRunOnce) { + if (!areMergedPropsEqual(nextMergedProps, mergedProps)) mergedProps = nextMergedProps; + } else { + hasRunOnce = true; + mergedProps = nextMergedProps; + if (false) {} + } + return mergedProps; + }; + }; +} +function mergePropsFactory(mergeProps) { + return !mergeProps ? function () { + return defaultMergeProps; + } : typeof mergeProps === 'function' ? wrapMergePropsFunc(mergeProps) : Object(_invalidArgFactory__WEBPACK_IMPORTED_MODULE_2__[/* createInvalidArgFactory */ "a"])(mergeProps, 'mergeProps'); +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/selectorFactory.js": +/*!************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/selectorFactory.js ***! + \************************************************************************************************/ +/*! exports provided: pureFinalPropsSelectorFactory, default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export pureFinalPropsSelectorFactory */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return finalPropsSelectorFactory; }); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../node_modules/@hello-pangea/dnd/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"); +/* harmony import */ var _verifySubselectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./verifySubselectors */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/verifySubselectors.js"); + +var _excluded = ["initMapStateToProps", "initMapDispatchToProps", "initMergeProps"]; + +function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, _ref2) { + var areStatesEqual = _ref2.areStatesEqual, + areOwnPropsEqual = _ref2.areOwnPropsEqual, + areStatePropsEqual = _ref2.areStatePropsEqual; + var hasRunAtLeastOnce = false; + var state; + var ownProps; + var stateProps; + var dispatchProps; + var mergedProps; + function handleFirstCall(firstState, firstOwnProps) { + state = firstState; + ownProps = firstOwnProps; + stateProps = mapStateToProps(state, ownProps); + dispatchProps = mapDispatchToProps(dispatch, ownProps); + mergedProps = mergeProps(stateProps, dispatchProps, ownProps); + hasRunAtLeastOnce = true; + return mergedProps; + } + function handleNewPropsAndNewState() { + stateProps = mapStateToProps(state, ownProps); + if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps); + mergedProps = mergeProps(stateProps, dispatchProps, ownProps); + return mergedProps; + } + function handleNewProps() { + if (mapStateToProps.dependsOnOwnProps) stateProps = mapStateToProps(state, ownProps); + if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps); + mergedProps = mergeProps(stateProps, dispatchProps, ownProps); + return mergedProps; + } + function handleNewState() { + var nextStateProps = mapStateToProps(state, ownProps); + var statePropsChanged = !areStatePropsEqual(nextStateProps, stateProps); + stateProps = nextStateProps; + if (statePropsChanged) mergedProps = mergeProps(stateProps, dispatchProps, ownProps); + return mergedProps; + } + function handleSubsequentCalls(nextState, nextOwnProps) { + var propsChanged = !areOwnPropsEqual(nextOwnProps, ownProps); + var stateChanged = !areStatesEqual(nextState, state, nextOwnProps, ownProps); + state = nextState; + ownProps = nextOwnProps; + if (propsChanged && stateChanged) return handleNewPropsAndNewState(); + if (propsChanged) return handleNewProps(); + if (stateChanged) return handleNewState(); + return mergedProps; + } + return function pureFinalPropsSelector(nextState, nextOwnProps) { + return hasRunAtLeastOnce ? handleSubsequentCalls(nextState, nextOwnProps) : handleFirstCall(nextState, nextOwnProps); + }; +} +// TODO: Add more comments +// The selector returned by selectorFactory will memoize its results, +// allowing connect's shouldComponentUpdate to return false if final +// props have not changed. +function finalPropsSelectorFactory(dispatch, _ref) { + var initMapStateToProps = _ref.initMapStateToProps, + initMapDispatchToProps = _ref.initMapDispatchToProps, + initMergeProps = _ref.initMergeProps, + options = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_ref, _excluded); + var mapStateToProps = initMapStateToProps(dispatch, options); + var mapDispatchToProps = initMapDispatchToProps(dispatch, options); + var mergeProps = initMergeProps(dispatch, options); + if (false) {} + return pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options); +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/verifySubselectors.js": +/*!***************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/verifySubselectors.js ***! + \***************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export default */ +/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/warning */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/warning.js"); + +function verify(selector, methodName) { + if (!selector) { + throw new Error("Unexpected value for ".concat(methodName, " in connect.")); + } else if (methodName === 'mapStateToProps' || methodName === 'mapDispatchToProps') { + if (!Object.prototype.hasOwnProperty.call(selector, 'dependsOnOwnProps')) { + Object(_utils_warning__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])("The selector for ".concat(methodName, " of connect did not specify a value for dependsOnOwnProps.")); + } + } +} +function verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps) { + verify(mapStateToProps, 'mapStateToProps'); + verify(mapDispatchToProps, 'mapDispatchToProps'); + verify(mergeProps, 'mergeProps'); +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/wrapMapToProps.js": +/*!***********************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/connect/wrapMapToProps.js ***! + \***********************************************************************************************/ +/*! exports provided: wrapMapToPropsConstant, getDependsOnOwnProps, wrapMapToPropsFunc */ +/*! exports used: wrapMapToPropsConstant, wrapMapToPropsFunc */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return wrapMapToPropsConstant; }); +/* unused harmony export getDependsOnOwnProps */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return wrapMapToPropsFunc; }); +/* harmony import */ var _utils_verifyPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/verifyPlainObject */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/verifyPlainObject.js"); + +function wrapMapToPropsConstant( +// * Note: +// It seems that the dispatch argument +// could be a dispatch function in some cases (ex: whenMapDispatchToPropsIsMissing) +// and a state object in some others (ex: whenMapStateToPropsIsMissing) +// eslint-disable-next-line no-unused-vars +getConstant) { + return function initConstantSelector(dispatch) { + var constant = getConstant(dispatch); + function constantSelector() { + return constant; + } + constantSelector.dependsOnOwnProps = false; + return constantSelector; + }; +} // dependsOnOwnProps is used by createMapToPropsProxy to determine whether to pass props as args +// to the mapToProps function being wrapped. It is also used by makePurePropsSelector to determine +// whether mapToProps needs to be invoked when props have changed. +// +// A length of one signals that mapToProps does not depend on props from the parent component. +// A length of zero is assumed to mean mapToProps is getting args via arguments or ...args and +// therefore not reporting its length accurately.. +// TODO Can this get pulled out so that we can subscribe directly to the store if we don't need ownProps? + +function getDependsOnOwnProps(mapToProps) { + return mapToProps.dependsOnOwnProps ? Boolean(mapToProps.dependsOnOwnProps) : mapToProps.length !== 1; +} // Used by whenMapStateToPropsIsFunction and whenMapDispatchToPropsIsFunction, +// this function wraps mapToProps in a proxy function which does several things: +// +// * Detects whether the mapToProps function being called depends on props, which +// is used by selectorFactory to decide if it should reinvoke on props changes. +// +// * On first call, handles mapToProps if returns another function, and treats that +// new function as the true mapToProps for subsequent calls. +// +// * On first call, verifies the first result is a plain object, in order to warn +// the developer that their mapToProps function is not returning a valid result. +// + +function wrapMapToPropsFunc(mapToProps, methodName) { + return function initProxySelector(dispatch, _ref) { + var displayName = _ref.displayName; + var proxy = function mapToPropsProxy(stateOrDispatch, ownProps) { + return proxy.dependsOnOwnProps ? proxy.mapToProps(stateOrDispatch, ownProps) : proxy.mapToProps(stateOrDispatch, undefined); + }; // allow detectFactoryAndVerify to get ownProps + + proxy.dependsOnOwnProps = true; + proxy.mapToProps = function detectFactoryAndVerify(stateOrDispatch, ownProps) { + proxy.mapToProps = mapToProps; + proxy.dependsOnOwnProps = getDependsOnOwnProps(mapToProps); + var props = proxy(stateOrDispatch, ownProps); + if (typeof props === 'function') { + proxy.mapToProps = props; + proxy.dependsOnOwnProps = getDependsOnOwnProps(props); + props = proxy(stateOrDispatch, ownProps); + } + if (false) {} + return props; + }; + return proxy; + }; +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/exports.js": +/*!********************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/exports.js ***! + \********************************************************************************/ +/*! exports provided: Provider, ReactReduxContext, connect, useDispatch, createDispatchHook, useSelector, createSelectorHook, useStore, createStoreHook, shallowEqual */ +/*! exports used: Provider, connect */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _components_Provider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/Provider */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Provider.js"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _components_Provider__WEBPACK_IMPORTED_MODULE_0__["a"]; }); + +/* harmony import */ var _components_connect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/connect */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/connect.js"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _components_connect__WEBPACK_IMPORTED_MODULE_1__["a"]; }); + +/* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/Context */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js"); +/* harmony import */ var _hooks_useDispatch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hooks/useDispatch */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useDispatch.js"); +/* harmony import */ var _hooks_useSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useSelector */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useSelector.js"); +/* harmony import */ var _hooks_useStore__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hooks/useStore */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useStore.js"); +/* harmony import */ var _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/shallowEqual */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/shallowEqual.js"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./types */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/types.js"); + + + + + + + + + + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useDispatch.js": +/*!******************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useDispatch.js ***! + \******************************************************************************************/ +/*! exports provided: createDispatchHook, useDispatch */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export createDispatchHook */ +/* unused harmony export useDispatch */ +/* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/Context */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js"); +/* harmony import */ var _useStore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useStore */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useStore.js"); + + +/** + * Hook factory, which creates a `useDispatch` hook bound to a given context. + * + * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. + * @returns {Function} A `useDispatch` hook bound to the specified context. + */ + +function createDispatchHook() { + var context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _components_Context__WEBPACK_IMPORTED_MODULE_0__[/* ReactReduxContext */ "a"]; + var useStore = + // @ts-ignore + context === _components_Context__WEBPACK_IMPORTED_MODULE_0__[/* ReactReduxContext */ "a"] ? _useStore__WEBPACK_IMPORTED_MODULE_1__[/* useStore */ "b"] : Object(_useStore__WEBPACK_IMPORTED_MODULE_1__[/* createStoreHook */ "a"])(context); + return function useDispatch() { + var store = useStore(); // @ts-ignore + + return store.dispatch; + }; +} +/** + * A hook to access the redux `dispatch` function. + * + * @returns {any|function} redux store's `dispatch` function + * + * @example + * + * import React, { useCallback } from 'react' + * import { useDispatch } from 'react-redux' + * + * export const CounterComponent = ({ value }) => { + * const dispatch = useDispatch() + * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), []) + * return ( + *
+ * {value} + * + *
+ * ) + * } + */ + +var useDispatch = /*#__PURE__*/createDispatchHook(); + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useReduxContext.js": +/*!**********************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useReduxContext.js ***! + \**********************************************************************************************/ +/*! exports provided: createReduxContextHook, useReduxContext */ +/*! exports used: createReduxContextHook, useReduxContext */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createReduxContextHook; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return useReduxContext; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/Context */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js"); + + + +/** + * Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level + * hook that you should usually not need to call directly. + * + * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. + * @returns {Function} A `useReduxContext` hook bound to the specified context. + */ +function createReduxContextHook() { + var context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _components_Context__WEBPACK_IMPORTED_MODULE_1__[/* ReactReduxContext */ "a"]; + return function useReduxContext() { + var contextValue = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(context); + if (false) {} + return contextValue; + }; +} +/** + * A hook to access the value of the `ReactReduxContext`. This is a low-level + * hook that you should usually not need to call directly. + * + * @returns {any} the value of the `ReactReduxContext` + * + * @example + * + * import React from 'react' + * import { useReduxContext } from 'react-redux' + * + * export const CounterComponent = () => { + * const { store } = useReduxContext() + * return
{store.getState()}
+ * } + */ + +var useReduxContext = /*#__PURE__*/createReduxContextHook(); + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useSelector.js": +/*!******************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useSelector.js ***! + \******************************************************************************************/ +/*! exports provided: initializeUseSelector, createSelectorHook, useSelector */ +/*! exports used: initializeUseSelector */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return initializeUseSelector; }); +/* unused harmony export createSelectorHook */ +/* unused harmony export useSelector */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _useReduxContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useReduxContext */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useReduxContext.js"); +/* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/Context */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js"); +/* harmony import */ var _utils_useSyncExternalStore__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/useSyncExternalStore */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/useSyncExternalStore.js"); +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } +function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } +function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } + + + + +var useSyncExternalStoreWithSelector = _utils_useSyncExternalStore__WEBPACK_IMPORTED_MODULE_3__[/* notInitialized */ "a"]; +var initializeUseSelector = function initializeUseSelector(fn) { + useSyncExternalStoreWithSelector = fn; +}; +var refEquality = function refEquality(a, b) { + return a === b; +}; +/** + * Hook factory, which creates a `useSelector` hook bound to a given context. + * + * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. + * @returns {Function} A `useSelector` hook bound to the specified context. + */ + +function createSelectorHook() { + var context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _components_Context__WEBPACK_IMPORTED_MODULE_2__[/* ReactReduxContext */ "a"]; + var useReduxContext = context === _components_Context__WEBPACK_IMPORTED_MODULE_2__[/* ReactReduxContext */ "a"] ? _useReduxContext__WEBPACK_IMPORTED_MODULE_1__[/* useReduxContext */ "b"] : Object(_useReduxContext__WEBPACK_IMPORTED_MODULE_1__[/* createReduxContextHook */ "a"])(context); + return function useSelector(selector) { + var equalityFnOrOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _ref = typeof equalityFnOrOptions === 'function' ? { + equalityFn: equalityFnOrOptions + } : equalityFnOrOptions, + _ref$equalityFn = _ref.equalityFn, + equalityFn = _ref$equalityFn === void 0 ? refEquality : _ref$equalityFn, + _ref$stabilityCheck = _ref.stabilityCheck, + stabilityCheck = _ref$stabilityCheck === void 0 ? undefined : _ref$stabilityCheck, + _ref$noopCheck = _ref.noopCheck, + noopCheck = _ref$noopCheck === void 0 ? undefined : _ref$noopCheck; + if (false) {} + var _useReduxContext = useReduxContext(), + store = _useReduxContext.store, + subscription = _useReduxContext.subscription, + getServerState = _useReduxContext.getServerState, + globalStabilityCheck = _useReduxContext.stabilityCheck, + globalNoopCheck = _useReduxContext.noopCheck; + var firstRun = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(true); + var wrappedSelector = Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(_defineProperty({}, selector.name, function (state) { + var selected = selector(state); + if (false) { var finalNoopCheck, toCompare, finalStabilityCheck; } + return selected; + })[selector.name], [selector, globalStabilityCheck, stabilityCheck]); + var selectedState = useSyncExternalStoreWithSelector(subscription.addNestedSub, store.getState, getServerState || store.getState, wrappedSelector, equalityFn); + Object(react__WEBPACK_IMPORTED_MODULE_0__["useDebugValue"])(selectedState); + return selectedState; + }; +} +/** + * A hook to access the redux store's state. This hook takes a selector function + * as an argument. The selector is called with the store state. + * + * This hook takes an optional equality comparison function as the second parameter + * that allows you to customize the way the selected state is compared to determine + * whether the component needs to be re-rendered. + * + * @param {Function} selector the selector function + * @param {Function=} equalityFn the function that will be used to determine equality + * + * @returns {any} the selected state + * + * @example + * + * import React from 'react' + * import { useSelector } from 'react-redux' + * + * export const CounterComponent = () => { + * const counter = useSelector(state => state.counter) + * return
{counter}
+ * } + */ + +var useSelector = /*#__PURE__*/createSelectorHook(); + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useStore.js": +/*!***************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useStore.js ***! + \***************************************************************************************/ +/*! exports provided: createStoreHook, useStore */ +/*! exports used: createStoreHook, useStore */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createStoreHook; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return useStore; }); +/* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/Context */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/Context.js"); +/* harmony import */ var _useReduxContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useReduxContext */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useReduxContext.js"); + + +/** + * Hook factory, which creates a `useStore` hook bound to a given context. + * + * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. + * @returns {Function} A `useStore` hook bound to the specified context. + */ + +function createStoreHook() { + var context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _components_Context__WEBPACK_IMPORTED_MODULE_0__[/* ReactReduxContext */ "a"]; + var useReduxContext = + // @ts-ignore + context === _components_Context__WEBPACK_IMPORTED_MODULE_0__[/* ReactReduxContext */ "a"] ? _useReduxContext__WEBPACK_IMPORTED_MODULE_1__[/* useReduxContext */ "b"] : + // @ts-ignore + Object(_useReduxContext__WEBPACK_IMPORTED_MODULE_1__[/* createReduxContextHook */ "a"])(context); + return function useStore() { + var _useReduxContext = useReduxContext(), + store = _useReduxContext.store; // @ts-ignore + + return store; + }; +} +/** + * A hook to access the redux store. + * + * @returns {any} the redux store + * + * @example + * + * import React from 'react' + * import { useStore } from 'react-redux' + * + * export const ExampleComponent = () => { + * const store = useStore() + * return
{store.getState()}
+ * } + */ + +var useStore = /*#__PURE__*/createStoreHook(); + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/index.js": +/*!******************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/index.js ***! + \******************************************************************************/ +/*! exports provided: batch, Provider, ReactReduxContext, connect, useDispatch, createDispatchHook, useSelector, createSelectorHook, useStore, createStoreHook, shallowEqual */ +/*! exports used: Provider, connect */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var use_sync_external_store_shim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! use-sync-external-store/shim */ "../node_modules/use-sync-external-store/shim/index.js"); +/* harmony import */ var use_sync_external_store_shim__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(use_sync_external_store_shim__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var use_sync_external_store_shim_with_selector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! use-sync-external-store/shim/with-selector */ "../node_modules/use-sync-external-store/shim/with-selector.js"); +/* harmony import */ var use_sync_external_store_shim_with_selector__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(use_sync_external_store_shim_with_selector__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _utils_reactBatchedUpdates__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/reactBatchedUpdates */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/reactBatchedUpdates.js"); +/* harmony import */ var _utils_batch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/batch */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/batch.js"); +/* harmony import */ var _hooks_useSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useSelector */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/hooks/useSelector.js"); +/* harmony import */ var _components_connect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/connect */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/components/connect.js"); +/* harmony import */ var _exports__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./exports */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/exports.js"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _exports__WEBPACK_IMPORTED_MODULE_6__["a"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _exports__WEBPACK_IMPORTED_MODULE_6__["b"]; }); + +// The primary entry point assumes we're working with standard ReactDOM/RN, but +// older versions that do not include `useSyncExternalStore` (React 16.9 - 17.x). +// Because of that, the useSyncExternalStore compat shim is needed. + + + + + + +Object(_hooks_useSelector__WEBPACK_IMPORTED_MODULE_4__[/* initializeUseSelector */ "a"])(use_sync_external_store_shim_with_selector__WEBPACK_IMPORTED_MODULE_1__["useSyncExternalStoreWithSelector"]); +Object(_components_connect__WEBPACK_IMPORTED_MODULE_5__[/* initializeConnect */ "b"])(use_sync_external_store_shim__WEBPACK_IMPORTED_MODULE_0__["useSyncExternalStore"]); // Enable batched updates in our subscriptions for use +// with standard React renderers (ReactDOM, React Native) + +Object(_utils_batch__WEBPACK_IMPORTED_MODULE_3__[/* setBatch */ "b"])(_utils_reactBatchedUpdates__WEBPACK_IMPORTED_MODULE_2__[/* unstable_batchedUpdates */ "a"]); + + + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/types.js": +/*!******************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/types.js ***! + \******************************************************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/Subscription.js": +/*!*******************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/Subscription.js ***! + \*******************************************************************************************/ +/*! exports provided: createSubscription */ +/*! exports used: createSubscription */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createSubscription; }); +/* harmony import */ var _batch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./batch */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/batch.js"); + // encapsulates the subscription logic for connecting a component to the redux store, as +// well as nesting subscriptions of descendant components, so that we can ensure the +// ancestor components re-render before descendants + +function createListenerCollection() { + var batch = Object(_batch__WEBPACK_IMPORTED_MODULE_0__[/* getBatch */ "a"])(); + var first = null; + var last = null; + return { + clear: function clear() { + first = null; + last = null; + }, + notify: function notify() { + batch(function () { + var listener = first; + while (listener) { + listener.callback(); + listener = listener.next; + } + }); + }, + get: function get() { + var listeners = []; + var listener = first; + while (listener) { + listeners.push(listener); + listener = listener.next; + } + return listeners; + }, + subscribe: function subscribe(callback) { + var isSubscribed = true; + var listener = last = { + callback: callback, + next: null, + prev: last + }; + if (listener.prev) { + listener.prev.next = listener; + } else { + first = listener; + } + return function unsubscribe() { + if (!isSubscribed || first === null) return; + isSubscribed = false; + if (listener.next) { + listener.next.prev = listener.prev; + } else { + last = listener.prev; + } + if (listener.prev) { + listener.prev.next = listener.next; + } else { + first = listener.next; + } + }; + } + }; +} +var nullListeners = { + notify: function notify() {}, + get: function get() { + return []; + } +}; +function createSubscription(store, parentSub) { + var unsubscribe; + var listeners = nullListeners; + function addNestedSub(listener) { + trySubscribe(); + return listeners.subscribe(listener); + } + function notifyNestedSubs() { + listeners.notify(); + } + function handleChangeWrapper() { + if (subscription.onStateChange) { + subscription.onStateChange(); + } + } + function isSubscribed() { + return Boolean(unsubscribe); + } + function trySubscribe() { + if (!unsubscribe) { + unsubscribe = parentSub ? parentSub.addNestedSub(handleChangeWrapper) : store.subscribe(handleChangeWrapper); + listeners = createListenerCollection(); + } + } + function tryUnsubscribe() { + if (unsubscribe) { + unsubscribe(); + unsubscribe = undefined; + listeners.clear(); + listeners = nullListeners; + } + } + var subscription = { + addNestedSub: addNestedSub, + notifyNestedSubs: notifyNestedSubs, + handleChangeWrapper: handleChangeWrapper, + isSubscribed: isSubscribed, + trySubscribe: trySubscribe, + tryUnsubscribe: tryUnsubscribe, + getListeners: function getListeners() { + return listeners; + } + }; + return subscription; +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/batch.js": +/*!************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/batch.js ***! + \************************************************************************************/ +/*! exports provided: setBatch, getBatch */ +/*! exports used: getBatch, setBatch */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return setBatch; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getBatch; }); +// Default to a dummy "batch" implementation that just runs the callback +function defaultNoopBatch(callback) { + callback(); +} +var batch = defaultNoopBatch; // Allow injecting another batching function later + +var setBatch = function setBatch(newBatch) { + return batch = newBatch; +}; // Supply a getter just to skip dealing with ESM bindings + +var getBatch = function getBatch() { + return batch; +}; + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/bindActionCreators.js": +/*!*************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/bindActionCreators.js ***! + \*************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return bindActionCreators; }); +function bindActionCreators(actionCreators, dispatch) { + var boundActionCreators = {}; + var _loop = function _loop() { + var actionCreator = actionCreators[key]; + if (typeof actionCreator === 'function') { + boundActionCreators[key] = function () { + return dispatch(actionCreator.apply(void 0, arguments)); + }; + } + }; + for (var key in actionCreators) { + _loop(); + } + return boundActionCreators; +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/isPlainObject.js": +/*!********************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/isPlainObject.js ***! + \********************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isPlainObject; }); +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +/** + * @param {any} obj The object to inspect. + * @returns {boolean} True if the argument appears to be a plain object. + */ +function isPlainObject(obj) { + if (_typeof(obj) !== 'object' || obj === null) return false; + var proto = Object.getPrototypeOf(obj); + if (proto === null) return true; + var baseProto = proto; + while (Object.getPrototypeOf(baseProto) !== null) { + baseProto = Object.getPrototypeOf(baseProto); + } + return proto === baseProto; +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/reactBatchedUpdates.js": +/*!**************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/reactBatchedUpdates.js ***! + \**************************************************************************************************/ +/*! exports provided: unstable_batchedUpdates */ +/*! exports used: unstable_batchedUpdates */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ "../node_modules/react-dom/index.js"); +/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_0__); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return react_dom__WEBPACK_IMPORTED_MODULE_0__["unstable_batchedUpdates"]; }); + + + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/shallowEqual.js": +/*!*******************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/shallowEqual.js ***! + \*******************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return shallowEqual; }); +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +function is(x, y) { + if (x === y) { + return x !== 0 || y !== 0 || 1 / x === 1 / y; + } else { + return x !== x && y !== y; + } +} +function shallowEqual(objA, objB) { + if (is(objA, objB)) return true; + if (_typeof(objA) !== 'object' || objA === null || _typeof(objB) !== 'object' || objB === null) { + return false; + } + var keysA = Object.keys(objA); + var keysB = Object.keys(objB); + if (keysA.length !== keysB.length) return false; + for (var i = 0; i < keysA.length; i++) { + if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) { + return false; + } + } + return true; +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js": +/*!********************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js ***! + \********************************************************************************************************/ +/*! exports provided: canUseDOM, useIsomorphicLayoutEffect */ +/*! exports used: useIsomorphicLayoutEffect */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export canUseDOM */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useIsomorphicLayoutEffect; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + // React currently throws a warning when using useLayoutEffect on the server. +// To get around it, we can conditionally useEffect on the server (no-op) and +// useLayoutEffect in the browser. We need useLayoutEffect to ensure the store +// subscription callback always has the selector from the latest render commit +// available, otherwise a store update may happen between render and the effect, +// which may cause missed updates; we also must ensure the store subscription +// is created synchronously, otherwise a store update may occur before the +// subscription is created and an inconsistent state may be observed +// Matches logic in React's `shared/ExecutionEnvironment` file + +var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined'); +var useIsomorphicLayoutEffect = canUseDOM ? react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"] : react__WEBPACK_IMPORTED_MODULE_0__["useEffect"]; + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/useSyncExternalStore.js": +/*!***************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/useSyncExternalStore.js ***! + \***************************************************************************************************/ +/*! exports provided: notInitialized */ +/*! exports used: notInitialized */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return notInitialized; }); +var notInitialized = function notInitialized() { + throw new Error('uSES not initialized!'); +}; + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/verifyPlainObject.js": +/*!************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/verifyPlainObject.js ***! + \************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export default */ +/* harmony import */ var _isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isPlainObject */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/isPlainObject.js"); +/* harmony import */ var _warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./warning */ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/warning.js"); + + +function verifyPlainObject(value, displayName, methodName) { + if (!Object(_isPlainObject__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(value)) { + Object(_warning__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])("".concat(methodName, "() in ").concat(displayName, " must return a plain object. Instead received ").concat(value, ".")); + } +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/warning.js": +/*!**************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/react-redux/es/utils/warning.js ***! + \**************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return warning; }); +/** + * Prints a warning in the console if it exists. + * + * @param {String} message The warning message. + * @returns {void} + */ +function warning(message) { + /* eslint-disable no-console */ + if (typeof console !== 'undefined' && typeof console.error === 'function') { + console.error(message); + } + /* eslint-enable no-console */ + + try { + // This error was thrown as a convenience so that if you enable + // "break on all exceptions" in your console, + // it would pause the execution at this line. + throw new Error(message); + /* eslint-disable no-empty */ + } catch (e) {} + /* eslint-enable no-empty */ +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/redux/es/redux.js": +/*!************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/redux/es/redux.js ***! + \************************************************************************/ +/*! exports provided: __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore, legacy_createStore */ +/*! exports used: applyMiddleware, bindActionCreators, compose, createStore */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export __DO_NOT_USE__ActionTypes */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return applyMiddleware; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return bindActionCreators; }); +/* unused harmony export combineReducers */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return compose; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createStore; }); +/* unused harmony export legacy_createStore */ +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "../node_modules/@hello-pangea/dnd/node_modules/redux/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"); +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + + +/** + * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js + * + * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes + * during build. + * @param {number} code + */ +function formatProdErrorMessage(code) { + return "Minified Redux error #" + code + "; visit https://redux.js.org/Errors?code=" + code + " for the full message or " + 'use the non-minified dev environment for full errors. '; +} + +// Inlined version of the `symbol-observable` polyfill +var $$observable = function () { + return typeof Symbol === 'function' && Symbol.observable || '@@observable'; +}(); + +/** + * These are private action types reserved by Redux. + * For any unknown actions, you must return the current state. + * If the current state is undefined, you must return the initial state. + * Do not reference these action types directly in your code. + */ +var randomString = function randomString() { + return Math.random().toString(36).substring(7).split('').join('.'); +}; +var ActionTypes = { + INIT: "@@redux/INIT" + randomString(), + REPLACE: "@@redux/REPLACE" + randomString(), + PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() { + return "@@redux/PROBE_UNKNOWN_ACTION" + randomString(); + } +}; + +/** + * @param {any} obj The object to inspect. + * @returns {boolean} True if the argument appears to be a plain object. + */ +function isPlainObject(obj) { + if (_typeof(obj) !== 'object' || obj === null) return false; + var proto = obj; + while (Object.getPrototypeOf(proto) !== null) { + proto = Object.getPrototypeOf(proto); + } + return Object.getPrototypeOf(obj) === proto; +} + +// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of +function miniKindOf(val) { + if (val === void 0) return 'undefined'; + if (val === null) return 'null'; + var type = _typeof(val); + switch (type) { + case 'boolean': + case 'string': + case 'number': + case 'symbol': + case 'function': + { + return type; + } + } + if (Array.isArray(val)) return 'array'; + if (isDate(val)) return 'date'; + if (isError(val)) return 'error'; + var constructorName = ctorName(val); + switch (constructorName) { + case 'Symbol': + case 'Promise': + case 'WeakMap': + case 'WeakSet': + case 'Map': + case 'Set': + return constructorName; + } // other + + return type.slice(8, -1).toLowerCase().replace(/\s/g, ''); +} +function ctorName(val) { + return typeof val.constructor === 'function' ? val.constructor.name : null; +} +function isError(val) { + return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number'; +} +function isDate(val) { + if (val instanceof Date) return true; + return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function'; +} +function kindOf(val) { + var typeOfVal = _typeof(val); + if (false) {} + return typeOfVal; +} + +/** + * @deprecated + * + * **We recommend using the `configureStore` method + * of the `@reduxjs/toolkit` package**, which replaces `createStore`. + * + * Redux Toolkit is our recommended approach for writing Redux logic today, + * including store setup, reducers, data fetching, and more. + * + * **For more details, please read this Redux docs page:** + * **https://redux.js.org/introduction/why-rtk-is-redux-today** + * + * `configureStore` from Redux Toolkit is an improved version of `createStore` that + * simplifies setup and helps avoid common bugs. + * + * You should not be using the `redux` core package by itself today, except for learning purposes. + * The `createStore` method from the core `redux` package will not be removed, but we encourage + * all users to migrate to using Redux Toolkit for all Redux code. + * + * If you want to use `createStore` without this visual deprecation warning, use + * the `legacy_createStore` import instead: + * + * `import { legacy_createStore as createStore} from 'redux'` + * + */ + +function createStore(reducer, preloadedState, enhancer) { + var _ref2; + if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') { + throw new Error( true ? formatProdErrorMessage(0) : undefined); + } + if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') { + enhancer = preloadedState; + preloadedState = undefined; + } + if (typeof enhancer !== 'undefined') { + if (typeof enhancer !== 'function') { + throw new Error( true ? formatProdErrorMessage(1) : undefined); + } + return enhancer(createStore)(reducer, preloadedState); + } + if (typeof reducer !== 'function') { + throw new Error( true ? formatProdErrorMessage(2) : undefined); + } + var currentReducer = reducer; + var currentState = preloadedState; + var currentListeners = []; + var nextListeners = currentListeners; + var isDispatching = false; + /** + * This makes a shallow copy of currentListeners so we can use + * nextListeners as a temporary list while dispatching. + * + * This prevents any bugs around consumers calling + * subscribe/unsubscribe in the middle of a dispatch. + */ + + function ensureCanMutateNextListeners() { + if (nextListeners === currentListeners) { + nextListeners = currentListeners.slice(); + } + } + /** + * Reads the state tree managed by the store. + * + * @returns {any} The current state tree of your application. + */ + + function getState() { + if (isDispatching) { + throw new Error( true ? formatProdErrorMessage(3) : undefined); + } + return currentState; + } + /** + * Adds a change listener. It will be called any time an action is dispatched, + * and some part of the state tree may potentially have changed. You may then + * call `getState()` to read the current state tree inside the callback. + * + * You may call `dispatch()` from a change listener, with the following + * caveats: + * + * 1. The subscriptions are snapshotted just before every `dispatch()` call. + * If you subscribe or unsubscribe while the listeners are being invoked, this + * will not have any effect on the `dispatch()` that is currently in progress. + * However, the next `dispatch()` call, whether nested or not, will use a more + * recent snapshot of the subscription list. + * + * 2. The listener should not expect to see all state changes, as the state + * might have been updated multiple times during a nested `dispatch()` before + * the listener is called. It is, however, guaranteed that all subscribers + * registered before the `dispatch()` started will be called with the latest + * state by the time it exits. + * + * @param {Function} listener A callback to be invoked on every dispatch. + * @returns {Function} A function to remove this change listener. + */ + + function subscribe(listener) { + if (typeof listener !== 'function') { + throw new Error( true ? formatProdErrorMessage(4) : undefined); + } + if (isDispatching) { + throw new Error( true ? formatProdErrorMessage(5) : undefined); + } + var isSubscribed = true; + ensureCanMutateNextListeners(); + nextListeners.push(listener); + return function unsubscribe() { + if (!isSubscribed) { + return; + } + if (isDispatching) { + throw new Error( true ? formatProdErrorMessage(6) : undefined); + } + isSubscribed = false; + ensureCanMutateNextListeners(); + var index = nextListeners.indexOf(listener); + nextListeners.splice(index, 1); + currentListeners = null; + }; + } + /** + * Dispatches an action. It is the only way to trigger a state change. + * + * The `reducer` function, used to create the store, will be called with the + * current state tree and the given `action`. Its return value will + * be considered the **next** state of the tree, and the change listeners + * will be notified. + * + * The base implementation only supports plain object actions. If you want to + * dispatch a Promise, an Observable, a thunk, or something else, you need to + * wrap your store creating function into the corresponding middleware. For + * example, see the documentation for the `redux-thunk` package. Even the + * middleware will eventually dispatch plain object actions using this method. + * + * @param {Object} action A plain object representing “what changed”. It is + * a good idea to keep actions serializable so you can record and replay user + * sessions, or use the time travelling `redux-devtools`. An action must have + * a `type` property which may not be `undefined`. It is a good idea to use + * string constants for action types. + * + * @returns {Object} For convenience, the same action object you dispatched. + * + * Note that, if you use a custom middleware, it may wrap `dispatch()` to + * return something else (for example, a Promise you can await). + */ + + function dispatch(action) { + if (!isPlainObject(action)) { + throw new Error( true ? formatProdErrorMessage(7) : undefined); } - if (isAfterCriticalInVirtualList) { - return getFallback(combineTargetFor); + if (typeof action.type === 'undefined') { + throw new Error( true ? formatProdErrorMessage(8) : undefined); } - const displaceBy = impact.displacedBy.point; - const offset = memoizedOffset(displaceBy.x, displaceBy.y); - return getMemoizedProps(offset, combineTargetFor, visualDisplacement.shouldAnimate); - }; - const selector = (state, ownProps) => { - if (isDragging(state)) { - if (state.critical.draggable.id === ownProps.draggableId) { - return null; - } - return getProps(ownProps.draggableId, state.critical.draggable.id, state.impact, state.afterCritical); + if (isDispatching) { + throw new Error( true ? formatProdErrorMessage(9) : undefined); } - if (state.phase === 'DROP_ANIMATING') { - const completed = state.completed; - if (completed.result.draggableId === ownProps.draggableId) { - return null; - } - return getProps(ownProps.draggableId, completed.result.draggableId, completed.impact, completed.afterCritical); + try { + isDispatching = true; + currentState = currentReducer(currentState, action); + } finally { + isDispatching = false; } - return null; - }; - return selector; -} -const makeMapStateToProps$1 = () => { - const draggingSelector = getDraggableSelector(); - const secondarySelector = getSecondarySelector(); - const selector = (state, ownProps) => draggingSelector(state, ownProps) || secondarySelector(state, ownProps) || atRest; - return selector; -}; -const mapDispatchToProps$1 = { - dropAnimationFinished: dropAnimationFinished -}; -const ConnectedDraggable = connect(makeMapStateToProps$1, mapDispatchToProps$1, null, { - context: StoreContext, - areStatePropsEqual: isStrictEqual -})(Draggable$1); -var ConnectedDraggable$1 = ConnectedDraggable; - -function PrivateDraggable(props) { - const droppableContext = useRequiredContext(DroppableContext); - const isUsingCloneFor = droppableContext.isUsingCloneFor; - if (isUsingCloneFor === props.draggableId && !props.isClone) { - return null; - } - return React.createElement(ConnectedDraggable$1, props); -} -function PublicDraggable(props) { - const isEnabled = typeof props.isDragDisabled === 'boolean' ? !props.isDragDisabled : true; - const canDragInteractiveElements = Boolean(props.disableInteractiveElementBlocking); - const shouldRespectForcePress = Boolean(props.shouldRespectForcePress); - return React.createElement(PrivateDraggable, _extends({}, props, { - isClone: false, - isEnabled: isEnabled, - canDragInteractiveElements: canDragInteractiveElements, - shouldRespectForcePress: shouldRespectForcePress - })); -} - -const isEqual = base => value => base === value; -const isScroll = isEqual('scroll'); -const isAuto = isEqual('auto'); -const isVisible = isEqual('visible'); -const isEither = (overflow, fn) => fn(overflow.overflowX) || fn(overflow.overflowY); -const isBoth = (overflow, fn) => fn(overflow.overflowX) && fn(overflow.overflowY); -const isElementScrollable = el => { - const style = window.getComputedStyle(el); - const overflow = { - overflowX: style.overflowX, - overflowY: style.overflowY - }; - return isEither(overflow, isScroll) || isEither(overflow, isAuto); -}; -const isBodyScrollable = () => { - if (process.env.NODE_ENV === 'production') { - return false; - } - const body = getBodyElement(); - const html = document.documentElement; - !html ? process.env.NODE_ENV !== "production" ? invariant(false) : invariant(false) : void 0; - if (!isElementScrollable(body)) { - return false; - } - const htmlStyle = window.getComputedStyle(html); - const htmlOverflow = { - overflowX: htmlStyle.overflowX, - overflowY: htmlStyle.overflowY - }; - if (isBoth(htmlOverflow, isVisible)) { - return false; + var listeners = currentListeners = nextListeners; + for (var i = 0; i < listeners.length; i++) { + var listener = listeners[i]; + listener(); + } + return action; } - process.env.NODE_ENV !== "production" ? warning(` - We have detected that your element might be a scroll container. - We have found no reliable way of detecting whether the element is a scroll container. - Under most circumstances a scroll bar will be on the element (document.documentElement) + /** + * Replaces the reducer currently used by the store to calculate the state. + * + * You might need this if your app implements code splitting and you want to + * load some of the reducers dynamically. You might also need this if you + * implement a hot reloading mechanism for Redux. + * + * @param {Function} nextReducer The reducer for the store to use instead. + * @returns {void} + */ - Because we cannot determine if the is a scroll container, and generally it is not one, - we will be treating the as *not* a scroll container + function replaceReducer(nextReducer) { + if (typeof nextReducer !== 'function') { + throw new Error( true ? formatProdErrorMessage(10) : undefined); + } + currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT. + // Any reducers that existed in both the new and old rootReducer + // will receive the previous state. This effectively populates + // the new state tree with any relevant data from the old one. - More information: https://github.com/hello-pangea/dnd/blob/main/docs/guides/how-we-detect-scroll-containers.md - `) : void 0; - return false; -}; -const getClosestScrollable = el => { - if (el == null) { - return null; - } - if (el === document.body) { - return isBodyScrollable() ? el : null; - } - if (el === document.documentElement) { - return null; - } - if (!isElementScrollable(el)) { - return getClosestScrollable(el.parentElement); + dispatch({ + type: ActionTypes.REPLACE + }); } - return el; -}; -var getClosestScrollable$1 = getClosestScrollable; + /** + * Interoperability point for observable/reactive libraries. + * @returns {observable} A minimal observable of state changes. + * For more information, see the observable proposal: + * https://github.com/tc39/proposal-observable + */ -var checkForNestedScrollContainers = (scrollable => { - if (!scrollable) { - return; - } - const anotherScrollParent = getClosestScrollable$1(scrollable.parentElement); - if (!anotherScrollParent) { - return; - } - process.env.NODE_ENV !== "production" ? warning(` - Droppable: unsupported nested scroll container detected. - A Droppable can only have one scroll parent (which can be itself) - Nested scroll containers are currently not supported. + function observable() { + var _ref; + var outerSubscribe = subscribe; + return _ref = { + /** + * The minimal observable subscription method. + * @param {Object} observer Any object that can be used as an observer. + * The observer object should have a `next` method. + * @returns {subscription} An object with an `unsubscribe` method that can + * be used to unsubscribe the observable from the store, and prevent further + * emission of values from the observable. + */ + subscribe: function subscribe(observer) { + if (_typeof(observer) !== 'object' || observer === null) { + throw new Error( true ? formatProdErrorMessage(11) : undefined); + } + function observeState() { + if (observer.next) { + observer.next(getState()); + } + } + observeState(); + var unsubscribe = outerSubscribe(observeState); + return { + unsubscribe: unsubscribe + }; + } + }, _ref[$$observable] = function () { + return this; + }, _ref; + } // When a store is created, an "INIT" action is dispatched so that every + // reducer returns their initial state. This effectively populates + // the initial state tree. - We hope to support nested scroll containers soon: https://github.com/atlassian/react-beautiful-dnd/issues/131 - `) : void 0; -}); + dispatch({ + type: ActionTypes.INIT + }); + return _ref2 = { + dispatch: dispatch, + subscribe: subscribe, + getState: getState, + replaceReducer: replaceReducer + }, _ref2[$$observable] = observable, _ref2; +} +/** + * Creates a Redux store that holds the state tree. + * + * **We recommend using `configureStore` from the + * `@reduxjs/toolkit` package**, which replaces `createStore`: + * **https://redux.js.org/introduction/why-rtk-is-redux-today** + * + * The only way to change the data in the store is to call `dispatch()` on it. + * + * There should only be a single store in your app. To specify how different + * parts of the state tree respond to actions, you may combine several reducers + * into a single reducer function by using `combineReducers`. + * + * @param {Function} reducer A function that returns the next state tree, given + * the current state tree and the action to handle. + * + * @param {any} [preloadedState] The initial state. You may optionally specify it + * to hydrate the state from the server in universal apps, or to restore a + * previously serialized user session. + * If you use `combineReducers` to produce the root reducer function, this must be + * an object with the same shape as `combineReducers` keys. + * + * @param {Function} [enhancer] The store enhancer. You may optionally specify it + * to enhance the store with third-party capabilities such as middleware, + * time travel, persistence, etc. The only store enhancer that ships with Redux + * is `applyMiddleware()`. + * + * @returns {Store} A Redux store that lets you read the state, dispatch actions + * and subscribe to changes. + */ -var getScroll = (el => ({ - x: el.scrollLeft, - y: el.scrollTop -})); +var legacy_createStore = createStore; -const getIsFixed = el => { - if (!el) { - return false; - } - const style = window.getComputedStyle(el); - if (style.position === 'fixed') { - return true; +/** + * Prints a warning in the console if it exists. + * + * @param {String} message The warning message. + * @returns {void} + */ +function warning(message) { + /* eslint-disable no-console */ + if (typeof console !== 'undefined' && typeof console.error === 'function') { + console.error(message); } - return getIsFixed(el.parentElement); -}; -var getEnv = (start => { - const closestScrollable = getClosestScrollable$1(start); - const isFixedOnPage = getIsFixed(start); - return { - closestScrollable, - isFixedOnPage - }; -}); + /* eslint-enable no-console */ -var getDroppableDimension = (_ref => { - let { - descriptor, - isEnabled, - isCombineEnabled, - isFixedOnPage, - direction, - client, - page, - closest - } = _ref; - const frame = (() => { - if (!closest) { - return null; - } - const { - scrollSize, - client: frameClient - } = closest; - const maxScroll = getMaxScroll({ - scrollHeight: scrollSize.scrollHeight, - scrollWidth: scrollSize.scrollWidth, - height: frameClient.paddingBox.height, - width: frameClient.paddingBox.width - }); - return { - pageMarginBox: closest.page.marginBox, - frameClient, - scrollSize, - shouldClipSubject: closest.shouldClipSubject, - scroll: { - initial: closest.scroll, - current: closest.scroll, - max: maxScroll, - diff: { - value: origin, - displacement: origin - } - } - }; - })(); - const axis = direction === 'vertical' ? vertical : horizontal; - const subject = getSubject({ - page, - withPlaceholder: null, - axis, - frame - }); - const dimension = { - descriptor, - isCombineEnabled, - isFixedOnPage, - axis, - isEnabled, - client, - page, - frame, - subject - }; - return dimension; -}); + try { + // This error was thrown as a convenience so that if you enable + // "break on all exceptions" in your console, + // it would pause the execution at this line. + throw new Error(message); + } catch (e) {} // eslint-disable-line no-empty +} -const getClient = (targetRef, closestScrollable) => { - const base = getBox(targetRef); - if (!closestScrollable) { - return base; +function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) { + var reducerKeys = Object.keys(reducers); + var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer'; + if (reducerKeys.length === 0) { + return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.'; } - if (targetRef !== closestScrollable) { - return base; + if (!isPlainObject(inputState)) { + return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\""); } - const top = base.paddingBox.top - closestScrollable.scrollTop; - const left = base.paddingBox.left - closestScrollable.scrollLeft; - const bottom = top + closestScrollable.scrollHeight; - const right = left + closestScrollable.scrollWidth; - const paddingBox = { - top, - right, - bottom, - left - }; - const borderBox = expand(paddingBox, base.border); - const client = createBox({ - borderBox, - margin: base.margin, - border: base.border, - padding: base.padding + var unexpectedKeys = Object.keys(inputState).filter(function (key) { + return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key]; }); - return client; -}; -var getDimension = (_ref => { - let { - ref, - descriptor, - env, - windowScroll, - direction, - isDropDisabled, - isCombineEnabled, - shouldClipSubject - } = _ref; - const closestScrollable = env.closestScrollable; - const client = getClient(ref, closestScrollable); - const page = withScroll(client, windowScroll); - const closest = (() => { - if (!closestScrollable) { - return null; - } - const frameClient = getBox(closestScrollable); - const scrollSize = { - scrollHeight: closestScrollable.scrollHeight, - scrollWidth: closestScrollable.scrollWidth - }; - return { - client: frameClient, - page: withScroll(frameClient, windowScroll), - scroll: getScroll(closestScrollable), - scrollSize, - shouldClipSubject - }; - })(); - const dimension = getDroppableDimension({ - descriptor, - isEnabled: !isDropDisabled, - isCombineEnabled, - isFixedOnPage: env.isFixedOnPage, - direction, - client, - page, - closest + unexpectedKeys.forEach(function (key) { + unexpectedKeyCache[key] = true; }); - return dimension; -}); - -const immediate = { - passive: false -}; -const delayed = { - passive: true -}; -var getListenerOptions = (options => options.shouldPublishImmediately ? immediate : delayed); - -const getClosestScrollableFromDrag = dragging => dragging && dragging.env.closestScrollable || null; -function useDroppablePublisher(args) { - const whileDraggingRef = useRef(null); - const appContext = useRequiredContext(AppContext); - const uniqueId = useUniqueId$1('droppable'); - const { - registry, - marshal - } = appContext; - const previousRef = usePrevious(args); - const descriptor = useMemo(() => ({ - id: args.droppableId, - type: args.type, - mode: args.mode - }), [args.droppableId, args.mode, args.type]); - const publishedDescriptorRef = useRef(descriptor); - const memoizedUpdateScroll = useMemo(() => memoizeOne((x, y) => { - !whileDraggingRef.current ? process.env.NODE_ENV !== "production" ? invariant(false, 'Can only update scroll when dragging') : invariant(false) : void 0; - const scroll = { - x, - y - }; - marshal.updateDroppableScroll(descriptor.id, scroll); - }), [descriptor.id, marshal]); - const getClosestScroll = useCallback(() => { - const dragging = whileDraggingRef.current; - if (!dragging || !dragging.env.closestScrollable) { - return origin; - } - return getScroll(dragging.env.closestScrollable); - }, []); - const updateScroll = useCallback(() => { - const scroll = getClosestScroll(); - memoizedUpdateScroll(scroll.x, scroll.y); - }, [getClosestScroll, memoizedUpdateScroll]); - const scheduleScrollUpdate = useMemo(() => rafSchd(updateScroll), [updateScroll]); - const onClosestScroll = useCallback(() => { - const dragging = whileDraggingRef.current; - const closest = getClosestScrollableFromDrag(dragging); - !(dragging && closest) ? process.env.NODE_ENV !== "production" ? invariant(false, 'Could not find scroll options while scrolling') : invariant(false) : void 0; - const options = dragging.scrollOptions; - if (options.shouldPublishImmediately) { - updateScroll(); - return; - } - scheduleScrollUpdate(); - }, [scheduleScrollUpdate, updateScroll]); - const getDimensionAndWatchScroll = useCallback((windowScroll, options) => { - !!whileDraggingRef.current ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot collect a droppable while a drag is occurring') : invariant(false) : void 0; - const previous = previousRef.current; - const ref = previous.getDroppableRef(); - !ref ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot collect without a droppable ref') : invariant(false) : void 0; - const env = getEnv(ref); - const dragging = { - ref, - descriptor, - env, - scrollOptions: options - }; - whileDraggingRef.current = dragging; - const dimension = getDimension({ - ref, - descriptor, - env, - windowScroll, - direction: previous.direction, - isDropDisabled: previous.isDropDisabled, - isCombineEnabled: previous.isCombineEnabled, - shouldClipSubject: !previous.ignoreContainerClipping + if (action && action.type === ActionTypes.REPLACE) return; + if (unexpectedKeys.length > 0) { + return "Unexpected " + (unexpectedKeys.length > 1 ? 'keys' : 'key') + " " + ("\"" + unexpectedKeys.join('", "') + "\" found in " + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ("\"" + reducerKeys.join('", "') + "\". Unexpected keys will be ignored."); + } +} +function assertReducerShape(reducers) { + Object.keys(reducers).forEach(function (key) { + var reducer = reducers[key]; + var initialState = reducer(undefined, { + type: ActionTypes.INIT }); - const scrollable = env.closestScrollable; - if (scrollable) { - scrollable.setAttribute(scrollContainer.contextId, appContext.contextId); - scrollable.addEventListener('scroll', onClosestScroll, getListenerOptions(dragging.scrollOptions)); - if (process.env.NODE_ENV !== 'production') { - checkForNestedScrollContainers(scrollable); - } - } - return dimension; - }, [appContext.contextId, descriptor, onClosestScroll, previousRef]); - const getScrollWhileDragging = useCallback(() => { - const dragging = whileDraggingRef.current; - const closest = getClosestScrollableFromDrag(dragging); - !(dragging && closest) ? process.env.NODE_ENV !== "production" ? invariant(false, 'Can only recollect Droppable client for Droppables that have a scroll container') : invariant(false) : void 0; - return getScroll(closest); - }, []); - const dragStopped = useCallback(() => { - const dragging = whileDraggingRef.current; - !dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot stop drag when no active drag') : invariant(false) : void 0; - const closest = getClosestScrollableFromDrag(dragging); - whileDraggingRef.current = null; - if (!closest) { - return; - } - scheduleScrollUpdate.cancel(); - closest.removeAttribute(scrollContainer.contextId); - closest.removeEventListener('scroll', onClosestScroll, getListenerOptions(dragging.scrollOptions)); - }, [onClosestScroll, scheduleScrollUpdate]); - const scroll = useCallback(change => { - const dragging = whileDraggingRef.current; - !dragging ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot scroll when there is no drag') : invariant(false) : void 0; - const closest = getClosestScrollableFromDrag(dragging); - !closest ? process.env.NODE_ENV !== "production" ? invariant(false, 'Cannot scroll a droppable with no closest scrollable') : invariant(false) : void 0; - closest.scrollTop += change.y; - closest.scrollLeft += change.x; - }, []); - const callbacks = useMemo(() => { - return { - getDimensionAndWatchScroll, - getScrollWhileDragging, - dragStopped, - scroll - }; - }, [dragStopped, getDimensionAndWatchScroll, getScrollWhileDragging, scroll]); - const entry = useMemo(() => ({ - uniqueId, - descriptor, - callbacks - }), [callbacks, descriptor, uniqueId]); - useLayoutEffect(() => { - publishedDescriptorRef.current = entry.descriptor; - registry.droppable.register(entry); - return () => { - if (whileDraggingRef.current) { - process.env.NODE_ENV !== "production" ? warning('Unsupported: changing the droppableId or type of a Droppable during a drag') : void 0; - dragStopped(); - } - registry.droppable.unregister(entry); - }; - }, [callbacks, descriptor, dragStopped, entry, marshal, registry.droppable]); - useLayoutEffect(() => { - if (!whileDraggingRef.current) { - return; + if (typeof initialState === 'undefined') { + throw new Error( true ? formatProdErrorMessage(12) : undefined); } - marshal.updateDroppableIsEnabled(publishedDescriptorRef.current.id, !args.isDropDisabled); - }, [args.isDropDisabled, marshal]); - useLayoutEffect(() => { - if (!whileDraggingRef.current) { - return; + if (typeof reducer(undefined, { + type: ActionTypes.PROBE_UNKNOWN_ACTION() + }) === 'undefined') { + throw new Error( true ? formatProdErrorMessage(13) : undefined); } - marshal.updateDroppableIsCombineEnabled(publishedDescriptorRef.current.id, args.isCombineEnabled); - }, [args.isCombineEnabled, marshal]); + }); } +/** + * Turns an object whose values are different reducer functions, into a single + * reducer function. It will call every child reducer, and gather their results + * into a single state object, whose keys correspond to the keys of the passed + * reducer functions. + * + * @param {Object} reducers An object whose values correspond to different + * reducer functions that need to be combined into one. One handy way to obtain + * it is to use ES6 `import * as reducers` syntax. The reducers may never return + * undefined for any action. Instead, they should return their initial state + * if the state passed to them was undefined, and the current state for any + * unrecognized action. + * + * @returns {Function} A reducer function that invokes every reducer inside the + * passed object, and builds a state object with the same shape. + */ -function noop() {} -const empty = { - width: 0, - height: 0, - margin: noSpacing -}; -const getSize = _ref => { - let { - isAnimatingOpenOnMount, - placeholder, - animate - } = _ref; - if (isAnimatingOpenOnMount) { - return empty; +function combineReducers(reducers) { + var reducerKeys = Object.keys(reducers); + var finalReducers = {}; + for (var i = 0; i < reducerKeys.length; i++) { + var key = reducerKeys[i]; + if (false) {} + if (typeof reducers[key] === 'function') { + finalReducers[key] = reducers[key]; + } } - if (animate === 'close') { - return empty; + var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same + // keys multiple times. + + var unexpectedKeyCache; + if (false) {} + var shapeAssertionError; + try { + assertReducerShape(finalReducers); + } catch (e) { + shapeAssertionError = e; } - return { - height: placeholder.client.borderBox.height, - width: placeholder.client.borderBox.width, - margin: placeholder.client.margin - }; -}; -const getStyle = _ref2 => { - let { - isAnimatingOpenOnMount, - placeholder, - animate - } = _ref2; - const size = getSize({ - isAnimatingOpenOnMount, - placeholder, - animate - }); - return { - display: placeholder.display, - boxSizing: 'border-box', - width: size.width, - height: size.height, - marginTop: size.margin.top, - marginRight: size.margin.right, - marginBottom: size.margin.bottom, - marginLeft: size.margin.left, - flexShrink: '0', - flexGrow: '0', - pointerEvents: 'none', - transition: animate !== 'none' ? transitions.placeholder : null - }; -}; -const Placeholder = props => { - const animateOpenTimerRef = useRef(null); - const tryClearAnimateOpenTimer = useCallback(() => { - if (!animateOpenTimerRef.current) { - return; - } - clearTimeout(animateOpenTimerRef.current); - animateOpenTimerRef.current = null; - }, []); - const { - animate, - onTransitionEnd, - onClose, - contextId - } = props; - const [isAnimatingOpenOnMount, setIsAnimatingOpenOnMount] = useState(props.animate === 'open'); - useEffect(() => { - if (!isAnimatingOpenOnMount) { - return noop; - } - if (animate !== 'open') { - tryClearAnimateOpenTimer(); - setIsAnimatingOpenOnMount(false); - return noop; - } - if (animateOpenTimerRef.current) { - return noop; + return function combination(state, action) { + if (state === void 0) { + state = {}; } - animateOpenTimerRef.current = setTimeout(() => { - animateOpenTimerRef.current = null; - setIsAnimatingOpenOnMount(false); - }); - return tryClearAnimateOpenTimer; - }, [animate, isAnimatingOpenOnMount, tryClearAnimateOpenTimer]); - const onSizeChangeEnd = useCallback(event => { - if (event.propertyName !== 'height') { - return; + if (shapeAssertionError) { + throw shapeAssertionError; } - onTransitionEnd(); - if (animate === 'close') { - onClose(); + if (false) { var warningMessage; } + var hasChanged = false; + var nextState = {}; + for (var _i = 0; _i < finalReducerKeys.length; _i++) { + var _key = finalReducerKeys[_i]; + var reducer = finalReducers[_key]; + var previousStateForKey = state[_key]; + var nextStateForKey = reducer(previousStateForKey, action); + if (typeof nextStateForKey === 'undefined') { + var actionType = action && action.type; + throw new Error( true ? formatProdErrorMessage(14) : undefined); + } + nextState[_key] = nextStateForKey; + hasChanged = hasChanged || nextStateForKey !== previousStateForKey; } - }, [animate, onClose, onTransitionEnd]); - const style = getStyle({ - isAnimatingOpenOnMount, - animate: props.animate, - placeholder: props.placeholder - }); - return React.createElement(props.placeholder.tagName, { - style, - 'data-rfd-placeholder-context-id': contextId, - onTransitionEnd: onSizeChangeEnd, - ref: props.innerRef - }); -}; -var Placeholder$1 = React.memo(Placeholder); - -function isBoolean(value) { - return typeof value === 'boolean'; + hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length; + return hasChanged ? nextState : state; + }; } -function runChecks(args, checks) { - checks.forEach(check => check(args)); -} -const shared = [function required(_ref) { - let { - props - } = _ref; - !props.droppableId ? process.env.NODE_ENV !== "production" ? invariant(false, 'A Droppable requires a droppableId prop') : invariant(false) : void 0; - !(typeof props.droppableId === 'string') ? process.env.NODE_ENV !== "production" ? invariant(false, `A Droppable requires a [string] droppableId. Provided: [${typeof props.droppableId}]`) : invariant(false) : void 0; -}, function boolean(_ref2) { - let { - props - } = _ref2; - !isBoolean(props.isDropDisabled) ? process.env.NODE_ENV !== "production" ? invariant(false, 'isDropDisabled must be a boolean') : invariant(false) : void 0; - !isBoolean(props.isCombineEnabled) ? process.env.NODE_ENV !== "production" ? invariant(false, 'isCombineEnabled must be a boolean') : invariant(false) : void 0; - !isBoolean(props.ignoreContainerClipping) ? process.env.NODE_ENV !== "production" ? invariant(false, 'ignoreContainerClipping must be a boolean') : invariant(false) : void 0; -}, function ref(_ref3) { - let { - getDroppableRef - } = _ref3; - checkIsValidInnerRef(getDroppableRef()); -}]; -const standard = [function placeholder(_ref4) { - let { - props, - getPlaceholderRef - } = _ref4; - if (!props.placeholder) { - return; +function bindActionCreator(actionCreator, dispatch) { + return function () { + return dispatch(actionCreator.apply(this, arguments)); + }; +} +/** + * Turns an object whose values are action creators, into an object with the + * same keys, but with every function wrapped into a `dispatch` call so they + * may be invoked directly. This is just a convenience method, as you can call + * `store.dispatch(MyActionCreators.doSomething())` yourself just fine. + * + * For convenience, you can also pass an action creator as the first argument, + * and get a dispatch wrapped function in return. + * + * @param {Function|Object} actionCreators An object whose values are action + * creator functions. One handy way to obtain it is to use ES6 `import * as` + * syntax. You may also pass a single function. + * + * @param {Function} dispatch The `dispatch` function available on your Redux + * store. + * + * @returns {Function|Object} The object mimicking the original object, but with + * every action creator wrapped into the `dispatch` call. If you passed a + * function as `actionCreators`, the return value will also be a single + * function. + */ + +function bindActionCreators(actionCreators, dispatch) { + if (typeof actionCreators === 'function') { + return bindActionCreator(actionCreators, dispatch); } - const ref = getPlaceholderRef(); - if (ref) { - return; + if (_typeof(actionCreators) !== 'object' || actionCreators === null) { + throw new Error( true ? formatProdErrorMessage(16) : undefined); } - process.env.NODE_ENV !== "production" ? warning(` - Droppable setup issue [droppableId: "${props.droppableId}"]: - DroppableProvided > placeholder could not be found. - - Please be sure to add the {provided.placeholder} React Node as a child of your Droppable. - More information: https://github.com/hello-pangea/dnd/blob/main/docs/api/droppable.md - `) : void 0; -}]; -const virtual = [function hasClone(_ref5) { - let { - props - } = _ref5; - !props.renderClone ? process.env.NODE_ENV !== "production" ? invariant(false, 'Must provide a clone render function (renderClone) for virtual lists') : invariant(false) : void 0; -}, function hasNoPlaceholder(_ref6) { - let { - getPlaceholderRef - } = _ref6; - !!getPlaceholderRef() ? process.env.NODE_ENV !== "production" ? invariant(false, 'Expected virtual list to not have a placeholder') : invariant(false) : void 0; -}]; -function useValidation(args) { - useDevSetupWarning(() => { - runChecks(args, shared); - if (args.props.mode === 'standard') { - runChecks(args, standard); - } - if (args.props.mode === 'virtual') { - runChecks(args, virtual); + var boundActionCreators = {}; + for (var key in actionCreators) { + var actionCreator = actionCreators[key]; + if (typeof actionCreator === 'function') { + boundActionCreators[key] = bindActionCreator(actionCreator, dispatch); } - }); + } + return boundActionCreators; } -class AnimateInOut extends React.PureComponent { - constructor() { - super(...arguments); - this.state = { - isVisible: Boolean(this.props.on), - data: this.props.on, - animate: this.props.shouldAnimate && this.props.on ? 'open' : 'none' - }; - this.onClose = () => { - if (this.state.animate !== 'close') { - return; - } - this.setState({ - isVisible: false - }); - }; +/** + * Composes single-argument functions from right to left. The rightmost + * function can take multiple arguments as it provides the signature for + * the resulting composite function. + * + * @param {...Function} funcs The functions to compose. + * @returns {Function} A function obtained by composing the argument functions + * from right to left. For example, compose(f, g, h) is identical to doing + * (...args) => f(g(h(...args))). + */ +function compose() { + for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) { + funcs[_key] = arguments[_key]; } - static getDerivedStateFromProps(props, state) { - if (!props.shouldAnimate) { - return { - isVisible: Boolean(props.on), - data: props.on, - animate: 'none' - }; - } - if (props.on) { - return { - isVisible: true, - data: props.on, - animate: 'open' - }; - } - if (state.isVisible) { - return { - isVisible: true, - data: state.data, - animate: 'close' - }; - } - return { - isVisible: false, - animate: 'close', - data: null + if (funcs.length === 0) { + return function (arg) { + return arg; }; } - render() { - if (!this.state.isVisible) { - return null; - } - const provided = { - onClose: this.onClose, - data: this.state.data, - animate: this.state.animate + if (funcs.length === 1) { + return funcs[0]; + } + return funcs.reduce(function (a, b) { + return function () { + return a(b.apply(void 0, arguments)); }; - return this.props.children(provided); - } -} - -const Droppable = props => { - const appContext = useContext(AppContext); - !appContext ? process.env.NODE_ENV !== "production" ? invariant(false, 'Could not find app context') : invariant(false) : void 0; - const { - contextId, - isMovementAllowed - } = appContext; - const droppableRef = useRef(null); - const placeholderRef = useRef(null); - const { - children, - droppableId, - type, - mode, - direction, - ignoreContainerClipping, - isDropDisabled, - isCombineEnabled, - snapshot, - useClone, - updateViewportMaxScroll, - getContainerForClone - } = props; - const getDroppableRef = useCallback(() => droppableRef.current, []); - const setDroppableRef = useCallback(function (value) { - if (value === void 0) { - value = null; - } - droppableRef.current = value; - }, []); - const getPlaceholderRef = useCallback(() => placeholderRef.current, []); - const setPlaceholderRef = useCallback(function (value) { - if (value === void 0) { - value = null; - } - placeholderRef.current = value; - }, []); - useValidation({ - props, - getDroppableRef, - getPlaceholderRef - }); - const onPlaceholderTransitionEnd = useCallback(() => { - if (isMovementAllowed()) { - updateViewportMaxScroll({ - maxScroll: getMaxWindowScroll() - }); - } - }, [isMovementAllowed, updateViewportMaxScroll]); - useDroppablePublisher({ - droppableId, - type, - mode, - direction, - isDropDisabled, - isCombineEnabled, - ignoreContainerClipping, - getDroppableRef }); - const placeholder = useMemo(() => React.createElement(AnimateInOut, { - on: props.placeholder, - shouldAnimate: props.shouldAnimatePlaceholder - }, _ref => { - let { - onClose, - data, - animate - } = _ref; - return React.createElement(Placeholder$1, { - placeholder: data, - onClose: onClose, - innerRef: setPlaceholderRef, - animate: animate, - contextId: contextId, - onTransitionEnd: onPlaceholderTransitionEnd - }); - }), [contextId, onPlaceholderTransitionEnd, props.placeholder, props.shouldAnimatePlaceholder, setPlaceholderRef]); - const provided = useMemo(() => ({ - innerRef: setDroppableRef, - placeholder, - droppableProps: { - 'data-rfd-droppable-id': droppableId, - 'data-rfd-droppable-context-id': contextId - } - }), [contextId, droppableId, placeholder, setDroppableRef]); - const isUsingCloneFor = useClone ? useClone.dragging.draggableId : null; - const droppableContext = useMemo(() => ({ - droppableId, - type, - isUsingCloneFor - }), [droppableId, isUsingCloneFor, type]); - function getClone() { - if (!useClone) { - return null; - } - const { - dragging, - render - } = useClone; - const node = React.createElement(PrivateDraggable, { - draggableId: dragging.draggableId, - index: dragging.source.index, - isClone: true, - isEnabled: true, - shouldRespectForcePress: false, - canDragInteractiveElements: true - }, (draggableProvided, draggableSnapshot) => render(draggableProvided, draggableSnapshot, dragging)); - return ReactDOM.createPortal(node, getContainerForClone()); - } - return React.createElement(DroppableContext.Provider, { - value: droppableContext - }, children(provided, snapshot), getClone()); -}; -var Droppable$1 = Droppable; - -function getBody() { - !document.body ? process.env.NODE_ENV !== "production" ? invariant(false, 'document.body is not ready') : invariant(false) : void 0; - return document.body; } -const defaultProps = { - mode: 'standard', - type: 'DEFAULT', - direction: 'vertical', - isDropDisabled: false, - isCombineEnabled: false, - ignoreContainerClipping: false, - renderClone: null, - getContainerForClone: getBody -}; -const attachDefaultPropsToOwnProps = ownProps => { - let mergedProps = { - ...ownProps - }; - let defaultPropKey; - for (defaultPropKey in defaultProps) { - if (ownProps[defaultPropKey] === undefined) { - mergedProps = { - ...mergedProps, - [defaultPropKey]: defaultProps[defaultPropKey] - }; - } + +/** + * Creates a store enhancer that applies middleware to the dispatch method + * of the Redux store. This is handy for a variety of tasks, such as expressing + * asynchronous actions in a concise manner, or logging every action payload. + * + * See `redux-thunk` package as an example of the Redux middleware. + * + * Because middleware is potentially asynchronous, this should be the first + * store enhancer in the composition chain. + * + * Note that each middleware will be given the `dispatch` and `getState` functions + * as named arguments. + * + * @param {...Function} middlewares The middleware chain to be applied. + * @returns {Function} A store enhancer applying the middleware. + */ + +function applyMiddleware() { + for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) { + middlewares[_key] = arguments[_key]; } - return mergedProps; -}; -const isMatchingType = (type, critical) => type === critical.droppable.type; -const getDraggable = (critical, dimensions) => dimensions.draggables[critical.draggable.id]; -const makeMapStateToProps = () => { - const idleWithAnimation = { - placeholder: null, - shouldAnimatePlaceholder: true, - snapshot: { - isDraggingOver: false, - draggingOverWith: null, - draggingFromThisWith: null, - isUsingPlaceholder: false - }, - useClone: null - }; - const idleWithoutAnimation = { - ...idleWithAnimation, - shouldAnimatePlaceholder: false - }; - const getDraggableRubric = memoizeOne(descriptor => ({ - draggableId: descriptor.id, - type: descriptor.type, - source: { - index: descriptor.index, - droppableId: descriptor.droppableId - } - })); - const getMapProps = memoizeOne((id, isEnabled, isDraggingOverForConsumer, isDraggingOverForImpact, dragging, renderClone) => { - const draggableId = dragging.descriptor.id; - const isHome = dragging.descriptor.droppableId === id; - if (isHome) { - const useClone = renderClone ? { - render: renderClone, - dragging: getDraggableRubric(dragging.descriptor) - } : null; - const snapshot = { - isDraggingOver: isDraggingOverForConsumer, - draggingOverWith: isDraggingOverForConsumer ? draggableId : null, - draggingFromThisWith: draggableId, - isUsingPlaceholder: true + return function (createStore) { + return function () { + var store = createStore.apply(void 0, arguments); + var _dispatch = function dispatch() { + throw new Error( true ? formatProdErrorMessage(15) : undefined); }; - return { - placeholder: dragging.placeholder, - shouldAnimatePlaceholder: false, - snapshot, - useClone + var middlewareAPI = { + getState: store.getState, + dispatch: function dispatch() { + return _dispatch.apply(void 0, arguments); + } }; - } - if (!isEnabled) { - return idleWithoutAnimation; - } - if (!isDraggingOverForImpact) { - return idleWithAnimation; - } - const snapshot = { - isDraggingOver: isDraggingOverForConsumer, - draggingOverWith: draggableId, - draggingFromThisWith: null, - isUsingPlaceholder: true - }; - return { - placeholder: dragging.placeholder, - shouldAnimatePlaceholder: true, - snapshot, - useClone: null + var chain = middlewares.map(function (middleware) { + return middleware(middlewareAPI); + }); + _dispatch = compose.apply(void 0, chain)(store.dispatch); + return Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, store), {}, { + dispatch: _dispatch + }); }; - }); - const selector = (state, ownProps) => { - const ownPropsWithDefaultProps = attachDefaultPropsToOwnProps(ownProps); - const id = ownPropsWithDefaultProps.droppableId; - const type = ownPropsWithDefaultProps.type; - const isEnabled = !ownPropsWithDefaultProps.isDropDisabled; - const renderClone = ownPropsWithDefaultProps.renderClone; - if (isDragging(state)) { - const critical = state.critical; - if (!isMatchingType(type, critical)) { - return idleWithoutAnimation; - } - const dragging = getDraggable(critical, state.dimensions); - const isDraggingOver = whatIsDraggedOver(state.impact) === id; - return getMapProps(id, isEnabled, isDraggingOver, isDraggingOver, dragging, renderClone); - } - if (state.phase === 'DROP_ANIMATING') { - const completed = state.completed; - if (!isMatchingType(type, completed.critical)) { - return idleWithoutAnimation; - } - const dragging = getDraggable(completed.critical, state.dimensions); - return getMapProps(id, isEnabled, whatIsDraggedOverFromResult(completed.result) === id, whatIsDraggedOver(completed.impact) === id, dragging, renderClone); - } - if (state.phase === 'IDLE' && state.completed && !state.shouldFlush) { - const completed = state.completed; - if (!isMatchingType(type, completed.critical)) { - return idleWithoutAnimation; - } - const wasOver = whatIsDraggedOver(completed.impact) === id; - const wasCombining = Boolean(completed.impact.at && completed.impact.at.type === 'COMBINE'); - const isHome = completed.critical.droppable.id === id; - if (wasOver) { - return wasCombining ? idleWithAnimation : idleWithoutAnimation; - } - if (isHome) { - return idleWithAnimation; - } - return idleWithoutAnimation; - } - return idleWithoutAnimation; - }; - return selector; -}; -const mapDispatchToProps = { - updateViewportMaxScroll: updateViewportMaxScroll -}; -const ConnectedDroppable = connect(makeMapStateToProps, mapDispatchToProps, (stateProps, dispatchProps, ownProps) => { - return { - ...attachDefaultPropsToOwnProps(ownProps), - ...stateProps, - ...dispatchProps }; -}, { - context: StoreContext, - areStatePropsEqual: isStrictEqual -})(Droppable$1); -var ConnectedDroppable$1 = ConnectedDroppable; +} + + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/redux/node_modules/@babel/runtime/helpers/esm/defineProperty.js": +/*!**********************************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/redux/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! + \**********************************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +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; +} + +/***/ }), + +/***/ "../node_modules/@hello-pangea/dnd/node_modules/redux/node_modules/@babel/runtime/helpers/esm/objectSpread2.js": +/*!*********************************************************************************************************************!*\ + !*** ../node_modules/@hello-pangea/dnd/node_modules/redux/node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***! + \*********************************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { -export { DragDropContext, PublicDraggable as Draggable, ConnectedDroppable$1 as Droppable, resetServerContext, useKeyboardSensor, useMouseSensor, useTouchSensor }; +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread2; }); +/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ "../node_modules/@hello-pangea/dnd/node_modules/redux/node_modules/@babel/runtime/helpers/esm/defineProperty.js"); +function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + enumerableOnly && (symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + })), keys.push.apply(keys, symbols); + } + return keys; +} +function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = null != arguments[i] ? arguments[i] : {}; + i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { + Object(_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + return target; +} /***/ }), @@ -176621,6 +178957,180 @@ $({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { }); +/***/ }), + +/***/ "../node_modules/css-box-model/dist/css-box-model.esm.js": +/*!***************************************************************!*\ + !*** ../node_modules/css-box-model/dist/css-box-model.esm.js ***! + \***************************************************************/ +/*! exports provided: calculateBox, createBox, expand, getBox, getRect, offset, shrink, withScroll */ +/*! exports used: calculateBox, createBox, expand, getBox, getRect, offset, withScroll */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return calculateBox; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return createBox; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return expand; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getBox; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getRect; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return offset; }); +/* unused harmony export shrink */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return withScroll; }); +/* harmony import */ var tiny_invariant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-invariant */ "../node_modules/tiny-invariant/dist/tiny-invariant.esm.js"); + + +var getRect = function getRect(_ref) { + var top = _ref.top, + right = _ref.right, + bottom = _ref.bottom, + left = _ref.left; + var width = right - left; + var height = bottom - top; + var rect = { + top: top, + right: right, + bottom: bottom, + left: left, + width: width, + height: height, + x: left, + y: top, + center: { + x: (right + left) / 2, + y: (bottom + top) / 2 + } + }; + return rect; +}; +var expand = function expand(target, expandBy) { + return { + top: target.top - expandBy.top, + left: target.left - expandBy.left, + bottom: target.bottom + expandBy.bottom, + right: target.right + expandBy.right + }; +}; +var shrink = function shrink(target, shrinkBy) { + return { + top: target.top + shrinkBy.top, + left: target.left + shrinkBy.left, + bottom: target.bottom - shrinkBy.bottom, + right: target.right - shrinkBy.right + }; +}; + +var shift = function shift(target, shiftBy) { + return { + top: target.top + shiftBy.y, + left: target.left + shiftBy.x, + bottom: target.bottom + shiftBy.y, + right: target.right + shiftBy.x + }; +}; + +var noSpacing = { + top: 0, + right: 0, + bottom: 0, + left: 0 +}; +var createBox = function createBox(_ref2) { + var borderBox = _ref2.borderBox, + _ref2$margin = _ref2.margin, + margin = _ref2$margin === void 0 ? noSpacing : _ref2$margin, + _ref2$border = _ref2.border, + border = _ref2$border === void 0 ? noSpacing : _ref2$border, + _ref2$padding = _ref2.padding, + padding = _ref2$padding === void 0 ? noSpacing : _ref2$padding; + var marginBox = getRect(expand(borderBox, margin)); + var paddingBox = getRect(shrink(borderBox, border)); + var contentBox = getRect(shrink(paddingBox, padding)); + return { + marginBox: marginBox, + borderBox: getRect(borderBox), + paddingBox: paddingBox, + contentBox: contentBox, + margin: margin, + border: border, + padding: padding + }; +}; + +var parse = function parse(raw) { + var value = raw.slice(0, -2); + var suffix = raw.slice(-2); + + if (suffix !== 'px') { + return 0; + } + + var result = Number(value); + !!isNaN(result) ? false ? undefined : Object(tiny_invariant__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(false) : void 0; + return result; +}; + +var getWindowScroll = function getWindowScroll() { + return { + x: window.pageXOffset, + y: window.pageYOffset + }; +}; + +var offset = function offset(original, change) { + var borderBox = original.borderBox, + border = original.border, + margin = original.margin, + padding = original.padding; + var shifted = shift(borderBox, change); + return createBox({ + borderBox: shifted, + border: border, + margin: margin, + padding: padding + }); +}; +var withScroll = function withScroll(original, scroll) { + if (scroll === void 0) { + scroll = getWindowScroll(); + } + + return offset(original, scroll); +}; +var calculateBox = function calculateBox(borderBox, styles) { + var margin = { + top: parse(styles.marginTop), + right: parse(styles.marginRight), + bottom: parse(styles.marginBottom), + left: parse(styles.marginLeft) + }; + var padding = { + top: parse(styles.paddingTop), + right: parse(styles.paddingRight), + bottom: parse(styles.paddingBottom), + left: parse(styles.paddingLeft) + }; + var border = { + top: parse(styles.borderTopWidth), + right: parse(styles.borderRightWidth), + bottom: parse(styles.borderBottomWidth), + left: parse(styles.borderLeftWidth) + }; + return createBox({ + borderBox: borderBox, + margin: margin, + padding: padding, + border: border + }); +}; +var getBox = function getBox(el) { + var borderBox = el.getBoundingClientRect(); + var styles = window.getComputedStyle(el); + return calculateBox(borderBox, styles); +}; + + + + /***/ }), /***/ "../node_modules/css-loader/dist/runtime/api.js": @@ -272113,6 +274623,53 @@ exports.stringify = querystringify; exports.parse = querystring; +/***/ }), + +/***/ "../node_modules/raf-schd/dist/raf-schd.esm.js": +/*!*****************************************************!*\ + !*** ../node_modules/raf-schd/dist/raf-schd.esm.js ***! + \*****************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +var rafSchd = function rafSchd(fn) { + var lastArgs = []; + var frameId = null; + + var wrapperFn = function wrapperFn() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + lastArgs = args; + + if (frameId) { + return; + } + + frameId = requestAnimationFrame(function () { + frameId = null; + fn.apply(void 0, lastArgs); + }); + }; + + wrapperFn.cancel = function () { + if (!frameId) { + return; + } + + cancelAnimationFrame(frameId); + frameId = null; + }; + + return wrapperFn; +}; + +/* harmony default export */ __webpack_exports__["a"] = (rafSchd); + + /***/ }), /***/ "../node_modules/re-reselect/dist/index.js": @@ -327679,6 +330236,32 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) || /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ "../node_modules/webpack/buildin/global.js"))) +/***/ }), + +/***/ "../node_modules/tiny-invariant/dist/tiny-invariant.esm.js": +/*!*****************************************************************!*\ + !*** ../node_modules/tiny-invariant/dist/tiny-invariant.esm.js ***! + \*****************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +var isProduction = "production" === 'production'; +var prefix = 'Invariant failed'; +function invariant(condition, message) { + if (condition) { + return; + } + if (isProduction) { + throw new Error(prefix); + } + throw new Error(prefix + ": " + (message || '')); +} + +/* harmony default export */ __webpack_exports__["a"] = (invariant); + + /***/ }), /***/ "../node_modules/trim-trailing-lines/index.js": @@ -329413,6 +331996,70 @@ function useCallbackRef(initialValue, callback) { } +/***/ }), + +/***/ "../node_modules/use-memo-one/dist/use-memo-one.esm.js": +/*!*************************************************************!*\ + !*** ../node_modules/use-memo-one/dist/use-memo-one.esm.js ***! + \*************************************************************/ +/*! exports provided: useCallback, useCallbackOne, useMemo, useMemoOne */ +/*! exports used: useCallback, useMemo */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useCallback; }); +/* unused harmony export useCallbackOne */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return useMemo; }); +/* unused harmony export useMemoOne */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../node_modules/react/index.js"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + + +function areInputsEqual(newInputs, lastInputs) { + if (newInputs.length !== lastInputs.length) { + return false; + } + + for (var i = 0; i < newInputs.length; i++) { + if (newInputs[i] !== lastInputs[i]) { + return false; + } + } + + return true; +} + +function useMemoOne(getResult, inputs) { + var initial = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(function () { + return { + inputs: inputs, + result: getResult() + }; + })[0]; + var isFirstRun = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(true); + var committed = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(initial); + var useCache = isFirstRun.current || Boolean(inputs && committed.current.inputs && areInputsEqual(inputs, committed.current.inputs)); + var cache = useCache ? committed.current : { + inputs: inputs, + result: getResult() + }; + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () { + isFirstRun.current = false; + committed.current = cache; + }, [cache]); + return cache.result; +} +function useCallbackOne(callback, inputs) { + return useMemoOne(function () { + return callback; + }, inputs); +} +var useMemo = useMemoOne; +var useCallback = useCallbackOne; + + + + /***/ }), /***/ "../node_modules/use-sidecar/dist/es2015/exports.js": @@ -329818,6 +332465,91 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) { } +/***/ }), + +/***/ "../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js": +/*!**************************************************************************************************!*\ + !*** ../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js ***! + \**************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var e=__webpack_require__(/*! react */ "../node_modules/react/index.js");function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k="function"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c})},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c})})},[a]);p(d);return d} +function r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return!k(a,d)}catch(f){return!0}}function t(a,b){return b()}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?t:q;exports.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u; + + +/***/ }), + +/***/ "../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js": +/*!****************************************************************************************************************!*\ + !*** ../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js ***! + \****************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var h=__webpack_require__(/*! react */ "../node_modules/react/index.js"),n=__webpack_require__(/*! use-sync-external-store/shim */ "../node_modules/use-sync-external-store/shim/index.js");function p(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var q="function"===typeof Object.is?Object.is:p,r=n.useSyncExternalStore,t=h.useRef,u=h.useEffect,v=h.useMemo,w=h.useDebugValue; +exports.useSyncExternalStoreWithSelector=function(a,b,e,l,g){var c=t(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;c=v(function(){function a(a){if(!c){c=!0;d=a;a=l(a);if(void 0!==g&&f.hasValue){var b=f.value;if(g(b,a))return k=b}return k=a}b=k;if(q(d,a))return b;var e=l(a);if(void 0!==g&&g(b,e))return b;d=a;return k=e}var c=!1,d,k,m=void 0===e?null:e;return[function(){return a(b())},null===m?void 0:function(){return a(m())}]},[b,e,l,g]);var d=r(a,c[0],c[1]); +u(function(){f.hasValue=!0;f.value=d},[d]);w(d);return d}; + + +/***/ }), + +/***/ "../node_modules/use-sync-external-store/shim/index.js": +/*!*************************************************************!*\ + !*** ../node_modules/use-sync-external-store/shim/index.js ***! + \*************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +if (true) { + module.exports = __webpack_require__(/*! ../cjs/use-sync-external-store-shim.production.min.js */ "../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js"); +} else {} + + +/***/ }), + +/***/ "../node_modules/use-sync-external-store/shim/with-selector.js": +/*!*********************************************************************!*\ + !*** ../node_modules/use-sync-external-store/shim/with-selector.js ***! + \*********************************************************************/ +/*! no static exports found */ +/*! exports used: useSyncExternalStoreWithSelector */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +if (true) { + module.exports = __webpack_require__(/*! ../cjs/use-sync-external-store-shim/with-selector.production.min.js */ "../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js"); +} else {} + + /***/ }), /***/ "../node_modules/util-deprecate/browser.js": @@ -335597,4 +338329,4 @@ Object.keys(_app_storybook_node_modules_storybook_addon_toggles_dist_esm_preset_ /***/ }) }]); -//# sourceMappingURL=vendors~main.fcab6728.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=vendors~main.53ccaaf5.iframe.bundle.js.map \ No newline at end of file diff --git a/vendors~main.fcab6728.iframe.bundle.js.map b/vendors~main.53ccaaf5.iframe.bundle.js.map similarity index 66% rename from vendors~main.fcab6728.iframe.bundle.js.map rename to vendors~main.53ccaaf5.iframe.bundle.js.map index fd54d9f49c..8caa6fed04 100644 --- a/vendors~main.fcab6728.iframe.bundle.js.map +++ b/vendors~main.53ccaaf5.iframe.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"vendors~main.fcab6728.iframe.bundle.js","sources":["webpack:///../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///../node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack:///../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///../node_modules/@elastic/datemath/target/index.js","webpack:///../node_modules/@elastic/eui/dist/eui_charts_theme.js","webpack:///../node_modules/@elastic/eui/es/components/accessibility/index.js","webpack:///../node_modules/@elastic/eui/es/components/accessibility/screen_reader_live/screen_reader_live.js","webpack:///../node_modules/@elastic/eui/es/components/accessibility/screen_reader_only/screen_reader_only.js","webpack:///../node_modules/@elastic/eui/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js","webpack:///../node_modules/@elastic/eui/es/components/accessibility/skip_link/skip_link.js","webpack:///../node_modules/@elastic/eui/es/components/accessibility/skip_link/skip_link.styles.js","webpack:///../node_modules/@elastic/eui/es/components/accordion/accordion.js","webpack:///../node_modules/@elastic/eui/es/components/accordion/accordion.styles.js","webpack:///../node_modules/@elastic/eui/es/components/accordion/index.js","webpack:///../node_modules/@elastic/eui/es/components/aspect_ratio/aspect_ratio.js","webpack:///../node_modules/@elastic/eui/es/components/aspect_ratio/index.js","webpack:///../node_modules/@elastic/eui/es/components/auto_sizer/auto_sizer.js","webpack:///../node_modules/@elastic/eui/es/components/auto_sizer/index.js","webpack:///../node_modules/@elastic/eui/es/components/avatar/avatar.js","webpack:///../node_modules/@elastic/eui/es/components/avatar/avatar.styles.js","webpack:///../node_modules/@elastic/eui/es/components/avatar/index.js","webpack:///../node_modules/@elastic/eui/es/components/badge/badge.js","webpack:///../node_modules/@elastic/eui/es/components/badge/badge.styles.js","webpack:///../node_modules/@elastic/eui/es/components/badge/badge_group/badge_group.js","webpack:///../node_modules/@elastic/eui/es/components/badge/badge_group/badge_group.styles.js","webpack:///../node_modules/@elastic/eui/es/components/badge/beta_badge/beta_badge.js","webpack:///../node_modules/@elastic/eui/es/components/badge/beta_badge/beta_badge.styles.js","webpack:///../node_modules/@elastic/eui/es/components/badge/color_utils.js","webpack:///../node_modules/@elastic/eui/es/components/badge/index.js","webpack:///../node_modules/@elastic/eui/es/components/badge/notification_badge/badge_notification.js","webpack:///../node_modules/@elastic/eui/es/components/badge/notification_badge/badge_notification.styles.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/action_types.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/basic_table.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/basic_table.styles.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/collapsed_item_actions.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/custom_item_action.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/default_item_action.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/expanded_item_actions.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/in_memory_table.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/index.js","webpack:///../node_modules/@elastic/eui/es/components/basic_table/pagination_bar.js","webpack:///../node_modules/@elastic/eui/es/components/beacon/beacon.js","webpack:///../node_modules/@elastic/eui/es/components/beacon/beacon.styles.js","webpack:///../node_modules/@elastic/eui/es/components/beacon/index.js","webpack:///../node_modules/@elastic/eui/es/components/bottom_bar/bottom_bar.js","webpack:///../node_modules/@elastic/eui/es/components/bottom_bar/bottom_bar.styles.js","webpack:///../node_modules/@elastic/eui/es/components/bottom_bar/index.js","webpack:///../node_modules/@elastic/eui/es/components/breadcrumbs/breadcrumb.js","webpack:///../node_modules/@elastic/eui/es/components/breadcrumbs/breadcrumb.styles.js","webpack:///../node_modules/@elastic/eui/es/components/breadcrumbs/breadcrumbs.js","webpack:///../node_modules/@elastic/eui/es/components/breadcrumbs/breadcrumbs.styles.js","webpack:///../node_modules/@elastic/eui/es/components/breadcrumbs/index.js","webpack:///../node_modules/@elastic/eui/es/components/button/button.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_display/_button_display.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_display/_button_display.styles.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_display/_button_display_content.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_display/_button_display_content.styles.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_empty/button_empty.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_empty/button_empty.styles.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_group/button_group.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_group/button_group.styles.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_group/button_group_button.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_group/button_group_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_icon/button_icon.js","webpack:///../node_modules/@elastic/eui/es/components/button/button_icon/button_icon.styles.js","webpack:///../node_modules/@elastic/eui/es/components/button/index.js","webpack:///../node_modules/@elastic/eui/es/components/call_out/call_out.js","webpack:///../node_modules/@elastic/eui/es/components/call_out/call_out.styles.js","webpack:///../node_modules/@elastic/eui/es/components/call_out/index.js","webpack:///../node_modules/@elastic/eui/es/components/card/card.js","webpack:///../node_modules/@elastic/eui/es/components/card/card.styles.js","webpack:///../node_modules/@elastic/eui/es/components/card/card_select/card_select.js","webpack:///../node_modules/@elastic/eui/es/components/card/card_select/card_select.styles.js","webpack:///../node_modules/@elastic/eui/es/components/card/checkable_card/checkable_card.js","webpack:///../node_modules/@elastic/eui/es/components/card/checkable_card/checkable_card.styles.js","webpack:///../node_modules/@elastic/eui/es/components/card/index.js","webpack:///../node_modules/@elastic/eui/es/components/code/code.js","webpack:///../node_modules/@elastic/eui/es/components/code/code.styles.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block.styles.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_annotations.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_annotations.style.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_controls.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_controls.styles.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_copy.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_full_screen.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_line.styles.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_overflow.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_block_virtualized.js","webpack:///../node_modules/@elastic/eui/es/components/code/code_syntax.styles.js","webpack:///../node_modules/@elastic/eui/es/components/code/index.js","webpack:///../node_modules/@elastic/eui/es/components/code/utils.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav/collapsible_nav.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav/collapsible_nav.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav/index.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_beta.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_beta.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_link.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_link.styles.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/context.js","webpack:///../node_modules/@elastic/eui/es/components/collapsible_nav_beta/index.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_palette_display/color_palette_display.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_palette_display/color_palette_display_fixed.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_palette_display/color_palette_display_gradient.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_palette_picker/color_palette_picker.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_picker.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_picker.styles.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_picker_swatch.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_stops/color_stop_thumb.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_stops/color_stop_thumb.styles.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_stops/color_stops.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_stops/color_stops.styles.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/color_stops/utils.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/hue.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/index.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/saturation.js","webpack:///../node_modules/@elastic/eui/es/components/color_picker/utils.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/combo_box.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/combo_box_input/combo_box_input.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/combo_box_input/combo_box_pill.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/combo_box_input/index.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/combo_box_options_list/combo_box_option.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/combo_box_options_list/combo_box_options_list.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/combo_box_options_list/combo_box_title.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/combo_box_options_list/index.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/index.js","webpack:///../node_modules/@elastic/eui/es/components/combo_box/matching_options.js","webpack:///../node_modules/@elastic/eui/es/components/comment_list/comment.js","webpack:///../node_modules/@elastic/eui/es/components/comment_list/comment_event.js","webpack:///../node_modules/@elastic/eui/es/components/comment_list/comment_event.styles.js","webpack:///../node_modules/@elastic/eui/es/components/comment_list/comment_list.js","webpack:///../node_modules/@elastic/eui/es/components/comment_list/comment_timeline.js","webpack:///../node_modules/@elastic/eui/es/components/comment_list/index.js","webpack:///../node_modules/@elastic/eui/es/components/common.js","webpack:///../node_modules/@elastic/eui/es/components/context/context.js","webpack:///../node_modules/@elastic/eui/es/components/context/index.js","webpack:///../node_modules/@elastic/eui/es/components/context_menu/context_menu.js","webpack:///../node_modules/@elastic/eui/es/components/context_menu/context_menu_item.js","webpack:///../node_modules/@elastic/eui/es/components/context_menu/context_menu_panel.js","webpack:///../node_modules/@elastic/eui/es/components/context_menu/index.js","webpack:///../node_modules/@elastic/eui/es/components/control_bar/control_bar.js","webpack:///../node_modules/@elastic/eui/es/components/control_bar/index.js","webpack:///../node_modules/@elastic/eui/es/components/copy/copy.js","webpack:///../node_modules/@elastic/eui/es/components/copy/index.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/data_grid_body.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/data_grid_body_custom.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/data_grid_body_virtualized.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/data_grid_cell.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/data_grid_cell_actions.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/data_grid_cell_popover.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/data_grid_cell_wrapper.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/data_grid_row_manager.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/footer/data_grid_footer_row.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/footer/use_data_grid_footer.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/header/column_actions.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/header/data_grid_column_resizer.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/header/data_grid_control_header_cell.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/header/data_grid_header_cell.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/header/data_grid_header_row.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/header/header_is_interactive.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/body/header/use_data_grid_header.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/controls/column_selector.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/controls/column_sorting.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/controls/column_sorting_draggable.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/controls/data_grid_toolbar.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/controls/display_selector.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/controls/fullscreen_selector.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/controls/keyboard_shortcuts.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/data_grid.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/data_grid_types.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/index.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/col_widths.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/data_grid_pagination.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/data_grid_schema.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/focus.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/grid_height_width.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/in_memory.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/ref.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/row_count.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/row_heights.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/scrolling.js","webpack:///../node_modules/@elastic/eui/es/components/datagrid/utils/sorting.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/auto_refresh/auto_refresh.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/auto_refresh/index.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/auto_refresh/refresh_interval.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/date_picker.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/date_picker_range.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/date_picker_range.styles.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/index.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/calendar.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/calendar_container.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/date_utils.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/day.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/index.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/month.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/month_dropdown.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/month_dropdown_options.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/month_year_dropdown.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/month_year_dropdown_options.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/time.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/week.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/week_number.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/year_dropdown.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/react-datepicker/src/year_dropdown_options.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/async_interval.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/date_modes.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/date_popover/date_popover_content.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/date_popover/index.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/date_popover/relative_tab.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/index.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/pretty_duration.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/pretty_interval.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/quick_select_popover/index.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_utils.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/quick_select_popover/recently_used.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/relative_utils.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/super_date_picker.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/super_update_button.js","webpack:///../node_modules/@elastic/eui/es/components/date_picker/super_date_picker/time_options.js","webpack:///../node_modules/@elastic/eui/es/components/delay_hide/delay_hide.js","webpack:///../node_modules/@elastic/eui/es/components/delay_hide/index.js","webpack:///../node_modules/@elastic/eui/es/components/delay_render/delay_render.js","webpack:///../node_modules/@elastic/eui/es/components/delay_render/index.js","webpack:///../node_modules/@elastic/eui/es/components/description_list/description_list.js","webpack:///../node_modules/@elastic/eui/es/components/description_list/description_list.styles.js","webpack:///../node_modules/@elastic/eui/es/components/description_list/description_list_context.js","webpack:///../node_modules/@elastic/eui/es/components/description_list/description_list_description.js","webpack:///../node_modules/@elastic/eui/es/components/description_list/description_list_description.styles.js","webpack:///../node_modules/@elastic/eui/es/components/description_list/description_list_title.js","webpack:///../node_modules/@elastic/eui/es/components/description_list/description_list_title.styles.js","webpack:///../node_modules/@elastic/eui/es/components/description_list/index.js","webpack:///../node_modules/@elastic/eui/es/components/drag_and_drop/drag_drop_context.js","webpack:///../node_modules/@elastic/eui/es/components/drag_and_drop/draggable.js","webpack:///../node_modules/@elastic/eui/es/components/drag_and_drop/droppable.js","webpack:///../node_modules/@elastic/eui/es/components/drag_and_drop/index.js","webpack:///../node_modules/@elastic/eui/es/components/drag_and_drop/services.js","webpack:///../node_modules/@elastic/eui/es/components/empty_prompt/empty_prompt.js","webpack:///../node_modules/@elastic/eui/es/components/empty_prompt/index.js","webpack:///../node_modules/@elastic/eui/es/components/error_boundary/error_boundary.js","webpack:///../node_modules/@elastic/eui/es/components/error_boundary/error_boundary.styles.js","webpack:///../node_modules/@elastic/eui/es/components/error_boundary/index.js","webpack:///../node_modules/@elastic/eui/es/components/expression/expression.js","webpack:///../node_modules/@elastic/eui/es/components/expression/expression.styles.js","webpack:///../node_modules/@elastic/eui/es/components/expression/index.js","webpack:///../node_modules/@elastic/eui/es/components/facet/facet_button.js","webpack:///../node_modules/@elastic/eui/es/components/facet/facet_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/facet/facet_group.js","webpack:///../node_modules/@elastic/eui/es/components/facet/facet_group.styles.js","webpack:///../node_modules/@elastic/eui/es/components/facet/index.js","webpack:///../node_modules/@elastic/eui/es/components/filter_group/filter_button.js","webpack:///../node_modules/@elastic/eui/es/components/filter_group/filter_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/filter_group/filter_group.js","webpack:///../node_modules/@elastic/eui/es/components/filter_group/filter_group.styles.js","webpack:///../node_modules/@elastic/eui/es/components/filter_group/filter_select_item.js","webpack:///../node_modules/@elastic/eui/es/components/filter_group/filter_select_item.styles.js","webpack:///../node_modules/@elastic/eui/es/components/filter_group/index.js","webpack:///../node_modules/@elastic/eui/es/components/flex/flex_grid.js","webpack:///../node_modules/@elastic/eui/es/components/flex/flex_grid.styles.js","webpack:///../node_modules/@elastic/eui/es/components/flex/flex_group.js","webpack:///../node_modules/@elastic/eui/es/components/flex/flex_group.styles.js","webpack:///../node_modules/@elastic/eui/es/components/flex/flex_item.js","webpack:///../node_modules/@elastic/eui/es/components/flex/flex_item.styles.js","webpack:///../node_modules/@elastic/eui/es/components/flex/index.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/flyout.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/flyout.styles.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/flyout_body.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/flyout_body.styles.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/flyout_footer.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/flyout_footer.styles.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/flyout_header.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/flyout_header.styles.js","webpack:///../node_modules/@elastic/eui/es/components/flyout/index.js","webpack:///../node_modules/@elastic/eui/es/components/focus_trap/focus_trap.js","webpack:///../node_modules/@elastic/eui/es/components/focus_trap/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/checkbox/checkbox.js","webpack:///../node_modules/@elastic/eui/es/components/form/checkbox/checkbox_group.js","webpack:///../node_modules/@elastic/eui/es/components/form/checkbox/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/described_form_group/described_form_group.js","webpack:///../node_modules/@elastic/eui/es/components/form/described_form_group/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/eui_form_context.js","webpack:///../node_modules/@elastic/eui/es/components/form/field_number/field_number.js","webpack:///../node_modules/@elastic/eui/es/components/form/field_number/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/field_password/field_password.js","webpack:///../node_modules/@elastic/eui/es/components/form/field_password/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/field_search/field_search.js","webpack:///../node_modules/@elastic/eui/es/components/form/field_search/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/field_text/field_text.js","webpack:///../node_modules/@elastic/eui/es/components/form/field_text/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/file_picker/file_picker.js","webpack:///../node_modules/@elastic/eui/es/components/form/file_picker/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/form.js","webpack:///../node_modules/@elastic/eui/es/components/form/form.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_control_layout/_num_icons.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_control_layout/form_control_layout.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_control_layout/form_control_layout_clear_button.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_control_layout/form_control_layout_custom_icon.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_control_layout/form_control_layout_delimited.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_control_layout/form_control_layout_icons.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_control_layout/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_error_text/form_error_text.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_error_text/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_fieldset/form_fieldset.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_fieldset/form_legend.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_fieldset/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_help_text/form_help_text.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_help_text/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_label/form_label.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_label/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_row/form_row.js","webpack:///../node_modules/@elastic/eui/es/components/form/form_row/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/radio/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/radio/radio.js","webpack:///../node_modules/@elastic/eui/es/components/form/radio/radio_group.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/dual_range.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/dual_range.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_draggable.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_draggable.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_highlight.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_highlight.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_input.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_input.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_label.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_label.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_levels.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_levels.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_levels_colors.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_slider.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_slider.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_thumb.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_thumb.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_ticks.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_ticks.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_tooltip.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_tooltip.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_track.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_track.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_wrapper.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/range_wrapper.styles.js","webpack:///../node_modules/@elastic/eui/es/components/form/range/utils.js","webpack:///../node_modules/@elastic/eui/es/components/form/select/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/select/select.js","webpack:///../node_modules/@elastic/eui/es/components/form/super_select/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/super_select/super_select.js","webpack:///../node_modules/@elastic/eui/es/components/form/super_select/super_select_control.js","webpack:///../node_modules/@elastic/eui/es/components/form/switch/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/switch/switch.js","webpack:///../node_modules/@elastic/eui/es/components/form/text_area/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/text_area/text_area.js","webpack:///../node_modules/@elastic/eui/es/components/form/validatable_control/index.js","webpack:///../node_modules/@elastic/eui/es/components/form/validatable_control/validatable_control.js","webpack:///../node_modules/@elastic/eui/es/components/header/header.js","webpack:///../node_modules/@elastic/eui/es/components/header/header.styles.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_alert/header_alert.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_alert/header_alert.styles.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_breadcrumbs/header_breadcrumbs.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_breadcrumbs/header_breadcrumbs.styles.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_links/header_link.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_links/header_links.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_links/header_links.styles.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_logo/header_logo.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_logo/header_logo.styles.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_section/header_section.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_section/header_section.styles.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_section/header_section_item.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_section/header_section_item.styles.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_section/header_section_item_button.js","webpack:///../node_modules/@elastic/eui/es/components/header/header_section/header_section_item_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/header/index.js","webpack:///../node_modules/@elastic/eui/es/components/health/health.js","webpack:///../node_modules/@elastic/eui/es/components/health/health.styles.js","webpack:///../node_modules/@elastic/eui/es/components/health/index.js","webpack:///../node_modules/@elastic/eui/es/components/highlight/highlight.js","webpack:///../node_modules/@elastic/eui/es/components/highlight/index.js","webpack:///../node_modules/@elastic/eui/es/components/horizontal_rule/horizontal_rule.js","webpack:///../node_modules/@elastic/eui/es/components/horizontal_rule/horizontal_rule.styles.js","webpack:///../node_modules/@elastic/eui/es/components/horizontal_rule/index.js","webpack:///../node_modules/@elastic/eui/es/components/i18n/i18n.js","webpack:///../node_modules/@elastic/eui/es/components/i18n/i18n_number.js","webpack:///../node_modules/@elastic/eui/es/components/i18n/i18n_util.js","webpack:///../node_modules/@elastic/eui/es/components/i18n/index.js","webpack:///../node_modules/@elastic/eui/es/components/icon/assets/empty.js","webpack:///../node_modules/@elastic/eui/es/components/icon/icon.js","webpack:///../node_modules/@elastic/eui/es/components/icon/icon.styles.js","webpack:///../node_modules/@elastic/eui/es/components/icon/icon_map.js","webpack:///../node_modules/@elastic/eui/es/components/icon/index.js","webpack:///../node_modules/@elastic/eui/es/components/icon/named_colors.js","webpack:///../node_modules/@elastic/eui/es/components/image/image.js","webpack:///../node_modules/@elastic/eui/es/components/image/image.styles.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_button.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_caption.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_caption.styles.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_fullscreen_wrapper.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_fullscreen_wrapper.styles.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_types.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_wrapper.js","webpack:///../node_modules/@elastic/eui/es/components/image/image_wrapper.styles.js","webpack:///../node_modules/@elastic/eui/es/components/image/index.js","webpack:///../node_modules/@elastic/eui/es/components/index.js","webpack:///../node_modules/@elastic/eui/es/components/inline_edit/index.js","webpack:///../node_modules/@elastic/eui/es/components/inline_edit/inline_edit_form.js","webpack:///../node_modules/@elastic/eui/es/components/inline_edit/inline_edit_form.styles.js","webpack:///../node_modules/@elastic/eui/es/components/inline_edit/inline_edit_text.js","webpack:///../node_modules/@elastic/eui/es/components/inline_edit/inline_edit_text.styles.js","webpack:///../node_modules/@elastic/eui/es/components/inline_edit/inline_edit_title.js","webpack:///../node_modules/@elastic/eui/es/components/inline_edit/inline_edit_title.styles.js","webpack:///../node_modules/@elastic/eui/es/components/inner_text/index.js","webpack:///../node_modules/@elastic/eui/es/components/inner_text/inner_text.js","webpack:///../node_modules/@elastic/eui/es/components/key_pad_menu/index.js","webpack:///../node_modules/@elastic/eui/es/components/key_pad_menu/key_pad_menu.js","webpack:///../node_modules/@elastic/eui/es/components/key_pad_menu/key_pad_menu.styles.js","webpack:///../node_modules/@elastic/eui/es/components/key_pad_menu/key_pad_menu_item.js","webpack:///../node_modules/@elastic/eui/es/components/link/index.js","webpack:///../node_modules/@elastic/eui/es/components/link/link.js","webpack:///../node_modules/@elastic/eui/es/components/link/link.styles.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/index.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/list_group.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/list_group.styles.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/list_group_item.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/list_group_item.styles.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/list_group_item_extra_action.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/list_group_item_extra_action.styles.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/pinnable_list_group/pinnable_list_group.js","webpack:///../node_modules/@elastic/eui/es/components/list_group/pinnable_list_group/pinnable_list_group.styles.js","webpack:///../node_modules/@elastic/eui/es/components/loading/_loading_strings.js","webpack:///../node_modules/@elastic/eui/es/components/loading/index.js","webpack:///../node_modules/@elastic/eui/es/components/loading/loading_chart.js","webpack:///../node_modules/@elastic/eui/es/components/loading/loading_chart.styles.js","webpack:///../node_modules/@elastic/eui/es/components/loading/loading_elastic.js","webpack:///../node_modules/@elastic/eui/es/components/loading/loading_elastic.styles.js","webpack:///../node_modules/@elastic/eui/es/components/loading/loading_logo.js","webpack:///../node_modules/@elastic/eui/es/components/loading/loading_logo.styles.js","webpack:///../node_modules/@elastic/eui/es/components/loading/loading_spinner.js","webpack:///../node_modules/@elastic/eui/es/components/loading/loading_spinner.styles.js","webpack:///../node_modules/@elastic/eui/es/components/mark/index.js","webpack:///../node_modules/@elastic/eui/es/components/mark/mark.js","webpack:///../node_modules/@elastic/eui/es/components/mark/mark.styles.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/icons/markdown_logo.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/index.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_actions.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_context.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_editor.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_editor_drop_zone.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_editor_footer.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_editor_text_area.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_editor_toolbar.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_format.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_format.styles.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_modes.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/markdown_types.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_checkbox/parser.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_checkbox/renderer.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_default_plugins/plugins.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_default_plugins/processing_plugins.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_default_plugins/ui_plugins.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_link_validator.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_tooltip/parser.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_tooltip/plugin.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/markdown_tooltip/renderer.js","webpack:///../node_modules/@elastic/eui/es/components/markdown_editor/plugins/remark/remark_prismjs.js","webpack:///../node_modules/@elastic/eui/es/components/modal/confirm_modal.js","webpack:///../node_modules/@elastic/eui/es/components/modal/index.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal.styles.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal_body.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal_body.styles.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal_footer.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal_footer.styles.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal_header.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal_header.styles.js","webpack:///../node_modules/@elastic/eui/es/components/modal/modal_header_title.js","webpack:///../node_modules/@elastic/eui/es/components/notification/index.js","webpack:///../node_modules/@elastic/eui/es/components/notification/notification_event.js","webpack:///../node_modules/@elastic/eui/es/components/notification/notification_event_messages.js","webpack:///../node_modules/@elastic/eui/es/components/notification/notification_event_meta.js","webpack:///../node_modules/@elastic/eui/es/components/notification/notification_event_read_button.js","webpack:///../node_modules/@elastic/eui/es/components/notification/notification_event_read_icon.js","webpack:///../node_modules/@elastic/eui/es/components/observer/mutation_observer/index.js","webpack:///../node_modules/@elastic/eui/es/components/observer/mutation_observer/mutation_observer.js","webpack:///../node_modules/@elastic/eui/es/components/observer/observer.js","webpack:///../node_modules/@elastic/eui/es/components/observer/resize_observer/index.js","webpack:///../node_modules/@elastic/eui/es/components/observer/resize_observer/resize_observer.js","webpack:///../node_modules/@elastic/eui/es/components/outside_click_detector/index.js","webpack:///../node_modules/@elastic/eui/es/components/outside_click_detector/outside_click_detector.js","webpack:///../node_modules/@elastic/eui/es/components/overlay_mask/index.js","webpack:///../node_modules/@elastic/eui/es/components/overlay_mask/overlay_mask.js","webpack:///../node_modules/@elastic/eui/es/components/overlay_mask/overlay_mask.styles.js","webpack:///../node_modules/@elastic/eui/es/components/overlay_mask/overlay_mask_body.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page/_restrict_width.js","webpack:///../node_modules/@elastic/eui/es/components/page/index.js","webpack:///../node_modules/@elastic/eui/es/components/page/page.js","webpack:///../node_modules/@elastic/eui/es/components/page/page.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_body/page_body.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_body/page_body.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_content/page_content.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_content/page_content_body.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_content/page_content_header.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_content/page_content_header_section.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_header/page_header.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_header/page_header.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_header/page_header_content.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_header/page_header_content.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_header/page_header_section.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_section/page_section.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_section/page_section.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_side_bar/page_side_bar.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_sidebar/page_sidebar.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_sidebar/page_sidebar.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page/page_template.js","webpack:///../node_modules/@elastic/eui/es/components/page_template/bottom_bar/page_bottom_bar.js","webpack:///../node_modules/@elastic/eui/es/components/page_template/empty_prompt/page_empty_prompt.js","webpack:///../node_modules/@elastic/eui/es/components/page_template/index.js","webpack:///../node_modules/@elastic/eui/es/components/page_template/inner/page_inner.js","webpack:///../node_modules/@elastic/eui/es/components/page_template/inner/page_inner.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page_template/outer/page_outer.js","webpack:///../node_modules/@elastic/eui/es/components/page_template/outer/page_outer.styles.js","webpack:///../node_modules/@elastic/eui/es/components/page_template/page_template.js","webpack:///../node_modules/@elastic/eui/es/components/pagination/index.js","webpack:///../node_modules/@elastic/eui/es/components/pagination/pagination.js","webpack:///../node_modules/@elastic/eui/es/components/pagination/pagination.styles.js","webpack:///../node_modules/@elastic/eui/es/components/pagination/pagination_button.js","webpack:///../node_modules/@elastic/eui/es/components/pagination/pagination_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/pagination/pagination_button_arrow.js","webpack:///../node_modules/@elastic/eui/es/components/panel/index.js","webpack:///../node_modules/@elastic/eui/es/components/panel/panel.js","webpack:///../node_modules/@elastic/eui/es/components/panel/panel.styles.js","webpack:///../node_modules/@elastic/eui/es/components/panel/split_panel/split_panel.js","webpack:///../node_modules/@elastic/eui/es/components/popover/index.js","webpack:///../node_modules/@elastic/eui/es/components/popover/input_popover.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover.styles.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover_arrow/_popover_arrow.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover_arrow/_popover_arrow.styles.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover_footer.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover_footer.styles.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover_panel/_popover_panel.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover_panel/_popover_panel.styles.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover_title.js","webpack:///../node_modules/@elastic/eui/es/components/popover/popover_title.styles.js","webpack:///../node_modules/@elastic/eui/es/components/popover/wrapping_popover.js","webpack:///../node_modules/@elastic/eui/es/components/portal/index.js","webpack:///../node_modules/@elastic/eui/es/components/portal/portal.js","webpack:///../node_modules/@elastic/eui/es/components/progress/index.js","webpack:///../node_modules/@elastic/eui/es/components/progress/progress.js","webpack:///../node_modules/@elastic/eui/es/components/progress/progress.styles.js","webpack:///../node_modules/@elastic/eui/es/components/provider/cache/cache_provider.js","webpack:///../node_modules/@elastic/eui/es/components/provider/component_defaults/component_defaults.js","webpack:///../node_modules/@elastic/eui/es/components/provider/index.js","webpack:///../node_modules/@elastic/eui/es/components/provider/nested/nested_context.js","webpack:///../node_modules/@elastic/eui/es/components/provider/provider.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/context.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/helpers.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/index.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/resizable_button.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/resizable_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/resizable_collapse_button.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/resizable_collapse_button.styles.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/resizable_container.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/resizable_container.styles.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/resizable_panel.js","webpack:///../node_modules/@elastic/eui/es/components/resizable_container/resizable_panel.styles.js","webpack:///../node_modules/@elastic/eui/es/components/responsive/hide_for.js","webpack:///../node_modules/@elastic/eui/es/components/responsive/index.js","webpack:///../node_modules/@elastic/eui/es/components/responsive/show_for.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/filters/custom_component_filter.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/filters/field_value_selection_filter.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/filters/field_value_toggle_filter.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/filters/field_value_toggle_group_filter.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/filters/filters.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/filters/is_filter.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/index.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/ast.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/ast_to_es_query_dsl.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/ast_to_es_query_string.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/date_format.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/date_value.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/default_syntax.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/execute_ast.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/operators.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/query/query.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/search_bar.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/search_box.js","webpack:///../node_modules/@elastic/eui/es/components/search_bar/search_filters.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/index.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/matching_options.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/selectable.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/selectable_list/selectable_list.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/selectable_list/selectable_list_item.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/selectable_message/selectable_message.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/selectable_search/selectable_search.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/selectable_templates/selectable_template_sitewide.js","webpack:///../node_modules/@elastic/eui/es/components/selectable/selectable_templates/selectable_template_sitewide_option.js","webpack:///../node_modules/@elastic/eui/es/components/side_nav/index.js","webpack:///../node_modules/@elastic/eui/es/components/side_nav/side_nav.js","webpack:///../node_modules/@elastic/eui/es/components/side_nav/side_nav_item.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/index.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_circle.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_circle.styles.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_loading.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_rectangle.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_rectangle.styles.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_text.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_text.styles.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_title.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/skeleton_title.styles.js","webpack:///../node_modules/@elastic/eui/es/components/skeleton/utils.js","webpack:///../node_modules/@elastic/eui/es/components/spacer/index.js","webpack:///../node_modules/@elastic/eui/es/components/spacer/spacer.js","webpack:///../node_modules/@elastic/eui/es/components/spacer/spacer.styles.js","webpack:///../node_modules/@elastic/eui/es/components/stat/index.js","webpack:///../node_modules/@elastic/eui/es/components/stat/stat.js","webpack:///../node_modules/@elastic/eui/es/components/stat/stat.styles.js","webpack:///../node_modules/@elastic/eui/es/components/steps/index.js","webpack:///../node_modules/@elastic/eui/es/components/steps/step.js","webpack:///../node_modules/@elastic/eui/es/components/steps/step.styles.js","webpack:///../node_modules/@elastic/eui/es/components/steps/step_horizontal.js","webpack:///../node_modules/@elastic/eui/es/components/steps/step_horizontal.styles.js","webpack:///../node_modules/@elastic/eui/es/components/steps/step_number.js","webpack:///../node_modules/@elastic/eui/es/components/steps/step_number.styles.js","webpack:///../node_modules/@elastic/eui/es/components/steps/step_strings.js","webpack:///../node_modules/@elastic/eui/es/components/steps/steps.js","webpack:///../node_modules/@elastic/eui/es/components/steps/steps_horizontal.js","webpack:///../node_modules/@elastic/eui/es/components/steps/steps_horizontal.styles.js","webpack:///../node_modules/@elastic/eui/es/components/steps/sub_steps.js","webpack:///../node_modules/@elastic/eui/es/components/steps/sub_steps.styles.js","webpack:///../node_modules/@elastic/eui/es/components/suggest/index.js","webpack:///../node_modules/@elastic/eui/es/components/suggest/suggest.js","webpack:///../node_modules/@elastic/eui/es/components/suggest/suggest_item.js","webpack:///../node_modules/@elastic/eui/es/components/table/index.js","webpack:///../node_modules/@elastic/eui/es/components/table/mobile/table_header_mobile.js","webpack:///../node_modules/@elastic/eui/es/components/table/mobile/table_sort_mobile.js","webpack:///../node_modules/@elastic/eui/es/components/table/mobile/table_sort_mobile_item.js","webpack:///../node_modules/@elastic/eui/es/components/table/table.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_body.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_footer.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_footer_cell.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_header.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_header_button.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_header_cell.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_header_cell_checkbox.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_pagination/table_pagination.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_pagination/table_pagination_defaults.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_row.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_row_cell.js","webpack:///../node_modules/@elastic/eui/es/components/table/table_row_cell_checkbox.js","webpack:///../node_modules/@elastic/eui/es/components/table/utils.js","webpack:///../node_modules/@elastic/eui/es/components/tabs/index.js","webpack:///../node_modules/@elastic/eui/es/components/tabs/tab.js","webpack:///../node_modules/@elastic/eui/es/components/tabs/tab.styles.js","webpack:///../node_modules/@elastic/eui/es/components/tabs/tabbed_content/tabbed_content.js","webpack:///../node_modules/@elastic/eui/es/components/tabs/tabs.js","webpack:///../node_modules/@elastic/eui/es/components/tabs/tabs.styles.js","webpack:///../node_modules/@elastic/eui/es/components/tabs/tabs_context.js","webpack:///../node_modules/@elastic/eui/es/components/text/index.js","webpack:///../node_modules/@elastic/eui/es/components/text/text.js","webpack:///../node_modules/@elastic/eui/es/components/text/text.styles.js","webpack:///../node_modules/@elastic/eui/es/components/text/text_align.js","webpack:///../node_modules/@elastic/eui/es/components/text/text_align.styles.js","webpack:///../node_modules/@elastic/eui/es/components/text/text_color.js","webpack:///../node_modules/@elastic/eui/es/components/text/text_color.styles.js","webpack:///../node_modules/@elastic/eui/es/components/text_diff/index.js","webpack:///../node_modules/@elastic/eui/es/components/text_diff/text_diff.js","webpack:///../node_modules/@elastic/eui/es/components/text_diff/text_diff.styles.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/index.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/timeline.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/timeline.styles.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/timeline_item.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/timeline_item.styles.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/timeline_item_event.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/timeline_item_event.styles.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/timeline_item_icon.js","webpack:///../node_modules/@elastic/eui/es/components/timeline/timeline_item_icon.styles.js","webpack:///../node_modules/@elastic/eui/es/components/title/index.js","webpack:///../node_modules/@elastic/eui/es/components/title/title.js","webpack:///../node_modules/@elastic/eui/es/components/title/title.styles.js","webpack:///../node_modules/@elastic/eui/es/components/toast/global_toast_list.js","webpack:///../node_modules/@elastic/eui/es/components/toast/global_toast_list.styles.js","webpack:///../node_modules/@elastic/eui/es/components/toast/global_toast_list_item.js","webpack:///../node_modules/@elastic/eui/es/components/toast/index.js","webpack:///../node_modules/@elastic/eui/es/components/toast/toast.js","webpack:///../node_modules/@elastic/eui/es/components/toast/toast.styles.js","webpack:///../node_modules/@elastic/eui/es/components/token/index.js","webpack:///../node_modules/@elastic/eui/es/components/token/token.js","webpack:///../node_modules/@elastic/eui/es/components/token/token.styles.js","webpack:///../node_modules/@elastic/eui/es/components/token/token_map.js","webpack:///../node_modules/@elastic/eui/es/components/token/token_types.js","webpack:///../node_modules/@elastic/eui/es/components/tool_tip/icon_tip.js","webpack:///../node_modules/@elastic/eui/es/components/tool_tip/index.js","webpack:///../node_modules/@elastic/eui/es/components/tool_tip/tool_tip.js","webpack:///../node_modules/@elastic/eui/es/components/tool_tip/tool_tip.styles.js","webpack:///../node_modules/@elastic/eui/es/components/tool_tip/tool_tip_anchor.js","webpack:///../node_modules/@elastic/eui/es/components/tool_tip/tool_tip_arrow.js","webpack:///../node_modules/@elastic/eui/es/components/tool_tip/tool_tip_manager.js","webpack:///../node_modules/@elastic/eui/es/components/tool_tip/tool_tip_popover.js","webpack:///../node_modules/@elastic/eui/es/components/tour/index.js","webpack:///../node_modules/@elastic/eui/es/components/tour/tour.js","webpack:///../node_modules/@elastic/eui/es/components/tour/tour.styles.js","webpack:///../node_modules/@elastic/eui/es/components/tour/tour_step.js","webpack:///../node_modules/@elastic/eui/es/components/tour/tour_step_indicator.js","webpack:///../node_modules/@elastic/eui/es/components/tour/useEuiTour.js","webpack:///../node_modules/@elastic/eui/es/components/tree_view/index.js","webpack:///../node_modules/@elastic/eui/es/components/tree_view/tree_view.js","webpack:///../node_modules/@elastic/eui/es/global_styling/functions/index.js","webpack:///../node_modules/@elastic/eui/es/global_styling/functions/logical_shorthands.js","webpack:///../node_modules/@elastic/eui/es/global_styling/functions/logicals.js","webpack:///../node_modules/@elastic/eui/es/global_styling/functions/math.js","webpack:///../node_modules/@elastic/eui/es/global_styling/functions/size.js","webpack:///../node_modules/@elastic/eui/es/global_styling/functions/typography.js","webpack:///../node_modules/@elastic/eui/es/global_styling/index.js","webpack:///../node_modules/@elastic/eui/es/global_styling/mixins/_color.js","webpack:///../node_modules/@elastic/eui/es/global_styling/mixins/_helpers.js","webpack:///../node_modules/@elastic/eui/es/global_styling/mixins/_padding.js","webpack:///../node_modules/@elastic/eui/es/global_styling/mixins/_responsive.js","webpack:///../node_modules/@elastic/eui/es/global_styling/mixins/_states.js","webpack:///../node_modules/@elastic/eui/es/global_styling/mixins/_typography.js","webpack:///../node_modules/@elastic/eui/es/global_styling/mixins/index.js","webpack:///../node_modules/@elastic/eui/es/global_styling/reset/global_styles.js","webpack:///../node_modules/@elastic/eui/es/global_styling/reset/reset.js","webpack:///../node_modules/@elastic/eui/es/global_styling/utility/animations.js","webpack:///../node_modules/@elastic/eui/es/global_styling/utility/utility.js","webpack:///../node_modules/@elastic/eui/es/global_styling/variables/animations.js","webpack:///../node_modules/@elastic/eui/es/global_styling/variables/breakpoint.js","webpack:///../node_modules/@elastic/eui/es/global_styling/variables/index.js","webpack:///../node_modules/@elastic/eui/es/global_styling/variables/levels.js","webpack:///../node_modules/@elastic/eui/es/global_styling/variables/shadow.js","webpack:///../node_modules/@elastic/eui/es/global_styling/variables/size.js","webpack:///../node_modules/@elastic/eui/es/global_styling/variables/typography.js","webpack:///../node_modules/@elastic/eui/es/index.js","webpack:///../node_modules/@elastic/eui/es/services/accessibility/accessible_click_keys.js","webpack:///../node_modules/@elastic/eui/es/services/accessibility/cascading_menu_keys.js","webpack:///../node_modules/@elastic/eui/es/services/accessibility/combo_box_keys.js","webpack:///../node_modules/@elastic/eui/es/services/accessibility/html_id_generator.js","webpack:///../node_modules/@elastic/eui/es/services/alignment.js","webpack:///../node_modules/@elastic/eui/es/services/breakpoint/_sorting.js","webpack:///../node_modules/@elastic/eui/es/services/breakpoint/current_breakpoint.js","webpack:///../node_modules/@elastic/eui/es/services/breakpoint/current_breakpoint_hook.js","webpack:///../node_modules/@elastic/eui/es/services/breakpoint/is_within_hooks.js","webpack:///../node_modules/@elastic/eui/es/services/browser/browser.js","webpack:///../node_modules/@elastic/eui/es/services/color/color_palette.js","webpack:///../node_modules/@elastic/eui/es/services/color/contrast.js","webpack:///../node_modules/@elastic/eui/es/services/color/eui_palettes.js","webpack:///../node_modules/@elastic/eui/es/services/color/hex_to_hsv.js","webpack:///../node_modules/@elastic/eui/es/services/color/hex_to_rgb.js","webpack:///../node_modules/@elastic/eui/es/services/color/hsv_to_hex.js","webpack:///../node_modules/@elastic/eui/es/services/color/hsv_to_rgb.js","webpack:///../node_modules/@elastic/eui/es/services/color/is_color_dark.js","webpack:///../node_modules/@elastic/eui/es/services/color/is_valid_hex.js","webpack:///../node_modules/@elastic/eui/es/services/color/luminance_and_contrast.js","webpack:///../node_modules/@elastic/eui/es/services/color/manipulation.js","webpack:///../node_modules/@elastic/eui/es/services/color/rgb_to_hex.js","webpack:///../node_modules/@elastic/eui/es/services/color/rgb_to_hsv.js","webpack:///../node_modules/@elastic/eui/es/services/color/stepped_gradient.js","webpack:///../node_modules/@elastic/eui/es/services/color/visualization_colors.js","webpack:///../node_modules/@elastic/eui/es/services/color_picker/color_picker.js","webpack:///../node_modules/@elastic/eui/es/services/console/index.js","webpack:///../node_modules/@elastic/eui/es/services/console/warn_once.js","webpack:///../node_modules/@elastic/eui/es/services/copy_to_clipboard.js","webpack:///../node_modules/@elastic/eui/es/services/emotion/clone_element.js","webpack:///../node_modules/@elastic/eui/es/services/emotion/index.js","webpack:///../node_modules/@elastic/eui/es/services/findElement.js","webpack:///../node_modules/@elastic/eui/es/services/format/format_auto.js","webpack:///../node_modules/@elastic/eui/es/services/format/format_boolean.js","webpack:///../node_modules/@elastic/eui/es/services/format/format_date.js","webpack:///../node_modules/@elastic/eui/es/services/format/format_number.js","webpack:///../node_modules/@elastic/eui/es/services/format/format_text.js","webpack:///../node_modules/@elastic/eui/es/services/hooks/index.js","webpack:///../node_modules/@elastic/eui/es/services/hooks/useCombinedRefs.js","webpack:///../node_modules/@elastic/eui/es/services/hooks/useDependentState.js","webpack:///../node_modules/@elastic/eui/es/services/hooks/useForceRender.js","webpack:///../node_modules/@elastic/eui/es/services/hooks/useLatest.js","webpack:///../node_modules/@elastic/eui/es/services/hooks/useMouseMove.js","webpack:///../node_modules/@elastic/eui/es/services/hooks/useUpdateEffect.js","webpack:///../node_modules/@elastic/eui/es/services/index.js","webpack:///../node_modules/@elastic/eui/es/services/keys.js","webpack:///../node_modules/@elastic/eui/es/services/number/number.js","webpack:///../node_modules/@elastic/eui/es/services/objects.js","webpack:///../node_modules/@elastic/eui/es/services/paging/pager.js","webpack:///../node_modules/@elastic/eui/es/services/popover/calculate_popover_position.js","webpack:///../node_modules/@elastic/eui/es/services/popover/popover_positioning.js","webpack:///../node_modules/@elastic/eui/es/services/predicate/common_predicates.js","webpack:///../node_modules/@elastic/eui/es/services/predicate/lodash_predicates.js","webpack:///../node_modules/@elastic/eui/es/services/random.js","webpack:///../node_modules/@elastic/eui/es/services/react.js","webpack:///../node_modules/@elastic/eui/es/services/security/get_secure_rel_for_target.js","webpack:///../node_modules/@elastic/eui/es/services/security/href_validator.js","webpack:///../node_modules/@elastic/eui/es/services/sort/comparators.js","webpack:///../node_modules/@elastic/eui/es/services/sort/property_sort.js","webpack:///../node_modules/@elastic/eui/es/services/sort/sort_direction.js","webpack:///../node_modules/@elastic/eui/es/services/sort/sortable_properties.js","webpack:///../node_modules/@elastic/eui/es/services/string/slugify.js","webpack:///../node_modules/@elastic/eui/es/services/string/to_case.js","webpack:///../node_modules/@elastic/eui/es/services/string/to_initials.js","webpack:///../node_modules/@elastic/eui/es/services/theme/context.js","webpack:///../node_modules/@elastic/eui/es/services/theme/emotion.js","webpack:///../node_modules/@elastic/eui/es/services/theme/hooks.js","webpack:///../node_modules/@elastic/eui/es/services/theme/index.js","webpack:///../node_modules/@elastic/eui/es/services/theme/provider.js","webpack:///../node_modules/@elastic/eui/es/services/theme/types.js","webpack:///../node_modules/@elastic/eui/es/services/theme/utils.js","webpack:///../node_modules/@elastic/eui/es/services/theme/warning.js","webpack:///../node_modules/@elastic/eui/es/services/throttle.js","webpack:///../node_modules/@elastic/eui/es/services/time/timer.js","webpack:///../node_modules/@elastic/eui/es/services/transition/transition.js","webpack:///../node_modules/@elastic/eui/es/services/utils.js","webpack:///../node_modules/@elastic/eui/es/services/window_event/window_event.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/functions/shadows.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/mixins/button.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/mixins/shadow.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/variables/_animation.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/variables/_borders.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/variables/_breakpoint.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/variables/_colors.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/variables/_levels.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/variables/_size.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/variables/_states.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/global_styling/variables/_typography.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/index.js","webpack:///../node_modules/@elastic/eui/es/themes/amsterdam/theme.js","webpack:///../node_modules/@elastic/eui/es/themes/index.js","webpack:///../node_modules/@elastic/eui/es/themes/themes.js","webpack:///../node_modules/@elastic/eui/es/utils/index.js","webpack:///../node_modules/@elastic/eui/es/utils/is_jest.js","webpack:///../node_modules/@elastic/eui/es/utils/prop_types/index.js","webpack:///../node_modules/@elastic/eui/es/utils/prop_types/is.js","webpack:///../node_modules/@elastic/eui/es/utils/prop_types/with_required_prop.js","webpack:///../node_modules/@elastic/eui/node_modules/chroma-js/chroma.js","webpack:///../node_modules/@elastic/eui/node_modules/classnames/index.js","webpack:///../node_modules/@elastic/eui/node_modules/react-is/cjs/react-is.production.min.js","webpack:///../node_modules/@elastic/eui/node_modules/react-is/index.js","webpack:///../node_modules/@elastic/eui/node_modules/unified/index.js","webpack:///../node_modules/@elastic/eui/node_modules/unified/node_modules/vfile/core.js","webpack:///../node_modules/@elastic/eui/node_modules/unified/node_modules/vfile/index.js","webpack:///../node_modules/@elastic/eui/node_modules/unist-util-visit/index.js","webpack:///../node_modules/@elastic/eui/node_modules/uuid/dist/esm-browser/regex.js","webpack:///../node_modules/@elastic/eui/node_modules/uuid/dist/esm-browser/rng.js","webpack:///../node_modules/@elastic/eui/node_modules/uuid/dist/esm-browser/stringify.js","webpack:///../node_modules/@elastic/eui/node_modules/uuid/dist/esm-browser/v1.js","webpack:///../node_modules/@elastic/eui/node_modules/uuid/dist/esm-browser/validate.js","webpack:///../node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js","webpack:///../node_modules/@emotion/css/dist/emotion-css.esm.js","webpack:///../node_modules/@emotion/css/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","webpack:///../node_modules/@emotion/css/node_modules/@emotion/hash/dist/emotion-hash.esm.js","webpack:///../node_modules/@emotion/css/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack:///../node_modules/@emotion/css/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","webpack:///../node_modules/@emotion/css/node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","webpack:///../node_modules/@emotion/css/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack:///../node_modules/@emotion/css/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","webpack:///../node_modules/@emotion/css/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js","webpack:///../node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js","webpack:///../node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js","webpack:///../node_modules/@emotion/react/dist/emotion-react.browser.esm.js","webpack:///../node_modules/@emotion/react/node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///../node_modules/@emotion/react/node_modules/@babel/runtime/helpers/extends.js","webpack:///../node_modules/@emotion/react/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","webpack:///../node_modules/@emotion/react/node_modules/@emotion/hash/dist/emotion-hash.esm.js","webpack:///../node_modules/@emotion/react/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack:///../node_modules/@emotion/react/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","webpack:///../node_modules/@emotion/react/node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","webpack:///../node_modules/@emotion/react/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack:///../node_modules/@emotion/react/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","webpack:///../node_modules/@emotion/react/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js","webpack:///../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","webpack:///../node_modules/@hello-pangea/dnd/dist/dnd.esm.js","webpack:///../node_modules/@mapbox/hast-util-table-cell-style/index.js","webpack:///../node_modules/@mapbox/hast-util-table-cell-style/node_modules/unist-util-is/convert.js","webpack:///../node_modules/@mapbox/hast-util-table-cell-style/node_modules/unist-util-visit-parents/index.js","webpack:///../node_modules/@mapbox/hast-util-table-cell-style/node_modules/unist-util-visit/index.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/constants.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/index.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/models/index.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preset/addArgs.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preset/addArgs.js-generated-other-entry.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preset/addArgsHelpers.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preset/addDecorator.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preset/addDecorator.js-generated-other-entry.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preview/action.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preview/actions.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preview/configureActions.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preview/decorateAction.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preview/index.js","webpack:///../node_modules/@storybook/addon-actions/dist/esm/preview/withActions.js","webpack:///../node_modules/@storybook/addon-knobs/dist/KnobManager.js","webpack:///../node_modules/@storybook/addon-knobs/dist/KnobStore.js","webpack:///../node_modules/@storybook/addon-knobs/dist/converters.js","webpack:///../node_modules/@storybook/addon-knobs/dist/index.js","webpack:///../node_modules/@storybook/addon-knobs/dist/preset/addDecorator.js","webpack:///../node_modules/@storybook/addon-knobs/dist/preset/addDecorator.js-generated-other-entry.js","webpack:///../node_modules/@storybook/addon-knobs/dist/registerKnobs.js","webpack:///../node_modules/@storybook/addon-knobs/dist/shared.js","webpack:///../node_modules/@storybook/addons/dist/esm/hooks.js","webpack:///../node_modules/@storybook/addons/dist/esm/index.js","webpack:///../node_modules/@storybook/addons/dist/esm/make-decorator.js","webpack:///../node_modules/@storybook/addons/dist/esm/public_api.js","webpack:///../node_modules/@storybook/addons/dist/esm/storybook-channel-mock.js","webpack:///../node_modules/@storybook/addons/dist/esm/types.js","webpack:///../node_modules/@storybook/channel-postmessage/dist/esm/index.js","webpack:///../node_modules/@storybook/channels/dist/esm/index.js","webpack:///../node_modules/@storybook/client-api/dist/esm/args.js","webpack:///../node_modules/@storybook/client-api/dist/esm/client_api.js","webpack:///../node_modules/@storybook/client-api/dist/esm/config_api.js","webpack:///../node_modules/@storybook/client-api/dist/esm/decorators.js","webpack:///../node_modules/@storybook/client-api/dist/esm/ensureArgTypes.js","webpack:///../node_modules/@storybook/client-api/dist/esm/filterArgTypes.js","webpack:///../node_modules/@storybook/client-api/dist/esm/hooks.js","webpack:///../node_modules/@storybook/client-api/dist/esm/index.js","webpack:///../node_modules/@storybook/client-api/dist/esm/inferArgTypes.js","webpack:///../node_modules/@storybook/client-api/dist/esm/inferControls.js","webpack:///../node_modules/@storybook/client-api/dist/esm/parameters.js","webpack:///../node_modules/@storybook/client-api/dist/esm/pathToId.js","webpack:///../node_modules/@storybook/client-api/dist/esm/queryparams.js","webpack:///../node_modules/@storybook/client-api/dist/esm/simulate-pageload.js","webpack:///../node_modules/@storybook/client-api/dist/esm/storySort.js","webpack:///../node_modules/@storybook/client-api/dist/esm/story_store.js","webpack:///../node_modules/@storybook/client-api/node_modules/@storybook/csf/dist/index.js","webpack:///../node_modules/@storybook/client-logger/dist/esm/index.js","webpack:///../node_modules/@storybook/core-client/dist/esm/globals/globals.js","webpack:///../node_modules/@storybook/core-client/dist/esm/globals/polyfills.js","webpack:///../node_modules/@storybook/core-client/dist/esm/index.js","webpack:///../node_modules/@storybook/core-client/dist/esm/preview/NoDocs.js","webpack:///../node_modules/@storybook/core-client/dist/esm/preview/StoryRenderer.js","webpack:///../node_modules/@storybook/core-client/dist/esm/preview/index.js","webpack:///../node_modules/@storybook/core-client/dist/esm/preview/loadCsf.js","webpack:///../node_modules/@storybook/core-client/dist/esm/preview/normalizeStory.js","webpack:///../node_modules/@storybook/core-client/dist/esm/preview/parseArgsParam.js","webpack:///../node_modules/@storybook/core-client/dist/esm/preview/start.js","webpack:///../node_modules/@storybook/core-client/dist/esm/preview/url.js","webpack:///../node_modules/@storybook/core-client/node_modules/@storybook/csf/dist/index.js","webpack:///../node_modules/@storybook/core-events/dist/esm/index.js","webpack:///../node_modules/@storybook/core/client.js","webpack:///../node_modules/@storybook/core/dist/cjs/index.js","webpack:///../node_modules/@storybook/react/dist/esm/client/index.js","webpack:///../node_modules/@storybook/react/dist/esm/client/preview/globals.js","webpack:///../node_modules/@storybook/react/dist/esm/client/preview/index.js","webpack:///../node_modules/@storybook/react/dist/esm/client/preview/render.js","webpack:///../node_modules/@storybook/react/dist/esm/client/preview/types-6-3.js","webpack:///../node_modules/airbnb-js-shims/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array-includes/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array-includes/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array-includes/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array.prototype.flat/auto.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array.prototype.flat/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array.prototype.flat/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array.prototype.flat/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array.prototype.flatmap/auto.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array.prototype.flatmap/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array.prototype.flatmap/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/array.prototype.flatmap/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/es2015.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/es2016.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/es2017.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/es2018.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/es2019.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/es5.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/es6.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/es7.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/assertRecord.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/assign.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/callBound.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/every.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/forEach.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/isFinite.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/isNaN.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/isPrefixOf.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/isPrimitive.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/isPropertyDescriptor.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/maxSafeInteger.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/mod.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/regexTester.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/helpers/sign.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/node_modules/has-symbols/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-abstract/node_modules/has-symbols/shams.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-to-primitive/es2015.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-to-primitive/es5.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-to-primitive/es6.js","webpack:///../node_modules/airbnb-js-shims/node_modules/es-to-primitive/helpers/isPrimitive.js","webpack:///../node_modules/airbnb-js-shims/node_modules/function.prototype.name/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/function.prototype.name/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/function.prototype.name/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/functions-have-names/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/globalthis/auto.js","webpack:///../node_modules/airbnb-js-shims/node_modules/globalthis/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/globalthis/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/globalthis/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/has-symbols/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/has-symbols/shams.js","webpack:///../node_modules/airbnb-js-shims/node_modules/internal-slot/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/internal-slot/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object-inspect/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.entries/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.entries/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.entries/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.fromentries/auto.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.fromentries/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.fromentries/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.fromentries/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.values/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.values/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/object.values/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/regexp.prototype.flags/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/regexp.prototype.flags/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/regexp.prototype.flags/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/airbnb-js-shims/node_modules/regexp.prototype.flags/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/airbnb-js-shims/node_modules/regexp.prototype.flags/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/regexp.prototype.flags/shim.js","webpack:///../node_modules/airbnb-js-shims/node_modules/side-channel/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/side-channel/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/airbnb-js-shims/node_modules/side-channel/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/airbnb-js-shims/node_modules/side-channel/node_modules/es-abstract/helpers/callBound.js","webpack:///../node_modules/airbnb-js-shims/node_modules/side-channel/node_modules/object-inspect/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/auto.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/helpers/RegExpStringIterator.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/implementation.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/AdvanceStringIndex.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/Call.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/CreateIterResultObject.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/Get.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/GetMethod.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/GetV.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/IsCallable.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/IsConstructor.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/IsInteger.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/IsPropertyKey.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/IsRegExp.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/ObjectCreate.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/RegExpExec.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/RequireObjectCoercible.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/Set.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/SpeciesConstructor.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/ToBoolean.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/ToInteger.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/ToLength.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/ToNumber.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/ToObject.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/ToPrimitive.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/ToString.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/2019/Type.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/5/CheckObjectCoercible.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/5/ToInteger.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/5/ToNumber.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/5/Type.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/helpers/callBound.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/helpers/isFinite.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/helpers/isNaN.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/helpers/isPrimitive.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/helpers/maxSafeInteger.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/helpers/regexTester.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-abstract/helpers/sign.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-to-primitive/es2015.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-to-primitive/helpers/isPrimitive.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/es-to-primitive/node_modules/is-callable/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/is-callable/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/is-regex/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/node_modules/object-inspect/index.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/polyfill-regexp-matchall.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/polyfill.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/regexp-matchall.js","webpack:///../node_modules/airbnb-js-shims/node_modules/string.prototype.matchall/shim.js","webpack:///../node_modules/airbnb-js-shims/target/es2015.js","webpack:///../node_modules/airbnb-js-shims/target/es2016.js","webpack:///../node_modules/airbnb-js-shims/target/es2017.js","webpack:///../node_modules/airbnb-js-shims/target/es2018.js","webpack:///../node_modules/airbnb-js-shims/target/es2019.js","webpack:///../node_modules/airbnb-js-shims/target/es2020.js","webpack:///../node_modules/airbnb-js-shims/target/es5.js","webpack:///../node_modules/ansi-to-html/lib/ansi_to_html.js","webpack:///../node_modules/ansi-to-html/node_modules/entities/index.js","webpack:///../node_modules/ansi-to-html/node_modules/entities/lib/decode.js","webpack:///../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js","webpack:///../node_modules/ansi-to-html/node_modules/entities/lib/encode.js","webpack:///../node_modules/aria-hidden/dist/es2015/index.js","webpack:///../node_modules/attr-accept/dist/es/index.js","webpack:///../node_modules/bail/index.js","webpack:///../node_modules/bezier-easing/src/index.js","webpack:///../node_modules/call-bind/callBound.js","webpack:///../node_modules/call-bind/index.js","webpack:///../node_modules/ccount/index.js","webpack:///../node_modules/chroma-js/chroma.js","webpack:///../node_modules/classnames/index.js","webpack:///../node_modules/collapse-white-space/index.js","webpack:///../node_modules/comma-separated-tokens/index.js","webpack:///../node_modules/core-js/es/symbol/index.js","webpack:///../node_modules/core-js/features/symbol/index.js","webpack:///../node_modules/core-js/internals/a-function.js","webpack:///../node_modules/core-js/internals/a-possible-prototype.js","webpack:///../node_modules/core-js/internals/add-to-unscopables.js","webpack:///../node_modules/core-js/internals/advance-string-index.js","webpack:///../node_modules/core-js/internals/an-instance.js","webpack:///../node_modules/core-js/internals/an-object.js","webpack:///../node_modules/core-js/internals/array-buffer-native.js","webpack:///../node_modules/core-js/internals/array-buffer-view-core.js","webpack:///../node_modules/core-js/internals/array-buffer.js","webpack:///../node_modules/core-js/internals/array-copy-within.js","webpack:///../node_modules/core-js/internals/array-fill.js","webpack:///../node_modules/core-js/internals/array-for-each.js","webpack:///../node_modules/core-js/internals/array-from.js","webpack:///../node_modules/core-js/internals/array-includes.js","webpack:///../node_modules/core-js/internals/array-iteration.js","webpack:///../node_modules/core-js/internals/array-last-index-of.js","webpack:///../node_modules/core-js/internals/array-method-has-species-support.js","webpack:///../node_modules/core-js/internals/array-method-is-strict.js","webpack:///../node_modules/core-js/internals/array-reduce.js","webpack:///../node_modules/core-js/internals/array-sort.js","webpack:///../node_modules/core-js/internals/array-species-create.js","webpack:///../node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack:///../node_modules/core-js/internals/check-correctness-of-iteration.js","webpack:///../node_modules/core-js/internals/classof-raw.js","webpack:///../node_modules/core-js/internals/classof.js","webpack:///../node_modules/core-js/internals/collection-strong.js","webpack:///../node_modules/core-js/internals/collection-weak.js","webpack:///../node_modules/core-js/internals/collection.js","webpack:///../node_modules/core-js/internals/copy-constructor-properties.js","webpack:///../node_modules/core-js/internals/correct-is-regexp-logic.js","webpack:///../node_modules/core-js/internals/correct-prototype-getter.js","webpack:///../node_modules/core-js/internals/create-html.js","webpack:///../node_modules/core-js/internals/create-iterator-constructor.js","webpack:///../node_modules/core-js/internals/create-non-enumerable-property.js","webpack:///../node_modules/core-js/internals/create-property-descriptor.js","webpack:///../node_modules/core-js/internals/create-property.js","webpack:///../node_modules/core-js/internals/date-to-primitive.js","webpack:///../node_modules/core-js/internals/define-iterator.js","webpack:///../node_modules/core-js/internals/define-well-known-symbol.js","webpack:///../node_modules/core-js/internals/descriptors.js","webpack:///../node_modules/core-js/internals/document-create-element.js","webpack:///../node_modules/core-js/internals/dom-iterables.js","webpack:///../node_modules/core-js/internals/engine-ff-version.js","webpack:///../node_modules/core-js/internals/engine-is-browser.js","webpack:///../node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack:///../node_modules/core-js/internals/engine-is-ios.js","webpack:///../node_modules/core-js/internals/engine-is-node.js","webpack:///../node_modules/core-js/internals/engine-is-webos-webkit.js","webpack:///../node_modules/core-js/internals/engine-user-agent.js","webpack:///../node_modules/core-js/internals/engine-v8-version.js","webpack:///../node_modules/core-js/internals/engine-webkit-version.js","webpack:///../node_modules/core-js/internals/enum-bug-keys.js","webpack:///../node_modules/core-js/internals/export.js","webpack:///../node_modules/core-js/internals/fails.js","webpack:///../node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack:///../node_modules/core-js/internals/flatten-into-array.js","webpack:///../node_modules/core-js/internals/freezing.js","webpack:///../node_modules/core-js/internals/function-bind-context.js","webpack:///../node_modules/core-js/internals/function-bind.js","webpack:///../node_modules/core-js/internals/get-built-in.js","webpack:///../node_modules/core-js/internals/get-iterator-method.js","webpack:///../node_modules/core-js/internals/get-iterator.js","webpack:///../node_modules/core-js/internals/get-substitution.js","webpack:///../node_modules/core-js/internals/global.js","webpack:///../node_modules/core-js/internals/has.js","webpack:///../node_modules/core-js/internals/hidden-keys.js","webpack:///../node_modules/core-js/internals/host-report-errors.js","webpack:///../node_modules/core-js/internals/html.js","webpack:///../node_modules/core-js/internals/ie8-dom-define.js","webpack:///../node_modules/core-js/internals/ieee754.js","webpack:///../node_modules/core-js/internals/indexed-object.js","webpack:///../node_modules/core-js/internals/inherit-if-required.js","webpack:///../node_modules/core-js/internals/inspect-source.js","webpack:///../node_modules/core-js/internals/internal-metadata.js","webpack:///../node_modules/core-js/internals/internal-state.js","webpack:///../node_modules/core-js/internals/is-array-iterator-method.js","webpack:///../node_modules/core-js/internals/is-array.js","webpack:///../node_modules/core-js/internals/is-forced.js","webpack:///../node_modules/core-js/internals/is-integer.js","webpack:///../node_modules/core-js/internals/is-object.js","webpack:///../node_modules/core-js/internals/is-pure.js","webpack:///../node_modules/core-js/internals/is-regexp.js","webpack:///../node_modules/core-js/internals/iterate.js","webpack:///../node_modules/core-js/internals/iterator-close.js","webpack:///../node_modules/core-js/internals/iterators-core.js","webpack:///../node_modules/core-js/internals/iterators.js","webpack:///../node_modules/core-js/internals/math-sign.js","webpack:///../node_modules/core-js/internals/microtask.js","webpack:///../node_modules/core-js/internals/native-promise-constructor.js","webpack:///../node_modules/core-js/internals/native-symbol.js","webpack:///../node_modules/core-js/internals/native-url.js","webpack:///../node_modules/core-js/internals/native-weak-map.js","webpack:///../node_modules/core-js/internals/new-promise-capability.js","webpack:///../node_modules/core-js/internals/not-a-regexp.js","webpack:///../node_modules/core-js/internals/number-is-finite.js","webpack:///../node_modules/core-js/internals/number-parse-float.js","webpack:///../node_modules/core-js/internals/number-parse-int.js","webpack:///../node_modules/core-js/internals/object-assign.js","webpack:///../node_modules/core-js/internals/object-create.js","webpack:///../node_modules/core-js/internals/object-define-properties.js","webpack:///../node_modules/core-js/internals/object-define-property.js","webpack:///../node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack:///../node_modules/core-js/internals/object-get-own-property-names-external.js","webpack:///../node_modules/core-js/internals/object-get-own-property-names.js","webpack:///../node_modules/core-js/internals/object-get-own-property-symbols.js","webpack:///../node_modules/core-js/internals/object-get-prototype-of.js","webpack:///../node_modules/core-js/internals/object-keys-internal.js","webpack:///../node_modules/core-js/internals/object-keys.js","webpack:///../node_modules/core-js/internals/object-property-is-enumerable.js","webpack:///../node_modules/core-js/internals/object-set-prototype-of.js","webpack:///../node_modules/core-js/internals/object-to-array.js","webpack:///../node_modules/core-js/internals/object-to-string.js","webpack:///../node_modules/core-js/internals/own-keys.js","webpack:///../node_modules/core-js/internals/path.js","webpack:///../node_modules/core-js/internals/perform.js","webpack:///../node_modules/core-js/internals/promise-resolve.js","webpack:///../node_modules/core-js/internals/redefine-all.js","webpack:///../node_modules/core-js/internals/redefine.js","webpack:///../node_modules/core-js/internals/regexp-exec-abstract.js","webpack:///../node_modules/core-js/internals/regexp-exec.js","webpack:///../node_modules/core-js/internals/regexp-flags.js","webpack:///../node_modules/core-js/internals/regexp-sticky-helpers.js","webpack:///../node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack:///../node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack:///../node_modules/core-js/internals/require-object-coercible.js","webpack:///../node_modules/core-js/internals/same-value.js","webpack:///../node_modules/core-js/internals/set-global.js","webpack:///../node_modules/core-js/internals/set-species.js","webpack:///../node_modules/core-js/internals/set-to-string-tag.js","webpack:///../node_modules/core-js/internals/shared-key.js","webpack:///../node_modules/core-js/internals/shared-store.js","webpack:///../node_modules/core-js/internals/shared.js","webpack:///../node_modules/core-js/internals/species-constructor.js","webpack:///../node_modules/core-js/internals/string-html-forced.js","webpack:///../node_modules/core-js/internals/string-multibyte.js","webpack:///../node_modules/core-js/internals/string-pad-webkit-bug.js","webpack:///../node_modules/core-js/internals/string-pad.js","webpack:///../node_modules/core-js/internals/string-punycode-to-ascii.js","webpack:///../node_modules/core-js/internals/string-repeat.js","webpack:///../node_modules/core-js/internals/string-trim-forced.js","webpack:///../node_modules/core-js/internals/string-trim.js","webpack:///../node_modules/core-js/internals/task.js","webpack:///../node_modules/core-js/internals/this-number-value.js","webpack:///../node_modules/core-js/internals/to-absolute-index.js","webpack:///../node_modules/core-js/internals/to-index.js","webpack:///../node_modules/core-js/internals/to-indexed-object.js","webpack:///../node_modules/core-js/internals/to-integer.js","webpack:///../node_modules/core-js/internals/to-length.js","webpack:///../node_modules/core-js/internals/to-object.js","webpack:///../node_modules/core-js/internals/to-offset.js","webpack:///../node_modules/core-js/internals/to-positive-integer.js","webpack:///../node_modules/core-js/internals/to-primitive.js","webpack:///../node_modules/core-js/internals/to-string-tag-support.js","webpack:///../node_modules/core-js/internals/typed-array-constructor.js","webpack:///../node_modules/core-js/internals/typed-array-constructors-require-wrappers.js","webpack:///../node_modules/core-js/internals/typed-array-from-species-and-list.js","webpack:///../node_modules/core-js/internals/typed-array-from.js","webpack:///../node_modules/core-js/internals/uid.js","webpack:///../node_modules/core-js/internals/use-symbol-as-uid.js","webpack:///../node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack:///../node_modules/core-js/internals/well-known-symbol.js","webpack:///../node_modules/core-js/internals/whitespaces.js","webpack:///../node_modules/core-js/modules/es.array-buffer.slice.js","webpack:///../node_modules/core-js/modules/es.array.concat.js","webpack:///../node_modules/core-js/modules/es.array.every.js","webpack:///../node_modules/core-js/modules/es.array.fill.js","webpack:///../node_modules/core-js/modules/es.array.filter.js","webpack:///../node_modules/core-js/modules/es.array.find-index.js","webpack:///../node_modules/core-js/modules/es.array.find.js","webpack:///../node_modules/core-js/modules/es.array.flat-map.js","webpack:///../node_modules/core-js/modules/es.array.flat.js","webpack:///../node_modules/core-js/modules/es.array.for-each.js","webpack:///../node_modules/core-js/modules/es.array.from.js","webpack:///../node_modules/core-js/modules/es.array.includes.js","webpack:///../node_modules/core-js/modules/es.array.index-of.js","webpack:///../node_modules/core-js/modules/es.array.is-array.js","webpack:///../node_modules/core-js/modules/es.array.iterator.js","webpack:///../node_modules/core-js/modules/es.array.join.js","webpack:///../node_modules/core-js/modules/es.array.last-index-of.js","webpack:///../node_modules/core-js/modules/es.array.map.js","webpack:///../node_modules/core-js/modules/es.array.reduce.js","webpack:///../node_modules/core-js/modules/es.array.reverse.js","webpack:///../node_modules/core-js/modules/es.array.slice.js","webpack:///../node_modules/core-js/modules/es.array.some.js","webpack:///../node_modules/core-js/modules/es.array.sort.js","webpack:///../node_modules/core-js/modules/es.array.splice.js","webpack:///../node_modules/core-js/modules/es.array.unscopables.flat-map.js","webpack:///../node_modules/core-js/modules/es.date.now.js","webpack:///../node_modules/core-js/modules/es.date.to-primitive.js","webpack:///../node_modules/core-js/modules/es.date.to-string.js","webpack:///../node_modules/core-js/modules/es.function.bind.js","webpack:///../node_modules/core-js/modules/es.function.name.js","webpack:///../node_modules/core-js/modules/es.json.to-string-tag.js","webpack:///../node_modules/core-js/modules/es.map.js","webpack:///../node_modules/core-js/modules/es.math.hypot.js","webpack:///../node_modules/core-js/modules/es.math.log10.js","webpack:///../node_modules/core-js/modules/es.math.log2.js","webpack:///../node_modules/core-js/modules/es.math.sign.js","webpack:///../node_modules/core-js/modules/es.math.to-string-tag.js","webpack:///../node_modules/core-js/modules/es.number.constructor.js","webpack:///../node_modules/core-js/modules/es.number.epsilon.js","webpack:///../node_modules/core-js/modules/es.number.is-finite.js","webpack:///../node_modules/core-js/modules/es.number.is-integer.js","webpack:///../node_modules/core-js/modules/es.number.is-nan.js","webpack:///../node_modules/core-js/modules/es.number.max-safe-integer.js","webpack:///../node_modules/core-js/modules/es.number.min-safe-integer.js","webpack:///../node_modules/core-js/modules/es.number.parse-float.js","webpack:///../node_modules/core-js/modules/es.number.parse-int.js","webpack:///../node_modules/core-js/modules/es.number.to-fixed.js","webpack:///../node_modules/core-js/modules/es.object.assign.js","webpack:///../node_modules/core-js/modules/es.object.create.js","webpack:///../node_modules/core-js/modules/es.object.define-properties.js","webpack:///../node_modules/core-js/modules/es.object.define-property.js","webpack:///../node_modules/core-js/modules/es.object.entries.js","webpack:///../node_modules/core-js/modules/es.object.freeze.js","webpack:///../node_modules/core-js/modules/es.object.from-entries.js","webpack:///../node_modules/core-js/modules/es.object.get-own-property-descriptor.js","webpack:///../node_modules/core-js/modules/es.object.get-own-property-descriptors.js","webpack:///../node_modules/core-js/modules/es.object.get-prototype-of.js","webpack:///../node_modules/core-js/modules/es.object.is.js","webpack:///../node_modules/core-js/modules/es.object.keys.js","webpack:///../node_modules/core-js/modules/es.object.set-prototype-of.js","webpack:///../node_modules/core-js/modules/es.object.to-string.js","webpack:///../node_modules/core-js/modules/es.object.values.js","webpack:///../node_modules/core-js/modules/es.parse-float.js","webpack:///../node_modules/core-js/modules/es.parse-int.js","webpack:///../node_modules/core-js/modules/es.promise.js","webpack:///../node_modules/core-js/modules/es.reflect.construct.js","webpack:///../node_modules/core-js/modules/es.reflect.to-string-tag.js","webpack:///../node_modules/core-js/modules/es.regexp.constructor.js","webpack:///../node_modules/core-js/modules/es.regexp.exec.js","webpack:///../node_modules/core-js/modules/es.regexp.flags.js","webpack:///../node_modules/core-js/modules/es.regexp.to-string.js","webpack:///../node_modules/core-js/modules/es.set.js","webpack:///../node_modules/core-js/modules/es.string.anchor.js","webpack:///../node_modules/core-js/modules/es.string.ends-with.js","webpack:///../node_modules/core-js/modules/es.string.includes.js","webpack:///../node_modules/core-js/modules/es.string.iterator.js","webpack:///../node_modules/core-js/modules/es.string.match.js","webpack:///../node_modules/core-js/modules/es.string.pad-start.js","webpack:///../node_modules/core-js/modules/es.string.replace.js","webpack:///../node_modules/core-js/modules/es.string.search.js","webpack:///../node_modules/core-js/modules/es.string.split.js","webpack:///../node_modules/core-js/modules/es.string.starts-with.js","webpack:///../node_modules/core-js/modules/es.string.trim-end.js","webpack:///../node_modules/core-js/modules/es.string.trim-start.js","webpack:///../node_modules/core-js/modules/es.string.trim.js","webpack:///../node_modules/core-js/modules/es.symbol.async-iterator.js","webpack:///../node_modules/core-js/modules/es.symbol.description.js","webpack:///../node_modules/core-js/modules/es.symbol.has-instance.js","webpack:///../node_modules/core-js/modules/es.symbol.is-concat-spreadable.js","webpack:///../node_modules/core-js/modules/es.symbol.iterator.js","webpack:///../node_modules/core-js/modules/es.symbol.js","webpack:///../node_modules/core-js/modules/es.symbol.match-all.js","webpack:///../node_modules/core-js/modules/es.symbol.match.js","webpack:///../node_modules/core-js/modules/es.symbol.replace.js","webpack:///../node_modules/core-js/modules/es.symbol.search.js","webpack:///../node_modules/core-js/modules/es.symbol.species.js","webpack:///../node_modules/core-js/modules/es.symbol.split.js","webpack:///../node_modules/core-js/modules/es.symbol.to-primitive.js","webpack:///../node_modules/core-js/modules/es.symbol.to-string-tag.js","webpack:///../node_modules/core-js/modules/es.symbol.unscopables.js","webpack:///../node_modules/core-js/modules/es.typed-array.copy-within.js","webpack:///../node_modules/core-js/modules/es.typed-array.every.js","webpack:///../node_modules/core-js/modules/es.typed-array.fill.js","webpack:///../node_modules/core-js/modules/es.typed-array.filter.js","webpack:///../node_modules/core-js/modules/es.typed-array.find-index.js","webpack:///../node_modules/core-js/modules/es.typed-array.find.js","webpack:///../node_modules/core-js/modules/es.typed-array.float32-array.js","webpack:///../node_modules/core-js/modules/es.typed-array.float64-array.js","webpack:///../node_modules/core-js/modules/es.typed-array.for-each.js","webpack:///../node_modules/core-js/modules/es.typed-array.from.js","webpack:///../node_modules/core-js/modules/es.typed-array.includes.js","webpack:///../node_modules/core-js/modules/es.typed-array.index-of.js","webpack:///../node_modules/core-js/modules/es.typed-array.int32-array.js","webpack:///../node_modules/core-js/modules/es.typed-array.iterator.js","webpack:///../node_modules/core-js/modules/es.typed-array.join.js","webpack:///../node_modules/core-js/modules/es.typed-array.last-index-of.js","webpack:///../node_modules/core-js/modules/es.typed-array.map.js","webpack:///../node_modules/core-js/modules/es.typed-array.reduce-right.js","webpack:///../node_modules/core-js/modules/es.typed-array.reduce.js","webpack:///../node_modules/core-js/modules/es.typed-array.reverse.js","webpack:///../node_modules/core-js/modules/es.typed-array.set.js","webpack:///../node_modules/core-js/modules/es.typed-array.slice.js","webpack:///../node_modules/core-js/modules/es.typed-array.some.js","webpack:///../node_modules/core-js/modules/es.typed-array.sort.js","webpack:///../node_modules/core-js/modules/es.typed-array.subarray.js","webpack:///../node_modules/core-js/modules/es.typed-array.to-locale-string.js","webpack:///../node_modules/core-js/modules/es.typed-array.to-string.js","webpack:///../node_modules/core-js/modules/es.typed-array.uint32-array.js","webpack:///../node_modules/core-js/modules/es.typed-array.uint8-array.js","webpack:///../node_modules/core-js/modules/es.weak-map.js","webpack:///../node_modules/core-js/modules/es.weak-set.js","webpack:///../node_modules/core-js/modules/esnext.symbol.async-dispose.js","webpack:///../node_modules/core-js/modules/esnext.symbol.dispose.js","webpack:///../node_modules/core-js/modules/esnext.symbol.matcher.js","webpack:///../node_modules/core-js/modules/esnext.symbol.metadata.js","webpack:///../node_modules/core-js/modules/esnext.symbol.observable.js","webpack:///../node_modules/core-js/modules/esnext.symbol.pattern-match.js","webpack:///../node_modules/core-js/modules/esnext.symbol.replace-all.js","webpack:///../node_modules/core-js/modules/web.dom-collections.for-each.js","webpack:///../node_modules/core-js/modules/web.dom-collections.iterator.js","webpack:///../node_modules/core-js/modules/web.immediate.js","webpack:///../node_modules/core-js/modules/web.timers.js","webpack:///../node_modules/core-js/modules/web.url-search-params.js","webpack:///../node_modules/core-js/modules/web.url.js","webpack:///../node_modules/css-loader/dist/runtime/api.js","webpack:///../node_modules/css-loader/dist/runtime/getUrl.js","webpack:///../node_modules/d3-array/src/array.js","webpack:///../node_modules/d3-array/src/ascending.js","webpack:///../node_modules/d3-array/src/bin.js","webpack:///../node_modules/d3-array/src/bisect.js","webpack:///../node_modules/d3-array/src/bisector.js","webpack:///../node_modules/d3-array/src/constant.js","webpack:///../node_modules/d3-array/src/count.js","webpack:///../node_modules/d3-array/src/cross.js","webpack:///../node_modules/d3-array/src/cumsum.js","webpack:///../node_modules/d3-array/src/descending.js","webpack:///../node_modules/d3-array/src/deviation.js","webpack:///../node_modules/d3-array/src/difference.js","webpack:///../node_modules/d3-array/src/disjoint.js","webpack:///../node_modules/d3-array/src/every.js","webpack:///../node_modules/d3-array/src/extent.js","webpack:///../node_modules/d3-array/src/filter.js","webpack:///../node_modules/d3-array/src/fsum.js","webpack:///../node_modules/d3-array/src/greatest.js","webpack:///../node_modules/d3-array/src/greatestIndex.js","webpack:///../node_modules/d3-array/src/group.js","webpack:///../node_modules/d3-array/src/groupSort.js","webpack:///../node_modules/d3-array/src/identity.js","webpack:///../node_modules/d3-array/src/index.js","webpack:///../node_modules/d3-array/src/intersection.js","webpack:///../node_modules/d3-array/src/least.js","webpack:///../node_modules/d3-array/src/leastIndex.js","webpack:///../node_modules/d3-array/src/map.js","webpack:///../node_modules/d3-array/src/max.js","webpack:///../node_modules/d3-array/src/maxIndex.js","webpack:///../node_modules/d3-array/src/mean.js","webpack:///../node_modules/d3-array/src/median.js","webpack:///../node_modules/d3-array/src/merge.js","webpack:///../node_modules/d3-array/src/min.js","webpack:///../node_modules/d3-array/src/minIndex.js","webpack:///../node_modules/d3-array/src/nice.js","webpack:///../node_modules/d3-array/src/number.js","webpack:///../node_modules/d3-array/src/pairs.js","webpack:///../node_modules/d3-array/src/permute.js","webpack:///../node_modules/d3-array/src/quantile.js","webpack:///../node_modules/d3-array/src/quickselect.js","webpack:///../node_modules/d3-array/src/range.js","webpack:///../node_modules/d3-array/src/reduce.js","webpack:///../node_modules/d3-array/src/reverse.js","webpack:///../node_modules/d3-array/src/scan.js","webpack:///../node_modules/d3-array/src/set.js","webpack:///../node_modules/d3-array/src/shuffle.js","webpack:///../node_modules/d3-array/src/some.js","webpack:///../node_modules/d3-array/src/sort.js","webpack:///../node_modules/d3-array/src/subset.js","webpack:///../node_modules/d3-array/src/sum.js","webpack:///../node_modules/d3-array/src/superset.js","webpack:///../node_modules/d3-array/src/threshold/freedmanDiaconis.js","webpack:///../node_modules/d3-array/src/threshold/scott.js","webpack:///../node_modules/d3-array/src/threshold/sturges.js","webpack:///../node_modules/d3-array/src/ticks.js","webpack:///../node_modules/d3-array/src/transpose.js","webpack:///../node_modules/d3-array/src/union.js","webpack:///../node_modules/d3-array/src/variance.js","webpack:///../node_modules/d3-array/src/zip.js","webpack:///../node_modules/d3-cloud/index.js","webpack:///../node_modules/d3-dispatch/src/dispatch.js","webpack:///../node_modules/d3-dispatch/src/index.js","webpack:///../node_modules/d3-format/src/defaultLocale.js","webpack:///../node_modules/d3-format/src/exponent.js","webpack:///../node_modules/d3-format/src/formatDecimal.js","webpack:///../node_modules/d3-format/src/formatGroup.js","webpack:///../node_modules/d3-format/src/formatNumerals.js","webpack:///../node_modules/d3-format/src/formatPrefixAuto.js","webpack:///../node_modules/d3-format/src/formatRounded.js","webpack:///../node_modules/d3-format/src/formatSpecifier.js","webpack:///../node_modules/d3-format/src/formatTrim.js","webpack:///../node_modules/d3-format/src/formatTypes.js","webpack:///../node_modules/d3-format/src/identity.js","webpack:///../node_modules/d3-format/src/locale.js","webpack:///../node_modules/d3-format/src/precisionFixed.js","webpack:///../node_modules/d3-format/src/precisionPrefix.js","webpack:///../node_modules/d3-format/src/precisionRound.js","webpack:///../node_modules/d3-path/src/path.js","webpack:///../node_modules/d3-scale/node_modules/d3-color/src/color.js","webpack:///../node_modules/d3-scale/node_modules/d3-color/src/define.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/array.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/basis.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/basisClosed.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/color.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/constant.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/date.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/number.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/numberArray.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/object.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/piecewise.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/rgb.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/round.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/string.js","webpack:///../node_modules/d3-scale/node_modules/d3-interpolate/src/value.js","webpack:///../node_modules/d3-scale/src/band.js","webpack:///../node_modules/d3-scale/src/constant.js","webpack:///../node_modules/d3-scale/src/continuous.js","webpack:///../node_modules/d3-scale/src/diverging.js","webpack:///../node_modules/d3-scale/src/identity.js","webpack:///../node_modules/d3-scale/src/index.js","webpack:///../node_modules/d3-scale/src/init.js","webpack:///../node_modules/d3-scale/src/linear.js","webpack:///../node_modules/d3-scale/src/log.js","webpack:///../node_modules/d3-scale/src/nice.js","webpack:///../node_modules/d3-scale/src/number.js","webpack:///../node_modules/d3-scale/src/ordinal.js","webpack:///../node_modules/d3-scale/src/pow.js","webpack:///../node_modules/d3-scale/src/quantile.js","webpack:///../node_modules/d3-scale/src/quantize.js","webpack:///../node_modules/d3-scale/src/radial.js","webpack:///../node_modules/d3-scale/src/sequential.js","webpack:///../node_modules/d3-scale/src/sequentialQuantile.js","webpack:///../node_modules/d3-scale/src/symlog.js","webpack:///../node_modules/d3-scale/src/threshold.js","webpack:///../node_modules/d3-scale/src/tickFormat.js","webpack:///../node_modules/d3-scale/src/time.js","webpack:///../node_modules/d3-scale/src/utcTime.js","webpack:///../node_modules/d3-shape/src/arc.js","webpack:///../node_modules/d3-shape/src/area.js","webpack:///../node_modules/d3-shape/src/areaRadial.js","webpack:///../node_modules/d3-shape/src/array.js","webpack:///../node_modules/d3-shape/src/constant.js","webpack:///../node_modules/d3-shape/src/curve/basis.js","webpack:///../node_modules/d3-shape/src/curve/basisClosed.js","webpack:///../node_modules/d3-shape/src/curve/basisOpen.js","webpack:///../node_modules/d3-shape/src/curve/bump.js","webpack:///../node_modules/d3-shape/src/curve/bundle.js","webpack:///../node_modules/d3-shape/src/curve/cardinal.js","webpack:///../node_modules/d3-shape/src/curve/cardinalClosed.js","webpack:///../node_modules/d3-shape/src/curve/cardinalOpen.js","webpack:///../node_modules/d3-shape/src/curve/catmullRom.js","webpack:///../node_modules/d3-shape/src/curve/catmullRomClosed.js","webpack:///../node_modules/d3-shape/src/curve/catmullRomOpen.js","webpack:///../node_modules/d3-shape/src/curve/linear.js","webpack:///../node_modules/d3-shape/src/curve/linearClosed.js","webpack:///../node_modules/d3-shape/src/curve/monotone.js","webpack:///../node_modules/d3-shape/src/curve/natural.js","webpack:///../node_modules/d3-shape/src/curve/radial.js","webpack:///../node_modules/d3-shape/src/curve/step.js","webpack:///../node_modules/d3-shape/src/descending.js","webpack:///../node_modules/d3-shape/src/identity.js","webpack:///../node_modules/d3-shape/src/index.js","webpack:///../node_modules/d3-shape/src/line.js","webpack:///../node_modules/d3-shape/src/lineRadial.js","webpack:///../node_modules/d3-shape/src/link/index.js","webpack:///../node_modules/d3-shape/src/math.js","webpack:///../node_modules/d3-shape/src/noop.js","webpack:///../node_modules/d3-shape/src/offset/diverging.js","webpack:///../node_modules/d3-shape/src/offset/expand.js","webpack:///../node_modules/d3-shape/src/offset/none.js","webpack:///../node_modules/d3-shape/src/offset/silhouette.js","webpack:///../node_modules/d3-shape/src/offset/wiggle.js","webpack:///../node_modules/d3-shape/src/order/appearance.js","webpack:///../node_modules/d3-shape/src/order/ascending.js","webpack:///../node_modules/d3-shape/src/order/descending.js","webpack:///../node_modules/d3-shape/src/order/insideOut.js","webpack:///../node_modules/d3-shape/src/order/none.js","webpack:///../node_modules/d3-shape/src/order/reverse.js","webpack:///../node_modules/d3-shape/src/pie.js","webpack:///../node_modules/d3-shape/src/point.js","webpack:///../node_modules/d3-shape/src/pointRadial.js","webpack:///../node_modules/d3-shape/src/stack.js","webpack:///../node_modules/d3-shape/src/symbol.js","webpack:///../node_modules/d3-shape/src/symbol/circle.js","webpack:///../node_modules/d3-shape/src/symbol/cross.js","webpack:///../node_modules/d3-shape/src/symbol/diamond.js","webpack:///../node_modules/d3-shape/src/symbol/square.js","webpack:///../node_modules/d3-shape/src/symbol/star.js","webpack:///../node_modules/d3-shape/src/symbol/triangle.js","webpack:///../node_modules/d3-shape/src/symbol/wye.js","webpack:///../node_modules/d3-time-format/src/defaultLocale.js","webpack:///../node_modules/d3-time-format/src/locale.js","webpack:///../node_modules/d3-time/src/day.js","webpack:///../node_modules/d3-time/src/duration.js","webpack:///../node_modules/d3-time/src/hour.js","webpack:///../node_modules/d3-time/src/interval.js","webpack:///../node_modules/d3-time/src/millisecond.js","webpack:///../node_modules/d3-time/src/minute.js","webpack:///../node_modules/d3-time/src/month.js","webpack:///../node_modules/d3-time/src/second.js","webpack:///../node_modules/d3-time/src/ticks.js","webpack:///../node_modules/d3-time/src/utcDay.js","webpack:///../node_modules/d3-time/src/utcHour.js","webpack:///../node_modules/d3-time/src/utcMinute.js","webpack:///../node_modules/d3-time/src/utcMonth.js","webpack:///../node_modules/d3-time/src/utcWeek.js","webpack:///../node_modules/d3-time/src/utcYear.js","webpack:///../node_modules/d3-time/src/week.js","webpack:///../node_modules/d3-time/src/year.js","webpack:///../node_modules/define-properties/index.js","webpack:///../node_modules/es5-shim/es5-sham.js","webpack:///../node_modules/es5-shim/es5-shim.js","webpack:///../node_modules/es6-shim/es6-shim.js","webpack:///../node_modules/escape-html/index.js","webpack:///../node_modules/extend/index.js","webpack:///../node_modules/file-selector/dist/es5/file-selector.js","webpack:///../node_modules/file-selector/dist/es5/file.js","webpack:///../node_modules/file-selector/dist/es5/index.js","webpack:///../node_modules/focus-lock/dist/es2015/constants.js","webpack:///../node_modules/focus-lock/dist/es2015/focusInside.js","webpack:///../node_modules/focus-lock/dist/es2015/focusIsHidden.js","webpack:///../node_modules/focus-lock/dist/es2015/focusMerge.js","webpack:///../node_modules/focus-lock/dist/es2015/focusables.js","webpack:///../node_modules/focus-lock/dist/es2015/index.js","webpack:///../node_modules/focus-lock/dist/es2015/setFocus.js","webpack:///../node_modules/focus-lock/dist/es2015/solver.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/DOMutils.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/all-affected.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/array.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/auto-focus.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/correctFocus.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/firstFocus.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/getActiveElement.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/is.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/parenting.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/safe.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/tabOrder.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/tabUtils.js","webpack:///../node_modules/focus-lock/dist/es2015/utils/tabbables.js","webpack:///../node_modules/function-bind/implementation.js","webpack:///../node_modules/function-bind/index.js","webpack:///../node_modules/get-intrinsic/index.js","webpack:///../node_modules/get-nonce/dist/es2015/index.js","webpack:///../node_modules/global/window.js","webpack:///../node_modules/has-symbols/index.js","webpack:///../node_modules/has-symbols/shams.js","webpack:///../node_modules/has/src/index.js","webpack:///../node_modules/hast-to-hyperscript/index.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/find.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/html.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/aria.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/html.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/svg.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/util/case-insensitive-transform.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/util/case-sensitive-transform.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/util/create.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/util/defined-info.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/util/info.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/util/merge.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/util/schema.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/util/types.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/xlink.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/xml.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/lib/xmlns.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/normalize.js","webpack:///../node_modules/hast-to-hyperscript/node_modules/property-information/svg.js","webpack:///../node_modules/hast-util-parse-selector/index.js","webpack:///../node_modules/hastscript/factory.js","webpack:///../node_modules/hastscript/html.js","webpack:///../node_modules/hastscript/index.js","webpack:///../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///../node_modules/inherits/inherits_browser.js","webpack:///../node_modules/inline-style-parser/index.js","webpack:///../node_modules/internmap/src/index.js","webpack:///../node_modules/is-alphabetical/index.js","webpack:///../node_modules/is-alphanumerical/index.js","webpack:///../node_modules/is-buffer/index.js","webpack:///../node_modules/is-callable/index.js","webpack:///../node_modules/is-date-object/index.js","webpack:///../node_modules/is-decimal/index.js","webpack:///../node_modules/is-function/index.js","webpack:///../node_modules/is-hexadecimal/index.js","webpack:///../node_modules/is-plain-obj/index.js","webpack:///../node_modules/is-regex/index.js","webpack:///../node_modules/is-regex/node_modules/has-symbols/index.js","webpack:///../node_modules/is-regex/node_modules/has-symbols/shams.js","webpack:///../node_modules/is-symbol/index.js","webpack:///../node_modules/is-symbol/node_modules/has-symbols/index.js","webpack:///../node_modules/is-symbol/node_modules/has-symbols/shams.js","webpack:///../node_modules/is-whitespace-character/index.js","webpack:///../node_modules/is-word-character/index.js","webpack:///../node_modules/lodash.toarray/index.js","webpack:///../node_modules/lodash/_DataView.js","webpack:///../node_modules/lodash/_Hash.js","webpack:///../node_modules/lodash/_ListCache.js","webpack:///../node_modules/lodash/_Map.js","webpack:///../node_modules/lodash/_MapCache.js","webpack:///../node_modules/lodash/_Promise.js","webpack:///../node_modules/lodash/_Set.js","webpack:///../node_modules/lodash/_SetCache.js","webpack:///../node_modules/lodash/_Stack.js","webpack:///../node_modules/lodash/_Symbol.js","webpack:///../node_modules/lodash/_Uint8Array.js","webpack:///../node_modules/lodash/_WeakMap.js","webpack:///../node_modules/lodash/_apply.js","webpack:///../node_modules/lodash/_arrayEach.js","webpack:///../node_modules/lodash/_arrayFilter.js","webpack:///../node_modules/lodash/_arrayLikeKeys.js","webpack:///../node_modules/lodash/_arrayMap.js","webpack:///../node_modules/lodash/_arrayPush.js","webpack:///../node_modules/lodash/_arrayReduce.js","webpack:///../node_modules/lodash/_arraySome.js","webpack:///../node_modules/lodash/_asciiToArray.js","webpack:///../node_modules/lodash/_asciiWords.js","webpack:///../node_modules/lodash/_assignValue.js","webpack:///../node_modules/lodash/_assocIndexOf.js","webpack:///../node_modules/lodash/_baseAssign.js","webpack:///../node_modules/lodash/_baseAssignIn.js","webpack:///../node_modules/lodash/_baseAssignValue.js","webpack:///../node_modules/lodash/_baseClone.js","webpack:///../node_modules/lodash/_baseCreate.js","webpack:///../node_modules/lodash/_baseFlatten.js","webpack:///../node_modules/lodash/_baseFor.js","webpack:///../node_modules/lodash/_baseForOwn.js","webpack:///../node_modules/lodash/_baseGet.js","webpack:///../node_modules/lodash/_baseGetAllKeys.js","webpack:///../node_modules/lodash/_baseGetTag.js","webpack:///../node_modules/lodash/_baseHasIn.js","webpack:///../node_modules/lodash/_baseIsArguments.js","webpack:///../node_modules/lodash/_baseIsEqual.js","webpack:///../node_modules/lodash/_baseIsEqualDeep.js","webpack:///../node_modules/lodash/_baseIsMap.js","webpack:///../node_modules/lodash/_baseIsMatch.js","webpack:///../node_modules/lodash/_baseIsNative.js","webpack:///../node_modules/lodash/_baseIsSet.js","webpack:///../node_modules/lodash/_baseIsTypedArray.js","webpack:///../node_modules/lodash/_baseIteratee.js","webpack:///../node_modules/lodash/_baseKeys.js","webpack:///../node_modules/lodash/_baseKeysIn.js","webpack:///../node_modules/lodash/_baseMatches.js","webpack:///../node_modules/lodash/_baseMatchesProperty.js","webpack:///../node_modules/lodash/_basePick.js","webpack:///../node_modules/lodash/_basePickBy.js","webpack:///../node_modules/lodash/_baseProperty.js","webpack:///../node_modules/lodash/_basePropertyDeep.js","webpack:///../node_modules/lodash/_basePropertyOf.js","webpack:///../node_modules/lodash/_baseRange.js","webpack:///../node_modules/lodash/_baseSet.js","webpack:///../node_modules/lodash/_baseSetToString.js","webpack:///../node_modules/lodash/_baseSlice.js","webpack:///../node_modules/lodash/_baseTimes.js","webpack:///../node_modules/lodash/_baseToString.js","webpack:///../node_modules/lodash/_baseTrim.js","webpack:///../node_modules/lodash/_baseUnary.js","webpack:///../node_modules/lodash/_baseUnset.js","webpack:///../node_modules/lodash/_cacheHas.js","webpack:///../node_modules/lodash/_castFunction.js","webpack:///../node_modules/lodash/_castPath.js","webpack:///../node_modules/lodash/_castSlice.js","webpack:///../node_modules/lodash/_cloneArrayBuffer.js","webpack:///../node_modules/lodash/_cloneBuffer.js","webpack:///../node_modules/lodash/_cloneDataView.js","webpack:///../node_modules/lodash/_cloneRegExp.js","webpack:///../node_modules/lodash/_cloneSymbol.js","webpack:///../node_modules/lodash/_cloneTypedArray.js","webpack:///../node_modules/lodash/_copyArray.js","webpack:///../node_modules/lodash/_copyObject.js","webpack:///../node_modules/lodash/_copySymbols.js","webpack:///../node_modules/lodash/_copySymbolsIn.js","webpack:///../node_modules/lodash/_coreJsData.js","webpack:///../node_modules/lodash/_createBaseFor.js","webpack:///../node_modules/lodash/_createCaseFirst.js","webpack:///../node_modules/lodash/_createCompounder.js","webpack:///../node_modules/lodash/_createRange.js","webpack:///../node_modules/lodash/_customOmitClone.js","webpack:///../node_modules/lodash/_deburrLetter.js","webpack:///../node_modules/lodash/_defineProperty.js","webpack:///../node_modules/lodash/_equalArrays.js","webpack:///../node_modules/lodash/_equalByTag.js","webpack:///../node_modules/lodash/_equalObjects.js","webpack:///../node_modules/lodash/_flatRest.js","webpack:///../node_modules/lodash/_freeGlobal.js","webpack:///../node_modules/lodash/_getAllKeys.js","webpack:///../node_modules/lodash/_getAllKeysIn.js","webpack:///../node_modules/lodash/_getMapData.js","webpack:///../node_modules/lodash/_getMatchData.js","webpack:///../node_modules/lodash/_getNative.js","webpack:///../node_modules/lodash/_getPrototype.js","webpack:///../node_modules/lodash/_getRawTag.js","webpack:///../node_modules/lodash/_getSymbols.js","webpack:///../node_modules/lodash/_getSymbolsIn.js","webpack:///../node_modules/lodash/_getTag.js","webpack:///../node_modules/lodash/_getValue.js","webpack:///../node_modules/lodash/_hasPath.js","webpack:///../node_modules/lodash/_hasUnicode.js","webpack:///../node_modules/lodash/_hasUnicodeWord.js","webpack:///../node_modules/lodash/_hashClear.js","webpack:///../node_modules/lodash/_hashDelete.js","webpack:///../node_modules/lodash/_hashGet.js","webpack:///../node_modules/lodash/_hashHas.js","webpack:///../node_modules/lodash/_hashSet.js","webpack:///../node_modules/lodash/_initCloneArray.js","webpack:///../node_modules/lodash/_initCloneByTag.js","webpack:///../node_modules/lodash/_initCloneObject.js","webpack:///../node_modules/lodash/_isFlattenable.js","webpack:///../node_modules/lodash/_isIndex.js","webpack:///../node_modules/lodash/_isIterateeCall.js","webpack:///../node_modules/lodash/_isKey.js","webpack:///../node_modules/lodash/_isKeyable.js","webpack:///../node_modules/lodash/_isMasked.js","webpack:///../node_modules/lodash/_isPrototype.js","webpack:///../node_modules/lodash/_isStrictComparable.js","webpack:///../node_modules/lodash/_listCacheClear.js","webpack:///../node_modules/lodash/_listCacheDelete.js","webpack:///../node_modules/lodash/_listCacheGet.js","webpack:///../node_modules/lodash/_listCacheHas.js","webpack:///../node_modules/lodash/_listCacheSet.js","webpack:///../node_modules/lodash/_mapCacheClear.js","webpack:///../node_modules/lodash/_mapCacheDelete.js","webpack:///../node_modules/lodash/_mapCacheGet.js","webpack:///../node_modules/lodash/_mapCacheHas.js","webpack:///../node_modules/lodash/_mapCacheSet.js","webpack:///../node_modules/lodash/_mapToArray.js","webpack:///../node_modules/lodash/_matchesStrictComparable.js","webpack:///../node_modules/lodash/_memoizeCapped.js","webpack:///../node_modules/lodash/_nativeCreate.js","webpack:///../node_modules/lodash/_nativeKeys.js","webpack:///../node_modules/lodash/_nativeKeysIn.js","webpack:///../node_modules/lodash/_nodeUtil.js","webpack:///../node_modules/lodash/_objectToString.js","webpack:///../node_modules/lodash/_overArg.js","webpack:///../node_modules/lodash/_overRest.js","webpack:///../node_modules/lodash/_parent.js","webpack:///../node_modules/lodash/_root.js","webpack:///../node_modules/lodash/_setCacheAdd.js","webpack:///../node_modules/lodash/_setCacheHas.js","webpack:///../node_modules/lodash/_setToArray.js","webpack:///../node_modules/lodash/_setToString.js","webpack:///../node_modules/lodash/_shortOut.js","webpack:///../node_modules/lodash/_stackClear.js","webpack:///../node_modules/lodash/_stackDelete.js","webpack:///../node_modules/lodash/_stackGet.js","webpack:///../node_modules/lodash/_stackHas.js","webpack:///../node_modules/lodash/_stackSet.js","webpack:///../node_modules/lodash/_stringToArray.js","webpack:///../node_modules/lodash/_stringToPath.js","webpack:///../node_modules/lodash/_toKey.js","webpack:///../node_modules/lodash/_toSource.js","webpack:///../node_modules/lodash/_trimmedEndIndex.js","webpack:///../node_modules/lodash/_unicodeToArray.js","webpack:///../node_modules/lodash/_unicodeWords.js","webpack:///../node_modules/lodash/constant.js","webpack:///../node_modules/lodash/debounce.js","webpack:///../node_modules/lodash/deburr.js","webpack:///../node_modules/lodash/eq.js","webpack:///../node_modules/lodash/flatten.js","webpack:///../node_modules/lodash/get.js","webpack:///../node_modules/lodash/hasIn.js","webpack:///../node_modules/lodash/identity.js","webpack:///../node_modules/lodash/isArguments.js","webpack:///../node_modules/lodash/isArray.js","webpack:///../node_modules/lodash/isArrayLike.js","webpack:///../node_modules/lodash/isBoolean.js","webpack:///../node_modules/lodash/isBuffer.js","webpack:///../node_modules/lodash/isEqual.js","webpack:///../node_modules/lodash/isFunction.js","webpack:///../node_modules/lodash/isLength.js","webpack:///../node_modules/lodash/isMap.js","webpack:///../node_modules/lodash/isNaN.js","webpack:///../node_modules/lodash/isNumber.js","webpack:///../node_modules/lodash/isObject.js","webpack:///../node_modules/lodash/isObjectLike.js","webpack:///../node_modules/lodash/isPlainObject.js","webpack:///../node_modules/lodash/isSet.js","webpack:///../node_modules/lodash/isString.js","webpack:///../node_modules/lodash/isSymbol.js","webpack:///../node_modules/lodash/isTypedArray.js","webpack:///../node_modules/lodash/keys.js","webpack:///../node_modules/lodash/keysIn.js","webpack:///../node_modules/lodash/last.js","webpack:///../node_modules/lodash/lodash.js","webpack:///../node_modules/lodash/mapValues.js","webpack:///../node_modules/lodash/memoize.js","webpack:///../node_modules/lodash/now.js","webpack:///../node_modules/lodash/omit.js","webpack:///../node_modules/lodash/pick.js","webpack:///../node_modules/lodash/pickBy.js","webpack:///../node_modules/lodash/property.js","webpack:///../node_modules/lodash/range.js","webpack:///../node_modules/lodash/startCase.js","webpack:///../node_modules/lodash/stubArray.js","webpack:///../node_modules/lodash/stubFalse.js","webpack:///../node_modules/lodash/times.js","webpack:///../node_modules/lodash/toFinite.js","webpack:///../node_modules/lodash/toInteger.js","webpack:///../node_modules/lodash/toNumber.js","webpack:///../node_modules/lodash/toString.js","webpack:///../node_modules/lodash/upperFirst.js","webpack:///../node_modules/lodash/words.js","webpack:///../node_modules/luxon/build/cjs-browser/luxon.js","webpack:///../node_modules/markdown-escapes/index.js","webpack:///../node_modules/mdast-util-definitions/index.js","webpack:///../node_modules/mdast-util-to-hast/index.js","webpack:///../node_modules/mdast-util-to-hast/lib/all.js","webpack:///../node_modules/mdast-util-to-hast/lib/footer.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/break.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/code.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/delete.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/emphasis.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/footnote.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/heading.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/html.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/image.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/index.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/link-reference.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/link.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/list-item.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/list.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/paragraph.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/root.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/strong.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/table.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/text.js","webpack:///../node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js","webpack:///../node_modules/mdast-util-to-hast/lib/index.js","webpack:///../node_modules/mdast-util-to-hast/lib/one.js","webpack:///../node_modules/mdast-util-to-hast/lib/revert.js","webpack:///../node_modules/mdast-util-to-hast/lib/wrap.js","webpack:///../node_modules/mdurl/encode.js","webpack:///../node_modules/memoize-one/dist/memoize-one.esm.js","webpack:///../node_modules/memoizerific/memoizerific.js","webpack:///../node_modules/moment-timezone/index.js","webpack:///../node_modules/moment-timezone/moment-timezone.js","webpack:///../node_modules/moment/locale/af.js","webpack:///../node_modules/moment/locale/ar-dz.js","webpack:///../node_modules/moment/locale/ar-kw.js","webpack:///../node_modules/moment/locale/ar-ly.js","webpack:///../node_modules/moment/locale/ar-ma.js","webpack:///../node_modules/moment/locale/ar-sa.js","webpack:///../node_modules/moment/locale/ar-tn.js","webpack:///../node_modules/moment/locale/ar.js","webpack:///../node_modules/moment/locale/az.js","webpack:///../node_modules/moment/locale/be.js","webpack:///../node_modules/moment/locale/bg.js","webpack:///../node_modules/moment/locale/bm.js","webpack:///../node_modules/moment/locale/bn-bd.js","webpack:///../node_modules/moment/locale/bn.js","webpack:///../node_modules/moment/locale/bo.js","webpack:///../node_modules/moment/locale/br.js","webpack:///../node_modules/moment/locale/bs.js","webpack:///../node_modules/moment/locale/ca.js","webpack:///../node_modules/moment/locale/cs.js","webpack:///../node_modules/moment/locale/cv.js","webpack:///../node_modules/moment/locale/cy.js","webpack:///../node_modules/moment/locale/da.js","webpack:///../node_modules/moment/locale/de-at.js","webpack:///../node_modules/moment/locale/de-ch.js","webpack:///../node_modules/moment/locale/de.js","webpack:///../node_modules/moment/locale/dv.js","webpack:///../node_modules/moment/locale/el.js","webpack:///../node_modules/moment/locale/en-au.js","webpack:///../node_modules/moment/locale/en-ca.js","webpack:///../node_modules/moment/locale/en-gb.js","webpack:///../node_modules/moment/locale/en-ie.js","webpack:///../node_modules/moment/locale/en-il.js","webpack:///../node_modules/moment/locale/en-in.js","webpack:///../node_modules/moment/locale/en-nz.js","webpack:///../node_modules/moment/locale/en-sg.js","webpack:///../node_modules/moment/locale/eo.js","webpack:///../node_modules/moment/locale/es-do.js","webpack:///../node_modules/moment/locale/es-mx.js","webpack:///../node_modules/moment/locale/es-us.js","webpack:///../node_modules/moment/locale/es.js","webpack:///../node_modules/moment/locale/et.js","webpack:///../node_modules/moment/locale/eu.js","webpack:///../node_modules/moment/locale/fa.js","webpack:///../node_modules/moment/locale/fi.js","webpack:///../node_modules/moment/locale/fil.js","webpack:///../node_modules/moment/locale/fo.js","webpack:///../node_modules/moment/locale/fr-ca.js","webpack:///../node_modules/moment/locale/fr-ch.js","webpack:///../node_modules/moment/locale/fr.js","webpack:///../node_modules/moment/locale/fy.js","webpack:///../node_modules/moment/locale/ga.js","webpack:///../node_modules/moment/locale/gd.js","webpack:///../node_modules/moment/locale/gl.js","webpack:///../node_modules/moment/locale/gom-deva.js","webpack:///../node_modules/moment/locale/gom-latn.js","webpack:///../node_modules/moment/locale/gu.js","webpack:///../node_modules/moment/locale/he.js","webpack:///../node_modules/moment/locale/hi.js","webpack:///../node_modules/moment/locale/hr.js","webpack:///../node_modules/moment/locale/hu.js","webpack:///../node_modules/moment/locale/hy-am.js","webpack:///../node_modules/moment/locale/id.js","webpack:///../node_modules/moment/locale/is.js","webpack:///../node_modules/moment/locale/it-ch.js","webpack:///../node_modules/moment/locale/it.js","webpack:///../node_modules/moment/locale/ja.js","webpack:///../node_modules/moment/locale/jv.js","webpack:///../node_modules/moment/locale/ka.js","webpack:///../node_modules/moment/locale/kk.js","webpack:///../node_modules/moment/locale/km.js","webpack:///../node_modules/moment/locale/kn.js","webpack:///../node_modules/moment/locale/ko.js","webpack:///../node_modules/moment/locale/ku.js","webpack:///../node_modules/moment/locale/ky.js","webpack:///../node_modules/moment/locale/lb.js","webpack:///../node_modules/moment/locale/lo.js","webpack:///../node_modules/moment/locale/lt.js","webpack:///../node_modules/moment/locale/lv.js","webpack:///../node_modules/moment/locale/me.js","webpack:///../node_modules/moment/locale/mi.js","webpack:///../node_modules/moment/locale/mk.js","webpack:///../node_modules/moment/locale/ml.js","webpack:///../node_modules/moment/locale/mn.js","webpack:///../node_modules/moment/locale/mr.js","webpack:///../node_modules/moment/locale/ms-my.js","webpack:///../node_modules/moment/locale/ms.js","webpack:///../node_modules/moment/locale/mt.js","webpack:///../node_modules/moment/locale/my.js","webpack:///../node_modules/moment/locale/nb.js","webpack:///../node_modules/moment/locale/ne.js","webpack:///../node_modules/moment/locale/nl-be.js","webpack:///../node_modules/moment/locale/nl.js","webpack:///../node_modules/moment/locale/nn.js","webpack:///../node_modules/moment/locale/oc-lnc.js","webpack:///../node_modules/moment/locale/pa-in.js","webpack:///../node_modules/moment/locale/pl.js","webpack:///../node_modules/moment/locale/pt-br.js","webpack:///../node_modules/moment/locale/pt.js","webpack:///../node_modules/moment/locale/ro.js","webpack:///../node_modules/moment/locale/ru.js","webpack:///../node_modules/moment/locale/sd.js","webpack:///../node_modules/moment/locale/se.js","webpack:///../node_modules/moment/locale/si.js","webpack:///../node_modules/moment/locale/sk.js","webpack:///../node_modules/moment/locale/sl.js","webpack:///../node_modules/moment/locale/sq.js","webpack:///../node_modules/moment/locale/sr-cyrl.js","webpack:///../node_modules/moment/locale/sr.js","webpack:///../node_modules/moment/locale/ss.js","webpack:///../node_modules/moment/locale/sv.js","webpack:///../node_modules/moment/locale/sw.js","webpack:///../node_modules/moment/locale/ta.js","webpack:///../node_modules/moment/locale/te.js","webpack:///../node_modules/moment/locale/tet.js","webpack:///../node_modules/moment/locale/tg.js","webpack:///../node_modules/moment/locale/th.js","webpack:///../node_modules/moment/locale/tk.js","webpack:///../node_modules/moment/locale/tl-ph.js","webpack:///../node_modules/moment/locale/tlh.js","webpack:///../node_modules/moment/locale/tr.js","webpack:///../node_modules/moment/locale/tzl.js","webpack:///../node_modules/moment/locale/tzm-latn.js","webpack:///../node_modules/moment/locale/tzm.js","webpack:///../node_modules/moment/locale/ug-cn.js","webpack:///../node_modules/moment/locale/uk.js","webpack:///../node_modules/moment/locale/ur.js","webpack:///../node_modules/moment/locale/uz-latn.js","webpack:///../node_modules/moment/locale/uz.js","webpack:///../node_modules/moment/locale/vi.js","webpack:///../node_modules/moment/locale/x-pseudo.js","webpack:///../node_modules/moment/locale/yo.js","webpack:///../node_modules/moment/locale/zh-cn.js","webpack:///../node_modules/moment/locale/zh-hk.js","webpack:///../node_modules/moment/locale/zh-mo.js","webpack:///../node_modules/moment/locale/zh-tw.js","webpack:///../node_modules/moment/moment.js","webpack:///../node_modules/node-emoji/index.js","webpack:///../node_modules/node-emoji/lib/emoji.js","webpack:///../node_modules/numeral/numeral.js","webpack:///../node_modules/object-assign/index.js","webpack:///../node_modules/object-keys/implementation.js","webpack:///../node_modules/object-keys/index.js","webpack:///../node_modules/object-keys/isArguments.js","webpack:///../node_modules/object.getownpropertydescriptors/implementation.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/CreateDataProperty.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/FromPropertyDescriptor.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/IsArray.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/IsCallable.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/IsDataDescriptor.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/IsExtensible.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/IsPropertyKey.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/IsRegExp.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/OrdinaryGetOwnProperty.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/RequireObjectCoercible.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/SameValue.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/ToBoolean.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/ToObject.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/ToPropertyDescriptor.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/2020/Type.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/5/CheckObjectCoercible.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/5/Type.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/helpers/DefineOwnProperty.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/helpers/assertRecord.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/helpers/callBound.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/helpers/isNaN.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/es-abstract/helpers/isPrimitive.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/has-symbols/index.js","webpack:///../node_modules/object.getownpropertydescriptors/node_modules/has-symbols/shams.js","webpack:///../node_modules/object.getownpropertydescriptors/polyfill.js","webpack:///../node_modules/object.getownpropertydescriptors/shim.js","webpack:///../node_modules/parse-entities/decode-entity.browser.js","webpack:///../node_modules/parse-entities/index.js","webpack:///../node_modules/path-browserify/index.js","webpack:///../node_modules/process/browser.js","webpack:///../node_modules/promise.allsettled/auto.js","webpack:///../node_modules/promise.allsettled/implementation.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/es2015.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/es2016.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/es2017.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/es2018.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/es5.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/assertRecord.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/assign.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/callBound.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/every.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/forEach.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/isFinite.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/isNaN.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/isPrefixOf.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/isPrimitive.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/isPropertyDescriptor.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/maxSafeInteger.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/mod.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/regexTester.js","webpack:///../node_modules/promise.allsettled/node_modules/es-abstract/helpers/sign.js","webpack:///../node_modules/promise.allsettled/node_modules/es-to-primitive/es2015.js","webpack:///../node_modules/promise.allsettled/node_modules/es-to-primitive/es5.js","webpack:///../node_modules/promise.allsettled/node_modules/es-to-primitive/es6.js","webpack:///../node_modules/promise.allsettled/node_modules/es-to-primitive/helpers/isPrimitive.js","webpack:///../node_modules/promise.allsettled/node_modules/has-symbols/index.js","webpack:///../node_modules/promise.allsettled/node_modules/has-symbols/shams.js","webpack:///../node_modules/promise.allsettled/node_modules/object-inspect/index.js","webpack:///../node_modules/promise.allsettled/polyfill.js","webpack:///../node_modules/promise.allsettled/requirePromise.js","webpack:///../node_modules/promise.allsettled/shim.js","webpack:///../node_modules/promise.prototype.finally/auto.js","webpack:///../node_modules/promise.prototype.finally/implementation.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/es2015.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/es2016.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/es2017.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/es2018.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/es5.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/assertRecord.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/assign.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/callBound.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/every.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/forEach.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/isFinite.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/isNaN.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/isPrefixOf.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/isPrimitive.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/isPropertyDescriptor.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/maxSafeInteger.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/mod.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/regexTester.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-abstract/helpers/sign.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-to-primitive/es2015.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-to-primitive/es5.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-to-primitive/es6.js","webpack:///../node_modules/promise.prototype.finally/node_modules/es-to-primitive/helpers/isPrimitive.js","webpack:///../node_modules/promise.prototype.finally/node_modules/has-symbols/index.js","webpack:///../node_modules/promise.prototype.finally/node_modules/has-symbols/shams.js","webpack:///../node_modules/promise.prototype.finally/node_modules/object-inspect/index.js","webpack:///../node_modules/promise.prototype.finally/polyfill.js","webpack:///../node_modules/promise.prototype.finally/requirePromise.js","webpack:///../node_modules/promise.prototype.finally/shim.js","webpack:///../node_modules/prop-types/factoryWithThrowingShims.js","webpack:///../node_modules/prop-types/index.js","webpack:///../node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///../node_modules/property-information/find.js","webpack:///../node_modules/property-information/html.js","webpack:///../node_modules/property-information/lib/aria.js","webpack:///../node_modules/property-information/lib/html.js","webpack:///../node_modules/property-information/lib/util/case-insensitive-transform.js","webpack:///../node_modules/property-information/lib/util/case-sensitive-transform.js","webpack:///../node_modules/property-information/lib/util/create.js","webpack:///../node_modules/property-information/lib/util/defined-info.js","webpack:///../node_modules/property-information/lib/util/info.js","webpack:///../node_modules/property-information/lib/util/merge.js","webpack:///../node_modules/property-information/lib/util/schema.js","webpack:///../node_modules/property-information/lib/util/types.js","webpack:///../node_modules/property-information/lib/xlink.js","webpack:///../node_modules/property-information/lib/xml.js","webpack:///../node_modules/property-information/lib/xmlns.js","webpack:///../node_modules/property-information/normalize.js","webpack:///../node_modules/qs/lib/formats.js","webpack:///../node_modules/qs/lib/index.js","webpack:///../node_modules/qs/lib/parse.js","webpack:///../node_modules/qs/lib/stringify.js","webpack:///../node_modules/qs/lib/utils.js","webpack:///../node_modules/querystringify/index.js","webpack:///../node_modules/re-reselect/dist/index.js","webpack:///../node_modules/react-clientside-effect/lib/index.es.js","webpack:///../node_modules/react-clientside-effect/node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../node_modules/react-clientside-effect/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack:///../node_modules/react-clientside-effect/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack:///../node_modules/react-dom/cjs/react-dom.production.min.js","webpack:///../node_modules/react-dom/index.js","webpack:///../node_modules/react-dropzone/dist/es/index.js","webpack:///../node_modules/react-dropzone/dist/es/utils/index.js","webpack:///../node_modules/react-dropzone/node_modules/prop-types/factoryWithThrowingShims.js","webpack:///../node_modules/react-dropzone/node_modules/prop-types/index.js","webpack:///../node_modules/react-dropzone/node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///../node_modules/react-focus-lock/dist/es2015/FocusGuard.js","webpack:///../node_modules/react-focus-lock/dist/es2015/Lock.js","webpack:///../node_modules/react-focus-lock/dist/es2015/Trap.js","webpack:///../node_modules/react-focus-lock/dist/es2015/UI.js","webpack:///../node_modules/react-focus-lock/dist/es2015/medium.js","webpack:///../node_modules/react-focus-lock/dist/es2015/sidecar.js","webpack:///../node_modules/react-focus-lock/dist/es2015/util.js","webpack:///../node_modules/react-focus-on/dist/es2015/Combination.js","webpack:///../node_modules/react-focus-on/dist/es2015/Effect.js","webpack:///../node_modules/react-focus-on/dist/es2015/InteractivityDisabler.js","webpack:///../node_modules/react-focus-on/dist/es2015/UI.js","webpack:///../node_modules/react-focus-on/dist/es2015/medium.js","webpack:///../node_modules/react-focus-on/dist/es2015/sidecar.js","webpack:///../node_modules/react-focus-on/node_modules/tslib/tslib.es6.js","webpack:///../node_modules/react-input-autosize/lib/AutosizeInput.js","webpack:///../node_modules/react-is/cjs/react-is.production.min.js","webpack:///../node_modules/react-is/index.js","webpack:///../node_modules/react-redux/es/components/Context.js","webpack:///../node_modules/react-redux/es/components/Provider.js","webpack:///../node_modules/react-redux/es/components/connectAdvanced.js","webpack:///../node_modules/react-redux/es/connect/connect.js","webpack:///../node_modules/react-redux/es/connect/mapDispatchToProps.js","webpack:///../node_modules/react-redux/es/connect/mapStateToProps.js","webpack:///../node_modules/react-redux/es/connect/mergeProps.js","webpack:///../node_modules/react-redux/es/connect/selectorFactory.js","webpack:///../node_modules/react-redux/es/connect/verifySubselectors.js","webpack:///../node_modules/react-redux/es/connect/wrapMapToProps.js","webpack:///../node_modules/react-redux/es/hooks/useDispatch.js","webpack:///../node_modules/react-redux/es/hooks/useReduxContext.js","webpack:///../node_modules/react-redux/es/hooks/useSelector.js","webpack:///../node_modules/react-redux/es/hooks/useStore.js","webpack:///../node_modules/react-redux/es/index.js","webpack:///../node_modules/react-redux/es/utils/Subscription.js","webpack:///../node_modules/react-redux/es/utils/batch.js","webpack:///../node_modules/react-redux/es/utils/isPlainObject.js","webpack:///../node_modules/react-redux/es/utils/reactBatchedUpdates.js","webpack:///../node_modules/react-redux/es/utils/shallowEqual.js","webpack:///../node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js","webpack:///../node_modules/react-redux/es/utils/verifyPlainObject.js","webpack:///../node_modules/react-redux/es/utils/warning.js","webpack:///../node_modules/react-redux/node_modules/react-is/cjs/react-is.production.min.js","webpack:///../node_modules/react-redux/node_modules/react-is/index.js","webpack:///../node_modules/react-remove-scroll-bar/dist/es2015/component.js","webpack:///../node_modules/react-remove-scroll-bar/dist/es2015/constants.js","webpack:///../node_modules/react-remove-scroll-bar/dist/es2015/index.js","webpack:///../node_modules/react-remove-scroll-bar/dist/es2015/utils.js","webpack:///../node_modules/react-remove-scroll/dist/es2015/SideEffect.js","webpack:///../node_modules/react-remove-scroll/dist/es2015/UI.js","webpack:///../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js","webpack:///../node_modules/react-remove-scroll/dist/es2015/handleScroll.js","webpack:///../node_modules/react-remove-scroll/dist/es2015/medium.js","webpack:///../node_modules/react-remove-scroll/dist/es2015/sidecar.js","webpack:///../node_modules/react-remove-scroll/node_modules/tslib/tslib.es6.js","webpack:///../node_modules/react-style-singleton/dist/es2015/component.js","webpack:///../node_modules/react-style-singleton/dist/es2015/hook.js","webpack:///../node_modules/react-style-singleton/dist/es2015/index.js","webpack:///../node_modules/react-style-singleton/dist/es2015/singleton.js","webpack:///../node_modules/react-virtualized-auto-sizer/dist/react-virtualized-auto-sizer.esm.js","webpack:///../node_modules/react-window/dist/index.esm.js","webpack:///../node_modules/react/cjs/react.production.min.js","webpack:///../node_modules/react/index.js","webpack:///../node_modules/redux/es/redux.js","webpack:///../node_modules/refractor/core.js","webpack:///../node_modules/refractor/index.js","webpack:///../node_modules/refractor/lang/abap.js","webpack:///../node_modules/refractor/lang/abnf.js","webpack:///../node_modules/refractor/lang/actionscript.js","webpack:///../node_modules/refractor/lang/ada.js","webpack:///../node_modules/refractor/lang/agda.js","webpack:///../node_modules/refractor/lang/al.js","webpack:///../node_modules/refractor/lang/antlr4.js","webpack:///../node_modules/refractor/lang/apacheconf.js","webpack:///../node_modules/refractor/lang/apex.js","webpack:///../node_modules/refractor/lang/apl.js","webpack:///../node_modules/refractor/lang/applescript.js","webpack:///../node_modules/refractor/lang/aql.js","webpack:///../node_modules/refractor/lang/arduino.js","webpack:///../node_modules/refractor/lang/arff.js","webpack:///../node_modules/refractor/lang/asciidoc.js","webpack:///../node_modules/refractor/lang/asm6502.js","webpack:///../node_modules/refractor/lang/aspnet.js","webpack:///../node_modules/refractor/lang/autohotkey.js","webpack:///../node_modules/refractor/lang/autoit.js","webpack:///../node_modules/refractor/lang/avisynth.js","webpack:///../node_modules/refractor/lang/avro-idl.js","webpack:///../node_modules/refractor/lang/bash.js","webpack:///../node_modules/refractor/lang/basic.js","webpack:///../node_modules/refractor/lang/batch.js","webpack:///../node_modules/refractor/lang/bbcode.js","webpack:///../node_modules/refractor/lang/bicep.js","webpack:///../node_modules/refractor/lang/birb.js","webpack:///../node_modules/refractor/lang/bison.js","webpack:///../node_modules/refractor/lang/bnf.js","webpack:///../node_modules/refractor/lang/brainfuck.js","webpack:///../node_modules/refractor/lang/brightscript.js","webpack:///../node_modules/refractor/lang/bro.js","webpack:///../node_modules/refractor/lang/bsl.js","webpack:///../node_modules/refractor/lang/c.js","webpack:///../node_modules/refractor/lang/cfscript.js","webpack:///../node_modules/refractor/lang/chaiscript.js","webpack:///../node_modules/refractor/lang/cil.js","webpack:///../node_modules/refractor/lang/clike.js","webpack:///../node_modules/refractor/lang/clojure.js","webpack:///../node_modules/refractor/lang/cmake.js","webpack:///../node_modules/refractor/lang/cobol.js","webpack:///../node_modules/refractor/lang/coffeescript.js","webpack:///../node_modules/refractor/lang/concurnas.js","webpack:///../node_modules/refractor/lang/coq.js","webpack:///../node_modules/refractor/lang/cpp.js","webpack:///../node_modules/refractor/lang/crystal.js","webpack:///../node_modules/refractor/lang/csharp.js","webpack:///../node_modules/refractor/lang/cshtml.js","webpack:///../node_modules/refractor/lang/csp.js","webpack:///../node_modules/refractor/lang/css-extras.js","webpack:///../node_modules/refractor/lang/css.js","webpack:///../node_modules/refractor/lang/csv.js","webpack:///../node_modules/refractor/lang/cypher.js","webpack:///../node_modules/refractor/lang/d.js","webpack:///../node_modules/refractor/lang/dart.js","webpack:///../node_modules/refractor/lang/dataweave.js","webpack:///../node_modules/refractor/lang/dax.js","webpack:///../node_modules/refractor/lang/dhall.js","webpack:///../node_modules/refractor/lang/diff.js","webpack:///../node_modules/refractor/lang/django.js","webpack:///../node_modules/refractor/lang/dns-zone-file.js","webpack:///../node_modules/refractor/lang/docker.js","webpack:///../node_modules/refractor/lang/dot.js","webpack:///../node_modules/refractor/lang/ebnf.js","webpack:///../node_modules/refractor/lang/editorconfig.js","webpack:///../node_modules/refractor/lang/eiffel.js","webpack:///../node_modules/refractor/lang/ejs.js","webpack:///../node_modules/refractor/lang/elixir.js","webpack:///../node_modules/refractor/lang/elm.js","webpack:///../node_modules/refractor/lang/erb.js","webpack:///../node_modules/refractor/lang/erlang.js","webpack:///../node_modules/refractor/lang/etlua.js","webpack:///../node_modules/refractor/lang/excel-formula.js","webpack:///../node_modules/refractor/lang/factor.js","webpack:///../node_modules/refractor/lang/false.js","webpack:///../node_modules/refractor/lang/firestore-security-rules.js","webpack:///../node_modules/refractor/lang/flow.js","webpack:///../node_modules/refractor/lang/fortran.js","webpack:///../node_modules/refractor/lang/fsharp.js","webpack:///../node_modules/refractor/lang/ftl.js","webpack:///../node_modules/refractor/lang/gap.js","webpack:///../node_modules/refractor/lang/gcode.js","webpack:///../node_modules/refractor/lang/gdscript.js","webpack:///../node_modules/refractor/lang/gedcom.js","webpack:///../node_modules/refractor/lang/gherkin.js","webpack:///../node_modules/refractor/lang/git.js","webpack:///../node_modules/refractor/lang/glsl.js","webpack:///../node_modules/refractor/lang/gml.js","webpack:///../node_modules/refractor/lang/gn.js","webpack:///../node_modules/refractor/lang/go.js","webpack:///../node_modules/refractor/lang/graphql.js","webpack:///../node_modules/refractor/lang/groovy.js","webpack:///../node_modules/refractor/lang/haml.js","webpack:///../node_modules/refractor/lang/handlebars.js","webpack:///../node_modules/refractor/lang/haskell.js","webpack:///../node_modules/refractor/lang/haxe.js","webpack:///../node_modules/refractor/lang/hcl.js","webpack:///../node_modules/refractor/lang/hlsl.js","webpack:///../node_modules/refractor/lang/hoon.js","webpack:///../node_modules/refractor/lang/hpkp.js","webpack:///../node_modules/refractor/lang/hsts.js","webpack:///../node_modules/refractor/lang/http.js","webpack:///../node_modules/refractor/lang/ichigojam.js","webpack:///../node_modules/refractor/lang/icon.js","webpack:///../node_modules/refractor/lang/icu-message-format.js","webpack:///../node_modules/refractor/lang/idris.js","webpack:///../node_modules/refractor/lang/iecst.js","webpack:///../node_modules/refractor/lang/ignore.js","webpack:///../node_modules/refractor/lang/inform7.js","webpack:///../node_modules/refractor/lang/ini.js","webpack:///../node_modules/refractor/lang/io.js","webpack:///../node_modules/refractor/lang/j.js","webpack:///../node_modules/refractor/lang/java.js","webpack:///../node_modules/refractor/lang/javadoc.js","webpack:///../node_modules/refractor/lang/javadoclike.js","webpack:///../node_modules/refractor/lang/javascript.js","webpack:///../node_modules/refractor/lang/javastacktrace.js","webpack:///../node_modules/refractor/lang/jexl.js","webpack:///../node_modules/refractor/lang/jolie.js","webpack:///../node_modules/refractor/lang/jq.js","webpack:///../node_modules/refractor/lang/js-extras.js","webpack:///../node_modules/refractor/lang/js-templates.js","webpack:///../node_modules/refractor/lang/jsdoc.js","webpack:///../node_modules/refractor/lang/json.js","webpack:///../node_modules/refractor/lang/json5.js","webpack:///../node_modules/refractor/lang/jsonp.js","webpack:///../node_modules/refractor/lang/jsstacktrace.js","webpack:///../node_modules/refractor/lang/jsx.js","webpack:///../node_modules/refractor/lang/julia.js","webpack:///../node_modules/refractor/lang/keyman.js","webpack:///../node_modules/refractor/lang/kotlin.js","webpack:///../node_modules/refractor/lang/kumir.js","webpack:///../node_modules/refractor/lang/kusto.js","webpack:///../node_modules/refractor/lang/latex.js","webpack:///../node_modules/refractor/lang/latte.js","webpack:///../node_modules/refractor/lang/less.js","webpack:///../node_modules/refractor/lang/lilypond.js","webpack:///../node_modules/refractor/lang/liquid.js","webpack:///../node_modules/refractor/lang/lisp.js","webpack:///../node_modules/refractor/lang/livescript.js","webpack:///../node_modules/refractor/lang/llvm.js","webpack:///../node_modules/refractor/lang/log.js","webpack:///../node_modules/refractor/lang/lolcode.js","webpack:///../node_modules/refractor/lang/lua.js","webpack:///../node_modules/refractor/lang/magma.js","webpack:///../node_modules/refractor/lang/makefile.js","webpack:///../node_modules/refractor/lang/markdown.js","webpack:///../node_modules/refractor/lang/markup-templating.js","webpack:///../node_modules/refractor/lang/markup.js","webpack:///../node_modules/refractor/lang/matlab.js","webpack:///../node_modules/refractor/lang/maxscript.js","webpack:///../node_modules/refractor/lang/mel.js","webpack:///../node_modules/refractor/lang/mermaid.js","webpack:///../node_modules/refractor/lang/mizar.js","webpack:///../node_modules/refractor/lang/mongodb.js","webpack:///../node_modules/refractor/lang/monkey.js","webpack:///../node_modules/refractor/lang/moonscript.js","webpack:///../node_modules/refractor/lang/n1ql.js","webpack:///../node_modules/refractor/lang/n4js.js","webpack:///../node_modules/refractor/lang/nand2tetris-hdl.js","webpack:///../node_modules/refractor/lang/naniscript.js","webpack:///../node_modules/refractor/lang/nasm.js","webpack:///../node_modules/refractor/lang/neon.js","webpack:///../node_modules/refractor/lang/nevod.js","webpack:///../node_modules/refractor/lang/nginx.js","webpack:///../node_modules/refractor/lang/nim.js","webpack:///../node_modules/refractor/lang/nix.js","webpack:///../node_modules/refractor/lang/nsis.js","webpack:///../node_modules/refractor/lang/objectivec.js","webpack:///../node_modules/refractor/lang/ocaml.js","webpack:///../node_modules/refractor/lang/opencl.js","webpack:///../node_modules/refractor/lang/openqasm.js","webpack:///../node_modules/refractor/lang/oz.js","webpack:///../node_modules/refractor/lang/parigp.js","webpack:///../node_modules/refractor/lang/parser.js","webpack:///../node_modules/refractor/lang/pascal.js","webpack:///../node_modules/refractor/lang/pascaligo.js","webpack:///../node_modules/refractor/lang/pcaxis.js","webpack:///../node_modules/refractor/lang/peoplecode.js","webpack:///../node_modules/refractor/lang/perl.js","webpack:///../node_modules/refractor/lang/php-extras.js","webpack:///../node_modules/refractor/lang/php.js","webpack:///../node_modules/refractor/lang/phpdoc.js","webpack:///../node_modules/refractor/lang/plsql.js","webpack:///../node_modules/refractor/lang/powerquery.js","webpack:///../node_modules/refractor/lang/powershell.js","webpack:///../node_modules/refractor/lang/processing.js","webpack:///../node_modules/refractor/lang/prolog.js","webpack:///../node_modules/refractor/lang/promql.js","webpack:///../node_modules/refractor/lang/properties.js","webpack:///../node_modules/refractor/lang/protobuf.js","webpack:///../node_modules/refractor/lang/psl.js","webpack:///../node_modules/refractor/lang/pug.js","webpack:///../node_modules/refractor/lang/puppet.js","webpack:///../node_modules/refractor/lang/pure.js","webpack:///../node_modules/refractor/lang/purebasic.js","webpack:///../node_modules/refractor/lang/purescript.js","webpack:///../node_modules/refractor/lang/python.js","webpack:///../node_modules/refractor/lang/q.js","webpack:///../node_modules/refractor/lang/qml.js","webpack:///../node_modules/refractor/lang/qore.js","webpack:///../node_modules/refractor/lang/qsharp.js","webpack:///../node_modules/refractor/lang/r.js","webpack:///../node_modules/refractor/lang/racket.js","webpack:///../node_modules/refractor/lang/reason.js","webpack:///../node_modules/refractor/lang/regex.js","webpack:///../node_modules/refractor/lang/rego.js","webpack:///../node_modules/refractor/lang/renpy.js","webpack:///../node_modules/refractor/lang/rest.js","webpack:///../node_modules/refractor/lang/rip.js","webpack:///../node_modules/refractor/lang/roboconf.js","webpack:///../node_modules/refractor/lang/robotframework.js","webpack:///../node_modules/refractor/lang/ruby.js","webpack:///../node_modules/refractor/lang/rust.js","webpack:///../node_modules/refractor/lang/sas.js","webpack:///../node_modules/refractor/lang/sass.js","webpack:///../node_modules/refractor/lang/scala.js","webpack:///../node_modules/refractor/lang/scheme.js","webpack:///../node_modules/refractor/lang/scss.js","webpack:///../node_modules/refractor/lang/shell-session.js","webpack:///../node_modules/refractor/lang/smali.js","webpack:///../node_modules/refractor/lang/smalltalk.js","webpack:///../node_modules/refractor/lang/smarty.js","webpack:///../node_modules/refractor/lang/sml.js","webpack:///../node_modules/refractor/lang/solidity.js","webpack:///../node_modules/refractor/lang/solution-file.js","webpack:///../node_modules/refractor/lang/soy.js","webpack:///../node_modules/refractor/lang/sparql.js","webpack:///../node_modules/refractor/lang/splunk-spl.js","webpack:///../node_modules/refractor/lang/sqf.js","webpack:///../node_modules/refractor/lang/sql.js","webpack:///../node_modules/refractor/lang/squirrel.js","webpack:///../node_modules/refractor/lang/stan.js","webpack:///../node_modules/refractor/lang/stylus.js","webpack:///../node_modules/refractor/lang/swift.js","webpack:///../node_modules/refractor/lang/systemd.js","webpack:///../node_modules/refractor/lang/t4-cs.js","webpack:///../node_modules/refractor/lang/t4-templating.js","webpack:///../node_modules/refractor/lang/t4-vb.js","webpack:///../node_modules/refractor/lang/tap.js","webpack:///../node_modules/refractor/lang/tcl.js","webpack:///../node_modules/refractor/lang/textile.js","webpack:///../node_modules/refractor/lang/toml.js","webpack:///../node_modules/refractor/lang/tsx.js","webpack:///../node_modules/refractor/lang/tt2.js","webpack:///../node_modules/refractor/lang/turtle.js","webpack:///../node_modules/refractor/lang/twig.js","webpack:///../node_modules/refractor/lang/typescript.js","webpack:///../node_modules/refractor/lang/typoscript.js","webpack:///../node_modules/refractor/lang/unrealscript.js","webpack:///../node_modules/refractor/lang/uri.js","webpack:///../node_modules/refractor/lang/v.js","webpack:///../node_modules/refractor/lang/vala.js","webpack:///../node_modules/refractor/lang/vbnet.js","webpack:///../node_modules/refractor/lang/velocity.js","webpack:///../node_modules/refractor/lang/verilog.js","webpack:///../node_modules/refractor/lang/vhdl.js","webpack:///../node_modules/refractor/lang/vim.js","webpack:///../node_modules/refractor/lang/visual-basic.js","webpack:///../node_modules/refractor/lang/warpscript.js","webpack:///../node_modules/refractor/lang/wasm.js","webpack:///../node_modules/refractor/lang/wiki.js","webpack:///../node_modules/refractor/lang/wolfram.js","webpack:///../node_modules/refractor/lang/wren.js","webpack:///../node_modules/refractor/lang/xeora.js","webpack:///../node_modules/refractor/lang/xml-doc.js","webpack:///../node_modules/refractor/lang/xojo.js","webpack:///../node_modules/refractor/lang/xquery.js","webpack:///../node_modules/refractor/lang/yaml.js","webpack:///../node_modules/refractor/lang/yang.js","webpack:///../node_modules/refractor/lang/zig.js","webpack:///../node_modules/refractor/node_modules/prismjs/components/prism-core.js","webpack:///../node_modules/regenerator-runtime/runtime.js","webpack:///../node_modules/rehype-react/index.js","webpack:///../node_modules/remark-breaks/index.js","webpack:///../node_modules/remark-emoji/index.js","webpack:///../node_modules/remark-emoji/node_modules/unist-util-visit/index.js","webpack:///../node_modules/remark-parse-no-trim/index.js","webpack:///../node_modules/remark-parse-no-trim/lib/block-elements.js","webpack:///../node_modules/remark-parse-no-trim/lib/decode.js","webpack:///../node_modules/remark-parse-no-trim/lib/defaults.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/break.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/code-inline.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/delete.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/email.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/emphasis.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/escape.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/link.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/strong.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/tag.js","webpack:///../node_modules/remark-parse-no-trim/lib/locate/url.js","webpack:///../node_modules/remark-parse-no-trim/lib/parse.js","webpack:///../node_modules/remark-parse-no-trim/lib/parser.js","webpack:///../node_modules/remark-parse-no-trim/lib/set-options.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/auto-link.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/blank-line.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/blockquote.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/break.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/code-fenced.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/code-indented.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/code-inline.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/definition.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/delete.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/email.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/emphasis.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/escape.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/heading-atx.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/heading-setext.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/html-block.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/html-inline.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/link.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/list.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/paragraph.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/reference.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/strong.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/table.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/text.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/thematic-break.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenize/url.js","webpack:///../node_modules/remark-parse-no-trim/lib/tokenizer.js","webpack:///../node_modules/remark-parse-no-trim/lib/unescape.js","webpack:///../node_modules/remark-parse-no-trim/lib/util/get-indentation.js","webpack:///../node_modules/remark-parse-no-trim/lib/util/html.js","webpack:///../node_modules/remark-parse-no-trim/lib/util/interrupt.js","webpack:///../node_modules/remark-parse-no-trim/lib/util/normalize.js","webpack:///../node_modules/remark-parse-no-trim/lib/util/remove-indentation.js","webpack:///../node_modules/remark-rehype/index.js","webpack:///../node_modules/repeat-string/index.js","webpack:///../node_modules/replace-ext/index.js","webpack:///../node_modules/requires-port/index.js","webpack:///../node_modules/reselect/es/index.js","webpack:///../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js","webpack:///../node_modules/scheduler/cjs/scheduler.production.min.js","webpack:///../node_modules/scheduler/index.js","webpack:///../node_modules/seedrandom/index.js","webpack:///../node_modules/seedrandom/lib/alea.js","webpack:///../node_modules/seedrandom/lib/tychei.js","webpack:///../node_modules/seedrandom/lib/xor128.js","webpack:///../node_modules/seedrandom/lib/xor4096.js","webpack:///../node_modules/seedrandom/lib/xorshift7.js","webpack:///../node_modules/seedrandom/lib/xorwow.js","webpack:///../node_modules/seedrandom/seedrandom.js","webpack:///../node_modules/setimmediate/setImmediate.js","webpack:///../node_modules/side-channel/index.js","webpack:///../node_modules/side-channel/node_modules/object-inspect/index.js","webpack:///../node_modules/space-separated-tokens/index.js","webpack:///../node_modules/stable/stable.js","webpack:///../node_modules/state-toggle/index.js","webpack:///../node_modules/string.prototype.padend/implementation.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/es2015.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/es2016.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/es5.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/es7.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/assertRecord.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/assign.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/callBound.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/every.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/forEach.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/isFinite.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/isNaN.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/isPrefixOf.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/isPrimitive.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/isPropertyDescriptor.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/maxSafeInteger.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/mod.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/regexTester.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-abstract/helpers/sign.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-to-primitive/es2015.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-to-primitive/es5.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-to-primitive/es6.js","webpack:///../node_modules/string.prototype.padend/node_modules/es-to-primitive/helpers/isPrimitive.js","webpack:///../node_modules/string.prototype.padend/node_modules/has-symbols/index.js","webpack:///../node_modules/string.prototype.padend/node_modules/has-symbols/shams.js","webpack:///../node_modules/string.prototype.padend/node_modules/object-inspect/index.js","webpack:///../node_modules/string.prototype.padend/polyfill.js","webpack:///../node_modules/string.prototype.padend/shim.js","webpack:///../node_modules/string.prototype.padstart/implementation.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/GetIntrinsic.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/es2015.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/es2016.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/es5.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/es7.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/assertRecord.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/assign.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/callBind.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/callBound.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/every.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/forEach.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/isFinite.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/isNaN.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/isPrefixOf.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/isPrimitive.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/isPropertyDescriptor.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/maxSafeInteger.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/mod.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/regexTester.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-abstract/helpers/sign.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-to-primitive/es2015.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-to-primitive/es5.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-to-primitive/es6.js","webpack:///../node_modules/string.prototype.padstart/node_modules/es-to-primitive/helpers/isPrimitive.js","webpack:///../node_modules/string.prototype.padstart/node_modules/has-symbols/index.js","webpack:///../node_modules/string.prototype.padstart/node_modules/has-symbols/shams.js","webpack:///../node_modules/string.prototype.padstart/node_modules/object-inspect/index.js","webpack:///../node_modules/string.prototype.padstart/polyfill.js","webpack:///../node_modules/string.prototype.padstart/shim.js","webpack:///../node_modules/string.prototype.trimleft/implementation.js","webpack:///../node_modules/string.prototype.trimleft/index.js","webpack:///../node_modules/string.prototype.trimleft/polyfill.js","webpack:///../node_modules/string.prototype.trimleft/shim.js","webpack:///../node_modules/string.prototype.trimright/implementation.js","webpack:///../node_modules/string.prototype.trimright/index.js","webpack:///../node_modules/string.prototype.trimright/polyfill.js","webpack:///../node_modules/string.prototype.trimright/shim.js","webpack:///../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../node_modules/style-to-object/index.js","webpack:///../node_modules/stylis/dist/stylis.mjs","webpack:///../node_modules/symbol-observable/es/index.js","webpack:///../node_modules/symbol-observable/es/ponyfill.js","webpack:///../node_modules/symbol.prototype.description/auto.js","webpack:///../node_modules/symbol.prototype.description/helpers/getInferredName.js","webpack:///../node_modules/symbol.prototype.description/implementation.js","webpack:///../node_modules/symbol.prototype.description/node_modules/has-symbols/index.js","webpack:///../node_modules/symbol.prototype.description/node_modules/has-symbols/shams.js","webpack:///../node_modules/symbol.prototype.description/polyfill.js","webpack:///../node_modules/symbol.prototype.description/shim.js","webpack:///../node_modules/tabbable/dist/index.esm.js","webpack:///../node_modules/telejson/dist/esm/dom-event.js","webpack:///../node_modules/telejson/dist/esm/index.js","webpack:///../node_modules/telejson/node_modules/has-symbols/shams.js","webpack:///../node_modules/telejson/node_modules/is-regex/index.js","webpack:///../node_modules/telejson/node_modules/isobject/index.js","webpack:///../node_modules/text-diff/diff.js","webpack:///../node_modules/timers-browserify/main.js","webpack:///../node_modules/trim-trailing-lines/index.js","webpack:///../node_modules/trough/index.js","webpack:///../node_modules/trough/wrap.js","webpack:///../node_modules/ts-debounce/dist/src/index.esm.js","webpack:///../node_modules/ts-dedent/dist/index.js","webpack:///../node_modules/tslib/tslib.es6.js","webpack:///../node_modules/unherit/index.js","webpack:///../node_modules/unist-builder/index.js","webpack:///../node_modules/unist-util-generated/index.js","webpack:///../node_modules/unist-util-is/convert.js","webpack:///../node_modules/unist-util-position/index.js","webpack:///../node_modules/unist-util-remove-position/index.js","webpack:///../node_modules/unist-util-stringify-position/index.js","webpack:///../node_modules/unist-util-visit-parents/index.js","webpack:///../node_modules/unist-util-visit/index.js","webpack:///../node_modules/url-parse/index.js","webpack:///../node_modules/use-callback-ref/dist/es2015/assignRef.js","webpack:///../node_modules/use-callback-ref/dist/es2015/useMergeRef.js","webpack:///../node_modules/use-callback-ref/dist/es2015/useRef.js","webpack:///../node_modules/use-sidecar/dist/es2015/exports.js","webpack:///../node_modules/use-sidecar/dist/es2015/medium.js","webpack:///../node_modules/use-sidecar/node_modules/tslib/tslib.es6.js","webpack:///../node_modules/util-deprecate/browser.js","webpack:///../node_modules/utility-types/dist/aliases-and-guards.js","webpack:///../node_modules/utility-types/dist/functional-helpers.js","webpack:///../node_modules/utility-types/dist/index.js","webpack:///../node_modules/uuid-browser/lib/bytesToUuid.js","webpack:///../node_modules/uuid-browser/lib/rng-browser.js","webpack:///../node_modules/uuid-browser/v4.js","webpack:///../node_modules/vfile-location/index.js","webpack:///../node_modules/vfile-message/index.js","webpack:///../node_modules/webpack/buildin/amd-define.js","webpack:///../node_modules/webpack/buildin/amd-options.js","webpack:///../node_modules/webpack/buildin/global.js","webpack:///../node_modules/webpack/buildin/harmony-module.js","webpack:///../node_modules/webpack/buildin/module.js","webpack:///../node_modules/xtend/immutable.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/contains.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getBorders.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getDecorations.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getWindow.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/enums.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/index.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/applyStyles.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/arrow.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/computeStyles.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/eventListeners.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/flip.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/hide.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/offset.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/popper.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/computeOffsets.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/debounce.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/detectOverflow.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/expandToHashMap.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/getAltAxis.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/getBasePlacement.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/getVariation.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/mergeByName.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/orderModifiers.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/rectToClientRect.js","webpack:///../packages/charts/node_modules/@popperjs/core/lib/utils/within.js","webpack:///../packages/charts/node_modules/d3-array/src/array.js","webpack:///../packages/charts/node_modules/d3-array/src/ascending.js","webpack:///../packages/charts/node_modules/d3-array/src/bisect.js","webpack:///../packages/charts/node_modules/d3-array/src/bisector.js","webpack:///../packages/charts/node_modules/d3-array/src/constant.js","webpack:///../packages/charts/node_modules/d3-array/src/cross.js","webpack:///../packages/charts/node_modules/d3-array/src/descending.js","webpack:///../packages/charts/node_modules/d3-array/src/deviation.js","webpack:///../packages/charts/node_modules/d3-array/src/extent.js","webpack:///../packages/charts/node_modules/d3-array/src/histogram.js","webpack:///../packages/charts/node_modules/d3-array/src/identity.js","webpack:///../packages/charts/node_modules/d3-array/src/index.js","webpack:///../packages/charts/node_modules/d3-array/src/max.js","webpack:///../packages/charts/node_modules/d3-array/src/mean.js","webpack:///../packages/charts/node_modules/d3-array/src/median.js","webpack:///../packages/charts/node_modules/d3-array/src/merge.js","webpack:///../packages/charts/node_modules/d3-array/src/min.js","webpack:///../packages/charts/node_modules/d3-array/src/number.js","webpack:///../packages/charts/node_modules/d3-array/src/pairs.js","webpack:///../packages/charts/node_modules/d3-array/src/permute.js","webpack:///../packages/charts/node_modules/d3-array/src/quantile.js","webpack:///../packages/charts/node_modules/d3-array/src/range.js","webpack:///../packages/charts/node_modules/d3-array/src/scan.js","webpack:///../packages/charts/node_modules/d3-array/src/shuffle.js","webpack:///../packages/charts/node_modules/d3-array/src/sum.js","webpack:///../packages/charts/node_modules/d3-array/src/threshold/freedmanDiaconis.js","webpack:///../packages/charts/node_modules/d3-array/src/threshold/scott.js","webpack:///../packages/charts/node_modules/d3-array/src/threshold/sturges.js","webpack:///../packages/charts/node_modules/d3-array/src/ticks.js","webpack:///../packages/charts/node_modules/d3-array/src/transpose.js","webpack:///../packages/charts/node_modules/d3-array/src/variance.js","webpack:///../packages/charts/node_modules/d3-array/src/zip.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/index.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/md5.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/native.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/nil.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/parse.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/regex.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/rng.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/sha1.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/stringify.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/v1.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/v3.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/v35.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/v4.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/v5.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/validate.js","webpack:///../packages/charts/node_modules/uuid/dist/esm-browser/version.js","webpack:///./node_modules/storybook-addon-background-toggle/dist/esm/components/BackgroundDecorator.js","webpack:///./node_modules/storybook-addon-background-toggle/dist/esm/preset/preview.js","webpack:///./node_modules/storybook-addon-background-toggle/dist/esm/preset/preview.js-generated-other-entry.js","webpack:///./node_modules/storybook-addon-theme-toggle/dist/esm/components/ThemeDecorator.js","webpack:///./node_modules/storybook-addon-theme-toggle/dist/esm/preset/preview.js","webpack:///./node_modules/storybook-addon-theme-toggle/dist/esm/preset/preview.js-generated-other-entry.js","webpack:///./node_modules/storybook-addon-toggles/dist/esm/components/TogglesDecorator.js","webpack:///./node_modules/storybook-addon-toggles/dist/esm/preset/preview.js","webpack:///./node_modules/storybook-addon-toggles/dist/esm/preset/preview.js-generated-other-entry.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","export default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _moment = _interopRequireDefault(require(\"moment\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(n); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nvar unitsMap = {\n ms: {\n weight: 1,\n type: 'fixed',\n base: 1\n },\n s: {\n weight: 2,\n type: 'fixed',\n base: 1000\n },\n m: {\n weight: 3,\n type: 'mixed',\n base: 1000 * 60\n },\n h: {\n weight: 4,\n type: 'mixed',\n base: 1000 * 60 * 60\n },\n d: {\n weight: 5,\n type: 'mixed',\n base: 1000 * 60 * 60 * 24\n },\n w: {\n weight: 6,\n type: 'calendar',\n base: NaN\n },\n M: {\n weight: 7,\n type: 'calendar',\n base: NaN\n },\n // q: { weight: 8, type: 'calendar' }, // TODO: moment duration does not support quarter\n y: {\n weight: 9,\n type: 'calendar',\n base: NaN\n }\n};\nvar units = Object.keys(unitsMap).sort(function (a, b) {\n return unitsMap[b].weight - unitsMap[a].weight;\n});\n\nvar unitsDesc = _toConsumableArray(units);\n\nvar unitsAsc = _toConsumableArray(units).reverse();\n\nvar isDate = function isDate(d) {\n return Object.prototype.toString.call(d) === '[object Date]';\n};\n\nvar isValidDate = function isValidDate(d) {\n return isDate(d) && !isNaN(d.valueOf());\n};\n/*\n * This is a simplified version of elasticsearch's date parser.\n * If you pass in a momentjs instance as the third parameter the calculation\n * will be done using this (and its locale settings) instead of the one bundled\n * with this library.\n */\n\n\nfunction parse(text) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$roundUp = _ref.roundUp,\n roundUp = _ref$roundUp === void 0 ? false : _ref$roundUp,\n _ref$momentInstance = _ref.momentInstance,\n momentInstance = _ref$momentInstance === void 0 ? _moment.default : _ref$momentInstance,\n forceNow = _ref.forceNow;\n\n if (!text) return undefined;\n if (momentInstance.isMoment(text)) return text;\n if (isDate(text)) return momentInstance(text);\n\n if (forceNow !== undefined && !isValidDate(forceNow)) {\n throw new Error('forceNow must be a valid Date');\n }\n\n var time;\n var mathString = '';\n var index;\n var parseString;\n\n if (text.substring(0, 3) === 'now') {\n time = momentInstance(forceNow);\n mathString = text.substring('now'.length);\n } else {\n index = text.indexOf('||');\n\n if (index === -1) {\n parseString = text;\n mathString = ''; // nothing else\n } else {\n parseString = text.substring(0, index);\n mathString = text.substring(index + 2);\n } // We're going to just require ISO8601 timestamps, k?\n\n\n time = momentInstance(parseString);\n }\n\n if (!mathString.length) {\n return time;\n }\n\n return parseDateMath(mathString, time, roundUp);\n}\n\nfunction parseDateMath(mathString, time, roundUp) {\n var dateTime = time;\n var len = mathString.length;\n var i = 0;\n\n while (i < len) {\n var c = mathString.charAt(i++);\n var type = void 0;\n var num = void 0;\n var unit = void 0;\n\n if (c === '/') {\n type = 0;\n } else if (c === '+') {\n type = 1;\n } else if (c === '-') {\n type = 2;\n } else {\n return;\n }\n\n if (isNaN(mathString.charAt(i))) {\n num = 1;\n } else if (mathString.length === 2) {\n num = mathString.charAt(i);\n } else {\n var numFrom = i;\n\n while (!isNaN(mathString.charAt(i))) {\n i++;\n if (i >= len) return;\n }\n\n num = parseInt(mathString.substring(numFrom, i), 10);\n }\n\n if (type === 0) {\n // rounding is only allowed on whole, single, units (eg M or 1M, not 0.5M or 2M)\n if (num !== 1) {\n return;\n }\n }\n\n unit = mathString.charAt(i++); // append additional characters in the unit\n\n for (var j = i; j < len; j++) {\n var unitChar = mathString.charAt(i);\n\n if (/[a-z]/i.test(unitChar)) {\n unit += unitChar;\n i++;\n } else {\n break;\n }\n }\n\n if (units.indexOf(unit) === -1) {\n return;\n } else {\n if (type === 0) {\n if (roundUp) dateTime.endOf(unit);else dateTime.startOf(unit);\n } else if (type === 1) {\n dateTime.add(num, unit);\n } else if (type === 2) {\n dateTime.subtract(num, unit);\n }\n }\n }\n\n return dateTime;\n}\n\nvar _default = {\n parse: parse,\n unitsMap: Object.freeze(unitsMap),\n units: Object.freeze(units),\n unitsAsc: Object.freeze(unitsAsc),\n unitsDesc: Object.freeze(unitsDesc)\n};\nexports.default = _default;\nmodule.exports = exports.default;","/******/ (function() { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ \"../../components/common.ts\":\n/*!**********************************!*\\\n !*** ../../components/common.ts ***!\n \\**********************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.assertNever = void 0;\nexports.keysOf = keysOf;\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../../node_modules/core-js/modules/es.object.keys.js\");\n/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nvar assertNever = function assertNever(x) {\n throw new Error(\"Unexpected value \".concat(x));\n};\n\n// utility types:\n/**\n * XOR for some properties applied to a type\n * (XOR is one of these but not both or neither)\n *\n * Usage: OneOf\n *\n * To require aria-label or aria-labelledby but not both\n * Example: OneOf\n */\nexports.assertNever = assertNever;\n/**\n * Wraps Object.keys with proper typescript definition of the resulting array\n */\nfunction keysOf(obj) {\n return Object.keys(obj);\n}\n\n/**\n * Like `keyof typeof`, but for getting values instead of keys\n * ValueOf\n * Results in `'value1' | 'value2'`\n */\n\n// Returns the props of a given HTML element\n\n// Utility methods for ApplyClassComponentDefaults\n\n/**\n * Because of how TypeScript's LibraryManagedAttributes is designed to handle defaultProps (https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#support-for-defaultprops-in-jsx)\n * we can't directly export the props definition as the defaulted values are not made optional,\n * because it isn't processed by LibraryManagedAttributes. To get around this, we:\n * - remove the props which have default values applied\n * - export (Props - Defaults) & Partial\n */\n\n// definition of Props, made optional, that are have keys in defaultProps\n\n/*\nhttps://github.com/Microsoft/TypeScript/issues/28339\nProblem: Pick and Omit do not distribute over union types, which manifests when\noptional values become required after a Pick or Omit operation. These\nDistributive forms correctly operate on union types, preserving optionality.\n */\n\n/*\nTypeScript's discriminated unions are overly permissive: as long as one type of the union is satisfied\nthe other types are not validated against. For example:\n\ntype Foo = {\n value: string,\n foo: string\n};\ntype Bar = {\n value: number,\n bar: string\n}\nfunction what(x: Foo | Bar) {\n return x.value;\n}\n\nAs you would expect -\n\nwhat({ value: 'asdf', foo: 'asdf' }); // fine\nwhat({ value: 5, foo: 'asdf' }); // error\nwhat({ value: 5, bar: 'asdf' }); // fine\nwhat({ value: 'asdf', bar: 'asdf' }); // error\n\nHowever, if Foo is satisfied then you can pass any value you want to Bar's unique properties:\nwhat({ value: 'asdf', foo: 'asdf', bar: false }) // works\n\nTypeScript is okay with this as a type guard would detect the object is Foo and prevent accessing `bar`.\nUnfortunately this prevents feedback to the user about potentially unintentional effects, for example:\n\nA common pattern in EUI is to render something as a div OR as a button, depending on if an onClick prop is passed.\npassing additional props down through `...rest`, which can be specified as\n\ntype Spanlike = HTMLAttributes;\ntype Buttonlike = { onClick: MouseEventHandler }; // onClick is the discriminant\nReact.FunctionComponent\n\nInternally, the component would have a type guard to check if props contains `onClick` and resolve to Buttonlike.\nExternally, however, you could use the component as\n\n\n\nand no error would occur as the Spanlike type is satisfied and the type guard would prevent accessing button attributes.\nThis prevents immediate feedback to the develop, and would actually lead to React warnings as the `value` prop would\nstill propagate down to the span's props, which is invalid. The following two utility types provide a solution for\ncreating exclusive unions:\n\nReact.FunctionComponent>\n */\n\n/**\n * Returns member keys in U not present in T set to never\n * T = { 'one', 'two', 'three' }\n * U = { 'three', 'four', 'five' }\n * returns { 'four': never, 'five': never }\n */\n\n/**\n * Allow either T or U, preventing any additional keys of the other type from being present\n */\n\n/**\n * For components that conditionally render