{"version":3,"file":"_flatRest-XR-2aBeZ.js","sources":["../../../node_modules/lodash/_isFlattenable.js","../../../node_modules/lodash/_baseFlatten.js","../../../node_modules/lodash/flatten.js","../../../node_modules/lodash/_flatRest.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n","var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n"],"names":["Symbol","require$$0","isArguments","require$$1","isArray","require$$2","spreadableSymbol","isFlattenable","value","_isFlattenable","arrayPush","baseFlatten","array","depth","predicate","isStrict","result","index","length","_baseFlatten","flatten","flatten_1","overRest","setToString","flatRest","func","_flatRest"],"mappings":"kQAAA,IAAIA,EAASC,EAAoB,EAC7BC,EAAcC,EAAwB,EACtCC,EAAUC,EAAoB,EAG9BC,EAAmBN,EAASA,EAAO,mBAAqB,OAS5D,SAASO,EAAcC,EAAO,CAC5B,OAAOJ,EAAQI,CAAK,GAAKN,EAAYM,CAAK,GACxC,CAAC,EAAEF,GAAoBE,GAASA,EAAMF,CAAgB,EAC1D,CAEA,OAAAG,EAAiBF,2CCnBjB,IAAIG,EAAYT,EAAuB,EACnCM,EAAgBJ,EAA2B,EAa/C,SAASQ,EAAYC,EAAOC,EAAOC,EAAWC,EAAUC,EAAQ,CAC9D,IAAIC,EAAQ,GACRC,EAASN,EAAM,OAKnB,IAHAE,IAAcA,EAAYP,GAC1BS,IAAWA,EAAS,IAEb,EAAEC,EAAQC,GAAQ,CACvB,IAAIV,EAAQI,EAAMK,CAAK,EACnBJ,EAAQ,GAAKC,EAAUN,CAAK,EAC1BK,EAAQ,EAEVF,EAAYH,EAAOK,EAAQ,EAAGC,EAAWC,EAAUC,CAAM,EAEzDN,EAAUM,EAAQR,CAAK,EAEfO,IACVC,EAAOA,EAAO,MAAM,EAAIR,EAE9B,CACE,OAAOQ,CACT,CAEA,OAAAG,EAAiBR,2CCrCjB,IAAIA,EAAcV,EAAyB,EAgB3C,SAASmB,EAAQR,EAAO,CACtB,IAAIM,EAASN,GAAS,KAAO,EAAIA,EAAM,OACvC,OAAOM,EAASP,EAAYC,EAAO,CAAC,EAAI,CAAE,CAC5C,CAEA,OAAAS,EAAiBD,2CCrBjB,IAAIA,EAAUnB,EAAoB,EAC9BqB,EAAWnB,EAAsB,EACjCoB,EAAclB,EAAyB,EAS3C,SAASmB,EAASC,EAAM,CACtB,OAAOF,EAAYD,EAASG,EAAM,OAAWL,CAAO,EAAGK,EAAO,EAAE,CAClE,CAEA,OAAAC,EAAiBF","x_google_ignoreList":[0,1,2,3]}