UNPKG

174 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:///./source/index.ts","webpack:///./node_modules/@sindresorhus/is/dist/index.js","webpack:///./node_modules/lodash.isequal/index.js","webpack:///./source/lib/predicates/base-predicate.ts","webpack:///./source/lib/utils/of-type.ts","webpack:///./source/lib/argument-error.ts","webpack:///./node_modules/callsites/index.js","webpack:///./source/lib/utils/infer-label.ts","webpack:///./source/lib/utils/node/fs.ts","webpack:///./source/lib/utils/node/require.ts","webpack:///./node_modules/is-node/index.js","webpack:///./source/lib/utils/is-valid-identifier.ts","webpack:///external \"url\"","webpack:///./source/lib/operators/not.ts","webpack:///./source/lib/predicates/any.ts","webpack:///./source/lib/predicates/string.ts","webpack:///./node_modules/vali-date/index.js","webpack:///./source/lib/predicates/number.ts","webpack:///./source/lib/predicates/boolean.ts","webpack:///./source/lib/predicates/array.ts","webpack:///(webpack)/buildin/module.js","webpack:///./source/lib/predicates/object.ts","webpack:///./node_modules/dot-prop/index.js","webpack:///./node_modules/is-obj/index.js","webpack:///./source/lib/utils/of-type-deep.ts","webpack:///./source/lib/predicates/date.ts","webpack:///./source/lib/predicates/error.ts","webpack:///./source/lib/predicates/map.ts","webpack:///./source/lib/predicates/weak-map.ts","webpack:///./source/lib/predicates/set.ts","webpack:///./source/lib/predicates/weak-set.ts"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","is_1","__importDefault","argument_error_1","base_predicate_1","not_1","validatorSymbol","Predicate","[object Object]","type","context","validators","this","x","toLowerCase","slice","addValidator","message","label","substring","length","default","validator","testSymbol","main","label2","result","ArgumentError","not","fn","error","push","source","items","maxValues","missingValues","has","callsites_1","infer_label_1","predicate_1","any_1","AnyPredicate","string_1","StringPredicate","number_1","NumberPredicate","boolean_1","BooleanPredicate","array_1","ArrayPredicate","object_1","ObjectPredicate","date_1","DatePredicate","error_1","ErrorPredicate","map_1","MapPredicate","weak_map_1","WeakMapPredicate","set_1","SetPredicate","weak_set_1","WeakSetPredicate","labelOrPredicate","predicate","testPredicate","isPredicate","inferLabel","defineProperties","isValid","_a","any","predicates","string","number","boolean","undefined","null","nullOrUndefined","nan","symbol","array","date","map","weakMap","set","weakSet","function","buffer","regExp","promise","typedArray","int8Array","uint8Array","uint8ClampedArray","int16Array","uint16Array","int32Array","uint32Array","float32Array","float64Array","arrayBuffer","dataView","iterable","URLGlobal","URL","toString","isOfType","isBuffer","input","is","constructor","function_","getObjectType","objectName","isObjectOfType","observable","Array","isArray","tagType","String","Boolean","Number","TypeError","isObject","null_","class_","startsWith","numericString","isNaN","iterator","asyncIterable","asyncIterator","generator","next","throw","nativePromise","then","catch","hasPromiseAPI","generatorFunction","asyncFunction","boundFunction","sharedArrayBuffer","directInstanceOf","instance","klass","getPrototypeOf","urlInstance","urlString","truthy","falsy","primitiveTypes","Set","primitive","integer","isInteger","safeInteger","isSafeInteger","plainObject","typedArrayTypes","objectType","arrayLike","isValidLength","inRange","range","Math","min","max","JSON","stringify","DOM_PROPERTIES_TO_CHECK","domElement","nodeType","nodeName","every","nodeStream","pipe","infinite","Infinity","isAbsoluteMod2","rem","abs","even","odd","emptyArray","nonEmptyArray","emptyString","nonEmptyString","emptyStringOrWhitespace","test","isWhiteSpaceString","emptyObject","keys","nonEmptyObject","emptySet","size","nonEmptySet","emptyMap","nonEmptyMap","predicateOnArray","method","values","some","all","class","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","freeModule","moduleExports","freeProcess","process","nodeUtil","binding","e","nodeIsTypedArray","isTypedArray","arraySome","index","mapToArray","forEach","setToArray","uid","func","transform","arrayProto","funcProto","objectProto","coreJsData","funcToString","maskSrcKey","exec","IE_PROTO","nativeObjectToString","reIsNative","RegExp","replace","Buffer","Uint8Array","propertyIsEnumerable","splice","symToStringTag","nativeGetSymbols","getOwnPropertySymbols","nativeIsBuffer","nativeKeys","arg","DataView","getNative","Map","Promise","WeakMap","nativeCreate","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolProto","symbolValueOf","valueOf","Hash","entries","clear","entry","ListCache","MapCache","SetCache","__data__","add","Stack","data","arrayLikeKeys","inherited","isArr","isArg","isArguments","isBuff","isType","skipIndexes","iteratee","baseTimes","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","convert","isPartial","stacked","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","getAllKeys","objLength","othLength","skipCtor","objValue","othValue","compared","objCtor","othCtor","equalObjects","baseIsEqualDeep","baseIsNative","isFunction","baseKeys","Ctor","proto","arrLength","seen","arrValue","othIndex","keysFunc","symbolsFunc","offset","arrayPush","baseGetAllKeys","getSymbols","getMapData","getValue","pop","hash","pairs","resIndex","arrayFilter","ArrayBuffer","resolve","ctorString","arguments","isLength","baseUnary","__1","item","err","Error","super","captureStackTrace","callsites","_prepareStackTrace","prepareStackTrace","_","fs_1","isNode","__importStar","is_valid_identifier_1","labelRegex","fs","functionCallStackFrame","fileName","getFileName","lineNumber","getLineNumber","columnNumber","getColumnNumber","content","readFileSync","split","line","match","token","require_1","__non_webpack_require__","eval","versions","node","identifierRegex","reservedSet","require","originalAddValidator","errors","join","vali_date_1","searchString","endsWith","includes","list","printedList","overflow","empty","nonEmpty","expected","alphanumeric","alphabetical","numeric","lowercase","trim","uppercase","toUpperCase","str","Date","parse","start","end","finite","positive","negative","integerOrInfinite","true","false","lodash_isequal_1","searchElement","searchElements","el","indexOf","webpackPolyfill","deprecate","paths","children","dot_prop_1","has_items_1","of_type_1","of_type_deep_1","plain","missingKeys","isObj","getPathSegments","path","pathArr","parts","obj","ofTypeDeep","toISOString","getTime","typeError","instanceOf","evalError","EvalError","rangeError","RangeError","referenceError","ReferenceError","syntaxError","SyntaxError","uriError","URIError","valueSet","from","missingItems"],"mappings":"2BACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QA0DA,OArDAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAX,OAAAY,OAAA,MAGA,GAFA1B,EAAAkB,EA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iE,EAAKrB,KAOhCuX,YACC,OAAO5a,KAAKI,aAAa,CACxBC,QAAS,CAACqE,EAAKpE,gBAAsBA,wBAA4BwJ,KAAKC,UAAUrD,MAAM4X,KAAK5Z,QAC3FhE,UAAWgE,GAAoB,IAAbA,EAAI+G,OAOxBoP,eACC,OAAO7a,KAAKI,aAAa,CACxBC,QAAS,CAACiY,EAAGhY,gBAAsBA,oBACnCI,UAAWgE,GAAOA,EAAI+G,KAAO,IAS/B7L,UAAUkb,GACT,OAAO9a,KAAKI,aAAa,CACxBC,QAAS,CAACqE,EAAKpE,gBAAsBA,6BAAiCwJ,KAAKC,UAAUrD,MAAM4X,KAAKxD,gBAAuBhR,KAAKC,UAAUrD,MAAM4X,KAAK5Z,QACjJhE,UAAWgE,GAAOuX,EAAAxb,QAAQiE,EAAKoW,0KCjHlC,MAAAnZ,EAAA1E,EAAA,GACA0f,EAAArd,EAAArC,EAAA,IAEAE,EAAAgG,iBAAA,cAA8DxB,EAAAhC,UAI7DC,YAAYE,GACXmY,MAAM,UAAWnY,GAQlBF,OAAOyB,GACN,OAAOrB,KAAKI,aAAa,CACxBC,QAAS,CAACiY,EAAGhY,EAAOie,gBAA6Bje,qBAAyBwJ,KAAKC,UAAUwU,OACzF7d,UAAWgE,GAAOiY,EAAAlc,QAASiE,EAAKrD,KASlCzB,UAAUyB,GACT,OAAOrB,KAAKI,aAAa,CACxBC,QAAS,CAACiY,EAAGhY,gBAAsBA,2BAA+BwJ,KAAKC,UAAU1I,OACjFX,UAAWgE,GAAOrD,EAAM2K,KAAK8L,GAAQpT,EAAIlD,IAAIsW","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\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\t// tslint:disable-next-line completed-docs\n\tmessage(value: T, label?: string, result?: any): string;\n\n\t// tslint:disable-next-line completed-docs\n\tvalidator(value: T): any;\n}\n\n/**\n * @hidden\n */\nexport interface Context<T> {\n\tvalidators: Validator<T>[];\n\tlabel?: string;\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\tprivate readonly type: string,\n\t\tprivate readonly context: Context<T> = {\n\t\t\tvalidators: []\n\t\t}\n\t) {\n\t\tconst x = this.type[0].toLowerCase() + this.type.slice(1);\n\n\t\tthis.addValidator({\n\t\t\tmessage: (value, label) => {\n\t\t\t\t// We do not include type in this label as we do for other messages, because it would be redundant.\n\t\t\t\tconst lbl = label && label.substring(this.type.length + 1);\n\n\t\t\t\treturn `Expected ${lbl || 'argument'} to be of type \\`${this.type}\\` but received type \\`${is(value)}\\``;\n\t\t\t},\n\t\t\tvalidator: value => (is as any)[x](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, label?: string) {\n\t\tconst label2 = label\n\t\t\t? `${this.type} \\`${label}\\``\n\t\t\t: this.type;\n\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, label2, 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, label, error) => (error\n\t\t\t\t? `(${label}) ${error}`\n\t\t\t\t: `Expected ${label} \\`${value}\\` to pass custom validation function`\n\t\t\t),\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\t// tslint:disable-next-line completed-docs\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 <T>(source: CollectionLike<T>, items: T[], maxValues = 5) => {\n\tconst missingValues: T[] = [];\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","import callsites from 'callsites';\nimport {inferLabel} from './lib/utils/infer-label';\nimport {Predicate} from './lib/predicates/predicate';\nimport {AnyPredicate} from './lib/predicates/any';\nimport {testSymbol, BasePredicate, isPredicate} 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\ntype 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. Throws an `ArgumentError` if the test fails.\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: BasePredicate<T>): void;\n\t/**\n\t * Test if `value` matches the provided `predicate`. Throws an `ArgumentError` with the specified `label` if the test fails.\n\t *\n\t * @param value Value to test.\n\t * @param label Label which should be used in error messages.\n\t * @param predicate Predicate to test against.\n\t */\n\t<T>(value: T, label: string, predicate: BasePredicate<T>): void;\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\t/**\n\t * Returns `true` if the value matches the predicate, otherwise returns `false`.\n\t *\n\t * @param value Value to test.\n\t * @param predicate Predicate to test against.\n\t */\n\tisValid<T>(value: T, predicate: BasePredicate<T>): value is T;\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: BasePredicate<T>): (value: T) => void;\n\t/**\n\t * Create a reusable validator.\n\t *\n\t * @param label Label which should be used in error messages.\n\t * @param predicate Predicate used in the validator function.\n\t */\n\tcreate<T>(label: string, predicate: BasePredicate<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: BasePredicate<T1>): AnyPredicate<T1>;\n\tany<T1, T2>(p1: BasePredicate<T1>, p2: BasePredicate<T2>): AnyPredicate<T1 | T2>;\n\tany<T1, T2, T3>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>): AnyPredicate<T1 | T2 | T3>;\n\tany<T1, T2, T3, T4>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>): AnyPredicate<T1 | T2 | T3 | T4>;\n\tany<T1, T2, T3, T4, T5>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>): AnyPredicate<T1 | T2 | T3 | T4 | T5>;\n\tany<T1, T2, T3, T4, T5, T6>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>): AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6>;\n\tany<T1, T2, T3, T4, T5, T6, T7>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>, p7: BasePredicate<T7>): AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6 | T7>;\n\tany<T1, T2, T3, T4, T5, T6, T7, T8>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>, p7: BasePredicate<T7>, p8: BasePredicate<T8>): AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>;\n\tany<T1, T2, T3, T4, T5, T6, T7, T8, T9>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>, p7: BasePredicate<T7>, p8: BasePredicate<T8>, p9: BasePredicate<T9>): AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;\n\tany<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>, p7: BasePredicate<T7>, p8: BasePredicate<T8>, p9: BasePredicate<T9>, p10: BasePredicate<T10>): AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>;\n\tany(...predicate: BasePredicate[]): AnyPredicate;\n}\n\nconst main = <T>(value: T, labelOrPredicate: BasePredicate<T> | string | undefined, predicate?: BasePredicate<T>) => {\n\tlet label: any = labelOrPredicate;\n\tlet testPredicate: any = predicate;\n\n\tif (isPredicate(labelOrPredicate)) {\n\t\tlabel = inferLabel(callsites());\n\t\ttestPredicate = labelOrPredicate;\n\t}\n\n\treturn testPredicate[testSymbol](value, main, label);\n};\n\nObject.defineProperties(main, {\n\tisValid: {\n\t\tvalue: <T>(value: T, predicate: BasePredicate<T>) => {\n\t\t\ttry {\n\t\t\t\tmain(value, predicate);\n\t\t\t\treturn true;\n\t\t\t} catch {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t},\n\tcreate: {\n\t\tvalue: <T>(labelOrPredicate: BasePredicate<T> | string | undefined, predicate?: BasePredicate<T>) => (value: T) => {\n\t\t\tif (isPredicate(labelOrPredicate)) {\n\t\t\t\treturn main(value, inferLabel(callsites()), labelOrPredicate);\n\t\t\t}\n\n\t\t\treturn main(value, labelOrPredicate, predicate);\n\t\t}\n\t},\n\tany: {\n\t\tvalue: (...predicates: BasePredicate[]) => 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;\nexport {\n\tBasePredicate,\n\tPredicate,\n\tAnyPredicate,\n\tStringPredicate,\n\tNumberPredicate,\n\tBooleanPredicate,\n\tArrayPredicate,\n\tObjectPredicate,\n\tDatePredicate,\n\tErrorPredicate,\n\tMapPredicate,\n\tWeakMapPredicate,\n\tSetPredicate,\n\tWeakSetPredicate\n};\n","\"use strict\";\n/// <reference lib=\"es2016\"/>\n/// <reference lib=\"es2017.sharedmemory\"/>\n/// <reference lib=\"esnext.asynciterable\"/>\n/// <reference lib=\"dom\"/>\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// TODO: Use the `URL` global when targeting Node.js 10\n// tslint:disable-next-line\nconst URLGlobal = typeof URL === 'undefined' ? require('url').URL : URL;\nconst toString = Object.prototype.toString;\nconst isOfType = (type) => (value) => typeof value === type;\nconst isBuffer = (input) => !is.nullOrUndefined(input) && !is.nullOrUndefined(input.constructor) && is.function_(input.constructor.isBuffer) && input.constructor.isBuffer(input);\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 switch (value) {\n case null:\n return \"null\" /* null */;\n case true:\n case false:\n return \"boolean\" /* boolean */;\n default:\n }\n switch (typeof value) {\n case 'undefined':\n return \"undefined\" /* undefined */;\n case 'string':\n return \"string\" /* string */;\n case 'number':\n return \"number\" /* number */;\n case 'symbol':\n return \"symbol\" /* symbol */;\n default:\n }\n if (is.function_(value)) {\n return \"Function\" /* Function */;\n }\n if (is.observable(value)) {\n return \"Observable\" /* Observable */;\n }\n if (Array.isArray(value)) {\n return \"Array\" /* Array */;\n }\n if (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 // tslint:disable-next-line:strict-type-predicates\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 // tslint:disable-next-line:strict-type-predicates\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.numericString = (value) => is.string(value) && value.length > 0 && !Number.isNaN(Number(value));\n is.array = Array.isArray;\n is.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.asyncIterable = (value) => !is.nullOrUndefined(value) && is.function_(value[Symbol.asyncIterator]);\n is.generator = (value) => is.iterable(value) && is.function_(value.next) && is.function_(value.throw);\n is.nativePromise = (value) => isObjectOfType(\"Promise\" /* Promise */)(value);\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 is.generatorFunction = isObjectOfType(\"GeneratorFunction\" /* GeneratorFunction */);\n is.asyncFunction = isObjectOfType(\"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 = (value) => isObjectOfType(\"Map\" /* Map */)(value);\n is.set = (value) => isObjectOfType(\"Set\" /* Set */)(value);\n is.weakMap = (value) => isObjectOfType(\"WeakMap\" /* WeakMap */)(value);\n is.weakSet = (value) => isObjectOfType(\"WeakSet\" /* WeakSet */)(value);\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.urlInstance = (value) => isObjectOfType(\"URL\" /* URL */)(value);\n is.urlString = (value) => {\n if (!is.string(value)) {\n return false;\n }\n try {\n new URLGlobal(value); // tslint:disable-line no-unused-expression\n return true;\n }\n catch (_a) {\n return false;\n }\n };\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: ${JSON.stringify(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.observable = (value) => {\n if (!value) {\n return false;\n }\n if (value[Symbol.observable] && value === value[Symbol.observable]()) {\n return true;\n }\n if (value['@@observable'] && value === value['@@observable']()) {\n return true;\n }\n return false;\n };\n is.nodeStream = (value) => !is.nullOrUndefined(value) && isObject(value) && is.function_(value.pipe) && !is.observable(value);\n is.infinite = (value) => value === Infinity || value === -Infinity;\n const isAbsoluteMod2 = (rem) => (value) => is.integer(value) && Math.abs(value % 2) === rem;\n is.even = isAbsoluteMod2(0);\n is.odd = isAbsoluteMod2(1);\n const isWhiteSpaceString = (value) => is.string(value) && /\\S/.test(value) === false;\n is.emptyArray = (value) => is.array(value) && value.length === 0;\n is.nonEmptyArray = (value) => is.array(value) && value.length > 0;\n is.emptyString = (value) => is.string(value) && value.length === 0;\n is.nonEmptyString = (value) => is.string(value) && value.length > 0;\n is.emptyStringOrWhitespace = (value) => is.emptyString(value) || isWhiteSpaceString(value);\n is.emptyObject = (value) => is.object(value) && !is.map(value) && !is.set(value) && Object.keys(value).length === 0;\n is.nonEmptyObject = (value) => is.object(value) && !is.map(value) && !is.set(value) && Object.keys(value).length > 0;\n is.emptySet = (value) => is.set(value) && value.size === 0;\n is.nonEmptySet = (value) => is.set(value) && value.size > 0;\n is.emptyMap = (value) => is.map(value) && value.size === 0;\n is.nonEmptyMap = (value) => is.map(value) && value.size > 0;\n const predicateOnArray = (method, predicate, values) => {\n if (is.function_(predicate) === false) {\n throw new TypeError(`Invalid predicate: ${JSON.stringify(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//# sourceMappingURL=index.js.map","/**\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","import {Ow} from '../..';\n\n/**\n * @hidden\n */\nexport const testSymbol = Symbol('test');\n\n/**\n * @hidden\n */\nexport const isPredicate = (value: any): value is BasePredicate => Boolean(value && value[testSymbol]);\n\n/**\n * @hidden\n */\nexport interface BasePredicate<T = any> {\n\t// tslint:disable-next-line completed-docs\n\t[testSymbol](value: T, main: Ow, label?: string): void;\n}\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 <T>(source: IterableIterator<T> | Set<T> | T[], predicate: Predicate<T>): 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","/**\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","'use strict';\n\nconst callsites = () => {\n\tconst _prepareStackTrace = Error.prepareStackTrace;\n\tError.prepareStackTrace = (_, stack) => stack;\n\tconst stack = new Error().stack.slice(1);\n\tError.prepareStackTrace = _prepareStackTrace;\n\treturn stack;\n};\n\nmodule.exports = callsites;\nmodule.exports.default = callsites;\n","import lazyFS from './node/fs';\nimport {CallSite} from 'callsites';\nimport * as isNode from 'is-node';\nimport isValidIdentifier from './is-valid-identifier';\n\n// Regex to extract the label out of the `ow` function call\nconst labelRegex = /^.*?\\((.*?)[,)]/;\n\n/**\n * Infer the label of the caller.\n *\n * @param callsites - List of stack frames.\n */\nexport const inferLabel = (callsites: CallSite[]) => {\n\tif (!isNode) {\n\t\t// Exit if we are not running in a Node.js environment\n\t\treturn;\n\t}\n\n\t// Load the lazy `fs` module\n\tconst fs = lazyFS();\n\n\t// Grab the stackframe with the `ow` function call\n\tconst functionCallStackFrame = callsites[1];\n\n\tconst fileName = functionCallStackFrame.getFileName();\n\tconst lineNumber = functionCallStackFrame.getLineNumber();\n\tconst columnNumber = functionCallStackFrame.getColumnNumber();\n\n\tif (!fileName || lineNumber === null || columnNumber === null) {\n\t\treturn;\n\t}\n\n\tlet content: string[] = [];\n\n\ttry {\n\t\tcontent = (fs.readFileSync(fileName, 'utf8') as string).split('\\n');\n\t} catch {\n\t\treturn;\n\t}\n\n\tlet line = content[lineNumber - 1];\n\n\tif (!line) {\n\t\t// Exit if the line number couldn't be found\n\t\treturn;\n\t}\n\n\tline = line.slice(columnNumber - 1);\n\n\tconst match = labelRegex.exec(line);\n\n\tif (!match || !match[1]) {\n\t\t// Exit if we didn't find a label\n\t\treturn;\n\t}\n\n\tconst token = match[1];\n\n\tif (isValidIdentifier(token) || isValidIdentifier(token.split('.').pop())) {\n\t\treturn token;\n\t}\n\n\treturn;\n};\n","import nodeRequire from './require';\n\n// Re-export the Node.js `fs` module lazily to make sure it doesn't get bundled with front-end apps\nexport default () => nodeRequire('fs');\n","// Export `__non_webpack_require__` in Webpack environments to make sure it doesn't bundle modules loaded via this method\nexport default typeof (global as any).__non_webpack_require__ === 'function'\n\t? (global as any).__non_webpack_require__\n\t: eval('require'); // tslint:disable-line:no-eval\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","const identifierRegex = /^[a-z$_][a-z$_0-9]*$/i;\n\nconst reservedSet = new Set([\n\t'undefined',\n\t'null',\n\t'true',\n\t'false',\n\t'super',\n\t'this',\n\t'Infinity',\n\t'NaN'\n]);\n\n/**\n * Test if the string is a valid JavaScript identifier.\n *\n * @param input String to test.\n */\nexport default (input: string | undefined) => input && !reservedSet.has(input) && identifierRegex.test(input);\n","module.exports = require(\"url\");","import {Predicate, validatorSymbol} from '../predicates/predicate';\n\n/**\n * Operator which inverts the following validation.\n *\n * @hidden\n * @param predictate Predicate to wrap inside the operator.\n */\nexport const not = <T, P extends Predicate<T>>(predicate: P) => {\n\tconst originalAddValidator = predicate.addValidator;\n\n\tpredicate.addValidator = validator => {\n\t\tconst fn = validator.validator;\n\t\tconst message = validator.message;\n\n\t\tvalidator.message = (x: T, label: string) => `[NOT] ${message(x, label)}`;\n\t\tvalidator.validator = (x: T) => !fn(x);\n\n\t\tpredicate[validatorSymbol].push(validator);\n\n\t\tpredicate.addValidator = originalAddValidator;\n\n\t\treturn predicate;\n\t};\n\n\treturn predicate;\n};\n","import {ArgumentError} from '../argument-error';\nimport {BasePredicate, testSymbol} from './base-predicate';\nimport {Ow} from '../..';\n\n/**\n * @hidden\n */\nexport class AnyPredicate<T = any> implements BasePredicate<T> {\n\tconstructor(\n\t\tprivate readonly predicates: BasePredicate[]\n\t) {}\n\n\t// tslint:disable completed-docs\n\t[testSymbol](value: T, main: Ow, label?: string) {\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, label as string, 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 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<string>) {\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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} to include \\`${searchString}\\`, got \\`${value}\\``,\n\t\t\tvalidator: value => value.includes(searchString)\n\t\t});\n\t}\n\n\t/**\n\t * Test if the string is an element of the provided list.\n\t *\n\t * @param list List of possible values.\n\t */\n\toneOf(list: string[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => {\n\t\t\t\tlet printedList = JSON.stringify(list);\n\n\t\t\t\tif (list.length > 10) {\n\t\t\t\t\tconst overflow = list.length - 10;\n\t\t\t\t\tprintedList = JSON.stringify(list.slice(0, 10)).replace(/]$/, `,…+${overflow} more]`);\n\t\t\t\t}\n\n\t\t\t\treturn `Expected ${label} to be one of \\`${printedList}\\`, got \\`${value}\\``;\n\t\t\t},\n\t\t\tvalidator: value => list.includes(value)\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, label) => `Expected ${label} 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: (_, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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 alphabetical.\n\t */\n\tget alphabetical() {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} to be alphabetical, got \\`${value}\\``,\n\t\t\tvalidator: value => /^[a-z]+$/ig.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, label) => `Expected ${label} 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, label) => `Expected ${label} to be a date, got \\`${value}\\``,\n\t\t\tvalidator: value => valiDate(value)\n\t\t});\n\t}\n\n\t/**\n\t * Test a non-empty string to be lowercase. Matching both alphabetical & numbers.\n\t */\n\tget lowercase() {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} to be lowercase, got \\`${value}\\``,\n\t\t\tvalidator: value => value.trim() !== '' && value === value.toLowerCase()\n\t\t});\n\t}\n\n\t/**\n\t * Test a non-empty string to be uppercase. Matching both alphabetical & numbers.\n\t */\n\tget uppercase() {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} to be uppercase, got \\`${value}\\``,\n\t\t\tvalidator: value => value.trim() !== '' && value === value.toUpperCase()\n\t\t});\n\t}\n}\n","'use strict';\nmodule.exports = function (str) {\n\treturn !isNaN(Date.parse(str));\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<number>) {\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, label) => `Expected ${label} to be in range [${start}..${end}], got ${value}`,\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, label) => `Expected ${label} to be greater than ${x}, got ${value}`,\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, label) => `Expected ${label} to be greater than or equal to ${x}, got ${value}`,\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, label) => `Expected ${label} to be less than ${x}, got ${value}`,\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, label) => `Expected ${label} to be less than or equal to ${x}, got ${value}`,\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, label) => `Expected ${label} 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 number to be an integer.\n\t */\n\tget integer() {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} to be an integer, got ${value}`,\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, label) => `Expected ${label} to be finite, got ${value}`,\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, label) => `Expected ${label} to be infinite, got ${value}`,\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, label) => `Expected ${label} to be positive, got ${value}`,\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, label) => `Expected ${label} to be negative, got ${value}`,\n\t\t\tvalidator: value => value < 0\n\t\t});\n\t}\n\n\t/**\n\t * Test a number to be an integer or infinite.\n\t */\n\tget integerOrInfinite() {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} to be an integer or infinite, got ${value}`,\n\t\t\tvalidator: value => is.integer(value) || is.infinite(value)\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<boolean>) {\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, label) => `Expected ${label} to be true, got ${value}`,\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, label) => `Expected ${label} to be false, got ${value}`,\n\t\t\tvalidator: value => value === false\n\t\t});\n\t}\n}\n","import isEqual from 'lodash.isequal';\nimport ow from '../..';\nimport {Predicate, Context} from './predicate';\n\nexport class ArrayPredicate<T = any> extends Predicate<T[]> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context<T[]>) {\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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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: T) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} 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: T) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} 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: T[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} 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: T[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} 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, label) => `Expected ${label} 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: (_, label) => `Expected ${label} 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: T[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (value, label) => `Expected ${label} 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(predicate: Predicate<T>) {\n\t\tlet error: string;\n\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label) => `(${label}) ${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","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 is from '@sindresorhus/is';\nimport dotProp from 'dot-prop';\nimport isEqual from 'lodash.isequal';\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<object>) {\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: (_, label) => `Expected ${label} 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, label) => `Expected ${label} 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: (_, label) => `Expected ${label} 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: (_, label, error) => `(${label}) ${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: (_, label, error) => `(${label}) ${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, label) => `Expected ${label} 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, label: string) => {\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 ${label} \\`${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: (_, label, missingKeys) => `Expected ${label} 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: (_, label) => `Expected ${label} 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","'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","'use strict';\nmodule.exports = function (x) {\n\tvar type = typeof x;\n\treturn x !== null && (type === 'object' || type === 'function');\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","import {Predicate, Context} from './predicate';\n\nexport class DatePredicate extends Predicate<Date> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context<Date>) {\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, label) => `Expected ${label} ${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, label) => `Expected ${label} ${value.toISOString()} to be after ${date.toISOString()}`,\n\t\t\tvalidator: value => value.getTime() > date.getTime()\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<Error>) {\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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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: (_, label) => `Expected ${label} 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, label) => `Expected ${label} \\`${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 isEqual from 'lodash.isequal';\nimport {Predicate, Context} from './predicate';\nimport hasItems from '../utils/has-items';\nimport ofType from '../utils/of-type';\n\nexport class MapPredicate<T1 = any, T2 = any> extends Predicate<Map<T1, T2>> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context<Map<T1, T2>>) {\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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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: T1[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label, missingKeys) => `Expected ${label} 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: T1[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label) => `Expected ${label} 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: T2[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label, missingValues) => `Expected ${label} 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: T2[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label) => `Expected ${label} 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(predicate: Predicate<T1>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label, error) => `(${label}) ${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(predicate: Predicate<T2>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label, error) => `(${label}) ${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, label) => `Expected ${label} 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: (_, label) => `Expected ${label} 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<T1, T2>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (map, label) => `Expected ${label} 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';\nimport hasItems from '../utils/has-items';\n\nexport class WeakMapPredicate<T1 extends object = any, T2 = any> extends Predicate<WeakMap<T1, T2>> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context<WeakMap<T1, T2>>) {\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: T1[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label, missingKeys) => `Expected ${label} 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: T1[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label) => `Expected ${label} 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 from 'lodash.isequal';\nimport {Predicate, Context} from './predicate';\nimport hasItems from '../utils/has-items';\nimport ofType from '../utils/of-type';\n\nexport class SetPredicate<T = any> extends Predicate<Set<T>> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context<Set<T>>) {\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, label) => `Expected ${label} 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, label) => `Expected ${label} 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, label) => `Expected ${label} 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: T[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label, missingItems) => `Expected ${label} 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: T[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label) => `Expected ${label} 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(predicate: Predicate<T>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label, error) => `(${label}) ${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, label) => `Expected ${label} 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: (_, label) => `Expected ${label} 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<T>) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (set, label) => `Expected ${label} 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 WeakSetPredicate<T extends object = any> extends Predicate<WeakSet<T>> {\n\t/**\n\t * @hidden\n\t */\n\tconstructor(context?: Context<WeakSet<T>>) {\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: T[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label, missingItems) => `Expected ${label} 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: T[]) {\n\t\treturn this.addValidator({\n\t\t\tmessage: (_, label) => `Expected ${label} 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"],"sourceRoot":""}
\No newline at end of file