UNPKG

154 kBSource Map (JSON)View Raw
1{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./source/lib/predicates/predicate.ts","webpack:///./source/lib/utils/has-items.ts","webpack:///./node_modules/lodash.isequal/index.js","webpack:///./node_modules/@sindresorhus/is/dist/index.js","webpack:///./source/index.ts","webpack:///./source/lib/utils/of-type.ts","webpack:///./source/lib/predicates/base-predicate.ts","webpack:///./source/lib/argument-error.ts","webpack:///./source/lib/predicates/weak-set.ts","webpack:///./source/lib/predicates/set.ts","webpack:///./source/lib/predicates/weak-map.ts","webpack:///./source/lib/predicates/map.ts","webpack:///./source/lib/predicates/error.ts","webpack:///./source/lib/predicates/date.ts","webpack:///./source/lib/utils/of-type-deep.ts","webpack:///./node_modules/is-obj/index.js","webpack:///./node_modules/dot-prop/index.js","webpack:///./source/lib/predicates/object.ts","webpack:///(webpack)/buildin/module.js","webpack:///./source/lib/predicates/array.ts","webpack:///./source/lib/predicates/boolean.ts","webpack:///./source/lib/predicates/number.ts","webpack:///./node_modules/vali-date/index.js","webpack:///./source/lib/predicates/string.ts","webpack:///./source/lib/predicates/any.ts","webpack:///./source/lib/operators/not.ts","webpack:///external \"util\""],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","r","value","n","__esModule","object","property","prototype","hasOwnProperty","p","w","s","is_1","__importDefault","argument_error_1","base_predicate_1","not_1","validatorSymbol","Symbol","Predicate","[object Object]","type","context","validators","this","addValidator","message","default","validator","testSymbol","main","result","ArgumentError","not","fn","error","push","source","items","maxValues","missingValues","has","length","LARGE_ARRAY_SIZE","HASH_UNDEFINED","COMPARE_PARTIAL_FLAG","COMPARE_UNORDERED_FLAG","MAX_SAFE_INTEGER","argsTag","arrayTag","asyncTag","boolTag","dateTag","errorTag","funcTag","genTag","mapTag","numberTag","nullTag","objectTag","proxyTag","regexpTag","setTag","stringTag","symbolTag","undefinedTag","arrayBufferTag","dataViewTag","reIsHostCtor","reIsUint","typedArrayTags","freeGlobal","global","freeSelf","self","root","Function","freeExports","nodeType","freeModule","moduleExports","freeProcess","process","nodeUtil","binding","e","nodeIsTypedArray","isTypedArray","arraySome","array","predicate","index","mapToArray","map","Array","size","forEach","key","setToArray","set","uid","func","transform","arrayProto","funcProto","objectProto","coreJsData","funcToString","toString","maskSrcKey","exec","keys","IE_PROTO","nativeObjectToString","reIsNative","RegExp","replace","Buffer","undefined","Uint8Array","propertyIsEnumerable","splice","symToStringTag","toStringTag","nativeGetSymbols","getOwnPropertySymbols","nativeIsBuffer","isBuffer","nativeKeys","arg","DataView","getNative","Map","Promise","Set","WeakMap","nativeCreate","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolProto","symbolValueOf","valueOf","Hash","entries","clear","entry","ListCache","MapCache","SetCache","values","__data__","add","Stack","data","arrayLikeKeys","inherited","isArr","isArray","isArg","isArguments","isBuff","isType","skipIndexes","iteratee","baseTimes","String","isIndex","assocIndexOf","eq","baseGetTag","isOwn","tag","unmasked","getRawTag","objectToString","baseIsArguments","isObjectLike","baseIsEqual","other","bitmask","customizer","stack","equalFunc","objIsArr","othIsArr","objTag","getTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","byteLength","byteOffset","buffer","convert","isPartial","stacked","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","getAllKeys","objLength","othLength","skipCtor","objValue","othValue","compared","objCtor","constructor","othCtor","equalObjects","baseIsEqualDeep","baseIsNative","isObject","isFunction","test","baseKeys","Ctor","proto","arrLength","seen","arrValue","othIndex","keysFunc","symbolsFunc","offset","arrayPush","baseGetAllKeys","getSymbols","getMapData","getValue","pop","hash","string","pairs","resIndex","arrayFilter","symbol","ArrayBuffer","resolve","ctorString","arguments","isLength","baseUnary","__importStar","mod","k","util","isOfType","getObjectType","objectName","slice","isObjectOfType","is","function_","tagType","Boolean","Number","TypeError","number","null_","class_","startsWith","boolean","nullOrUndefined","iterable","iterator","generator","next","throw","nativePromise","promise","then","catch","hasPromiseAPI","isFunctionOfType","generatorFunction","asyncFunction","boundFunction","regExp","date","weakMap","weakSet","int8Array","uint8Array","uint8ClampedArray","int16Array","uint16Array","int32Array","uint32Array","float32Array","float64Array","arrayBuffer","sharedArrayBuffer","dataView","directInstanceOf","instance","klass","getPrototypeOf","truthy","falsy","nan","isNaN","primitiveTypes","primitive","integer","isInteger","safeInteger","isSafeInteger","plainObject","typedArrayTypes","typedArray","objectType","arrayLike","isValidLength","inRange","range","Math","min","max","inspect","DOM_PROPERTIES_TO_CHECK","domElement","nodeName","every","nodeStream","pipe","infinite","Infinity","isAbsoluteMod2","rem","abs","even","odd","empty","isEmptyStringOrArray","isEmptyObject","isEmptyMapOrSet","emptyOrWhitespace","isWhiteSpaceString","predicateOnArray","method","any","some","all","defineProperties","class","function","null","predicate_1","any_1","string_1","number_1","boolean_1","array_1","object_1","date_1","error_1","map_1","weak_map_1","set_1","weak_set_1","create","predicates","AnyPredicate","StringPredicate","NumberPredicate","BooleanPredicate","ArrayPredicate","ObjectPredicate","DatePredicate","ErrorPredicate","MapPredicate","WeakMapPredicate","SetPredicate","WeakSetPredicate","__1","item","err","Error","super","captureStackTrace","has_items_1","_","missingItems","JSON","stringify","isEqual","of_type_1","from","nonEmpty","expected","missingKeys","valueSet","includes","join","typeError","instanceOf","evalError","EvalError","rangeError","RangeError","referenceError","ReferenceError","syntaxError","SyntaxError","uriError","URIError","toISOString","getTime","ofTypeDeep","input","x","isObj","getPathSegments","path","pathArr","split","parts","obj","dotProp","of_type_deep_1","plain","webpackPolyfill","deprecate","paths","children","searchElement","searchElements","el","indexOf","true","false","start","end","finite","positive","negative","str","Date","parse","vali_date_1","searchString","endsWith","alphanumeric","numeric","errors","require"],"mappings":"2BACA,IAAAA,KAMA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,GAAA,E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AOvX,KAAKC,cACXC,QAASxB,uCAA6C6Y,cAAqB7Y,MAC3E0B,UAAW1B,GAASA,IAAU6Y,IAOhCqD,mBACC,OAAO5a,KAAKC,cACXC,QAASxB,gDAAsDA,MAC/D0B,UAAW1B,GAAS,cAAc6N,KAAK7N,KAOzCmc,cACC,OAAO7a,KAAKC,cACXC,QAASxB,2CAAiDA,MAC1D0B,UAAW1B,GAAS,SAAS6N,KAAK7N,KAOpC8R,WACC,OAAOxQ,KAAKC,cACXC,QAASxB,0CAAgDA,MACzD0B,UAAW1B,GAAS+b,EAAAta,QAASzB,sFCzJhC,MAAAY,EAAAhC,EAAA,GAEAiC,EAAAjC,EAAA,GAMAE,EAAAoY,mBACChW,YACkB+V,GAAA3V,KAAA2V,aAIlB/V,CAACL,EAAAc,YAAY3B,EAAU4B,GACtB,MAAMwa,GACL,mDAGD,IAAK,MAAM5W,KAAalE,KAAK2V,WAC5B,IAGC,YAFArV,EAAK5B,EAAOwF,GAGX,MAAOwS,GACRoE,EAAOla,UAAU8V,EAAIxW,WAIvB,MAAM,IAAIZ,EAAAkB,cAAcsa,EAAOnD,KAAK,MAAOrX,oFC7B7C,MAAAuU,EAAAvX,EAAA,GAQaE,EAAAiD,IAAM,CAAsByD,IACxCA,EAAUjE,aAAeG,KACxB,MAAMM,EAAKN,EAAUA,UACfF,EAAUE,EAAUF,QAO1B,OALAE,EAAUF,QAAU,CAAC0Y,YAAoB1Y,EAAQ0Y,MACjDxY,EAAUA,UAAY,CAACwY,IAAYlY,EAAGkY,IAErC1U,EAAkB2Q,EAAApV,iBAAiBmB,KAAKR,GAElC8D,IAGDA,mBCrBRzG,EAAAD,QAAAud,QAAA","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading wasm modules\n \tvar installedWasmModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// object with all compiled WebAssembly.Modules\n \t__webpack_require__.w = {};\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 4);\n","import is from '@sindresorhus/is';\nimport {Ow} from '../..';\nimport {ArgumentError} from '../argument-error';\nimport {BasePredicate, testSymbol} from './base-predicate';\nimport {not} from '../operators/not';\n\n/**\n * @hidden\n */\nexport interface Validator<T> {\n\tmessage(value: T, result?: any): string;\n\tvalidator(value: T): any;\n}\n\n/**\n * @hidden\n */\nexport interface Context {\n\tvalidators: Validator<any>[];\n}\n\n/**\n * @hidden\n */\nexport const validatorSymbol = Symbol('validators');\n\n/**\n * @hidden\n */\nexport class Predicate<T = any> implements BasePredicate<T> {\n\tconstructor(\n\t\ttype: string,\n\t\tprivate readonly context: Context = {\n\t\t\tvalidators: []\n\t\t}\n\t) {\n\t\tthis.addValidator({\n\t\t\tmessage: value => `Expected argument to be of type \\`${type}\\` but received type \\`${is(value)}\\``,\n\t\t\tvalidator: value => (is as any)[type](value)\n\t\t});\n\t}\n\n\t/**\n\t * @hidden\n\t */\n\t// tslint:disable completed-docs\n\t[testSymbol](value: T, main: Ow) {\n\t\tfor (const {validator, message} of this.context.validators) {\n\t\t\tconst result = validator(value);\n\n\t\t\tif (typeof result !== 'boolean' || !result) {\n\t\t\t\t// TODO: Modify the stack output to show the original `ow()` call instead of this `throw` statement\n\t\t\t\tthrow new ArgumentError(message(value, result), main);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @hidden\n\t */\n\tget [validatorSymbol]() {\n\t\treturn this.context.validators;\n\t}\n\n\t/**\n\t * Invert the following validators.\n\t */\n\tget not(): this {\n\t\treturn not(this);\n\t}\n\n\t/**\n\t * Test if the value matches a custom validation function. The validation function should return `true` if the value\n\t * passes the function. If the function either returns `false` or a string, the function fails and the string will be\n\t * used as error message.\n\t *\n\t * @param fn Validation function.\n\t */\n\tis(fn: (value: T) => boolean | string) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, error) => error || `Expected \\`${value}\\` to pass custom validation function`,\n\t\t\tvalidator: value => fn(value)\n\t\t});\n\t}\n\n\t/**\n\t * Register a new validator.\n\t *\n\t * @internal\n\t * @hidden\n\t * @param validator Validator to register.\n\t */\n\taddValidator(validator: Validator<T>) {\n\t\tthis.context.validators.push(validator);\n\n\t\treturn this;\n\t}\n}\n","/**\n * @hidden\n */\nexport interface CollectionLike<T> {\n\thas(item: T): boolean;\n}\n\n/**\n * Retrieve the missing values in a collection based on an array of items.\n *\n * @hidden\n * @param source Source collection to search through.\n * @param items Items to search for.\n * @param maxValues Maximum number of values after the search process is stopped. (Default: 5)\n */\nexport default (source: CollectionLike<any>, items: any[], maxValues = 5) => {\n\tconst missingValues: any[] = [];\n\n\tfor (const value of items) {\n\t\tif (source.has(value)) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tmissingValues.push(value);\n\n\t\tif (missingValues.length === maxValues) {\n\t\t\treturn missingValues;\n\t\t}\n\t}\n\n\treturn missingValues.length === 0 ? true : missingValues;\n};\n","/**\n * Lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright JS Foundation and other contributors <https://js.foundation/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\n/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\n/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\n/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeKeys = overArg(Object.keys, Object);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView'),\n Map = getNative(root, 'Map'),\n Promise = getNative(root, 'Promise'),\n Set = getNative(root, 'Set'),\n WeakMap = getNative(root, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\n/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://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 * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\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 * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = isEqual;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst util = __importStar(require(\"util\"));\nconst toString = Object.prototype.toString;\nconst isOfType = (type) => (value) => typeof value === type; // tslint:disable-line:strict-type-predicates\nconst getObjectType = (value) => {\n const objectName = toString.call(value).slice(8, -1);\n if (objectName) {\n return objectName;\n }\n return null;\n};\nconst isObjectOfType = (type) => (value) => getObjectType(value) === type;\nfunction is(value) {\n if (value === null) {\n return \"null\" /* null */;\n }\n if (value === true || value === false) {\n return \"boolean\" /* boolean */;\n }\n const type = typeof value;\n if (type === 'undefined') {\n return \"undefined\" /* undefined */;\n }\n if (type === 'string') {\n return \"string\" /* string */;\n }\n if (type === 'number') {\n return \"number\" /* number */;\n }\n if (type === 'symbol') {\n return \"symbol\" /* symbol */;\n }\n if (is.function_(value)) {\n return \"Function\" /* Function */;\n }\n if (Array.isArray(value)) {\n return \"Array\" /* Array */;\n }\n if (Buffer.isBuffer(value)) {\n return \"Buffer\" /* Buffer */;\n }\n const tagType = getObjectType(value);\n if (tagType) {\n return tagType;\n }\n if (value instanceof String || value instanceof Boolean || value instanceof Number) {\n throw new TypeError('Please don\\'t use object wrappers for primitive types');\n }\n return \"Object\" /* Object */;\n}\n(function (is) {\n const isObject = (value) => typeof value === 'object';\n // tslint:disable:variable-name\n is.undefined = isOfType('undefined');\n is.string = isOfType('string');\n is.number = isOfType('number');\n is.function_ = isOfType('function');\n is.null_ = (value) => value === null;\n is.class_ = (value) => is.function_(value) && value.toString().startsWith('class ');\n is.boolean = (value) => value === true || value === false;\n is.symbol = isOfType('symbol');\n // tslint:enable:variable-name\n is.array = Array.isArray;\n is.buffer = Buffer.isBuffer;\n is.nullOrUndefined = (value) => is.null_(value) || is.undefined(value);\n is.object = (value) => !is.nullOrUndefined(value) && (is.function_(value) || isObject(value));\n is.iterable = (value) => !is.nullOrUndefined(value) && is.function_(value[Symbol.iterator]);\n is.generator = (value) => is.iterable(value) && is.function_(value.next) && is.function_(value.throw);\n is.nativePromise = isObjectOfType(\"Promise\" /* Promise */);\n const hasPromiseAPI = (value) => !is.null_(value) &&\n isObject(value) &&\n is.function_(value.then) &&\n is.function_(value.catch);\n is.promise = (value) => is.nativePromise(value) || hasPromiseAPI(value);\n const isFunctionOfType = (type) => isObjectOfType(type);\n is.generatorFunction = isFunctionOfType(\"GeneratorFunction\" /* GeneratorFunction */);\n is.asyncFunction = isFunctionOfType(\"AsyncFunction\" /* AsyncFunction */);\n is.boundFunction = (value) => is.function_(value) && !value.hasOwnProperty('prototype');\n is.regExp = isObjectOfType(\"RegExp\" /* RegExp */);\n is.date = isObjectOfType(\"Date\" /* Date */);\n is.error = isObjectOfType(\"Error\" /* Error */);\n is.map = isObjectOfType(\"Map\" /* Map */);\n is.set = isObjectOfType(\"Set\" /* Set */);\n is.weakMap = isObjectOfType(\"WeakMap\" /* WeakMap */);\n is.weakSet = isObjectOfType(\"WeakSet\" /* WeakSet */);\n is.int8Array = isObjectOfType(\"Int8Array\" /* Int8Array */);\n is.uint8Array = isObjectOfType(\"Uint8Array\" /* Uint8Array */);\n is.uint8ClampedArray = isObjectOfType(\"Uint8ClampedArray\" /* Uint8ClampedArray */);\n is.int16Array = isObjectOfType(\"Int16Array\" /* Int16Array */);\n is.uint16Array = isObjectOfType(\"Uint16Array\" /* Uint16Array */);\n is.int32Array = isObjectOfType(\"Int32Array\" /* Int32Array */);\n is.uint32Array = isObjectOfType(\"Uint32Array\" /* Uint32Array */);\n is.float32Array = isObjectOfType(\"Float32Array\" /* Float32Array */);\n is.float64Array = isObjectOfType(\"Float64Array\" /* Float64Array */);\n is.arrayBuffer = isObjectOfType(\"ArrayBuffer\" /* ArrayBuffer */);\n is.sharedArrayBuffer = isObjectOfType(\"SharedArrayBuffer\" /* SharedArrayBuffer */);\n is.dataView = isObjectOfType(\"DataView\" /* DataView */);\n is.directInstanceOf = (instance, klass) => Object.getPrototypeOf(instance) === klass.prototype;\n is.truthy = (value) => Boolean(value);\n is.falsy = (value) => !value;\n is.nan = (value) => Number.isNaN(value);\n const primitiveTypes = new Set([\n 'undefined',\n 'string',\n 'number',\n 'boolean',\n 'symbol'\n ]);\n is.primitive = (value) => is.null_(value) || primitiveTypes.has(typeof value);\n is.integer = (value) => Number.isInteger(value);\n is.safeInteger = (value) => Number.isSafeInteger(value);\n is.plainObject = (value) => {\n // From: https://github.com/sindresorhus/is-plain-obj/blob/master/index.js\n let prototype;\n return getObjectType(value) === \"Object\" /* Object */ &&\n (prototype = Object.getPrototypeOf(value), prototype === null || // tslint:disable-line:ban-comma-operator\n prototype === Object.getPrototypeOf({}));\n };\n const typedArrayTypes = new Set([\n \"Int8Array\" /* Int8Array */,\n \"Uint8Array\" /* Uint8Array */,\n \"Uint8ClampedArray\" /* Uint8ClampedArray */,\n \"Int16Array\" /* Int16Array */,\n \"Uint16Array\" /* Uint16Array */,\n \"Int32Array\" /* Int32Array */,\n \"Uint32Array\" /* Uint32Array */,\n \"Float32Array\" /* Float32Array */,\n \"Float64Array\" /* Float64Array */\n ]);\n is.typedArray = (value) => {\n const objectType = getObjectType(value);\n if (objectType === null) {\n return false;\n }\n return typedArrayTypes.has(objectType);\n };\n const isValidLength = (value) => is.safeInteger(value) && value > -1;\n is.arrayLike = (value) => !is.nullOrUndefined(value) && !is.function_(value) && isValidLength(value.length);\n is.inRange = (value, range) => {\n if (is.number(range)) {\n return value >= Math.min(0, range) && value <= Math.max(range, 0);\n }\n if (is.array(range) && range.length === 2) {\n return value >= Math.min(...range) && value <= Math.max(...range);\n }\n throw new TypeError(`Invalid range: ${util.inspect(range)}`);\n };\n const NODE_TYPE_ELEMENT = 1;\n const DOM_PROPERTIES_TO_CHECK = [\n 'innerHTML',\n 'ownerDocument',\n 'style',\n 'attributes',\n 'nodeValue'\n ];\n is.domElement = (value) => is.object(value) && value.nodeType === NODE_TYPE_ELEMENT && is.string(value.nodeName) &&\n !is.plainObject(value) && DOM_PROPERTIES_TO_CHECK.every(property => property in value);\n is.nodeStream = (value) => !is.nullOrUndefined(value) && isObject(value) && is.function_(value.pipe);\n is.infinite = (value) => value === Infinity || value === -Infinity;\n const isAbsoluteMod2 = (value) => (rem) => is.integer(rem) && Math.abs(rem % 2) === value;\n is.even = isAbsoluteMod2(0);\n is.odd = isAbsoluteMod2(1);\n const isWhiteSpaceString = (value) => is.string(value) && /\\S/.test(value) === false;\n const isEmptyStringOrArray = (value) => (is.string(value) || is.array(value)) && value.length === 0;\n const isEmptyObject = (value) => !is.map(value) && !is.set(value) && is.object(value) && Object.keys(value).length === 0;\n const isEmptyMapOrSet = (value) => (is.map(value) || is.set(value)) && value.size === 0;\n is.empty = (value) => is.falsy(value) || isEmptyStringOrArray(value) || isEmptyObject(value) || isEmptyMapOrSet(value);\n is.emptyOrWhitespace = (value) => is.empty(value) || isWhiteSpaceString(value);\n const predicateOnArray = (method, predicate, values) => {\n if (is.function_(predicate) === false) {\n throw new TypeError(`Invalid predicate: ${util.inspect(predicate)}`);\n }\n if (values.length === 0) {\n throw new TypeError('Invalid number of values');\n }\n return method.call(values, predicate);\n };\n // tslint:disable variable-name\n is.any = (predicate, ...values) => predicateOnArray(Array.prototype.some, predicate, values);\n is.all = (predicate, ...values) => predicateOnArray(Array.prototype.every, predicate, values);\n // tslint:enable variable-name\n})(is || (is = {}));\n// Some few keywords are reserved, but we'll populate them for Node.js users\n// See https://github.com/Microsoft/TypeScript/issues/2536\nObject.defineProperties(is, {\n class: {\n value: is.class_\n },\n function: {\n value: is.function_\n },\n null: {\n value: is.null_\n }\n});\nexports.default = is;\n// For CommonJS default export support\nmodule.exports = is;\nmodule.exports.default = is;\n","import {Predicate} from './lib/predicates/predicate';\nimport {AnyPredicate} from './lib/predicates/any';\nimport {testSymbol} from './lib/predicates/base-predicate';\nimport {StringPredicate} from './lib/predicates/string';\nimport {NumberPredicate} from './lib/predicates/number';\nimport {BooleanPredicate} from './lib/predicates/boolean';\nimport {ArrayPredicate} from './lib/predicates/array';\nimport {ObjectPredicate} from './lib/predicates/object';\nimport {DatePredicate} from './lib/predicates/date';\nimport {ErrorPredicate} from './lib/predicates/error';\nimport {MapPredicate} from './lib/predicates/map';\nimport {WeakMapPredicate} from './lib/predicates/weak-map';\nimport {SetPredicate} from './lib/predicates/set';\nimport {WeakSetPredicate} from './lib/predicates/weak-set';\n\n/**\n * @hidden\n */\nexport type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array;\n\nexport interface Ow {\n\t/**\n\t * Test if the value matches the predicate.\n\t *\n\t * @param value Value to test.\n\t * @param predicate Predicate to test against.\n\t */\n\t<T>(value: T, predicate: Predicate<T>): void;\n\t/**\n\t * Create a reusable validator.\n\t *\n\t * @param predicate Predicate used in the validator function.\n\t */\n\tcreate<T>(predicate: Predicate<T>): (value: T) => void;\n\t/**\n\t * Test that the value matches at least one of the given predicates.\n\t */\n\tany<T1>(p1: Predicate<T1>): Predicate<T1>;\n\tany<T1, T2>(p1: Predicate<T1>, p2: Predicate<T2>): Predicate<T1 | T2>;\n\tany<T1, T2, T3>(p1: Predicate<T1>, p2: Predicate<T2>, p3: Predicate<T3>): Predicate<T1 | T2 | T3>;\n\tany<T1, T2, T3, T4>(p1: Predicate<T1>, p2: Predicate<T2>, p3: Predicate<T3>, p4: Predicate<T4>): Predicate<T1 | T2 | T3 | T4>;\n\tany<T1, T2, T3, T4, T5>(p1: Predicate<T1>, p2: Predicate<T2>, p3: Predicate<T3>, p4: Predicate<T4>, p5: Predicate<T5>): Predicate<T1 | T2 | T3 | T4 | T5>;\n\tany<T1, T2, T3, T4, T5, T6>(p1: Predicate<T1>, p2: Predicate<T2>, p3: Predicate<T3>, p4: Predicate<T4>, p5: Predicate<T5>, p6: Predicate<T6>): Predicate<T1 | T2 | T3 | T4 | T5 | T6>;\n\tany<T1, T2, T3, T4, T5, T6, T7>(p1: Predicate<T1>, p2: Predicate<T2>, p3: Predicate<T3>, p4: Predicate<T4>, p5: Predicate<T5>, p6: Predicate<T6>, p7: Predicate<T7>): Predicate<T1 | T2 | T3 | T4 | T5 | T6 | T7>;\n\tany<T1, T2, T3, T4, T5, T6, T7, T8>(p1: Predicate<T1>, p2: Predicate<T2>, p3: Predicate<T3>, p4: Predicate<T4>, p5: Predicate<T5>, p6: Predicate<T6>, p7: Predicate<T7>, p8: Predicate<T8>): Predicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>;\n\tany<T1, T2, T3, T4, T5, T6, T7, T8, T9>(p1: Predicate<T1>, p2: Predicate<T2>, p3: Predicate<T3>, p4: Predicate<T4>, p5: Predicate<T5>, p6: Predicate<T6>, p7: Predicate<T7>, p8: Predicate<T8>, p9: Predicate<T9>): Predicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;\n\tany<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(p1: Predicate<T1>, p2: Predicate<T2>, p3: Predicate<T3>, p4: Predicate<T4>, p5: Predicate<T5>, p6: Predicate<T6>, p7: Predicate<T7>, p8: Predicate<T8>, p9: Predicate<T9>, p10: Predicate<T10>): Predicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>;\n\tany(...predicate: Predicate[]): Predicate;\n\t/**\n\t * Test the value to be a string.\n\t */\n\treadonly string: StringPredicate;\n\t/**\n\t * Test the value to be a number.\n\t */\n\treadonly number: NumberPredicate;\n\t/**\n\t * Test the value to be a boolean.\n\t */\n\treadonly boolean: BooleanPredicate;\n\t/**\n\t * Test the value to be undefined.\n\t */\n\treadonly undefined: Predicate<undefined>;\n\t/**\n\t * Test the value to be null.\n\t */\n\treadonly null: Predicate<null>;\n\t/**\n\t * Test the value to be null or undefined.\n\t */\n\treadonly nullOrUndefined: Predicate<null | undefined>;\n\t/**\n\t * Test the value to be not a number.\n\t */\n\treadonly nan: Predicate<number>;\n\t/**\n\t * Test the value to be a Symbol.\n\t */\n\treadonly symbol: Predicate<Symbol>;\n\t/**\n\t * Test the value to be an array.\n\t */\n\treadonly array: ArrayPredicate;\n\t/**\n\t * Test the value to be an object.\n\t */\n\treadonly object: ObjectPredicate;\n\t/**\n\t * Test the value to be a Date.\n\t */\n\treadonly date: DatePredicate;\n\t/**\n\t * Test the value to be an Error.\n\t */\n\treadonly error: ErrorPredicate;\n\t/**\n\t * Test the value to be a Map.\n\t */\n\treadonly map: MapPredicate;\n\t/**\n\t * Test the value to be a WeakMap.\n\t */\n\treadonly weakMap: WeakMapPredicate;\n\t/**\n\t * Test the value to be a Set.\n\t */\n\treadonly set: SetPredicate;\n\t/**\n\t * Test the value to be a WeakSet.\n\t */\n\treadonly weakSet: WeakSetPredicate;\n\t/**\n\t * Test the value to be a Function.\n\t */\n\treadonly function: Predicate<Function>;\n\t/**\n\t * Test the value to be a Buffer.\n\t */\n\treadonly buffer: Predicate<Buffer>;\n\t/**\n\t * Test the value to be a RegExp.\n\t */\n\treadonly regExp: Predicate<RegExp>;\n\t/**\n\t * Test the value to be a Promise.\n\t */\n\treadonly promise: Predicate<Promise<any>>;\n\t/**\n\t * Test the value to be a typed array.\n\t */\n\treadonly typedArray: Predicate<TypedArray>;\n\t/**\n\t * Test the value to be a Int8Array.\n\t */\n\treadonly int8Array: Predicate<Int8Array>;\n\t/**\n\t * Test the value to be a Uint8Array.\n\t */\n\treadonly uint8Array: Predicate<Uint8Array>;\n\t/**\n\t * Test the value to be a Uint8ClampedArray.\n\t */\n\treadonly uint8ClampedArray: Predicate<Uint8ClampedArray>;\n\t/**\n\t * Test the value to be a Int16Array.\n\t */\n\treadonly int16Array: Predicate<Int16Array>;\n\t/**\n\t * Test the value to be a Uint16Array.\n\t */\n\treadonly uint16Array: Predicate<Uint16Array>;\n\t/**\n\t * Test the value to be a Int32Array.\n\t */\n\treadonly int32Array: Predicate<Int32Array>;\n\t/**\n\t * Test the value to be a Uint32Array.\n\t */\n\treadonly uint32Array: Predicate<Uint32Array>;\n\t/**\n\t * Test the value to be a Float32Array.\n\t */\n\treadonly float32Array: Predicate<Float32Array>;\n\t/**\n\t * Test the value to be a Float64Array.\n\t */\n\treadonly float64Array: Predicate<Float64Array>;\n\t/**\n\t * Test the value to be a ArrayBuffer.\n\t */\n\treadonly arrayBuffer: Predicate<ArrayBuffer>;\n\t/**\n\t * Test the value to be a DataView.\n\t */\n\treadonly dataView: Predicate<DataView>;\n\t/**\n\t * Test the value to be Iterable.\n\t */\n\treadonly iterable: Predicate<Iterable<any>>;\n}\n\nconst main = <T>(value: T, predicate: Predicate<T> | AnyPredicate<T>) => (predicate as any)[testSymbol](value, main);\n\nObject.defineProperties(main, {\n\tcreate: {\n\t\tvalue: <T>(predicate: Predicate<T>) => (value: T) => main(value, predicate)\n\t},\n\tany: {\n\t\tvalue: (...predicates: Predicate[]) => new AnyPredicate(predicates)\n\t},\n\tstring: {\n\t\tget: () => new StringPredicate()\n\t},\n\tnumber: {\n\t\tget: () => new NumberPredicate()\n\t},\n\tboolean: {\n\t\tget: () => new BooleanPredicate()\n\t},\n\tundefined: {\n\t\tget: () => new Predicate('undefined')\n\t},\n\tnull: {\n\t\tget: () => new Predicate('null')\n\t},\n\tnullOrUndefined: {\n\t\tget: () => new Predicate('nullOrUndefined')\n\t},\n\tnan: {\n\t\tget: () => new Predicate('nan')\n\t},\n\tsymbol: {\n\t\tget: () => new Predicate('symbol')\n\t},\n\tarray: {\n\t\tget: () => new ArrayPredicate()\n\t},\n\tobject: {\n\t\tget: () => new ObjectPredicate()\n\t},\n\tdate: {\n\t\tget: () => new DatePredicate()\n\t},\n\terror: {\n\t\tget: () => new ErrorPredicate()\n\t},\n\tmap: {\n\t\tget: () => new MapPredicate()\n\t},\n\tweakMap: {\n\t\tget: () => new WeakMapPredicate()\n\t},\n\tset: {\n\t\tget: () => new SetPredicate()\n\t},\n\tweakSet: {\n\t\tget: () => new WeakSetPredicate()\n\t},\n\tfunction: {\n\t\tget: () => new Predicate('function')\n\t},\n\tbuffer: {\n\t\tget: () => new Predicate('buffer')\n\t},\n\tregExp: {\n\t\tget: () => new Predicate('regExp')\n\t},\n\tpromise: {\n\t\tget: () => new Predicate('promise')\n\t},\n\ttypedArray: {\n\t\tget: () => new Predicate('typedArray')\n\t},\n\tint8Array: {\n\t\tget: () => new Predicate('int8Array')\n\t},\n\tuint8Array: {\n\t\tget: () => new Predicate('uint8Array')\n\t},\n\tuint8ClampedArray: {\n\t\tget: () => new Predicate('uint8ClampedArray')\n\t},\n\tint16Array: {\n\t\tget: () => new Predicate('int16Array')\n\t},\n\tuint16Array: {\n\t\tget: () => new Predicate('uint16Array')\n\t},\n\tint32Array: {\n\t\tget: () => new Predicate('int32Array')\n\t},\n\tuint32Array: {\n\t\tget: () => new Predicate('uint32Array')\n\t},\n\tfloat32Array: {\n\t\tget: () => new Predicate('float32Array')\n\t},\n\tfloat64Array: {\n\t\tget: () => new Predicate('float64Array')\n\t},\n\tarrayBuffer: {\n\t\tget: () => new Predicate('arrayBuffer')\n\t},\n\tdataView: {\n\t\tget: () => new Predicate('dataView')\n\t},\n\titerable: {\n\t\tget: () => new Predicate('iterable')\n\t}\n});\n\nexport default main as Ow;\n","import ow from '../..';\nimport {Predicate} from '../predicates/predicate';\n\n/**\n * Test all the values in the collection against a provided predicate.\n *\n * @hidden\n * @param source Source collection to test.\n * @param predicate Predicate to test every item in the source collection against.\n */\nexport default (source: IterableIterator<any> | Set<any> | any[], predicate: Predicate): boolean | string => {\n\ttry {\n\t\tfor (const item of source) {\n\t\t\tow(item, predicate);\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\treturn err.message;\n\t}\n};\n","import {Ow} from '../..';\n\n/**\n * @hidden\n */\nexport const testSymbol = Symbol('test');\n\n/**\n * @hidden\n */\nexport interface BasePredicate<T = any> {\n\t[testSymbol](value: T, main: Ow): void;\n}\n","/**\n * @hidden\n */\nexport class ArgumentError extends Error {\n\tconstructor(message: string, context: Function) {\n\t\tsuper(message);\n\t\t// TODO: Node does not preserve the error name in output when using the below, why?\n\t\tError.captureStackTrace(this, context);\n\t\tthis.name = 'ArgumentError';\n\t}\n}\n","import {Predicate, Context} from './predicate';\nimport hasItems from '../utils/has-items';\n\nexport class WeakSetPredicate extends Predicate<WeakSet<any>> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('weakSet', context);\n\t}\n\n\t/**\n\t * Test a WeakSet to include all the provided items. The items are tested by identity, not structure.\n\t *\n\t * @param items The items that should be a item in the WeakSet.\n\t */\n\thas(...items: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, missingItems) => `Expected WeakSet to have items \\`${JSON.stringify(missingItems)}\\``,\n\t\t\tvalidator: set => hasItems(set, items)\n\t\t});\n\t}\n\n\t/**\n\t * Test a WeakSet to include any of the provided items. The items are tested by identity, not structure.\n\t *\n\t * @param items The items that could be a item in the WeakSet.\n\t */\n\thasAny(...items: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => `Expected WeakSet to have any item of \\`${JSON.stringify(items)}\\``,\n\t\t\tvalidator: set => items.some(item => set.has(item))\n\t\t});\n\t}\n}\n","import isEqual = require('lodash.isequal'); // tslint:disable-line:no-require-imports\nimport {Predicate, Context} from './predicate';\nimport hasItems from '../utils/has-items';\nimport ofType from '../utils/of-type';\n\nexport class SetPredicate extends Predicate<Set<any>> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('set', context);\n\t}\n\n\t/**\n\t * Test a Set to have a specific size.\n\t *\n\t * @param size The size of the Set.\n\t */\n\tsize(size: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: set => `Expected Set to have size \\`${size}\\`, got \\`${set.size}\\``,\n\t\t\tvalidator: set => set.size === size\n\t\t});\n\t}\n\n\t/**\n\t * Test an Size to have a minimum size.\n\t *\n\t * @param size The minimum size of the Set.\n\t */\n\tminSize(size: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: set => `Expected Set to have a minimum size of \\`${size}\\`, got \\`${set.size}\\``,\n\t\t\tvalidator: set => set.size >= size\n\t\t});\n\t}\n\n\t/**\n\t * Test an Set to have a maximum size.\n\t *\n\t * @param size The maximum size of the Set.\n\t */\n\tmaxSize(size: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: set => `Expected Set to have a maximum size of \\`${size}\\`, got \\`${set.size}\\``,\n\t\t\tvalidator: set => set.size <= size\n\t\t});\n\t}\n\n\t/**\n\t * Test a Set to include all the provided items. The items are tested by identity, not structure.\n\t *\n\t * @param items The items that should be a item in the Set.\n\t */\n\thas(...items: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, missingItems) => `Expected Set to have items \\`${JSON.stringify(missingItems)}\\``,\n\t\t\tvalidator: set => hasItems(set, items)\n\t\t});\n\t}\n\n\t/**\n\t * Test a Set to include any of the provided items. The items are tested by identity, not structure.\n\t *\n\t * @param items The items that could be a item in the Set.\n\t */\n\thasAny(...items: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => `Expected Set to have any item of \\`${JSON.stringify(items)}\\``,\n\t\t\tvalidator: set => items.some(item => set.has(item))\n\t\t});\n\t}\n\n\t/**\n\t * Test all the items in the Set to match the provided predicate.\n\t *\n\t * @param predicate The predicate that should be applied against every item in the Set.\n\t */\n\tofType<T>(predicate: Predicate<T>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, error) => error,\n\t\t\tvalidator: set => ofType(set, predicate)\n\t\t});\n\t}\n\n\t/**\n\t * Test a Set to be empty.\n\t */\n\tget empty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: set => `Expected Set to be empty, got \\`${JSON.stringify(Array.from(set))}\\``,\n\t\t\tvalidator: set => set.size === 0\n\t\t});\n\t}\n\n\t/**\n\t * Test a Set to be not empty.\n\t */\n\tget nonEmpty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => 'Expected Set to not be empty',\n\t\t\tvalidator: set => set.size > 0\n\t\t});\n\t}\n\n\t/**\n\t * Test a Set to be deeply equal to the provided Set.\n\t *\n\t * @param expected Expected Set to match.\n\t */\n\tdeepEqual(expected: Set<any>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: set => `Expected Set to be deeply equal to \\`${JSON.stringify(Array.from(expected))}\\`, got \\`${JSON.stringify(Array.from(set))}\\``,\n\t\t\tvalidator: set => isEqual(set, expected)\n\t\t});\n\t}\n}\n","import {Predicate, Context} from './predicate';\nimport hasItems from '../utils/has-items';\n\nexport class WeakMapPredicate extends Predicate<WeakMap<any, any>> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('weakMap', context);\n\t}\n\n\t/**\n\t * Test a WeakMap to include all the provided keys. The keys are tested by identity, not structure.\n\t *\n\t * @param keys The keys that should be a key in the WeakMap.\n\t */\n\thasKeys(...keys: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, missingKeys) => `Expected WeakMap to have keys \\`${JSON.stringify(missingKeys)}\\``,\n\t\t\tvalidator: map => hasItems(map, keys)\n\t\t});\n\t}\n\n\t/**\n\t * Test a WeakMap to include any of the provided keys. The keys are tested by identity, not structure.\n\t *\n\t * @param keys The keys that could be a key in the WeakMap.\n\t */\n\thasAnyKeys(...keys: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => `Expected WeakMap to have any key of \\`${JSON.stringify(keys)}\\``,\n\t\t\tvalidator: map => keys.some(key => map.has(key))\n\t\t});\n\t}\n}\n","import isEqual = require('lodash.isequal'); // tslint:disable-line:no-require-imports\nimport {Predicate, Context} from './predicate';\nimport hasItems from '../utils/has-items';\nimport ofType from '../utils/of-type';\n\nexport class MapPredicate extends Predicate<Map<any, any>> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('map', context);\n\t}\n\n\t/**\n\t * Test a Map to have a specific size.\n\t *\n\t * @param size The size of the Map.\n\t */\n\tsize(size: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: map => `Expected Map to have size \\`${size}\\`, got \\`${map.size}\\``,\n\t\t\tvalidator: map => map.size === size\n\t\t});\n\t}\n\n\t/**\n\t * Test an Map to have a minimum size.\n\t *\n\t * @param size The minimum size of the Map.\n\t */\n\tminSize(size: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: map => `Expected Map to have a minimum size of \\`${size}\\`, got \\`${map.size}\\``,\n\t\t\tvalidator: map => map.size >= size\n\t\t});\n\t}\n\n\t/**\n\t * Test an Map to have a maximum size.\n\t *\n\t * @param size The maximum size of the Map.\n\t */\n\tmaxSize(size: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: map => `Expected Map to have a maximum size of \\`${size}\\`, got \\`${map.size}\\``,\n\t\t\tvalidator: map => map.size <= size\n\t\t});\n\t}\n\n\t/**\n\t * Test a Map to include all the provided keys. The keys are tested by identity, not structure.\n\t *\n\t * @param keys The keys that should be a key in the Map.\n\t */\n\thasKeys(...keys: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, missingKeys) => `Expected Map to have keys \\`${JSON.stringify(missingKeys)}\\``,\n\t\t\tvalidator: map => hasItems(map, keys)\n\t\t});\n\t}\n\n\t/**\n\t * Test a Map to include any of the provided keys. The keys are tested by identity, not structure.\n\t *\n\t * @param keys The keys that could be a key in the Map.\n\t */\n\thasAnyKeys(...keys: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => `Expected Map to have any key of \\`${JSON.stringify(keys)}\\``,\n\t\t\tvalidator: map => keys.some(key => map.has(key))\n\t\t});\n\t}\n\n\t/**\n\t * Test a Map to include all the provided values. The values are tested by identity, not structure.\n\t *\n\t * @param values The values that should be a value in the Map.\n\t */\n\thasValues(...values: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, missingValues) => `Expected Map to have values \\`${JSON.stringify(missingValues)}\\``,\n\t\t\tvalidator: map => hasItems(new Set(map.values()), values)\n\t\t});\n\t}\n\n\t/**\n\t * Test a Map to include any of the provided values. The values are tested by identity, not structure.\n\t *\n\t * @param values The values that could be a value in the Map.\n\t */\n\thasAnyValues(...values: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => `Expected Map to have any value of \\`${JSON.stringify(values)}\\``,\n\t\t\tvalidator: map => {\n\t\t\t\tconst valueSet = new Set(map.values());\n\n\t\t\t\treturn values.some(key => valueSet.has(key));\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Test all the keys in the Map to match the provided predicate.\n\t *\n\t * @param predicate The predicate that should be applied against every key in the Map.\n\t */\n\tkeysOfType<T>(predicate: Predicate<T>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, error) => error,\n\t\t\tvalidator: map => ofType(map.keys(), predicate)\n\t\t});\n\t}\n\n\t/**\n\t * Test all the values in the Map to match the provided predicate.\n\t *\n\t * @param predicate The predicate that should be applied against every value in the Map.\n\t */\n\tvaluesOfType<T>(predicate: Predicate<T>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, error) => error,\n\t\t\tvalidator: map => ofType(map.values(), predicate)\n\t\t});\n\t}\n\n\t/**\n\t * Test a Map to be empty.\n\t */\n\tget empty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: map => `Expected Map to be empty, got \\`${JSON.stringify(Array.from(map))}\\``,\n\t\t\tvalidator: map => map.size === 0\n\t\t});\n\t}\n\n\t/**\n\t * Test a Map to be not empty.\n\t */\n\tget nonEmpty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => 'Expected Map to not be empty',\n\t\t\tvalidator: map => map.size > 0\n\t\t});\n\t}\n\n\t/**\n\t * Test a Map to be deeply equal to the provided Map.\n\t *\n\t * @param expected Expected Map to match.\n\t */\n\tdeepEqual(expected: Map<any, any>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: map => `Expected Map to be deeply equal to \\`${JSON.stringify(Array.from(expected))}\\`, got \\`${JSON.stringify(Array.from(map))}\\``,\n\t\t\tvalidator: map => isEqual(map, expected)\n\t\t});\n\t}\n}\n","import {Predicate, Context} from './predicate';\n\nexport class ErrorPredicate extends Predicate<Error> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('error', context);\n\t}\n\n\t/**\n\t * Test an error to have a specific name.\n\t *\n\t * @param expected Expected name of the Error.\n\t */\n\tname(expected: string) {\n\t\treturn this.addValidator({\n\t\t\tmessage: error => `Expected error to have name \\`${expected}\\`, got \\`${error.name}\\``,\n\t\t\tvalidator: error => error.name === expected\n\t\t});\n\t}\n\n\t/**\n\t * Test an error to have a specific message.\n\t *\n\t * @param expected Expected message of the Error.\n\t */\n\tmessage(expected: string) {\n\t\treturn this.addValidator({\n\t\t\tmessage: error => `Expected error message to be \\`${expected}\\`, got \\`${error.message}\\``,\n\t\t\tvalidator: error => error.message === expected\n\t\t});\n\t}\n\n\t/**\n\t * Test the error message to include a specific message.\n\t *\n\t * @param message Message that should be included in the error.\n\t */\n\tmessageIncludes(message: string) {\n\t\treturn this.addValidator({\n\t\t\tmessage: error => `Expected error message to include \\`${message}\\`, got \\`${error.message}\\``,\n\t\t\tvalidator: error => error.message.includes(message)\n\t\t});\n\t}\n\n\t/**\n\t * Test the error object to have specific keys.\n\t *\n\t * @param keys One or more keys which should be part of the error object.\n\t */\n\thasKeys(...keys: string[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => `Expected error message to have keys \\`${keys.join('`, `')}\\``,\n\t\t\tvalidator: error => keys.every(key => error.hasOwnProperty(key))\n\t\t});\n\t}\n\n\t/**\n\t * Test an error to be of a specific instance type.\n\t *\n\t * @param instance The expected instance type of the error.\n\t */\n\tinstanceOf(instance: any) {\n\t\treturn this.addValidator({\n\t\t\tmessage: error => `Expected \\`${error.name}\\` to be of type \\`${instance.name}\\``,\n\t\t\tvalidator: error => error instanceof instance\n\t\t});\n\t}\n\n\t/**\n\t * Test an Error to be a TypeError.\n\t */\n\tget typeError() {\n\t\treturn this.instanceOf(TypeError);\n\t}\n\n\t/**\n\t * Test an Error to be an EvalError.\n\t */\n\tget evalError() {\n\t\treturn this.instanceOf(EvalError);\n\t}\n\n\t/**\n\t * Test an Error to be a RangeError.\n\t */\n\tget rangeError() {\n\t\treturn this.instanceOf(RangeError);\n\t}\n\n\t/**\n\t * Test an Error to be a ReferenceError.\n\t */\n\tget referenceError() {\n\t\treturn this.instanceOf(ReferenceError);\n\t}\n\n\t/**\n\t * Test an Error to be a SyntaxError.\n\t */\n\tget syntaxError() {\n\t\treturn this.instanceOf(SyntaxError);\n\t}\n\n\t/**\n\t * Test an Error to be a URIError.\n\t */\n\tget uriError() {\n\t\treturn this.instanceOf(URIError);\n\t}\n}\n","import {Predicate, Context} from './predicate';\n\nexport class DatePredicate extends Predicate<Date> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('date', context);\n\t}\n\n\t/**\n\t * Test a date to be before another date.\n\t *\n\t * @param date Maximum value.\n\t */\n\tbefore(date: Date) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value.toISOString()} to be before ${date.toISOString()}`,\n\t\t\tvalidator: value => value.getTime() < date.getTime()\n\t\t});\n\t}\n\n\t/**\n\t * Test a date to be before another date.\n\t *\n\t * @param date Minimum value.\n\t */\n\tafter(date: Date) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value.toISOString()} to be after ${date.toISOString()}`,\n\t\t\tvalidator: value => value.getTime() > date.getTime()\n\t\t});\n\t}\n}\n","import is from '@sindresorhus/is';\nimport ow from '../..';\nimport {Predicate} from '../predicates/predicate';\n\nconst ofTypeDeep = (input: any, predicate: Predicate): boolean => {\n\tif (!is.plainObject(input)) {\n\t\tow(input, predicate);\n\n\t\treturn true;\n\t}\n\n\treturn Object.keys(input).every(key => ofTypeDeep(input[key], predicate));\n};\n\n/**\n * Test all the values in the object against a provided predicate.\n *\n * @hidden\n * @param input Input object\n * @param predicate Predicate to test every value in the input object against.\n */\nexport default (input: any, predicate: Predicate): boolean | string => {\n\ttry {\n\t\treturn ofTypeDeep(input, predicate);\n\t} catch (err) {\n\t\treturn err.message;\n\t}\n};\n","'use strict';\nmodule.exports = function (x) {\n\tvar type = typeof x;\n\treturn x !== null && (type === 'object' || type === 'function');\n};\n","'use strict';\nconst isObj = require('is-obj');\n\nfunction getPathSegments(path) {\n\tconst pathArr = path.split('.');\n\tconst parts = [];\n\n\tfor (let i = 0; i < pathArr.length; i++) {\n\t\tlet p = pathArr[i];\n\n\t\twhile (p[p.length - 1] === '\\\\' && pathArr[i + 1] !== undefined) {\n\t\t\tp = p.slice(0, -1) + '.';\n\t\t\tp += pathArr[++i];\n\t\t}\n\n\t\tparts.push(p);\n\t}\n\n\treturn parts;\n}\n\nmodule.exports = {\n\tget(obj, path, value) {\n\t\tif (!isObj(obj) || typeof path !== 'string') {\n\t\t\treturn value === undefined ? obj : value;\n\t\t}\n\n\t\tconst pathArr = getPathSegments(path);\n\n\t\tfor (let i = 0; i < pathArr.length; i++) {\n\t\t\tif (!Object.prototype.propertyIsEnumerable.call(obj, pathArr[i])) {\n\t\t\t\treturn value;\n\t\t\t}\n\n\t\t\tobj = obj[pathArr[i]];\n\n\t\t\tif (obj === undefined || obj === null) {\n\t\t\t\t// `obj` is either `undefined` or `null` so we want to stop the loop, and\n\t\t\t\t// if this is not the last bit of the path, and\n\t\t\t\t// if it did't return `undefined`\n\t\t\t\t// it would return `null` if `obj` is `null`\n\t\t\t\t// but we want `get({foo: null}, 'foo.bar')` to equal `undefined`, or the supplied value, not `null`\n\t\t\t\tif (i !== pathArr.length - 1) {\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\tset(obj, path, value) {\n\t\tif (!isObj(obj) || typeof path !== 'string') {\n\t\t\treturn obj;\n\t\t}\n\n\t\tconst root = obj;\n\t\tconst pathArr = getPathSegments(path);\n\n\t\tfor (let i = 0; i < pathArr.length; i++) {\n\t\t\tconst p = pathArr[i];\n\n\t\t\tif (!isObj(obj[p])) {\n\t\t\t\tobj[p] = {};\n\t\t\t}\n\n\t\t\tif (i === pathArr.length - 1) {\n\t\t\t\tobj[p] = value;\n\t\t\t}\n\n\t\t\tobj = obj[p];\n\t\t}\n\n\t\treturn root;\n\t},\n\n\tdelete(obj, path) {\n\t\tif (!isObj(obj) || typeof path !== 'string') {\n\t\t\treturn;\n\t\t}\n\n\t\tconst pathArr = getPathSegments(path);\n\n\t\tfor (let i = 0; i < pathArr.length; i++) {\n\t\t\tconst p = pathArr[i];\n\n\t\t\tif (i === pathArr.length - 1) {\n\t\t\t\tdelete obj[p];\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tobj = obj[p];\n\n\t\t\tif (!isObj(obj)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t},\n\n\thas(obj, path) {\n\t\tif (!isObj(obj) || typeof path !== 'string') {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst pathArr = getPathSegments(path);\n\n\t\tfor (let i = 0; i < pathArr.length; i++) {\n\t\t\tif (isObj(obj)) {\n\t\t\t\tif (!(pathArr[i] in obj)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tobj = obj[pathArr[i]];\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n};\n","import is from '@sindresorhus/is';\nimport * as dotProp from 'dot-prop';\nimport isEqual = require('lodash.isequal'); // tslint:disable-line:no-require-imports\nimport {Predicate, Context} from './predicate';\nimport hasItems from '../utils/has-items';\nimport ofType from '../utils/of-type';\nimport ofTypeDeep from '../utils/of-type-deep';\n\nexport class ObjectPredicate extends Predicate<object> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('object', context);\n\t}\n\n\t/**\n\t * Test if an Object is a plain object.\n\t */\n\tget plain() {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => 'Expected object to be a plain object',\n\t\t\tvalidator: object => is.plainObject(object)\n\t\t});\n\t}\n\n\t/**\n\t * Test an object to be empty.\n\t */\n\tget empty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: object => `Expected object to be empty, got \\`${JSON.stringify(object)}\\``,\n\t\t\tvalidator: object => Object.keys(object).length === 0\n\t\t});\n\t}\n\n\t/**\n\t * Test an object to be not empty.\n\t */\n\tget nonEmpty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => 'Expected object to not be empty',\n\t\t\tvalidator: object => Object.keys(object).length > 0\n\t\t});\n\t}\n\n\t/**\n\t * Test all the values in the object to match the provided predicate.\n\t *\n\t * @param predicate The predicate that should be applied against every value in the object.\n\t */\n\tvaluesOfType<T>(predicate: Predicate<T>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, error) => error,\n\t\t\tvalidator: (object: any) => {\n\t\t\t\tconst values = Object.keys(object).map(key => object[key]);\n\n\t\t\t\treturn ofType(values, predicate);\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Test all the values in the object deeply to match the provided predicate.\n\t *\n\t * @param predicate The predicate that should be applied against every value in the object.\n\t */\n\tdeepValuesOfType<T>(predicate: Predicate<T>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, error) => error,\n\t\t\tvalidator: (object: any) => ofTypeDeep(object, predicate)\n\t\t});\n\t}\n\n\t/**\n\t * Test an object to be deeply equal to the provided object.\n\t *\n\t * @param expected Expected object to match.\n\t */\n\tdeepEqual(expected: object) {\n\t\treturn this.addValidator({\n\t\t\tmessage: object => `Expected object to be deeply equal to \\`${JSON.stringify(expected)}\\`, got \\`${JSON.stringify(object)}\\``,\n\t\t\tvalidator: object => isEqual(object, expected)\n\t\t});\n\t}\n\n\t/**\n\t * Test an object to be of a specific instance type.\n\t *\n\t * @param instance The expected instance type of the object.\n\t */\n\tinstanceOf(instance: any) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (object: any) => {\n\t\t\t\tlet name = object.constructor.name;\n\n\t\t\t\tif (!name || name === 'Object') {\n\t\t\t\t\tname = JSON.stringify(object);\n\t\t\t\t}\n\n\t\t\t\treturn `Expected \\`${name}\\` to be of type \\`${instance.name}\\``;\n\t\t\t},\n\t\t\tvalidator: object => object instanceof instance\n\t\t});\n\t}\n\n\t/**\n\t * Test an object to include all the provided keys. You can use [dot-notation](https://github.com/sindresorhus/dot-prop) in a key to access nested properties.\n\t *\n\t * @param keys The keys that should be present in the object.\n\t */\n\thasKeys(...keys: string[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, missingKeys) => `Expected object to have keys \\`${JSON.stringify(missingKeys)}\\``,\n\t\t\tvalidator: object => hasItems({\n\t\t\t\thas: item => dotProp.has(object, item)\n\t\t\t}, keys)\n\t\t});\n\t}\n\n\t/**\n\t * Test an object to include any of the provided keys. You can use [dot-notation](https://github.com/sindresorhus/dot-prop) in a key to access nested properties.\n\t *\n\t * @param keys The keys that could be a key in the object.\n\t */\n\thasAnyKeys(...keys: string[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => `Expected object to have any key of \\`${JSON.stringify(keys)}\\``,\n\t\t\tvalidator: (object: any) => keys.some(key => dotProp.has(object, key))\n\t\t});\n\t}\n}\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","import isEqual = require('lodash.isequal'); // tslint:disable-line:no-require-imports\nimport ow from '../..';\nimport {Predicate, Context} from './predicate';\n\nexport class ArrayPredicate extends Predicate<any[]> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('array', context);\n\t}\n\n\t/**\n\t * Test an array to have a specific length.\n\t *\n\t * @param length The length of the array.\n\t */\n\tlength(length: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to have length \\`${length}\\`, got \\`${value.length}\\``,\n\t\t\tvalidator: value => value.length === length\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to have a minimum length.\n\t *\n\t * @param length The minimum length of the array.\n\t */\n\tminLength(length: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to have a minimum length of \\`${length}\\`, got \\`${value.length}\\``,\n\t\t\tvalidator: value => value.length >= length\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to have a maximum length.\n\t *\n\t * @param length The maximum length of the array.\n\t */\n\tmaxLength(length: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to have a maximum length of \\`${length}\\`, got \\`${value.length}\\``,\n\t\t\tvalidator: value => value.length <= length\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to start with a specific value. The value is tested by identity, not structure.\n\t *\n\t * @param searchElement The value that should be the start of the array.\n\t */\n\tstartsWith(searchElement: any) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to start with \\`${searchElement}\\`, got \\`${value[0]}\\``,\n\t\t\tvalidator: value => value[0] === searchElement\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to end with a specific value. The value is tested by identity, not structure.\n\t *\n\t * @param searchElement The value that should be the end of the array.\n\t */\n\tendsWith(searchElement: any) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to end with \\`${searchElement}\\`, got \\`${value[value.length - 1]}\\``,\n\t\t\tvalidator: value => value[value.length - 1] === searchElement\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to include all the provided elements. The values are tested by identity, not structure.\n\t *\n\t * @param searchElements The values that should be included in the array.\n\t */\n\tincludes(...searchElements: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to include all elements of \\`${JSON.stringify(searchElements)}\\`, got \\`${JSON.stringify(value)}\\``,\n\t\t\tvalidator: value => searchElements.every(el => value.indexOf(el) !== -1)\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to include any of the provided elements. The values are tested by identity, not structure.\n\t *\n\t * @param searchElements The values that should be included in the array.\n\t */\n\tincludesAny(...searchElements: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to include any element of \\`${JSON.stringify(searchElements)}\\`, got \\`${JSON.stringify(value)}\\``,\n\t\t\tvalidator: value => searchElements.some(el => value.indexOf(el) !== -1)\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to be empty.\n\t */\n\tget empty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to be empty, got \\`${JSON.stringify(value)}\\``,\n\t\t\tvalidator: value => value.length === 0\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to be not empty.\n\t */\n\tget nonEmpty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => 'Expected array to not be empty',\n\t\t\tvalidator: value => value.length > 0\n\t\t});\n\t}\n\n\t/**\n\t * Test an array to be deeply equal to the provided array.\n\t *\n\t * @param expected Expected value to match.\n\t */\n\tdeepEqual(expected: any[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected array to be deeply equal to \\`${JSON.stringify(expected)}\\`, got \\`${JSON.stringify(value)}\\``,\n\t\t\tvalidator: value => isEqual(value, expected)\n\t\t});\n\t}\n\n\t/**\n\t * Test all elements in the array to match to provided predicate.\n\t *\n\t * @param predicate The predicate that should be applied against every individual item.\n\t */\n\tofType<T>(predicate: Predicate<T>) {\n\t\tlet error: string;\n\n\t\treturn this.addValidator({\n\t\t\tmessage: () => error,\n\t\t\tvalidator: value => {\n\t\t\t\ttry {\n\t\t\t\t\tfor (const item of value) {\n\t\t\t\t\t\tow(item, predicate);\n\t\t\t\t\t}\n\n\t\t\t\t\treturn true;\n\t\t\t\t} catch (err) {\n\t\t\t\t\terror = err.message;\n\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n}\n","import {Predicate, Context} from './predicate';\n\nexport class BooleanPredicate extends Predicate<boolean> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('boolean', context);\n\t}\n\n\t/**\n\t * Test a boolean to be true.\n\t */\n\tget true() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be true`,\n\t\t\tvalidator: value => value === true\n\t\t});\n\t}\n\n\t/**\n\t * Test a boolean to be false.\n\t */\n\tget false() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be false`,\n\t\t\tvalidator: value => value === false\n\t\t});\n\t}\n}\n","import is from '@sindresorhus/is';\nimport {Predicate, Context} from './predicate';\n\nexport class NumberPredicate extends Predicate<number> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('number', context);\n\t}\n\n\t/**\n\t * Test a number to be in a specified range.\n\t *\n\t * @param start Start of the range.\n\t * @param end End of the range.\n\t */\n\tinRange(start: number, end: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be in range [${start}..${end}]`,\n\t\t\tvalidator: value => is.inRange(value, [start, end])\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be greater than the provided value.\n\t *\n\t * @param x Minimum value.\n\t */\n\tgreaterThan(x: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be greater than ${x}`,\n\t\t\tvalidator: value => value > x\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be greater than or equal to the provided value.\n\t *\n\t * @param x Minimum value.\n\t */\n\tgreaterThanOrEqual(x: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be greater than or equal to ${x}`,\n\t\t\tvalidator: value => value >= x\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be less than the provided value.\n\t *\n\t * @param x Maximum value.\n\t */\n\tlessThan(x: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be less than ${x}`,\n\t\t\tvalidator: value => value < x\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be less than or equal to the provided value.\n\t *\n\t * @param x Minimum value.\n\t */\n\tlessThanOrEqual(x: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be less than or equal to ${x}`,\n\t\t\tvalidator: value => value <= x\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be equal to a specified number.\n\t *\n\t * @param expected Expected value to match.\n\t */\n\tequal(expected: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be equal to ${expected}`,\n\t\t\tvalidator: value => value === expected\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be an integer.\n\t */\n\tget integer() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be an integer`,\n\t\t\tvalidator: value => is.integer(value)\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be finite.\n\t */\n\tget finite() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be finite`,\n\t\t\tvalidator: value => !is.infinite(value)\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be infinite.\n\t */\n\tget infinite() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be infinite`,\n\t\t\tvalidator: value => is.infinite(value)\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be positive.\n\t */\n\tget positive() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be positive`,\n\t\t\tvalidator: value => value > 0\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be negative.\n\t */\n\tget negative() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected ${value} to be negative`,\n\t\t\tvalidator: value => value < 0\n\t\t});\n\t}\n}\n","'use strict';\nmodule.exports = function (str) {\n\treturn !isNaN(Date.parse(str));\n};\n","import valiDate from 'vali-date';\nimport {Predicate, Context} from './predicate';\n\nexport class StringPredicate extends Predicate<string> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context) {\n\t\tsuper('string', context);\n\t}\n\n\t/**\n\t * Test a string to have a specific length.\n\t *\n\t * @param length The length of the string.\n\t */\n\tlength(length: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to have length \\`${length}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => value.length === length\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to have a minimum length.\n\t *\n\t * @param length The minimum length of the string.\n\t */\n\tminLength(length: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to have a minimum length of \\`${length}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => value.length >= length\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to have a maximum length.\n\t *\n\t * @param length The maximum length of the string.\n\t */\n\tmaxLength(length: number) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to have a maximum length of \\`${length}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => value.length <= length\n\t\t});\n\t}\n\n\t/**\n\t * Test a string against a regular expression.\n\t *\n\t * @param regeExp The regular expression to match the value with.\n\t */\n\tmatches(regExp: RegExp) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to match \\`${regExp}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => regExp.test(value)\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to start with a specific value.\n\t *\n\t * @param searchString The value that should be the start of the string.\n\t */\n\tstartsWith(searchString: string) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to start with \\`${searchString}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => value.startsWith(searchString)\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to end with a specific value.\n\t *\n\t * @param searchString The value that should be the end of the string.\n\t */\n\tendsWith(searchString: string) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to end with \\`${searchString}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => value.endsWith(searchString)\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to include a specific value.\n\t *\n\t * @param searchString The value that should be included in the string.\n\t */\n\tincludes(searchString: string) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to include \\`${searchString}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => value.includes(searchString)\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to be empty.\n\t */\n\tget empty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to be empty, got \\`${value}\\``,\n\t\t\tvalidator: value => value === ''\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to be not empty.\n\t */\n\tget nonEmpty() {\n\t\treturn this.addValidator({\n\t\t\tmessage: () => 'Expected string to not be empty',\n\t\t\tvalidator: value => value !== ''\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to be equal to a specified string.\n\t *\n\t * @param expected Expected value to match.\n\t */\n\tequals(expected: string) {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to be equal to \\`${expected}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => value === expected\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to be alphanumeric.\n\t */\n\tget alphanumeric() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to be alphanumeric, got \\`${value}\\``,\n\t\t\tvalidator: value => /^[a-z\\d]+$/i.test(value)\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to be numeric.\n\t */\n\tget numeric() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to be numeric, got \\`${value}\\``,\n\t\t\tvalidator: value => /^\\d+$/i.test(value)\n\t\t});\n\t}\n\n\t/**\n\t * Test a string to be a valid date.\n\t */\n\tget date() {\n\t\treturn this.addValidator({\n\t\t\tmessage: value => `Expected string to be a date, got \\`${value}\\``,\n\t\t\tvalidator: value => valiDate(value)\n\t\t});\n\t}\n}\n","import {ArgumentError} from '../argument-error';\nimport {Predicate} from './predicate';\nimport {BasePredicate, testSymbol} from './base-predicate';\nimport {Ow} from '../..';\n\n/**\n * @hidden\n */\nexport class AnyPredicate<T> implements BasePredicate<T> {\n\tconstructor(\n\t\tprivate readonly predicates: Predicate[]\n\t) {}\n\n\t// tslint:disable completed-docs\n\t[testSymbol](value: T, main: Ow) {\n\t\tconst errors = [\n\t\t\t'Any predicate failed with the following errors:'\n\t\t];\n\n\t\tfor (const predicate of this.predicates) {\n\t\t\ttry {\n\t\t\t\tmain(value, predicate);\n\n\t\t\t\treturn;\n\t\t\t} catch (err) {\n\t\t\t\terrors.push(`- ${err.message}`);\n\t\t\t}\n\t\t}\n\n\t\tthrow new ArgumentError(errors.join('\\n'), main);\n\t}\n}\n","import {Predicate, validatorSymbol} from '../predicates/predicate';\n\n/**\n * Operator which inverts all the validations.\n *\n * @hidden\n * @param predictate Predicate to wrap inside the operator.\n */\nexport const not = <T extends Predicate>(predicate: T) => {\n\tpredicate.addValidator = validator => {\n\t\tconst fn = validator.validator;\n\t\tconst message = validator.message;\n\n\t\tvalidator.message = (x: any) => `[NOT] ${message(x)}`;\n\t\tvalidator.validator = (x: any) => !fn(x);\n\n\t\t(predicate as any)[validatorSymbol].push(validator);\n\n\t\treturn predicate;\n\t};\n\n\treturn predicate;\n};\n","module.exports = require(\"util\");"],"sourceRoot":""}
\No newline at end of file