diff --git a/devtools/server/actors/replay/redux-devtools/contentScript.js b/devtools/server/actors/replay/redux-devtools/contentScript.js index bf1e76ac22b7da..a07915a4f76edf 100644 --- a/devtools/server/actors/replay/redux-devtools/contentScript.js +++ b/devtools/server/actors/replay/redux-devtools/contentScript.js @@ -8,14 +8,6 @@ let window; function initialize(dbgWindow, RecordReplayControl) { window = dbgWindow.unsafeDereference(); - window.wrappedJSObject.__RECORD_REPLAY_REDUX_DEVTOOLS_SEND_BRIDGE__ = - (message) => { - RecordReplayControl.onAnnotation( - "redux-devtools-bridge", - JSON.stringify(message ) - ); - }; - const { reduxDevtoolsContentScript } = require("devtools/server/actors/replay/redux-devtools/page.bundle"); dbgWindow.executeInGlobal(`(${reduxDevtoolsContentScript}(window))`); } diff --git a/devtools/server/actors/replay/redux-devtools/page.bundle.js b/devtools/server/actors/replay/redux-devtools/page.bundle.js index 2eeef8fc3113f4..9e6d9c7cc77e4a 100644 --- a/devtools/server/actors/replay/redux-devtools/page.bundle.js +++ b/devtools/server/actors/replay/redux-devtools/page.bundle.js @@ -1,10475 +1,216 @@ -/******/ function reduxDevtoolsContentScript(window){ // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "../.yarn/__virtual__/@redux-devtools-core-virtual-041d7e0ecf/1/packages/redux-devtools/lib/esm/persistState.js": -/*!**********************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-core-virtual-041d7e0ecf/1/packages/redux-devtools/lib/esm/persistState.js ***! - \**********************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ persistState) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/defineProperty.js"); -/* harmony import */ var lodash_mapValues__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/mapValues */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/mapValues.js"); -/* harmony import */ var lodash_mapValues__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_mapValues__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/identity */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/identity.js"); -/* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_2__); - - -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) { - (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(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 persistState(sessionId) { - var deserializeState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default()); - var deserializeAction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default()); - - if (!sessionId) { - return function (next) { - return function () { - return next.apply(void 0, arguments); - }; - }; - } - - function deserialize(state) { - return _objectSpread(_objectSpread({}, state), {}, { - actionsById: lodash_mapValues__WEBPACK_IMPORTED_MODULE_1___default()(state.actionsById, function (liftedAction) { - return _objectSpread(_objectSpread({}, liftedAction), {}, { - action: deserializeAction(liftedAction.action) - }); - }), - committedState: deserializeState(state.committedState), - computedStates: state.computedStates.map(function (computedState) { - return _objectSpread(_objectSpread({}, computedState), {}, { - state: deserializeState(computedState.state) - }); - }) - }); - } - - return function (next) { - return function (reducer, initialState) { - var key = "redux-dev-session-".concat(sessionId); - var finalInitialState; - - try { - var json = localStorage.getItem(key); - - if (json) { - finalInitialState = deserialize(JSON.parse(json)) || initialState; - next(reducer, initialState); - } - } catch (e) { - console.warn('Could not read debug session from localStorage:', e); // eslint-disable-line no-console - - try { - localStorage.removeItem(key); - } finally { - finalInitialState = undefined; - } - } - - var store = next(reducer, finalInitialState); - return _objectSpread(_objectSpread({}, store), {}, { - dispatch: function dispatch(action) { - store.dispatch(action); - - try { - localStorage.setItem(key, JSON.stringify(store.getState())); - } catch (e) { - console.warn('Could not write debug session to localStorage:', e); // eslint-disable-line no-console - } - - return action; - } - }); - }; - }; -} - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-instrument-virtual-471b39be25/1/packages/redux-devtools-instrument/lib/esm/getSymbolObservable.js": -/*!**********************************************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-instrument-virtual-471b39be25/1/packages/redux-devtools-instrument/lib/esm/getSymbolObservable.js ***! - \**********************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ getSymbolObservable) -/* harmony export */ }); -function getSymbolObservable() { - return typeof Symbol === 'function' && Symbol.observable || '@@observable'; -} - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-instrument-virtual-471b39be25/1/packages/redux-devtools-instrument/lib/esm/instrument.js": -/*!*************************************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-instrument-virtual-471b39be25/1/packages/redux-devtools-instrument/lib/esm/instrument.js ***! - \*************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ActionCreators": () => (/* binding */ ActionCreators), -/* harmony export */ "ActionTypes": () => (/* binding */ ActionTypes), -/* harmony export */ "INIT_ACTION": () => (/* binding */ INIT_ACTION), -/* harmony export */ "instrument": () => (/* binding */ instrument), -/* harmony export */ "liftAction": () => (/* binding */ liftAction), -/* harmony export */ "liftReducerWith": () => (/* binding */ liftReducerWith), -/* harmony export */ "unliftState": () => (/* binding */ unliftState), -/* harmony export */ "unliftStore": () => (/* binding */ unliftStore) -/* harmony export */ }); -/* harmony import */ var lodash_difference__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/difference */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/difference.js"); -/* harmony import */ var lodash_difference__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_difference__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var lodash_union__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/union */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/union.js"); -/* harmony import */ var lodash_union__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_union__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isPlainObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isPlainObject.js"); -/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _getSymbolObservable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getSymbolObservable */ "../.yarn/__virtual__/@redux-devtools-instrument-virtual-471b39be25/1/packages/redux-devtools-instrument/lib/esm/getSymbolObservable.js"); -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; -} - -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) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -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 ActionTypes = { - PERFORM_ACTION: 'PERFORM_ACTION', - RESET: 'RESET', - ROLLBACK: 'ROLLBACK', - COMMIT: 'COMMIT', - SWEEP: 'SWEEP', - TOGGLE_ACTION: 'TOGGLE_ACTION', - SET_ACTIONS_ACTIVE: 'SET_ACTIONS_ACTIVE', - JUMP_TO_STATE: 'JUMP_TO_STATE', - JUMP_TO_ACTION: 'JUMP_TO_ACTION', - REORDER_ACTION: 'REORDER_ACTION', - IMPORT_STATE: 'IMPORT_STATE', - LOCK_CHANGES: 'LOCK_CHANGES', - PAUSE_RECORDING: 'PAUSE_RECORDING' -}; -var isChrome = (typeof window === "undefined" ? "undefined" : _typeof(window)) === 'object' && (typeof window.chrome !== 'undefined' || typeof window.process !== 'undefined' && window.process.type === 'renderer'); -var isChromeOrNode = isChrome || typeof process !== 'undefined' && process.release && process.release.name === 'node'; -/** - * Action creators to change the History state. - */ - -var ActionCreators = { - performAction: function performAction(action, trace, traceLimit, // eslint-disable-next-line @typescript-eslint/ban-types - toExcludeFromTrace) { - if (!lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(action)) { - throw new Error('Actions must be plain objects. ' + 'Use custom middleware for async actions.'); - } - - if (typeof action.type === 'undefined') { - throw new Error('Actions may not have an undefined "type" property. ' + 'Have you misspelled a constant?'); - } - - var stack; - - if (trace) { - var extraFrames = 0; - - if (typeof trace === 'function') { - stack = trace(action); - } else { - var error = Error(); - var prevStackTraceLimit; - - if (Error.captureStackTrace && isChromeOrNode) { - // avoid error-polyfill - if (traceLimit && Error.stackTraceLimit < traceLimit) { - prevStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = traceLimit; - } - - Error.captureStackTrace(error, toExcludeFromTrace); - } else { - extraFrames = 3; - } - - stack = error.stack; - if (prevStackTraceLimit) Error.stackTraceLimit = prevStackTraceLimit; - - if (extraFrames || typeof Error.stackTraceLimit !== 'number' || traceLimit && Error.stackTraceLimit > traceLimit) { - if (stack != null) { - var frames = stack.split('\n'); - - if (traceLimit && frames.length > traceLimit) { - stack = frames.slice(0, traceLimit + extraFrames + (frames[0].startsWith('Error') ? 1 : 0)).join('\n'); - } - } - } - } - } - - return { - type: ActionTypes.PERFORM_ACTION, - action: action, - timestamp: Date.now(), - stack: stack - }; - }, - reset: function reset() { - return { - type: ActionTypes.RESET, - timestamp: Date.now() - }; - }, - rollback: function rollback() { - return { - type: ActionTypes.ROLLBACK, - timestamp: Date.now() - }; - }, - commit: function commit() { - return { - type: ActionTypes.COMMIT, - timestamp: Date.now() - }; - }, - sweep: function sweep() { - return { - type: ActionTypes.SWEEP - }; - }, - toggleAction: function toggleAction(id) { - return { - type: ActionTypes.TOGGLE_ACTION, - id: id - }; - }, - setActionsActive: function setActionsActive(start, end) { - var active = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - return { - type: ActionTypes.SET_ACTIONS_ACTIVE, - start: start, - end: end, - active: active - }; - }, - reorderAction: function reorderAction(actionId, beforeActionId) { - return { - type: ActionTypes.REORDER_ACTION, - actionId: actionId, - beforeActionId: beforeActionId - }; - }, - jumpToState: function jumpToState(index) { - return { - type: ActionTypes.JUMP_TO_STATE, - index: index - }; - }, - jumpToAction: function jumpToAction(actionId) { - return { - type: ActionTypes.JUMP_TO_ACTION, - actionId: actionId - }; - }, - importState: function importState(nextLiftedState, noRecompute) { - return { - type: ActionTypes.IMPORT_STATE, - nextLiftedState: nextLiftedState, - noRecompute: noRecompute - }; - }, - lockChanges: function lockChanges(status) { - return { - type: ActionTypes.LOCK_CHANGES, - status: status - }; - }, - pauseRecording: function pauseRecording(status) { - return { - type: ActionTypes.PAUSE_RECORDING, - status: status - }; - } -}; -var INIT_ACTION = { - type: '@@INIT' -}; -/** - * Computes the next entry with exceptions catching. - */ - -function computeWithTryCatch(reducer, action, state) { - var nextState = state; - var nextError; - - try { - nextState = reducer(state, action); - } catch (err) { - // eslint-disable-next-line @typescript-eslint/ban-types - nextError = err.toString(); - - if (isChrome) { - // In Chrome, rethrowing provides better source map support - setTimeout(function () { - throw err; - }); - } else { - console.error(err); // eslint-disable-line no-console - } - } - - return { - state: nextState, - error: nextError - }; -} -/** - * Computes the next entry in the log by applying an action. - */ - - -function computeNextEntry(reducer, action, state, shouldCatchErrors) { - if (!shouldCatchErrors) { - return { - state: reducer(state, action) - }; - } - - return computeWithTryCatch(reducer, action, state); -} -/** - * Runs the reducer on invalidated actions to get a fresh computation log. - */ - - -function recomputeStates(computedStates, minInvalidatedStateIndex, reducer, committedState, actionsById, stagedActionIds, skippedActionIds, shouldCatchErrors) { - // Optimization: exit early and return the same reference - // if we know nothing could have changed. - if (!computedStates || minInvalidatedStateIndex === -1 || minInvalidatedStateIndex >= computedStates.length && computedStates.length === stagedActionIds.length) { - return computedStates; - } - - var nextComputedStates = computedStates.slice(0, minInvalidatedStateIndex); - - for (var i = minInvalidatedStateIndex; i < stagedActionIds.length; i++) { - var _actionId = stagedActionIds[i]; - var _action = actionsById[_actionId].action; - var previousEntry = nextComputedStates[i - 1]; - var previousState = previousEntry ? previousEntry.state : committedState; - var shouldSkip = skippedActionIds.indexOf(_actionId) > -1; - var entry = void 0; - - if (shouldSkip) { - entry = previousEntry; - } else { - if (shouldCatchErrors && previousEntry && previousEntry.error) { - entry = { - state: previousState, - error: 'Interrupted by an error up the chain' - }; - } else { - entry = computeNextEntry(reducer, _action, previousState, shouldCatchErrors); - } - } - - nextComputedStates.push(entry); - } - - return nextComputedStates; -} -/** - * Lifts an app's action into an action on the lifted store. - */ - - -function liftAction(action, trace, traceLimit, // eslint-disable-next-line @typescript-eslint/ban-types -toExcludeFromTrace) { - return ActionCreators.performAction(action, trace, traceLimit, toExcludeFromTrace); -} - -function isArray(nextLiftedState) { - return Array.isArray(nextLiftedState); -} -/** - * Creates a history state reducer from an app's reducer. - */ - - -function liftReducerWith(reducer, initialCommittedState, monitorReducer, options) { - var initialLiftedState = { - monitorState: monitorReducer(undefined, {}), - nextActionId: 1, - actionsById: { - 0: liftAction(INIT_ACTION) - }, - stagedActionIds: [0], - skippedActionIds: [], - committedState: initialCommittedState, - currentStateIndex: 0, - computedStates: [], - isLocked: options.shouldStartLocked === true, - isPaused: options.shouldRecordChanges === false - }; - /** - * Manages how the history actions modify the history state. - */ - - return function (liftedState, liftedAction) { - var _ref = liftedState || initialLiftedState, - monitorState = _ref.monitorState, - actionsById = _ref.actionsById, - nextActionId = _ref.nextActionId, - stagedActionIds = _ref.stagedActionIds, - skippedActionIds = _ref.skippedActionIds, - committedState = _ref.committedState, - currentStateIndex = _ref.currentStateIndex, - computedStates = _ref.computedStates, - isLocked = _ref.isLocked, - isPaused = _ref.isPaused; - - if (!liftedState) { - // Prevent mutating initialLiftedState - actionsById = _objectSpread({}, actionsById); - } - - function commitExcessActions(n) { - // Auto-commits n-number of excess actions. - var excess = n; - var idsToDelete = stagedActionIds.slice(1, excess + 1); - - for (var i = 0; i < idsToDelete.length; i++) { - if (computedStates[i + 1].error) { - // Stop if error is found. Commit actions up to error. - excess = i; - idsToDelete = stagedActionIds.slice(1, excess + 1); - break; - } else { - delete actionsById[idsToDelete[i]]; - } - } - - skippedActionIds = skippedActionIds.filter(function (id) { - return idsToDelete.indexOf(id) === -1; - }); - stagedActionIds = [0].concat(_toConsumableArray(stagedActionIds.slice(excess + 1))); - committedState = computedStates[excess].state; - computedStates = computedStates.slice(excess); - currentStateIndex = currentStateIndex > excess ? currentStateIndex - excess : 0; - } - - function computePausedAction(shouldInit) { - var computedState; - - if (shouldInit) { - computedState = computedStates[currentStateIndex]; - monitorState = monitorReducer(monitorState, liftedAction); - } else { - computedState = computeNextEntry(reducer, liftedAction.action, computedStates[currentStateIndex].state, false); - } - - if (!options.pauseActionType || nextActionId === 1) { - return { - monitorState: monitorState, - actionsById: { - 0: liftAction(INIT_ACTION) - }, - nextActionId: 1, - stagedActionIds: [0], - skippedActionIds: [], - committedState: computedState.state, - currentStateIndex: 0, - computedStates: [computedState], - isLocked: isLocked, - isPaused: true - }; - } - - if (shouldInit) { - if (currentStateIndex === stagedActionIds.length - 1) { - currentStateIndex++; - } - - stagedActionIds = [].concat(_toConsumableArray(stagedActionIds), [nextActionId]); - nextActionId++; - } - - return { - monitorState: monitorState, - actionsById: _objectSpread(_objectSpread({}, actionsById), {}, _defineProperty({}, nextActionId - 1, liftAction({ - type: options.pauseActionType - }))), - nextActionId: nextActionId, - stagedActionIds: stagedActionIds, - skippedActionIds: skippedActionIds, - committedState: committedState, - currentStateIndex: currentStateIndex, - computedStates: [].concat(_toConsumableArray(computedStates.slice(0, stagedActionIds.length - 1)), [computedState]), - isLocked: isLocked, - isPaused: true - }; - } // By default, aggressively recompute every state whatever happens. - // This has O(n) performance, so we'll override this to a sensible - // value whenever we feel like we don't have to recompute the states. - - - var minInvalidatedStateIndex = 0; // maxAge number can be changed dynamically - - var maxAge = options.maxAge; - if (typeof maxAge === 'function') maxAge = maxAge(liftedAction, liftedState); - - if (/^@@redux\/(INIT|REPLACE)/.test(liftedAction.type)) { - if (options.shouldHotReload === false) { - actionsById = { - 0: liftAction(INIT_ACTION) - }; - nextActionId = 1; - stagedActionIds = [0]; - skippedActionIds = []; - committedState = computedStates.length === 0 ? initialCommittedState : computedStates[currentStateIndex].state; - currentStateIndex = 0; - computedStates = []; - } // Recompute states on hot reload and init. - - - minInvalidatedStateIndex = 0; - - if (maxAge && stagedActionIds.length > maxAge) { - // States must be recomputed before committing excess. - computedStates = recomputeStates(computedStates, minInvalidatedStateIndex, reducer, committedState, actionsById, stagedActionIds, skippedActionIds, options.shouldCatchErrors); - commitExcessActions(stagedActionIds.length - maxAge); // Avoid double computation. - - minInvalidatedStateIndex = Infinity; - } - } else { - switch (liftedAction.type) { - case ActionTypes.PERFORM_ACTION: - { - if (isLocked) return liftedState || initialLiftedState; - if (isPaused) return computePausedAction(); // Auto-commit as new actions come in. - - if (maxAge && stagedActionIds.length >= maxAge) { - commitExcessActions(stagedActionIds.length - maxAge + 1); - } - - if (currentStateIndex === stagedActionIds.length - 1) { - currentStateIndex++; - } - - var _actionId2 = nextActionId++; // Mutation! This is the hottest path, and we optimize on purpose. - // It is safe because we set a new key in a cache dictionary. - - - actionsById[_actionId2] = liftedAction; - stagedActionIds = [].concat(_toConsumableArray(stagedActionIds), [_actionId2]); // Optimization: we know that only the new action needs computing. - - minInvalidatedStateIndex = stagedActionIds.length - 1; - break; - } - - case ActionTypes.RESET: - { - // Get back to the state the store was created with. - actionsById = { - 0: liftAction(INIT_ACTION) - }; - nextActionId = 1; - stagedActionIds = [0]; - skippedActionIds = []; - committedState = initialCommittedState; - currentStateIndex = 0; - computedStates = []; - break; - } - - case ActionTypes.COMMIT: - { - // Consider the last committed state the new starting point. - // Squash any staged actions into a single committed state. - actionsById = { - 0: liftAction(INIT_ACTION) - }; - nextActionId = 1; - stagedActionIds = [0]; - skippedActionIds = []; - committedState = computedStates[currentStateIndex].state; - currentStateIndex = 0; - computedStates = []; - break; - } - - case ActionTypes.ROLLBACK: - { - // Forget about any staged actions. - // Start again from the last committed state. - actionsById = { - 0: liftAction(INIT_ACTION) - }; - nextActionId = 1; - stagedActionIds = [0]; - skippedActionIds = []; - currentStateIndex = 0; - computedStates = []; - break; - } - - case ActionTypes.TOGGLE_ACTION: - { - // Toggle whether an action with given ID is skipped. - // Being skipped means it is a no-op during the computation. - var _actionId3 = liftedAction.id; - var index = skippedActionIds.indexOf(_actionId3); - - if (index === -1) { - skippedActionIds = [_actionId3].concat(_toConsumableArray(skippedActionIds)); - } else { - skippedActionIds = skippedActionIds.filter(function (id) { - return id !== _actionId3; - }); - } // Optimization: we know history before this action hasn't changed - - - minInvalidatedStateIndex = stagedActionIds.indexOf(_actionId3); - break; - } - - case ActionTypes.SET_ACTIONS_ACTIVE: - { - // Toggle whether an action with given ID is skipped. - // Being skipped means it is a no-op during the computation. - var start = liftedAction.start, - end = liftedAction.end, - active = liftedAction.active; - var actionIds = []; - - for (var i = start; i < end; i++) { - actionIds.push(i); - } - - if (active) { - skippedActionIds = lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(skippedActionIds, actionIds); - } else { - skippedActionIds = lodash_union__WEBPACK_IMPORTED_MODULE_1___default()(skippedActionIds, actionIds); - } // Optimization: we know history before this action hasn't changed - - - minInvalidatedStateIndex = stagedActionIds.indexOf(start); - break; - } - - case ActionTypes.JUMP_TO_STATE: - { - // Without recomputing anything, move the pointer that tell us - // which state is considered the current one. Useful for sliders. - currentStateIndex = liftedAction.index; // Optimization: we know the history has not changed. - - minInvalidatedStateIndex = Infinity; - break; - } - - case ActionTypes.JUMP_TO_ACTION: - { - // Jumps to a corresponding state to a specific action. - // Useful when filtering actions. - var _index = stagedActionIds.indexOf(liftedAction.actionId); - - if (_index !== -1) currentStateIndex = _index; - minInvalidatedStateIndex = Infinity; - break; - } - - case ActionTypes.SWEEP: - { - // Forget any actions that are currently being skipped. - stagedActionIds = lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(stagedActionIds, skippedActionIds); - skippedActionIds = []; - currentStateIndex = Math.min(currentStateIndex, stagedActionIds.length - 1); - break; - } - - case ActionTypes.REORDER_ACTION: - { - // Recompute actions in a new order. - var _actionId4 = liftedAction.actionId; - var idx = stagedActionIds.indexOf(_actionId4); // do nothing in case the action is already removed or trying to move the first action - - if (idx < 1) break; - var beforeActionId = liftedAction.beforeActionId; - var newIdx = stagedActionIds.indexOf(beforeActionId); - - if (newIdx < 1) { - // move to the beginning or to the end - var count = stagedActionIds.length; - newIdx = beforeActionId > stagedActionIds[count - 1] ? count : 1; - } - - var diff = idx - newIdx; - - if (diff > 0) { - // move left - stagedActionIds = [].concat(_toConsumableArray(stagedActionIds.slice(0, newIdx)), [_actionId4], _toConsumableArray(stagedActionIds.slice(newIdx, idx)), _toConsumableArray(stagedActionIds.slice(idx + 1))); - minInvalidatedStateIndex = newIdx; - } else if (diff < 0) { - // move right - stagedActionIds = [].concat(_toConsumableArray(stagedActionIds.slice(0, idx)), _toConsumableArray(stagedActionIds.slice(idx + 1, newIdx)), [_actionId4], _toConsumableArray(stagedActionIds.slice(newIdx))); - minInvalidatedStateIndex = idx; - } - - break; - } - - case ActionTypes.IMPORT_STATE: - { - if (isArray(liftedAction.nextLiftedState)) { - // recompute array of actions - actionsById = { - 0: liftAction(INIT_ACTION) - }; - nextActionId = 1; - stagedActionIds = [0]; - skippedActionIds = []; - currentStateIndex = liftedAction.nextLiftedState.length; - computedStates = []; - committedState = liftedAction.preloadedState; - minInvalidatedStateIndex = 0; // iterate through actions - - liftedAction.nextLiftedState.forEach(function (action) { - actionsById[nextActionId] = liftAction(action, options.trace || options.shouldIncludeCallstack); - stagedActionIds.push(nextActionId); - nextActionId++; - }); - } else { - // Completely replace everything. - var _liftedAction$nextLif = liftedAction.nextLiftedState; - monitorState = _liftedAction$nextLif.monitorState; - actionsById = _liftedAction$nextLif.actionsById; - nextActionId = _liftedAction$nextLif.nextActionId; - stagedActionIds = _liftedAction$nextLif.stagedActionIds; - skippedActionIds = _liftedAction$nextLif.skippedActionIds; - committedState = _liftedAction$nextLif.committedState; - currentStateIndex = _liftedAction$nextLif.currentStateIndex; - computedStates = _liftedAction$nextLif.computedStates; - - if (liftedAction.noRecompute) { - minInvalidatedStateIndex = Infinity; - } - } - - break; - } - - case ActionTypes.LOCK_CHANGES: - { - isLocked = liftedAction.status; - minInvalidatedStateIndex = Infinity; - break; - } - - case ActionTypes.PAUSE_RECORDING: - { - isPaused = liftedAction.status; - - if (isPaused) { - return computePausedAction(true); - } // Commit when unpausing - - - actionsById = { - 0: liftAction(INIT_ACTION) - }; - nextActionId = 1; - stagedActionIds = [0]; - skippedActionIds = []; - committedState = computedStates[currentStateIndex].state; - currentStateIndex = 0; - computedStates = []; - break; - } - - default: - { - // If the action is not recognized, it's a monitor action. - // Optimization: a monitor action can't change history. - minInvalidatedStateIndex = Infinity; - break; - } - } - } - - computedStates = recomputeStates(computedStates, minInvalidatedStateIndex, reducer, committedState, actionsById, stagedActionIds, skippedActionIds, options.shouldCatchErrors); - monitorState = monitorReducer(monitorState, liftedAction); - return { - monitorState: monitorState, - actionsById: actionsById, - nextActionId: nextActionId, - stagedActionIds: stagedActionIds, - skippedActionIds: skippedActionIds, - committedState: committedState, - currentStateIndex: currentStateIndex, - computedStates: computedStates, - isLocked: isLocked, - isPaused: isPaused - }; - }; -} -/** - * Provides an app's view into the state of the lifted store. - */ - -function unliftState(liftedState) { - var computedStates = liftedState.computedStates, - currentStateIndex = liftedState.currentStateIndex; - var state = computedStates[currentStateIndex].state; - return state; -} -/** - * Provides an app's view into the lifted store. - */ - -function unliftStore(liftedStore, liftReducer, options) { - var lastDefinedState; - var trace = options.trace || options.shouldIncludeCallstack; - var traceLimit = options.traceLimit || 10; - - function getState() { - var state = unliftState(liftedStore.getState()); - - if (state !== undefined) { - lastDefinedState = state; - } - - return lastDefinedState; - } - - function dispatch(action) { - liftedStore.dispatch(liftAction(action, trace, traceLimit, dispatch)); - return action; - } - - var $$observable = (0,_getSymbolObservable__WEBPACK_IMPORTED_MODULE_3__["default"])(); - - if (!($$observable in liftedStore)) { - console.warn('Symbol.observable as defined by Redux and Redux DevTools do not match. This could cause your app to behave differently if the DevTools are not loaded. Consider polyfilling Symbol.observable before Redux is imported or avoid polyfilling Symbol.observable altogether.'); - } - - return _defineProperty({ - liftedStore: liftedStore, - dispatch: dispatch, - // eslint-disable-next-line @typescript-eslint/unbound-method - subscribe: liftedStore.subscribe, - getState: getState, - replaceReducer: function replaceReducer(nextReducer) { - liftedStore.replaceReducer(liftReducer(nextReducer)); - } - }, $$observable, function () { - return _defineProperty({ - subscribe: function subscribe(observer) { - if (_typeof(observer) !== 'object') { - throw new TypeError('Expected the observer to be an object.'); - } - - function observeState() { - if (observer.next) { - observer.next(getState()); - } - } - - observeState(); - var unsubscribe = liftedStore.subscribe(observeState); - return { - unsubscribe: unsubscribe - }; - } - }, $$observable, function () { - return this; - }); - }); -} -/** - * Redux instrumentation store enhancer. - */ - -function instrument() { - var monitorReducer = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () { - return null; - }; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - if (typeof options.maxAge === 'number' && options.maxAge < 2) { - throw new Error('DevTools.instrument({ maxAge }) option, if specified, ' + 'may not be less than 2.'); - } - - return function (createStore) { - return function (reducer, initialState) { - function liftReducer(r) { - if (typeof r !== 'function') { - if (r && typeof r.default === 'function') { - throw new Error('Expected the reducer to be a function. ' + 'Instead got an object with a "default" field. ' + 'Did you pass a module instead of the default export? ' + 'Try passing require(...).default instead.'); - } - - throw new Error('Expected the reducer to be a function.'); - } - - return liftReducerWith(r, initialState, monitorReducer, options); - } - - var liftedStore = createStore(liftReducer(reducer)); - - if (liftedStore.liftedStore) { - throw new Error('DevTools instrumentation should not be applied more than once. ' + 'Check your store configuration.'); - } - - return unliftStore(liftedStore, liftReducer, options); - }; - }; -} - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/constants/options.js": -/*!******************************************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/constants/options.js ***! - \******************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -// jsan stringify options -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - refs: false, - // references can't be resolved on the original Immutable structure - date: true, - function: true, - regex: true, - undefined: true, - error: true, - symbol: true, - map: true, - set: true, - nan: true, - infinity: true -}); - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/helpers/index.js": -/*!**************************************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/helpers/index.js ***! - \**************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "extract": () => (/* binding */ extract), -/* harmony export */ "mark": () => (/* binding */ mark), -/* harmony export */ "refer": () => (/* binding */ refer) -/* harmony export */ }); -function mark(data, type, transformMethod) { - return { - data: transformMethod ? data[transformMethod]() : data, - __serializedType__: type - }; -} -function extract(data, type) { - return { - data: Object.assign({}, data), - __serializedType__: type - }; -} -function refer(data, type, transformMethod, refs) { - var r = mark(data, type, transformMethod); - if (!refs) return r; - - for (var i = 0; i < refs.length; i++) { - var ref = refs[i]; - - if (typeof ref === 'function' && data instanceof ref) { - r.__serializedRef__ = i; - return r; - } - } - - return r; -} - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/immutable/serialize.js": -/*!********************************************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/immutable/serialize.js ***! - \********************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ serialize) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/typeof.js"); -/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers */ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/helpers/index.js"); -/* harmony import */ var _constants_options__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants/options */ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/constants/options.js"); - - - -function serialize(immutable, refs, customReplacer, customReviver) { - function replacer(key, value) { - if (value instanceof immutable.Record) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.refer)(value, 'ImmutableRecord', 'toObject', refs); - if (value instanceof immutable.Range) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.extract)(value, 'ImmutableRange'); - if (value instanceof immutable.Repeat) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.extract)(value, 'ImmutableRepeat'); - if (immutable.OrderedMap.isOrderedMap(value)) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.mark)(value, 'ImmutableOrderedMap', 'toObject'); - if (immutable.Map.isMap(value)) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.mark)(value, 'ImmutableMap', 'toObject'); - if (immutable.List.isList(value)) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.mark)(value, 'ImmutableList', 'toArray'); - if (immutable.OrderedSet.isOrderedSet(value)) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.mark)(value, 'ImmutableOrderedSet', 'toArray'); - if (immutable.Set.isSet(value)) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.mark)(value, 'ImmutableSet', 'toArray'); - if (immutable.Seq.isSeq(value)) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.mark)(value, 'ImmutableSeq', 'toArray'); - if (immutable.Stack.isStack(value)) return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.mark)(value, 'ImmutableStack', 'toArray'); - return value; - } - - function reviver(key, value) { - if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(value) === 'object' && value !== null && '__serializedType__' in value) { - var immutableValue = value; - - switch (immutableValue.__serializedType__) { - case 'ImmutableMap': - return immutable.Map(immutableValue.data); - - case 'ImmutableOrderedMap': - return immutable.OrderedMap(immutableValue.data); - - case 'ImmutableList': - return immutable.List(immutableValue.data); - - case 'ImmutableRange': - return immutable.Range(immutableValue.data._start, immutableValue.data._end, immutableValue.data._step); - - case 'ImmutableRepeat': - return immutable.Repeat(immutableValue.data._value, immutableValue.data.size); - - case 'ImmutableSet': - return immutable.Set(immutableValue.data); - - case 'ImmutableOrderedSet': - return immutable.OrderedSet(immutableValue.data); - - case 'ImmutableSeq': - return immutable.Seq(immutableValue.data); - - case 'ImmutableStack': - return immutable.Stack(immutableValue.data); - - case 'ImmutableRecord': - return refs && refs[immutableValue.__serializedRef__] ? new refs[immutableValue.__serializedRef__](immutableValue.data) : immutable.Map(immutableValue.data); - - default: - return immutableValue.data; - } - } - - return value; - } - - return { - replacer: customReplacer ? function (key, value) { - return customReplacer(key, value, replacer); - } : replacer, - reviver: customReviver ? function (key, value) { - return customReviver(key, value, reviver); - } : reviver, - options: _constants_options__WEBPACK_IMPORTED_MODULE_2__["default"] - }; -} - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/catchErrors.js": -/*!****************************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/catchErrors.js ***! - \****************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "catchErrors": () => (/* binding */ catchErrors) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/defineProperty.js"); -/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/typeof.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 _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) { - (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(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; -} - -var ERROR = '@@redux-devtools/ERROR'; -function catchErrors(sendError) { - if ((typeof window === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(window)) === 'object' && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(window.onerror) === 'object') { - window.onerror = function (message, url, lineNo, columnNo, error) { - var errorAction = { - type: ERROR, - message: message, - url: url, - lineNo: lineNo, - columnNo: columnNo - }; - if (error && error.stack) errorAction.stack = error.stack; - sendError(errorAction); - return false; - }; - } else if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.ErrorUtils) { - __webpack_require__.g.ErrorUtils.setGlobalHandler(function (error, isFatal) { - sendError({ - type: ERROR, - error: error, - isFatal: isFatal - }); - }); - } - /* eslint-disable no-console */ - - - if ((typeof console === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(console)) === 'object' && typeof console.error === 'function' && !console.beforeRemotedev) { - console.beforeRemotedev = console.error.bind(console); - - console.error = function () { - var errorAction = { - type: ERROR - }; // eslint-disable-next-line prefer-rest-params - - var error = arguments[0]; - errorAction.message = error.message ? error.message : error; - - if (error.sourceURL) { - errorAction = _objectSpread(_objectSpread({}, errorAction), {}, { - sourceURL: error.sourceURL, - line: error.line, - column: error.column - }); - } - - if (error.stack) errorAction.stack = error.stack; - sendError(errorAction); // eslint-disable-next-line prefer-rest-params - - console.beforeRemotedev.apply(null, arguments); - }; - } - /* eslint-enable no-console */ - -} - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/filters.js": -/*!************************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/filters.js ***! - \************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "FilterState": () => (/* binding */ FilterState), -/* harmony export */ "arrToRegex": () => (/* binding */ arrToRegex), -/* harmony export */ "filterStagedActions": () => (/* binding */ filterStagedActions), -/* harmony export */ "filterState": () => (/* binding */ filterState), -/* harmony export */ "getLocalFilter": () => (/* binding */ getLocalFilter), -/* harmony export */ "isFiltered": () => (/* binding */ isFiltered) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/defineProperty.js"); -/* harmony import */ var lodash_mapValues__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/mapValues */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/mapValues.js"); -/* harmony import */ var lodash_mapValues__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_mapValues__WEBPACK_IMPORTED_MODULE_1__); - - -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) { - (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(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; -} - - -var FilterState = { - DO_NOT_FILTER: 'DO_NOT_FILTER', - DENYLIST_SPECIFIC: 'DENYLIST_SPECIFIC', - ALLOWLIST_SPECIFIC: 'ALLOWLIST_SPECIFIC' -}; -function arrToRegex(v) { - return typeof v === 'string' ? v : v.join('|'); -} - -function filterActions(actionsById, actionSanitizer) { - if (!actionSanitizer) return actionsById; - return lodash_mapValues__WEBPACK_IMPORTED_MODULE_1___default()(actionsById, function (action, id) { - return _objectSpread(_objectSpread({}, action), {}, { - action: actionSanitizer(action.action, id) - }); - }); -} - -function filterStates(computedStates, stateSanitizer) { - if (!stateSanitizer) return computedStates; - return computedStates.map(function (state, idx) { - return _objectSpread(_objectSpread({}, state), {}, { - state: stateSanitizer(state.state, idx) - }); - }); -} - -function isArray(arg) { - return Array.isArray(arg); -} - -function getLocalFilter(config) { - var _config$actionsDenyli, _config$actionsAllowl; - - var denylist = (_config$actionsDenyli = config.actionsDenylist) !== null && _config$actionsDenyli !== void 0 ? _config$actionsDenyli : config.actionsBlacklist; - var allowlist = (_config$actionsAllowl = config.actionsAllowlist) !== null && _config$actionsAllowl !== void 0 ? _config$actionsAllowl : config.actionsWhitelist; - - if (denylist || allowlist) { - return { - allowlist: isArray(allowlist) ? allowlist.join('|') : allowlist, - denylist: isArray(denylist) ? denylist.join('|') : denylist - }; - } - - return undefined; -} - -function getDevToolsOptions() { - return typeof window !== 'undefined' && window.devToolsOptions || {}; -} - -function isFiltered(action, localFilter) { - var _ref = action.action || action, - type = _ref.type; - - var opts = getDevToolsOptions(); - if (!localFilter && opts.filter && opts.filter === FilterState.DO_NOT_FILTER || type && typeof type.match !== 'function') return false; - - var _ref2 = localFilter || opts, - allowlist = _ref2.allowlist, - denylist = _ref2.denylist; - - return (// eslint-disable-next-line @typescript-eslint/prefer-regexp-exec - allowlist && !type.match(allowlist) || // eslint-disable-next-line @typescript-eslint/prefer-regexp-exec - denylist && type.match(denylist) - ); -} -function filterStagedActions(state, filters) { - if (!filters) return state; - var filteredStagedActionIds = []; - var filteredComputedStates = []; - state.stagedActionIds.forEach(function (id, idx) { - if (!isFiltered(state.actionsById[id], filters)) { - filteredStagedActionIds.push(id); - filteredComputedStates.push(state.computedStates[idx]); - } - }); - return _objectSpread(_objectSpread({}, state), {}, { - stagedActionIds: filteredStagedActionIds, - computedStates: filteredComputedStates - }); -} -function filterState(state, type, localFilter, stateSanitizer, actionSanitizer, nextActionId, predicate) { - if (type === 'ACTION') return !stateSanitizer ? state : stateSanitizer(state, nextActionId - 1);else if (type !== 'STATE') return state; - - var _getDevToolsOptions = getDevToolsOptions(), - filter = _getDevToolsOptions.filter; - - if (predicate || localFilter || filter && filter !== FilterState.DO_NOT_FILTER) { - var filteredStagedActionIds = []; - var filteredComputedStates = []; - var sanitizedActionsById = actionSanitizer && {}; - var actionsById = state.actionsById; - var computedStates = state.computedStates; - state.stagedActionIds.forEach(function (id, idx) { - var liftedAction = actionsById[id]; - var currAction = liftedAction.action; - var liftedState = computedStates[idx]; - var currState = liftedState.state; - - if (idx) { - if (predicate && !predicate(currState, currAction)) return; - if (isFiltered(currAction, localFilter)) return; - } - - filteredStagedActionIds.push(id); - filteredComputedStates.push(stateSanitizer ? _objectSpread(_objectSpread({}, liftedState), {}, { - state: stateSanitizer(currState, idx) - }) : liftedState); - - if (actionSanitizer) { - sanitizedActionsById[id] = _objectSpread(_objectSpread({}, liftedAction), {}, { - action: actionSanitizer(currAction, id) - }); - } - }); - return _objectSpread(_objectSpread({}, state), {}, { - actionsById: sanitizedActionsById || actionsById, - stagedActionIds: filteredStagedActionIds, - computedStates: filteredComputedStates - }); - } - - if (!stateSanitizer && !actionSanitizer) return state; - return _objectSpread(_objectSpread({}, state), {}, { - actionsById: filterActions(state.actionsById, actionSanitizer), - computedStates: filterStates(state.computedStates, stateSanitizer) - }); -} - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/importState.js": -/*!****************************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/importState.js ***! - \****************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "importState": () => (/* binding */ importState) -/* harmony export */ }); -/* harmony import */ var jsan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jsan */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/index.js"); -/* harmony import */ var _redux_devtools_serialize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @redux-devtools/serialize */ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/immutable/serialize.js"); - - -function importState(state, _ref) { - var serialize = _ref.serialize; - if (!state) return undefined; - var parse = jsan__WEBPACK_IMPORTED_MODULE_0__.parse; - - if (serialize) { - if (serialize.immutable) { - parse = function parse(v) { - return jsan__WEBPACK_IMPORTED_MODULE_0__.parse(v, (0,_redux_devtools_serialize__WEBPACK_IMPORTED_MODULE_1__["default"])(serialize.immutable, serialize.refs).reviver); - }; - } else if (serialize.reviver) { - parse = function parse(v) { - return jsan__WEBPACK_IMPORTED_MODULE_0__.parse(v, serialize.reviver); - }; - } - } - - var preloadedState; - var nextLiftedState = parse(state); - - if (nextLiftedState.payload) { - if (nextLiftedState.preloadedState) preloadedState = parse(nextLiftedState.preloadedState); - nextLiftedState = parse(nextLiftedState.payload); - } - - return { - nextLiftedState: nextLiftedState, - preloadedState: preloadedState - }; -} - -/***/ }), - -/***/ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/index.js": -/*!**********************************************************************************************************************!*\ - !*** ../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/index.js ***! - \**********************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "FilterState": () => (/* reexport safe */ _filters__WEBPACK_IMPORTED_MODULE_7__.FilterState), -/* harmony export */ "arrToRegex": () => (/* reexport safe */ _filters__WEBPACK_IMPORTED_MODULE_7__.arrToRegex), -/* harmony export */ "catchErrors": () => (/* reexport safe */ _catchErrors__WEBPACK_IMPORTED_MODULE_6__.catchErrors), -/* harmony export */ "evalAction": () => (/* binding */ evalAction), -/* harmony export */ "evalMethod": () => (/* binding */ evalMethod), -/* harmony export */ "filterStagedActions": () => (/* reexport safe */ _filters__WEBPACK_IMPORTED_MODULE_7__.filterStagedActions), -/* harmony export */ "filterState": () => (/* reexport safe */ _filters__WEBPACK_IMPORTED_MODULE_7__.filterState), -/* harmony export */ "generateId": () => (/* binding */ generateId), -/* harmony export */ "getActionsArray": () => (/* binding */ getActionsArray), -/* harmony export */ "getLocalFilter": () => (/* reexport safe */ _filters__WEBPACK_IMPORTED_MODULE_7__.getLocalFilter), -/* harmony export */ "getMethods": () => (/* binding */ getMethods), -/* harmony export */ "getSeralizeParameter": () => (/* binding */ getSeralizeParameter), -/* harmony export */ "getStackTrace": () => (/* binding */ getStackTrace), -/* harmony export */ "importState": () => (/* reexport safe */ _importState__WEBPACK_IMPORTED_MODULE_8__.importState), -/* harmony export */ "isFiltered": () => (/* reexport safe */ _filters__WEBPACK_IMPORTED_MODULE_7__.isFiltered), -/* harmony export */ "stringify": () => (/* binding */ stringify) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"); -/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/typeof.js"); -/* harmony import */ var get_params__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! get-params */ "../.yarn/cache/get-params-npm-0.1.2-1df881bfb8-7768710dd5.zip/node_modules/get-params/index.js"); -/* harmony import */ var get_params__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(get_params__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var jsan__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! jsan */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/index.js"); -/* harmony import */ var nanoid_non_secure__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! nanoid/non-secure */ "../.yarn/cache/nanoid-npm-3.3.2-8c41a1931d-376717f068.zip/node_modules/nanoid/non-secure/index.js"); -/* harmony import */ var _redux_devtools_serialize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @redux-devtools/serialize */ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/immutable/serialize.js"); -/* harmony import */ var _catchErrors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./catchErrors */ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/catchErrors.js"); -/* harmony import */ var _filters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./filters */ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/filters.js"); -/* harmony import */ var _importState__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./importState */ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/importState.js"); - - - - - - -function generateId(id) { - return id || (0,nanoid_non_secure__WEBPACK_IMPORTED_MODULE_4__.nanoid)(7); -} // eslint-disable-next-line @typescript-eslint/ban-types - -function flatTree(obj) { - var namespace = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; - var functions = []; - Object.keys(obj).forEach(function (key) { - var prop = obj[key]; - - if (typeof prop === 'function') { - functions.push({ - name: namespace + (key || prop.name || 'anonymous'), - func: prop, - args: get_params__WEBPACK_IMPORTED_MODULE_2___default()(prop) - }); - } else if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(prop) === 'object') { - functions = functions.concat(flatTree(prop, namespace + key + '.')); - } - }); - return functions; -} - -function getMethods(obj) { - if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(obj) !== 'object') return undefined; - var functions; - var m; - if (obj.__proto__) m = obj.__proto__.__proto__; - if (!m) m = obj; - Object.getOwnPropertyNames(m).forEach(function (key) { - var propDescriptor = Object.getOwnPropertyDescriptor(m, key); - if (!propDescriptor || 'get' in propDescriptor || 'set' in propDescriptor) return; - var prop = m[key]; - - if (typeof prop === 'function' && key !== 'constructor') { - if (!functions) functions = []; - functions.push({ - name: key || prop.name || 'anonymous', - args: get_params__WEBPACK_IMPORTED_MODULE_2___default()(prop) - }); - } - }); - return functions; -} -function getActionsArray(actionCreators) { - if (Array.isArray(actionCreators)) return actionCreators; - return flatTree(actionCreators); -} - -var interpretArg = function interpretArg(arg) { - return (// eslint-disable-next-line @typescript-eslint/no-implied-eval - new Function('return ' + arg)() - ); -}; - -function evalArgs(inArgs, restArgs) { - var args = inArgs.map(interpretArg); - if (!restArgs) return args; - var rest = interpretArg(restArgs); - if (Array.isArray(rest)) return args.concat.apply(args, (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(rest)); - throw new Error('rest must be an array'); -} - -function evalAction(action, actionCreators) { - if (typeof action === 'string') { - // eslint-disable-next-line @typescript-eslint/no-implied-eval - return new Function('return ' + action)(); - } - - var actionCreator = actionCreators[action.selected].func; - var args = evalArgs(action.args, action.rest); - return actionCreator.apply(void 0, (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(args)); -} -function evalMethod(action, obj) { - if (typeof action === 'string') { - // eslint-disable-next-line @typescript-eslint/no-implied-eval - return new Function('return ' + action).call(obj); - } - - var args = evalArgs(action.args, action.rest); // eslint-disable-next-line @typescript-eslint/no-implied-eval - - return new Function('args', "return this.".concat(action.name, "(args)")).apply(obj, args); -} -/* eslint-enable */ - -function tryCatchStringify(obj) { - try { - return JSON.stringify(obj); - } catch (err) { - /* eslint-disable no-console */ - if (true) console.log('Failed to stringify', err); - /* eslint-enable no-console */ - - return jsan__WEBPACK_IMPORTED_MODULE_3__.stringify(obj, null, null, { - circular: '[CIRCULAR]' - }); - } -} - -function stringify(obj, serialize) { - if (typeof serialize === 'undefined') { - return tryCatchStringify(obj); - } - - if (serialize === true) { - return jsan__WEBPACK_IMPORTED_MODULE_3__.stringify(obj, function (key, value) { - if (value && typeof value.toJS === 'function') return value.toJS(); - return value; - }, null, true); - } - - return jsan__WEBPACK_IMPORTED_MODULE_3__.stringify(obj, serialize.replacer, null, serialize.options); -} -function getSeralizeParameter(config, param) { - var serialize = config.serialize; - - if (serialize) { - if (serialize === true) return { - options: true - }; - - if (serialize.immutable) { - return { - replacer: (0,_redux_devtools_serialize__WEBPACK_IMPORTED_MODULE_5__["default"])(serialize.immutable, serialize.refs).replacer, - options: serialize.options || true - }; - } - - if (!serialize.replacer) return { - options: serialize.options - }; - return { - replacer: serialize.replacer, - options: serialize.options || true - }; - } - - var value = config[param]; - if (typeof value === 'undefined') return undefined; // eslint-disable-next-line no-console - - console.warn("`".concat(param, "` parameter for Redux DevTools Extension is deprecated. Use `serialize` parameter instead:") + ' https://github.com/zalmoxisus/redux-devtools-extension/releases/tag/v2.12.1'); - return value; -} -function getStackTrace( // eslint-disable-next-line @typescript-eslint/ban-types -config, // eslint-disable-next-line @typescript-eslint/ban-types -toExcludeFromTrace) { - if (!config.trace) return undefined; - if (typeof config.trace === 'function') return config.trace(); - var stack; - var extraFrames = 0; - var prevStackTraceLimit; - var traceLimit = config.traceLimit; - var error = Error(); - - if (Error.captureStackTrace) { - if (Error.stackTraceLimit < traceLimit) { - prevStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = traceLimit; - } - - Error.captureStackTrace(error, toExcludeFromTrace); - } else { - extraFrames = 3; - } - - stack = error.stack; - if (prevStackTraceLimit) Error.stackTraceLimit = prevStackTraceLimit; - - if (extraFrames || typeof Error.stackTraceLimit !== 'number' || Error.stackTraceLimit > traceLimit) { - var frames = stack.split('\n'); - - if (frames.length > traceLimit) { - stack = frames.slice(0, traceLimit + extraFrames + (frames[0] === 'Error' ? 1 : 0)).join('\n'); - } - } - - return stack; -} - - - - -/***/ }), - -/***/ "./src/app/api/filters.ts": -/*!********************************!*\ - !*** ./src/app/api/filters.ts ***! - \********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "FilterState": () => (/* binding */ FilterState), -/* harmony export */ "filterState": () => (/* binding */ filterState), -/* harmony export */ "isFiltered": () => (/* binding */ isFiltered), -/* harmony export */ "noFiltersApplied": () => (/* binding */ noFiltersApplied), -/* harmony export */ "startingFrom": () => (/* binding */ startingFrom) -/* harmony export */ }); -/* harmony import */ var lodash_mapValues__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/mapValues */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/mapValues.js"); -/* harmony import */ var lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_mapValues__WEBPACK_IMPORTED_MODULE_0__); -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) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - - -var FilterState = { - DO_NOT_FILTER: 'DO_NOT_FILTER', - DENYLIST_SPECIFIC: 'DENYLIST_SPECIFIC', - ALLOWLIST_SPECIFIC: 'ALLOWLIST_SPECIFIC' -}; -var noFiltersApplied = function noFiltersApplied(localFilter) { - return (// !predicate && - !localFilter && (!window.devToolsOptions || !window.devToolsOptions.filter || window.devToolsOptions.filter === FilterState.DO_NOT_FILTER) - ); -}; -function isFiltered(action, localFilter) { - if (noFiltersApplied(localFilter) || typeof action !== 'string' && typeof action.type.match !== 'function') { - return false; - } - - var _ref = localFilter || window.devToolsOptions || {}, - allowlist = _ref.allowlist, - denylist = _ref.denylist; - - var actionType = action.type || action; - return allowlist && !actionType.match(allowlist) || denylist && actionType.match(denylist); -} - -function filterActions(actionsById, actionSanitizer) { - if (!actionSanitizer) return actionsById; - return lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default()(actionsById, function (action, id) { - return _objectSpread(_objectSpread({}, action), {}, { - action: actionSanitizer(action.action, id) - }); - }); -} - -function filterStates(computedStates, stateSanitizer) { - if (!stateSanitizer) return computedStates; - return computedStates.map(function (state, idx) { - return _objectSpread(_objectSpread({}, state), {}, { - state: stateSanitizer(state.state, idx) - }); - }); -} - -function filterState(state, localFilter, stateSanitizer, actionSanitizer, predicate) { - if (predicate || !noFiltersApplied(localFilter)) { - var filteredStagedActionIds = []; - var filteredComputedStates = []; - var sanitizedActionsById = actionSanitizer && {}; - var actionsById = state.actionsById; - var computedStates = state.computedStates; - state.stagedActionIds.forEach(function (id, idx) { - var liftedAction = actionsById[id]; - if (!liftedAction) return; - var currAction = liftedAction.action; - var liftedState = computedStates[idx]; - var currState = liftedState.state; - - if (idx) { - if (predicate && !predicate(currState, currAction)) return; - if (isFiltered(currAction, localFilter)) return; - } - - filteredStagedActionIds.push(id); - filteredComputedStates.push(stateSanitizer ? _objectSpread(_objectSpread({}, liftedState), {}, { - state: stateSanitizer(currState, idx) - }) : liftedState); - - if (actionSanitizer) { - sanitizedActionsById[id] = _objectSpread(_objectSpread({}, liftedAction), {}, { - action: actionSanitizer(currAction, id) - }); - } - }); - return _objectSpread(_objectSpread({}, state), {}, { - actionsById: sanitizedActionsById || actionsById, - stagedActionIds: filteredStagedActionIds, - computedStates: filteredComputedStates - }); - } - - if (!stateSanitizer && !actionSanitizer) return state; - return _objectSpread(_objectSpread({}, state), {}, { - actionsById: filterActions(state.actionsById, actionSanitizer), - computedStates: filterStates(state.computedStates, stateSanitizer) - }); -} -function startingFrom(sendingActionId, state, localFilter, stateSanitizer, actionSanitizer, predicate) { - var stagedActionIds = state.stagedActionIds; - if (sendingActionId <= stagedActionIds[1]) return state; - var index = stagedActionIds.indexOf(sendingActionId); - if (index === -1) return state; - var shouldFilter = predicate || !noFiltersApplied(localFilter); - var filteredStagedActionIds = shouldFilter ? [0] : stagedActionIds; - var actionsById = state.actionsById; - var computedStates = state.computedStates; - var newActionsById = {}; - var newComputedStates = []; - var key; - var currAction; - var currState; - - for (var i = shouldFilter ? 1 : index; i < stagedActionIds.length; i++) { - key = stagedActionIds[i]; - currAction = actionsById[key]; - currState = computedStates[i]; - - if (shouldFilter) { - if (predicate && !predicate(currState.state, currAction.action) || isFiltered(currAction.action, localFilter)) { - continue; - } - - filteredStagedActionIds.push(key); - if (i < index) continue; - } - - newActionsById[key] = !actionSanitizer ? currAction : _objectSpread(_objectSpread({}, currAction), {}, { - action: actionSanitizer(currAction.action, key) - }); - newComputedStates.push(!stateSanitizer ? currState : _objectSpread(_objectSpread({}, currState), {}, { - state: stateSanitizer(currState.state, i) - })); - } - - if (newComputedStates.length === 0) return undefined; - return { - actionsById: newActionsById, - computedStates: newComputedStates, - stagedActionIds: filteredStagedActionIds, - currentStateIndex: state.currentStateIndex, - nextActionId: state.nextActionId - }; -} - -/***/ }), - -/***/ "./src/app/api/generateInstanceId.ts": -/*!*******************************************!*\ - !*** ./src/app/api/generateInstanceId.ts ***! - \*******************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ generateId) -/* harmony export */ }); -var id = 0; -function generateId(instanceId) { - return instanceId || ++id; -} - -/***/ }), - -/***/ "./src/app/api/importState.ts": -/*!************************************!*\ - !*** ./src/app/api/importState.ts ***! - \************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ importState) -/* harmony export */ }); -/* harmony import */ var jsan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jsan */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/index.js"); -/* harmony import */ var _redux_devtools_serialize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @redux-devtools/serialize */ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/immutable/serialize.js"); - - - -function isSerializeWithImmutable(serialize) { - return !!serialize.immutable; -} - -function isSerializeWithReviver(serialize) { - return !!serialize.immutable; -} - -function importState(state, _ref) { - var serialize = _ref.serialize; - if (!state) return undefined; - var parse = jsan__WEBPACK_IMPORTED_MODULE_0__.parse; - - if (serialize) { - if (isSerializeWithImmutable(serialize)) { - parse = function parse(v) { - return jsan__WEBPACK_IMPORTED_MODULE_0__.parse(v, (0,_redux_devtools_serialize__WEBPACK_IMPORTED_MODULE_1__["default"])(serialize.immutable, serialize.refs, serialize.replacer, serialize.reviver).reviver); - }; - } else if (isSerializeWithReviver(serialize)) { - parse = function parse(v) { - return jsan__WEBPACK_IMPORTED_MODULE_0__.parse(v, serialize.reviver); - }; - } - } - - var parsedSerializedLiftedState = parse(state); - var preloadedState = 'payload' in parsedSerializedLiftedState && parsedSerializedLiftedState.preloadedState ? parse(parsedSerializedLiftedState.preloadedState) : undefined; - var nextLiftedState = 'payload' in parsedSerializedLiftedState ? parse(parsedSerializedLiftedState.payload) : parsedSerializedLiftedState; - return { - nextLiftedState: nextLiftedState, - preloadedState: preloadedState - }; -} - -/***/ }), - -/***/ "./src/app/api/index.ts": -/*!******************************!*\ - !*** ./src/app/api/index.ts ***! - \******************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "connect": () => (/* binding */ connect), -/* harmony export */ "disconnect": () => (/* binding */ disconnect), -/* harmony export */ "getSerializeParameter": () => (/* binding */ getSerializeParameter), -/* harmony export */ "isInIframe": () => (/* binding */ isInIframe), -/* harmony export */ "sendMessage": () => (/* binding */ sendMessage), -/* harmony export */ "setListener": () => (/* binding */ setListener), -/* harmony export */ "source": () => (/* binding */ source), -/* harmony export */ "toContentScript": () => (/* binding */ toContentScript) -/* harmony export */ }); -/* harmony import */ var jsan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jsan */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/index.js"); -/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/throttle */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/throttle.js"); -/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _redux_devtools_serialize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @redux-devtools/serialize */ "../.yarn/__virtual__/@redux-devtools-serialize-virtual-bcc6c6f9b4/1/packages/redux-devtools-serialize/lib/esm/immutable/serialize.js"); -/* harmony import */ var _redux_devtools_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @redux-devtools/utils */ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/filters.js"); -/* harmony import */ var _redux_devtools_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @redux-devtools/utils */ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/index.js"); -/* harmony import */ var _filters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./filters */ "./src/app/api/filters.ts"); -/* harmony import */ var _importState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./importState */ "./src/app/api/importState.ts"); -/* harmony import */ var _generateInstanceId__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./generateInstanceId */ "./src/app/api/generateInstanceId.ts"); -var _excluded = ["actionsById", "computedStates", "committedState"], - _excluded2 = ["actionsById", "computedStates", "committedState"]; - -function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } - -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; } - -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) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -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 listeners = {}; -var source = '@devtools-page'; - -function windowReplacer(key, value) { - if (value && value.window === value) { - return '[WINDOW]'; - } - - return value; -} - -function tryCatchStringify(obj) { - try { - return JSON.stringify(obj); - } catch (err) { - /* eslint-disable no-console */ - if (true) { - console.log('Failed to stringify', err); - } - /* eslint-enable no-console */ - - - return jsan__WEBPACK_IMPORTED_MODULE_0__.stringify(obj, windowReplacer, undefined, { - circular: '[CIRCULAR]', - date: true - }); - } -} - -var stringifyWarned; - -function stringify(obj, serialize) { - var str = typeof serialize === 'undefined' ? tryCatchStringify(obj) : jsan__WEBPACK_IMPORTED_MODULE_0__.stringify(obj, serialize.replacer, undefined, serialize.options); - - if (!stringifyWarned && str && str.length > 16 * 1024 * 1024) { - // 16 MB - - /* eslint-disable no-console */ - console.warn('Application state or actions payloads are too large making Redux DevTools serialization slow and consuming a lot of memory. See https://git.io/fpcP5 on how to configure it.'); - /* eslint-enable no-console */ - - stringifyWarned = true; - } - - return str; -} - -function getSerializeParameter(config) { - var serialize = config.serialize; - - if (serialize) { - if (serialize === true) return { - options: true - }; - - if (serialize.immutable) { - var immutableSerializer = (0,_redux_devtools_serialize__WEBPACK_IMPORTED_MODULE_5__["default"])(serialize.immutable, serialize.refs, serialize.replacer, serialize.reviver); - return { - replacer: immutableSerializer.replacer, - reviver: immutableSerializer.reviver, - options: _typeof(serialize.options) === 'object' ? _objectSpread(_objectSpread({}, immutableSerializer.options), serialize.options) : immutableSerializer.options - }; - } - - if (!serialize.replacer && !serialize.reviver) { - return { - options: serialize.options - }; - } - - return { - replacer: serialize.replacer, - reviver: serialize.reviver, - options: serialize.options || true - }; - } - - return undefined; -} - -function post(message) { - // window.postMessage(message, '*'); - window.__RECORD_REPLAY_REDUX_DEVTOOLS_SEND_BRIDGE__(message) -} - -function getStackTrace(config, toExcludeFromTrace) { - if (!config.trace) return undefined; - if (typeof config.trace === 'function') return config.trace(); - var stack; - var extraFrames = 0; - var prevStackTraceLimit; - var traceLimit = config.traceLimit; - var error = Error(); - - if (Error.captureStackTrace) { - if (Error.stackTraceLimit < traceLimit) { - prevStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = traceLimit; - } - - Error.captureStackTrace(error, toExcludeFromTrace); - } else { - extraFrames = 3; - } - - stack = error.stack; - if (prevStackTraceLimit) Error.stackTraceLimit = prevStackTraceLimit; - - if (extraFrames || typeof Error.stackTraceLimit !== 'number' || Error.stackTraceLimit > traceLimit) { - var frames = stack.split('\n'); - - if (frames.length > traceLimit) { - stack = frames.slice(0, traceLimit + extraFrames + (frames[0] === 'Error' ? 1 : 0)).join('\n'); - } - } - - return stack; -} - -function amendActionType(action, config, toExcludeFromTrace) { - var timestamp = Date.now(); - var stack = getStackTrace(config, toExcludeFromTrace); - - if (typeof action === 'string') { - return { - action: { - type: action - }, - timestamp: timestamp, - stack: stack - }; - } - - if (!action.type) return { - action: { - type: 'update' - }, - timestamp: timestamp, - stack: stack - }; - if (action.action) return stack ? _objectSpread({ - stack: stack - }, action) : action; - return { - action: action, - timestamp: timestamp, - stack: stack - }; -} - -function toContentScript(message, serializeState, serializeAction) { - if (message.type === 'ACTION') { - post(_objectSpread(_objectSpread({}, message), {}, { - action: stringify(message.action, serializeAction), - payload: stringify(message.payload, serializeState) - })); - } else if (message.type === 'STATE') { - var _message$payload = message.payload, - actionsById = _message$payload.actionsById, - computedStates = _message$payload.computedStates, - committedState = _message$payload.committedState, - rest = _objectWithoutProperties(_message$payload, _excluded); - - post(_objectSpread(_objectSpread({}, message), {}, { - payload: rest, - actionsById: stringify(actionsById, serializeAction), - computedStates: stringify(computedStates, serializeState), - committedState: typeof committedState !== 'undefined' - })); - } else if (message.type === 'PARTIAL_STATE') { - var _message$payload2 = message.payload, - _actionsById = _message$payload2.actionsById, - _computedStates = _message$payload2.computedStates, - _committedState = _message$payload2.committedState, - _rest = _objectWithoutProperties(_message$payload2, _excluded2); - - post(_objectSpread(_objectSpread({}, message), {}, { - payload: _rest, - actionsById: stringify(_actionsById, serializeAction), - computedStates: stringify(_computedStates, serializeState), - committedState: typeof _committedState !== 'undefined' - })); - } else if (message.type === 'EXPORT') { - post(_objectSpread(_objectSpread({}, message), {}, { - payload: stringify(message.payload, serializeAction), - committedState: typeof message.committedState !== 'undefined' ? stringify(message.committedState, serializeState) : message.committedState - })); - } else { - post(message); - } -} -function sendMessage(action, state, config, instanceId, name) { - var amendedAction = action; - - if (_typeof(config) !== 'object') { - // Legacy: sending actions not from connected part - config = {}; // eslint-disable-line no-param-reassign - - if (action) amendedAction = amendActionType(action, config, sendMessage); - } - - if (action) { - toContentScript({ - type: 'ACTION', - action: amendedAction, - payload: state, - maxAge: config.maxAge, - source: source, - name: config.name || name, - instanceId: config.instanceId || instanceId || 1 - }, config.serialize, config.serialize); - } else { - toContentScript({ - type: 'STATE', - action: amendedAction, - payload: state, - maxAge: config.maxAge, - source: source, - name: config.name || name, - instanceId: config.instanceId || instanceId || 1 - }, config.serialize, config.serialize); - } -} - -function handleMessages(event) { - if (({"NODE_ENV":"development"}).BABEL_ENV !== 'test' && (!event || event.source !== window)) { - return; - } - - var message = event.data; - if (!message || message.source !== '@devtools-extension') return; - Object.keys(listeners).forEach(function (id) { - if (message.id && id !== message.id) return; - var listenersForId = listeners[id]; - if (typeof listenersForId === 'function') listenersForId(message);else { - listenersForId.forEach(function (fn) { - fn(message); - }); - } - }); -} - -function setListener(onMessage, instanceId) { - listeners[instanceId] = onMessage; - window.addEventListener('message', handleMessages, false); -} - -var liftListener = function liftListener(listener, config) { - return function (message) { - if (message.type === 'IMPORT') { - listener({ - type: 'DISPATCH', - payload: _objectSpread({ - type: 'IMPORT_STATE' - }, (0,_importState__WEBPACK_IMPORTED_MODULE_3__["default"])(message.state, config)) - }); - } else { - listener(message); - } - }; -}; - -function disconnect() { - window.removeEventListener('message', handleMessages); - post({ - type: 'DISCONNECT', - source: source - }); -} -function connect(preConfig) { - var config = preConfig || {}; - var id = (0,_generateInstanceId__WEBPACK_IMPORTED_MODULE_4__["default"])(config.instanceId); - if (!config.instanceId) config.instanceId = id; - - if (!config.name) { - config.name = document.title && id === 1 ? document.title : "Instance ".concat(id); - } - - if (config.serialize) config.serialize = getSerializeParameter(config); - var actionCreators = config.actionCreators || {}; - var latency = config.latency; - var predicate = config.predicate; - var localFilter = (0,_redux_devtools_utils__WEBPACK_IMPORTED_MODULE_6__.getLocalFilter)(config); - var autoPause = config.autoPause; - var isPaused = autoPause; - var delayedActions = []; - var delayedStates = []; - - var rootListener = function rootListener(action) { - if (autoPause) { - if (action.type === 'START') isPaused = false;else if (action.type === 'STOP') isPaused = true; - } - - if (action.type === 'DISPATCH') { - var _payload = action.payload; - - if (_payload.type === 'PAUSE_RECORDING') { - isPaused = _payload.status; - toContentScript({ - type: 'LIFTED', - liftedState: { - isPaused: isPaused - }, - instanceId: id, - source: source - }); - } - } - }; - - listeners[id] = [rootListener]; - - var subscribe = function subscribe(listener) { - if (!listener) return undefined; - var liftedListener = liftListener(listener, config); - var listenersForId = listeners[id]; - listenersForId.push(liftedListener); - return function unsubscribe() { - var index = listenersForId.indexOf(liftedListener); - listenersForId.splice(index, 1); - }; - }; - - var unsubscribe = function unsubscribe() { - delete listeners[id]; - }; - - var sendDelayed = lodash_throttle__WEBPACK_IMPORTED_MODULE_1___default()(function () { - sendMessage(delayedActions, delayedStates, config); - delayedActions = []; - delayedStates = []; - }, latency); - - var send = function send(action, state) { - if (isPaused || (0,_filters__WEBPACK_IMPORTED_MODULE_2__.isFiltered)(action, localFilter) || predicate && !predicate(state, action)) { - return; - } - - var amendedAction = action; - var amendedState = config.stateSanitizer ? config.stateSanitizer(state) : state; - - if (action) { - if (config.getActionType) { - amendedAction = config.getActionType(action); - - if (_typeof(amendedAction) !== 'object') { - amendedAction = { - action: { - type: amendedAction - }, - timestamp: Date.now() - }; - } - } else if (config.actionSanitizer) { - amendedAction = config.actionSanitizer(action); - } - - amendedAction = amendActionType(amendedAction, config, send); - - if (latency) { - delayedActions.push(amendedAction); - delayedStates.push(amendedState); - sendDelayed(); - return; - } - } - - sendMessage(amendedAction, amendedState, config); - }; - - var init = function init(state, liftedData) { - var message = { - type: 'INIT', - payload: stringify(state, config.serialize), - instanceId: id, - source: source - }; - - if (liftedData && Array.isArray(liftedData)) { - // Legacy - message.action = stringify(liftedData); - message.name = config.name; - } else { - if (liftedData) { - message.liftedState = liftedData; - if (liftedData.isPaused) isPaused = true; - } - - message.libConfig = { - actionCreators: JSON.stringify((0,_redux_devtools_utils__WEBPACK_IMPORTED_MODULE_7__.getActionsArray)(actionCreators)), - name: config.name || document.title, - features: config.features, - serialize: !!config.serialize, - type: config.type - }; - } - - post(message); - }; - - var error = function error(payload) { - post({ - type: 'ERROR', - payload: payload, - instanceId: id, - source: source - }); - }; - - window.addEventListener('message', handleMessages, false); - post({ - type: 'INIT_INSTANCE', - instanceId: id, - source: source - }); - return { - init: init, - subscribe: subscribe, - unsubscribe: unsubscribe, - send: send, - error: error - }; -} -function isInIframe() { - try { - return window.self !== window.top; - } catch (e) { - return true; - } -} - -/***/ }), - -/***/ "./src/app/api/notifyErrors.ts": -/*!*************************************!*\ - !*** ./src/app/api/notifyErrors.ts ***! - \*************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ notifyErrors) -/* harmony export */ }); -var handleError; -var lastTime = 0; - -function createExpBackoffTimer(step) { - var count = 1; - return function (reset) { - // Reset call - if (reset) { - count = 1; - return 0; - } // Calculate next timeout - - - var timeout = Math.pow(2, count - 1); - if (count < 5) count += 1; - return timeout * step; - }; -} - -var nextErrorTimeout = createExpBackoffTimer(5000); - -function postError(message) { - if (handleError && !handleError()) return; - window.postMessage({ - source: '@devtools-page', - type: 'ERROR', - message: message - }, '*'); -} - -function catchErrors(e) { - if (window.devToolsOptions && !window.devToolsOptions.shouldCatchErrors || e.timeStamp - lastTime < nextErrorTimeout()) { - return; - } - - lastTime = e.timeStamp; - nextErrorTimeout(true); - postError(e.message); -} - -function notifyErrors(onError) { - handleError = onError; - window.addEventListener('error', catchErrors, false); -} - -/***/ }), - -/***/ "./src/app/api/openWindow.ts": -/*!***********************************!*\ - !*** ./src/app/api/openWindow.ts ***! - \***********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ openWindow) -/* harmony export */ }); -function post(message) { - window.postMessage(message, '*'); -} - -function openWindow(position) { - post({ - source: '@devtools-page', - type: 'OPEN', - position: position || 'right' - }); -} - -/***/ }), - -/***/ "./src/app/service/Monitor.ts": -/*!************************************!*\ - !*** ./src/app/service/Monitor.ts ***! - \************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ Monitor) -/* harmony export */ }); -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); 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 _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var Monitor = /*#__PURE__*/_createClass(function Monitor(update) { - var _this = this; - - _classCallCheck(this, Monitor); - - _defineProperty(this, "reducer", function () { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var action = arguments.length > 1 ? arguments[1] : undefined; - if (!_this.active) return state; - _this.lastAction = action.type; - - if (action.type === 'LOCK_CHANGES') { - window.__REDUX_DEVTOOLS_EXTENSION_LOCKED__ = action.status; - } else if (action.type === 'PAUSE_RECORDING') { - _this.paused = action.status; - } else if (_this.isHotReloaded()) { - // Send new lifted state on hot-reloading - setTimeout(_this.update, 0); - } - - return state; - }); - - _defineProperty(this, "start", function (skipUpdate) { - _this.active = true; - if (!skipUpdate) _this.update(); - }); - - _defineProperty(this, "stop", function () { - _this.active = false; - clearTimeout(_this.waitingTimeout); - }); - - _defineProperty(this, "isHotReloaded", function () { - return _this.lastAction && /^@@redux\/(INIT|REPLACE)/.test(_this.lastAction); - }); - - _defineProperty(this, "isMonitorAction", function () { - return _this.lastAction && _this.lastAction !== 'PERFORM_ACTION'; - }); - - _defineProperty(this, "isTimeTraveling", function () { - return _this.lastAction === 'JUMP_TO_STATE' || _this.lastAction === 'JUMP_TO_ACTION'; - }); - - _defineProperty(this, "isPaused", function () { - if (_this.paused) { - if (_this.lastAction !== 'BLOCKED') { - if (!window.__REDUX_DEVTOOLS_EXTENSION_LOCKED__) { - _this.lastAction = 'BLOCKED'; - } - - return false; - } - - return true; - } - - return false; - }); - - _defineProperty(this, "isLocked", function () { - if (window.__REDUX_DEVTOOLS_EXTENSION_LOCKED__) { - if (_this.lastAction !== 'BLOCKED') { - _this.lastAction = 'BLOCKED'; - return false; - } - - return true; - } - - return false; - }); - - this.update = update; -}); - - - -/***/ }), - -/***/ "./src/app/stores/enhancerStore.ts": -/*!*****************************************!*\ - !*** ./src/app/stores/enhancerStore.ts ***! - \*****************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ configureStore), -/* harmony export */ "getUrlParam": () => (/* binding */ getUrlParam) -/* harmony export */ }); -/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "../.yarn/cache/redux-npm-4.1.2-04cdbe7a08-6a839cee5b.zip/node_modules/redux/es/redux.js"); -/* harmony import */ var _redux_devtools_instrument__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @redux-devtools/instrument */ "../.yarn/__virtual__/@redux-devtools-instrument-virtual-471b39be25/1/packages/redux-devtools-instrument/lib/esm/instrument.js"); -/* harmony import */ var _redux_devtools_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @redux-devtools/core */ "../.yarn/__virtual__/@redux-devtools-core-virtual-041d7e0ecf/1/packages/redux-devtools/lib/esm/persistState.js"); - - - -function getUrlParam(key) { - var matches = window.location.href.match(new RegExp("[?&]".concat(key, "=([^&#]+)\\b"))); - return matches && matches.length > 0 ? matches[1] : null; -} -function configureStore(next, monitorReducer, config) { - return (0,redux__WEBPACK_IMPORTED_MODULE_0__.compose)((0,_redux_devtools_instrument__WEBPACK_IMPORTED_MODULE_1__.instrument)(monitorReducer, { - maxAge: config.maxAge, - trace: config.trace, - traceLimit: config.traceLimit, - shouldCatchErrors: config.shouldCatchErrors || window.shouldCatchErrors, - shouldHotReload: config.shouldHotReload, - shouldRecordChanges: config.shouldRecordChanges, - shouldStartLocked: config.shouldStartLocked, - pauseActionType: config.pauseActionType || '@@PAUSED' - }), (0,_redux_devtools_core__WEBPACK_IMPORTED_MODULE_2__["default"])(getUrlParam('debug_session')))(next); -} - -/***/ }), - -/***/ "./src/browser/extension/options/syncOptions.ts": -/*!******************************************************!*\ - !*** ./src/browser/extension/options/syncOptions.ts ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ syncOptions), -/* harmony export */ "getOptionsFromBg": () => (/* binding */ getOptionsFromBg), -/* harmony export */ "injectOptions": () => (/* binding */ injectOptions), -/* harmony export */ "isAllowed": () => (/* binding */ isAllowed) -/* harmony export */ }); -/* harmony import */ var _app_api_filters__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../app/api/filters */ "./src/app/api/filters.ts"); -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) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - - -var options; -var subscribers = []; - -var save = function save(toAllTabs) { - return function (key, value) { - var obj = {}; - obj[key] = value; - chrome.storage.sync.set(obj); - options[key] = value; - toAllTabs({ - options: options - }); - subscribers.forEach(function (s) { - return s(options); - }); - }; -}; - -var migrateOldOptions = function migrateOldOptions(oldOptions) { - return _objectSpread(_objectSpread({}, oldOptions), {}, { - filter: // Migrate the old `filter` option from 2.2.1 - typeof oldOptions.filter === 'boolean' ? oldOptions.filter && oldOptions.whitelist.length > 0 ? _app_api_filters__WEBPACK_IMPORTED_MODULE_0__.FilterState.ALLOWLIST_SPECIFIC : oldOptions.filter ? _app_api_filters__WEBPACK_IMPORTED_MODULE_0__.FilterState.DENYLIST_SPECIFIC : _app_api_filters__WEBPACK_IMPORTED_MODULE_0__.FilterState.DO_NOT_FILTER : oldOptions.filter === 'WHITELIST_SPECIFIC' ? _app_api_filters__WEBPACK_IMPORTED_MODULE_0__.FilterState.ALLOWLIST_SPECIFIC : oldOptions.filter === 'BLACKLIST_SPECIFIC' ? _app_api_filters__WEBPACK_IMPORTED_MODULE_0__.FilterState.DENYLIST_SPECIFIC : oldOptions.filter - }); -}; - -var get = function get(callback) { - if (options) callback(options);else { - chrome.storage.sync.get({ - useEditor: 0, - editor: '', - projectPath: '', - maxAge: 50, - filter: _app_api_filters__WEBPACK_IMPORTED_MODULE_0__.FilterState.DO_NOT_FILTER, - whitelist: '', - blacklist: '', - allowlist: '', - denylist: '', - shouldCatchErrors: false, - inject: true, - urls: '^https?://localhost|0\\.0\\.0\\.0:\\d+\n^https?://.+\\.github\\.io', - showContextMenus: true - }, function (items) { - options = migrateOldOptions(items); - callback(options); - }); - } -}; - -var subscribe = function subscribe(callback) { - subscribers = subscribers.concat(callback); -}; - -var toReg = function toReg(str) { - return str !== '' ? str.split('\n').filter(Boolean).join('|') : null; -}; - -var injectOptions = function injectOptions(newOptions) { - if (!newOptions) return; - options = _objectSpread(_objectSpread({}, newOptions), {}, { - allowlist: newOptions.filter !== _app_api_filters__WEBPACK_IMPORTED_MODULE_0__.FilterState.DO_NOT_FILTER ? toReg(newOptions.allowlist) : newOptions.allowlist, - denylist: newOptions.filter !== _app_api_filters__WEBPACK_IMPORTED_MODULE_0__.FilterState.DO_NOT_FILTER ? toReg(newOptions.denylist) : newOptions.denylist - }); - var s = document.createElement('script'); - s.type = 'text/javascript'; - s.appendChild(document.createTextNode('window.devToolsOptions = Object.assign(window.devToolsOptions||{},' + JSON.stringify(options) + ');')); - (document.head || document.documentElement).appendChild(s); - s.parentNode.removeChild(s); -}; -var getOptionsFromBg = function getOptionsFromBg() { - /* chrome.runtime.sendMessage({ type: 'GET_OPTIONS' }, response => { - if (response && response.options) injectOptions(response.options); - }); - */ - get(function (newOptions) { - injectOptions(newOptions); - }); // Legacy -}; -var isAllowed = function isAllowed() { - var localOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : options; - return !localOptions || localOptions.inject || !localOptions.urls || location.href.match(toReg(localOptions.urls)); -}; -function syncOptions(toAllTabs) { - if (toAllTabs && !options) get(function () {}); // Initialize - - return { - save: save(toAllTabs), - get: get, - subscribe: subscribe - }; -} - -/***/ }), - -/***/ "../.yarn/cache/get-params-npm-0.1.2-1df881bfb8-7768710dd5.zip/node_modules/get-params/index.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/get-params-npm-0.1.2-1df881bfb8-7768710dd5.zip/node_modules/get-params/index.js ***! - \******************************************************************************************************/ -/***/ ((module) => { - -/* global window */ -var GetParams = function (func) { - 'use strict'; - - if (typeof func !== 'function') { - return []; - } - - var patternComments = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg; - var patternArguments = /([^\s,]+)/g; - - var funcString = func - .toString() - .replace(patternComments, ''); - - var result = funcString - .slice( - funcString.indexOf('(') + 1, - funcString.indexOf(')') - ) - .match(patternArguments); - - if (result === null) { - return []; - } - - return result; -}; - -if ( true && typeof module.exports !== 'undefined') { - module.exports = GetParams; -} - -if (typeof window !== 'undefined') { - window.GetParams = GetParams; -} - - -/***/ }), - -/***/ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/index.js": -/*!*******************************************************************************************!*\ - !*** ../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/index.js ***! - \*******************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -module.exports = __webpack_require__(/*! ./lib */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/index.js"); - - -/***/ }), - -/***/ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/cycle.js": -/*!***********************************************************************************************!*\ - !*** ../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/cycle.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -var pathGetter = __webpack_require__(/*! ./path-getter */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/path-getter.js"); -var utils = __webpack_require__(/*! ./utils */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/utils.js"); - -var WMap = typeof WeakMap !== 'undefined'? - WeakMap: - function() { - var keys = []; - var values = []; - return { - set: function(key, value) { - keys.push(key); - values.push(value); - }, - get: function(key) { - for (var i = 0; i < keys.length; i++) { - if (keys[i] === key) { - return values[i]; - } - } - } - } - }; - -// Based on https://github.com/douglascrockford/JSON-js/blob/master/cycle.js - -exports.decycle = function decycle(object, options, replacer, map) { - 'use strict'; - - map = map || new WMap(); - - var noCircularOption = !Object.prototype.hasOwnProperty.call(options, 'circular'); - var withRefs = options.refs !== false; - - return (function derez(_value, path, key) { - - // The derez recurses through the object, producing the deep copy. - - var i, // The loop counter - name, // Property name - nu; // The new object or array - - // typeof null === 'object', so go on if this value is really an object but not - // one of the weird builtin objects. - - var value = typeof replacer === 'function' ? replacer(key || '', _value) : _value; - - if (options.date && value instanceof Date) { - return {$jsan: 'd' + value.getTime()}; - } - if (options.regex && value instanceof RegExp) { - return {$jsan: 'r' + utils.getRegexFlags(value) + ',' + value.source}; - } - if (options['function'] && typeof value === 'function') { - return {$jsan: 'f' + utils.stringifyFunction(value, options['function'])} - } - if (options['nan'] && typeof value === 'number' && isNaN(value)) { - return {$jsan: 'n'} - } - if (options['infinity']) { - if (Number.POSITIVE_INFINITY === value) return {$jsan: 'i'} - if (Number.NEGATIVE_INFINITY === value) return {$jsan: 'y'} - } - if (options['undefined'] && value === undefined) { - return {$jsan: 'u'} - } - if (options['error'] && value instanceof Error) { - return {$jsan: 'e' + value.message} - } - if (options['symbol'] && typeof value === 'symbol') { - var symbolKey = Symbol.keyFor(value) - if (symbolKey !== undefined) { - return {$jsan: 'g' + symbolKey} - } - - // 'Symbol(foo)'.slice(7, -1) === 'foo' - return {$jsan: 's' + value.toString().slice(7, -1)} - } - - if (options['map'] && typeof Map === 'function' && value instanceof Map && typeof Array.from === 'function') { - return {$jsan: 'm' + JSON.stringify(decycle(Array.from(value), options, replacer, map))} - } - - if (options['set'] && typeof Set === 'function' && value instanceof Set && typeof Array.from === 'function') { - return {$jsan: 'l' + JSON.stringify(decycle(Array.from(value), options, replacer, map))} - } - - if (value && typeof value.toJSON === 'function') { - try { - value = value.toJSON(key); - } catch (error) { - var keyString = (key || '$'); - return "toJSON failed for '" + (map.get(value) || keyString) + "'"; - } - } - - if (typeof value === 'object' && value !== null && - !(value instanceof Boolean) && - !(value instanceof Date) && - !(value instanceof Number) && - !(value instanceof RegExp) && - !(value instanceof String) && - !(typeof value === 'symbol') && - !(value instanceof Error)) { - - // If the value is an object or array, look to see if we have already - // encountered it. If so, return a $ref/path object. - - if (typeof value === 'object') { - var foundPath = map.get(value); - if (foundPath) { - if (noCircularOption && withRefs) { - return {$jsan: foundPath}; - } - - // This is only a true circular reference if the parent path is inside of foundPath - // drop the last component of the current path and check if it starts with foundPath - var parentPath = path.split('.').slice(0, -1).join('.'); - if (parentPath.indexOf(foundPath) === 0) { - if (!noCircularOption) { - return typeof options.circular === 'function'? - options.circular(value, path, foundPath): - options.circular; - } - return {$jsan: foundPath}; - } - if (withRefs) return {$jsan: foundPath}; - } - map.set(value, path); - } - - - // If it is an array, replicate the array. - - if (Object.prototype.toString.apply(value) === '[object Array]') { - nu = []; - for (i = 0; i < value.length; i += 1) { - nu[i] = derez(value[i], path + '[' + i + ']', i); - } - } else { - - // If it is an object, replicate the object. - - nu = {}; - for (name in value) { - if (Object.prototype.hasOwnProperty.call(value, name)) { - var nextPath = /^\w+$/.test(name) ? - '.' + name : - '[' + JSON.stringify(name) + ']'; - nu[name] = name === '$jsan' ? [derez(value[name], path + nextPath)] : derez(value[name], path + nextPath, name); - } - } - } - return nu; - } - return value; - }(object, '$')); -}; - - -exports.retrocycle = function retrocycle($) { - 'use strict'; - - - return (function rez(value) { - - // The rez function walks recursively through the object looking for $jsan - // properties. When it finds one that has a value that is a path, then it - // replaces the $jsan object with a reference to the value that is found by - // the path. - - var i, item, name, path; - - if (value && typeof value === 'object') { - if (Object.prototype.toString.apply(value) === '[object Array]') { - for (i = 0; i < value.length; i += 1) { - item = value[i]; - if (item && typeof item === 'object') { - if (item.$jsan) { - value[i] = utils.restore(item.$jsan, $); - } else { - rez(item); - } - } - } - } else { - for (name in value) { - // base case passed raw object - if(typeof value[name] === 'string' && name === '$jsan'){ - return utils.restore(value.$jsan, $); - break; - } - else { - if (name === '$jsan') { - value[name] = value[name][0]; - } - if (typeof value[name] === 'object') { - item = value[name]; - if (item && typeof item === 'object') { - if (item.$jsan) { - value[name] = utils.restore(item.$jsan, $); - } else { - rez(item); - } - } - } - } - } - } - } - return value; - }($)); -}; - - -/***/ }), - -/***/ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/index.js": -/*!***********************************************************************************************!*\ - !*** ../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/index.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -var cycle = __webpack_require__(/*! ./cycle */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/cycle.js"); - -exports.stringify = function stringify(value, replacer, space, _options) { - - if (arguments.length < 4) { - try { - if (arguments.length === 1) { - return JSON.stringify(value); - } else { - return JSON.stringify.apply(JSON, arguments); - } - } catch (e) {} - } - - var options = _options || false; - if (typeof options === 'boolean') { - options = { - 'date': options, - 'function': options, - 'regex': options, - 'undefined': options, - 'error': options, - 'symbol': options, - 'map': options, - 'set': options, - 'nan': options, - 'infinity': options - } - } - - var decycled = cycle.decycle(value, options, replacer); - if (arguments.length === 1) { - return JSON.stringify(decycled); - } else { - // decycle already handles when replacer is a function. - return JSON.stringify(decycled, Array.isArray(replacer) ? replacer : null, space); - } -} - -exports.parse = function parse(text, reviver) { - var needsRetrocycle = /"\$jsan"/.test(text); - var parsed; - if (arguments.length === 1) { - parsed = JSON.parse(text); - } else { - parsed = JSON.parse(text, reviver); - } - if (needsRetrocycle) { - parsed = cycle.retrocycle(parsed); - } - return parsed; -} - - -/***/ }), - -/***/ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/path-getter.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/path-getter.js ***! - \*****************************************************************************************************/ -/***/ ((module) => { - -module.exports = pathGetter; - -function pathGetter(obj, path) { - if (path !== '$') { - var paths = getPaths(path); - for (var i = 0; i < paths.length; i++) { - path = paths[i].toString().replace(/\\"/g, '"'); - if (typeof obj[path] === 'undefined' && i !== paths.length - 1) continue; - obj = obj[path]; - } - } - return obj; -} - -function getPaths(pathString) { - var regex = /(?:\.(\w+))|(?:\[(\d+)\])|(?:\["((?:[^\\"]|\\.)*)"\])/g; - var matches = []; - var match; - while (match = regex.exec(pathString)) { - matches.push( match[1] || match[2] || match[3] ); - } - return matches; -} - - -/***/ }), - -/***/ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/utils.js": -/*!***********************************************************************************************!*\ - !*** ../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/utils.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -var pathGetter = __webpack_require__(/*! ./path-getter */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/path-getter.js"); -var jsan = __webpack_require__(/*! ./ */ "../.yarn/cache/jsan-npm-3.1.14-b530faf7c9-e0ee10807d.zip/node_modules/jsan/lib/index.js"); - -exports.getRegexFlags = function getRegexFlags(regex) { - var flags = ''; - if (regex.ignoreCase) flags += 'i'; - if (regex.global) flags += 'g'; - if (regex.multiline) flags += 'm'; - return flags; -}; - -exports.stringifyFunction = function stringifyFunction(fn, customToString) { - if (typeof customToString === 'function') { - return customToString(fn); - } - var str = fn.toString(); - var match = str.match(/^[^{]*{|^[^=]*=>/); - var start = match ? match[0] : ' '; - var end = str[str.length - 1] === '}' ? '}' : ''; - return start.replace(/\r\n|\n/g, ' ').replace(/\s+/g, ' ') + ' /* ... */ ' + end; -}; - -exports.restore = function restore(obj, root) { - var type = obj[0]; - var rest = obj.slice(1); - switch(type) { - case '$': - return pathGetter(root, obj); - case 'r': - var comma = rest.indexOf(','); - var flags = rest.slice(0, comma); - var source = rest.slice(comma + 1); - return RegExp(source, flags); - case 'd': - return new Date(+rest); - case 'f': - var fn = function() { throw new Error("can't run jsan parsed function") }; - fn.toString = function() { return rest; }; - return fn; - case 'u': - return undefined; - case 'e': - var error = new Error(rest); - error.stack = 'Stack is unavailable for jsan parsed errors'; - return error; - case 's': - return Symbol(rest); - case 'g': - return Symbol.for(rest); - case 'm': - return new Map(jsan.parse(rest)); - case 'l': - return new Set(jsan.parse(rest)); - case 'n': - return NaN; - case 'i': - return Infinity; - case 'y': - return -Infinity; - default: - console.warn('unknown type', obj); - return obj; - } -} - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_DataView.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_DataView.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getNative = __webpack_require__(/*! ./_getNative */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js"), - root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/* Built-in method references that are verified to be native. */ -var DataView = getNative(root, 'DataView'); - -module.exports = DataView; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Hash.js": -/*!************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Hash.js ***! - \************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var hashClear = __webpack_require__(/*! ./_hashClear */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashClear.js"), - hashDelete = __webpack_require__(/*! ./_hashDelete */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashDelete.js"), - hashGet = __webpack_require__(/*! ./_hashGet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashGet.js"), - hashHas = __webpack_require__(/*! ./_hashHas */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashHas.js"), - hashSet = __webpack_require__(/*! ./_hashSet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashSet.js"); - -/** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function Hash(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `Hash`. -Hash.prototype.clear = hashClear; -Hash.prototype['delete'] = hashDelete; -Hash.prototype.get = hashGet; -Hash.prototype.has = hashHas; -Hash.prototype.set = hashSet; - -module.exports = Hash; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_ListCache.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_ListCache.js ***! - \*****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheClear.js"), - listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheDelete.js"), - listCacheGet = __webpack_require__(/*! ./_listCacheGet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheGet.js"), - listCacheHas = __webpack_require__(/*! ./_listCacheHas */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheHas.js"), - listCacheSet = __webpack_require__(/*! ./_listCacheSet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheSet.js"); - -/** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function ListCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `ListCache`. -ListCache.prototype.clear = listCacheClear; -ListCache.prototype['delete'] = listCacheDelete; -ListCache.prototype.get = listCacheGet; -ListCache.prototype.has = listCacheHas; -ListCache.prototype.set = listCacheSet; - -module.exports = ListCache; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Map.js": -/*!***********************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Map.js ***! - \***********************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getNative = __webpack_require__(/*! ./_getNative */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js"), - root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/* Built-in method references that are verified to be native. */ -var Map = getNative(root, 'Map'); - -module.exports = Map; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_MapCache.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_MapCache.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheClear.js"), - mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheDelete.js"), - mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheGet.js"), - mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheHas.js"), - mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheSet.js"); - -/** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function MapCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `MapCache`. -MapCache.prototype.clear = mapCacheClear; -MapCache.prototype['delete'] = mapCacheDelete; -MapCache.prototype.get = mapCacheGet; -MapCache.prototype.has = mapCacheHas; -MapCache.prototype.set = mapCacheSet; - -module.exports = MapCache; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Promise.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Promise.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getNative = __webpack_require__(/*! ./_getNative */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js"), - root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/* Built-in method references that are verified to be native. */ -var Promise = getNative(root, 'Promise'); - -module.exports = Promise; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Set.js": -/*!***********************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Set.js ***! - \***********************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getNative = __webpack_require__(/*! ./_getNative */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js"), - root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/* Built-in method references that are verified to be native. */ -var Set = getNative(root, 'Set'); - -module.exports = Set; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_SetCache.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_SetCache.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var MapCache = __webpack_require__(/*! ./_MapCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_MapCache.js"), - setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setCacheAdd.js"), - setCacheHas = __webpack_require__(/*! ./_setCacheHas */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setCacheHas.js"); - -/** - * - * Creates an array cache object to store unique values. - * - * @private - * @constructor - * @param {Array} [values] The values to cache. - */ -function SetCache(values) { - var index = -1, - length = values == null ? 0 : values.length; - - this.__data__ = new MapCache; - while (++index < length) { - this.add(values[index]); - } -} - -// Add methods to `SetCache`. -SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; -SetCache.prototype.has = setCacheHas; - -module.exports = SetCache; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Stack.js": -/*!*************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Stack.js ***! - \*************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var ListCache = __webpack_require__(/*! ./_ListCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_ListCache.js"), - stackClear = __webpack_require__(/*! ./_stackClear */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackClear.js"), - stackDelete = __webpack_require__(/*! ./_stackDelete */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackDelete.js"), - stackGet = __webpack_require__(/*! ./_stackGet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackGet.js"), - stackHas = __webpack_require__(/*! ./_stackHas */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackHas.js"), - stackSet = __webpack_require__(/*! ./_stackSet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackSet.js"); - -/** - * Creates a stack cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function Stack(entries) { - var data = this.__data__ = new ListCache(entries); - this.size = data.size; -} - -// Add methods to `Stack`. -Stack.prototype.clear = stackClear; -Stack.prototype['delete'] = stackDelete; -Stack.prototype.get = stackGet; -Stack.prototype.has = stackHas; -Stack.prototype.set = stackSet; - -module.exports = Stack; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Symbol.js": -/*!**************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Symbol.js ***! - \**************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/** Built-in value references. */ -var Symbol = root.Symbol; - -module.exports = Symbol; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Uint8Array.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Uint8Array.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/** Built-in value references. */ -var Uint8Array = root.Uint8Array; - -module.exports = Uint8Array; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_WeakMap.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_WeakMap.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getNative = __webpack_require__(/*! ./_getNative */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js"), - root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/* Built-in method references that are verified to be native. */ -var WeakMap = getNative(root, 'WeakMap'); - -module.exports = WeakMap; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_apply.js": -/*!*************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_apply.js ***! - \*************************************************************************************************/ -/***/ ((module) => { - -/** - * A faster alternative to `Function#apply`, this function invokes `func` - * with the `this` binding of `thisArg` and the arguments of `args`. - * - * @private - * @param {Function} func The function to invoke. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} args The arguments to invoke `func` with. - * @returns {*} Returns the result of `func`. - */ -function apply(func, thisArg, args) { - switch (args.length) { - case 0: return func.call(thisArg); - case 1: return func.call(thisArg, args[0]); - case 2: return func.call(thisArg, args[0], args[1]); - case 3: return func.call(thisArg, args[0], args[1], args[2]); - } - return func.apply(thisArg, args); -} - -module.exports = apply; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayFilter.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayFilter.js ***! - \*******************************************************************************************************/ -/***/ ((module) => { - -/** - * A specialized version of `_.filter` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ -function arrayFilter(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result[resIndex++] = value; - } - } - return result; -} - -module.exports = arrayFilter; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayIncludes.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayIncludes.js ***! - \*********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseIndexOf = __webpack_require__(/*! ./_baseIndexOf */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIndexOf.js"); - -/** - * A specialized version of `_.includes` for arrays without support for - * specifying an index to search from. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ -function arrayIncludes(array, value) { - var length = array == null ? 0 : array.length; - return !!length && baseIndexOf(array, value, 0) > -1; -} - -module.exports = arrayIncludes; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayIncludesWith.js": -/*!*************************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayIncludesWith.js ***! - \*************************************************************************************************************/ -/***/ ((module) => { - -/** - * This function is like `arrayIncludes` except that it accepts a comparator. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @param {Function} comparator The comparator invoked per element. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ -function arrayIncludesWith(array, value, comparator) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (comparator(value, array[index])) { - return true; - } - } - return false; -} - -module.exports = arrayIncludesWith; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayLikeKeys.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayLikeKeys.js ***! - \*********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseTimes = __webpack_require__(/*! ./_baseTimes */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseTimes.js"), - isArguments = __webpack_require__(/*! ./isArguments */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArguments.js"), - isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"), - isBuffer = __webpack_require__(/*! ./isBuffer */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isBuffer.js"), - isIndex = __webpack_require__(/*! ./_isIndex */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isIndex.js"), - isTypedArray = __webpack_require__(/*! ./isTypedArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isTypedArray.js"); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Creates an array of the enumerable property names of the array-like `value`. - * - * @private - * @param {*} value The value to query. - * @param {boolean} inherited Specify returning inherited property names. - * @returns {Array} Returns the array of property names. - */ -function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), - isArg = !isArr && isArguments(value), - isBuff = !isArr && !isArg && isBuffer(value), - isType = !isArr && !isArg && !isBuff && isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? baseTimes(value.length, String) : [], - length = result.length; - - for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && - !(skipIndexes && ( - // Safari 9 has enumerable `arguments.length` in strict mode. - key == 'length' || - // Node.js 0.10 has enumerable non-index properties on buffers. - (isBuff && (key == 'offset' || key == 'parent')) || - // PhantomJS 2 has enumerable non-index properties on typed arrays. - (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || - // Skip index properties. - isIndex(key, length) - ))) { - result.push(key); - } - } - return result; -} - -module.exports = arrayLikeKeys; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayMap.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayMap.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** - * A specialized version of `_.map` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ -function arrayMap(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length, - result = Array(length); - - while (++index < length) { - result[index] = iteratee(array[index], index, array); - } - return result; -} - -module.exports = arrayMap; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayPush.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayPush.js ***! - \*****************************************************************************************************/ -/***/ ((module) => { - -/** - * Appends the elements of `values` to `array`. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to append. - * @returns {Array} Returns `array`. - */ -function arrayPush(array, values) { - var index = -1, - length = values.length, - offset = array.length; - - while (++index < length) { - array[offset + index] = values[index]; - } - return array; -} - -module.exports = arrayPush; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arraySome.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arraySome.js ***! - \*****************************************************************************************************/ -/***/ ((module) => { - -/** - * A specialized version of `_.some` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ -function arraySome(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (predicate(array[index], index, array)) { - return true; - } - } - return false; -} - -module.exports = arraySome; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_assocIndexOf.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_assocIndexOf.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var eq = __webpack_require__(/*! ./eq */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/eq.js"); - -/** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; - } - } - return -1; -} - -module.exports = assocIndexOf; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseAssignValue.js": -/*!***********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseAssignValue.js ***! - \***********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var defineProperty = __webpack_require__(/*! ./_defineProperty */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_defineProperty.js"); - -/** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ -function baseAssignValue(object, key, value) { - if (key == '__proto__' && defineProperty) { - defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } -} - -module.exports = baseAssignValue; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseDifference.js": -/*!**********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseDifference.js ***! - \**********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var SetCache = __webpack_require__(/*! ./_SetCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_SetCache.js"), - arrayIncludes = __webpack_require__(/*! ./_arrayIncludes */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayIncludes.js"), - arrayIncludesWith = __webpack_require__(/*! ./_arrayIncludesWith */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayIncludesWith.js"), - arrayMap = __webpack_require__(/*! ./_arrayMap */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayMap.js"), - baseUnary = __webpack_require__(/*! ./_baseUnary */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseUnary.js"), - cacheHas = __webpack_require__(/*! ./_cacheHas */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_cacheHas.js"); - -/** Used as the size to enable large array optimizations. */ -var LARGE_ARRAY_SIZE = 200; - -/** - * The base implementation of methods like `_.difference` without support - * for excluding multiple arrays or iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Array} values The values to exclude. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - */ -function baseDifference(array, values, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - isCommon = true, - length = array.length, - result = [], - valuesLength = values.length; - - if (!length) { - return result; - } - if (iteratee) { - values = arrayMap(values, baseUnary(iteratee)); - } - if (comparator) { - includes = arrayIncludesWith; - isCommon = false; - } - else if (values.length >= LARGE_ARRAY_SIZE) { - includes = cacheHas; - isCommon = false; - values = new SetCache(values); - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee == null ? value : iteratee(value); - - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var valuesIndex = valuesLength; - while (valuesIndex--) { - if (values[valuesIndex] === computed) { - continue outer; - } - } - result.push(value); - } - else if (!includes(values, computed, comparator)) { - result.push(value); - } - } - return result; -} - -module.exports = baseDifference; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFindIndex.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFindIndex.js ***! - \*********************************************************************************************************/ -/***/ ((module) => { - -/** - * The base implementation of `_.findIndex` and `_.findLastIndex` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {number} fromIndex The index to search from. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function baseFindIndex(array, predicate, fromIndex, fromRight) { - var length = array.length, - index = fromIndex + (fromRight ? 1 : -1); - - while ((fromRight ? index-- : ++index < length)) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; -} - -module.exports = baseFindIndex; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFlatten.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFlatten.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var arrayPush = __webpack_require__(/*! ./_arrayPush */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayPush.js"), - isFlattenable = __webpack_require__(/*! ./_isFlattenable */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isFlattenable.js"); - -/** - * The base implementation of `_.flatten` with support for restricting flattening. - * - * @private - * @param {Array} array The array to flatten. - * @param {number} depth The maximum recursion depth. - * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. - * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. - * @param {Array} [result=[]] The initial result value. - * @returns {Array} Returns the new flattened array. - */ -function baseFlatten(array, depth, predicate, isStrict, result) { - var index = -1, - length = array.length; - - predicate || (predicate = isFlattenable); - result || (result = []); - - while (++index < length) { - var value = array[index]; - if (depth > 0 && predicate(value)) { - if (depth > 1) { - // Recursively flatten arrays (susceptible to call stack limits). - baseFlatten(value, depth - 1, predicate, isStrict, result); - } else { - arrayPush(result, value); - } - } else if (!isStrict) { - result[result.length] = value; - } - } - return result; -} - -module.exports = baseFlatten; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFor.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFor.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_createBaseFor.js"); - -/** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ -var baseFor = createBaseFor(); - -module.exports = baseFor; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseForOwn.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseForOwn.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseFor = __webpack_require__(/*! ./_baseFor */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFor.js"), - keys = __webpack_require__(/*! ./keys */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/keys.js"); - -/** - * The base implementation of `_.forOwn` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ -function baseForOwn(object, iteratee) { - return object && baseFor(object, iteratee, keys); -} - -module.exports = baseForOwn; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGet.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGet.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var castPath = __webpack_require__(/*! ./_castPath */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_castPath.js"), - toKey = __webpack_require__(/*! ./_toKey */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toKey.js"); - -/** - * The base implementation of `_.get` without support for default values. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @returns {*} Returns the resolved value. - */ -function baseGet(object, path) { - path = castPath(path, object); - - var index = 0, - length = path.length; - - while (object != null && index < length) { - object = object[toKey(path[index++])]; - } - return (index && index == length) ? object : undefined; -} - -module.exports = baseGet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetAllKeys.js": -/*!**********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetAllKeys.js ***! - \**********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var arrayPush = __webpack_require__(/*! ./_arrayPush */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayPush.js"), - isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"); - -/** - * The base implementation of `getAllKeys` and `getAllKeysIn` which uses - * `keysFunc` and `symbolsFunc` to get the enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Function} keysFunc The function to get the keys of `object`. - * @param {Function} symbolsFunc The function to get the symbols of `object`. - * @returns {Array} Returns the array of property names and symbols. - */ -function baseGetAllKeys(object, keysFunc, symbolsFunc) { - var result = keysFunc(object); - return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); -} - -module.exports = baseGetAllKeys; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetTag.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetTag.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Symbol = __webpack_require__(/*! ./_Symbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Symbol.js"), - getRawTag = __webpack_require__(/*! ./_getRawTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getRawTag.js"), - objectToString = __webpack_require__(/*! ./_objectToString */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_objectToString.js"); - -/** `Object#toString` result references. */ -var nullTag = '[object Null]', - undefinedTag = '[object Undefined]'; - -/** Built-in value references. */ -var symToStringTag = Symbol ? Symbol.toStringTag : undefined; - -/** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ -function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); -} - -module.exports = baseGetTag; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseHasIn.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseHasIn.js ***! - \*****************************************************************************************************/ -/***/ ((module) => { - -/** - * The base implementation of `_.hasIn` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ -function baseHasIn(object, key) { - return object != null && key in Object(object); -} - -module.exports = baseHasIn; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIndexOf.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIndexOf.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseFindIndex = __webpack_require__(/*! ./_baseFindIndex */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFindIndex.js"), - baseIsNaN = __webpack_require__(/*! ./_baseIsNaN */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsNaN.js"), - strictIndexOf = __webpack_require__(/*! ./_strictIndexOf */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_strictIndexOf.js"); - -/** - * The base implementation of `_.indexOf` without `fromIndex` bounds checks. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function baseIndexOf(array, value, fromIndex) { - return value === value - ? strictIndexOf(array, value, fromIndex) - : baseFindIndex(array, baseIsNaN, fromIndex); -} - -module.exports = baseIndexOf; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsArguments.js": -/*!***********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsArguments.js ***! - \***********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetTag.js"), - isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js"); - -/** `Object#toString` result references. */ -var argsTag = '[object Arguments]'; - -/** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ -function baseIsArguments(value) { - return isObjectLike(value) && baseGetTag(value) == argsTag; -} - -module.exports = baseIsArguments; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsEqual.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsEqual.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseIsEqualDeep = __webpack_require__(/*! ./_baseIsEqualDeep */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsEqualDeep.js"), - isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js"); - -/** - * The base implementation of `_.isEqual` which supports partial comparisons - * and tracks traversed objects. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {boolean} bitmask The bitmask flags. - * 1 - Unordered comparison - * 2 - Partial comparison - * @param {Function} [customizer] The function to customize comparisons. - * @param {Object} [stack] Tracks traversed `value` and `other` objects. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - */ -function baseIsEqual(value, other, bitmask, customizer, stack) { - if (value === other) { - return true; - } - if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { - return value !== value && other !== other; - } - return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); -} - -module.exports = baseIsEqual; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsEqualDeep.js": -/*!***********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsEqualDeep.js ***! - \***********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Stack = __webpack_require__(/*! ./_Stack */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Stack.js"), - equalArrays = __webpack_require__(/*! ./_equalArrays */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalArrays.js"), - equalByTag = __webpack_require__(/*! ./_equalByTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalByTag.js"), - equalObjects = __webpack_require__(/*! ./_equalObjects */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalObjects.js"), - getTag = __webpack_require__(/*! ./_getTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getTag.js"), - isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"), - isBuffer = __webpack_require__(/*! ./isBuffer */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isBuffer.js"), - isTypedArray = __webpack_require__(/*! ./isTypedArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isTypedArray.js"); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1; - -/** `Object#toString` result references. */ -var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - objectTag = '[object Object]'; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * A specialized version of `baseIsEqual` for arrays and objects which performs - * deep comparisons and tracks traversed objects enabling objects with circular - * references to be compared. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} [stack] Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ -function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = objIsArr ? arrayTag : getTag(object), - othTag = othIsArr ? arrayTag : getTag(other); - - objTag = objTag == argsTag ? objectTag : objTag; - othTag = othTag == argsTag ? objectTag : othTag; - - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; - - if (isSameTag && isBuffer(object)) { - if (!isBuffer(other)) { - return false; - } - objIsArr = true; - objIsObj = false; - } - if (isSameTag && !objIsObj) { - stack || (stack = new Stack); - return (objIsArr || isTypedArray(object)) - ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) - : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); - } - if (!(bitmask & COMPARE_PARTIAL_FLAG)) { - var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), - othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); - - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; - - stack || (stack = new Stack); - return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); - } - } - if (!isSameTag) { - return false; - } - stack || (stack = new Stack); - return equalObjects(object, other, bitmask, customizer, equalFunc, stack); -} - -module.exports = baseIsEqualDeep; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsMatch.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsMatch.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Stack = __webpack_require__(/*! ./_Stack */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Stack.js"), - baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsEqual.js"); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - -/** - * The base implementation of `_.isMatch` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Array} matchData The property names, values, and compare flags to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - */ -function baseIsMatch(object, source, matchData, customizer) { - var index = matchData.length, - length = index, - noCustomizer = !customizer; - - if (object == null) { - return !length; - } - object = Object(object); - while (index--) { - var data = matchData[index]; - if ((noCustomizer && data[2]) - ? data[1] !== object[data[0]] - : !(data[0] in object) - ) { - return false; - } - } - while (++index < length) { - data = matchData[index]; - var key = data[0], - objValue = object[key], - srcValue = data[1]; - - if (noCustomizer && data[2]) { - if (objValue === undefined && !(key in object)) { - return false; - } - } else { - var stack = new Stack; - if (customizer) { - var result = customizer(objValue, srcValue, key, object, source, stack); - } - if (!(result === undefined - ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) - : result - )) { - return false; - } - } - } - return true; -} - -module.exports = baseIsMatch; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsNaN.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsNaN.js ***! - \*****************************************************************************************************/ -/***/ ((module) => { - -/** - * The base implementation of `_.isNaN` without support for number objects. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - */ -function baseIsNaN(value) { - return value !== value; -} - -module.exports = baseIsNaN; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsNative.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsNative.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isFunction = __webpack_require__(/*! ./isFunction */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isFunction.js"), - isMasked = __webpack_require__(/*! ./_isMasked */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isMasked.js"), - isObject = __webpack_require__(/*! ./isObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObject.js"), - toSource = __webpack_require__(/*! ./_toSource */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toSource.js"); - -/** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ -var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; - -/** Used to detect host constructors (Safari). */ -var reIsHostCtor = /^\[object .+?Constructor\]$/; - -/** Used for built-in method references. */ -var funcProto = Function.prototype, - objectProto = Object.prototype; - -/** Used to resolve the decompiled source of functions. */ -var funcToString = funcProto.toString; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** Used to detect if a method is native. */ -var reIsNative = RegExp('^' + - funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' -); - -/** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ -function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; - } - var pattern = isFunction(value) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); -} - -module.exports = baseIsNative; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsTypedArray.js": -/*!************************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsTypedArray.js ***! - \************************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetTag.js"), - isLength = __webpack_require__(/*! ./isLength */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isLength.js"), - isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js"); - -/** `Object#toString` result references. */ -var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - funcTag = '[object Function]', - mapTag = '[object Map]', - numberTag = '[object Number]', - objectTag = '[object Object]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - weakMapTag = '[object WeakMap]'; - -var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - -/** Used to identify `toStringTag` values of typed arrays. */ -var typedArrayTags = {}; -typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = -typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = -typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = -typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = -typedArrayTags[uint32Tag] = true; -typedArrayTags[argsTag] = typedArrayTags[arrayTag] = -typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = -typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = -typedArrayTags[errorTag] = typedArrayTags[funcTag] = -typedArrayTags[mapTag] = typedArrayTags[numberTag] = -typedArrayTags[objectTag] = typedArrayTags[regexpTag] = -typedArrayTags[setTag] = typedArrayTags[stringTag] = -typedArrayTags[weakMapTag] = false; - -/** - * The base implementation of `_.isTypedArray` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - */ -function baseIsTypedArray(value) { - return isObjectLike(value) && - isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; -} - -module.exports = baseIsTypedArray; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIteratee.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIteratee.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseMatches = __webpack_require__(/*! ./_baseMatches */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseMatches.js"), - baseMatchesProperty = __webpack_require__(/*! ./_baseMatchesProperty */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseMatchesProperty.js"), - identity = __webpack_require__(/*! ./identity */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/identity.js"), - isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"), - property = __webpack_require__(/*! ./property */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/property.js"); - -/** - * The base implementation of `_.iteratee`. - * - * @private - * @param {*} [value=_.identity] The value to convert to an iteratee. - * @returns {Function} Returns the iteratee. - */ -function baseIteratee(value) { - // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. - // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. - if (typeof value == 'function') { - return value; - } - if (value == null) { - return identity; - } - if (typeof value == 'object') { - return isArray(value) - ? baseMatchesProperty(value[0], value[1]) - : baseMatches(value); - } - return property(value); -} - -module.exports = baseIteratee; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseKeys.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseKeys.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isPrototype = __webpack_require__(/*! ./_isPrototype */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isPrototype.js"), - nativeKeys = __webpack_require__(/*! ./_nativeKeys */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeKeys.js"); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ -function baseKeys(object) { - if (!isPrototype(object)) { - return nativeKeys(object); - } - var result = []; - for (var key in Object(object)) { - if (hasOwnProperty.call(object, key) && key != 'constructor') { - result.push(key); - } - } - return result; -} - -module.exports = baseKeys; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseMatches.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseMatches.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsMatch.js"), - getMatchData = __webpack_require__(/*! ./_getMatchData */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMatchData.js"), - matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_matchesStrictComparable.js"); - -/** - * The base implementation of `_.matches` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new spec function. - */ -function baseMatches(source) { - var matchData = getMatchData(source); - if (matchData.length == 1 && matchData[0][2]) { - return matchesStrictComparable(matchData[0][0], matchData[0][1]); - } - return function(object) { - return object === source || baseIsMatch(object, source, matchData); - }; -} - -module.exports = baseMatches; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseMatchesProperty.js": -/*!***************************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseMatchesProperty.js ***! - \***************************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsEqual.js"), - get = __webpack_require__(/*! ./get */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/get.js"), - hasIn = __webpack_require__(/*! ./hasIn */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/hasIn.js"), - isKey = __webpack_require__(/*! ./_isKey */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isKey.js"), - isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isStrictComparable.js"), - matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_matchesStrictComparable.js"), - toKey = __webpack_require__(/*! ./_toKey */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toKey.js"); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - -/** - * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. - * - * @private - * @param {string} path The path of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ -function baseMatchesProperty(path, srcValue) { - if (isKey(path) && isStrictComparable(srcValue)) { - return matchesStrictComparable(toKey(path), srcValue); - } - return function(object) { - var objValue = get(object, path); - return (objValue === undefined && objValue === srcValue) - ? hasIn(object, path) - : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); - }; -} - -module.exports = baseMatchesProperty; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseProperty.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseProperty.js ***! - \********************************************************************************************************/ -/***/ ((module) => { - -/** - * The base implementation of `_.property` without support for deep paths. - * - * @private - * @param {string} key The key of the property to get. - * @returns {Function} Returns the new accessor function. - */ -function baseProperty(key) { - return function(object) { - return object == null ? undefined : object[key]; - }; -} - -module.exports = baseProperty; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_basePropertyDeep.js": -/*!************************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_basePropertyDeep.js ***! - \************************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseGet = __webpack_require__(/*! ./_baseGet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGet.js"); - -/** - * A specialized version of `baseProperty` which supports deep paths. - * - * @private - * @param {Array|string} path The path of the property to get. - * @returns {Function} Returns the new accessor function. - */ -function basePropertyDeep(path) { - return function(object) { - return baseGet(object, path); - }; -} - -module.exports = basePropertyDeep; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseRest.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseRest.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var identity = __webpack_require__(/*! ./identity */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/identity.js"), - overRest = __webpack_require__(/*! ./_overRest */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_overRest.js"), - setToString = __webpack_require__(/*! ./_setToString */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setToString.js"); - -/** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ -function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); -} - -module.exports = baseRest; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseSetToString.js": -/*!***********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseSetToString.js ***! - \***********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var constant = __webpack_require__(/*! ./constant */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/constant.js"), - defineProperty = __webpack_require__(/*! ./_defineProperty */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_defineProperty.js"), - identity = __webpack_require__(/*! ./identity */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/identity.js"); - -/** - * The base implementation of `setToString` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ -var baseSetToString = !defineProperty ? identity : function(func, string) { - return defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': constant(string), - 'writable': true - }); -}; - -module.exports = baseSetToString; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseTimes.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseTimes.js ***! - \*****************************************************************************************************/ -/***/ ((module) => { - -/** - * The base implementation of `_.times` without support for iteratee shorthands - * or max array length checks. - * - * @private - * @param {number} n The number of times to invoke `iteratee`. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the array of results. - */ -function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); - - while (++index < n) { - result[index] = iteratee(index); - } - return result; -} - -module.exports = baseTimes; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseToString.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseToString.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Symbol = __webpack_require__(/*! ./_Symbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Symbol.js"), - arrayMap = __webpack_require__(/*! ./_arrayMap */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayMap.js"), - isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"), - isSymbol = __webpack_require__(/*! ./isSymbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isSymbol.js"); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** Used to convert symbols to primitives and strings. */ -var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolToString = symbolProto ? symbolProto.toString : undefined; - -/** - * The base implementation of `_.toString` which doesn't convert nullish - * values to empty strings. - * - * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. - */ -function baseToString(value) { - // Exit early for strings to avoid a performance hit in some environments. - if (typeof value == 'string') { - return value; - } - if (isArray(value)) { - // Recursively convert values (susceptible to call stack limits). - return arrayMap(value, baseToString) + ''; - } - if (isSymbol(value)) { - return symbolToString ? symbolToString.call(value) : ''; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; -} - -module.exports = baseToString; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseTrim.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseTrim.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var trimmedEndIndex = __webpack_require__(/*! ./_trimmedEndIndex */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_trimmedEndIndex.js"); - -/** Used to match leading whitespace. */ -var reTrimStart = /^\s+/; - -/** - * The base implementation of `_.trim`. - * - * @private - * @param {string} string The string to trim. - * @returns {string} Returns the trimmed string. - */ -function baseTrim(string) { - return string - ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') - : string; -} - -module.exports = baseTrim; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseUnary.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseUnary.js ***! - \*****************************************************************************************************/ -/***/ ((module) => { - -/** - * The base implementation of `_.unary` without support for storing metadata. - * - * @private - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - */ -function baseUnary(func) { - return function(value) { - return func(value); - }; -} - -module.exports = baseUnary; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseUniq.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseUniq.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var SetCache = __webpack_require__(/*! ./_SetCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_SetCache.js"), - arrayIncludes = __webpack_require__(/*! ./_arrayIncludes */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayIncludes.js"), - arrayIncludesWith = __webpack_require__(/*! ./_arrayIncludesWith */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayIncludesWith.js"), - cacheHas = __webpack_require__(/*! ./_cacheHas */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_cacheHas.js"), - createSet = __webpack_require__(/*! ./_createSet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_createSet.js"), - setToArray = __webpack_require__(/*! ./_setToArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setToArray.js"); - -/** Used as the size to enable large array optimizations. */ -var LARGE_ARRAY_SIZE = 200; - -/** - * The base implementation of `_.uniqBy` without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ -function baseUniq(array, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - length = array.length, - isCommon = true, - result = [], - seen = result; - - if (comparator) { - isCommon = false; - includes = arrayIncludesWith; - } - else if (length >= LARGE_ARRAY_SIZE) { - var set = iteratee ? null : createSet(array); - if (set) { - return setToArray(set); - } - isCommon = false; - includes = cacheHas; - seen = new SetCache; - } - else { - seen = iteratee ? [] : result; - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } - else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); - } - result.push(value); - } - } - return result; -} - -module.exports = baseUniq; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_cacheHas.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_cacheHas.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** - * Checks if a `cache` value for `key` exists. - * - * @private - * @param {Object} cache The cache to query. - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function cacheHas(cache, key) { - return cache.has(key); -} - -module.exports = cacheHas; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_castPath.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_castPath.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"), - isKey = __webpack_require__(/*! ./_isKey */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isKey.js"), - stringToPath = __webpack_require__(/*! ./_stringToPath */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stringToPath.js"), - toString = __webpack_require__(/*! ./toString */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/toString.js"); - -/** - * Casts `value` to a path array if it's not one. - * - * @private - * @param {*} value The value to inspect. - * @param {Object} [object] The object to query keys on. - * @returns {Array} Returns the cast property path array. - */ -function castPath(value, object) { - if (isArray(value)) { - return value; - } - return isKey(value, object) ? [value] : stringToPath(toString(value)); -} - -module.exports = castPath; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_coreJsData.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_coreJsData.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/** Used to detect overreaching core-js shims. */ -var coreJsData = root['__core-js_shared__']; - -module.exports = coreJsData; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_createBaseFor.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_createBaseFor.js ***! - \*********************************************************************************************************/ -/***/ ((module) => { - -/** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ -function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; -} - -module.exports = createBaseFor; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_createSet.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_createSet.js ***! - \*****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Set = __webpack_require__(/*! ./_Set */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Set.js"), - noop = __webpack_require__(/*! ./noop */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/noop.js"), - setToArray = __webpack_require__(/*! ./_setToArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setToArray.js"); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** - * Creates a set object of `values`. - * - * @private - * @param {Array} values The values to add to the set. - * @returns {Object} Returns the new set. - */ -var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { - return new Set(values); -}; - -module.exports = createSet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_defineProperty.js": -/*!**********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_defineProperty.js ***! - \**********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getNative = __webpack_require__(/*! ./_getNative */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js"); - -var defineProperty = (function() { - try { - var func = getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} -}()); - -module.exports = defineProperty; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalArrays.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalArrays.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var SetCache = __webpack_require__(/*! ./_SetCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_SetCache.js"), - arraySome = __webpack_require__(/*! ./_arraySome */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arraySome.js"), - cacheHas = __webpack_require__(/*! ./_cacheHas */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_cacheHas.js"); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - -/** - * A specialized version of `baseIsEqualDeep` for arrays with support for - * partial deep comparisons. - * - * @private - * @param {Array} array The array to compare. - * @param {Array} other The other array to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `array` and `other` objects. - * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. - */ -function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - arrLength = array.length, - othLength = other.length; - - if (arrLength != othLength && !(isPartial && othLength > arrLength)) { - return false; - } - // Check that cyclic values are equal. - var arrStacked = stack.get(array); - var othStacked = stack.get(other); - if (arrStacked && othStacked) { - return arrStacked == other && othStacked == array; - } - var index = -1, - result = true, - seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; - - stack.set(array, other); - stack.set(other, array); - - // Ignore non-index properties. - while (++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, arrValue, index, other, array, stack) - : customizer(arrValue, othValue, index, array, other, stack); - } - if (compared !== undefined) { - if (compared) { - continue; - } - result = false; - break; - } - // Recursively compare arrays (susceptible to call stack limits). - if (seen) { - if (!arraySome(other, function(othValue, othIndex) { - if (!cacheHas(seen, othIndex) && - (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { - return seen.push(othIndex); - } - })) { - result = false; - break; - } - } else if (!( - arrValue === othValue || - equalFunc(arrValue, othValue, bitmask, customizer, stack) - )) { - result = false; - break; - } - } - stack['delete'](array); - stack['delete'](other); - return result; -} - -module.exports = equalArrays; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalByTag.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalByTag.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Symbol = __webpack_require__(/*! ./_Symbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Symbol.js"), - Uint8Array = __webpack_require__(/*! ./_Uint8Array */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Uint8Array.js"), - eq = __webpack_require__(/*! ./eq */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/eq.js"), - equalArrays = __webpack_require__(/*! ./_equalArrays */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalArrays.js"), - mapToArray = __webpack_require__(/*! ./_mapToArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapToArray.js"), - setToArray = __webpack_require__(/*! ./_setToArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setToArray.js"); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - -/** `Object#toString` result references. */ -var boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - mapTag = '[object Map]', - numberTag = '[object Number]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]'; - -var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]'; - -/** Used to convert symbols to primitives and strings. */ -var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; - -/** - * A specialized version of `baseIsEqualDeep` for comparing objects of - * the same `toStringTag`. - * - * **Note:** This function only supports comparing values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {string} tag The `toStringTag` of the objects to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ -function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { - switch (tag) { - case dataViewTag: - if ((object.byteLength != other.byteLength) || - (object.byteOffset != other.byteOffset)) { - return false; - } - object = object.buffer; - other = other.buffer; - - case arrayBufferTag: - if ((object.byteLength != other.byteLength) || - !equalFunc(new Uint8Array(object), new Uint8Array(other))) { - return false; - } - return true; - - case boolTag: - case dateTag: - case numberTag: - // Coerce booleans to `1` or `0` and dates to milliseconds. - // Invalid dates are coerced to `NaN`. - return eq(+object, +other); - - case errorTag: - return object.name == other.name && object.message == other.message; - - case regexpTag: - case stringTag: - // Coerce regexes to strings and treat strings, primitives and objects, - // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring - // for more details. - return object == (other + ''); - - case mapTag: - var convert = mapToArray; - - case setTag: - var isPartial = bitmask & COMPARE_PARTIAL_FLAG; - convert || (convert = setToArray); - - if (object.size != other.size && !isPartial) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked) { - return stacked == other; - } - bitmask |= COMPARE_UNORDERED_FLAG; - - // Recursively compare objects (susceptible to call stack limits). - stack.set(object, other); - var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); - stack['delete'](object); - return result; - - case symbolTag: - if (symbolValueOf) { - return symbolValueOf.call(object) == symbolValueOf.call(other); - } - } - return false; -} - -module.exports = equalByTag; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalObjects.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_equalObjects.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getAllKeys = __webpack_require__(/*! ./_getAllKeys */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getAllKeys.js"); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * A specialized version of `baseIsEqualDeep` for objects with support for - * partial deep comparisons. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ -function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - objProps = getAllKeys(object), - objLength = objProps.length, - othProps = getAllKeys(other), - othLength = othProps.length; - - if (objLength != othLength && !isPartial) { - return false; - } - var index = objLength; - while (index--) { - var key = objProps[index]; - if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { - return false; - } - } - // Check that cyclic values are equal. - var objStacked = stack.get(object); - var othStacked = stack.get(other); - if (objStacked && othStacked) { - return objStacked == other && othStacked == object; - } - var result = true; - stack.set(object, other); - stack.set(other, object); - - var skipCtor = isPartial; - while (++index < objLength) { - key = objProps[index]; - var objValue = object[key], - othValue = other[key]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, objValue, key, other, object, stack) - : customizer(objValue, othValue, key, object, other, stack); - } - // Recursively compare objects (susceptible to call stack limits). - if (!(compared === undefined - ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) - : compared - )) { - result = false; - break; - } - skipCtor || (skipCtor = key == 'constructor'); - } - if (result && !skipCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - - // Non `Object` object instances with different constructors are not equal. - if (objCtor != othCtor && - ('constructor' in object && 'constructor' in other) && - !(typeof objCtor == 'function' && objCtor instanceof objCtor && - typeof othCtor == 'function' && othCtor instanceof othCtor)) { - result = false; - } - } - stack['delete'](object); - stack['delete'](other); - return result; -} - -module.exports = equalObjects; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_freeGlobal.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_freeGlobal.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/** Detect free variable `global` from Node.js. */ -var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g; - -module.exports = freeGlobal; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getAllKeys.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getAllKeys.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetAllKeys.js"), - getSymbols = __webpack_require__(/*! ./_getSymbols */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getSymbols.js"), - keys = __webpack_require__(/*! ./keys */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/keys.js"); - -/** - * Creates an array of own enumerable property names and symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ -function getAllKeys(object) { - return baseGetAllKeys(object, keys, getSymbols); -} - -module.exports = getAllKeys; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMapData.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMapData.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isKeyable = __webpack_require__(/*! ./_isKeyable */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isKeyable.js"); - -/** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ -function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; -} - -module.exports = getMapData; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMatchData.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMatchData.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isStrictComparable.js"), - keys = __webpack_require__(/*! ./keys */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/keys.js"); - -/** - * Gets the property names, values, and compare flags of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the match data of `object`. - */ -function getMatchData(object) { - var result = keys(object), - length = result.length; - - while (length--) { - var key = result[length], - value = object[key]; - - result[length] = [key, value, isStrictComparable(value)]; - } - return result; -} - -module.exports = getMatchData; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js ***! - \*****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsNative.js"), - getValue = __webpack_require__(/*! ./_getValue */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getValue.js"); - -/** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ -function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; -} - -module.exports = getNative; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getPrototype.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getPrototype.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var overArg = __webpack_require__(/*! ./_overArg */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_overArg.js"); - -/** Built-in value references. */ -var getPrototype = overArg(Object.getPrototypeOf, Object); - -module.exports = getPrototype; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getRawTag.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getRawTag.js ***! - \*****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Symbol = __webpack_require__(/*! ./_Symbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Symbol.js"); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ -var nativeObjectToString = objectProto.toString; - -/** Built-in value references. */ -var symToStringTag = Symbol ? Symbol.toStringTag : undefined; - -/** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ -function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; -} - -module.exports = getRawTag; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getSymbols.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getSymbols.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayFilter.js"), - stubArray = __webpack_require__(/*! ./stubArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/stubArray.js"); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Built-in value references. */ -var propertyIsEnumerable = objectProto.propertyIsEnumerable; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeGetSymbols = Object.getOwnPropertySymbols; - -/** - * Creates an array of the own enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ -var getSymbols = !nativeGetSymbols ? stubArray : function(object) { - if (object == null) { - return []; - } - object = Object(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { - return propertyIsEnumerable.call(object, symbol); - }); -}; - -module.exports = getSymbols; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getTag.js": -/*!**************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getTag.js ***! - \**************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var DataView = __webpack_require__(/*! ./_DataView */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_DataView.js"), - Map = __webpack_require__(/*! ./_Map */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Map.js"), - Promise = __webpack_require__(/*! ./_Promise */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Promise.js"), - Set = __webpack_require__(/*! ./_Set */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Set.js"), - WeakMap = __webpack_require__(/*! ./_WeakMap */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_WeakMap.js"), - baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetTag.js"), - toSource = __webpack_require__(/*! ./_toSource */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toSource.js"); - -/** `Object#toString` result references. */ -var mapTag = '[object Map]', - objectTag = '[object Object]', - promiseTag = '[object Promise]', - setTag = '[object Set]', - weakMapTag = '[object WeakMap]'; - -var dataViewTag = '[object DataView]'; - -/** Used to detect maps, sets, and weakmaps. */ -var dataViewCtorString = toSource(DataView), - mapCtorString = toSource(Map), - promiseCtorString = toSource(Promise), - setCtorString = toSource(Set), - weakMapCtorString = toSource(WeakMap); - -/** - * Gets the `toStringTag` of `value`. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ -var getTag = baseGetTag; - -// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. -if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || - (Map && getTag(new Map) != mapTag) || - (Promise && getTag(Promise.resolve()) != promiseTag) || - (Set && getTag(new Set) != setTag) || - (WeakMap && getTag(new WeakMap) != weakMapTag)) { - getTag = function(value) { - var result = baseGetTag(value), - Ctor = result == objectTag ? value.constructor : undefined, - ctorString = Ctor ? toSource(Ctor) : ''; - - if (ctorString) { - switch (ctorString) { - case dataViewCtorString: return dataViewTag; - case mapCtorString: return mapTag; - case promiseCtorString: return promiseTag; - case setCtorString: return setTag; - case weakMapCtorString: return weakMapTag; - } - } - return result; - }; -} - -module.exports = getTag; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getValue.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getValue.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ -function getValue(object, key) { - return object == null ? undefined : object[key]; -} - -module.exports = getValue; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hasPath.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hasPath.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var castPath = __webpack_require__(/*! ./_castPath */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_castPath.js"), - isArguments = __webpack_require__(/*! ./isArguments */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArguments.js"), - isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"), - isIndex = __webpack_require__(/*! ./_isIndex */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isIndex.js"), - isLength = __webpack_require__(/*! ./isLength */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isLength.js"), - toKey = __webpack_require__(/*! ./_toKey */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toKey.js"); - -/** - * Checks if `path` exists on `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @param {Function} hasFunc The function to check properties. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - */ -function hasPath(object, path, hasFunc) { - path = castPath(path, object); - - var index = -1, - length = path.length, - result = false; - - while (++index < length) { - var key = toKey(path[index]); - if (!(result = object != null && hasFunc(object, key))) { - break; - } - object = object[key]; - } - if (result || ++index != length) { - return result; - } - length = object == null ? 0 : object.length; - return !!length && isLength(length) && isIndex(key, length) && - (isArray(object) || isArguments(object)); -} - -module.exports = hasPath; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashClear.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashClear.js ***! - \*****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeCreate.js"); - -/** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ -function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; - this.size = 0; -} - -module.exports = hashClear; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashDelete.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashDelete.js ***! - \******************************************************************************************************/ -/***/ ((module) => { - -/** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - this.size -= result ? 1 : 0; - return result; -} - -module.exports = hashDelete; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashGet.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashGet.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeCreate.js"); - -/** Used to stand-in for `undefined` hash values. */ -var HASH_UNDEFINED = '__lodash_hash_undefined__'; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; -} - -module.exports = hashGet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashHas.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashHas.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeCreate.js"); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function hashHas(key) { - var data = this.__data__; - return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); -} - -module.exports = hashHas; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashSet.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hashSet.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeCreate.js"); - -/** Used to stand-in for `undefined` hash values. */ -var HASH_UNDEFINED = '__lodash_hash_undefined__'; - -/** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ -function hashSet(key, value) { - var data = this.__data__; - this.size += this.has(key) ? 0 : 1; - data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; - return this; -} - -module.exports = hashSet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isFlattenable.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isFlattenable.js ***! - \*********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Symbol = __webpack_require__(/*! ./_Symbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Symbol.js"), - isArguments = __webpack_require__(/*! ./isArguments */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArguments.js"), - isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"); - -/** Built-in value references. */ -var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined; - -/** - * Checks if `value` is a flattenable `arguments` object or array. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. - */ -function isFlattenable(value) { - return isArray(value) || isArguments(value) || - !!(spreadableSymbol && value && value[spreadableSymbol]); -} - -module.exports = isFlattenable; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isIndex.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isIndex.js ***! - \***************************************************************************************************/ -/***/ ((module) => { - -/** Used as references for various `Number` constants. */ -var MAX_SAFE_INTEGER = 9007199254740991; - -/** Used to detect unsigned integer values. */ -var reIsUint = /^(?:0|[1-9]\d*)$/; - -/** - * Checks if `value` is a valid array-like index. - * - * @private - * @param {*} value The value to check. - * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. - * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. - */ -function isIndex(value, length) { - var type = typeof value; - length = length == null ? MAX_SAFE_INTEGER : length; - - return !!length && - (type == 'number' || - (type != 'symbol' && reIsUint.test(value))) && - (value > -1 && value % 1 == 0 && value < length); -} - -module.exports = isIndex; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isKey.js": -/*!*************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isKey.js ***! - \*************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isArray = __webpack_require__(/*! ./isArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js"), - isSymbol = __webpack_require__(/*! ./isSymbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isSymbol.js"); - -/** Used to match property names within property paths. */ -var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, - reIsPlainProp = /^\w*$/; - -/** - * Checks if `value` is a property name and not a property path. - * - * @private - * @param {*} value The value to check. - * @param {Object} [object] The object to query keys on. - * @returns {boolean} Returns `true` if `value` is a property name, else `false`. - */ -function isKey(value, object) { - if (isArray(value)) { - return false; - } - var type = typeof value; - if (type == 'number' || type == 'symbol' || type == 'boolean' || - value == null || isSymbol(value)) { - return true; - } - return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || - (object != null && value in Object(object)); -} - -module.exports = isKey; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isKeyable.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isKeyable.js ***! - \*****************************************************************************************************/ -/***/ ((module) => { - -/** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ -function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); -} - -module.exports = isKeyable; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isMasked.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isMasked.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var coreJsData = __webpack_require__(/*! ./_coreJsData */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_coreJsData.js"); - -/** Used to detect methods masquerading as native. */ -var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; -}()); - -/** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ -function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); -} - -module.exports = isMasked; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isPrototype.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isPrototype.js ***! - \*******************************************************************************************************/ -/***/ ((module) => { - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** - * Checks if `value` is likely a prototype object. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. - */ -function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; - - return value === proto; -} - -module.exports = isPrototype; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isStrictComparable.js": -/*!**************************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isStrictComparable.js ***! - \**************************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isObject = __webpack_require__(/*! ./isObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObject.js"); - -/** - * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` if suitable for strict - * equality comparisons, else `false`. - */ -function isStrictComparable(value) { - return value === value && !isObject(value); -} - -module.exports = isStrictComparable; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheClear.js": -/*!**********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheClear.js ***! - \**********************************************************************************************************/ -/***/ ((module) => { - -/** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ -function listCacheClear() { - this.__data__ = []; - this.size = 0; -} - -module.exports = listCacheClear; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheDelete.js": -/*!***********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheDelete.js ***! - \***********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_assocIndexOf.js"); - -/** Used for built-in method references. */ -var arrayProto = Array.prototype; - -/** Built-in value references. */ -var splice = arrayProto.splice; - -/** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - --this.size; - return true; -} - -module.exports = listCacheDelete; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheGet.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheGet.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_assocIndexOf.js"); - -/** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - return index < 0 ? undefined : data[index][1]; -} - -module.exports = listCacheGet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheHas.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheHas.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_assocIndexOf.js"); - -/** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; -} - -module.exports = listCacheHas; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheSet.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_listCacheSet.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_assocIndexOf.js"); - -/** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ -function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; -} - -module.exports = listCacheSet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheClear.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheClear.js ***! - \*********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var Hash = __webpack_require__(/*! ./_Hash */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Hash.js"), - ListCache = __webpack_require__(/*! ./_ListCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_ListCache.js"), - Map = __webpack_require__(/*! ./_Map */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Map.js"); - -/** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ -function mapCacheClear() { - this.size = 0; - this.__data__ = { - 'hash': new Hash, - 'map': new (Map || ListCache), - 'string': new Hash - }; -} - -module.exports = mapCacheClear; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheDelete.js": -/*!**********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheDelete.js ***! - \**********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getMapData = __webpack_require__(/*! ./_getMapData */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMapData.js"); - -/** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function mapCacheDelete(key) { - var result = getMapData(this, key)['delete'](key); - this.size -= result ? 1 : 0; - return result; -} - -module.exports = mapCacheDelete; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheGet.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheGet.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getMapData = __webpack_require__(/*! ./_getMapData */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMapData.js"); - -/** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function mapCacheGet(key) { - return getMapData(this, key).get(key); -} - -module.exports = mapCacheGet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheHas.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheHas.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getMapData = __webpack_require__(/*! ./_getMapData */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMapData.js"); - -/** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function mapCacheHas(key) { - return getMapData(this, key).has(key); -} - -module.exports = mapCacheHas; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheSet.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapCacheSet.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getMapData = __webpack_require__(/*! ./_getMapData */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getMapData.js"); - -/** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ -function mapCacheSet(key, value) { - var data = getMapData(this, key), - size = data.size; - - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; -} - -module.exports = mapCacheSet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapToArray.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_mapToArray.js ***! - \******************************************************************************************************/ -/***/ ((module) => { - -/** - * Converts `map` to its key-value pairs. - * - * @private - * @param {Object} map The map to convert. - * @returns {Array} Returns the key-value pairs. - */ -function mapToArray(map) { - var index = -1, - result = Array(map.size); - - map.forEach(function(value, key) { - result[++index] = [key, value]; - }); - return result; -} - -module.exports = mapToArray; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_matchesStrictComparable.js": -/*!*******************************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_matchesStrictComparable.js ***! - \*******************************************************************************************************************/ -/***/ ((module) => { - -/** - * A specialized version of `matchesProperty` for source values suitable - * for strict equality comparisons, i.e. `===`. - * - * @private - * @param {string} key The key of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ -function matchesStrictComparable(key, srcValue) { - return function(object) { - if (object == null) { - return false; - } - return object[key] === srcValue && - (srcValue !== undefined || (key in Object(object))); - }; -} - -module.exports = matchesStrictComparable; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_memoizeCapped.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_memoizeCapped.js ***! - \*********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var memoize = __webpack_require__(/*! ./memoize */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/memoize.js"); - -/** Used as the maximum memoize cache size. */ -var MAX_MEMOIZE_SIZE = 500; - -/** - * A specialized version of `_.memoize` which clears the memoized function's - * cache when it exceeds `MAX_MEMOIZE_SIZE`. - * - * @private - * @param {Function} func The function to have its output memoized. - * @returns {Function} Returns the new memoized function. - */ -function memoizeCapped(func) { - var result = memoize(func, function(key) { - if (cache.size === MAX_MEMOIZE_SIZE) { - cache.clear(); - } - return key; - }); - - var cache = result.cache; - return result; -} - -module.exports = memoizeCapped; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeCreate.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeCreate.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var getNative = __webpack_require__(/*! ./_getNative */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getNative.js"); - -/* Built-in method references that are verified to be native. */ -var nativeCreate = getNative(Object, 'create'); - -module.exports = nativeCreate; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeKeys.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nativeKeys.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var overArg = __webpack_require__(/*! ./_overArg */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_overArg.js"); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeKeys = overArg(Object.keys, Object); - -module.exports = nativeKeys; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nodeUtil.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nodeUtil.js ***! - \****************************************************************************************************/ -/***/ ((module, exports, __webpack_require__) => { - -/* module decorator */ module = __webpack_require__.nmd(module); -var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_freeGlobal.js"); - -/** Detect free variable `exports`. */ -var freeExports = true && exports && !exports.nodeType && exports; - -/** Detect free variable `module`. */ -var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module; - -/** Detect the popular CommonJS extension `module.exports`. */ -var moduleExports = freeModule && freeModule.exports === freeExports; - -/** Detect free variable `process` from Node.js. */ -var freeProcess = moduleExports && freeGlobal.process; - -/** Used to access faster Node.js helpers. */ -var nodeUtil = (function() { - try { - // Use `util.types` for Node.js 10+. - var types = freeModule && freeModule.require && freeModule.require('util').types; - - if (types) { - return types; - } - - // Legacy `process.binding('util')` for Node.js < 10. - return freeProcess && freeProcess.binding && freeProcess.binding('util'); - } catch (e) {} -}()); - -module.exports = nodeUtil; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_objectToString.js": -/*!**********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_objectToString.js ***! - \**********************************************************************************************************/ -/***/ ((module) => { - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ -var nativeObjectToString = objectProto.toString; - -/** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ -function objectToString(value) { - return nativeObjectToString.call(value); -} - -module.exports = objectToString; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_overArg.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_overArg.js ***! - \***************************************************************************************************/ -/***/ ((module) => { - -/** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ -function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; -} - -module.exports = overArg; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_overRest.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_overRest.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var apply = __webpack_require__(/*! ./_apply */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_apply.js"); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ -function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); - - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return apply(func, this, otherArgs); - }; -} - -module.exports = overRest; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js": -/*!************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js ***! - \************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_freeGlobal.js"); - -/** Detect free variable `self`. */ -var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - -/** Used as a reference to the global object. */ -var root = freeGlobal || freeSelf || Function('return this')(); - -module.exports = root; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setCacheAdd.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setCacheAdd.js ***! - \*******************************************************************************************************/ -/***/ ((module) => { - -/** Used to stand-in for `undefined` hash values. */ -var HASH_UNDEFINED = '__lodash_hash_undefined__'; - -/** - * Adds `value` to the array cache. - * - * @private - * @name add - * @memberOf SetCache - * @alias push - * @param {*} value The value to cache. - * @returns {Object} Returns the cache instance. - */ -function setCacheAdd(value) { - this.__data__.set(value, HASH_UNDEFINED); - return this; -} - -module.exports = setCacheAdd; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setCacheHas.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setCacheHas.js ***! - \*******************************************************************************************************/ -/***/ ((module) => { - -/** - * Checks if `value` is in the array cache. - * - * @private - * @name has - * @memberOf SetCache - * @param {*} value The value to search for. - * @returns {number} Returns `true` if `value` is found, else `false`. - */ -function setCacheHas(value) { - return this.__data__.has(value); -} - -module.exports = setCacheHas; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setToArray.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setToArray.js ***! - \******************************************************************************************************/ -/***/ ((module) => { - -/** - * Converts `set` to an array of its values. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the values. - */ -function setToArray(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = value; - }); - return result; -} - -module.exports = setToArray; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setToString.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_setToString.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseSetToString = __webpack_require__(/*! ./_baseSetToString */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseSetToString.js"), - shortOut = __webpack_require__(/*! ./_shortOut */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_shortOut.js"); - -/** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ -var setToString = shortOut(baseSetToString); - -module.exports = setToString; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_shortOut.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_shortOut.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** Used to detect hot functions by number of calls within a span of milliseconds. */ -var HOT_COUNT = 800, - HOT_SPAN = 16; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeNow = Date.now; - -/** - * Creates a function that'll short out and invoke `identity` instead - * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` - * milliseconds. - * - * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. - */ -function shortOut(func) { - var count = 0, - lastCalled = 0; - - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); - - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; -} - -module.exports = shortOut; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackClear.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackClear.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var ListCache = __webpack_require__(/*! ./_ListCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_ListCache.js"); - -/** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ -function stackClear() { - this.__data__ = new ListCache; - this.size = 0; -} - -module.exports = stackClear; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackDelete.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackDelete.js ***! - \*******************************************************************************************************/ -/***/ ((module) => { - -/** - * Removes `key` and its value from the stack. - * - * @private - * @name delete - * @memberOf Stack - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function stackDelete(key) { - var data = this.__data__, - result = data['delete'](key); - - this.size = data.size; - return result; -} - -module.exports = stackDelete; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackGet.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackGet.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** - * Gets the stack value for `key`. - * - * @private - * @name get - * @memberOf Stack - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function stackGet(key) { - return this.__data__.get(key); -} - -module.exports = stackGet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackHas.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackHas.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** - * Checks if a stack value for `key` exists. - * - * @private - * @name has - * @memberOf Stack - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function stackHas(key) { - return this.__data__.has(key); -} - -module.exports = stackHas; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackSet.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stackSet.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var ListCache = __webpack_require__(/*! ./_ListCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_ListCache.js"), - Map = __webpack_require__(/*! ./_Map */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_Map.js"), - MapCache = __webpack_require__(/*! ./_MapCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_MapCache.js"); - -/** Used as the size to enable large array optimizations. */ -var LARGE_ARRAY_SIZE = 200; - -/** - * Sets the stack `key` to `value`. - * - * @private - * @name set - * @memberOf Stack - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the stack cache instance. - */ -function stackSet(key, value) { - var data = this.__data__; - if (data instanceof ListCache) { - var pairs = data.__data__; - if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - this.size = ++data.size; - return this; - } - data = this.__data__ = new MapCache(pairs); - } - data.set(key, value); - this.size = data.size; - return this; -} - -module.exports = stackSet; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_strictIndexOf.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_strictIndexOf.js ***! - \*********************************************************************************************************/ -/***/ ((module) => { - -/** - * A specialized version of `_.indexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function strictIndexOf(array, value, fromIndex) { - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; -} - -module.exports = strictIndexOf; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stringToPath.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_stringToPath.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_memoizeCapped.js"); - -/** Used to match property names within property paths. */ -var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; - -/** Used to match backslashes in property paths. */ -var reEscapeChar = /\\(\\)?/g; - -/** - * Converts `string` to a property path array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the property path array. - */ -var stringToPath = memoizeCapped(function(string) { - var result = []; - if (string.charCodeAt(0) === 46 /* . */) { - result.push(''); - } - string.replace(rePropName, function(match, number, quote, subString) { - result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match)); - }); - return result; -}); - -module.exports = stringToPath; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toKey.js": -/*!*************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toKey.js ***! - \*************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isSymbol = __webpack_require__(/*! ./isSymbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isSymbol.js"); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** - * Converts `value` to a string key if it's not a string or symbol. - * - * @private - * @param {*} value The value to inspect. - * @returns {string|symbol} Returns the key. - */ -function toKey(value) { - if (typeof value == 'string' || isSymbol(value)) { - return value; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; -} - -module.exports = toKey; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toSource.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toSource.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** Used for built-in method references. */ -var funcProto = Function.prototype; - -/** Used to resolve the decompiled source of functions. */ -var funcToString = funcProto.toString; - -/** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. - */ -function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; -} - -module.exports = toSource; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_trimmedEndIndex.js": -/*!***********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_trimmedEndIndex.js ***! - \***********************************************************************************************************/ -/***/ ((module) => { - -/** Used to match a single whitespace character. */ -var reWhitespace = /\s/; - -/** - * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace - * character of `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the index of the last non-whitespace character. - */ -function trimmedEndIndex(string) { - var index = string.length; - - while (index-- && reWhitespace.test(string.charAt(index))) {} - return index; -} - -module.exports = trimmedEndIndex; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/constant.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/constant.js ***! - \***************************************************************************************************/ -/***/ ((module) => { - -/** - * Creates a function that returns `value`. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Util - * @param {*} value The value to return from the new function. - * @returns {Function} Returns the new constant function. - * @example - * - * var objects = _.times(2, _.constant({ 'a': 1 })); - * - * console.log(objects); - * // => [{ 'a': 1 }, { 'a': 1 }] - * - * console.log(objects[0] === objects[1]); - * // => true - */ -function constant(value) { - return function() { - return value; - }; -} - -module.exports = constant; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/debounce.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/debounce.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isObject = __webpack_require__(/*! ./isObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObject.js"), - now = __webpack_require__(/*! ./now */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/now.js"), - toNumber = __webpack_require__(/*! ./toNumber */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/toNumber.js"); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max, - nativeMin = Math.min; - -/** - * Creates a debounced function that delays invoking `func` until after `wait` - * milliseconds have elapsed since the last time the debounced function was - * invoked. The debounced function comes with a `cancel` method to cancel - * delayed `func` invocations and a `flush` method to immediately invoke them. - * Provide `options` to indicate whether `func` should be invoked on the - * leading and/or trailing edge of the `wait` timeout. The `func` is invoked - * with the last arguments provided to the debounced function. Subsequent - * calls to the debounced function return the result of the last `func` - * invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the debounced function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to debounce. - * @param {number} [wait=0] The number of milliseconds to delay. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=false] - * Specify invoking on the leading edge of the timeout. - * @param {number} [options.maxWait] - * The maximum time `func` is allowed to be delayed before it's invoked. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new debounced function. - * @example - * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); - * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // Ensure `batchLog` is invoked once after 1 second of debounced calls. - * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); - * var source = new EventSource('/stream'); - * jQuery(source).on('message', debounced); - * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); - */ -function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = toNumber(wait) || 0; - if (isObject(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; - - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } - - function leadingEdge(time) { - // Reset any `maxWait` timer. - lastInvokeTime = time; - // Start the timer for the trailing edge. - timerId = setTimeout(timerExpired, wait); - // Invoke the leading edge. - return leading ? invokeFunc(time) : result; - } - - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - timeWaiting = wait - timeSinceLastCall; - - return maxing - ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) - : timeWaiting; - } - - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; - - // Either this is the first call, activity has stopped and we're at the - // trailing edge, the system time has gone backwards and we're treating - // it as the trailing edge, or we've hit the `maxWait` limit. - return (lastCallTime === undefined || (timeSinceLastCall >= wait) || - (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); - } - - function timerExpired() { - var time = now(); - if (shouldInvoke(time)) { - return trailingEdge(time); - } - // Restart the timer. - timerId = setTimeout(timerExpired, remainingWait(time)); - } - - function trailingEdge(time) { - timerId = undefined; - - // Only invoke if we have `lastArgs` which means `func` has been - // debounced at least once. - if (trailing && lastArgs) { - return invokeFunc(time); - } - lastArgs = lastThis = undefined; - return result; - } - - function cancel() { - if (timerId !== undefined) { - clearTimeout(timerId); - } - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - - function flush() { - return timerId === undefined ? result : trailingEdge(now()); - } - - function debounced() { - var time = now(), - isInvoking = shouldInvoke(time); - - lastArgs = arguments; - lastThis = this; - lastCallTime = time; - - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - if (maxing) { - // Handle invocations in a tight loop. - clearTimeout(timerId); - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - return result; - } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; -} - -module.exports = debounce; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/difference.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/difference.js ***! - \*****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseDifference = __webpack_require__(/*! ./_baseDifference */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseDifference.js"), - baseFlatten = __webpack_require__(/*! ./_baseFlatten */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFlatten.js"), - baseRest = __webpack_require__(/*! ./_baseRest */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseRest.js"), - isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArrayLikeObject.js"); - -/** - * Creates an array of `array` values not included in the other given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * **Note:** Unlike `_.pullAll`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @see _.without, _.xor - * @example - * - * _.difference([2, 1], [2, 3]); - * // => [1] - */ -var difference = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) - : []; -}); - -module.exports = difference; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/eq.js": -/*!*********************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/eq.js ***! - \*********************************************************************************************/ -/***/ ((module) => { - -/** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ -function eq(value, other) { - return value === other || (value !== value && other !== other); -} - -module.exports = eq; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/get.js": -/*!**********************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/get.js ***! - \**********************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseGet = __webpack_require__(/*! ./_baseGet */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGet.js"); - -/** - * Gets the value at `path` of `object`. If the resolved value is - * `undefined`, the `defaultValue` is returned in its place. - * - * @static - * @memberOf _ - * @since 3.7.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @param {*} [defaultValue] The value returned for `undefined` resolved values. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.get(object, 'a[0].b.c'); - * // => 3 - * - * _.get(object, ['a', '0', 'b', 'c']); - * // => 3 - * - * _.get(object, 'a.b.c', 'default'); - * // => 'default' - */ -function get(object, path, defaultValue) { - var result = object == null ? undefined : baseGet(object, path); - return result === undefined ? defaultValue : result; -} - -module.exports = get; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/hasIn.js": -/*!************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/hasIn.js ***! - \************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseHasIn.js"), - hasPath = __webpack_require__(/*! ./_hasPath */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_hasPath.js"); - -/** - * Checks if `path` is a direct or inherited property of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.hasIn(object, 'a'); - * // => true - * - * _.hasIn(object, 'a.b'); - * // => true - * - * _.hasIn(object, ['a', 'b']); - * // => true - * - * _.hasIn(object, 'b'); - * // => false - */ -function hasIn(object, path) { - return object != null && hasPath(object, path, baseHasIn); -} - -module.exports = hasIn; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/identity.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/identity.js ***! - \***************************************************************************************************/ -/***/ ((module) => { - -/** - * This method returns the first argument it receives. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {*} value Any value. - * @returns {*} Returns `value`. - * @example - * - * var object = { 'a': 1 }; - * - * console.log(_.identity(object) === object); - * // => true - */ -function identity(value) { - return value; -} - -module.exports = identity; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArguments.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArguments.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsArguments.js"), - isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js"); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** Built-in value references. */ -var propertyIsEnumerable = objectProto.propertyIsEnumerable; - -/** - * Checks if `value` is likely an `arguments` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - * else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ -var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); -}; - -module.exports = isArguments; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js": -/*!**************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArray.js ***! - \**************************************************************************************************/ -/***/ ((module) => { - -/** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false - */ -var isArray = Array.isArray; - -module.exports = isArray; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArrayLike.js": -/*!******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArrayLike.js ***! - \******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isFunction = __webpack_require__(/*! ./isFunction */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isFunction.js"), - isLength = __webpack_require__(/*! ./isLength */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isLength.js"); - -/** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ -function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); -} - -module.exports = isArrayLike; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArrayLikeObject.js": -/*!************************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArrayLikeObject.js ***! - \************************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isArrayLike = __webpack_require__(/*! ./isArrayLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArrayLike.js"), - isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js"); - -/** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array-like object, - * else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ -function isArrayLikeObject(value) { - return isObjectLike(value) && isArrayLike(value); -} - -module.exports = isArrayLikeObject; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isBuffer.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isBuffer.js ***! - \***************************************************************************************************/ -/***/ ((module, exports, __webpack_require__) => { - -/* module decorator */ module = __webpack_require__.nmd(module); -var root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"), - stubFalse = __webpack_require__(/*! ./stubFalse */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/stubFalse.js"); - -/** Detect free variable `exports`. */ -var freeExports = true && exports && !exports.nodeType && exports; - -/** Detect free variable `module`. */ -var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module; - -/** Detect the popular CommonJS extension `module.exports`. */ -var moduleExports = freeModule && freeModule.exports === freeExports; - -/** Built-in value references. */ -var Buffer = moduleExports ? root.Buffer : undefined; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined; - -/** - * Checks if `value` is a buffer. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. - * @example - * - * _.isBuffer(new Buffer(2)); - * // => true - * - * _.isBuffer(new Uint8Array(2)); - * // => false - */ -var isBuffer = nativeIsBuffer || stubFalse; - -module.exports = isBuffer; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isFunction.js": -/*!*****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isFunction.js ***! - \*****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetTag.js"), - isObject = __webpack_require__(/*! ./isObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObject.js"); - -/** `Object#toString` result references. */ -var asyncTag = '[object AsyncFunction]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - proxyTag = '[object Proxy]'; - -/** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ -function isFunction(value) { - if (!isObject(value)) { - return false; - } - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 9 which returns 'object' for typed arrays and other constructors. - var tag = baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; -} - -module.exports = isFunction; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isLength.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isLength.js ***! - \***************************************************************************************************/ -/***/ ((module) => { - -/** Used as references for various `Number` constants. */ -var MAX_SAFE_INTEGER = 9007199254740991; - -/** - * Checks if `value` is a valid array-like length. - * - * **Note:** This method is loosely based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ -function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; -} - -module.exports = isLength; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObject.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObject.js ***! - \***************************************************************************************************/ -/***/ ((module) => { - -/** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ -function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); -} - -module.exports = isObject; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js ***! - \*******************************************************************************************************/ -/***/ ((module) => { - -/** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ -function isObjectLike(value) { - return value != null && typeof value == 'object'; -} - -module.exports = isObjectLike; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isPlainObject.js": -/*!********************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isPlainObject.js ***! - \********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetTag.js"), - getPrototype = __webpack_require__(/*! ./_getPrototype */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_getPrototype.js"), - isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js"); - -/** `Object#toString` result references. */ -var objectTag = '[object Object]'; - -/** Used for built-in method references. */ -var funcProto = Function.prototype, - objectProto = Object.prototype; - -/** Used to resolve the decompiled source of functions. */ -var funcToString = funcProto.toString; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** Used to infer the `Object` constructor. */ -var objectCtorString = funcToString.call(Object); - -/** - * Checks if `value` is a plain object, that is, an object created by the - * `Object` constructor or one with a `[[Prototype]]` of `null`. - * - * @static - * @memberOf _ - * @since 0.8.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * _.isPlainObject(new Foo); - * // => false - * - * _.isPlainObject([1, 2, 3]); - * // => false - * - * _.isPlainObject({ 'x': 0, 'y': 0 }); - * // => true - * - * _.isPlainObject(Object.create(null)); - * // => true - */ -function isPlainObject(value) { - if (!isObjectLike(value) || baseGetTag(value) != objectTag) { - return false; - } - var proto = getPrototype(value); - if (proto === null) { - return true; - } - var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; - return typeof Ctor == 'function' && Ctor instanceof Ctor && - funcToString.call(Ctor) == objectCtorString; -} - -module.exports = isPlainObject; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isSymbol.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isSymbol.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseGetTag.js"), - isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObjectLike.js"); - -/** `Object#toString` result references. */ -var symbolTag = '[object Symbol]'; - -/** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ -function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && baseGetTag(value) == symbolTag); -} - -module.exports = isSymbol; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isTypedArray.js": -/*!*******************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isTypedArray.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIsTypedArray.js"), - baseUnary = __webpack_require__(/*! ./_baseUnary */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseUnary.js"), - nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_nodeUtil.js"); - -/* Node.js helper references. */ -var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; - -/** - * Checks if `value` is classified as a typed array. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - * @example - * - * _.isTypedArray(new Uint8Array); - * // => true - * - * _.isTypedArray([]); - * // => false - */ -var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; - -module.exports = isTypedArray; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/keys.js": -/*!***********************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/keys.js ***! - \***********************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_arrayLikeKeys.js"), - baseKeys = __webpack_require__(/*! ./_baseKeys */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseKeys.js"), - isArrayLike = __webpack_require__(/*! ./isArrayLike */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArrayLike.js"); - -/** - * Creates an array of the own enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. See the - * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * for more details. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keys(new Foo); - * // => ['a', 'b'] (iteration order is not guaranteed) - * - * _.keys('hi'); - * // => ['0', '1'] - */ -function keys(object) { - return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); -} - -module.exports = keys; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/mapValues.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/mapValues.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseAssignValue.js"), - baseForOwn = __webpack_require__(/*! ./_baseForOwn */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseForOwn.js"), - baseIteratee = __webpack_require__(/*! ./_baseIteratee */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseIteratee.js"); - -/** - * Creates an object with the same keys as `object` and values generated - * by running each own enumerable string keyed property of `object` thru - * `iteratee`. The iteratee is invoked with three arguments: - * (value, key, object). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns the new mapped object. - * @see _.mapKeys - * @example - * - * var users = { - * 'fred': { 'user': 'fred', 'age': 40 }, - * 'pebbles': { 'user': 'pebbles', 'age': 1 } - * }; - * - * _.mapValues(users, function(o) { return o.age; }); - * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) - * - * // The `_.property` iteratee shorthand. - * _.mapValues(users, 'age'); - * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) - */ -function mapValues(object, iteratee) { - var result = {}; - iteratee = baseIteratee(iteratee, 3); - - baseForOwn(object, function(value, key, object) { - baseAssignValue(result, key, iteratee(value, key, object)); - }); - return result; -} - -module.exports = mapValues; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/memoize.js": -/*!**************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/memoize.js ***! - \**************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var MapCache = __webpack_require__(/*! ./_MapCache */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_MapCache.js"); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** - * Creates a function that memoizes the result of `func`. If `resolver` is - * provided, it determines the cache key for storing the result based on the - * arguments provided to the memoized function. By default, the first argument - * provided to the memoized function is used as the map cache key. The `func` - * is invoked with the `this` binding of the memoized function. - * - * **Note:** The cache is exposed as the `cache` property on the memoized - * function. Its creation may be customized by replacing the `_.memoize.Cache` - * constructor with one whose instances implement the - * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) - * method interface of `clear`, `delete`, `get`, `has`, and `set`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to have its output memoized. - * @param {Function} [resolver] The function to resolve the cache key. - * @returns {Function} Returns the new memoized function. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * var other = { 'c': 3, 'd': 4 }; - * - * var values = _.memoize(_.values); - * values(object); - * // => [1, 2] - * - * values(other); - * // => [3, 4] - * - * object.a = 2; - * values(object); - * // => [1, 2] - * - * // Modify the result cache. - * values.cache.set(object, ['a', 'b']); - * values(object); - * // => ['a', 'b'] - * - * // Replace `_.memoize.Cache`. - * _.memoize.Cache = WeakMap; - */ -function memoize(func, resolver) { - if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { - throw new TypeError(FUNC_ERROR_TEXT); - } - var memoized = function() { - var args = arguments, - key = resolver ? resolver.apply(this, args) : args[0], - cache = memoized.cache; - - if (cache.has(key)) { - return cache.get(key); - } - var result = func.apply(this, args); - memoized.cache = cache.set(key, result) || cache; - return result; - }; - memoized.cache = new (memoize.Cache || MapCache); - return memoized; -} - -// Expose `MapCache`. -memoize.Cache = MapCache; - -module.exports = memoize; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/noop.js": -/*!***********************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/noop.js ***! - \***********************************************************************************************/ -/***/ ((module) => { - -/** - * This method returns `undefined`. - * - * @static - * @memberOf _ - * @since 2.3.0 - * @category Util - * @example - * - * _.times(2, _.noop); - * // => [undefined, undefined] - */ -function noop() { - // No operation performed. -} - -module.exports = noop; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/now.js": -/*!**********************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/now.js ***! - \**********************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var root = __webpack_require__(/*! ./_root */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_root.js"); - -/** - * Gets the timestamp of the number of milliseconds that have elapsed since - * the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Date - * @returns {number} Returns the timestamp. - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => Logs the number of milliseconds it took for the deferred invocation. - */ -var now = function() { - return root.Date.now(); -}; - -module.exports = now; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/property.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/property.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseProperty = __webpack_require__(/*! ./_baseProperty */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseProperty.js"), - basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_basePropertyDeep.js"), - isKey = __webpack_require__(/*! ./_isKey */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_isKey.js"), - toKey = __webpack_require__(/*! ./_toKey */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_toKey.js"); - -/** - * Creates a function that returns the value at `path` of a given object. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Util - * @param {Array|string} path The path of the property to get. - * @returns {Function} Returns the new accessor function. - * @example - * - * var objects = [ - * { 'a': { 'b': 2 } }, - * { 'a': { 'b': 1 } } - * ]; - * - * _.map(objects, _.property('a.b')); - * // => [2, 1] - * - * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b'); - * // => [1, 2] - */ -function property(path) { - return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path); -} - -module.exports = property; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/stubArray.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/stubArray.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** - * This method returns a new empty array. - * - * @static - * @memberOf _ - * @since 4.13.0 - * @category Util - * @returns {Array} Returns the new empty array. - * @example - * - * var arrays = _.times(2, _.stubArray); - * - * console.log(arrays); - * // => [[], []] - * - * console.log(arrays[0] === arrays[1]); - * // => false - */ -function stubArray() { - return []; -} - -module.exports = stubArray; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/stubFalse.js": -/*!****************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/stubFalse.js ***! - \****************************************************************************************************/ -/***/ ((module) => { - -/** - * This method returns `false`. - * - * @static - * @memberOf _ - * @since 4.13.0 - * @category Util - * @returns {boolean} Returns `false`. - * @example - * - * _.times(2, _.stubFalse); - * // => [false, false] - */ -function stubFalse() { - return false; -} - -module.exports = stubFalse; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/throttle.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/throttle.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var debounce = __webpack_require__(/*! ./debounce */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/debounce.js"), - isObject = __webpack_require__(/*! ./isObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObject.js"); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** - * Creates a throttled function that only invokes `func` at most once per - * every `wait` milliseconds. The throttled function comes with a `cancel` - * method to cancel delayed `func` invocations and a `flush` method to - * immediately invoke them. Provide `options` to indicate whether `func` - * should be invoked on the leading and/or trailing edge of the `wait` - * timeout. The `func` is invoked with the last arguments provided to the - * throttled function. Subsequent calls to the throttled function return the - * result of the last `func` invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the throttled function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.throttle` and `_.debounce`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to throttle. - * @param {number} [wait=0] The number of milliseconds to throttle invocations to. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=true] - * Specify invoking on the leading edge of the timeout. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new throttled function. - * @example - * - * // Avoid excessively updating the position while scrolling. - * jQuery(window).on('scroll', _.throttle(updatePosition, 100)); - * - * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes. - * var throttled = _.throttle(renewToken, 300000, { 'trailing': false }); - * jQuery(element).on('click', throttled); - * - * // Cancel the trailing throttled invocation. - * jQuery(window).on('popstate', throttled.cancel); - */ -function throttle(func, wait, options) { - var leading = true, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - if (isObject(options)) { - leading = 'leading' in options ? !!options.leading : leading; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - return debounce(func, wait, { - 'leading': leading, - 'maxWait': wait, - 'trailing': trailing - }); -} - -module.exports = throttle; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/toNumber.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/toNumber.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseTrim = __webpack_require__(/*! ./_baseTrim */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseTrim.js"), - isObject = __webpack_require__(/*! ./isObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isObject.js"), - isSymbol = __webpack_require__(/*! ./isSymbol */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isSymbol.js"); - -/** Used as references for various `Number` constants. */ -var NAN = 0 / 0; - -/** Used to detect bad signed hexadecimal string values. */ -var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; - -/** Used to detect binary string values. */ -var reIsBinary = /^0b[01]+$/i; - -/** Used to detect octal string values. */ -var reIsOctal = /^0o[0-7]+$/i; - -/** Built-in method references without a dependency on `root`. */ -var freeParseInt = parseInt; - -/** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3.2); - * // => 3.2 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3.2'); - * // => 3.2 - */ -function toNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - if (isObject(value)) { - var other = typeof value.valueOf == 'function' ? value.valueOf() : value; - value = isObject(other) ? (other + '') : other; - } - if (typeof value != 'string') { - return value === 0 ? value : +value; - } - value = baseTrim(value); - var isBinary = reIsBinary.test(value); - return (isBinary || reIsOctal.test(value)) - ? freeParseInt(value.slice(2), isBinary ? 2 : 8) - : (reIsBadHex.test(value) ? NAN : +value); -} - -module.exports = toNumber; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/toString.js": -/*!***************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/toString.js ***! - \***************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseToString = __webpack_require__(/*! ./_baseToString */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseToString.js"); - -/** - * Converts `value` to a string. An empty string is returned for `null` - * and `undefined` values. The sign of `-0` is preserved. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - * @example - * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' - * - * _.toString([1, 2, 3]); - * // => '1,2,3' - */ -function toString(value) { - return value == null ? '' : baseToString(value); -} - -module.exports = toString; - - -/***/ }), - -/***/ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/union.js": -/*!************************************************************************************************!*\ - !*** ../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/union.js ***! - \************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var baseFlatten = __webpack_require__(/*! ./_baseFlatten */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseFlatten.js"), - baseRest = __webpack_require__(/*! ./_baseRest */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseRest.js"), - baseUniq = __webpack_require__(/*! ./_baseUniq */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/_baseUniq.js"), - isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/isArrayLikeObject.js"); - -/** - * Creates an array of unique values, in order, from all given arrays using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.union([2], [1, 2]); - * // => [2, 1] - */ -var union = baseRest(function(arrays) { - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true)); -}); - -module.exports = union; - - -/***/ }), - -/***/ "../.yarn/cache/redux-npm-4.1.2-04cdbe7a08-6a839cee5b.zip/node_modules/redux/es/redux.js": -/*!***********************************************************************************************!*\ - !*** ../.yarn/cache/redux-npm-4.1.2-04cdbe7a08-6a839cee5b.zip/node_modules/redux/es/redux.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "__DO_NOT_USE__ActionTypes": () => (/* binding */ ActionTypes), -/* harmony export */ "applyMiddleware": () => (/* binding */ applyMiddleware), -/* harmony export */ "bindActionCreators": () => (/* binding */ bindActionCreators), -/* harmony export */ "combineReducers": () => (/* binding */ combineReducers), -/* harmony export */ "compose": () => (/* binding */ compose), -/* harmony export */ "createStore": () => (/* binding */ createStore) -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"); - - -/** - * 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 (true) { - typeOfVal = miniKindOf(val); - } - - return typeOfVal; -} - -/** - * Creates a Redux store that holds the state tree. - * 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. - */ - -function createStore(reducer, preloadedState, enhancer) { - var _ref2; - - if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') { - throw new Error( false ? 0 : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.'); - } - - if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') { - enhancer = preloadedState; - preloadedState = undefined; - } - - if (typeof enhancer !== 'undefined') { - if (typeof enhancer !== 'function') { - throw new Error( false ? 0 : "Expected the enhancer to be a function. Instead, received: '" + kindOf(enhancer) + "'"); - } - - return enhancer(createStore)(reducer, preloadedState); - } - - if (typeof reducer !== 'function') { - throw new Error( false ? 0 : "Expected the root reducer to be a function. Instead, received: '" + kindOf(reducer) + "'"); - } - - 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( false ? 0 : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.'); - } - - 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( false ? 0 : "Expected the listener to be a function. Instead, received: '" + kindOf(listener) + "'"); - } - - if (isDispatching) { - throw new Error( false ? 0 : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.'); - } - - var isSubscribed = true; - ensureCanMutateNextListeners(); - nextListeners.push(listener); - return function unsubscribe() { - if (!isSubscribed) { - return; - } - - if (isDispatching) { - throw new Error( false ? 0 : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.'); - } - - 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( false ? 0 : "Actions must be plain objects. Instead, the actual type was: '" + kindOf(action) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples."); - } - - if (typeof action.type === 'undefined') { - throw new Error( false ? 0 : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.'); - } - - if (isDispatching) { - throw new Error( false ? 0 : 'Reducers may not dispatch actions.'); - } - - try { - isDispatching = true; - currentState = currentReducer(currentState, action); - } finally { - isDispatching = false; - } - - var listeners = currentListeners = nextListeners; - - for (var i = 0; i < listeners.length; i++) { - var listener = listeners[i]; - listener(); - } - - return action; - } - /** - * 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} - */ - - - function replaceReducer(nextReducer) { - if (typeof nextReducer !== 'function') { - throw new Error( false ? 0 : "Expected the nextReducer to be a function. Instead, received: '" + kindOf(nextReducer)); - } - - 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. - - dispatch({ - type: ActionTypes.REPLACE - }); - } - /** - * 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 - */ - - - 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( false ? 0 : "Expected the observer to be an object. Instead, received: '" + kindOf(observer) + "'"); - } - - 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. - - - dispatch({ - type: ActionTypes.INIT - }); - return _ref2 = { - dispatch: dispatch, - subscribe: subscribe, - getState: getState, - replaceReducer: replaceReducer - }, _ref2[$$observable] = observable, _ref2; -} - -/** - * 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); - } catch (e) {} // eslint-disable-line no-empty - -} - -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 (!isPlainObject(inputState)) { - return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\""); - } - - var unexpectedKeys = Object.keys(inputState).filter(function (key) { - return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key]; - }); - unexpectedKeys.forEach(function (key) { - unexpectedKeyCache[key] = true; - }); - 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 - }); - - if (typeof initialState === 'undefined') { - throw new Error( false ? 0 : "The slice reducer for key \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined."); - } - - if (typeof reducer(undefined, { - type: ActionTypes.PROBE_UNKNOWN_ACTION() - }) === 'undefined') { - throw new Error( false ? 0 : "The slice reducer for key \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle '" + ActionTypes.INIT + "' or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null."); - } - }); -} -/** - * 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 combineReducers(reducers) { - var reducerKeys = Object.keys(reducers); - var finalReducers = {}; - - for (var i = 0; i < reducerKeys.length; i++) { - var key = reducerKeys[i]; - - if (true) { - if (typeof reducers[key] === 'undefined') { - warning("No reducer provided for key \"" + key + "\""); - } - } - - if (typeof reducers[key] === 'function') { - finalReducers[key] = reducers[key]; - } - } - - var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same - // keys multiple times. - - var unexpectedKeyCache; - - if (true) { - unexpectedKeyCache = {}; - } - - var shapeAssertionError; - - try { - assertReducerShape(finalReducers); - } catch (e) { - shapeAssertionError = e; - } - - return function combination(state, action) { - if (state === void 0) { - state = {}; - } - - if (shapeAssertionError) { - throw shapeAssertionError; - } - - if (true) { - var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache); - - if (warningMessage) { - warning(warningMessage); +function reduxDevtoolsContentScript(window){ + (() => { // webpackBootstrap + /******/ "use strict"; + var __webpack_exports__ = {}; + + ;// CONCATENATED MODULE: ./src/pageScript/api/generateInstanceId.ts + let id = 0; + function generateId(instanceId) { + return instanceId || ++id; + } + ;// CONCATENATED MODULE: ./src/pageScript/api/filters.ts + const FilterState = { + DO_NOT_FILTER: 'DO_NOT_FILTER', + DENYLIST_SPECIFIC: 'DENYLIST_SPECIFIC', + ALLOWLIST_SPECIFIC: 'ALLOWLIST_SPECIFIC' + }; + const noFiltersApplied = localFilter => !localFilter && (!window.devToolsOptions || !window.devToolsOptions.filter || window.devToolsOptions.filter === FilterState.DO_NOT_FILTER); + function isFiltered(action, localFilter) { + if (noFiltersApplied(localFilter) || typeof action !== 'string' && typeof action.type.match !== 'function') { + return false; } - } - - 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( false ? 0 : "When called with an action of type " + (actionType ? "\"" + String(actionType) + "\"" : '(unknown type)') + ", the slice reducer for key \"" + _key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined."); + const { + allowlist, + denylist + } = localFilter || window.devToolsOptions || {}; + const actionType = action.type || action; + return allowlist && !actionType.match(allowlist) || denylist && actionType.match(denylist); + } + ;// CONCATENATED MODULE: ./src/pageScript/api/index.ts + + + const listeners = {}; + const source = '@devtools-page'; + function isArray(arg) { + return Array.isArray(arg); + } + function getLocalFilter(config) { + const denylist = config.actionsDenylist ?? config.actionsBlacklist; + const allowlist = config.actionsAllowlist ?? config.actionsWhitelist; + if (denylist || allowlist) { + return { + allowlist: isArray(allowlist) ? allowlist.join('|') : allowlist, + denylist: isArray(denylist) ? denylist.join('|') : denylist + }; } - - nextState[_key] = nextStateForKey; - hasChanged = hasChanged || nextStateForKey !== previousStateForKey; - } - - hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length; - return hasChanged ? nextState : state; - }; -} - -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); - } - - if (typeof actionCreators !== 'object' || actionCreators === null) { - throw new Error( false ? 0 : "bindActionCreators expected an object or a function, but instead received: '" + kindOf(actionCreators) + "'. " + "Did you write \"import ActionCreators from\" instead of \"import * as ActionCreators from\"?"); - } - - var boundActionCreators = {}; - - for (var key in actionCreators) { - var actionCreator = actionCreators[key]; - - if (typeof actionCreator === 'function') { - boundActionCreators[key] = bindActionCreator(actionCreator, dispatch); + return undefined; } - } - - return boundActionCreators; -} - -/** - * 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]; - } - - if (funcs.length === 0) { - return function (arg) { - return arg; - }; - } - - if (funcs.length === 1) { - return funcs[0]; - } - - return funcs.reduce(function (a, b) { - return function () { - return a(b.apply(void 0, arguments)); - }; - }); -} - -/** - * 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 function (createStore) { - return function () { - var store = createStore.apply(void 0, arguments); - - var _dispatch = function dispatch() { - throw new Error( false ? 0 : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.'); + let latestDispatchedActions = {}; + function saveReplayAnnotation(action, state, connectionType, extractedConfig, config) { + const { + instanceId + } = extractedConfig; + window.__RECORD_REPLAY_ANNOTATION_HOOK__('redux-devtools-setup', JSON.stringify({ + type: 'action', + actionType: action.type, + connectionType, + instanceId + })); + latestDispatchedActions[instanceId] = { + action, + state, + extractedConfig, + config }; - - var middlewareAPI = { - getState: store.getState, - dispatch: function dispatch() { - return _dispatch.apply(void 0, arguments); - } - }; - var chain = middlewares.map(function (middleware) { - return middleware(middlewareAPI); - }); - _dispatch = compose.apply(void 0, chain)(store.dispatch); - return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, store), {}, { - dispatch: _dispatch - }); - }; - }; -} - -/* - * This is a dummy function to check if the function name has been altered by minification. - * If the function has been minified and NODE_ENV !== 'production', warn the user. - */ - -function isCrushed() {} - -if ( true && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') { - warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.'); -} - - - - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js": -/*!**************************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***! - \**************************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray) -/* harmony export */ }); -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; -} - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js": -/*!***************************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***! - \***************************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles) -/* harmony export */ }); -/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js"); - -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr); -} - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/defineProperty.js": -/*!************************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! - \************************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _defineProperty) -/* harmony export */ }); -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; -} - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/iterableToArray.js": -/*!*************************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***! - \*************************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _iterableToArray) -/* harmony export */ }); -function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); -} - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js": -/*!***************************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***! - \***************************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _nonIterableSpread) -/* harmony export */ }); -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."); -} - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/objectSpread2.js": -/*!***********************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***! - \***********************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _objectSpread2) -/* harmony export */ }); -/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/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) { - (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["default"])(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; -} - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js": -/*!***************************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***! - \***************************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _toConsumableArray) -/* harmony export */ }); -/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles.js */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js"); -/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/iterableToArray.js"); -/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"); -/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js"); - - - - -function _toConsumableArray(arr) { - return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])(); -} - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/typeof.js": -/*!****************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/typeof.js ***! - \****************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _typeof) -/* harmony export */ }); -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); -} - -/***/ }), - -/***/ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js": -/*!************************************************************************************************************************************************!*\ - !*** ../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***! - \************************************************************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray) -/* harmony export */ }); -/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../.yarn/cache/@babel-runtime-npm-7.17.9-c52a5e9d27-4d56bdb828.zip/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js"); - -function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(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 (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen); -} - -/***/ }), - -/***/ "../.yarn/cache/nanoid-npm-3.3.2-8c41a1931d-376717f068.zip/node_modules/nanoid/non-secure/index.js": -/*!*********************************************************************************************************!*\ - !*** ../.yarn/cache/nanoid-npm-3.3.2-8c41a1931d-376717f068.zip/node_modules/nanoid/non-secure/index.js ***! - \*********************************************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "customAlphabet": () => (/* binding */ customAlphabet), -/* harmony export */ "nanoid": () => (/* binding */ nanoid) -/* harmony export */ }); -let urlAlphabet = - 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict' -let customAlphabet = (alphabet, defaultSize = 21) => { - return (size = defaultSize) => { - let id = '' - let i = size - while (i--) { - id += alphabet[(Math.random() * alphabet.length) | 0] } - return id - } -} -let nanoid = (size = 21) => { - let id = '' - let i = size - while (i--) { - id += urlAlphabet[(Math.random() * 64) | 0] - } - return id -} - - - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ id: moduleId, -/******/ loaded: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/compat get default export */ -/******/ (() => { -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = (module) => { -/******/ var getter = module && module.__esModule ? -/******/ () => (module['default']) : -/******/ () => (module); -/******/ __webpack_require__.d(getter, { a: getter }); -/******/ return getter; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/node module decorator */ -/******/ (() => { -/******/ __webpack_require__.nmd = (module) => { -/******/ module.paths = []; -/******/ if (!module.children) module.children = []; -/******/ return module; -/******/ }; -/******/ })(); -/******/ -/************************************************************************/ -var __webpack_exports__ = {}; -// This entry need to be wrapped in an IIFE because it need to be in strict mode. -(() => { -"use strict"; -/*!****************************************************!*\ - !*** ./src/browser/extension/inject/pageScript.ts ***! - \****************************************************/ -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _redux_devtools_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @redux-devtools/utils */ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/filters.js"); -/* harmony import */ var _redux_devtools_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @redux-devtools/utils */ "../.yarn/__virtual__/@redux-devtools-utils-virtual-cb2d49e58e/1/packages/redux-devtools-utils/lib/esm/index.js"); -/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/throttle */ "../.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip/node_modules/lodash/throttle.js"); -/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _app_stores_enhancerStore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../app/stores/enhancerStore */ "./src/app/stores/enhancerStore.ts"); -/* harmony import */ var _options_syncOptions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../options/syncOptions */ "./src/browser/extension/options/syncOptions.ts"); -/* harmony import */ var _app_service_Monitor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../app/service/Monitor */ "./src/app/service/Monitor.ts"); -/* harmony import */ var _app_api_filters__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../app/api/filters */ "./src/app/api/filters.ts"); -/* harmony import */ var _app_api_notifyErrors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../app/api/notifyErrors */ "./src/app/api/notifyErrors.ts"); -/* harmony import */ var _app_api_importState__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../app/api/importState */ "./src/app/api/importState.ts"); -/* harmony import */ var _app_api_openWindow__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../app/api/openWindow */ "./src/app/api/openWindow.ts"); -/* harmony import */ var _app_api_generateInstanceId__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../app/api/generateInstanceId */ "./src/app/api/generateInstanceId.ts"); -/* harmony import */ var _app_api__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../app/api */ "./src/app/api/index.ts"); -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; } - -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) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -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 source = '@devtools-page'; -var stores = {}; -var reportId; - -function deprecateParam(oldParam, newParam) { - /* eslint-disable no-console */ - console.warn("".concat(oldParam, " parameter is deprecated, use ").concat(newParam, " instead: https://github.com/reduxjs/redux-devtools/blob/main/extension/docs/API/Arguments.md")); - /* eslint-enable no-console */ -} - -function __REDUX_DEVTOOLS_EXTENSION__(config) { - /* eslint-disable no-param-reassign */ - if (_typeof(config) !== 'object') config = {}; - /* eslint-enable no-param-reassign */ - - if (!window.devToolsOptions) window.devToolsOptions = {}; - var store; - var errorOccurred = false; - var maxAge; - var actionCreators; - var sendingActionId = 1; - var instanceId = (0,_app_api_generateInstanceId__WEBPACK_IMPORTED_MODULE_8__["default"])(config.instanceId); - var localFilter = (0,_redux_devtools_utils__WEBPACK_IMPORTED_MODULE_10__.getLocalFilter)(config); - var serializeState = (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.getSerializeParameter)(config); - var serializeAction = (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.getSerializeParameter)(config); - var _config = config, - stateSanitizer = _config.stateSanitizer, - actionSanitizer = _config.actionSanitizer, - predicate = _config.predicate, - _config$latency = _config.latency, - latency = _config$latency === void 0 ? 500 : _config$latency; // Deprecate actionsWhitelist and actionsBlacklist - - if (config.actionsWhitelist) { - deprecateParam('actionsWhiteList', 'actionsAllowlist'); - } - - if (config.actionsBlacklist) { - deprecateParam('actionsBlacklist', 'actionsDenylist'); - } - - var relayState = lodash_throttle__WEBPACK_IMPORTED_MODULE_0___default()(function (liftedState, libConfig) { - relayAction.cancel(); - var state = liftedState || store.liftedStore.getState(); - sendingActionId = state.nextActionId; - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'STATE', - payload: (0,_app_api_filters__WEBPACK_IMPORTED_MODULE_4__.filterState)(state, localFilter, stateSanitizer, actionSanitizer, predicate), - source: source, - instanceId: instanceId, - libConfig: libConfig - }, serializeState, serializeAction); - }, latency); - var monitor = new _app_service_Monitor__WEBPACK_IMPORTED_MODULE_3__["default"](relayState); - - function exportState() { - var liftedState = store.liftedStore.getState(); - var actionsById = liftedState.actionsById; - var payload = []; - liftedState.stagedActionIds.slice(1).forEach(function (id) { - // if (isFiltered(actionsById[id].action, localFilter)) return; - payload.push(actionsById[id].action); - }); - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'EXPORT', - payload: payload, - committedState: liftedState.committedState, - source: source, - instanceId: instanceId - }, serializeState, serializeAction); - } - - var relayAction = lodash_throttle__WEBPACK_IMPORTED_MODULE_0___default()(function () { - var liftedState = store.liftedStore.getState(); - var nextActionId = liftedState.nextActionId; - var currentActionId = nextActionId - 1; - var liftedAction = liftedState.actionsById[currentActionId]; // Send a single action - - if (sendingActionId === currentActionId) { - sendingActionId = nextActionId; - var _action = liftedAction.action; - var computedStates = liftedState.computedStates; - - if ((0,_app_api_filters__WEBPACK_IMPORTED_MODULE_4__.isFiltered)(_action, localFilter) || predicate && !predicate(computedStates[computedStates.length - 1].state, _action)) { - return; + function sendMessage(action, state, preConfig = {}, instanceId, name) { + if (!action || !action.type) { + action = { + type: 'update' + }; + } else if (typeof action === 'string') { + action = { + type: action + }; } - - var _state = liftedState.computedStates[liftedState.computedStates.length - 1].state; - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'ACTION', - payload: !stateSanitizer ? _state : stateSanitizer(_state, nextActionId - 1), - source: source, + const [config, extractedExtensionConfig] = extractExtensionConfig(preConfig); + instanceId = instanceId ?? extractedExtensionConfig.instanceId; + saveReplayAnnotation(action, state, 'generic', extractedExtensionConfig, config); + } + function extractExtensionConfig(preConfig) { + const config = preConfig || {}; + const instanceId = generateId(config.instanceId); + if (!config.instanceId) config.instanceId = instanceId; + if (!config.name) { + config.name = document.title && instanceId === 1 ? document.title : `Instance ${instanceId}`; + } + const localFilter = getLocalFilter(config); + let { + stateSanitizer, + actionSanitizer, + predicate + } = config; + const extractedExtensionConfig = { instanceId: instanceId, - action: !actionSanitizer ? liftedState.actionsById[nextActionId - 1] : actionSanitizer(liftedState.actionsById[nextActionId - 1].action, nextActionId - 1), - maxAge: getMaxAge(), - nextActionId: nextActionId - }, serializeState, serializeAction); - return; - } // Send multiple actions - - - var payload = (0,_app_api_filters__WEBPACK_IMPORTED_MODULE_4__.startingFrom)(sendingActionId, liftedState, localFilter, stateSanitizer, actionSanitizer, predicate); - sendingActionId = nextActionId; - if (typeof payload === 'undefined') return; - - if ('skippedActionIds' in payload) { - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'STATE', - payload: (0,_app_api_filters__WEBPACK_IMPORTED_MODULE_4__.filterState)(payload, localFilter, stateSanitizer, actionSanitizer, predicate), - source: source, - instanceId: instanceId - }, serializeState, serializeAction); - return; - } - - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'PARTIAL_STATE', - payload: payload, - source: source, - instanceId: instanceId, - maxAge: getMaxAge() - }, serializeState, serializeAction); - }, latency); - - function dispatchRemotely(action) { - if (config.features && !config.features.dispatch) return; - - try { - var result = (0,_redux_devtools_utils__WEBPACK_IMPORTED_MODULE_11__.evalAction)(action, actionCreators); - (store.initialDispatch || store.dispatch)(result); - } catch (e) { - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'ERROR', - payload: e.message, - source: source, - instanceId: instanceId - }, serializeState, serializeAction); - } - } - - function importPayloadFrom(state) { - if (config.features && !config.features.import) return; - - try { - var nextLiftedState = (0,_app_api_importState__WEBPACK_IMPORTED_MODULE_6__["default"])(state, config); - if (!nextLiftedState) return; - store.liftedStore.dispatch(_objectSpread({ - type: 'IMPORT_STATE' - }, nextLiftedState)); - } catch (e) { - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'ERROR', - payload: e.message, - source: source, - instanceId: instanceId - }, serializeState, serializeAction); - } - } - - function dispatchMonitorAction(action) { - var features = config.features; - - if (features) { - if (!features.jump && (action.type === 'JUMP_TO_STATE' || action.type === 'JUMP_TO_ACTION')) { - return; - } - - if (!features.skip && action.type === 'TOGGLE_ACTION') return; - if (!features.reorder && action.type === 'REORDER_ACTION') return; - if (!features.import && action.type === 'IMPORT_STATE') return; - if (!features.lock && action.type === 'LOCK_CHANGES') return; - if (!features.pause && action.type === 'PAUSE_RECORDING') return; - } - - store.liftedStore.dispatch(action); - } - - function onMessage(message) { - switch (message.type) { - case 'DISPATCH': - dispatchMonitorAction(message.payload); - return; - - case 'ACTION': - dispatchRemotely(message.payload); - return; - - case 'IMPORT': - importPayloadFrom(message.state); - return; - - case 'EXPORT': - exportState(); - return; - - case 'UPDATE': - relayState(); - return; - - case 'START': - monitor.start(true); - - if (!actionCreators && config.actionCreators) { - actionCreators = (0,_redux_devtools_utils__WEBPACK_IMPORTED_MODULE_11__.getActionsArray)(config.actionCreators); + stateSanitizer, + actionSanitizer, + predicate, + localFilter, + isFiltered: isFiltered + }; + return [config, extractedExtensionConfig]; + } + function connect(preConfig) { + const [config, extractedExtensionConfig] = extractExtensionConfig(preConfig); + const { + instanceId + } = extractedExtensionConfig; + const subscribe = listener => { + if (!listener) return undefined; + return function unsubscribe() {}; + }; + const unsubscribe = () => { + delete listeners[instanceId]; + }; + const send = (action, state) => { + if (!action) { + return; } - - relayState(undefined, { - name: config.name || document.title, - actionCreators: JSON.stringify(actionCreators), - features: config.features, - serialize: !!config.serialize, - type: 'redux' - }); - - if (reportId) { - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'GET_REPORT', - payload: reportId, - source: source, - instanceId: instanceId - }, serializeState, serializeAction); - reportId = null; + let amendedAction = action; + if (typeof action === 'string') { + amendedAction = { + type: action + }; } - + saveReplayAnnotation(amendedAction, state, 'generic', extractedExtensionConfig, config); return; - - case 'STOP': - monitor.stop(); - relayAction.cancel(); - relayState.cancel(); - - if (!message.failed) { - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'STOP', - payload: undefined, - source: source, - instanceId: instanceId - }, serializeState, serializeAction); - } - - } - } - - var filteredActionIds = []; // simple circular buffer of non-excluded actions with fixed maxAge-1 length - - var getMaxAge = function getMaxAge(liftedAction, liftedState) { - var m = config && config.maxAge || window.devToolsOptions.maxAge || 50; - - if (!liftedAction || (0,_app_api_filters__WEBPACK_IMPORTED_MODULE_4__.noFiltersApplied)(localFilter) || !liftedAction.action) { - return m; - } - - if (!maxAge || maxAge < m) maxAge = m; // it can be modified in process on options page - - if ((0,_app_api_filters__WEBPACK_IMPORTED_MODULE_4__.isFiltered)(liftedAction.action, localFilter)) { - // TODO: check also predicate && !predicate(state, action) with current state - maxAge++; - } else { - filteredActionIds.push(liftedState.nextActionId); - - if (filteredActionIds.length >= m) { - var stagedActionIds = liftedState.stagedActionIds; - var i = 1; - - while (maxAge > m && filteredActionIds.indexOf(stagedActionIds[i]) === -1) { - maxAge--; - i++; - } - - filteredActionIds.shift(); - } - } - - return maxAge; - }; - - function init() { - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.setListener)(onMessage, instanceId); - (0,_app_api_notifyErrors__WEBPACK_IMPORTED_MODULE_5__["default"])(function () { - errorOccurred = true; - var state = store.liftedStore.getState(); - - if (state.computedStates[state.currentStateIndex].error) { - relayState(state); - } - - return true; - }); - (0,_app_api__WEBPACK_IMPORTED_MODULE_9__.toContentScript)({ - type: 'INIT_INSTANCE', - payload: undefined, - source: source, - instanceId: instanceId - }, serializeState, serializeAction); - store.subscribe(handleChange); - - if (typeof reportId === 'undefined') { - reportId = (0,_app_stores_enhancerStore__WEBPACK_IMPORTED_MODULE_1__.getUrlParam)('remotedev_report'); - if (reportId) (0,_app_api_openWindow__WEBPACK_IMPORTED_MODULE_7__["default"])(); - } - - window.postMessage({type: 'START', source: '@devtools-extension'}, '*') - } - - function handleChange() { - if (!monitor.active) return; - - if (!errorOccurred && !monitor.isMonitorAction()) { - relayAction(); - return; - } - - if (monitor.isPaused() || monitor.isLocked() || monitor.isTimeTraveling()) { - return; - } - - var liftedState = store.liftedStore.getState(); - - if (errorOccurred && !liftedState.computedStates[liftedState.currentStateIndex].error) { - errorOccurred = false; + }; + const init = (state, liftedData) => { + window.__RECORD_REPLAY_ANNOTATION_HOOK__('redux-devtools-setup', JSON.stringify({ + type: 'init', + connectionType: 'generic', + instanceId + })); + }; + const error = payload => {}; + return { + init, + subscribe, + unsubscribe, + send, + error + }; } - - relayState(liftedState); - } - - var enhance = function enhance() { - return function (next) { - return function (reducer_, initialState_) { - if (!(0,_options_syncOptions__WEBPACK_IMPORTED_MODULE_2__.isAllowed)(window.devToolsOptions)) { - return next(reducer_, initialState_); - } - - store = stores[instanceId] = (0,_app_stores_enhancerStore__WEBPACK_IMPORTED_MODULE_1__["default"])(next, monitor.reducer, _objectSpread(_objectSpread({}, config), {}, { - maxAge: getMaxAge - }))(reducer_, initialState_); - if ((0,_app_api__WEBPACK_IMPORTED_MODULE_9__.isInIframe)()) setTimeout(init, 3000);else init(); - return store; + ;// CONCATENATED MODULE: ./src/pageScript/index.ts + + + let stores = {}; + function __REDUX_DEVTOOLS_EXTENSION__(preConfig = {}) { + // if (typeof config !== 'object') config = {}; + if (!window.devToolsOptions) window.devToolsOptions = {}; + let store; + const [config, extractedExtensionConfig] = extractExtensionConfig(preConfig); + const { + instanceId + } = extractedExtensionConfig; + function init() { + window.__RECORD_REPLAY_ANNOTATION_HOOK__('redux-devtools-setup', JSON.stringify({ + type: 'init', + connectionType: 'redux', + instanceId + })); + } + const enhance = () => next => { + return (reducer_, initialState_) => { + const originalStore = next(reducer_, initialState_); + const newStore = { + ...originalStore, + dispatch: action => { + const result = originalStore.dispatch(action); + saveReplayAnnotation(action, originalStore.getState(), 'redux', extractedExtensionConfig, config); + return result; + } + }; + + // @ts-ignore + store = stores[instanceId] = newStore; + init(); + return store; + }; + }; + return enhance(); + } + // noinspection JSAnnotator + window.__REDUX_DEVTOOLS_EXTENSION__ = __REDUX_DEVTOOLS_EXTENSION__; + window.__REDUX_DEVTOOLS_EXTENSION__.open = () => {}; + window.__REDUX_DEVTOOLS_EXTENSION__.notifyErrors = () => {}; + window.__REDUX_DEVTOOLS_EXTENSION__.send = sendMessage; + window.__REDUX_DEVTOOLS_EXTENSION__.listen = () => {}; + window.__REDUX_DEVTOOLS_EXTENSION__.connect = connect; + window.__REDUX_DEVTOOLS_EXTENSION__.disconnect = () => {}; + const extensionCompose = config => (...funcs) => { + // @ts-ignore FIXME + return (...args) => { + const instanceId = generateId(config.instanceId); + return [...funcs].reduceRight( + // @ts-ignore FIXME + (composed, f) => f(composed), __REDUX_DEVTOOLS_EXTENSION__({ + ...config, + instanceId + })(...args)); }; }; - }; - - return enhance(); -} - -// noinspection JSAnnotator -window.__REDUX_DEVTOOLS_EXTENSION__ = __REDUX_DEVTOOLS_EXTENSION__; -window.__REDUX_DEVTOOLS_EXTENSION__.open = _app_api_openWindow__WEBPACK_IMPORTED_MODULE_7__["default"]; -window.__REDUX_DEVTOOLS_EXTENSION__.notifyErrors = _app_api_notifyErrors__WEBPACK_IMPORTED_MODULE_5__["default"]; -window.__REDUX_DEVTOOLS_EXTENSION__.send = _app_api__WEBPACK_IMPORTED_MODULE_9__.sendMessage; -window.__REDUX_DEVTOOLS_EXTENSION__.listen = _app_api__WEBPACK_IMPORTED_MODULE_9__.setListener; -window.__REDUX_DEVTOOLS_EXTENSION__.connect = _app_api__WEBPACK_IMPORTED_MODULE_9__.connect; -window.__REDUX_DEVTOOLS_EXTENSION__.disconnect = _app_api__WEBPACK_IMPORTED_MODULE_9__.disconnect; - -var preEnhancer = function preEnhancer(instanceId) { - return function (next) { - return function (reducer, preloadedState) { - var store = next(reducer, preloadedState); - - if (stores[instanceId]) { - stores[instanceId].initialDispatch = store.dispatch; + function reduxDevtoolsExtensionCompose(...funcs) { + if (funcs.length === 0) { + return __REDUX_DEVTOOLS_EXTENSION__(); } - - return _objectSpread(_objectSpread({}, store), {}, { - dispatch: function dispatch() { - return !window.__REDUX_DEVTOOLS_EXTENSION_LOCKED__ && store.dispatch.apply(store, arguments); - } - }); - }; - }; -}; - -var extensionCompose = function extensionCompose(config) { - return function () { - for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) { - funcs[_key] = arguments[_key]; + if (funcs.length === 1 && typeof funcs[0] === 'object') { + return extensionCompose(funcs[0]); + } + return extensionCompose({})(...funcs); } - - return function () { - var instanceId = (0,_app_api_generateInstanceId__WEBPACK_IMPORTED_MODULE_8__["default"])(config.instanceId); - return [preEnhancer(instanceId)].concat(funcs).reduceRight(function (composed, f) { - return f(composed); - }, __REDUX_DEVTOOLS_EXTENSION__(_objectSpread(_objectSpread({}, config), {}, { - instanceId: instanceId - })).apply(void 0, arguments)); - }; - }; -}; - -function reduxDevtoolsExtensionCompose() { - for (var _len2 = arguments.length, funcs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { - funcs[_key2] = arguments[_key2]; - } - - if (funcs.length === 0) { - return __REDUX_DEVTOOLS_EXTENSION__(); - } - - if (funcs.length === 1 && _typeof(funcs[0]) === 'object') { - return extensionCompose(funcs[0]); - } - - return extensionCompose({}).apply(void 0, _toConsumableArray(funcs)); -} - -window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ = reduxDevtoolsExtensionCompose; -})(); - - - + window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ = reduxDevtoolsExtensionCompose; + /******/ })() /******/ } diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 35765187d3ca26..2bed9e9e365bdf 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -839,7 +839,7 @@ pref("devtools.recordreplay.user-token", ""); pref("devtools.recordreplay.uploadSourceMaps", true); // Whether to record redux devtools annotations -pref("devtools.recordreplay.enableReduxDevTools", false); +pref("devtools.recordreplay.enableReduxDevTools", true); // Whether to skip the logic in the rr `onNewScript` handler. // Defaults to false (don't skip, do execute logic).