jest-timing-reporter
Version:
A Jest reporter that collects test execution time into snapshots files as JSON which can be used later with [jest-timing-action](https://github.com/javierfernandes/jest-timing-action).
2,231 lines (2,029 loc) • 389 kB
JavaScript
module.exports =
/******/ (function(modules, runtime) { // webpackBootstrap
/******/ "use strict";
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ __webpack_require__.ab = __dirname + "/";
/******/
/******/ // the startup function
/******/ function startup() {
/******/ // Load entry module and return exports
/******/ return __webpack_require__(104);
/******/ };
/******/
/******/ // run startup
/******/ return startup();
/******/ })
/************************************************************************/
/******/ ([
/* 0 */,
/* 1 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _isArray =
/*#__PURE__*/
__webpack_require__(930);
var equals =
/*#__PURE__*/
__webpack_require__(701);
/**
* Returns the position of the last occurrence of an item in an array, or -1 if
* the item is not included in the array. [`R.equals`](#equals) is used to
* determine equality.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @sig a -> [a] -> Number
* @param {*} target The item to find.
* @param {Array} xs The array to search in.
* @return {Number} the index of the target, or -1 if the target is not found.
* @see R.indexOf
* @example
*
* R.lastIndexOf(3, [-1,3,3,0,1,2,3,4]); //=> 6
* R.lastIndexOf(10, [1,2,3,4]); //=> -1
*/
var lastIndexOf =
/*#__PURE__*/
_curry2(function lastIndexOf(target, xs) {
if (typeof xs.lastIndexOf === 'function' && !_isArray(xs)) {
return xs.lastIndexOf(target);
} else {
var idx = xs.length - 1;
while (idx >= 0) {
if (equals(xs[idx], target)) {
return idx;
}
idx -= 1;
}
return -1;
}
});
module.exports = lastIndexOf;
/***/ }),
/* 2 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _dispatchable =
/*#__PURE__*/
__webpack_require__(968);
var _xfindIndex =
/*#__PURE__*/
__webpack_require__(305);
/**
* Returns the index of the first element of the list which matches the
* predicate, or `-1` if no element matches.
*
* Acts as a transducer if a transformer is given in list position.
*
* @func
* @memberOf R
* @since v0.1.1
* @category List
* @sig (a -> Boolean) -> [a] -> Number
* @param {Function} fn The predicate function used to determine if the element is the
* desired one.
* @param {Array} list The array to consider.
* @return {Number} The index of the element found, or `-1`.
* @see R.transduce
* @example
*
* const xs = [{a: 1}, {a: 2}, {a: 3}];
* R.findIndex(R.propEq('a', 2))(xs); //=> 1
* R.findIndex(R.propEq('a', 4))(xs); //=> -1
*/
var findIndex =
/*#__PURE__*/
_curry2(
/*#__PURE__*/
_dispatchable([], _xfindIndex, function findIndex(fn, list) {
var idx = 0;
var len = list.length;
while (idx < len) {
if (fn(list[idx])) {
return idx;
}
idx += 1;
}
return -1;
}));
module.exports = findIndex;
/***/ }),
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */,
/* 7 */,
/* 8 */,
/* 9 */,
/* 10 */,
/* 11 */,
/* 12 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _dispatchable =
/*#__PURE__*/
__webpack_require__(968);
var _xdrop =
/*#__PURE__*/
__webpack_require__(738);
var slice =
/*#__PURE__*/
__webpack_require__(232);
/**
* Returns all but the first `n` elements of the given list, string, or
* transducer/transformer (or object with a `drop` method).
*
* Dispatches to the `drop` method of the second argument, if present.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @sig Number -> [a] -> [a]
* @sig Number -> String -> String
* @param {Number} n
* @param {*} list
* @return {*} A copy of list without the first `n` elements
* @see R.take, R.transduce, R.dropLast, R.dropWhile
* @example
*
* R.drop(1, ['foo', 'bar', 'baz']); //=> ['bar', 'baz']
* R.drop(2, ['foo', 'bar', 'baz']); //=> ['baz']
* R.drop(3, ['foo', 'bar', 'baz']); //=> []
* R.drop(4, ['foo', 'bar', 'baz']); //=> []
* R.drop(3, 'ramda'); //=> 'da'
*/
var drop =
/*#__PURE__*/
_curry2(
/*#__PURE__*/
_dispatchable(['drop'], _xdrop, function drop(n, xs) {
return slice(Math.max(0, n), Infinity, xs);
}));
module.exports = drop;
/***/ }),
/* 13 */,
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */,
/* 20 */,
/* 21 */
/***/ (function(module) {
/**
* A special placeholder value used to specify "gaps" within curried functions,
* allowing partial application of any combination of arguments, regardless of
* their positions.
*
* If `g` is a curried ternary function and `_` is `R.__`, the following are
* equivalent:
*
* - `g(1, 2, 3)`
* - `g(_, 2, 3)(1)`
* - `g(_, _, 3)(1)(2)`
* - `g(_, _, 3)(1, 2)`
* - `g(_, 2, _)(1, 3)`
* - `g(_, 2)(1)(3)`
* - `g(_, 2)(1, 3)`
* - `g(_, 2)(_, 3)(1)`
*
* @name __
* @constant
* @memberOf R
* @since v0.6.0
* @category Function
* @example
*
* const greet = R.replace('{name}', R.__, 'Hello, {name}!');
* greet('Alice'); //=> 'Hello, Alice!'
*/
module.exports = {
'@@functional/placeholder': true
};
/***/ }),
/* 22 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var composeK =
/*#__PURE__*/
__webpack_require__(441);
var reverse =
/*#__PURE__*/
__webpack_require__(528);
/**
* Returns the left-to-right Kleisli composition of the provided functions,
* each of which must return a value of a type supported by [`chain`](#chain).
*
* `R.pipeK(f, g, h)` is equivalent to `R.pipe(f, R.chain(g), R.chain(h))`.
*
* @func
* @memberOf R
* @since v0.16.0
* @category Function
* @sig Chain m => ((a -> m b), (b -> m c), ..., (y -> m z)) -> (a -> m z)
* @param {...Function}
* @return {Function}
* @see R.composeK
* @deprecated since v0.26.0
* @example
*
* // parseJson :: String -> Maybe *
* // get :: String -> Object -> Maybe *
*
* // getStateCode :: Maybe String -> Maybe String
* const getStateCode = R.pipeK(
* parseJson,
* get('user'),
* get('address'),
* get('state'),
* R.compose(Maybe.of, R.toUpper)
* );
*
* getStateCode('{"user":{"address":{"state":"ny"}}}');
* //=> Just('NY')
* getStateCode('[Invalid JSON]');
* //=> Nothing()
* @symb R.pipeK(f, g, h)(a) = R.chain(h, R.chain(g, f(a)))
*/
function pipeK() {
if (arguments.length === 0) {
throw new Error('pipeK requires at least one argument');
}
return composeK.apply(this, reverse(arguments));
}
module.exports = pipeK;
/***/ }),
/* 23 */,
/* 24 */,
/* 25 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry3 =
/*#__PURE__*/
__webpack_require__(78);
var defaultTo =
/*#__PURE__*/
__webpack_require__(867);
var path =
/*#__PURE__*/
__webpack_require__(756);
/**
* If the given, non-null object has a value at the given path, returns the
* value at that path. Otherwise returns the provided default value.
*
* @func
* @memberOf R
* @since v0.18.0
* @category Object
* @typedefn Idx = String | Int
* @sig a -> [Idx] -> {a} -> a
* @param {*} d The default value.
* @param {Array} p The path to use.
* @param {Object} obj The object to retrieve the nested property from.
* @return {*} The data at `path` of the supplied object or the default value.
* @example
*
* R.pathOr('N/A', ['a', 'b'], {a: {b: 2}}); //=> 2
* R.pathOr('N/A', ['a', 'b'], {c: {b: 2}}); //=> "N/A"
*/
var pathOr =
/*#__PURE__*/
_curry3(function pathOr(d, p, obj) {
return defaultTo(d, path(p, obj));
});
module.exports = pathOr;
/***/ }),
/* 26 */,
/* 27 */,
/* 28 */,
/* 29 */,
/* 30 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry3 =
/*#__PURE__*/
__webpack_require__(78);
/**
* Replace a substring or regex match in a string with a replacement.
*
* The first two parameters correspond to the parameters of the
* `String.prototype.replace()` function, so the second parameter can also be a
* function.
*
* @func
* @memberOf R
* @since v0.7.0
* @category String
* @sig RegExp|String -> String -> String -> String
* @param {RegExp|String} pattern A regular expression or a substring to match.
* @param {String} replacement The string to replace the matches with.
* @param {String} str The String to do the search and replacement in.
* @return {String} The result.
* @example
*
* R.replace('foo', 'bar', 'foo foo foo'); //=> 'bar foo foo'
* R.replace(/foo/, 'bar', 'foo foo foo'); //=> 'bar foo foo'
*
* // Use the "g" (global) flag to replace all occurrences:
* R.replace(/foo/g, 'bar', 'foo foo foo'); //=> 'bar bar bar'
*/
var replace =
/*#__PURE__*/
_curry3(function replace(regex, replacement, str) {
return str.replace(regex, replacement);
});
module.exports = replace;
/***/ }),
/* 31 */,
/* 32 */,
/* 33 */,
/* 34 */,
/* 35 */,
/* 36 */,
/* 37 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var add =
/*#__PURE__*/
__webpack_require__(792);
/**
* Increments its argument.
*
* @func
* @memberOf R
* @since v0.9.0
* @category Math
* @sig Number -> Number
* @param {Number} n
* @return {Number} n + 1
* @see R.dec
* @example
*
* R.inc(42); //=> 43
*/
var inc =
/*#__PURE__*/
add(1);
module.exports = inc;
/***/ }),
/* 38 */,
/* 39 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _dispatchable =
/*#__PURE__*/
__webpack_require__(968);
var _xtakeWhile =
/*#__PURE__*/
__webpack_require__(87);
var slice =
/*#__PURE__*/
__webpack_require__(232);
/**
* Returns a new list containing the first `n` elements of a given list,
* passing each value to the supplied predicate function, and terminating when
* the predicate function returns `false`. Excludes the element that caused the
* predicate function to fail. The predicate function is passed one argument:
* *(value)*.
*
* Dispatches to the `takeWhile` method of the second argument, if present.
*
* Acts as a transducer if a transformer is given in list position.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @sig (a -> Boolean) -> [a] -> [a]
* @sig (a -> Boolean) -> String -> String
* @param {Function} fn The function called per iteration.
* @param {Array} xs The collection to iterate over.
* @return {Array} A new array.
* @see R.dropWhile, R.transduce, R.addIndex
* @example
*
* const isNotFour = x => x !== 4;
*
* R.takeWhile(isNotFour, [1, 2, 3, 4, 3, 2, 1]); //=> [1, 2, 3]
*
* R.takeWhile(x => x !== 'd' , 'Ramda'); //=> 'Ram'
*/
var takeWhile =
/*#__PURE__*/
_curry2(
/*#__PURE__*/
_dispatchable(['takeWhile'], _xtakeWhile, function takeWhile(fn, xs) {
var idx = 0;
var len = xs.length;
while (idx < len && fn(xs[idx])) {
idx += 1;
}
return slice(0, idx, xs);
}));
module.exports = takeWhile;
/***/ }),
/* 40 */,
/* 41 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry3 =
/*#__PURE__*/
__webpack_require__(78);
var path =
/*#__PURE__*/
__webpack_require__(756);
/**
* Returns `true` if the specified object property at given path satisfies the
* given predicate; `false` otherwise.
*
* @func
* @memberOf R
* @since v0.19.0
* @category Logic
* @typedefn Idx = String | Int
* @sig (a -> Boolean) -> [Idx] -> {a} -> Boolean
* @param {Function} pred
* @param {Array} propPath
* @param {*} obj
* @return {Boolean}
* @see R.propSatisfies, R.path
* @example
*
* R.pathSatisfies(y => y > 0, ['x', 'y'], {x: {y: 2}}); //=> true
* R.pathSatisfies(R.is(Object), [], {x: {y: 2}}); //=> true
*/
var pathSatisfies =
/*#__PURE__*/
_curry3(function pathSatisfies(pred, propPath, obj) {
return pred(path(propPath, obj));
});
module.exports = pathSatisfies;
/***/ }),
/* 42 */,
/* 43 */
/***/ (function(module) {
var XWrap =
/*#__PURE__*/
function () {
function XWrap(fn) {
this.f = fn;
}
XWrap.prototype['@@transducer/init'] = function () {
throw new Error('init not implemented on XWrap');
};
XWrap.prototype['@@transducer/result'] = function (acc) {
return acc;
};
XWrap.prototype['@@transducer/step'] = function (acc, x) {
return this.f(acc, x);
};
return XWrap;
}();
function _xwrap(fn) {
return new XWrap(fn);
}
module.exports = _xwrap;
/***/ }),
/* 44 */,
/* 45 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _isInteger =
/*#__PURE__*/
__webpack_require__(802);
/**
* `mathMod` behaves like the modulo operator should mathematically, unlike the
* `%` operator (and by extension, [`R.modulo`](#modulo)). So while
* `-17 % 5` is `-2`, `mathMod(-17, 5)` is `3`. `mathMod` requires Integer
* arguments, and returns NaN when the modulus is zero or negative.
*
* @func
* @memberOf R
* @since v0.3.0
* @category Math
* @sig Number -> Number -> Number
* @param {Number} m The dividend.
* @param {Number} p the modulus.
* @return {Number} The result of `b mod a`.
* @see R.modulo
* @example
*
* R.mathMod(-17, 5); //=> 3
* R.mathMod(17, 5); //=> 2
* R.mathMod(17, -5); //=> NaN
* R.mathMod(17, 0); //=> NaN
* R.mathMod(17.2, 5); //=> NaN
* R.mathMod(17, 5.3); //=> NaN
*
* const clock = R.mathMod(R.__, 12);
* clock(15); //=> 3
* clock(24); //=> 0
*
* const seventeenMod = R.mathMod(17);
* seventeenMod(3); //=> 2
* seventeenMod(4); //=> 1
* seventeenMod(10); //=> 7
*/
var mathMod =
/*#__PURE__*/
_curry2(function mathMod(m, p) {
if (!_isInteger(m)) {
return NaN;
}
if (!_isInteger(p) || p < 1) {
return NaN;
}
return (m % p + p) % p;
});
module.exports = mathMod;
/***/ }),
/* 46 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry3 =
/*#__PURE__*/
__webpack_require__(78);
var _reduce =
/*#__PURE__*/
__webpack_require__(870);
/**
* Returns a single item by iterating through the list, successively calling
* the iterator function and passing it an accumulator value and the current
* value from the array, and then passing the result to the next call.
*
* The iterator function receives two values: *(acc, value)*. It may use
* [`R.reduced`](#reduced) to shortcut the iteration.
*
* The arguments' order of [`reduceRight`](#reduceRight)'s iterator function
* is *(value, acc)*.
*
* Note: `R.reduce` does not skip deleted or unassigned indices (sparse
* arrays), unlike the native `Array.prototype.reduce` method. For more details
* on this behavior, see:
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce#Description
*
* Dispatches to the `reduce` method of the third argument, if present. When
* doing so, it is up to the user to handle the [`R.reduced`](#reduced)
* shortcuting, as this is not implemented by `reduce`.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @sig ((a, b) -> a) -> a -> [b] -> a
* @param {Function} fn The iterator function. Receives two values, the accumulator and the
* current element from the array.
* @param {*} acc The accumulator value.
* @param {Array} list The list to iterate over.
* @return {*} The final, accumulated value.
* @see R.reduced, R.addIndex, R.reduceRight
* @example
*
* R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10
* // - -10
* // / \ / \
* // - 4 -6 4
* // / \ / \
* // - 3 ==> -3 3
* // / \ / \
* // - 2 -1 2
* // / \ / \
* // 0 1 0 1
*
* @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)
*/
var reduce =
/*#__PURE__*/
_curry3(_reduce);
module.exports = reduce;
/***/ }),
/* 47 */,
/* 48 */,
/* 49 */
/***/ (function(module) {
function _forceReduced(x) {
return {
'@@transducer/value': x,
'@@transducer/reduced': true
};
}
module.exports = _forceReduced;
/***/ }),
/* 50 */,
/* 51 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry1 =
/*#__PURE__*/
__webpack_require__(721);
var _makeFlat =
/*#__PURE__*/
__webpack_require__(415);
/**
* Returns a new list by pulling every item out of it (and all its sub-arrays)
* and putting them in a new array, depth-first.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @sig [a] -> [b]
* @param {Array} list The array to consider.
* @return {Array} The flattened list.
* @see R.unnest
* @example
*
* R.flatten([1, 2, [3, 4], 5, [6, [7, 8, [9, [10, 11], 12]]]]);
* //=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
*/
var flatten =
/*#__PURE__*/
_curry1(
/*#__PURE__*/
_makeFlat(true));
module.exports = flatten;
/***/ }),
/* 52 */,
/* 53 */,
/* 54 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
/**
* Calls an input function `n` times, returning an array containing the results
* of those function calls.
*
* `fn` is passed one argument: The current value of `n`, which begins at `0`
* and is gradually incremented to `n - 1`.
*
* @func
* @memberOf R
* @since v0.2.3
* @category List
* @sig (Number -> a) -> Number -> [a]
* @param {Function} fn The function to invoke. Passed one argument, the current value of `n`.
* @param {Number} n A value between `0` and `n - 1`. Increments after each function call.
* @return {Array} An array containing the return values of all calls to `fn`.
* @see R.repeat
* @example
*
* R.times(R.identity, 5); //=> [0, 1, 2, 3, 4]
* @symb R.times(f, 0) = []
* @symb R.times(f, 1) = [f(0)]
* @symb R.times(f, 2) = [f(0), f(1)]
*/
var times =
/*#__PURE__*/
_curry2(function times(fn, n) {
var len = Number(n);
var idx = 0;
var list;
if (len < 0 || isNaN(len)) {
throw new RangeError('n must be a non-negative number');
}
list = new Array(len);
while (idx < len) {
list[idx] = fn(idx);
idx += 1;
}
return list;
});
module.exports = times;
/***/ }),
/* 55 */,
/* 56 */,
/* 57 */
/***/ (function(module) {
function _quote(s) {
var escaped = s.replace(/\\/g, '\\\\').replace(/[\b]/g, '\\b') // \b matches word boundary; [\b] matches backspace
.replace(/\f/g, '\\f').replace(/\n/g, '\\n').replace(/\r/g, '\\r').replace(/\t/g, '\\t').replace(/\v/g, '\\v').replace(/\0/g, '\\0');
return '"' + escaped.replace(/"/g, '\\"') + '"';
}
module.exports = _quote;
/***/ }),
/* 58 */,
/* 59 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry1 =
/*#__PURE__*/
__webpack_require__(721);
var _dispatchable =
/*#__PURE__*/
__webpack_require__(968);
var _xdropRepeatsWith =
/*#__PURE__*/
__webpack_require__(424);
var dropRepeatsWith =
/*#__PURE__*/
__webpack_require__(919);
var equals =
/*#__PURE__*/
__webpack_require__(701);
/**
* Returns a new list without any consecutively repeating elements.
* [`R.equals`](#equals) is used to determine equality.
*
* Acts as a transducer if a transformer is given in list position.
*
* @func
* @memberOf R
* @since v0.14.0
* @category List
* @sig [a] -> [a]
* @param {Array} list The array to consider.
* @return {Array} `list` without repeating elements.
* @see R.transduce
* @example
*
* R.dropRepeats([1, 1, 1, 2, 3, 4, 4, 2, 2]); //=> [1, 2, 3, 4, 2]
*/
var dropRepeats =
/*#__PURE__*/
_curry1(
/*#__PURE__*/
_dispatchable([],
/*#__PURE__*/
_xdropRepeatsWith(equals),
/*#__PURE__*/
dropRepeatsWith(equals)));
module.exports = dropRepeats;
/***/ }),
/* 60 */
/***/ (function(module) {
module.exports = {
init: function () {
return this.xf['@@transducer/init']();
},
result: function (result) {
return this.xf['@@transducer/result'](result);
}
};
/***/ }),
/* 61 */
/***/ (function(module, __unusedexports, __webpack_require__) {
module.exports = {};
module.exports.F =
/*#__PURE__*/
__webpack_require__(913);
module.exports.T =
/*#__PURE__*/
__webpack_require__(96);
module.exports.__ =
/*#__PURE__*/
__webpack_require__(21);
module.exports.add =
/*#__PURE__*/
__webpack_require__(792);
module.exports.addIndex =
/*#__PURE__*/
__webpack_require__(731);
module.exports.adjust =
/*#__PURE__*/
__webpack_require__(908);
module.exports.all =
/*#__PURE__*/
__webpack_require__(320);
module.exports.allPass =
/*#__PURE__*/
__webpack_require__(133);
module.exports.always =
/*#__PURE__*/
__webpack_require__(657);
module.exports.and =
/*#__PURE__*/
__webpack_require__(676);
module.exports.any =
/*#__PURE__*/
__webpack_require__(137);
module.exports.anyPass =
/*#__PURE__*/
__webpack_require__(81);
module.exports.ap =
/*#__PURE__*/
__webpack_require__(641);
module.exports.aperture =
/*#__PURE__*/
__webpack_require__(898);
module.exports.append =
/*#__PURE__*/
__webpack_require__(612);
module.exports.apply =
/*#__PURE__*/
__webpack_require__(422);
module.exports.applySpec =
/*#__PURE__*/
__webpack_require__(185);
module.exports.applyTo =
/*#__PURE__*/
__webpack_require__(91);
module.exports.ascend =
/*#__PURE__*/
__webpack_require__(989);
module.exports.assoc =
/*#__PURE__*/
__webpack_require__(414);
module.exports.assocPath =
/*#__PURE__*/
__webpack_require__(194);
module.exports.binary =
/*#__PURE__*/
__webpack_require__(790);
module.exports.bind =
/*#__PURE__*/
__webpack_require__(269);
module.exports.both =
/*#__PURE__*/
__webpack_require__(521);
module.exports.call =
/*#__PURE__*/
__webpack_require__(132);
module.exports.chain =
/*#__PURE__*/
__webpack_require__(481);
module.exports.clamp =
/*#__PURE__*/
__webpack_require__(547);
module.exports.clone =
/*#__PURE__*/
__webpack_require__(176);
module.exports.comparator =
/*#__PURE__*/
__webpack_require__(105);
module.exports.complement =
/*#__PURE__*/
__webpack_require__(541);
module.exports.compose =
/*#__PURE__*/
__webpack_require__(944);
module.exports.composeK =
/*#__PURE__*/
__webpack_require__(441);
module.exports.composeP =
/*#__PURE__*/
__webpack_require__(592);
module.exports.composeWith =
/*#__PURE__*/
__webpack_require__(138);
module.exports.concat =
/*#__PURE__*/
__webpack_require__(818);
module.exports.cond =
/*#__PURE__*/
__webpack_require__(604);
module.exports.construct =
/*#__PURE__*/
__webpack_require__(979);
module.exports.constructN =
/*#__PURE__*/
__webpack_require__(768);
module.exports.contains =
/*#__PURE__*/
__webpack_require__(878);
module.exports.converge =
/*#__PURE__*/
__webpack_require__(886);
module.exports.countBy =
/*#__PURE__*/
__webpack_require__(333);
module.exports.curry =
/*#__PURE__*/
__webpack_require__(447);
module.exports.curryN =
/*#__PURE__*/
__webpack_require__(535);
module.exports.dec =
/*#__PURE__*/
__webpack_require__(613);
module.exports.defaultTo =
/*#__PURE__*/
__webpack_require__(867);
module.exports.descend =
/*#__PURE__*/
__webpack_require__(618);
module.exports.difference =
/*#__PURE__*/
__webpack_require__(275);
module.exports.differenceWith =
/*#__PURE__*/
__webpack_require__(716);
module.exports.dissoc =
/*#__PURE__*/
__webpack_require__(597);
module.exports.dissocPath =
/*#__PURE__*/
__webpack_require__(526);
module.exports.divide =
/*#__PURE__*/
__webpack_require__(921);
module.exports.drop =
/*#__PURE__*/
__webpack_require__(12);
module.exports.dropLast =
/*#__PURE__*/
__webpack_require__(365);
module.exports.dropLastWhile =
/*#__PURE__*/
__webpack_require__(533);
module.exports.dropRepeats =
/*#__PURE__*/
__webpack_require__(59);
module.exports.dropRepeatsWith =
/*#__PURE__*/
__webpack_require__(919);
module.exports.dropWhile =
/*#__PURE__*/
__webpack_require__(531);
module.exports.either =
/*#__PURE__*/
__webpack_require__(446);
module.exports.empty =
/*#__PURE__*/
__webpack_require__(235);
module.exports.endsWith =
/*#__PURE__*/
__webpack_require__(900);
module.exports.eqBy =
/*#__PURE__*/
__webpack_require__(912);
module.exports.eqProps =
/*#__PURE__*/
__webpack_require__(200);
module.exports.equals =
/*#__PURE__*/
__webpack_require__(701);
module.exports.evolve =
/*#__PURE__*/
__webpack_require__(887);
module.exports.filter =
/*#__PURE__*/
__webpack_require__(80);
module.exports.find =
/*#__PURE__*/
__webpack_require__(862);
module.exports.findIndex =
/*#__PURE__*/
__webpack_require__(2);
module.exports.findLast =
/*#__PURE__*/
__webpack_require__(656);
module.exports.findLastIndex =
/*#__PURE__*/
__webpack_require__(593);
module.exports.flatten =
/*#__PURE__*/
__webpack_require__(51);
module.exports.flip =
/*#__PURE__*/
__webpack_require__(328);
module.exports.forEach =
/*#__PURE__*/
__webpack_require__(962);
module.exports.forEachObjIndexed =
/*#__PURE__*/
__webpack_require__(961);
module.exports.fromPairs =
/*#__PURE__*/
__webpack_require__(795);
module.exports.groupBy =
/*#__PURE__*/
__webpack_require__(797);
module.exports.groupWith =
/*#__PURE__*/
__webpack_require__(497);
module.exports.gt =
/*#__PURE__*/
__webpack_require__(573);
module.exports.gte =
/*#__PURE__*/
__webpack_require__(144);
module.exports.has =
/*#__PURE__*/
__webpack_require__(511);
module.exports.hasIn =
/*#__PURE__*/
__webpack_require__(146);
module.exports.hasPath =
/*#__PURE__*/
__webpack_require__(303);
module.exports.head =
/*#__PURE__*/
__webpack_require__(678);
module.exports.identical =
/*#__PURE__*/
__webpack_require__(211);
module.exports.identity =
/*#__PURE__*/
__webpack_require__(534);
module.exports.ifElse =
/*#__PURE__*/
__webpack_require__(462);
module.exports.inc =
/*#__PURE__*/
__webpack_require__(37);
module.exports.includes =
/*#__PURE__*/
__webpack_require__(287);
module.exports.indexBy =
/*#__PURE__*/
__webpack_require__(500);
module.exports.indexOf =
/*#__PURE__*/
__webpack_require__(572);
module.exports.init =
/*#__PURE__*/
__webpack_require__(431);
module.exports.innerJoin =
/*#__PURE__*/
__webpack_require__(367);
module.exports.insert =
/*#__PURE__*/
__webpack_require__(718);
module.exports.insertAll =
/*#__PURE__*/
__webpack_require__(709);
module.exports.intersection =
/*#__PURE__*/
__webpack_require__(859);
module.exports.intersperse =
/*#__PURE__*/
__webpack_require__(126);
module.exports.into =
/*#__PURE__*/
__webpack_require__(889);
module.exports.invert =
/*#__PURE__*/
__webpack_require__(710);
module.exports.invertObj =
/*#__PURE__*/
__webpack_require__(746);
module.exports.invoker =
/*#__PURE__*/
__webpack_require__(691);
module.exports.is =
/*#__PURE__*/
__webpack_require__(452);
module.exports.isEmpty =
/*#__PURE__*/
__webpack_require__(346);
module.exports.isNil =
/*#__PURE__*/
__webpack_require__(317);
module.exports.join =
/*#__PURE__*/
__webpack_require__(644);
module.exports.juxt =
/*#__PURE__*/
__webpack_require__(314);
module.exports.keys =
/*#__PURE__*/
__webpack_require__(89);
module.exports.keysIn =
/*#__PURE__*/
__webpack_require__(620);
module.exports.last =
/*#__PURE__*/
__webpack_require__(951);
module.exports.lastIndexOf =
/*#__PURE__*/
__webpack_require__(1);
module.exports.length =
/*#__PURE__*/
__webpack_require__(262);
module.exports.lens =
/*#__PURE__*/
__webpack_require__(596);
module.exports.lensIndex =
/*#__PURE__*/
__webpack_require__(515);
module.exports.lensPath =
/*#__PURE__*/
__webpack_require__(272);
module.exports.lensProp =
/*#__PURE__*/
__webpack_require__(461);
module.exports.lift =
/*#__PURE__*/
__webpack_require__(127);
module.exports.liftN =
/*#__PURE__*/
__webpack_require__(748);
module.exports.lt =
/*#__PURE__*/
__webpack_require__(125);
module.exports.lte =
/*#__PURE__*/
__webpack_require__(212);
module.exports.map =
/*#__PURE__*/
__webpack_require__(523);
module.exports.mapAccum =
/*#__PURE__*/
__webpack_require__(611);
module.exports.mapAccumRight =
/*#__PURE__*/
__webpack_require__(826);
module.exports.mapObjIndexed =
/*#__PURE__*/
__webpack_require__(622);
module.exports.match =
/*#__PURE__*/
__webpack_require__(488);
module.exports.mathMod =
/*#__PURE__*/
__webpack_require__(45);
module.exports.max =
/*#__PURE__*/
__webpack_require__(793);
module.exports.maxBy =
/*#__PURE__*/
__webpack_require__(937);
module.exports.mean =
/*#__PURE__*/
__webpack_require__(460);
module.exports.median =
/*#__PURE__*/
__webpack_require__(223);
module.exports.memoizeWith =
/*#__PURE__*/
__webpack_require__(999);
module.exports.merge =
/*#__PURE__*/
__webpack_require__(650);
module.exports.mergeAll =
/*#__PURE__*/
__webpack_require__(841);
module.exports.mergeDeepLeft =
/*#__PURE__*/
__webpack_require__(734);
module.exports.mergeDeepRight =
/*#__PURE__*/
__webpack_require__(505);
module.exports.mergeDeepWith =
/*#__PURE__*/
__webpack_require__(120);
module.exports.mergeDeepWithKey =
/*#__PURE__*/
__webpack_require__(492);
module.exports.mergeLeft =
/*#__PURE__*/
__webpack_require__(121);
module.exports.mergeRight =
/*#__PURE__*/
__webpack_require__(690);
module.exports.mergeWith =
/*#__PURE__*/
__webpack_require__(927);
module.exports.mergeWithKey =
/*#__PURE__*/
__webpack_require__(681);
module.exports.min =
/*#__PURE__*/
__webpack_require__(915);
module.exports.minBy =
/*#__PURE__*/
__webpack_require__(669);
module.exports.modulo =
/*#__PURE__*/
__webpack_require__(508);
module.exports.move =
/*#__PURE__*/
__webpack_require__(610);
module.exports.multiply =
/*#__PURE__*/
__webpack_require__(880);
module.exports.nAry =
/*#__PURE__*/
__webpack_require__(425);
module.exports.negate =
/*#__PURE__*/
__webpack_require__(266);
module.exports.none =
/*#__PURE__*/
__webpack_require__(86);
module.exports.not =
/*#__PURE__*/
__webpack_require__(237);
module.exports.nth =
/*#__PURE__*/
__webpack_require__(207);
module.exports.nthArg =
/*#__PURE__*/
__webpack_require__(399);
module.exports.o =
/*#__PURE__*/
__webpack_require__(671);
module.exports.objOf =
/*#__PURE__*/
__webpack_require__(110);
module.exports.of =
/*#__PURE__*/
__webpack_require__(103);
module.exports.omit =
/*#__PURE__*/
__webpack_require__(589);
module.exports.once =
/*#__PURE__*/
__webpack_require__(295);
module.exports.or =
/*#__PURE__*/
__webpack_require__(443);
module.exports.otherwise =
/*#__PURE__*/
__webpack_require__(66);
module.exports.over =
/*#__PURE__*/
__webpack_require__(97);
module.exports.pair =
/*#__PURE__*/
__webpack_require__(77);
module.exports.partial =
/*#__PURE__*/
__webpack_require__(814);
module.exports.partialRight =
/*#__PURE__*/
__webpack_require__(771);
module.exports.partition =
/*#__PURE__*/
__webpack_require__(368);
module.exports.path =
/*#__PURE__*/
__webpack_require__(756);
module.exports.paths =
/*#__PURE__*/
__webpack_require__(394);
module.exports.pathEq =
/*#__PURE__*/
__webpack_require__(449);
module.exports.pathOr =
/*#__PURE__*/
__webpack_require__(25);
module.exports.pathSatisfies =
/*#__PURE__*/
__webpack_require__(41);
module.exports.pick =
/*#__PURE__*/
__webpack_require__(312);
module.exports.pickAll =
/*#__PURE__*/
__webpack_require__(362);
module.exports.pickBy =
/*#__PURE__*/
__webpack_require__(648);
module.exports.pipe =
/*#__PURE__*/
__webpack_require__(918);
module.exports.pipeK =
/*#__PURE__*/
__webpack_require__(22);
module.exports.pipeP =
/*#__PURE__*/
__webpack_require__(984);
module.exports.pipeWith =
/*#__PURE__*/
__webpack_require__(326);
module.exports.pluck =
/*#__PURE__*/
__webpack_require__(819);
module.exports.prepend =
/*#__PURE__*/
__webpack_require__(773);
module.exports.product =
/*#__PURE__*/
__webpack_require__(760);
module.exports.project =
/*#__PURE__*/
__webpack_require__(376);
module.exports.prop =
/*#__PURE__*/
__webpack_require__(196);
module.exports.propEq =
/*#__PURE__*/
__webpack_require__(134);
module.exports.propIs =
/*#__PURE__*/
__webpack_require__(261);
module.exports.propOr =
/*#__PURE__*/
__webpack_require__(167);
module.exports.propSatisfies =
/*#__PURE__*/
__webpack_require__(757);
module.exports.props =
/*#__PURE__*/
__webpack_require__(85);
module.exports.range =
/*#__PURE__*/
__webpack_require__(730);
module.exports.reduce =
/*#__PURE__*/
__webpack_require__(46);
module.exports.reduceBy =
/*#__PURE__*/
__webpack_require__(729);
module.exports.reduceRight =
/*#__PURE__*/
__webpack_require__(498);
module.exports.reduceWhile =
/*#__PURE__*/
__webpack_require__(769);
module.exports.reduced =
/*#__PURE__*/
__webpack_require__(848);
module.exports.reject =
/*#__PURE__*/
__webpack_require__(92);
module.exports.remove =
/*#__PURE__*/
__webpack_require__(917);
module.exports.repeat =
/*#__PURE__*/
__webpack_require__(258);
module.exports.replace =
/*#__PURE__*/
__webpack_require__(30);
module.exports.reverse =
/*#__PURE__*/
__webpack_require__(528);
module.exports.scan =
/*#__PURE__*/
__webpack_require__(559);
module.exports.sequence =
/*#__PURE__*/
__webpack_require__(827);
module.exports.set =
/*#__PURE__*/
__webpack_require__(170);
module.exports.slice =
/*#__PURE__*/
__webpack_require__(232);
module.exports.sort =
/*#__PURE__*/
__webpack_require__(595);
module.exports.sortBy =
/*#__PURE__*/
__webpack_require__(306);
module.exports.sortWith =
/*#__PURE__*/
__webpack_require__(895);
module.exports.split =
/*#__PURE__*/
__webpack_require__(628);
module.exports.splitAt =
/*#__PURE__*/
__webpack_require__(364);
module.exports.splitEvery =
/*#__PURE__*/
__webpack_require__(408);
module.exports.splitWhen =
/*#__PURE__*/
__webpack_require__(221);
module.exports.startsWith =
/*#__PURE__*/
__webpack_require__(996);
module.exports.subtract =
/*#__PURE__*/
__webpack_require__(743);
module.exports.sum =
/*#__PURE__*/
__webpack_require__(218);
module.exports.symmetricDifference =
/*#__PURE__*/
__webpack_require__(90);
module.exports.symmetricDifferenceWith =
/*#__PURE__*/
__webpack_require__(63);
module.exports.tail =
/*#__PURE__*/
__webpack_require__(193);
module.exports.take =
/*#__PURE__*/
__webpack_require__(198);
module.exports.takeLast =
/*#__PURE__*/
__webpack_require__(173);
module.exports.takeLastWhile =
/*#__PURE__*/
__webpack_require__(249);
module.exports.takeWhile =
/*#__PURE__*/
__webpack_require__(39);
module.exports.tap =
/*#__PURE__*/
__webpack_require__(62);
module.exports.test =
/*#__PURE__*/
__webpack_require__(140);
module.exports.andThen =
/*#__PURE__*/
__webpack_require__(82);
module.exports.times =
/*#__PURE__*/
__webpack_require__(54);
module.exports.toLower =
/*#__PURE__*/
__webpack_require__(160);
module.exports.toPairs =
/*#__PURE__*/
__webpack_require__(902);
module.exports.toPairsIn =
/*#__PURE__*/
__webpack_require__(509);
module.exports.toString =
/*#__PURE__*/
__webpack_require__(854);
module.exports.toUpper =
/*#__PURE__*/
__webpack_require__(770);
module.exports.transduce =
/*#__PURE__*/
__webpack_require__(482);
module.exports.transpose =
/*#__PURE__*/
__webpack_require__(93);
module.exports.traverse =
/*#__PURE__*/
__webpack_require__(866);
module.exports.trim =
/*#__PURE__*/
__webpack_require__(356);
module.exports.tryCatch =
/*#__PURE__*/
__webpack_require__(219);
module.exports.type =
/*#__PURE__*/
__webpack_require__(552);
module.exports.unapply =
/*#__PURE__*/
__webpack_require__(64);
module.exports.unary =
/*#__PURE__*/
__webpack_require__(715);
module.exports.uncurryN =
/*#__PURE__*/
__webpack_require__(586);
module.exports.unfold =
/*#__PURE__*/
__webpack_require__(923);
module.exports.union =
/*#__PURE__*/
__webpack_require__(410);
module.exports.unionWith =
/*#__PURE__*/
__webpack_require__(163);
module.exports.uniq =
/*#__PURE__*/
__webpack_require__(732);
module.exports.uniqBy =
/*#__PURE__*/
__webpack_require__(703);
module.exports.uniqWith =
/*#__PURE__*/
__webpack_require__(780);
module.exports.unless =
/*#__PURE__*/
__webpack_require__(986);
module.exports.unnest =
/*#__PURE__*/
__webpack_require__(893);
module.exports.until =
/*#__PURE__*/
__webpack_require__(765);
module.exports.update =
/*#__PURE__*/
__webpack_require__(881);
module.exports.useWith =
/*#__PURE__*/
__webpack_require__(467);
module.exports.values =
/*#__PURE__*/
__webpack_require__(256);
module.exports.valuesIn =
/*#__PURE__*/
__webpack_require__(241);
module.exports.view =
/*#__PURE__*/
__webpack_require__(67);
module.exports.when =
/*#__PURE__*/
__webpack_require__(659);
module.exports.where =
/*#__PURE__*/
__webpack_require__(113);
module.exports.whereEq =
/*#__PURE__*/
__webpack_require__(539);
module.exports.without =
/*#__PURE__*/
__webpack_require__(69);
module.exports.xor =
/*#__PURE__*/
__webpack_require__(470);
module.exports.xprod =
/*#__PURE__*/
__webpack_require__(609);
module.exports.zip =
/*#__PURE__*/
__webpack_require__(630);
module.exports.zipObj =
/*#__PURE__*/
__webpack_require__(956);
module.exports.zipWith =
/*#__PURE__*/
__webpack_require__(837);
module.exports.thunkify =
/*#__PURE__*/
__webpack_require__(159);
/***/ }),
/* 62 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _dispatchable =
/*#__PURE__*/
__webpack_require__(968);
var _xtap =
/*#__PURE__*/
__webpack_require__(839);
/**
* Runs the given function with the supplied object, then returns the object.
*
* Acts as a transducer if a transformer is given as second parameter.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Function
* @sig (a -> *) -> a -> a
* @param {Function} fn The function to call with `x`. The return value of `fn` will be thrown away.
* @param {*} x
* @return {*} `x`.
* @example
*
* const sayX = x => console.log('x is ' + x);
* R.tap(sayX, 100); //=> 100
* // logs 'x is 100'
* @symb R.tap(f, a) = a
*/
var tap =
/*#__PURE__*/
_curry2(
/*#__PURE__*/
_dispatchable([], _xtap, function tap(fn, x) {
fn(x);
return x;
}));
module.exports = tap;
/***/ }),
/* 63 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry3 =
/*#__PURE__*/
__webpack_require__(78);
var concat =
/*#__PURE__*/
__webpack_require__(818);
var differenceWith =
/*#__PURE__*/
__webpack_require__(716);
/**
* Finds the set (i.e. no duplicates) of all elements contained in the first or
* second list, but not both. Duplication is determined according to the value
* returned by applying the supplied predicate to two list elements.
*
* @func
* @memberOf R
* @since v0.19.0
* @category Relation
* @sig ((a, a) -> Boolean) -> [a] -> [a] -> [a]
* @param {Function} pred A predicate used to test whether two items are equal.
* @param {Array} list1 The first list.
* @param {Array} list2 The second list.
* @return {Array} The elements in `list1` or `list2`, but not both.
* @see R.symmetricDifference, R.difference, R.differenceWith
* @example
*
* const eqA = R.eqBy(R.prop('a'));
* const l1 = [{a: 1}, {a: 2}, {a: 3}, {a: 4}];
* const l2 = [{a: 3}, {a: 4}, {a: 5}, {a: 6}];
* R.symmetricDifferenceWith(eqA, l1, l2); //=> [{a: 1}, {a: 2}, {a: 5}, {a: 6}]
*/
var symmetricDifferenceWith =
/*#__PURE__*/
_curry3(function symmetricDifferenceWith(pred, list1, list2) {
return concat(differenceWith(pred, list1, list2), differenceWith(pred, list2, list1));
});
module.exports = symmetricDifferenceWith;
/***/ }),
/* 64 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry1 =
/*#__PURE__*/
__webpack_require__(721);
/**
* Takes a function `fn`, which takes a single array argument, and returns a
* function which:
*
* - takes any number of positional arguments;
* - passes these arguments to `fn` as an array; and
* - returns the result.
*
* In other words, `R.unapply` derives a variadic function from a function which
* takes an array. `R.unapply` is the inverse of [`R.apply`](#apply).
*
* @func
* @memberOf R
* @since v0.8.0
* @category Function
* @sig ([*...] -> a) -> (*... -> a)
* @param {Function} fn
* @return {Function}
* @see R.apply
* @example
*
* R.unapply(JSON.stringify)(1, 2, 3); //=> '[1,2,3]'
* @symb R.unapply(f)(a, b) = f([a, b])
*/
var unapply =
/*#__PURE__*/
_curry1(function unapply(fn) {
return function () {
return fn(Array.prototype.slice.call(arguments, 0));
};
});
module.exports = unapply;
/***/ }),
/* 65 */,
/* 66 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _assertPromise =
/*#__PURE__*/
__webpack_require__(385);
/**
* Returns the result of applying the onFailure function to the value inside
* a failed promise. This is useful for handling rejected promises
* inside function compositions.
*
* @func
* @memberOf R
* @since v0.26.0
* @category Function
* @sig (e -> b) -> (Promise e a) -> (Promise e b)
* @sig (e -> (Promise f b)) -> (Promise e a) -> (Promise f b)
* @param {Function} onFailure The function to apply. Can return a value or a promise of a value.
* @param {Promise} p
* @return {Promise} The result of calling `p.then(null, onFailure)`
* @see R.then
* @example
*
* var failedFetch = (id) => Promise.reject('bad ID');
* var useDefault = () => ({ firstName: 'Bob', lastName: 'Loblaw' })
*
* //recoverFromFailure :: String -> Promise ({firstName, lastName})
* var recoverFromFailure = R.pipe(
* failedFetch,
* R.otherwise(useDefault),
* R.then(R.pick(['firstName', 'lastName'])),
* );
* recoverFromFailure(12345).then(console.log)
*/
var otherwise =
/*#__PURE__*/
_curry2(function otherwise(f, p) {
_assertPromise('otherwise', p);
return p.then(null, f);
});
module.exports = otherwise;
/***/ }),
/* 67 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830); // `Const` is a functor that effectively ignores the function given to `map`.
var Const = function (x) {
return {
value: x,
'fantasy-land/map': function () {
return this;
}
};
};
/**
* Returns a "view" of the given data structure, determined by the given lens.
* The lens's focus determines which portion of the data structure is visible.
*
* @func
* @memberOf R
* @since v0.16.0
* @category Object
* @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s
* @sig Lens s a -> s -> a
* @param {Lens} lens
* @param {*} x
* @return {*}
* @see R.prop, R.lensIndex, R.lensProp
* @example
*
* const xLens = R.lensProp('x');
*
* R.view(xLens, {x: 1, y: 2}); //=> 1
* R.view(xLens, {x: 4, y: 2}); //=> 4
*/
var view =
/*#__PURE__*/
_curry2(function view(lens, x) {
// Using `Const` effectively ignores the setter function of the `lens`,
// leaving the value returned by the getter function unmodified.
return lens(Const)(x).value;
});
module.exports = view;
/***/ }),
/* 68 */,
/* 69 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _includes =
/*#__PURE__*/
__webpack_require__(216);
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var flip =
/*#__PURE__*/
__webpack_require__(328);
var reject =
/*#__PURE__*/
__webpack_require__(92);
/**
* Returns a new list without values in the first argument.
* [`R.equals`](#equals) is used to determine equality.
*
* Acts as a transducer if a transformer is given in list position.
*
* @func
* @memberOf R
* @since v0.19.0
* @category List
* @sig [a] -> [a] -> [a]
* @param {Array} list1 The values to be removed from `list2`.
* @param {Array} list2 The array to remove values from.
* @return {Array} The new array without values in `list1`.
* @see R.transduce, R.difference, R.remove
* @example
*
* R.without([1, 2], [1, 2, 1, 3, 4]); //=> [3, 4]
*/
var without =
/*#__PURE__*/
_curry2(function (xs, list) {
return reject(flip(_includes)(xs), list);
});
module.exports = without;
/***/ }),
/* 70 */,
/* 71 */,
/* 72 */,
/* 73 */,
/* 74 */,
/* 75 */,
/* 76 */,
/* 77 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
/**
* Takes two arguments, `fst` and `snd`, and returns `[fst, snd]`.
*
* @func
* @memberOf R
* @since v0.18.0
* @category List
* @sig a -> b -> (a,b)
* @param {*} fst
* @param {*} snd
* @return {Array}
* @see R.objOf, R.of
* @example
*
* R.pair('foo', 'bar'); //=> ['foo', 'bar']
*/
var pair =
/*#__PURE__*/
_curry2(function pair(fst, snd) {
return [fst, snd];
});
module.exports = pair;
/***/ }),
/* 78 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry1 =
/*#__PURE__*/
__webpack_require__(721);
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _isPlaceholder =
/*#__PURE__*/
__webpack_require__(953);
/**
* Optimized internal three-arity curry function.
*
* @private
* @category Function
* @param {Function} fn The function to curry.
* @return {Function} The curried function.
*/
function _curry3(fn) {
return function f3(a, b, c) {
switch (arguments.length) {
case 0:
return f3;
case 1:
return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {
return fn(a, _b, _c);
});
case 2:
return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {
return fn(_a, b, _c);
}) : _isPlaceholder(b) ? _curry2(function (_b, _c) {
return fn(a, _b, _c);
}) : _curry1(function (_c) {
return fn(a, b, _c);
});
default:
return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {
return fn(_a, _b, c);
}) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {
return fn(_a, b, _c);
}) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {
return fn(a, _b, _c);
}) : _isPlaceholder(a) ? _curry1(function (_a) {
return fn(_a, b, c);
}) : _isPlaceholder(b) ? _curry1(function (_b) {
return fn(a, _b, c);
}) : _isPlaceholder(c) ? _curry1(function (_c) {
return fn(a, b, _c);
}) : fn(a, b, c);
}
};
}
module.exports = _curry3;
/***/ }),
/* 79 */,
/* 80 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry2 =
/*#__PURE__*/
__webpack_require__(830);
var _dispatchable =
/*#__PURE__*/
__webpack_require__(968);
var _filter =
/*#__PURE__*/
__webpack_require__(695);
var _isObject =
/*#__PURE__*/
__webpack_require__(662);
var _reduce =
/*#__PURE__*/
__webpack_require__(870);
var _xfilter =
/*#__PURE__*/
__webpack_require__(959);
var keys =
/*#__PURE__*/
__webpack_require__(89);
/**
* Takes a predicate and a `Filterable`, and returns a new filterable of the
* same type containing the members of the given filterable which satisfy the
* given predicate. Filterable objects include plain objects or any object
* that has a filter method such as `Array`.
*
* Dispatches to the `filter` method of the second argument, if present.
*
* Acts as a transducer if a transformer is given in list position.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @sig Filterable f => (a -> Boolean) -> f a -> f a
* @param {Function} pred
* @param {Array} filterable
* @return {Array} Filterable
* @see R.reject, R.transduce, R.addIndex
* @example
*
* const isEven = n => n % 2 === 0;
*
* R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]
*
* R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}
*/
var filter =
/*#__PURE__*/
_curry2(
/*#__PURE__*/
_dispatchable(['filter'], _xfilter, function (pred, filterable) {
return _isObject(filterable) ? _reduce(function (acc, key) {
if (pred(filterable[key])) {
acc[key] = filterable[key];
}
return acc;
}, {}, keys(filterable)) : // else
_filter(pred, filterable);
}));
module.exports = filter;
/***/ }),
/* 81 */
/***/ (function(module, __unusedexports, __webpack_require__) {
var _curry1 =
/*#__PURE__*/
__webpack_require__(721);
var curryN =
/*#__PURE__*/
__webpack_require__(535);
var max =
/*#__PURE__*/
__webpack_require__(793);
var pluck =
/*#__PURE__*/
__webpack_require__(819);
var reduce =
/*#__PURE__*/
__webpack_require__(46);
/**
* Takes a list of predicates and returns a predicate that returns true for a
* given list of arguments if at least one of the provided predicates is
* satisfied by those arguments.
*
* The function returned is a curried function whose arity matches that of the
* highest-arity predicate.
*
* @func
* @memberOf R
* @since v0.9.0
* @category Logic
* @sig [(*... -> Boolean)] -> (*... -> Boolean)
* @param {Array} predicates An array of predicates to check
* @return {Function} The combined predicate
* @see R.allPass
* @example
*
* const isClub = R.propEq('suit', '♣');
* const isSpade = R.propEq('suit', '♠');
* const isBlackCard = R.anyPass([isClub, isSpade]);
*
* isBlackCard({rank: '10', suit: '♣'}); //=> true
* isBlackCard({rank: 'Q', suit: '♠'}); //=> true
* isBlackCard({rank: 'Q', suit: '♦'}); //=> false
*/
var anyPass =
/*#__PURE__*/
_curry1(function anyPass(preds) {
return curryN(reduce(max, 0, pluck('length', preds)), function () {
var idx = 0;
var len = preds.length;
while (idx < len) {
if (preds[idx].apply(this, arguments)) {
return true;
}
idx