Edit File by line
/home/barbar84/public_h.../wp-inclu.../js/dist/vendor
File: lodash.js
/**
[0] Fix | Delete
* @license
[1] Fix | Delete
* Lodash <https://lodash.com/>
[2] Fix | Delete
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
[3] Fix | Delete
* Released under MIT license <https://lodash.com/license>
[4] Fix | Delete
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
[5] Fix | Delete
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
[6] Fix | Delete
*/
[7] Fix | Delete
;(function() {
[8] Fix | Delete
[9] Fix | Delete
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
[10] Fix | Delete
var undefined;
[11] Fix | Delete
[12] Fix | Delete
/** Used as the semantic version number. */
[13] Fix | Delete
var VERSION = '4.17.19';
[14] Fix | Delete
[15] Fix | Delete
/** Used as the size to enable large array optimizations. */
[16] Fix | Delete
var LARGE_ARRAY_SIZE = 200;
[17] Fix | Delete
[18] Fix | Delete
/** Error message constants. */
[19] Fix | Delete
var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
[20] Fix | Delete
FUNC_ERROR_TEXT = 'Expected a function';
[21] Fix | Delete
[22] Fix | Delete
/** Used to stand-in for `undefined` hash values. */
[23] Fix | Delete
var HASH_UNDEFINED = '__lodash_hash_undefined__';
[24] Fix | Delete
[25] Fix | Delete
/** Used as the maximum memoize cache size. */
[26] Fix | Delete
var MAX_MEMOIZE_SIZE = 500;
[27] Fix | Delete
[28] Fix | Delete
/** Used as the internal argument placeholder. */
[29] Fix | Delete
var PLACEHOLDER = '__lodash_placeholder__';
[30] Fix | Delete
[31] Fix | Delete
/** Used to compose bitmasks for cloning. */
[32] Fix | Delete
var CLONE_DEEP_FLAG = 1,
[33] Fix | Delete
CLONE_FLAT_FLAG = 2,
[34] Fix | Delete
CLONE_SYMBOLS_FLAG = 4;
[35] Fix | Delete
[36] Fix | Delete
/** Used to compose bitmasks for value comparisons. */
[37] Fix | Delete
var COMPARE_PARTIAL_FLAG = 1,
[38] Fix | Delete
COMPARE_UNORDERED_FLAG = 2;
[39] Fix | Delete
[40] Fix | Delete
/** Used to compose bitmasks for function metadata. */
[41] Fix | Delete
var WRAP_BIND_FLAG = 1,
[42] Fix | Delete
WRAP_BIND_KEY_FLAG = 2,
[43] Fix | Delete
WRAP_CURRY_BOUND_FLAG = 4,
[44] Fix | Delete
WRAP_CURRY_FLAG = 8,
[45] Fix | Delete
WRAP_CURRY_RIGHT_FLAG = 16,
[46] Fix | Delete
WRAP_PARTIAL_FLAG = 32,
[47] Fix | Delete
WRAP_PARTIAL_RIGHT_FLAG = 64,
[48] Fix | Delete
WRAP_ARY_FLAG = 128,
[49] Fix | Delete
WRAP_REARG_FLAG = 256,
[50] Fix | Delete
WRAP_FLIP_FLAG = 512;
[51] Fix | Delete
[52] Fix | Delete
/** Used as default options for `_.truncate`. */
[53] Fix | Delete
var DEFAULT_TRUNC_LENGTH = 30,
[54] Fix | Delete
DEFAULT_TRUNC_OMISSION = '...';
[55] Fix | Delete
[56] Fix | Delete
/** Used to detect hot functions by number of calls within a span of milliseconds. */
[57] Fix | Delete
var HOT_COUNT = 800,
[58] Fix | Delete
HOT_SPAN = 16;
[59] Fix | Delete
[60] Fix | Delete
/** Used to indicate the type of lazy iteratees. */
[61] Fix | Delete
var LAZY_FILTER_FLAG = 1,
[62] Fix | Delete
LAZY_MAP_FLAG = 2,
[63] Fix | Delete
LAZY_WHILE_FLAG = 3;
[64] Fix | Delete
[65] Fix | Delete
/** Used as references for various `Number` constants. */
[66] Fix | Delete
var INFINITY = 1 / 0,
[67] Fix | Delete
MAX_SAFE_INTEGER = 9007199254740991,
[68] Fix | Delete
MAX_INTEGER = 1.7976931348623157e+308,
[69] Fix | Delete
NAN = 0 / 0;
[70] Fix | Delete
[71] Fix | Delete
/** Used as references for the maximum length and index of an array. */
[72] Fix | Delete
var MAX_ARRAY_LENGTH = 4294967295,
[73] Fix | Delete
MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,
[74] Fix | Delete
HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
[75] Fix | Delete
[76] Fix | Delete
/** Used to associate wrap methods with their bit flags. */
[77] Fix | Delete
var wrapFlags = [
[78] Fix | Delete
['ary', WRAP_ARY_FLAG],
[79] Fix | Delete
['bind', WRAP_BIND_FLAG],
[80] Fix | Delete
['bindKey', WRAP_BIND_KEY_FLAG],
[81] Fix | Delete
['curry', WRAP_CURRY_FLAG],
[82] Fix | Delete
['curryRight', WRAP_CURRY_RIGHT_FLAG],
[83] Fix | Delete
['flip', WRAP_FLIP_FLAG],
[84] Fix | Delete
['partial', WRAP_PARTIAL_FLAG],
[85] Fix | Delete
['partialRight', WRAP_PARTIAL_RIGHT_FLAG],
[86] Fix | Delete
['rearg', WRAP_REARG_FLAG]
[87] Fix | Delete
];
[88] Fix | Delete
[89] Fix | Delete
/** `Object#toString` result references. */
[90] Fix | Delete
var argsTag = '[object Arguments]',
[91] Fix | Delete
arrayTag = '[object Array]',
[92] Fix | Delete
asyncTag = '[object AsyncFunction]',
[93] Fix | Delete
boolTag = '[object Boolean]',
[94] Fix | Delete
dateTag = '[object Date]',
[95] Fix | Delete
domExcTag = '[object DOMException]',
[96] Fix | Delete
errorTag = '[object Error]',
[97] Fix | Delete
funcTag = '[object Function]',
[98] Fix | Delete
genTag = '[object GeneratorFunction]',
[99] Fix | Delete
mapTag = '[object Map]',
[100] Fix | Delete
numberTag = '[object Number]',
[101] Fix | Delete
nullTag = '[object Null]',
[102] Fix | Delete
objectTag = '[object Object]',
[103] Fix | Delete
promiseTag = '[object Promise]',
[104] Fix | Delete
proxyTag = '[object Proxy]',
[105] Fix | Delete
regexpTag = '[object RegExp]',
[106] Fix | Delete
setTag = '[object Set]',
[107] Fix | Delete
stringTag = '[object String]',
[108] Fix | Delete
symbolTag = '[object Symbol]',
[109] Fix | Delete
undefinedTag = '[object Undefined]',
[110] Fix | Delete
weakMapTag = '[object WeakMap]',
[111] Fix | Delete
weakSetTag = '[object WeakSet]';
[112] Fix | Delete
[113] Fix | Delete
var arrayBufferTag = '[object ArrayBuffer]',
[114] Fix | Delete
dataViewTag = '[object DataView]',
[115] Fix | Delete
float32Tag = '[object Float32Array]',
[116] Fix | Delete
float64Tag = '[object Float64Array]',
[117] Fix | Delete
int8Tag = '[object Int8Array]',
[118] Fix | Delete
int16Tag = '[object Int16Array]',
[119] Fix | Delete
int32Tag = '[object Int32Array]',
[120] Fix | Delete
uint8Tag = '[object Uint8Array]',
[121] Fix | Delete
uint8ClampedTag = '[object Uint8ClampedArray]',
[122] Fix | Delete
uint16Tag = '[object Uint16Array]',
[123] Fix | Delete
uint32Tag = '[object Uint32Array]';
[124] Fix | Delete
[125] Fix | Delete
/** Used to match empty string literals in compiled template source. */
[126] Fix | Delete
var reEmptyStringLeading = /\b__p \+= '';/g,
[127] Fix | Delete
reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
[128] Fix | Delete
reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
[129] Fix | Delete
[130] Fix | Delete
/** Used to match HTML entities and HTML characters. */
[131] Fix | Delete
var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
[132] Fix | Delete
reUnescapedHtml = /[&<>"']/g,
[133] Fix | Delete
reHasEscapedHtml = RegExp(reEscapedHtml.source),
[134] Fix | Delete
reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
[135] Fix | Delete
[136] Fix | Delete
/** Used to match template delimiters. */
[137] Fix | Delete
var reEscape = /<%-([\s\S]+?)%>/g,
[138] Fix | Delete
reEvaluate = /<%([\s\S]+?)%>/g,
[139] Fix | Delete
reInterpolate = /<%=([\s\S]+?)%>/g;
[140] Fix | Delete
[141] Fix | Delete
/** Used to match property names within property paths. */
[142] Fix | Delete
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
[143] Fix | Delete
reIsPlainProp = /^\w*$/,
[144] Fix | Delete
rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
[145] Fix | Delete
[146] Fix | Delete
/**
[147] Fix | Delete
* Used to match `RegExp`
[148] Fix | Delete
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
[149] Fix | Delete
*/
[150] Fix | Delete
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
[151] Fix | Delete
reHasRegExpChar = RegExp(reRegExpChar.source);
[152] Fix | Delete
[153] Fix | Delete
/** Used to match leading and trailing whitespace. */
[154] Fix | Delete
var reTrim = /^\s+|\s+$/g,
[155] Fix | Delete
reTrimStart = /^\s+/,
[156] Fix | Delete
reTrimEnd = /\s+$/;
[157] Fix | Delete
[158] Fix | Delete
/** Used to match wrap detail comments. */
[159] Fix | Delete
var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
[160] Fix | Delete
reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/,
[161] Fix | Delete
reSplitDetails = /,? & /;
[162] Fix | Delete
[163] Fix | Delete
/** Used to match words composed of alphanumeric characters. */
[164] Fix | Delete
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
[165] Fix | Delete
[166] Fix | Delete
/** Used to match backslashes in property paths. */
[167] Fix | Delete
var reEscapeChar = /\\(\\)?/g;
[168] Fix | Delete
[169] Fix | Delete
/**
[170] Fix | Delete
* Used to match
[171] Fix | Delete
* [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).
[172] Fix | Delete
*/
[173] Fix | Delete
var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;
[174] Fix | Delete
[175] Fix | Delete
/** Used to match `RegExp` flags from their coerced string values. */
[176] Fix | Delete
var reFlags = /\w*$/;
[177] Fix | Delete
[178] Fix | Delete
/** Used to detect bad signed hexadecimal string values. */
[179] Fix | Delete
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
[180] Fix | Delete
[181] Fix | Delete
/** Used to detect binary string values. */
[182] Fix | Delete
var reIsBinary = /^0b[01]+$/i;
[183] Fix | Delete
[184] Fix | Delete
/** Used to detect host constructors (Safari). */
[185] Fix | Delete
var reIsHostCtor = /^\[object .+?Constructor\]$/;
[186] Fix | Delete
[187] Fix | Delete
/** Used to detect octal string values. */
[188] Fix | Delete
var reIsOctal = /^0o[0-7]+$/i;
[189] Fix | Delete
[190] Fix | Delete
/** Used to detect unsigned integer values. */
[191] Fix | Delete
var reIsUint = /^(?:0|[1-9]\d*)$/;
[192] Fix | Delete
[193] Fix | Delete
/** Used to match Latin Unicode letters (excluding mathematical operators). */
[194] Fix | Delete
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
[195] Fix | Delete
[196] Fix | Delete
/** Used to ensure capturing order of template delimiters. */
[197] Fix | Delete
var reNoMatch = /($^)/;
[198] Fix | Delete
[199] Fix | Delete
/** Used to match unescaped characters in compiled string literals. */
[200] Fix | Delete
var reUnescapedString = /['\n\r\u2028\u2029\\]/g;
[201] Fix | Delete
[202] Fix | Delete
/** Used to compose unicode character classes. */
[203] Fix | Delete
var rsAstralRange = '\\ud800-\\udfff',
[204] Fix | Delete
rsComboMarksRange = '\\u0300-\\u036f',
[205] Fix | Delete
reComboHalfMarksRange = '\\ufe20-\\ufe2f',
[206] Fix | Delete
rsComboSymbolsRange = '\\u20d0-\\u20ff',
[207] Fix | Delete
rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
[208] Fix | Delete
rsDingbatRange = '\\u2700-\\u27bf',
[209] Fix | Delete
rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
[210] Fix | Delete
rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
[211] Fix | Delete
rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
[212] Fix | Delete
rsPunctuationRange = '\\u2000-\\u206f',
[213] Fix | Delete
rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
[214] Fix | Delete
rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
[215] Fix | Delete
rsVarRange = '\\ufe0e\\ufe0f',
[216] Fix | Delete
rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
[217] Fix | Delete
[218] Fix | Delete
/** Used to compose unicode capture groups. */
[219] Fix | Delete
var rsApos = "['\u2019]",
[220] Fix | Delete
rsAstral = '[' + rsAstralRange + ']',
[221] Fix | Delete
rsBreak = '[' + rsBreakRange + ']',
[222] Fix | Delete
rsCombo = '[' + rsComboRange + ']',
[223] Fix | Delete
rsDigits = '\\d+',
[224] Fix | Delete
rsDingbat = '[' + rsDingbatRange + ']',
[225] Fix | Delete
rsLower = '[' + rsLowerRange + ']',
[226] Fix | Delete
rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
[227] Fix | Delete
rsFitz = '\\ud83c[\\udffb-\\udfff]',
[228] Fix | Delete
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
[229] Fix | Delete
rsNonAstral = '[^' + rsAstralRange + ']',
[230] Fix | Delete
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
[231] Fix | Delete
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
[232] Fix | Delete
rsUpper = '[' + rsUpperRange + ']',
[233] Fix | Delete
rsZWJ = '\\u200d';
[234] Fix | Delete
[235] Fix | Delete
/** Used to compose unicode regexes. */
[236] Fix | Delete
var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
[237] Fix | Delete
rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
[238] Fix | Delete
rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
[239] Fix | Delete
rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
[240] Fix | Delete
reOptMod = rsModifier + '?',
[241] Fix | Delete
rsOptVar = '[' + rsVarRange + ']?',
[242] Fix | Delete
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
[243] Fix | Delete
rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
[244] Fix | Delete
rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
[245] Fix | Delete
rsSeq = rsOptVar + reOptMod + rsOptJoin,
[246] Fix | Delete
rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,
[247] Fix | Delete
rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
[248] Fix | Delete
[249] Fix | Delete
/** Used to match apostrophes. */
[250] Fix | Delete
var reApos = RegExp(rsApos, 'g');
[251] Fix | Delete
[252] Fix | Delete
/**
[253] Fix | Delete
* Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
[254] Fix | Delete
* [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
[255] Fix | Delete
*/
[256] Fix | Delete
var reComboMark = RegExp(rsCombo, 'g');
[257] Fix | Delete
[258] Fix | Delete
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
[259] Fix | Delete
var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
[260] Fix | Delete
[261] Fix | Delete
/** Used to match complex or compound words. */
[262] Fix | Delete
var reUnicodeWord = RegExp([
[263] Fix | Delete
rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
[264] Fix | Delete
rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
[265] Fix | Delete
rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
[266] Fix | Delete
rsUpper + '+' + rsOptContrUpper,
[267] Fix | Delete
rsOrdUpper,
[268] Fix | Delete
rsOrdLower,
[269] Fix | Delete
rsDigits,
[270] Fix | Delete
rsEmoji
[271] Fix | Delete
].join('|'), 'g');
[272] Fix | Delete
[273] Fix | Delete
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
[274] Fix | Delete
var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');
[275] Fix | Delete
[276] Fix | Delete
/** Used to detect strings that need a more robust regexp to match words. */
[277] Fix | Delete
var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
[278] Fix | Delete
[279] Fix | Delete
/** Used to assign default `context` object properties. */
[280] Fix | Delete
var contextProps = [
[281] Fix | Delete
'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',
[282] Fix | Delete
'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',
[283] Fix | Delete
'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',
[284] Fix | Delete
'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',
[285] Fix | Delete
'_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'
[286] Fix | Delete
];
[287] Fix | Delete
[288] Fix | Delete
/** Used to make template sourceURLs easier to identify. */
[289] Fix | Delete
var templateCounter = -1;
[290] Fix | Delete
[291] Fix | Delete
/** Used to identify `toStringTag` values of typed arrays. */
[292] Fix | Delete
var typedArrayTags = {};
[293] Fix | Delete
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
[294] Fix | Delete
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
[295] Fix | Delete
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
[296] Fix | Delete
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
[297] Fix | Delete
typedArrayTags[uint32Tag] = true;
[298] Fix | Delete
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
[299] Fix | Delete
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
[300] Fix | Delete
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
[301] Fix | Delete
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
[302] Fix | Delete
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
[303] Fix | Delete
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
[304] Fix | Delete
typedArrayTags[setTag] = typedArrayTags[stringTag] =
[305] Fix | Delete
typedArrayTags[weakMapTag] = false;
[306] Fix | Delete
[307] Fix | Delete
/** Used to identify `toStringTag` values supported by `_.clone`. */
[308] Fix | Delete
var cloneableTags = {};
[309] Fix | Delete
cloneableTags[argsTag] = cloneableTags[arrayTag] =
[310] Fix | Delete
cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
[311] Fix | Delete
cloneableTags[boolTag] = cloneableTags[dateTag] =
[312] Fix | Delete
cloneableTags[float32Tag] = cloneableTags[float64Tag] =
[313] Fix | Delete
cloneableTags[int8Tag] = cloneableTags[int16Tag] =
[314] Fix | Delete
cloneableTags[int32Tag] = cloneableTags[mapTag] =
[315] Fix | Delete
cloneableTags[numberTag] = cloneableTags[objectTag] =
[316] Fix | Delete
cloneableTags[regexpTag] = cloneableTags[setTag] =
[317] Fix | Delete
cloneableTags[stringTag] = cloneableTags[symbolTag] =
[318] Fix | Delete
cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
[319] Fix | Delete
cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
[320] Fix | Delete
cloneableTags[errorTag] = cloneableTags[funcTag] =
[321] Fix | Delete
cloneableTags[weakMapTag] = false;
[322] Fix | Delete
[323] Fix | Delete
/** Used to map Latin Unicode letters to basic Latin letters. */
[324] Fix | Delete
var deburredLetters = {
[325] Fix | Delete
// Latin-1 Supplement block.
[326] Fix | Delete
'\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
[327] Fix | Delete
'\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
[328] Fix | Delete
'\xc7': 'C', '\xe7': 'c',
[329] Fix | Delete
'\xd0': 'D', '\xf0': 'd',
[330] Fix | Delete
'\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
[331] Fix | Delete
'\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
[332] Fix | Delete
'\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
[333] Fix | Delete
'\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
[334] Fix | Delete
'\xd1': 'N', '\xf1': 'n',
[335] Fix | Delete
'\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
[336] Fix | Delete
'\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
[337] Fix | Delete
'\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
[338] Fix | Delete
'\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
[339] Fix | Delete
'\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
[340] Fix | Delete
'\xc6': 'Ae', '\xe6': 'ae',
[341] Fix | Delete
'\xde': 'Th', '\xfe': 'th',
[342] Fix | Delete
'\xdf': 'ss',
[343] Fix | Delete
// Latin Extended-A block.
[344] Fix | Delete
'\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
[345] Fix | Delete
'\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
[346] Fix | Delete
'\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
[347] Fix | Delete
'\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
[348] Fix | Delete
'\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
[349] Fix | Delete
'\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
[350] Fix | Delete
'\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
[351] Fix | Delete
'\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
[352] Fix | Delete
'\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
[353] Fix | Delete
'\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
[354] Fix | Delete
'\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
[355] Fix | Delete
'\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
[356] Fix | Delete
'\u0134': 'J', '\u0135': 'j',
[357] Fix | Delete
'\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
[358] Fix | Delete
'\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
[359] Fix | Delete
'\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
[360] Fix | Delete
'\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
[361] Fix | Delete
'\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
[362] Fix | Delete
'\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
[363] Fix | Delete
'\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
[364] Fix | Delete
'\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
[365] Fix | Delete
'\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
[366] Fix | Delete
'\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
[367] Fix | Delete
'\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
[368] Fix | Delete
'\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
[369] Fix | Delete
'\u0163': 't', '\u0165': 't', '\u0167': 't',
[370] Fix | Delete
'\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
[371] Fix | Delete
'\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
[372] Fix | Delete
'\u0174': 'W', '\u0175': 'w',
[373] Fix | Delete
'\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
[374] Fix | Delete
'\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
[375] Fix | Delete
'\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
[376] Fix | Delete
'\u0132': 'IJ', '\u0133': 'ij',
[377] Fix | Delete
'\u0152': 'Oe', '\u0153': 'oe',
[378] Fix | Delete
'\u0149': "'n", '\u017f': 's'
[379] Fix | Delete
};
[380] Fix | Delete
[381] Fix | Delete
/** Used to map characters to HTML entities. */
[382] Fix | Delete
var htmlEscapes = {
[383] Fix | Delete
'&': '&amp;',
[384] Fix | Delete
'<': '&lt;',
[385] Fix | Delete
'>': '&gt;',
[386] Fix | Delete
'"': '&quot;',
[387] Fix | Delete
"'": '&#39;'
[388] Fix | Delete
};
[389] Fix | Delete
[390] Fix | Delete
/** Used to map HTML entities to characters. */
[391] Fix | Delete
var htmlUnescapes = {
[392] Fix | Delete
'&amp;': '&',
[393] Fix | Delete
'&lt;': '<',
[394] Fix | Delete
'&gt;': '>',
[395] Fix | Delete
'&quot;': '"',
[396] Fix | Delete
'&#39;': "'"
[397] Fix | Delete
};
[398] Fix | Delete
[399] Fix | Delete
/** Used to escape characters for inclusion in compiled string literals. */
[400] Fix | Delete
var stringEscapes = {
[401] Fix | Delete
'\\': '\\',
[402] Fix | Delete
"'": "'",
[403] Fix | Delete
'\n': 'n',
[404] Fix | Delete
'\r': 'r',
[405] Fix | Delete
'\u2028': 'u2028',
[406] Fix | Delete
'\u2029': 'u2029'
[407] Fix | Delete
};
[408] Fix | Delete
[409] Fix | Delete
/** Built-in method references without a dependency on `root`. */
[410] Fix | Delete
var freeParseFloat = parseFloat,
[411] Fix | Delete
freeParseInt = parseInt;
[412] Fix | Delete
[413] Fix | Delete
/** Detect free variable `global` from Node.js. */
[414] Fix | Delete
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
[415] Fix | Delete
[416] Fix | Delete
/** Detect free variable `self`. */
[417] Fix | Delete
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
[418] Fix | Delete
[419] Fix | Delete
/** Used as a reference to the global object. */
[420] Fix | Delete
var root = freeGlobal || freeSelf || Function('return this')();
[421] Fix | Delete
[422] Fix | Delete
/** Detect free variable `exports`. */
[423] Fix | Delete
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
[424] Fix | Delete
[425] Fix | Delete
/** Detect free variable `module`. */
[426] Fix | Delete
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
[427] Fix | Delete
[428] Fix | Delete
/** Detect the popular CommonJS extension `module.exports`. */
[429] Fix | Delete
var moduleExports = freeModule && freeModule.exports === freeExports;
[430] Fix | Delete
[431] Fix | Delete
/** Detect free variable `process` from Node.js. */
[432] Fix | Delete
var freeProcess = moduleExports && freeGlobal.process;
[433] Fix | Delete
[434] Fix | Delete
/** Used to access faster Node.js helpers. */
[435] Fix | Delete
var nodeUtil = (function() {
[436] Fix | Delete
try {
[437] Fix | Delete
// Use `util.types` for Node.js 10+.
[438] Fix | Delete
var types = freeModule && freeModule.require && freeModule.require('util').types;
[439] Fix | Delete
[440] Fix | Delete
if (types) {
[441] Fix | Delete
return types;
[442] Fix | Delete
}
[443] Fix | Delete
[444] Fix | Delete
// Legacy `process.binding('util')` for Node.js < 10.
[445] Fix | Delete
return freeProcess && freeProcess.binding && freeProcess.binding('util');
[446] Fix | Delete
} catch (e) {}
[447] Fix | Delete
}());
[448] Fix | Delete
[449] Fix | Delete
/* Node.js helper references. */
[450] Fix | Delete
var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,
[451] Fix | Delete
nodeIsDate = nodeUtil && nodeUtil.isDate,
[452] Fix | Delete
nodeIsMap = nodeUtil && nodeUtil.isMap,
[453] Fix | Delete
nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,
[454] Fix | Delete
nodeIsSet = nodeUtil && nodeUtil.isSet,
[455] Fix | Delete
nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
[456] Fix | Delete
[457] Fix | Delete
/*--------------------------------------------------------------------------*/
[458] Fix | Delete
[459] Fix | Delete
/**
[460] Fix | Delete
* A faster alternative to `Function#apply`, this function invokes `func`
[461] Fix | Delete
* with the `this` binding of `thisArg` and the arguments of `args`.
[462] Fix | Delete
*
[463] Fix | Delete
* @private
[464] Fix | Delete
* @param {Function} func The function to invoke.
[465] Fix | Delete
* @param {*} thisArg The `this` binding of `func`.
[466] Fix | Delete
* @param {Array} args The arguments to invoke `func` with.
[467] Fix | Delete
* @returns {*} Returns the result of `func`.
[468] Fix | Delete
*/
[469] Fix | Delete
function apply(func, thisArg, args) {
[470] Fix | Delete
switch (args.length) {
[471] Fix | Delete
case 0: return func.call(thisArg);
[472] Fix | Delete
case 1: return func.call(thisArg, args[0]);
[473] Fix | Delete
case 2: return func.call(thisArg, args[0], args[1]);
[474] Fix | Delete
case 3: return func.call(thisArg, args[0], args[1], args[2]);
[475] Fix | Delete
}
[476] Fix | Delete
return func.apply(thisArg, args);
[477] Fix | Delete
}
[478] Fix | Delete
[479] Fix | Delete
/**
[480] Fix | Delete
* A specialized version of `baseAggregator` for arrays.
[481] Fix | Delete
*
[482] Fix | Delete
* @private
[483] Fix | Delete
* @param {Array} [array] The array to iterate over.
[484] Fix | Delete
* @param {Function} setter The function to set `accumulator` values.
[485] Fix | Delete
* @param {Function} iteratee The iteratee to transform keys.
[486] Fix | Delete
* @param {Object} accumulator The initial aggregated object.
[487] Fix | Delete
* @returns {Function} Returns `accumulator`.
[488] Fix | Delete
*/
[489] Fix | Delete
function arrayAggregator(array, setter, iteratee, accumulator) {
[490] Fix | Delete
var index = -1,
[491] Fix | Delete
length = array == null ? 0 : array.length;
[492] Fix | Delete
[493] Fix | Delete
while (++index < length) {
[494] Fix | Delete
var value = array[index];
[495] Fix | Delete
setter(accumulator, value, iteratee(value), array);
[496] Fix | Delete
}
[497] Fix | Delete
return accumulator;
[498] Fix | Delete
}
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function