{“ast”:null,“code”:“function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }nn/**n * lodash (Custom Build) <n“>jquery.org/>n * Released under MIT license <n“>underscorejs.org/LICENSE>n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editorsn */nn/** Used as references for various `Number` constants. */nvar INFINITY = 1 / 0,n MAX_INTEGER = 1.7976931348623157e+308,n NAN = 0 / 0;n/** `Object#toString` result references. */nnvar symbolTag = '[object Symbol]';n/** Used to match leading and trailing whitespace. */nnvar reTrim = /^\s+|\s+$/g;n/** Used to detect bad signed hexadecimal string values. */nnvar reIsBadHex = /^[-]0x[0-9a-f]
$/i;n/** Used to detect binary string values. */nnvar reIsBinary = /^0b+$/i;n/** Used to detect octal string values. */nnvar reIsOctal = /^0o+$/i;n/** Built-in method references without a dependency on `root`. */nnvar freeParseInt = parseInt;n/** Used for built-in method references. */nnvar objectProto = Object.prototype;n/**n * Used to resolve then * [`toStringTag`](ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)n * of values.n */nnvar objectToString = objectProto.toString;n/**n * The base implementation of `_.slice` without an iteratee call guard.n *n * @privaten * @param {Array} array The array to slice.n * @param {number} [start=0] The start position.n * @param {number} [end=array.length] The end position.n * @returns {Array} Returns the slice of `array`.n */nnfunction baseSlice(array, start, end) {n var index = -1,n length = array.length;nn if (start < 0) {n start = -start > length ? 0 : length + start;n }nn end = end > length ? length : end;nn if (end < 0) {n end += length;n }nn length = start > end ? 0 : end - start >>> 0;n start >>>= 0;n var result = Array(length);nn while (++index < length) {n result = array[index + start];n }nn return result;n}n/**n * Creates a slice of `array` with `n` elements taken from the end.n *n * @staticn * @memberOf _n * @since 3.0.0n * @category Arrayn * @param {Array} array The array to query.n * @param {number} [n=1] The number of elements to take.n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.n * @returns {Array} Returns the slice of `array`.n * @examplen *n * _.takeRight([1, 2, 3]);n * // => [3]n *n * _.takeRight([1, 2, 3], 2);n * // => [2, 3]n *n * _.takeRight([1, 2, 3], 5);n * // => [1, 2, 3]n *n * _.takeRight([1, 2, 3], 0);n * // => []n */nnnfunction takeRight(array, n, guard) {n var length = array ? array.length : 0;nn if (!length) {n return [];n }nn n = guard || n === undefined ? 1 : toInteger(n);n n = length - n;n return baseSlice(array, n < 0 ? 0 : n, length);n}n/**n * Checks if `value` is then * [language type](www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)n *n * @staticn * @memberOf _n * @since 0.1.0n * @category Langn * @param {*} value The value to check.n * @returns {boolean} Returns `true` if `value` is an object, else `false`.n * @examplen *n * _.isObject({});n * // => truen *n * _.isObject([1, 2, 3]);n * // => truen *n * .isObject(.noop);n * // => truen *n * _.isObject(null);n * // => falsen */nnnfunction isObject(value) {n var type = _typeof(value);nn return !!value && (type == 'object' || type == 'function');n}n/**n * Checks if `value` is object-like. A value is object-like if it's not `null`n * and has a `typeof` result of "object".n *n * @staticn * @memberOf _n * @since 4.0.0n * @category Langn * @param {*} value The value to check.n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.n * @examplen *n * _.isObjectLike({});n * // => truen *n * _.isObjectLike([1, 2, 3]);n * // => truen *n * .isObjectLike(.noop);n * // => falsen *n * _.isObjectLike(null);n * // => falsen */nnnfunction isObjectLike(value) {n return !!value && _typeof(value) == 'object';n}n/**n * Checks if `value` is classified as a `Symbol` primitive or object.n *n * @staticn * @memberOf _n * @since 4.0.0n * @category Langn * @param {*} value The value to check.n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.n * @examplen *n * _.isSymbol(Symbol.iterator);n * // => truen *n * _.isSymbol('abc');n * // => falsen */nnnfunction isSymbol(value) {n return _typeof(value) == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;n}n/**n * Converts `value` to a finite number.n *n * @staticn * @memberOf _n * @since 4.12.0n * @category Langn * @param {*} value The value to convert.n * @returns {number} Returns the converted number.n * @examplen *n * _.toFinite(3.2);n * // => 3.2n *n * _.toFinite(Number
.MIN_VALUE);n * // => 5e-324n *n * _.toFinite(Infinity);n * // => 1.7976931348623157e+308n *n * _.toFinite('3.2');n * // => 3.2n */nnnfunction toFinite(value) {n if (!value) {n return value === 0 ? value : 0;n }nn value = toNumber(value);nn if (value === INFINITY || value === -INFINITY) {n var sign = value < 0 ? -1 : 1;n return sign * MAX_INTEGER;n }nn return value === value ? value : 0;n}n/**n * Converts `value` to an integer.n *n * Note: This method is loosely based onn * [`ToInteger`](www.ecma-international.org/ecma-262/7.0/#sec-tointeger).n *n * @staticn * @memberOf _n * @since 4.0.0n * @category Langn * @param {*} value The value to convert.n * @returns {number} Returns the converted integer.n * @examplen *n * _.toInteger(3.2);n * // => 3n *n * _.toInteger(Number
.MIN_VALUE);n * // => 0n *n * _.toInteger(Infinity);n * // => 1.7976931348623157e+308n *n * _.toInteger('3.2');n * // => 3n */nnnfunction toInteger(value) {n var result = toFinite(value),n remainder = result % 1;n return result === result ? remainder ? result - remainder : result : 0;n}n/**n * Converts `value` to a number.n *n * @staticn * @memberOf _n * @since 4.0.0n * @category Langn * @param {*} value The value to process.n * @returns {number} Returns the number.n * @examplen *n * _.toNumber(3.2);n * // => 3.2n *n * _.toNumber(Number
.MIN_VALUE);n * // => 5e-324n *n * _.toNumber(Infinity);n * // => Infinityn *n * _.toNumber('3.2');n * // => 3.2n */nnnfunction toNumber(value) {n if (typeof value == 'number') {n return value;n }nn if (isSymbol(value)) {n return NAN;n }nn if (isObject(value)) {n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;n value = isObject(other) ? other + '' : other;n }nn if (typeof value != 'string') {n return value === 0 ? value : +value;n }nn value = value.replace(reTrim, '');n var isBinary = reIsBinary.test(value);n return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;n}nnmodule.exports = takeRight;”,“map”:null,“metadata”:{},“sourceType”:“module”}