@banumeow/n8n-nodes-oci-generativeai-agent 0.1.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2001) hide show
  1. package/dist/credentials/OciApi.credentials.d.ts +6 -0
  2. package/dist/credentials/OciApi.credentials.js +66 -0
  3. package/dist/credentials/OciApi.credentials.js.map +1 -0
  4. package/dist/index.d.ts +2 -1
  5. package/dist/index.js +2 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/nodes/OciGenAIAgent/OciGenAIAgent.node.js +15 -62
  8. package/dist/nodes/OciGenAIAgent/OciGenAIAgent.node.js.map +1 -1
  9. package/node_modules/@types/isomorphic-fetch/LICENSE +21 -0
  10. package/node_modules/@types/isomorphic-fetch/README.md +16 -0
  11. package/node_modules/@types/isomorphic-fetch/index.d.ts +9 -0
  12. package/node_modules/@types/isomorphic-fetch/package.json +23 -0
  13. package/node_modules/@types/jsonwebtoken/LICENSE +21 -0
  14. package/node_modules/@types/jsonwebtoken/README.md +16 -0
  15. package/node_modules/@types/jsonwebtoken/index.d.ts +250 -0
  16. package/node_modules/@types/jsonwebtoken/package.json +82 -0
  17. package/node_modules/@types/jssha/LICENSE +21 -0
  18. package/node_modules/@types/jssha/README.md +16 -0
  19. package/node_modules/@types/jssha/index.d.ts +84 -0
  20. package/node_modules/@types/jssha/package.json +33 -0
  21. package/node_modules/@types/node/LICENSE +21 -0
  22. package/node_modules/@types/node/README.md +15 -0
  23. package/node_modules/@types/node/assert/strict.d.ts +8 -0
  24. package/node_modules/@types/node/assert.d.ts +1005 -0
  25. package/node_modules/@types/node/async_hooks.d.ts +586 -0
  26. package/node_modules/@types/node/buffer.buffer.d.ts +457 -0
  27. package/node_modules/@types/node/buffer.d.ts +1901 -0
  28. package/node_modules/@types/node/child_process.d.ts +1453 -0
  29. package/node_modules/@types/node/cluster.d.ts +578 -0
  30. package/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  31. package/node_modules/@types/node/compatibility/index.d.ts +9 -0
  32. package/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  33. package/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  34. package/node_modules/@types/node/console.d.ts +452 -0
  35. package/node_modules/@types/node/constants.d.ts +21 -0
  36. package/node_modules/@types/node/crypto.d.ts +4504 -0
  37. package/node_modules/@types/node/dgram.d.ts +596 -0
  38. package/node_modules/@types/node/diagnostics_channel.d.ts +551 -0
  39. package/node_modules/@types/node/dns/promises.d.ts +477 -0
  40. package/node_modules/@types/node/dns.d.ts +860 -0
  41. package/node_modules/@types/node/domain.d.ts +170 -0
  42. package/node_modules/@types/node/events.d.ts +863 -0
  43. package/node_modules/@types/node/fs/promises.d.ts +1208 -0
  44. package/node_modules/@types/node/fs.d.ts +4332 -0
  45. package/node_modules/@types/node/globals.d.ts +170 -0
  46. package/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  47. package/node_modules/@types/node/http.d.ts +1919 -0
  48. package/node_modules/@types/node/http2.d.ts +2580 -0
  49. package/node_modules/@types/node/https.d.ts +549 -0
  50. package/node_modules/@types/node/index.d.ts +92 -0
  51. package/node_modules/@types/node/inspector.generated.d.ts +2775 -0
  52. package/node_modules/@types/node/module.d.ts +503 -0
  53. package/node_modules/@types/node/net.d.ts +924 -0
  54. package/node_modules/@types/node/os.d.ts +480 -0
  55. package/node_modules/@types/node/package.json +145 -0
  56. package/node_modules/@types/node/path.d.ts +191 -0
  57. package/node_modules/@types/node/perf_hooks.d.ts +860 -0
  58. package/node_modules/@types/node/process.d.ts +1632 -0
  59. package/node_modules/@types/node/punycode.d.ts +117 -0
  60. package/node_modules/@types/node/querystring.d.ts +140 -0
  61. package/node_modules/@types/node/readline/promises.d.ts +154 -0
  62. package/node_modules/@types/node/readline.d.ts +715 -0
  63. package/node_modules/@types/node/repl.d.ts +430 -0
  64. package/node_modules/@types/node/stream/consumers.d.ts +38 -0
  65. package/node_modules/@types/node/stream/promises.d.ts +90 -0
  66. package/node_modules/@types/node/stream/web.d.ts +527 -0
  67. package/node_modules/@types/node/stream.d.ts +1680 -0
  68. package/node_modules/@types/node/string_decoder.d.ts +67 -0
  69. package/node_modules/@types/node/test.d.ts +1208 -0
  70. package/node_modules/@types/node/timers/promises.d.ts +108 -0
  71. package/node_modules/@types/node/timers.d.ts +286 -0
  72. package/node_modules/@types/node/tls.d.ts +1204 -0
  73. package/node_modules/@types/node/trace_events.d.ts +171 -0
  74. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +455 -0
  75. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  76. package/node_modules/@types/node/ts5.6/index.d.ts +92 -0
  77. package/node_modules/@types/node/tty.d.ts +206 -0
  78. package/node_modules/@types/node/url.d.ts +957 -0
  79. package/node_modules/@types/node/util.d.ts +2083 -0
  80. package/node_modules/@types/node/v8.d.ts +753 -0
  81. package/node_modules/@types/node/vm.d.ts +704 -0
  82. package/node_modules/@types/node/wasi.d.ts +160 -0
  83. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  84. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  85. package/node_modules/@types/node/web-globals/events.d.ts +81 -0
  86. package/node_modules/@types/node/web-globals/fetch.d.ts +38 -0
  87. package/node_modules/@types/node/worker_threads.d.ts +698 -0
  88. package/node_modules/@types/node/zlib.d.ts +517 -0
  89. package/node_modules/@types/opossum/LICENSE +21 -0
  90. package/node_modules/@types/opossum/README.md +16 -0
  91. package/node_modules/@types/opossum/index.d.ts +251 -0
  92. package/node_modules/@types/opossum/package.json +46 -0
  93. package/node_modules/@types/sshpk/README.md +16 -0
  94. package/node_modules/@types/sshpk/index.d.ts +359 -0
  95. package/node_modules/@types/sshpk/package.json +24 -0
  96. package/node_modules/asn1/Jenkinsfile +65 -0
  97. package/node_modules/asn1/LICENSE +19 -0
  98. package/node_modules/asn1/README.md +50 -0
  99. package/node_modules/asn1/lib/ber/errors.js +13 -0
  100. package/node_modules/asn1/lib/ber/index.js +27 -0
  101. package/node_modules/asn1/lib/ber/reader.js +262 -0
  102. package/node_modules/asn1/lib/ber/types.js +36 -0
  103. package/node_modules/asn1/lib/ber/writer.js +317 -0
  104. package/node_modules/asn1/lib/index.js +20 -0
  105. package/node_modules/asn1/package.json +31 -0
  106. package/node_modules/assert-plus/AUTHORS +6 -0
  107. package/node_modules/assert-plus/CHANGES.md +14 -0
  108. package/node_modules/assert-plus/README.md +162 -0
  109. package/node_modules/assert-plus/assert.js +211 -0
  110. package/node_modules/assert-plus/package.json +23 -0
  111. package/node_modules/bcrypt-pbkdf/CONTRIBUTING.md +13 -0
  112. package/node_modules/bcrypt-pbkdf/LICENSE +66 -0
  113. package/node_modules/bcrypt-pbkdf/README.md +45 -0
  114. package/node_modules/bcrypt-pbkdf/index.js +556 -0
  115. package/node_modules/bcrypt-pbkdf/package.json +15 -0
  116. package/node_modules/buffer-equal-constant-time/.npmignore +2 -0
  117. package/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
  118. package/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
  119. package/node_modules/buffer-equal-constant-time/README.md +50 -0
  120. package/node_modules/buffer-equal-constant-time/index.js +41 -0
  121. package/node_modules/buffer-equal-constant-time/package.json +21 -0
  122. package/node_modules/buffer-equal-constant-time/test.js +42 -0
  123. package/node_modules/core-util-is/LICENSE +19 -0
  124. package/node_modules/core-util-is/README.md +3 -0
  125. package/node_modules/core-util-is/float.patch +604 -0
  126. package/node_modules/core-util-is/lib/util.js +107 -0
  127. package/node_modules/core-util-is/package.json +32 -0
  128. package/node_modules/core-util-is/test.js +68 -0
  129. package/node_modules/dashdash/CHANGES.md +364 -0
  130. package/node_modules/dashdash/LICENSE.txt +24 -0
  131. package/node_modules/dashdash/README.md +574 -0
  132. package/node_modules/dashdash/etc/dashdash.bash_completion.in +389 -0
  133. package/node_modules/dashdash/lib/dashdash.js +1055 -0
  134. package/node_modules/dashdash/package.json +26 -0
  135. package/node_modules/ecc-jsbn/LICENSE +21 -0
  136. package/node_modules/ecc-jsbn/README.md +8 -0
  137. package/node_modules/ecc-jsbn/index.js +58 -0
  138. package/node_modules/ecc-jsbn/lib/LICENSE-jsbn +40 -0
  139. package/node_modules/ecc-jsbn/lib/ec.js +561 -0
  140. package/node_modules/ecc-jsbn/lib/sec.js +170 -0
  141. package/node_modules/ecc-jsbn/package.json +40 -0
  142. package/node_modules/ecc-jsbn/test.js +14 -0
  143. package/node_modules/ecdsa-sig-formatter/CODEOWNERS +1 -0
  144. package/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
  145. package/node_modules/ecdsa-sig-formatter/README.md +65 -0
  146. package/node_modules/ecdsa-sig-formatter/package.json +46 -0
  147. package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
  148. package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  149. package/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  150. package/node_modules/es6-promise/CHANGELOG.md +151 -0
  151. package/node_modules/es6-promise/LICENSE +19 -0
  152. package/node_modules/es6-promise/README.md +97 -0
  153. package/node_modules/es6-promise/auto.js +4 -0
  154. package/node_modules/es6-promise/dist/es6-promise.auto.js +1185 -0
  155. package/node_modules/es6-promise/dist/es6-promise.auto.map +1 -0
  156. package/node_modules/es6-promise/dist/es6-promise.auto.min.js +1 -0
  157. package/node_modules/es6-promise/dist/es6-promise.auto.min.map +1 -0
  158. package/node_modules/es6-promise/dist/es6-promise.js +1183 -0
  159. package/node_modules/es6-promise/dist/es6-promise.map +1 -0
  160. package/node_modules/es6-promise/dist/es6-promise.min.js +1 -0
  161. package/node_modules/es6-promise/dist/es6-promise.min.map +1 -0
  162. package/node_modules/es6-promise/es6-promise.d.ts +81 -0
  163. package/node_modules/es6-promise/lib/es6-promise/-internal.js +266 -0
  164. package/node_modules/es6-promise/lib/es6-promise/asap.js +119 -0
  165. package/node_modules/es6-promise/lib/es6-promise/enumerator.js +113 -0
  166. package/node_modules/es6-promise/lib/es6-promise/polyfill.js +35 -0
  167. package/node_modules/es6-promise/lib/es6-promise/promise/all.js +52 -0
  168. package/node_modules/es6-promise/lib/es6-promise/promise/race.js +84 -0
  169. package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +46 -0
  170. package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +48 -0
  171. package/node_modules/es6-promise/lib/es6-promise/promise.js +431 -0
  172. package/node_modules/es6-promise/lib/es6-promise/then.js +32 -0
  173. package/node_modules/es6-promise/lib/es6-promise/utils.js +21 -0
  174. package/node_modules/es6-promise/lib/es6-promise.auto.js +3 -0
  175. package/node_modules/es6-promise/lib/es6-promise.js +7 -0
  176. package/node_modules/es6-promise/package.json +78 -0
  177. package/node_modules/extsprintf/.gitmodules +0 -0
  178. package/node_modules/extsprintf/.npmignore +2 -0
  179. package/node_modules/extsprintf/LICENSE +19 -0
  180. package/node_modules/extsprintf/Makefile +24 -0
  181. package/node_modules/extsprintf/Makefile.targ +285 -0
  182. package/node_modules/extsprintf/README.md +46 -0
  183. package/node_modules/extsprintf/jsl.node.conf +137 -0
  184. package/node_modules/extsprintf/lib/extsprintf.js +183 -0
  185. package/node_modules/extsprintf/package.json +14 -0
  186. package/node_modules/getpass/.npmignore +8 -0
  187. package/node_modules/getpass/.travis.yml +9 -0
  188. package/node_modules/getpass/LICENSE +18 -0
  189. package/node_modules/getpass/README.md +32 -0
  190. package/node_modules/getpass/lib/index.js +123 -0
  191. package/node_modules/getpass/package.json +18 -0
  192. package/node_modules/http-signature/CHANGES.md +67 -0
  193. package/node_modules/http-signature/LICENSE +18 -0
  194. package/node_modules/http-signature/README.md +79 -0
  195. package/node_modules/http-signature/lib/index.js +29 -0
  196. package/node_modules/http-signature/lib/parser.js +319 -0
  197. package/node_modules/http-signature/lib/signer.js +405 -0
  198. package/node_modules/http-signature/lib/utils.js +118 -0
  199. package/node_modules/http-signature/lib/verify.js +88 -0
  200. package/node_modules/http-signature/package.json +41 -0
  201. package/node_modules/isomorphic-fetch/.editorconfig +12 -0
  202. package/node_modules/isomorphic-fetch/.jshintrc +5 -0
  203. package/node_modules/isomorphic-fetch/.travis.yml +4 -0
  204. package/node_modules/isomorphic-fetch/LICENSE +21 -0
  205. package/node_modules/isomorphic-fetch/README.md +57 -0
  206. package/node_modules/isomorphic-fetch/bower.json +7 -0
  207. package/node_modules/isomorphic-fetch/fetch-bower.js +1 -0
  208. package/node_modules/isomorphic-fetch/fetch-npm-browserify.js +6 -0
  209. package/node_modules/isomorphic-fetch/fetch-npm-node.js +16 -0
  210. package/node_modules/isomorphic-fetch/package.json +32 -0
  211. package/node_modules/isomorphic-fetch/test/api.test.js +50 -0
  212. package/node_modules/jsbn/.npmignore +2 -0
  213. package/node_modules/jsbn/LICENSE +40 -0
  214. package/node_modules/jsbn/README.md +175 -0
  215. package/node_modules/jsbn/example.html +12 -0
  216. package/node_modules/jsbn/example.js +3 -0
  217. package/node_modules/jsbn/index.js +1357 -0
  218. package/node_modules/jsbn/package.json +21 -0
  219. package/node_modules/json-schema/LICENSE +195 -0
  220. package/node_modules/json-schema/README.md +3 -0
  221. package/node_modules/json-schema/lib/links.js +65 -0
  222. package/node_modules/json-schema/lib/validate.js +271 -0
  223. package/node_modules/json-schema/package.json +24 -0
  224. package/node_modules/jsprim/CHANGES.md +53 -0
  225. package/node_modules/jsprim/CONTRIBUTING.md +19 -0
  226. package/node_modules/jsprim/LICENSE +19 -0
  227. package/node_modules/jsprim/README.md +287 -0
  228. package/node_modules/jsprim/lib/jsprim.js +735 -0
  229. package/node_modules/jsprim/package.json +20 -0
  230. package/node_modules/lodash/LICENSE +47 -0
  231. package/node_modules/lodash/README.md +39 -0
  232. package/node_modules/lodash/_DataView.js +7 -0
  233. package/node_modules/lodash/_Hash.js +32 -0
  234. package/node_modules/lodash/_LazyWrapper.js +28 -0
  235. package/node_modules/lodash/_ListCache.js +32 -0
  236. package/node_modules/lodash/_LodashWrapper.js +22 -0
  237. package/node_modules/lodash/_Map.js +7 -0
  238. package/node_modules/lodash/_MapCache.js +32 -0
  239. package/node_modules/lodash/_Promise.js +7 -0
  240. package/node_modules/lodash/_Set.js +7 -0
  241. package/node_modules/lodash/_SetCache.js +27 -0
  242. package/node_modules/lodash/_Stack.js +27 -0
  243. package/node_modules/lodash/_Symbol.js +6 -0
  244. package/node_modules/lodash/_Uint8Array.js +6 -0
  245. package/node_modules/lodash/_WeakMap.js +7 -0
  246. package/node_modules/lodash/_apply.js +21 -0
  247. package/node_modules/lodash/_arrayAggregator.js +22 -0
  248. package/node_modules/lodash/_arrayEach.js +22 -0
  249. package/node_modules/lodash/_arrayEachRight.js +21 -0
  250. package/node_modules/lodash/_arrayEvery.js +23 -0
  251. package/node_modules/lodash/_arrayFilter.js +25 -0
  252. package/node_modules/lodash/_arrayIncludes.js +17 -0
  253. package/node_modules/lodash/_arrayIncludesWith.js +22 -0
  254. package/node_modules/lodash/_arrayLikeKeys.js +49 -0
  255. package/node_modules/lodash/_arrayMap.js +21 -0
  256. package/node_modules/lodash/_arrayPush.js +20 -0
  257. package/node_modules/lodash/_arrayReduce.js +26 -0
  258. package/node_modules/lodash/_arrayReduceRight.js +24 -0
  259. package/node_modules/lodash/_arraySample.js +15 -0
  260. package/node_modules/lodash/_arraySampleSize.js +17 -0
  261. package/node_modules/lodash/_arrayShuffle.js +15 -0
  262. package/node_modules/lodash/_arraySome.js +23 -0
  263. package/node_modules/lodash/_asciiSize.js +12 -0
  264. package/node_modules/lodash/_asciiToArray.js +12 -0
  265. package/node_modules/lodash/_asciiWords.js +15 -0
  266. package/node_modules/lodash/_assignMergeValue.js +20 -0
  267. package/node_modules/lodash/_assignValue.js +28 -0
  268. package/node_modules/lodash/_assocIndexOf.js +21 -0
  269. package/node_modules/lodash/_baseAggregator.js +21 -0
  270. package/node_modules/lodash/_baseAssign.js +17 -0
  271. package/node_modules/lodash/_baseAssignIn.js +17 -0
  272. package/node_modules/lodash/_baseAssignValue.js +25 -0
  273. package/node_modules/lodash/_baseAt.js +23 -0
  274. package/node_modules/lodash/_baseClamp.js +22 -0
  275. package/node_modules/lodash/_baseClone.js +166 -0
  276. package/node_modules/lodash/_baseConforms.js +18 -0
  277. package/node_modules/lodash/_baseConformsTo.js +27 -0
  278. package/node_modules/lodash/_baseCreate.js +30 -0
  279. package/node_modules/lodash/_baseDelay.js +21 -0
  280. package/node_modules/lodash/_baseDifference.js +67 -0
  281. package/node_modules/lodash/_baseEach.js +14 -0
  282. package/node_modules/lodash/_baseEachRight.js +14 -0
  283. package/node_modules/lodash/_baseEvery.js +21 -0
  284. package/node_modules/lodash/_baseExtremum.js +32 -0
  285. package/node_modules/lodash/_baseFill.js +32 -0
  286. package/node_modules/lodash/_baseFilter.js +21 -0
  287. package/node_modules/lodash/_baseFindIndex.js +24 -0
  288. package/node_modules/lodash/_baseFindKey.js +23 -0
  289. package/node_modules/lodash/_baseFlatten.js +38 -0
  290. package/node_modules/lodash/_baseFor.js +16 -0
  291. package/node_modules/lodash/_baseForOwn.js +16 -0
  292. package/node_modules/lodash/_baseForOwnRight.js +16 -0
  293. package/node_modules/lodash/_baseForRight.js +15 -0
  294. package/node_modules/lodash/_baseFunctions.js +19 -0
  295. package/node_modules/lodash/_baseGet.js +24 -0
  296. package/node_modules/lodash/_baseGetAllKeys.js +20 -0
  297. package/node_modules/lodash/_baseGetTag.js +28 -0
  298. package/node_modules/lodash/_baseGt.js +14 -0
  299. package/node_modules/lodash/_baseHas.js +19 -0
  300. package/node_modules/lodash/_baseHasIn.js +13 -0
  301. package/node_modules/lodash/_baseInRange.js +18 -0
  302. package/node_modules/lodash/_baseIndexOf.js +20 -0
  303. package/node_modules/lodash/_baseIndexOfWith.js +23 -0
  304. package/node_modules/lodash/_baseIntersection.js +74 -0
  305. package/node_modules/lodash/_baseInverter.js +21 -0
  306. package/node_modules/lodash/_baseInvoke.js +24 -0
  307. package/node_modules/lodash/_baseIsArguments.js +18 -0
  308. package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  309. package/node_modules/lodash/_baseIsDate.js +18 -0
  310. package/node_modules/lodash/_baseIsEqual.js +28 -0
  311. package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  312. package/node_modules/lodash/_baseIsMap.js +18 -0
  313. package/node_modules/lodash/_baseIsMatch.js +62 -0
  314. package/node_modules/lodash/_baseIsNaN.js +12 -0
  315. package/node_modules/lodash/_baseIsNative.js +47 -0
  316. package/node_modules/lodash/_baseIsRegExp.js +18 -0
  317. package/node_modules/lodash/_baseIsSet.js +18 -0
  318. package/node_modules/lodash/_baseIsTypedArray.js +60 -0
  319. package/node_modules/lodash/_baseIteratee.js +31 -0
  320. package/node_modules/lodash/_baseKeys.js +30 -0
  321. package/node_modules/lodash/_baseKeysIn.js +33 -0
  322. package/node_modules/lodash/_baseLodash.js +10 -0
  323. package/node_modules/lodash/_baseLt.js +14 -0
  324. package/node_modules/lodash/_baseMap.js +22 -0
  325. package/node_modules/lodash/_baseMatches.js +22 -0
  326. package/node_modules/lodash/_baseMatchesProperty.js +33 -0
  327. package/node_modules/lodash/_baseMean.js +20 -0
  328. package/node_modules/lodash/_baseMerge.js +42 -0
  329. package/node_modules/lodash/_baseMergeDeep.js +94 -0
  330. package/node_modules/lodash/_baseNth.js +20 -0
  331. package/node_modules/lodash/_baseOrderBy.js +49 -0
  332. package/node_modules/lodash/_basePick.js +19 -0
  333. package/node_modules/lodash/_basePickBy.js +30 -0
  334. package/node_modules/lodash/_baseProperty.js +14 -0
  335. package/node_modules/lodash/_basePropertyDeep.js +16 -0
  336. package/node_modules/lodash/_basePropertyOf.js +14 -0
  337. package/node_modules/lodash/_basePullAll.js +51 -0
  338. package/node_modules/lodash/_basePullAt.js +37 -0
  339. package/node_modules/lodash/_baseRandom.js +18 -0
  340. package/node_modules/lodash/_baseRange.js +28 -0
  341. package/node_modules/lodash/_baseReduce.js +23 -0
  342. package/node_modules/lodash/_baseRepeat.js +35 -0
  343. package/node_modules/lodash/_baseRest.js +17 -0
  344. package/node_modules/lodash/_baseSample.js +15 -0
  345. package/node_modules/lodash/_baseSampleSize.js +18 -0
  346. package/node_modules/lodash/_baseSet.js +51 -0
  347. package/node_modules/lodash/_baseSetData.js +17 -0
  348. package/node_modules/lodash/_baseSetToString.js +22 -0
  349. package/node_modules/lodash/_baseShuffle.js +15 -0
  350. package/node_modules/lodash/_baseSlice.js +31 -0
  351. package/node_modules/lodash/_baseSome.js +22 -0
  352. package/node_modules/lodash/_baseSortBy.js +21 -0
  353. package/node_modules/lodash/_baseSortedIndex.js +42 -0
  354. package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  355. package/node_modules/lodash/_baseSortedUniq.js +30 -0
  356. package/node_modules/lodash/_baseSum.js +24 -0
  357. package/node_modules/lodash/_baseTimes.js +20 -0
  358. package/node_modules/lodash/_baseToNumber.js +24 -0
  359. package/node_modules/lodash/_baseToPairs.js +18 -0
  360. package/node_modules/lodash/_baseToString.js +37 -0
  361. package/node_modules/lodash/_baseTrim.js +19 -0
  362. package/node_modules/lodash/_baseUnary.js +14 -0
  363. package/node_modules/lodash/_baseUniq.js +72 -0
  364. package/node_modules/lodash/_baseUnset.js +65 -0
  365. package/node_modules/lodash/_baseUpdate.js +18 -0
  366. package/node_modules/lodash/_baseValues.js +19 -0
  367. package/node_modules/lodash/_baseWhile.js +26 -0
  368. package/node_modules/lodash/_baseWrapperValue.js +25 -0
  369. package/node_modules/lodash/_baseXor.js +36 -0
  370. package/node_modules/lodash/_baseZipObject.js +23 -0
  371. package/node_modules/lodash/_cacheHas.js +13 -0
  372. package/node_modules/lodash/_castArrayLikeObject.js +14 -0
  373. package/node_modules/lodash/_castFunction.js +14 -0
  374. package/node_modules/lodash/_castPath.js +21 -0
  375. package/node_modules/lodash/_castRest.js +14 -0
  376. package/node_modules/lodash/_castSlice.js +18 -0
  377. package/node_modules/lodash/_charsEndIndex.js +19 -0
  378. package/node_modules/lodash/_charsStartIndex.js +20 -0
  379. package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  380. package/node_modules/lodash/_cloneBuffer.js +35 -0
  381. package/node_modules/lodash/_cloneDataView.js +16 -0
  382. package/node_modules/lodash/_cloneRegExp.js +17 -0
  383. package/node_modules/lodash/_cloneSymbol.js +18 -0
  384. package/node_modules/lodash/_cloneTypedArray.js +16 -0
  385. package/node_modules/lodash/_compareAscending.js +41 -0
  386. package/node_modules/lodash/_compareMultiple.js +44 -0
  387. package/node_modules/lodash/_composeArgs.js +39 -0
  388. package/node_modules/lodash/_composeArgsRight.js +41 -0
  389. package/node_modules/lodash/_copyArray.js +20 -0
  390. package/node_modules/lodash/_copyObject.js +40 -0
  391. package/node_modules/lodash/_copySymbols.js +16 -0
  392. package/node_modules/lodash/_copySymbolsIn.js +16 -0
  393. package/node_modules/lodash/_coreJsData.js +6 -0
  394. package/node_modules/lodash/_countHolders.js +21 -0
  395. package/node_modules/lodash/_createAggregator.js +23 -0
  396. package/node_modules/lodash/_createAssigner.js +37 -0
  397. package/node_modules/lodash/_createBaseEach.js +32 -0
  398. package/node_modules/lodash/_createBaseFor.js +25 -0
  399. package/node_modules/lodash/_createBind.js +28 -0
  400. package/node_modules/lodash/_createCaseFirst.js +33 -0
  401. package/node_modules/lodash/_createCompounder.js +24 -0
  402. package/node_modules/lodash/_createCtor.js +37 -0
  403. package/node_modules/lodash/_createCurry.js +46 -0
  404. package/node_modules/lodash/_createFind.js +25 -0
  405. package/node_modules/lodash/_createFlow.js +78 -0
  406. package/node_modules/lodash/_createHybrid.js +92 -0
  407. package/node_modules/lodash/_createInverter.js +17 -0
  408. package/node_modules/lodash/_createMathOperation.js +38 -0
  409. package/node_modules/lodash/_createOver.js +27 -0
  410. package/node_modules/lodash/_createPadding.js +33 -0
  411. package/node_modules/lodash/_createPartial.js +43 -0
  412. package/node_modules/lodash/_createRange.js +30 -0
  413. package/node_modules/lodash/_createRecurry.js +56 -0
  414. package/node_modules/lodash/_createRelationalOperation.js +20 -0
  415. package/node_modules/lodash/_createRound.js +35 -0
  416. package/node_modules/lodash/_createSet.js +19 -0
  417. package/node_modules/lodash/_createToPairs.js +30 -0
  418. package/node_modules/lodash/_createWrap.js +106 -0
  419. package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  420. package/node_modules/lodash/_customDefaultsMerge.js +28 -0
  421. package/node_modules/lodash/_customOmitClone.js +16 -0
  422. package/node_modules/lodash/_deburrLetter.js +71 -0
  423. package/node_modules/lodash/_defineProperty.js +11 -0
  424. package/node_modules/lodash/_equalArrays.js +84 -0
  425. package/node_modules/lodash/_equalByTag.js +112 -0
  426. package/node_modules/lodash/_equalObjects.js +90 -0
  427. package/node_modules/lodash/_escapeHtmlChar.js +21 -0
  428. package/node_modules/lodash/_escapeStringChar.js +22 -0
  429. package/node_modules/lodash/_flatRest.js +16 -0
  430. package/node_modules/lodash/_freeGlobal.js +4 -0
  431. package/node_modules/lodash/_getAllKeys.js +16 -0
  432. package/node_modules/lodash/_getAllKeysIn.js +17 -0
  433. package/node_modules/lodash/_getData.js +15 -0
  434. package/node_modules/lodash/_getFuncName.js +31 -0
  435. package/node_modules/lodash/_getHolder.js +13 -0
  436. package/node_modules/lodash/_getMapData.js +18 -0
  437. package/node_modules/lodash/_getMatchData.js +24 -0
  438. package/node_modules/lodash/_getNative.js +17 -0
  439. package/node_modules/lodash/_getPrototype.js +6 -0
  440. package/node_modules/lodash/_getRawTag.js +46 -0
  441. package/node_modules/lodash/_getSymbols.js +30 -0
  442. package/node_modules/lodash/_getSymbolsIn.js +25 -0
  443. package/node_modules/lodash/_getTag.js +58 -0
  444. package/node_modules/lodash/_getValue.js +13 -0
  445. package/node_modules/lodash/_getView.js +33 -0
  446. package/node_modules/lodash/_getWrapDetails.js +17 -0
  447. package/node_modules/lodash/_hasPath.js +39 -0
  448. package/node_modules/lodash/_hasUnicode.js +26 -0
  449. package/node_modules/lodash/_hasUnicodeWord.js +15 -0
  450. package/node_modules/lodash/_hashClear.js +15 -0
  451. package/node_modules/lodash/_hashDelete.js +17 -0
  452. package/node_modules/lodash/_hashGet.js +30 -0
  453. package/node_modules/lodash/_hashHas.js +23 -0
  454. package/node_modules/lodash/_hashSet.js +23 -0
  455. package/node_modules/lodash/_initCloneArray.js +26 -0
  456. package/node_modules/lodash/_initCloneByTag.js +77 -0
  457. package/node_modules/lodash/_initCloneObject.js +18 -0
  458. package/node_modules/lodash/_insertWrapDetails.js +23 -0
  459. package/node_modules/lodash/_isFlattenable.js +20 -0
  460. package/node_modules/lodash/_isIndex.js +25 -0
  461. package/node_modules/lodash/_isIterateeCall.js +30 -0
  462. package/node_modules/lodash/_isKey.js +29 -0
  463. package/node_modules/lodash/_isKeyable.js +15 -0
  464. package/node_modules/lodash/_isLaziable.js +28 -0
  465. package/node_modules/lodash/_isMaskable.js +14 -0
  466. package/node_modules/lodash/_isMasked.js +20 -0
  467. package/node_modules/lodash/_isPrototype.js +18 -0
  468. package/node_modules/lodash/_isStrictComparable.js +15 -0
  469. package/node_modules/lodash/_iteratorToArray.js +18 -0
  470. package/node_modules/lodash/_lazyClone.js +23 -0
  471. package/node_modules/lodash/_lazyReverse.js +23 -0
  472. package/node_modules/lodash/_lazyValue.js +69 -0
  473. package/node_modules/lodash/_listCacheClear.js +13 -0
  474. package/node_modules/lodash/_listCacheDelete.js +35 -0
  475. package/node_modules/lodash/_listCacheGet.js +19 -0
  476. package/node_modules/lodash/_listCacheHas.js +16 -0
  477. package/node_modules/lodash/_listCacheSet.js +26 -0
  478. package/node_modules/lodash/_mapCacheClear.js +21 -0
  479. package/node_modules/lodash/_mapCacheDelete.js +18 -0
  480. package/node_modules/lodash/_mapCacheGet.js +16 -0
  481. package/node_modules/lodash/_mapCacheHas.js +16 -0
  482. package/node_modules/lodash/_mapCacheSet.js +22 -0
  483. package/node_modules/lodash/_mapToArray.js +18 -0
  484. package/node_modules/lodash/_matchesStrictComparable.js +20 -0
  485. package/node_modules/lodash/_memoizeCapped.js +26 -0
  486. package/node_modules/lodash/_mergeData.js +90 -0
  487. package/node_modules/lodash/_metaMap.js +6 -0
  488. package/node_modules/lodash/_nativeCreate.js +6 -0
  489. package/node_modules/lodash/_nativeKeys.js +6 -0
  490. package/node_modules/lodash/_nativeKeysIn.js +20 -0
  491. package/node_modules/lodash/_nodeUtil.js +30 -0
  492. package/node_modules/lodash/_objectToString.js +22 -0
  493. package/node_modules/lodash/_overArg.js +15 -0
  494. package/node_modules/lodash/_overRest.js +36 -0
  495. package/node_modules/lodash/_parent.js +16 -0
  496. package/node_modules/lodash/_reEscape.js +4 -0
  497. package/node_modules/lodash/_reEvaluate.js +4 -0
  498. package/node_modules/lodash/_reInterpolate.js +4 -0
  499. package/node_modules/lodash/_realNames.js +4 -0
  500. package/node_modules/lodash/_reorder.js +29 -0
  501. package/node_modules/lodash/_replaceHolders.js +29 -0
  502. package/node_modules/lodash/_root.js +9 -0
  503. package/node_modules/lodash/_safeGet.js +21 -0
  504. package/node_modules/lodash/_setCacheAdd.js +19 -0
  505. package/node_modules/lodash/_setCacheHas.js +14 -0
  506. package/node_modules/lodash/_setData.js +20 -0
  507. package/node_modules/lodash/_setToArray.js +18 -0
  508. package/node_modules/lodash/_setToPairs.js +18 -0
  509. package/node_modules/lodash/_setToString.js +14 -0
  510. package/node_modules/lodash/_setWrapToString.js +21 -0
  511. package/node_modules/lodash/_shortOut.js +37 -0
  512. package/node_modules/lodash/_shuffleSelf.js +28 -0
  513. package/node_modules/lodash/_stackClear.js +15 -0
  514. package/node_modules/lodash/_stackDelete.js +18 -0
  515. package/node_modules/lodash/_stackGet.js +14 -0
  516. package/node_modules/lodash/_stackHas.js +14 -0
  517. package/node_modules/lodash/_stackSet.js +34 -0
  518. package/node_modules/lodash/_strictIndexOf.js +23 -0
  519. package/node_modules/lodash/_strictLastIndexOf.js +21 -0
  520. package/node_modules/lodash/_stringSize.js +18 -0
  521. package/node_modules/lodash/_stringToArray.js +18 -0
  522. package/node_modules/lodash/_stringToPath.js +27 -0
  523. package/node_modules/lodash/_toKey.js +21 -0
  524. package/node_modules/lodash/_toSource.js +26 -0
  525. package/node_modules/lodash/_trimmedEndIndex.js +19 -0
  526. package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  527. package/node_modules/lodash/_unicodeSize.js +44 -0
  528. package/node_modules/lodash/_unicodeToArray.js +40 -0
  529. package/node_modules/lodash/_unicodeWords.js +69 -0
  530. package/node_modules/lodash/_updateWrapDetails.js +46 -0
  531. package/node_modules/lodash/_wrapperClone.js +23 -0
  532. package/node_modules/lodash/add.js +22 -0
  533. package/node_modules/lodash/after.js +42 -0
  534. package/node_modules/lodash/array.js +67 -0
  535. package/node_modules/lodash/ary.js +29 -0
  536. package/node_modules/lodash/assign.js +58 -0
  537. package/node_modules/lodash/assignIn.js +40 -0
  538. package/node_modules/lodash/assignInWith.js +38 -0
  539. package/node_modules/lodash/assignWith.js +37 -0
  540. package/node_modules/lodash/at.js +23 -0
  541. package/node_modules/lodash/attempt.js +35 -0
  542. package/node_modules/lodash/before.js +40 -0
  543. package/node_modules/lodash/bind.js +57 -0
  544. package/node_modules/lodash/bindAll.js +41 -0
  545. package/node_modules/lodash/bindKey.js +68 -0
  546. package/node_modules/lodash/camelCase.js +29 -0
  547. package/node_modules/lodash/capitalize.js +23 -0
  548. package/node_modules/lodash/castArray.js +44 -0
  549. package/node_modules/lodash/ceil.js +26 -0
  550. package/node_modules/lodash/chain.js +38 -0
  551. package/node_modules/lodash/chunk.js +50 -0
  552. package/node_modules/lodash/clamp.js +39 -0
  553. package/node_modules/lodash/clone.js +36 -0
  554. package/node_modules/lodash/cloneDeep.js +29 -0
  555. package/node_modules/lodash/cloneDeepWith.js +40 -0
  556. package/node_modules/lodash/cloneWith.js +42 -0
  557. package/node_modules/lodash/collection.js +30 -0
  558. package/node_modules/lodash/commit.js +33 -0
  559. package/node_modules/lodash/compact.js +31 -0
  560. package/node_modules/lodash/concat.js +43 -0
  561. package/node_modules/lodash/cond.js +60 -0
  562. package/node_modules/lodash/conforms.js +35 -0
  563. package/node_modules/lodash/conformsTo.js +32 -0
  564. package/node_modules/lodash/constant.js +26 -0
  565. package/node_modules/lodash/core.js +3877 -0
  566. package/node_modules/lodash/core.min.js +29 -0
  567. package/node_modules/lodash/countBy.js +40 -0
  568. package/node_modules/lodash/create.js +43 -0
  569. package/node_modules/lodash/curry.js +57 -0
  570. package/node_modules/lodash/curryRight.js +54 -0
  571. package/node_modules/lodash/date.js +3 -0
  572. package/node_modules/lodash/debounce.js +191 -0
  573. package/node_modules/lodash/deburr.js +45 -0
  574. package/node_modules/lodash/defaultTo.js +25 -0
  575. package/node_modules/lodash/defaults.js +64 -0
  576. package/node_modules/lodash/defaultsDeep.js +30 -0
  577. package/node_modules/lodash/defer.js +26 -0
  578. package/node_modules/lodash/delay.js +28 -0
  579. package/node_modules/lodash/difference.js +33 -0
  580. package/node_modules/lodash/differenceBy.js +44 -0
  581. package/node_modules/lodash/differenceWith.js +40 -0
  582. package/node_modules/lodash/divide.js +22 -0
  583. package/node_modules/lodash/drop.js +38 -0
  584. package/node_modules/lodash/dropRight.js +39 -0
  585. package/node_modules/lodash/dropRightWhile.js +45 -0
  586. package/node_modules/lodash/dropWhile.js +45 -0
  587. package/node_modules/lodash/each.js +1 -0
  588. package/node_modules/lodash/eachRight.js +1 -0
  589. package/node_modules/lodash/endsWith.js +43 -0
  590. package/node_modules/lodash/entries.js +1 -0
  591. package/node_modules/lodash/entriesIn.js +1 -0
  592. package/node_modules/lodash/eq.js +37 -0
  593. package/node_modules/lodash/escape.js +43 -0
  594. package/node_modules/lodash/escapeRegExp.js +32 -0
  595. package/node_modules/lodash/every.js +56 -0
  596. package/node_modules/lodash/extend.js +1 -0
  597. package/node_modules/lodash/extendWith.js +1 -0
  598. package/node_modules/lodash/fill.js +45 -0
  599. package/node_modules/lodash/filter.js +52 -0
  600. package/node_modules/lodash/find.js +42 -0
  601. package/node_modules/lodash/findIndex.js +55 -0
  602. package/node_modules/lodash/findKey.js +44 -0
  603. package/node_modules/lodash/findLast.js +25 -0
  604. package/node_modules/lodash/findLastIndex.js +59 -0
  605. package/node_modules/lodash/findLastKey.js +44 -0
  606. package/node_modules/lodash/first.js +1 -0
  607. package/node_modules/lodash/flatMap.js +29 -0
  608. package/node_modules/lodash/flatMapDeep.js +31 -0
  609. package/node_modules/lodash/flatMapDepth.js +31 -0
  610. package/node_modules/lodash/flatten.js +22 -0
  611. package/node_modules/lodash/flattenDeep.js +25 -0
  612. package/node_modules/lodash/flattenDepth.js +33 -0
  613. package/node_modules/lodash/flip.js +28 -0
  614. package/node_modules/lodash/floor.js +26 -0
  615. package/node_modules/lodash/flow.js +27 -0
  616. package/node_modules/lodash/flowRight.js +26 -0
  617. package/node_modules/lodash/forEach.js +41 -0
  618. package/node_modules/lodash/forEachRight.js +31 -0
  619. package/node_modules/lodash/forIn.js +39 -0
  620. package/node_modules/lodash/forInRight.js +37 -0
  621. package/node_modules/lodash/forOwn.js +36 -0
  622. package/node_modules/lodash/forOwnRight.js +34 -0
  623. package/node_modules/lodash/fp/F.js +1 -0
  624. package/node_modules/lodash/fp/T.js +1 -0
  625. package/node_modules/lodash/fp/__.js +1 -0
  626. package/node_modules/lodash/fp/_baseConvert.js +569 -0
  627. package/node_modules/lodash/fp/_convertBrowser.js +18 -0
  628. package/node_modules/lodash/fp/_falseOptions.js +7 -0
  629. package/node_modules/lodash/fp/_mapping.js +358 -0
  630. package/node_modules/lodash/fp/_util.js +16 -0
  631. package/node_modules/lodash/fp/add.js +5 -0
  632. package/node_modules/lodash/fp/after.js +5 -0
  633. package/node_modules/lodash/fp/all.js +1 -0
  634. package/node_modules/lodash/fp/allPass.js +1 -0
  635. package/node_modules/lodash/fp/always.js +1 -0
  636. package/node_modules/lodash/fp/any.js +1 -0
  637. package/node_modules/lodash/fp/anyPass.js +1 -0
  638. package/node_modules/lodash/fp/apply.js +1 -0
  639. package/node_modules/lodash/fp/array.js +2 -0
  640. package/node_modules/lodash/fp/ary.js +5 -0
  641. package/node_modules/lodash/fp/assign.js +5 -0
  642. package/node_modules/lodash/fp/assignAll.js +5 -0
  643. package/node_modules/lodash/fp/assignAllWith.js +5 -0
  644. package/node_modules/lodash/fp/assignIn.js +5 -0
  645. package/node_modules/lodash/fp/assignInAll.js +5 -0
  646. package/node_modules/lodash/fp/assignInAllWith.js +5 -0
  647. package/node_modules/lodash/fp/assignInWith.js +5 -0
  648. package/node_modules/lodash/fp/assignWith.js +5 -0
  649. package/node_modules/lodash/fp/assoc.js +1 -0
  650. package/node_modules/lodash/fp/assocPath.js +1 -0
  651. package/node_modules/lodash/fp/at.js +5 -0
  652. package/node_modules/lodash/fp/attempt.js +5 -0
  653. package/node_modules/lodash/fp/before.js +5 -0
  654. package/node_modules/lodash/fp/bind.js +5 -0
  655. package/node_modules/lodash/fp/bindAll.js +5 -0
  656. package/node_modules/lodash/fp/bindKey.js +5 -0
  657. package/node_modules/lodash/fp/camelCase.js +5 -0
  658. package/node_modules/lodash/fp/capitalize.js +5 -0
  659. package/node_modules/lodash/fp/castArray.js +5 -0
  660. package/node_modules/lodash/fp/ceil.js +5 -0
  661. package/node_modules/lodash/fp/chain.js +5 -0
  662. package/node_modules/lodash/fp/chunk.js +5 -0
  663. package/node_modules/lodash/fp/clamp.js +5 -0
  664. package/node_modules/lodash/fp/clone.js +5 -0
  665. package/node_modules/lodash/fp/cloneDeep.js +5 -0
  666. package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  667. package/node_modules/lodash/fp/cloneWith.js +5 -0
  668. package/node_modules/lodash/fp/collection.js +2 -0
  669. package/node_modules/lodash/fp/commit.js +5 -0
  670. package/node_modules/lodash/fp/compact.js +5 -0
  671. package/node_modules/lodash/fp/complement.js +1 -0
  672. package/node_modules/lodash/fp/compose.js +1 -0
  673. package/node_modules/lodash/fp/concat.js +5 -0
  674. package/node_modules/lodash/fp/cond.js +5 -0
  675. package/node_modules/lodash/fp/conforms.js +1 -0
  676. package/node_modules/lodash/fp/conformsTo.js +5 -0
  677. package/node_modules/lodash/fp/constant.js +5 -0
  678. package/node_modules/lodash/fp/contains.js +1 -0
  679. package/node_modules/lodash/fp/convert.js +18 -0
  680. package/node_modules/lodash/fp/countBy.js +5 -0
  681. package/node_modules/lodash/fp/create.js +5 -0
  682. package/node_modules/lodash/fp/curry.js +5 -0
  683. package/node_modules/lodash/fp/curryN.js +5 -0
  684. package/node_modules/lodash/fp/curryRight.js +5 -0
  685. package/node_modules/lodash/fp/curryRightN.js +5 -0
  686. package/node_modules/lodash/fp/date.js +2 -0
  687. package/node_modules/lodash/fp/debounce.js +5 -0
  688. package/node_modules/lodash/fp/deburr.js +5 -0
  689. package/node_modules/lodash/fp/defaultTo.js +5 -0
  690. package/node_modules/lodash/fp/defaults.js +5 -0
  691. package/node_modules/lodash/fp/defaultsAll.js +5 -0
  692. package/node_modules/lodash/fp/defaultsDeep.js +5 -0
  693. package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  694. package/node_modules/lodash/fp/defer.js +5 -0
  695. package/node_modules/lodash/fp/delay.js +5 -0
  696. package/node_modules/lodash/fp/difference.js +5 -0
  697. package/node_modules/lodash/fp/differenceBy.js +5 -0
  698. package/node_modules/lodash/fp/differenceWith.js +5 -0
  699. package/node_modules/lodash/fp/dissoc.js +1 -0
  700. package/node_modules/lodash/fp/dissocPath.js +1 -0
  701. package/node_modules/lodash/fp/divide.js +5 -0
  702. package/node_modules/lodash/fp/drop.js +5 -0
  703. package/node_modules/lodash/fp/dropLast.js +1 -0
  704. package/node_modules/lodash/fp/dropLastWhile.js +1 -0
  705. package/node_modules/lodash/fp/dropRight.js +5 -0
  706. package/node_modules/lodash/fp/dropRightWhile.js +5 -0
  707. package/node_modules/lodash/fp/dropWhile.js +5 -0
  708. package/node_modules/lodash/fp/each.js +1 -0
  709. package/node_modules/lodash/fp/eachRight.js +1 -0
  710. package/node_modules/lodash/fp/endsWith.js +5 -0
  711. package/node_modules/lodash/fp/entries.js +1 -0
  712. package/node_modules/lodash/fp/entriesIn.js +1 -0
  713. package/node_modules/lodash/fp/eq.js +5 -0
  714. package/node_modules/lodash/fp/equals.js +1 -0
  715. package/node_modules/lodash/fp/escape.js +5 -0
  716. package/node_modules/lodash/fp/escapeRegExp.js +5 -0
  717. package/node_modules/lodash/fp/every.js +5 -0
  718. package/node_modules/lodash/fp/extend.js +1 -0
  719. package/node_modules/lodash/fp/extendAll.js +1 -0
  720. package/node_modules/lodash/fp/extendAllWith.js +1 -0
  721. package/node_modules/lodash/fp/extendWith.js +1 -0
  722. package/node_modules/lodash/fp/fill.js +5 -0
  723. package/node_modules/lodash/fp/filter.js +5 -0
  724. package/node_modules/lodash/fp/find.js +5 -0
  725. package/node_modules/lodash/fp/findFrom.js +5 -0
  726. package/node_modules/lodash/fp/findIndex.js +5 -0
  727. package/node_modules/lodash/fp/findIndexFrom.js +5 -0
  728. package/node_modules/lodash/fp/findKey.js +5 -0
  729. package/node_modules/lodash/fp/findLast.js +5 -0
  730. package/node_modules/lodash/fp/findLastFrom.js +5 -0
  731. package/node_modules/lodash/fp/findLastIndex.js +5 -0
  732. package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  733. package/node_modules/lodash/fp/findLastKey.js +5 -0
  734. package/node_modules/lodash/fp/first.js +1 -0
  735. package/node_modules/lodash/fp/flatMap.js +5 -0
  736. package/node_modules/lodash/fp/flatMapDeep.js +5 -0
  737. package/node_modules/lodash/fp/flatMapDepth.js +5 -0
  738. package/node_modules/lodash/fp/flatten.js +5 -0
  739. package/node_modules/lodash/fp/flattenDeep.js +5 -0
  740. package/node_modules/lodash/fp/flattenDepth.js +5 -0
  741. package/node_modules/lodash/fp/flip.js +5 -0
  742. package/node_modules/lodash/fp/floor.js +5 -0
  743. package/node_modules/lodash/fp/flow.js +5 -0
  744. package/node_modules/lodash/fp/flowRight.js +5 -0
  745. package/node_modules/lodash/fp/forEach.js +5 -0
  746. package/node_modules/lodash/fp/forEachRight.js +5 -0
  747. package/node_modules/lodash/fp/forIn.js +5 -0
  748. package/node_modules/lodash/fp/forInRight.js +5 -0
  749. package/node_modules/lodash/fp/forOwn.js +5 -0
  750. package/node_modules/lodash/fp/forOwnRight.js +5 -0
  751. package/node_modules/lodash/fp/fromPairs.js +5 -0
  752. package/node_modules/lodash/fp/function.js +2 -0
  753. package/node_modules/lodash/fp/functions.js +5 -0
  754. package/node_modules/lodash/fp/functionsIn.js +5 -0
  755. package/node_modules/lodash/fp/get.js +5 -0
  756. package/node_modules/lodash/fp/getOr.js +5 -0
  757. package/node_modules/lodash/fp/groupBy.js +5 -0
  758. package/node_modules/lodash/fp/gt.js +5 -0
  759. package/node_modules/lodash/fp/gte.js +5 -0
  760. package/node_modules/lodash/fp/has.js +5 -0
  761. package/node_modules/lodash/fp/hasIn.js +5 -0
  762. package/node_modules/lodash/fp/head.js +5 -0
  763. package/node_modules/lodash/fp/identical.js +1 -0
  764. package/node_modules/lodash/fp/identity.js +5 -0
  765. package/node_modules/lodash/fp/inRange.js +5 -0
  766. package/node_modules/lodash/fp/includes.js +5 -0
  767. package/node_modules/lodash/fp/includesFrom.js +5 -0
  768. package/node_modules/lodash/fp/indexBy.js +1 -0
  769. package/node_modules/lodash/fp/indexOf.js +5 -0
  770. package/node_modules/lodash/fp/indexOfFrom.js +5 -0
  771. package/node_modules/lodash/fp/init.js +1 -0
  772. package/node_modules/lodash/fp/initial.js +5 -0
  773. package/node_modules/lodash/fp/intersection.js +5 -0
  774. package/node_modules/lodash/fp/intersectionBy.js +5 -0
  775. package/node_modules/lodash/fp/intersectionWith.js +5 -0
  776. package/node_modules/lodash/fp/invert.js +5 -0
  777. package/node_modules/lodash/fp/invertBy.js +5 -0
  778. package/node_modules/lodash/fp/invertObj.js +1 -0
  779. package/node_modules/lodash/fp/invoke.js +5 -0
  780. package/node_modules/lodash/fp/invokeArgs.js +5 -0
  781. package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  782. package/node_modules/lodash/fp/invokeMap.js +5 -0
  783. package/node_modules/lodash/fp/isArguments.js +5 -0
  784. package/node_modules/lodash/fp/isArray.js +5 -0
  785. package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  786. package/node_modules/lodash/fp/isArrayLike.js +5 -0
  787. package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  788. package/node_modules/lodash/fp/isBoolean.js +5 -0
  789. package/node_modules/lodash/fp/isBuffer.js +5 -0
  790. package/node_modules/lodash/fp/isDate.js +5 -0
  791. package/node_modules/lodash/fp/isElement.js +5 -0
  792. package/node_modules/lodash/fp/isEmpty.js +5 -0
  793. package/node_modules/lodash/fp/isEqual.js +5 -0
  794. package/node_modules/lodash/fp/isEqualWith.js +5 -0
  795. package/node_modules/lodash/fp/isError.js +5 -0
  796. package/node_modules/lodash/fp/isFinite.js +5 -0
  797. package/node_modules/lodash/fp/isFunction.js +5 -0
  798. package/node_modules/lodash/fp/isInteger.js +5 -0
  799. package/node_modules/lodash/fp/isLength.js +5 -0
  800. package/node_modules/lodash/fp/isMap.js +5 -0
  801. package/node_modules/lodash/fp/isMatch.js +5 -0
  802. package/node_modules/lodash/fp/isMatchWith.js +5 -0
  803. package/node_modules/lodash/fp/isNaN.js +5 -0
  804. package/node_modules/lodash/fp/isNative.js +5 -0
  805. package/node_modules/lodash/fp/isNil.js +5 -0
  806. package/node_modules/lodash/fp/isNull.js +5 -0
  807. package/node_modules/lodash/fp/isNumber.js +5 -0
  808. package/node_modules/lodash/fp/isObject.js +5 -0
  809. package/node_modules/lodash/fp/isObjectLike.js +5 -0
  810. package/node_modules/lodash/fp/isPlainObject.js +5 -0
  811. package/node_modules/lodash/fp/isRegExp.js +5 -0
  812. package/node_modules/lodash/fp/isSafeInteger.js +5 -0
  813. package/node_modules/lodash/fp/isSet.js +5 -0
  814. package/node_modules/lodash/fp/isString.js +5 -0
  815. package/node_modules/lodash/fp/isSymbol.js +5 -0
  816. package/node_modules/lodash/fp/isTypedArray.js +5 -0
  817. package/node_modules/lodash/fp/isUndefined.js +5 -0
  818. package/node_modules/lodash/fp/isWeakMap.js +5 -0
  819. package/node_modules/lodash/fp/isWeakSet.js +5 -0
  820. package/node_modules/lodash/fp/iteratee.js +5 -0
  821. package/node_modules/lodash/fp/join.js +5 -0
  822. package/node_modules/lodash/fp/juxt.js +1 -0
  823. package/node_modules/lodash/fp/kebabCase.js +5 -0
  824. package/node_modules/lodash/fp/keyBy.js +5 -0
  825. package/node_modules/lodash/fp/keys.js +5 -0
  826. package/node_modules/lodash/fp/keysIn.js +5 -0
  827. package/node_modules/lodash/fp/lang.js +2 -0
  828. package/node_modules/lodash/fp/last.js +5 -0
  829. package/node_modules/lodash/fp/lastIndexOf.js +5 -0
  830. package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  831. package/node_modules/lodash/fp/lowerCase.js +5 -0
  832. package/node_modules/lodash/fp/lowerFirst.js +5 -0
  833. package/node_modules/lodash/fp/lt.js +5 -0
  834. package/node_modules/lodash/fp/lte.js +5 -0
  835. package/node_modules/lodash/fp/map.js +5 -0
  836. package/node_modules/lodash/fp/mapKeys.js +5 -0
  837. package/node_modules/lodash/fp/mapValues.js +5 -0
  838. package/node_modules/lodash/fp/matches.js +1 -0
  839. package/node_modules/lodash/fp/matchesProperty.js +5 -0
  840. package/node_modules/lodash/fp/math.js +2 -0
  841. package/node_modules/lodash/fp/max.js +5 -0
  842. package/node_modules/lodash/fp/maxBy.js +5 -0
  843. package/node_modules/lodash/fp/mean.js +5 -0
  844. package/node_modules/lodash/fp/meanBy.js +5 -0
  845. package/node_modules/lodash/fp/memoize.js +5 -0
  846. package/node_modules/lodash/fp/merge.js +5 -0
  847. package/node_modules/lodash/fp/mergeAll.js +5 -0
  848. package/node_modules/lodash/fp/mergeAllWith.js +5 -0
  849. package/node_modules/lodash/fp/mergeWith.js +5 -0
  850. package/node_modules/lodash/fp/method.js +5 -0
  851. package/node_modules/lodash/fp/methodOf.js +5 -0
  852. package/node_modules/lodash/fp/min.js +5 -0
  853. package/node_modules/lodash/fp/minBy.js +5 -0
  854. package/node_modules/lodash/fp/mixin.js +5 -0
  855. package/node_modules/lodash/fp/multiply.js +5 -0
  856. package/node_modules/lodash/fp/nAry.js +1 -0
  857. package/node_modules/lodash/fp/negate.js +5 -0
  858. package/node_modules/lodash/fp/next.js +5 -0
  859. package/node_modules/lodash/fp/noop.js +5 -0
  860. package/node_modules/lodash/fp/now.js +5 -0
  861. package/node_modules/lodash/fp/nth.js +5 -0
  862. package/node_modules/lodash/fp/nthArg.js +5 -0
  863. package/node_modules/lodash/fp/number.js +2 -0
  864. package/node_modules/lodash/fp/object.js +2 -0
  865. package/node_modules/lodash/fp/omit.js +5 -0
  866. package/node_modules/lodash/fp/omitAll.js +1 -0
  867. package/node_modules/lodash/fp/omitBy.js +5 -0
  868. package/node_modules/lodash/fp/once.js +5 -0
  869. package/node_modules/lodash/fp/orderBy.js +5 -0
  870. package/node_modules/lodash/fp/over.js +5 -0
  871. package/node_modules/lodash/fp/overArgs.js +5 -0
  872. package/node_modules/lodash/fp/overEvery.js +5 -0
  873. package/node_modules/lodash/fp/overSome.js +5 -0
  874. package/node_modules/lodash/fp/pad.js +5 -0
  875. package/node_modules/lodash/fp/padChars.js +5 -0
  876. package/node_modules/lodash/fp/padCharsEnd.js +5 -0
  877. package/node_modules/lodash/fp/padCharsStart.js +5 -0
  878. package/node_modules/lodash/fp/padEnd.js +5 -0
  879. package/node_modules/lodash/fp/padStart.js +5 -0
  880. package/node_modules/lodash/fp/parseInt.js +5 -0
  881. package/node_modules/lodash/fp/partial.js +5 -0
  882. package/node_modules/lodash/fp/partialRight.js +5 -0
  883. package/node_modules/lodash/fp/partition.js +5 -0
  884. package/node_modules/lodash/fp/path.js +1 -0
  885. package/node_modules/lodash/fp/pathEq.js +1 -0
  886. package/node_modules/lodash/fp/pathOr.js +1 -0
  887. package/node_modules/lodash/fp/paths.js +1 -0
  888. package/node_modules/lodash/fp/pick.js +5 -0
  889. package/node_modules/lodash/fp/pickAll.js +1 -0
  890. package/node_modules/lodash/fp/pickBy.js +5 -0
  891. package/node_modules/lodash/fp/pipe.js +1 -0
  892. package/node_modules/lodash/fp/placeholder.js +6 -0
  893. package/node_modules/lodash/fp/plant.js +5 -0
  894. package/node_modules/lodash/fp/pluck.js +1 -0
  895. package/node_modules/lodash/fp/prop.js +1 -0
  896. package/node_modules/lodash/fp/propEq.js +1 -0
  897. package/node_modules/lodash/fp/propOr.js +1 -0
  898. package/node_modules/lodash/fp/property.js +1 -0
  899. package/node_modules/lodash/fp/propertyOf.js +5 -0
  900. package/node_modules/lodash/fp/props.js +1 -0
  901. package/node_modules/lodash/fp/pull.js +5 -0
  902. package/node_modules/lodash/fp/pullAll.js +5 -0
  903. package/node_modules/lodash/fp/pullAllBy.js +5 -0
  904. package/node_modules/lodash/fp/pullAllWith.js +5 -0
  905. package/node_modules/lodash/fp/pullAt.js +5 -0
  906. package/node_modules/lodash/fp/random.js +5 -0
  907. package/node_modules/lodash/fp/range.js +5 -0
  908. package/node_modules/lodash/fp/rangeRight.js +5 -0
  909. package/node_modules/lodash/fp/rangeStep.js +5 -0
  910. package/node_modules/lodash/fp/rangeStepRight.js +5 -0
  911. package/node_modules/lodash/fp/rearg.js +5 -0
  912. package/node_modules/lodash/fp/reduce.js +5 -0
  913. package/node_modules/lodash/fp/reduceRight.js +5 -0
  914. package/node_modules/lodash/fp/reject.js +5 -0
  915. package/node_modules/lodash/fp/remove.js +5 -0
  916. package/node_modules/lodash/fp/repeat.js +5 -0
  917. package/node_modules/lodash/fp/replace.js +5 -0
  918. package/node_modules/lodash/fp/rest.js +5 -0
  919. package/node_modules/lodash/fp/restFrom.js +5 -0
  920. package/node_modules/lodash/fp/result.js +5 -0
  921. package/node_modules/lodash/fp/reverse.js +5 -0
  922. package/node_modules/lodash/fp/round.js +5 -0
  923. package/node_modules/lodash/fp/sample.js +5 -0
  924. package/node_modules/lodash/fp/sampleSize.js +5 -0
  925. package/node_modules/lodash/fp/seq.js +2 -0
  926. package/node_modules/lodash/fp/set.js +5 -0
  927. package/node_modules/lodash/fp/setWith.js +5 -0
  928. package/node_modules/lodash/fp/shuffle.js +5 -0
  929. package/node_modules/lodash/fp/size.js +5 -0
  930. package/node_modules/lodash/fp/slice.js +5 -0
  931. package/node_modules/lodash/fp/snakeCase.js +5 -0
  932. package/node_modules/lodash/fp/some.js +5 -0
  933. package/node_modules/lodash/fp/sortBy.js +5 -0
  934. package/node_modules/lodash/fp/sortedIndex.js +5 -0
  935. package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  936. package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  937. package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  938. package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  939. package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  940. package/node_modules/lodash/fp/sortedUniq.js +5 -0
  941. package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  942. package/node_modules/lodash/fp/split.js +5 -0
  943. package/node_modules/lodash/fp/spread.js +5 -0
  944. package/node_modules/lodash/fp/spreadFrom.js +5 -0
  945. package/node_modules/lodash/fp/startCase.js +5 -0
  946. package/node_modules/lodash/fp/startsWith.js +5 -0
  947. package/node_modules/lodash/fp/string.js +2 -0
  948. package/node_modules/lodash/fp/stubArray.js +5 -0
  949. package/node_modules/lodash/fp/stubFalse.js +5 -0
  950. package/node_modules/lodash/fp/stubObject.js +5 -0
  951. package/node_modules/lodash/fp/stubString.js +5 -0
  952. package/node_modules/lodash/fp/stubTrue.js +5 -0
  953. package/node_modules/lodash/fp/subtract.js +5 -0
  954. package/node_modules/lodash/fp/sum.js +5 -0
  955. package/node_modules/lodash/fp/sumBy.js +5 -0
  956. package/node_modules/lodash/fp/symmetricDifference.js +1 -0
  957. package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  958. package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  959. package/node_modules/lodash/fp/tail.js +5 -0
  960. package/node_modules/lodash/fp/take.js +5 -0
  961. package/node_modules/lodash/fp/takeLast.js +1 -0
  962. package/node_modules/lodash/fp/takeLastWhile.js +1 -0
  963. package/node_modules/lodash/fp/takeRight.js +5 -0
  964. package/node_modules/lodash/fp/takeRightWhile.js +5 -0
  965. package/node_modules/lodash/fp/takeWhile.js +5 -0
  966. package/node_modules/lodash/fp/tap.js +5 -0
  967. package/node_modules/lodash/fp/template.js +5 -0
  968. package/node_modules/lodash/fp/templateSettings.js +5 -0
  969. package/node_modules/lodash/fp/throttle.js +5 -0
  970. package/node_modules/lodash/fp/thru.js +5 -0
  971. package/node_modules/lodash/fp/times.js +5 -0
  972. package/node_modules/lodash/fp/toArray.js +5 -0
  973. package/node_modules/lodash/fp/toFinite.js +5 -0
  974. package/node_modules/lodash/fp/toInteger.js +5 -0
  975. package/node_modules/lodash/fp/toIterator.js +5 -0
  976. package/node_modules/lodash/fp/toJSON.js +5 -0
  977. package/node_modules/lodash/fp/toLength.js +5 -0
  978. package/node_modules/lodash/fp/toLower.js +5 -0
  979. package/node_modules/lodash/fp/toNumber.js +5 -0
  980. package/node_modules/lodash/fp/toPairs.js +5 -0
  981. package/node_modules/lodash/fp/toPairsIn.js +5 -0
  982. package/node_modules/lodash/fp/toPath.js +5 -0
  983. package/node_modules/lodash/fp/toPlainObject.js +5 -0
  984. package/node_modules/lodash/fp/toSafeInteger.js +5 -0
  985. package/node_modules/lodash/fp/toString.js +5 -0
  986. package/node_modules/lodash/fp/toUpper.js +5 -0
  987. package/node_modules/lodash/fp/transform.js +5 -0
  988. package/node_modules/lodash/fp/trim.js +5 -0
  989. package/node_modules/lodash/fp/trimChars.js +5 -0
  990. package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  991. package/node_modules/lodash/fp/trimCharsStart.js +5 -0
  992. package/node_modules/lodash/fp/trimEnd.js +5 -0
  993. package/node_modules/lodash/fp/trimStart.js +5 -0
  994. package/node_modules/lodash/fp/truncate.js +5 -0
  995. package/node_modules/lodash/fp/unapply.js +1 -0
  996. package/node_modules/lodash/fp/unary.js +5 -0
  997. package/node_modules/lodash/fp/unescape.js +5 -0
  998. package/node_modules/lodash/fp/union.js +5 -0
  999. package/node_modules/lodash/fp/unionBy.js +5 -0
  1000. package/node_modules/lodash/fp/unionWith.js +5 -0
  1001. package/node_modules/lodash/fp/uniq.js +5 -0
  1002. package/node_modules/lodash/fp/uniqBy.js +5 -0
  1003. package/node_modules/lodash/fp/uniqWith.js +5 -0
  1004. package/node_modules/lodash/fp/uniqueId.js +5 -0
  1005. package/node_modules/lodash/fp/unnest.js +1 -0
  1006. package/node_modules/lodash/fp/unset.js +5 -0
  1007. package/node_modules/lodash/fp/unzip.js +5 -0
  1008. package/node_modules/lodash/fp/unzipWith.js +5 -0
  1009. package/node_modules/lodash/fp/update.js +5 -0
  1010. package/node_modules/lodash/fp/updateWith.js +5 -0
  1011. package/node_modules/lodash/fp/upperCase.js +5 -0
  1012. package/node_modules/lodash/fp/upperFirst.js +5 -0
  1013. package/node_modules/lodash/fp/useWith.js +1 -0
  1014. package/node_modules/lodash/fp/util.js +2 -0
  1015. package/node_modules/lodash/fp/value.js +5 -0
  1016. package/node_modules/lodash/fp/valueOf.js +5 -0
  1017. package/node_modules/lodash/fp/values.js +5 -0
  1018. package/node_modules/lodash/fp/valuesIn.js +5 -0
  1019. package/node_modules/lodash/fp/where.js +1 -0
  1020. package/node_modules/lodash/fp/whereEq.js +1 -0
  1021. package/node_modules/lodash/fp/without.js +5 -0
  1022. package/node_modules/lodash/fp/words.js +5 -0
  1023. package/node_modules/lodash/fp/wrap.js +5 -0
  1024. package/node_modules/lodash/fp/wrapperAt.js +5 -0
  1025. package/node_modules/lodash/fp/wrapperChain.js +5 -0
  1026. package/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1027. package/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1028. package/node_modules/lodash/fp/wrapperValue.js +5 -0
  1029. package/node_modules/lodash/fp/xor.js +5 -0
  1030. package/node_modules/lodash/fp/xorBy.js +5 -0
  1031. package/node_modules/lodash/fp/xorWith.js +5 -0
  1032. package/node_modules/lodash/fp/zip.js +5 -0
  1033. package/node_modules/lodash/fp/zipAll.js +5 -0
  1034. package/node_modules/lodash/fp/zipObj.js +1 -0
  1035. package/node_modules/lodash/fp/zipObject.js +5 -0
  1036. package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1037. package/node_modules/lodash/fp/zipWith.js +5 -0
  1038. package/node_modules/lodash/fp.js +2 -0
  1039. package/node_modules/lodash/fromPairs.js +28 -0
  1040. package/node_modules/lodash/function.js +25 -0
  1041. package/node_modules/lodash/functions.js +31 -0
  1042. package/node_modules/lodash/functionsIn.js +31 -0
  1043. package/node_modules/lodash/get.js +33 -0
  1044. package/node_modules/lodash/groupBy.js +41 -0
  1045. package/node_modules/lodash/gt.js +29 -0
  1046. package/node_modules/lodash/gte.js +30 -0
  1047. package/node_modules/lodash/has.js +35 -0
  1048. package/node_modules/lodash/hasIn.js +34 -0
  1049. package/node_modules/lodash/head.js +23 -0
  1050. package/node_modules/lodash/identity.js +21 -0
  1051. package/node_modules/lodash/inRange.js +55 -0
  1052. package/node_modules/lodash/includes.js +53 -0
  1053. package/node_modules/lodash/index.js +1 -0
  1054. package/node_modules/lodash/indexOf.js +42 -0
  1055. package/node_modules/lodash/initial.js +22 -0
  1056. package/node_modules/lodash/intersection.js +30 -0
  1057. package/node_modules/lodash/intersectionBy.js +45 -0
  1058. package/node_modules/lodash/intersectionWith.js +41 -0
  1059. package/node_modules/lodash/invert.js +42 -0
  1060. package/node_modules/lodash/invertBy.js +56 -0
  1061. package/node_modules/lodash/invoke.js +24 -0
  1062. package/node_modules/lodash/invokeMap.js +41 -0
  1063. package/node_modules/lodash/isArguments.js +36 -0
  1064. package/node_modules/lodash/isArray.js +26 -0
  1065. package/node_modules/lodash/isArrayBuffer.js +27 -0
  1066. package/node_modules/lodash/isArrayLike.js +33 -0
  1067. package/node_modules/lodash/isArrayLikeObject.js +33 -0
  1068. package/node_modules/lodash/isBoolean.js +29 -0
  1069. package/node_modules/lodash/isBuffer.js +38 -0
  1070. package/node_modules/lodash/isDate.js +27 -0
  1071. package/node_modules/lodash/isElement.js +25 -0
  1072. package/node_modules/lodash/isEmpty.js +77 -0
  1073. package/node_modules/lodash/isEqual.js +35 -0
  1074. package/node_modules/lodash/isEqualWith.js +41 -0
  1075. package/node_modules/lodash/isError.js +36 -0
  1076. package/node_modules/lodash/isFinite.js +36 -0
  1077. package/node_modules/lodash/isFunction.js +37 -0
  1078. package/node_modules/lodash/isInteger.js +33 -0
  1079. package/node_modules/lodash/isLength.js +35 -0
  1080. package/node_modules/lodash/isMap.js +27 -0
  1081. package/node_modules/lodash/isMatch.js +36 -0
  1082. package/node_modules/lodash/isMatchWith.js +41 -0
  1083. package/node_modules/lodash/isNaN.js +38 -0
  1084. package/node_modules/lodash/isNative.js +40 -0
  1085. package/node_modules/lodash/isNil.js +25 -0
  1086. package/node_modules/lodash/isNull.js +22 -0
  1087. package/node_modules/lodash/isNumber.js +38 -0
  1088. package/node_modules/lodash/isObject.js +31 -0
  1089. package/node_modules/lodash/isObjectLike.js +29 -0
  1090. package/node_modules/lodash/isPlainObject.js +62 -0
  1091. package/node_modules/lodash/isRegExp.js +27 -0
  1092. package/node_modules/lodash/isSafeInteger.js +37 -0
  1093. package/node_modules/lodash/isSet.js +27 -0
  1094. package/node_modules/lodash/isString.js +30 -0
  1095. package/node_modules/lodash/isSymbol.js +29 -0
  1096. package/node_modules/lodash/isTypedArray.js +27 -0
  1097. package/node_modules/lodash/isUndefined.js +22 -0
  1098. package/node_modules/lodash/isWeakMap.js +28 -0
  1099. package/node_modules/lodash/isWeakSet.js +28 -0
  1100. package/node_modules/lodash/iteratee.js +53 -0
  1101. package/node_modules/lodash/join.js +26 -0
  1102. package/node_modules/lodash/kebabCase.js +28 -0
  1103. package/node_modules/lodash/keyBy.js +36 -0
  1104. package/node_modules/lodash/keys.js +37 -0
  1105. package/node_modules/lodash/keysIn.js +32 -0
  1106. package/node_modules/lodash/lang.js +58 -0
  1107. package/node_modules/lodash/last.js +20 -0
  1108. package/node_modules/lodash/lastIndexOf.js +46 -0
  1109. package/node_modules/lodash/lodash.js +17248 -0
  1110. package/node_modules/lodash/lodash.min.js +140 -0
  1111. package/node_modules/lodash/lowerCase.js +27 -0
  1112. package/node_modules/lodash/lowerFirst.js +22 -0
  1113. package/node_modules/lodash/lt.js +29 -0
  1114. package/node_modules/lodash/lte.js +30 -0
  1115. package/node_modules/lodash/map.js +53 -0
  1116. package/node_modules/lodash/mapKeys.js +36 -0
  1117. package/node_modules/lodash/mapValues.js +43 -0
  1118. package/node_modules/lodash/matches.js +46 -0
  1119. package/node_modules/lodash/matchesProperty.js +44 -0
  1120. package/node_modules/lodash/math.js +17 -0
  1121. package/node_modules/lodash/max.js +29 -0
  1122. package/node_modules/lodash/maxBy.js +34 -0
  1123. package/node_modules/lodash/mean.js +22 -0
  1124. package/node_modules/lodash/meanBy.js +31 -0
  1125. package/node_modules/lodash/memoize.js +73 -0
  1126. package/node_modules/lodash/merge.js +39 -0
  1127. package/node_modules/lodash/mergeWith.js +39 -0
  1128. package/node_modules/lodash/method.js +34 -0
  1129. package/node_modules/lodash/methodOf.js +33 -0
  1130. package/node_modules/lodash/min.js +29 -0
  1131. package/node_modules/lodash/minBy.js +34 -0
  1132. package/node_modules/lodash/mixin.js +74 -0
  1133. package/node_modules/lodash/multiply.js +22 -0
  1134. package/node_modules/lodash/negate.js +40 -0
  1135. package/node_modules/lodash/next.js +35 -0
  1136. package/node_modules/lodash/noop.js +17 -0
  1137. package/node_modules/lodash/now.js +23 -0
  1138. package/node_modules/lodash/nth.js +29 -0
  1139. package/node_modules/lodash/nthArg.js +32 -0
  1140. package/node_modules/lodash/number.js +5 -0
  1141. package/node_modules/lodash/object.js +49 -0
  1142. package/node_modules/lodash/omit.js +57 -0
  1143. package/node_modules/lodash/omitBy.js +29 -0
  1144. package/node_modules/lodash/once.js +25 -0
  1145. package/node_modules/lodash/orderBy.js +47 -0
  1146. package/node_modules/lodash/over.js +24 -0
  1147. package/node_modules/lodash/overArgs.js +61 -0
  1148. package/node_modules/lodash/overEvery.js +34 -0
  1149. package/node_modules/lodash/overSome.js +37 -0
  1150. package/node_modules/lodash/package.json +17 -0
  1151. package/node_modules/lodash/pad.js +49 -0
  1152. package/node_modules/lodash/padEnd.js +39 -0
  1153. package/node_modules/lodash/padStart.js +39 -0
  1154. package/node_modules/lodash/parseInt.js +43 -0
  1155. package/node_modules/lodash/partial.js +50 -0
  1156. package/node_modules/lodash/partialRight.js +49 -0
  1157. package/node_modules/lodash/partition.js +43 -0
  1158. package/node_modules/lodash/pick.js +25 -0
  1159. package/node_modules/lodash/pickBy.js +37 -0
  1160. package/node_modules/lodash/plant.js +48 -0
  1161. package/node_modules/lodash/property.js +32 -0
  1162. package/node_modules/lodash/propertyOf.js +30 -0
  1163. package/node_modules/lodash/pull.js +29 -0
  1164. package/node_modules/lodash/pullAll.js +29 -0
  1165. package/node_modules/lodash/pullAllBy.js +33 -0
  1166. package/node_modules/lodash/pullAllWith.js +32 -0
  1167. package/node_modules/lodash/pullAt.js +43 -0
  1168. package/node_modules/lodash/random.js +82 -0
  1169. package/node_modules/lodash/range.js +46 -0
  1170. package/node_modules/lodash/rangeRight.js +41 -0
  1171. package/node_modules/lodash/rearg.js +33 -0
  1172. package/node_modules/lodash/reduce.js +51 -0
  1173. package/node_modules/lodash/reduceRight.js +36 -0
  1174. package/node_modules/lodash/reject.js +46 -0
  1175. package/node_modules/lodash/remove.js +53 -0
  1176. package/node_modules/lodash/repeat.js +37 -0
  1177. package/node_modules/lodash/replace.js +29 -0
  1178. package/node_modules/lodash/rest.js +40 -0
  1179. package/node_modules/lodash/result.js +56 -0
  1180. package/node_modules/lodash/reverse.js +34 -0
  1181. package/node_modules/lodash/round.js +26 -0
  1182. package/node_modules/lodash/sample.js +24 -0
  1183. package/node_modules/lodash/sampleSize.js +37 -0
  1184. package/node_modules/lodash/seq.js +16 -0
  1185. package/node_modules/lodash/set.js +35 -0
  1186. package/node_modules/lodash/setWith.js +32 -0
  1187. package/node_modules/lodash/shuffle.js +25 -0
  1188. package/node_modules/lodash/size.js +46 -0
  1189. package/node_modules/lodash/slice.js +37 -0
  1190. package/node_modules/lodash/snakeCase.js +28 -0
  1191. package/node_modules/lodash/some.js +51 -0
  1192. package/node_modules/lodash/sortBy.js +48 -0
  1193. package/node_modules/lodash/sortedIndex.js +24 -0
  1194. package/node_modules/lodash/sortedIndexBy.js +33 -0
  1195. package/node_modules/lodash/sortedIndexOf.js +31 -0
  1196. package/node_modules/lodash/sortedLastIndex.js +25 -0
  1197. package/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1198. package/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1199. package/node_modules/lodash/sortedUniq.js +24 -0
  1200. package/node_modules/lodash/sortedUniqBy.js +26 -0
  1201. package/node_modules/lodash/split.js +52 -0
  1202. package/node_modules/lodash/spread.js +63 -0
  1203. package/node_modules/lodash/startCase.js +29 -0
  1204. package/node_modules/lodash/startsWith.js +39 -0
  1205. package/node_modules/lodash/string.js +33 -0
  1206. package/node_modules/lodash/stubArray.js +23 -0
  1207. package/node_modules/lodash/stubFalse.js +18 -0
  1208. package/node_modules/lodash/stubObject.js +23 -0
  1209. package/node_modules/lodash/stubString.js +18 -0
  1210. package/node_modules/lodash/stubTrue.js +18 -0
  1211. package/node_modules/lodash/subtract.js +22 -0
  1212. package/node_modules/lodash/sum.js +24 -0
  1213. package/node_modules/lodash/sumBy.js +33 -0
  1214. package/node_modules/lodash/tail.js +22 -0
  1215. package/node_modules/lodash/take.js +37 -0
  1216. package/node_modules/lodash/takeRight.js +39 -0
  1217. package/node_modules/lodash/takeRightWhile.js +45 -0
  1218. package/node_modules/lodash/takeWhile.js +45 -0
  1219. package/node_modules/lodash/tap.js +29 -0
  1220. package/node_modules/lodash/template.js +272 -0
  1221. package/node_modules/lodash/templateSettings.js +67 -0
  1222. package/node_modules/lodash/throttle.js +69 -0
  1223. package/node_modules/lodash/thru.js +28 -0
  1224. package/node_modules/lodash/times.js +51 -0
  1225. package/node_modules/lodash/toArray.js +58 -0
  1226. package/node_modules/lodash/toFinite.js +42 -0
  1227. package/node_modules/lodash/toInteger.js +36 -0
  1228. package/node_modules/lodash/toIterator.js +23 -0
  1229. package/node_modules/lodash/toJSON.js +1 -0
  1230. package/node_modules/lodash/toLength.js +38 -0
  1231. package/node_modules/lodash/toLower.js +28 -0
  1232. package/node_modules/lodash/toNumber.js +64 -0
  1233. package/node_modules/lodash/toPairs.js +30 -0
  1234. package/node_modules/lodash/toPairsIn.js +30 -0
  1235. package/node_modules/lodash/toPath.js +33 -0
  1236. package/node_modules/lodash/toPlainObject.js +32 -0
  1237. package/node_modules/lodash/toSafeInteger.js +37 -0
  1238. package/node_modules/lodash/toString.js +28 -0
  1239. package/node_modules/lodash/toUpper.js +28 -0
  1240. package/node_modules/lodash/transform.js +65 -0
  1241. package/node_modules/lodash/trim.js +47 -0
  1242. package/node_modules/lodash/trimEnd.js +41 -0
  1243. package/node_modules/lodash/trimStart.js +43 -0
  1244. package/node_modules/lodash/truncate.js +111 -0
  1245. package/node_modules/lodash/unary.js +22 -0
  1246. package/node_modules/lodash/unescape.js +34 -0
  1247. package/node_modules/lodash/union.js +26 -0
  1248. package/node_modules/lodash/unionBy.js +39 -0
  1249. package/node_modules/lodash/unionWith.js +34 -0
  1250. package/node_modules/lodash/uniq.js +25 -0
  1251. package/node_modules/lodash/uniqBy.js +31 -0
  1252. package/node_modules/lodash/uniqWith.js +28 -0
  1253. package/node_modules/lodash/uniqueId.js +28 -0
  1254. package/node_modules/lodash/unset.js +34 -0
  1255. package/node_modules/lodash/unzip.js +45 -0
  1256. package/node_modules/lodash/unzipWith.js +39 -0
  1257. package/node_modules/lodash/update.js +35 -0
  1258. package/node_modules/lodash/updateWith.js +33 -0
  1259. package/node_modules/lodash/upperCase.js +27 -0
  1260. package/node_modules/lodash/upperFirst.js +22 -0
  1261. package/node_modules/lodash/util.js +34 -0
  1262. package/node_modules/lodash/value.js +1 -0
  1263. package/node_modules/lodash/valueOf.js +1 -0
  1264. package/node_modules/lodash/values.js +34 -0
  1265. package/node_modules/lodash/valuesIn.js +32 -0
  1266. package/node_modules/lodash/without.js +31 -0
  1267. package/node_modules/lodash/words.js +35 -0
  1268. package/node_modules/lodash/wrap.js +30 -0
  1269. package/node_modules/lodash/wrapperAt.js +48 -0
  1270. package/node_modules/lodash/wrapperChain.js +34 -0
  1271. package/node_modules/lodash/wrapperLodash.js +147 -0
  1272. package/node_modules/lodash/wrapperReverse.js +44 -0
  1273. package/node_modules/lodash/wrapperValue.js +21 -0
  1274. package/node_modules/lodash/xor.js +28 -0
  1275. package/node_modules/lodash/xorBy.js +39 -0
  1276. package/node_modules/lodash/xorWith.js +34 -0
  1277. package/node_modules/lodash/zip.js +22 -0
  1278. package/node_modules/lodash/zipObject.js +24 -0
  1279. package/node_modules/lodash/zipObjectDeep.js +23 -0
  1280. package/node_modules/lodash/zipWith.js +32 -0
  1281. package/node_modules/ms/index.js +162 -0
  1282. package/node_modules/ms/license.md +21 -0
  1283. package/node_modules/ms/package.json +38 -0
  1284. package/node_modules/ms/readme.md +59 -0
  1285. package/node_modules/node-fetch/LICENSE.md +22 -0
  1286. package/node_modules/node-fetch/README.md +634 -0
  1287. package/node_modules/node-fetch/browser.js +25 -0
  1288. package/node_modules/node-fetch/lib/index.es.js +1777 -0
  1289. package/node_modules/node-fetch/lib/index.js +1787 -0
  1290. package/node_modules/node-fetch/lib/index.mjs +1775 -0
  1291. package/node_modules/node-fetch/package.json +89 -0
  1292. package/node_modules/oci-common/LICENSE.txt +89 -0
  1293. package/node_modules/oci-common/NOTICE.txt +1 -0
  1294. package/node_modules/oci-common/README.md +19 -0
  1295. package/node_modules/oci-common/THIRD_PARTY_LICENSES.txt +576 -0
  1296. package/node_modules/oci-common/index.d.ts +54 -0
  1297. package/node_modules/oci-common/index.js +104 -0
  1298. package/node_modules/oci-common/index.js.map +1 -0
  1299. package/node_modules/oci-common/lib/auth/X509-federation-client-for-oke-workload-identity.d.ts +38 -0
  1300. package/node_modules/oci-common/lib/auth/X509-federation-client-for-oke-workload-identity.js +175 -0
  1301. package/node_modules/oci-common/lib/auth/X509-federation-client-for-oke-workload-identity.js.map +1 -0
  1302. package/node_modules/oci-common/lib/auth/X509-federation-client.d.ts +52 -0
  1303. package/node_modules/oci-common/lib/auth/X509-federation-client.js +325 -0
  1304. package/node_modules/oci-common/lib/auth/X509-federation-client.js.map +1 -0
  1305. package/node_modules/oci-common/lib/auth/abstract-federation-client-authenticated-details-provider-builder.d.ts +76 -0
  1306. package/node_modules/oci-common/lib/auth/abstract-federation-client-authenticated-details-provider-builder.js +224 -0
  1307. package/node_modules/oci-common/lib/auth/abstract-federation-client-authenticated-details-provider-builder.js.map +1 -0
  1308. package/node_modules/oci-common/lib/auth/abstract-requesting-authentication-detail-provider.d.ts +19 -0
  1309. package/node_modules/oci-common/lib/auth/abstract-requesting-authentication-detail-provider.js +46 -0
  1310. package/node_modules/oci-common/lib/auth/abstract-requesting-authentication-detail-provider.js.map +1 -0
  1311. package/node_modules/oci-common/lib/auth/auth.d.ts +125 -0
  1312. package/node_modules/oci-common/lib/auth/auth.js +137 -0
  1313. package/node_modules/oci-common/lib/auth/auth.js.map +1 -0
  1314. package/node_modules/oci-common/lib/auth/certificate-and-privatekey-pair.d.ts +12 -0
  1315. package/node_modules/oci-common/lib/auth/certificate-and-privatekey-pair.js +20 -0
  1316. package/node_modules/oci-common/lib/auth/certificate-and-privatekey-pair.js.map +1 -0
  1317. package/node_modules/oci-common/lib/auth/config-file-auth.d.ts +81 -0
  1318. package/node_modules/oci-common/lib/auth/config-file-auth.js +205 -0
  1319. package/node_modules/oci-common/lib/auth/config-file-auth.js.map +1 -0
  1320. package/node_modules/oci-common/lib/auth/file-based-key-supplier.d.ts +16 -0
  1321. package/node_modules/oci-common/lib/auth/file-based-key-supplier.js +45 -0
  1322. package/node_modules/oci-common/lib/auth/file-based-key-supplier.js.map +1 -0
  1323. package/node_modules/oci-common/lib/auth/file-based-resource-principal-federation-client.d.ts +34 -0
  1324. package/node_modules/oci-common/lib/auth/file-based-resource-principal-federation-client.js +95 -0
  1325. package/node_modules/oci-common/lib/auth/file-based-resource-principal-federation-client.js.map +1 -0
  1326. package/node_modules/oci-common/lib/auth/fixed-content-key-supplier.d.ts +20 -0
  1327. package/node_modules/oci-common/lib/auth/fixed-content-key-supplier.js +49 -0
  1328. package/node_modules/oci-common/lib/auth/fixed-content-key-supplier.js.map +1 -0
  1329. package/node_modules/oci-common/lib/auth/fixed-content-resource-principal-federation-client.d.ts +22 -0
  1330. package/node_modules/oci-common/lib/auth/fixed-content-resource-principal-federation-client.js +50 -0
  1331. package/node_modules/oci-common/lib/auth/fixed-content-resource-principal-federation-client.js.map +1 -0
  1332. package/node_modules/oci-common/lib/auth/helpers/auth-utils.d.ts +17 -0
  1333. package/node_modules/oci-common/lib/auth/helpers/auth-utils.js +60 -0
  1334. package/node_modules/oci-common/lib/auth/helpers/auth-utils.js.map +1 -0
  1335. package/node_modules/oci-common/lib/auth/helpers/delegate-auth-provider.d.ts +10 -0
  1336. package/node_modules/oci-common/lib/auth/helpers/delegate-auth-provider.js +42 -0
  1337. package/node_modules/oci-common/lib/auth/helpers/delegate-auth-provider.js.map +1 -0
  1338. package/node_modules/oci-common/lib/auth/helpers/load-from-file.d.ts +5 -0
  1339. package/node_modules/oci-common/lib/auth/helpers/load-from-file.js +19 -0
  1340. package/node_modules/oci-common/lib/auth/helpers/load-from-file.js.map +1 -0
  1341. package/node_modules/oci-common/lib/auth/helpers/load-private-key-from-file.d.ts +17 -0
  1342. package/node_modules/oci-common/lib/auth/helpers/load-private-key-from-file.js +32 -0
  1343. package/node_modules/oci-common/lib/auth/helpers/load-private-key-from-file.js.map +1 -0
  1344. package/node_modules/oci-common/lib/auth/instance-principals-authentication-detail-provider.d.ts +37 -0
  1345. package/node_modules/oci-common/lib/auth/instance-principals-authentication-detail-provider.js +76 -0
  1346. package/node_modules/oci-common/lib/auth/instance-principals-authentication-detail-provider.js.map +1 -0
  1347. package/node_modules/oci-common/lib/auth/key-pair.d.ts +15 -0
  1348. package/node_modules/oci-common/lib/auth/key-pair.js +24 -0
  1349. package/node_modules/oci-common/lib/auth/key-pair.js.map +1 -0
  1350. package/node_modules/oci-common/lib/auth/models/X509-certificate-supplier.d.ts +22 -0
  1351. package/node_modules/oci-common/lib/auth/models/X509-certificate-supplier.js +7 -0
  1352. package/node_modules/oci-common/lib/auth/models/X509-certificate-supplier.js.map +1 -0
  1353. package/node_modules/oci-common/lib/auth/models/abstract-authentication-details-provider.d.ts +10 -0
  1354. package/node_modules/oci-common/lib/auth/models/abstract-authentication-details-provider.js +7 -0
  1355. package/node_modules/oci-common/lib/auth/models/abstract-authentication-details-provider.js.map +1 -0
  1356. package/node_modules/oci-common/lib/auth/models/federation-client.d.ts +29 -0
  1357. package/node_modules/oci-common/lib/auth/models/federation-client.js +7 -0
  1358. package/node_modules/oci-common/lib/auth/models/federation-client.js.map +1 -0
  1359. package/node_modules/oci-common/lib/auth/models/refreshable-on-not-authenticaticated-provider.d.ts +23 -0
  1360. package/node_modules/oci-common/lib/auth/models/refreshable-on-not-authenticaticated-provider.js +7 -0
  1361. package/node_modules/oci-common/lib/auth/models/refreshable-on-not-authenticaticated-provider.js.map +1 -0
  1362. package/node_modules/oci-common/lib/auth/models/refreshable.d.ts +23 -0
  1363. package/node_modules/oci-common/lib/auth/models/refreshable.js +7 -0
  1364. package/node_modules/oci-common/lib/auth/models/refreshable.js.map +1 -0
  1365. package/node_modules/oci-common/lib/auth/models/session-key-supplier.d.ts +27 -0
  1366. package/node_modules/oci-common/lib/auth/models/session-key-supplier.js +7 -0
  1367. package/node_modules/oci-common/lib/auth/models/session-key-supplier.js.map +1 -0
  1368. package/node_modules/oci-common/lib/auth/oke-workload-identity-authentication-details-provider.d.ts +56 -0
  1369. package/node_modules/oci-common/lib/auth/oke-workload-identity-authentication-details-provider.js +139 -0
  1370. package/node_modules/oci-common/lib/auth/oke-workload-identity-authentication-details-provider.js.map +1 -0
  1371. package/node_modules/oci-common/lib/auth/resource-principal-authentication-details-provider.d.ts +63 -0
  1372. package/node_modules/oci-common/lib/auth/resource-principal-authentication-details-provider.js +184 -0
  1373. package/node_modules/oci-common/lib/auth/resource-principal-authentication-details-provider.js.map +1 -0
  1374. package/node_modules/oci-common/lib/auth/security-token-adapter.d.ts +38 -0
  1375. package/node_modules/oci-common/lib/auth/security-token-adapter.js +71 -0
  1376. package/node_modules/oci-common/lib/auth/security-token-adapter.js.map +1 -0
  1377. package/node_modules/oci-common/lib/auth/session-auth-details-provider.d.ts +8 -0
  1378. package/node_modules/oci-common/lib/auth/session-auth-details-provider.js +71 -0
  1379. package/node_modules/oci-common/lib/auth/session-auth-details-provider.js.map +1 -0
  1380. package/node_modules/oci-common/lib/auth/session-key-supplier.d.ts +12 -0
  1381. package/node_modules/oci-common/lib/auth/session-key-supplier.js +53 -0
  1382. package/node_modules/oci-common/lib/auth/session-key-supplier.js.map +1 -0
  1383. package/node_modules/oci-common/lib/auth/url-based-x509-certificate-supplier.d.ts +43 -0
  1384. package/node_modules/oci-common/lib/auth/url-based-x509-certificate-supplier.js +113 -0
  1385. package/node_modules/oci-common/lib/auth/url-based-x509-certificate-supplier.js.map +1 -0
  1386. package/node_modules/oci-common/lib/base-request.d.ts +17 -0
  1387. package/node_modules/oci-common/lib/base-request.js +7 -0
  1388. package/node_modules/oci-common/lib/base-request.js.map +1 -0
  1389. package/node_modules/oci-common/lib/chunker.d.ts +6 -0
  1390. package/node_modules/oci-common/lib/chunker.js +45 -0
  1391. package/node_modules/oci-common/lib/chunker.js.map +1 -0
  1392. package/node_modules/oci-common/lib/chunks/ChunkBuffer.d.ts +7 -0
  1393. package/node_modules/oci-common/lib/chunks/ChunkBuffer.js +53 -0
  1394. package/node_modules/oci-common/lib/chunks/ChunkBuffer.js.map +1 -0
  1395. package/node_modules/oci-common/lib/chunks/ChunkStream.d.ts +7 -0
  1396. package/node_modules/oci-common/lib/chunks/ChunkStream.js +80 -0
  1397. package/node_modules/oci-common/lib/chunks/ChunkStream.js.map +1 -0
  1398. package/node_modules/oci-common/lib/chunks/getReadableData.d.ts +7 -0
  1399. package/node_modules/oci-common/lib/chunks/getReadableData.js +47 -0
  1400. package/node_modules/oci-common/lib/chunks/getReadableData.js.map +1 -0
  1401. package/node_modules/oci-common/lib/chunks/getReadableStreamData.d.ts +6 -0
  1402. package/node_modules/oci-common/lib/chunks/getReadableStreamData.js +41 -0
  1403. package/node_modules/oci-common/lib/chunks/getReadableStreamData.js.map +1 -0
  1404. package/node_modules/oci-common/lib/circuit-breaker.d.ts +37 -0
  1405. package/node_modules/oci-common/lib/circuit-breaker.js +133 -0
  1406. package/node_modules/oci-common/lib/circuit-breaker.js.map +1 -0
  1407. package/node_modules/oci-common/lib/client-configuration.d.ts +23 -0
  1408. package/node_modules/oci-common/lib/client-configuration.js +7 -0
  1409. package/node_modules/oci-common/lib/client-configuration.js.map +1 -0
  1410. package/node_modules/oci-common/lib/config-file-reader.d.ts +51 -0
  1411. package/node_modules/oci-common/lib/config-file-reader.js +176 -0
  1412. package/node_modules/oci-common/lib/config-file-reader.js.map +1 -0
  1413. package/node_modules/oci-common/lib/constants.d.ts +14 -0
  1414. package/node_modules/oci-common/lib/constants.js +19 -0
  1415. package/node_modules/oci-common/lib/constants.js.map +1 -0
  1416. package/node_modules/oci-common/lib/developer-tool-configuration-file-schema.d.ts +11 -0
  1417. package/node_modules/oci-common/lib/developer-tool-configuration-file-schema.js +7 -0
  1418. package/node_modules/oci-common/lib/developer-tool-configuration-file-schema.js.map +1 -0
  1419. package/node_modules/oci-common/lib/developertoolconfiguration.d.ts +7 -0
  1420. package/node_modules/oci-common/lib/developertoolconfiguration.js +138 -0
  1421. package/node_modules/oci-common/lib/developertoolconfiguration.js.map +1 -0
  1422. package/node_modules/oci-common/lib/endpoint-builder.d.ts +17 -0
  1423. package/node_modules/oci-common/lib/endpoint-builder.js +134 -0
  1424. package/node_modules/oci-common/lib/endpoint-builder.js.map +1 -0
  1425. package/node_modules/oci-common/lib/error.d.ts +14 -0
  1426. package/node_modules/oci-common/lib/error.js +34 -0
  1427. package/node_modules/oci-common/lib/error.js.map +1 -0
  1428. package/node_modules/oci-common/lib/headers.d.ts +6 -0
  1429. package/node_modules/oci-common/lib/headers.js +66 -0
  1430. package/node_modules/oci-common/lib/headers.js.map +1 -0
  1431. package/node_modules/oci-common/lib/helper.d.ts +22 -0
  1432. package/node_modules/oci-common/lib/helper.js +310 -0
  1433. package/node_modules/oci-common/lib/helper.js.map +1 -0
  1434. package/node_modules/oci-common/lib/http-request.d.ts +11 -0
  1435. package/node_modules/oci-common/lib/http-request.js +7 -0
  1436. package/node_modules/oci-common/lib/http-request.js.map +1 -0
  1437. package/node_modules/oci-common/lib/http.d.ts +24 -0
  1438. package/node_modules/oci-common/lib/http.js +109 -0
  1439. package/node_modules/oci-common/lib/http.js.map +1 -0
  1440. package/node_modules/oci-common/lib/log.d.ts +18 -0
  1441. package/node_modules/oci-common/lib/log.js +20 -0
  1442. package/node_modules/oci-common/lib/log.js.map +1 -0
  1443. package/node_modules/oci-common/lib/object-serializer.d.ts +9 -0
  1444. package/node_modules/oci-common/lib/object-serializer.js +69 -0
  1445. package/node_modules/oci-common/lib/object-serializer.js.map +1 -0
  1446. package/node_modules/oci-common/lib/paginators.d.ts +18 -0
  1447. package/node_modules/oci-common/lib/paginators.js +145 -0
  1448. package/node_modules/oci-common/lib/paginators.js.map +1 -0
  1449. package/node_modules/oci-common/lib/range.d.ts +27 -0
  1450. package/node_modules/oci-common/lib/range.js +60 -0
  1451. package/node_modules/oci-common/lib/range.js.map +1 -0
  1452. package/node_modules/oci-common/lib/realm.d.ts +41 -0
  1453. package/node_modules/oci-common/lib/realm.js +82 -0
  1454. package/node_modules/oci-common/lib/realm.js.map +1 -0
  1455. package/node_modules/oci-common/lib/region-metadata-schema.d.ts +13 -0
  1456. package/node_modules/oci-common/lib/region-metadata-schema.js +28 -0
  1457. package/node_modules/oci-common/lib/region-metadata-schema.js.map +1 -0
  1458. package/node_modules/oci-common/lib/region.d.ts +151 -0
  1459. package/node_modules/oci-common/lib/region.js +422 -0
  1460. package/node_modules/oci-common/lib/region.js.map +1 -0
  1461. package/node_modules/oci-common/lib/request-generator.d.ts +23 -0
  1462. package/node_modules/oci-common/lib/request-generator.js +129 -0
  1463. package/node_modules/oci-common/lib/request-generator.js.map +1 -0
  1464. package/node_modules/oci-common/lib/response-generator.d.ts +20 -0
  1465. package/node_modules/oci-common/lib/response-generator.js +37 -0
  1466. package/node_modules/oci-common/lib/response-generator.js.map +1 -0
  1467. package/node_modules/oci-common/lib/retrier.d.ts +53 -0
  1468. package/node_modules/oci-common/lib/retrier.js +223 -0
  1469. package/node_modules/oci-common/lib/retrier.js.map +1 -0
  1470. package/node_modules/oci-common/lib/retry-token-header.d.ts +9 -0
  1471. package/node_modules/oci-common/lib/retry-token-header.js +29 -0
  1472. package/node_modules/oci-common/lib/retry-token-header.js.map +1 -0
  1473. package/node_modules/oci-common/lib/signer.d.ts +48 -0
  1474. package/node_modules/oci-common/lib/signer.js +156 -0
  1475. package/node_modules/oci-common/lib/signer.js.map +1 -0
  1476. package/node_modules/oci-common/lib/types.d.ts +23 -0
  1477. package/node_modules/oci-common/lib/types.js +7 -0
  1478. package/node_modules/oci-common/lib/types.js.map +1 -0
  1479. package/node_modules/oci-common/lib/utils.d.ts +11 -0
  1480. package/node_modules/oci-common/lib/utils.js +50 -0
  1481. package/node_modules/oci-common/lib/utils.js.map +1 -0
  1482. package/node_modules/oci-common/lib/waiter.d.ts +52 -0
  1483. package/node_modules/oci-common/lib/waiter.js +121 -0
  1484. package/node_modules/oci-common/lib/waiter.js.map +1 -0
  1485. package/node_modules/oci-common/node_modules/jsonwebtoken/LICENSE +21 -0
  1486. package/node_modules/oci-common/node_modules/jsonwebtoken/README.md +396 -0
  1487. package/node_modules/oci-common/node_modules/jsonwebtoken/decode.js +30 -0
  1488. package/node_modules/oci-common/node_modules/jsonwebtoken/index.js +12 -0
  1489. package/node_modules/oci-common/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +14 -0
  1490. package/node_modules/oci-common/node_modules/jsonwebtoken/lib/NotBeforeError.js +13 -0
  1491. package/node_modules/oci-common/node_modules/jsonwebtoken/lib/TokenExpiredError.js +13 -0
  1492. package/node_modules/oci-common/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js +3 -0
  1493. package/node_modules/oci-common/node_modules/jsonwebtoken/lib/psSupported.js +3 -0
  1494. package/node_modules/oci-common/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js +3 -0
  1495. package/node_modules/oci-common/node_modules/jsonwebtoken/lib/timespan.js +18 -0
  1496. package/node_modules/oci-common/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +66 -0
  1497. package/node_modules/oci-common/node_modules/jsonwebtoken/package.json +65 -0
  1498. package/node_modules/oci-common/node_modules/jsonwebtoken/sign.js +247 -0
  1499. package/node_modules/oci-common/node_modules/jsonwebtoken/verify.js +263 -0
  1500. package/node_modules/oci-common/node_modules/jssha/CHANGELOG.md +178 -0
  1501. package/node_modules/oci-common/node_modules/jssha/LICENSE +26 -0
  1502. package/node_modules/oci-common/node_modules/jssha/README.md +122 -0
  1503. package/node_modules/oci-common/node_modules/jssha/bower.json +51 -0
  1504. package/node_modules/oci-common/node_modules/jssha/package.json +54 -0
  1505. package/node_modules/oci-common/node_modules/jssha/src/sha.js +44 -0
  1506. package/node_modules/oci-common/node_modules/jssha/src/sha1.js +24 -0
  1507. package/node_modules/oci-common/node_modules/jssha/src/sha256.js +28 -0
  1508. package/node_modules/oci-common/node_modules/jssha/src/sha3.js +28 -0
  1509. package/node_modules/oci-common/node_modules/jssha/src/sha512.js +35 -0
  1510. package/node_modules/oci-common/node_modules/jwa/LICENSE +17 -0
  1511. package/node_modules/oci-common/node_modules/jwa/README.md +150 -0
  1512. package/node_modules/oci-common/node_modules/jwa/index.js +266 -0
  1513. package/node_modules/oci-common/node_modules/jwa/package.json +37 -0
  1514. package/node_modules/oci-common/node_modules/jws/CHANGELOG.md +47 -0
  1515. package/node_modules/oci-common/node_modules/jws/LICENSE +17 -0
  1516. package/node_modules/oci-common/node_modules/jws/index.js +22 -0
  1517. package/node_modules/oci-common/node_modules/jws/lib/data-stream.js +55 -0
  1518. package/node_modules/oci-common/node_modules/jws/lib/sign-stream.js +83 -0
  1519. package/node_modules/oci-common/node_modules/jws/lib/tostring.js +10 -0
  1520. package/node_modules/oci-common/node_modules/jws/lib/verify-stream.js +125 -0
  1521. package/node_modules/oci-common/node_modules/jws/package.json +34 -0
  1522. package/node_modules/oci-common/node_modules/jws/readme.md +255 -0
  1523. package/node_modules/oci-common/node_modules/opossum/CHANGELOG.md +474 -0
  1524. package/node_modules/oci-common/node_modules/opossum/LICENSE +201 -0
  1525. package/node_modules/oci-common/node_modules/opossum/README.md +273 -0
  1526. package/node_modules/oci-common/node_modules/opossum/dist/.nodelete +0 -0
  1527. package/node_modules/oci-common/node_modules/opossum/dist/browser-test.map +1 -0
  1528. package/node_modules/oci-common/node_modules/opossum/dist/opossum.js +3484 -0
  1529. package/node_modules/oci-common/node_modules/opossum/dist/opossum.map +1 -0
  1530. package/node_modules/oci-common/node_modules/opossum/dist/opossum.min.js +13 -0
  1531. package/node_modules/oci-common/node_modules/opossum/dist/opossum.min.map +1 -0
  1532. package/node_modules/oci-common/node_modules/opossum/index.js +3 -0
  1533. package/node_modules/oci-common/node_modules/opossum/lib/circuit.js +713 -0
  1534. package/node_modules/oci-common/node_modules/opossum/lib/semaphore.js +54 -0
  1535. package/node_modules/oci-common/node_modules/opossum/lib/status.js +197 -0
  1536. package/node_modules/oci-common/node_modules/opossum/package.json +80 -0
  1537. package/node_modules/oci-common/node_modules/uuid/AUTHORS +5 -0
  1538. package/node_modules/oci-common/node_modules/uuid/CHANGELOG.md +112 -0
  1539. package/node_modules/oci-common/node_modules/uuid/LICENSE.md +21 -0
  1540. package/node_modules/oci-common/node_modules/uuid/README.md +293 -0
  1541. package/node_modules/oci-common/node_modules/uuid/bin/uuid +65 -0
  1542. package/node_modules/oci-common/node_modules/uuid/index.js +8 -0
  1543. package/node_modules/oci-common/node_modules/uuid/lib/bytesToUuid.js +24 -0
  1544. package/node_modules/oci-common/node_modules/uuid/lib/md5-browser.js +216 -0
  1545. package/node_modules/oci-common/node_modules/uuid/lib/md5.js +25 -0
  1546. package/node_modules/oci-common/node_modules/uuid/lib/rng-browser.js +34 -0
  1547. package/node_modules/oci-common/node_modules/uuid/lib/rng.js +8 -0
  1548. package/node_modules/oci-common/node_modules/uuid/lib/sha1-browser.js +89 -0
  1549. package/node_modules/oci-common/node_modules/uuid/lib/sha1.js +25 -0
  1550. package/node_modules/oci-common/node_modules/uuid/lib/v35.js +57 -0
  1551. package/node_modules/oci-common/node_modules/uuid/package.json +44 -0
  1552. package/node_modules/oci-common/node_modules/uuid/v1.js +109 -0
  1553. package/node_modules/oci-common/node_modules/uuid/v3.js +4 -0
  1554. package/node_modules/oci-common/node_modules/uuid/v4.js +29 -0
  1555. package/node_modules/oci-common/node_modules/uuid/v5.js +3 -0
  1556. package/node_modules/oci-common/package.json +55 -0
  1557. package/node_modules/oci-generativeaiagentruntime/LICENSE.txt +89 -0
  1558. package/node_modules/oci-generativeaiagentruntime/NOTICE.txt +1 -0
  1559. package/node_modules/oci-generativeaiagentruntime/README.md +22 -0
  1560. package/node_modules/oci-generativeaiagentruntime/THIRD_PARTY_LICENSES.txt +576 -0
  1561. package/node_modules/oci-generativeaiagentruntime/index.d.ts +29 -0
  1562. package/node_modules/oci-generativeaiagentruntime/index.js +52 -0
  1563. package/node_modules/oci-generativeaiagentruntime/index.js.map +1 -0
  1564. package/node_modules/oci-generativeaiagentruntime/lib/client.d.ts +154 -0
  1565. package/node_modules/oci-generativeaiagentruntime/lib/client.js +592 -0
  1566. package/node_modules/oci-generativeaiagentruntime/lib/client.js.map +1 -0
  1567. package/node_modules/oci-generativeaiagentruntime/lib/model/chat-details.d.ts +59 -0
  1568. package/node_modules/oci-generativeaiagentruntime/lib/model/chat-details.js +80 -0
  1569. package/node_modules/oci-generativeaiagentruntime/lib/model/chat-details.js.map +1 -0
  1570. package/node_modules/oci-generativeaiagentruntime/lib/model/chat-result.d.ts +58 -0
  1571. package/node_modules/oci-generativeaiagentruntime/lib/model/chat-result.js +92 -0
  1572. package/node_modules/oci-generativeaiagentruntime/lib/model/chat-result.js.map +1 -0
  1573. package/node_modules/oci-generativeaiagentruntime/lib/model/citation.d.ts +55 -0
  1574. package/node_modules/oci-generativeaiagentruntime/lib/model/citation.js +66 -0
  1575. package/node_modules/oci-generativeaiagentruntime/lib/model/citation.js.map +1 -0
  1576. package/node_modules/oci-generativeaiagentruntime/lib/model/create-session-details.d.ts +39 -0
  1577. package/node_modules/oci-generativeaiagentruntime/lib/model/create-session-details.js +38 -0
  1578. package/node_modules/oci-generativeaiagentruntime/lib/model/create-session-details.js.map +1 -0
  1579. package/node_modules/oci-generativeaiagentruntime/lib/model/error-trace.d.ts +42 -0
  1580. package/node_modules/oci-generativeaiagentruntime/lib/model/error-trace.js +59 -0
  1581. package/node_modules/oci-generativeaiagentruntime/lib/model/error-trace.js.map +1 -0
  1582. package/node_modules/oci-generativeaiagentruntime/lib/model/execution-trace.d.ts +41 -0
  1583. package/node_modules/oci-generativeaiagentruntime/lib/model/execution-trace.js +59 -0
  1584. package/node_modules/oci-generativeaiagentruntime/lib/model/execution-trace.js.map +1 -0
  1585. package/node_modules/oci-generativeaiagentruntime/lib/model/function-call.d.ts +39 -0
  1586. package/node_modules/oci-generativeaiagentruntime/lib/model/function-call.js +38 -0
  1587. package/node_modules/oci-generativeaiagentruntime/lib/model/function-call.js.map +1 -0
  1588. package/node_modules/oci-generativeaiagentruntime/lib/model/function-calling-performed-action.d.ts +38 -0
  1589. package/node_modules/oci-generativeaiagentruntime/lib/model/function-calling-performed-action.js +63 -0
  1590. package/node_modules/oci-generativeaiagentruntime/lib/model/function-calling-performed-action.js.map +1 -0
  1591. package/node_modules/oci-generativeaiagentruntime/lib/model/function-calling-required-action.d.ts +35 -0
  1592. package/node_modules/oci-generativeaiagentruntime/lib/model/function-calling-required-action.js +71 -0
  1593. package/node_modules/oci-generativeaiagentruntime/lib/model/function-calling-required-action.js.map +1 -0
  1594. package/node_modules/oci-generativeaiagentruntime/lib/model/generation-trace.d.ts +46 -0
  1595. package/node_modules/oci-generativeaiagentruntime/lib/model/generation-trace.js +71 -0
  1596. package/node_modules/oci-generativeaiagentruntime/lib/model/generation-trace.js.map +1 -0
  1597. package/node_modules/oci-generativeaiagentruntime/lib/model/generic-tool-input.d.ts +38 -0
  1598. package/node_modules/oci-generativeaiagentruntime/lib/model/generic-tool-input.js +61 -0
  1599. package/node_modules/oci-generativeaiagentruntime/lib/model/generic-tool-input.js.map +1 -0
  1600. package/node_modules/oci-generativeaiagentruntime/lib/model/generic-tool-output.d.ts +38 -0
  1601. package/node_modules/oci-generativeaiagentruntime/lib/model/generic-tool-output.js +61 -0
  1602. package/node_modules/oci-generativeaiagentruntime/lib/model/generic-tool-output.js.map +1 -0
  1603. package/node_modules/oci-generativeaiagentruntime/lib/model/human-approval-performed-action.d.ts +41 -0
  1604. package/node_modules/oci-generativeaiagentruntime/lib/model/human-approval-performed-action.js +68 -0
  1605. package/node_modules/oci-generativeaiagentruntime/lib/model/human-approval-performed-action.js.map +1 -0
  1606. package/node_modules/oci-generativeaiagentruntime/lib/model/human-approval-required-action.d.ts +50 -0
  1607. package/node_modules/oci-generativeaiagentruntime/lib/model/human-approval-required-action.js +73 -0
  1608. package/node_modules/oci-generativeaiagentruntime/lib/model/human-approval-required-action.js.map +1 -0
  1609. package/node_modules/oci-generativeaiagentruntime/lib/model/index.d.ts +109 -0
  1610. package/node_modules/oci-generativeaiagentruntime/lib/model/index.js +132 -0
  1611. package/node_modules/oci-generativeaiagentruntime/lib/model/index.js.map +1 -0
  1612. package/node_modules/oci-generativeaiagentruntime/lib/model/knowledge-base-metadata-summary.d.ts +76 -0
  1613. package/node_modules/oci-generativeaiagentruntime/lib/model/knowledge-base-metadata-summary.js +70 -0
  1614. package/node_modules/oci-generativeaiagentruntime/lib/model/knowledge-base-metadata-summary.js.map +1 -0
  1615. package/node_modules/oci-generativeaiagentruntime/lib/model/knowledge-base-metadata-value.d.ts +39 -0
  1616. package/node_modules/oci-generativeaiagentruntime/lib/model/knowledge-base-metadata-value.js +38 -0
  1617. package/node_modules/oci-generativeaiagentruntime/lib/model/knowledge-base-metadata-value.js.map +1 -0
  1618. package/node_modules/oci-generativeaiagentruntime/lib/model/message-content.d.ts +44 -0
  1619. package/node_modules/oci-generativeaiagentruntime/lib/model/message-content.js +80 -0
  1620. package/node_modules/oci-generativeaiagentruntime/lib/model/message-content.js.map +1 -0
  1621. package/node_modules/oci-generativeaiagentruntime/lib/model/message.d.ts +50 -0
  1622. package/node_modules/oci-generativeaiagentruntime/lib/model/message.js +74 -0
  1623. package/node_modules/oci-generativeaiagentruntime/lib/model/message.js.map +1 -0
  1624. package/node_modules/oci-generativeaiagentruntime/lib/model/metadata-filter.d.ts +39 -0
  1625. package/node_modules/oci-generativeaiagentruntime/lib/model/metadata-filter.js +38 -0
  1626. package/node_modules/oci-generativeaiagentruntime/lib/model/metadata-filter.js.map +1 -0
  1627. package/node_modules/oci-generativeaiagentruntime/lib/model/model-details.d.ts +40 -0
  1628. package/node_modules/oci-generativeaiagentruntime/lib/model/model-details.js +64 -0
  1629. package/node_modules/oci-generativeaiagentruntime/lib/model/model-details.js.map +1 -0
  1630. package/node_modules/oci-generativeaiagentruntime/lib/model/model-params.d.ts +54 -0
  1631. package/node_modules/oci-generativeaiagentruntime/lib/model/model-params.js +38 -0
  1632. package/node_modules/oci-generativeaiagentruntime/lib/model/model-params.js.map +1 -0
  1633. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-database-source-location.d.ts +46 -0
  1634. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-database-source-location.js +63 -0
  1635. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-database-source-location.js.map +1 -0
  1636. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-object-storage-source-location.d.ts +38 -0
  1637. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-object-storage-source-location.js +63 -0
  1638. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-object-storage-source-location.js.map +1 -0
  1639. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-open-search-source-location.d.ts +46 -0
  1640. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-open-search-source-location.js +63 -0
  1641. package/node_modules/oci-generativeaiagentruntime/lib/model/oci-open-search-source-location.js.map +1 -0
  1642. package/node_modules/oci-generativeaiagentruntime/lib/model/paragraph-citation.d.ts +37 -0
  1643. package/node_modules/oci-generativeaiagentruntime/lib/model/paragraph-citation.js +74 -0
  1644. package/node_modules/oci-generativeaiagentruntime/lib/model/paragraph-citation.js.map +1 -0
  1645. package/node_modules/oci-generativeaiagentruntime/lib/model/paragraph.d.ts +43 -0
  1646. package/node_modules/oci-generativeaiagentruntime/lib/model/paragraph.js +38 -0
  1647. package/node_modules/oci-generativeaiagentruntime/lib/model/paragraph.js.map +1 -0
  1648. package/node_modules/oci-generativeaiagentruntime/lib/model/performed-action.d.ts +36 -0
  1649. package/node_modules/oci-generativeaiagentruntime/lib/model/performed-action.js +81 -0
  1650. package/node_modules/oci-generativeaiagentruntime/lib/model/performed-action.js.map +1 -0
  1651. package/node_modules/oci-generativeaiagentruntime/lib/model/planning-trace.d.ts +45 -0
  1652. package/node_modules/oci-generativeaiagentruntime/lib/model/planning-trace.js +71 -0
  1653. package/node_modules/oci-generativeaiagentruntime/lib/model/planning-trace.js.map +1 -0
  1654. package/node_modules/oci-generativeaiagentruntime/lib/model/rag-tool-output.d.ts +46 -0
  1655. package/node_modules/oci-generativeaiagentruntime/lib/model/rag-tool-output.js +81 -0
  1656. package/node_modules/oci-generativeaiagentruntime/lib/model/rag-tool-output.js.map +1 -0
  1657. package/node_modules/oci-generativeaiagentruntime/lib/model/required-action.d.ts +36 -0
  1658. package/node_modules/oci-generativeaiagentruntime/lib/model/required-action.js +81 -0
  1659. package/node_modules/oci-generativeaiagentruntime/lib/model/required-action.js.map +1 -0
  1660. package/node_modules/oci-generativeaiagentruntime/lib/model/retrieval-trace.d.ts +46 -0
  1661. package/node_modules/oci-generativeaiagentruntime/lib/model/retrieval-trace.js +81 -0
  1662. package/node_modules/oci-generativeaiagentruntime/lib/model/retrieval-trace.js.map +1 -0
  1663. package/node_modules/oci-generativeaiagentruntime/lib/model/retrieve-metadata-details.d.ts +36 -0
  1664. package/node_modules/oci-generativeaiagentruntime/lib/model/retrieve-metadata-details.js +70 -0
  1665. package/node_modules/oci-generativeaiagentruntime/lib/model/retrieve-metadata-details.js.map +1 -0
  1666. package/node_modules/oci-generativeaiagentruntime/lib/model/session.d.ts +55 -0
  1667. package/node_modules/oci-generativeaiagentruntime/lib/model/session.js +38 -0
  1668. package/node_modules/oci-generativeaiagentruntime/lib/model/session.js.map +1 -0
  1669. package/node_modules/oci-generativeaiagentruntime/lib/model/source-details.d.ts +39 -0
  1670. package/node_modules/oci-generativeaiagentruntime/lib/model/source-details.js +38 -0
  1671. package/node_modules/oci-generativeaiagentruntime/lib/model/source-details.js.map +1 -0
  1672. package/node_modules/oci-generativeaiagentruntime/lib/model/source-location.d.ts +32 -0
  1673. package/node_modules/oci-generativeaiagentruntime/lib/model/source-location.js +85 -0
  1674. package/node_modules/oci-generativeaiagentruntime/lib/model/source-location.js.map +1 -0
  1675. package/node_modules/oci-generativeaiagentruntime/lib/model/sql-result-files.d.ts +39 -0
  1676. package/node_modules/oci-generativeaiagentruntime/lib/model/sql-result-files.js +38 -0
  1677. package/node_modules/oci-generativeaiagentruntime/lib/model/sql-result-files.js.map +1 -0
  1678. package/node_modules/oci-generativeaiagentruntime/lib/model/sql-tool-output.d.ts +47 -0
  1679. package/node_modules/oci-generativeaiagentruntime/lib/model/sql-tool-output.js +67 -0
  1680. package/node_modules/oci-generativeaiagentruntime/lib/model/sql-tool-output.js.map +1 -0
  1681. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-input.d.ts +36 -0
  1682. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-input.js +77 -0
  1683. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-input.js.map +1 -0
  1684. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-invocation-trace.d.ts +45 -0
  1685. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-invocation-trace.js +59 -0
  1686. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-invocation-trace.js.map +1 -0
  1687. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-output.d.ts +40 -0
  1688. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-output.js +85 -0
  1689. package/node_modules/oci-generativeaiagentruntime/lib/model/tool-output.js.map +1 -0
  1690. package/node_modules/oci-generativeaiagentruntime/lib/model/trace.d.ts +50 -0
  1691. package/node_modules/oci-generativeaiagentruntime/lib/model/trace.js +101 -0
  1692. package/node_modules/oci-generativeaiagentruntime/lib/model/trace.js.map +1 -0
  1693. package/node_modules/oci-generativeaiagentruntime/lib/model/update-session-details.d.ts +39 -0
  1694. package/node_modules/oci-generativeaiagentruntime/lib/model/update-session-details.js +38 -0
  1695. package/node_modules/oci-generativeaiagentruntime/lib/model/update-session-details.js.map +1 -0
  1696. package/node_modules/oci-generativeaiagentruntime/lib/model/usage-details.d.ts +46 -0
  1697. package/node_modules/oci-generativeaiagentruntime/lib/model/usage-details.js +38 -0
  1698. package/node_modules/oci-generativeaiagentruntime/lib/model/usage-details.js.map +1 -0
  1699. package/node_modules/oci-generativeaiagentruntime/lib/model/usage.d.ts +33 -0
  1700. package/node_modules/oci-generativeaiagentruntime/lib/model/usage.js +72 -0
  1701. package/node_modules/oci-generativeaiagentruntime/lib/model/usage.js.map +1 -0
  1702. package/node_modules/oci-generativeaiagentruntime/lib/request/chat-request.d.ts +49 -0
  1703. package/node_modules/oci-generativeaiagentruntime/lib/request/chat-request.js +15 -0
  1704. package/node_modules/oci-generativeaiagentruntime/lib/request/chat-request.js.map +1 -0
  1705. package/node_modules/oci-generativeaiagentruntime/lib/request/create-session-request.d.ts +40 -0
  1706. package/node_modules/oci-generativeaiagentruntime/lib/request/create-session-request.js +15 -0
  1707. package/node_modules/oci-generativeaiagentruntime/lib/request/create-session-request.js.map +1 -0
  1708. package/node_modules/oci-generativeaiagentruntime/lib/request/delete-session-request.d.ts +39 -0
  1709. package/node_modules/oci-generativeaiagentruntime/lib/request/delete-session-request.js +15 -0
  1710. package/node_modules/oci-generativeaiagentruntime/lib/request/delete-session-request.js.map +1 -0
  1711. package/node_modules/oci-generativeaiagentruntime/lib/request/get-session-request.d.ts +30 -0
  1712. package/node_modules/oci-generativeaiagentruntime/lib/request/get-session-request.js +15 -0
  1713. package/node_modules/oci-generativeaiagentruntime/lib/request/get-session-request.js.map +1 -0
  1714. package/node_modules/oci-generativeaiagentruntime/lib/request/index.d.ts +33 -0
  1715. package/node_modules/oci-generativeaiagentruntime/lib/request/index.js +24 -0
  1716. package/node_modules/oci-generativeaiagentruntime/lib/request/index.js.map +1 -0
  1717. package/node_modules/oci-generativeaiagentruntime/lib/request/retrieve-metadata-request.d.ts +49 -0
  1718. package/node_modules/oci-generativeaiagentruntime/lib/request/retrieve-metadata-request.js +15 -0
  1719. package/node_modules/oci-generativeaiagentruntime/lib/request/retrieve-metadata-request.js.map +1 -0
  1720. package/node_modules/oci-generativeaiagentruntime/lib/request/update-session-request.d.ts +44 -0
  1721. package/node_modules/oci-generativeaiagentruntime/lib/request/update-session-request.js +15 -0
  1722. package/node_modules/oci-generativeaiagentruntime/lib/request/update-session-request.js.map +1 -0
  1723. package/node_modules/oci-generativeaiagentruntime/lib/response/chat-response.d.ts +25 -0
  1724. package/node_modules/oci-generativeaiagentruntime/lib/response/chat-response.js +15 -0
  1725. package/node_modules/oci-generativeaiagentruntime/lib/response/chat-response.js.map +1 -0
  1726. package/node_modules/oci-generativeaiagentruntime/lib/response/create-session-response.d.ts +30 -0
  1727. package/node_modules/oci-generativeaiagentruntime/lib/response/create-session-response.js +15 -0
  1728. package/node_modules/oci-generativeaiagentruntime/lib/response/create-session-response.js.map +1 -0
  1729. package/node_modules/oci-generativeaiagentruntime/lib/response/delete-session-response.d.ts +20 -0
  1730. package/node_modules/oci-generativeaiagentruntime/lib/response/delete-session-response.js +15 -0
  1731. package/node_modules/oci-generativeaiagentruntime/lib/response/delete-session-response.js.map +1 -0
  1732. package/node_modules/oci-generativeaiagentruntime/lib/response/get-session-response.d.ts +30 -0
  1733. package/node_modules/oci-generativeaiagentruntime/lib/response/get-session-response.js +15 -0
  1734. package/node_modules/oci-generativeaiagentruntime/lib/response/get-session-response.js.map +1 -0
  1735. package/node_modules/oci-generativeaiagentruntime/lib/response/index.d.ts +33 -0
  1736. package/node_modules/oci-generativeaiagentruntime/lib/response/index.js +24 -0
  1737. package/node_modules/oci-generativeaiagentruntime/lib/response/index.js.map +1 -0
  1738. package/node_modules/oci-generativeaiagentruntime/lib/response/retrieve-metadata-response.d.ts +30 -0
  1739. package/node_modules/oci-generativeaiagentruntime/lib/response/retrieve-metadata-response.js +15 -0
  1740. package/node_modules/oci-generativeaiagentruntime/lib/response/retrieve-metadata-response.js.map +1 -0
  1741. package/node_modules/oci-generativeaiagentruntime/lib/response/update-session-response.d.ts +30 -0
  1742. package/node_modules/oci-generativeaiagentruntime/lib/response/update-session-response.js +15 -0
  1743. package/node_modules/oci-generativeaiagentruntime/lib/response/update-session-response.js.map +1 -0
  1744. package/node_modules/oci-generativeaiagentruntime/package.json +29 -0
  1745. package/node_modules/oci-workrequests/LICENSE.txt +89 -0
  1746. package/node_modules/oci-workrequests/NOTICE.txt +1 -0
  1747. package/node_modules/oci-workrequests/README.md +21 -0
  1748. package/node_modules/oci-workrequests/THIRD_PARTY_LICENSES.txt +576 -0
  1749. package/node_modules/oci-workrequests/index.d.ts +30 -0
  1750. package/node_modules/oci-workrequests/index.js +53 -0
  1751. package/node_modules/oci-workrequests/index.js.map +1 -0
  1752. package/node_modules/oci-workrequests/lib/client.d.ts +240 -0
  1753. package/node_modules/oci-workrequests/lib/client.js +602 -0
  1754. package/node_modules/oci-workrequests/lib/client.js.map +1 -0
  1755. package/node_modules/oci-workrequests/lib/model/index.d.ts +28 -0
  1756. package/node_modules/oci-workrequests/lib/model/index.js +51 -0
  1757. package/node_modules/oci-workrequests/lib/model/index.js.map +1 -0
  1758. package/node_modules/oci-workrequests/lib/model/work-request-error.d.ts +39 -0
  1759. package/node_modules/oci-workrequests/lib/model/work-request-error.js +35 -0
  1760. package/node_modules/oci-workrequests/lib/model/work-request-error.js.map +1 -0
  1761. package/node_modules/oci-workrequests/lib/model/work-request-log-entry.d.ts +35 -0
  1762. package/node_modules/oci-workrequests/lib/model/work-request-log-entry.js +35 -0
  1763. package/node_modules/oci-workrequests/lib/model/work-request-log-entry.js.map +1 -0
  1764. package/node_modules/oci-workrequests/lib/model/work-request-resource.d.ts +61 -0
  1765. package/node_modules/oci-workrequests/lib/model/work-request-resource.js +48 -0
  1766. package/node_modules/oci-workrequests/lib/model/work-request-resource.js.map +1 -0
  1767. package/node_modules/oci-workrequests/lib/model/work-request-summary.d.ts +78 -0
  1768. package/node_modules/oci-workrequests/lib/model/work-request-summary.js +49 -0
  1769. package/node_modules/oci-workrequests/lib/model/work-request-summary.js.map +1 -0
  1770. package/node_modules/oci-workrequests/lib/model/work-request.d.ts +83 -0
  1771. package/node_modules/oci-workrequests/lib/model/work-request.js +81 -0
  1772. package/node_modules/oci-workrequests/lib/model/work-request.js.map +1 -0
  1773. package/node_modules/oci-workrequests/lib/request/get-work-request-request.d.ts +28 -0
  1774. package/node_modules/oci-workrequests/lib/request/get-work-request-request.js +15 -0
  1775. package/node_modules/oci-workrequests/lib/request/get-work-request-request.js.map +1 -0
  1776. package/node_modules/oci-workrequests/lib/request/index.d.ts +26 -0
  1777. package/node_modules/oci-workrequests/lib/request/index.js +45 -0
  1778. package/node_modules/oci-workrequests/lib/request/index.js.map +1 -0
  1779. package/node_modules/oci-workrequests/lib/request/list-work-request-errors-request.d.ts +53 -0
  1780. package/node_modules/oci-workrequests/lib/request/list-work-request-errors-request.js +24 -0
  1781. package/node_modules/oci-workrequests/lib/request/list-work-request-errors-request.js.map +1 -0
  1782. package/node_modules/oci-workrequests/lib/request/list-work-request-logs-request.d.ts +53 -0
  1783. package/node_modules/oci-workrequests/lib/request/list-work-request-logs-request.js +24 -0
  1784. package/node_modules/oci-workrequests/lib/request/list-work-request-logs-request.js.map +1 -0
  1785. package/node_modules/oci-workrequests/lib/request/list-work-requests-request.d.ts +46 -0
  1786. package/node_modules/oci-workrequests/lib/request/list-work-requests-request.js +15 -0
  1787. package/node_modules/oci-workrequests/lib/request/list-work-requests-request.js.map +1 -0
  1788. package/node_modules/oci-workrequests/lib/response/get-work-request-response.d.ts +25 -0
  1789. package/node_modules/oci-workrequests/lib/response/get-work-request-response.js +15 -0
  1790. package/node_modules/oci-workrequests/lib/response/get-work-request-response.js.map +1 -0
  1791. package/node_modules/oci-workrequests/lib/response/index.d.ts +26 -0
  1792. package/node_modules/oci-workrequests/lib/response/index.js +21 -0
  1793. package/node_modules/oci-workrequests/lib/response/index.js.map +1 -0
  1794. package/node_modules/oci-workrequests/lib/response/list-work-request-errors-response.d.ts +32 -0
  1795. package/node_modules/oci-workrequests/lib/response/list-work-request-errors-response.js +15 -0
  1796. package/node_modules/oci-workrequests/lib/response/list-work-request-errors-response.js.map +1 -0
  1797. package/node_modules/oci-workrequests/lib/response/list-work-request-logs-response.d.ts +32 -0
  1798. package/node_modules/oci-workrequests/lib/response/list-work-request-logs-response.js +15 -0
  1799. package/node_modules/oci-workrequests/lib/response/list-work-request-logs-response.js.map +1 -0
  1800. package/node_modules/oci-workrequests/lib/response/list-work-requests-response.d.ts +32 -0
  1801. package/node_modules/oci-workrequests/lib/response/list-work-requests-response.js +15 -0
  1802. package/node_modules/oci-workrequests/lib/response/list-work-requests-response.js.map +1 -0
  1803. package/node_modules/oci-workrequests/lib/workrequest-helper.d.ts +4 -0
  1804. package/node_modules/oci-workrequests/lib/workrequest-helper.js +24 -0
  1805. package/node_modules/oci-workrequests/lib/workrequest-helper.js.map +1 -0
  1806. package/node_modules/oci-workrequests/lib/workrequest-waiter.d.ts +33 -0
  1807. package/node_modules/oci-workrequests/lib/workrequest-waiter.js +50 -0
  1808. package/node_modules/oci-workrequests/lib/workrequest-waiter.js.map +1 -0
  1809. package/node_modules/oci-workrequests/package.json +29 -0
  1810. package/node_modules/opossum/LICENSE +201 -0
  1811. package/node_modules/opossum/README.md +541 -0
  1812. package/node_modules/opossum/dist/.nodelete +0 -0
  1813. package/node_modules/opossum/dist/opossum.js +2059 -0
  1814. package/node_modules/opossum/dist/opossum.map +1 -0
  1815. package/node_modules/opossum/dist/opossum.min.js +2 -0
  1816. package/node_modules/opossum/dist/opossum.min.map +1 -0
  1817. package/node_modules/opossum/index.js +3 -0
  1818. package/node_modules/opossum/lib/cache.js +65 -0
  1819. package/node_modules/opossum/lib/circuit.js +1029 -0
  1820. package/node_modules/opossum/lib/semaphore.js +54 -0
  1821. package/node_modules/opossum/lib/status.js +247 -0
  1822. package/node_modules/opossum/package.json +77 -0
  1823. package/node_modules/safe-buffer/LICENSE +21 -0
  1824. package/node_modules/safe-buffer/README.md +584 -0
  1825. package/node_modules/safe-buffer/index.d.ts +187 -0
  1826. package/node_modules/safe-buffer/index.js +65 -0
  1827. package/node_modules/safe-buffer/package.json +51 -0
  1828. package/node_modules/safer-buffer/LICENSE +21 -0
  1829. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  1830. package/node_modules/safer-buffer/Readme.md +156 -0
  1831. package/node_modules/safer-buffer/dangerous.js +58 -0
  1832. package/node_modules/safer-buffer/package.json +34 -0
  1833. package/node_modules/safer-buffer/safer.js +77 -0
  1834. package/node_modules/safer-buffer/tests.js +406 -0
  1835. package/node_modules/semver/LICENSE +15 -0
  1836. package/node_modules/semver/README.md +664 -0
  1837. package/node_modules/semver/bin/semver.js +191 -0
  1838. package/node_modules/semver/classes/comparator.js +143 -0
  1839. package/node_modules/semver/classes/index.js +7 -0
  1840. package/node_modules/semver/classes/range.js +557 -0
  1841. package/node_modules/semver/classes/semver.js +333 -0
  1842. package/node_modules/semver/functions/clean.js +8 -0
  1843. package/node_modules/semver/functions/cmp.js +54 -0
  1844. package/node_modules/semver/functions/coerce.js +62 -0
  1845. package/node_modules/semver/functions/compare-build.js +9 -0
  1846. package/node_modules/semver/functions/compare-loose.js +5 -0
  1847. package/node_modules/semver/functions/compare.js +7 -0
  1848. package/node_modules/semver/functions/diff.js +60 -0
  1849. package/node_modules/semver/functions/eq.js +5 -0
  1850. package/node_modules/semver/functions/gt.js +5 -0
  1851. package/node_modules/semver/functions/gte.js +5 -0
  1852. package/node_modules/semver/functions/inc.js +21 -0
  1853. package/node_modules/semver/functions/lt.js +5 -0
  1854. package/node_modules/semver/functions/lte.js +5 -0
  1855. package/node_modules/semver/functions/major.js +5 -0
  1856. package/node_modules/semver/functions/minor.js +5 -0
  1857. package/node_modules/semver/functions/neq.js +5 -0
  1858. package/node_modules/semver/functions/parse.js +18 -0
  1859. package/node_modules/semver/functions/patch.js +5 -0
  1860. package/node_modules/semver/functions/prerelease.js +8 -0
  1861. package/node_modules/semver/functions/rcompare.js +5 -0
  1862. package/node_modules/semver/functions/rsort.js +5 -0
  1863. package/node_modules/semver/functions/satisfies.js +12 -0
  1864. package/node_modules/semver/functions/sort.js +5 -0
  1865. package/node_modules/semver/functions/valid.js +8 -0
  1866. package/node_modules/semver/index.js +91 -0
  1867. package/node_modules/semver/internal/constants.js +37 -0
  1868. package/node_modules/semver/internal/debug.js +11 -0
  1869. package/node_modules/semver/internal/identifiers.js +29 -0
  1870. package/node_modules/semver/internal/lrucache.js +42 -0
  1871. package/node_modules/semver/internal/parse-options.js +17 -0
  1872. package/node_modules/semver/internal/re.js +223 -0
  1873. package/node_modules/semver/package.json +78 -0
  1874. package/node_modules/semver/preload.js +4 -0
  1875. package/node_modules/semver/range.bnf +16 -0
  1876. package/node_modules/semver/ranges/gtr.js +6 -0
  1877. package/node_modules/semver/ranges/intersects.js +9 -0
  1878. package/node_modules/semver/ranges/ltr.js +6 -0
  1879. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  1880. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  1881. package/node_modules/semver/ranges/min-version.js +63 -0
  1882. package/node_modules/semver/ranges/outside.js +82 -0
  1883. package/node_modules/semver/ranges/simplify.js +49 -0
  1884. package/node_modules/semver/ranges/subset.js +249 -0
  1885. package/node_modules/semver/ranges/to-comparators.js +10 -0
  1886. package/node_modules/semver/ranges/valid.js +13 -0
  1887. package/node_modules/sshpk/.npmignore +9 -0
  1888. package/node_modules/sshpk/.travis.yml +11 -0
  1889. package/node_modules/sshpk/LICENSE +18 -0
  1890. package/node_modules/sshpk/README.md +804 -0
  1891. package/node_modules/sshpk/bin/sshpk-conv +243 -0
  1892. package/node_modules/sshpk/bin/sshpk-sign +191 -0
  1893. package/node_modules/sshpk/bin/sshpk-verify +167 -0
  1894. package/node_modules/sshpk/lib/algs.js +168 -0
  1895. package/node_modules/sshpk/lib/certificate.js +410 -0
  1896. package/node_modules/sshpk/lib/dhe.js +397 -0
  1897. package/node_modules/sshpk/lib/ed-compat.js +92 -0
  1898. package/node_modules/sshpk/lib/errors.js +84 -0
  1899. package/node_modules/sshpk/lib/fingerprint.js +220 -0
  1900. package/node_modules/sshpk/lib/formats/auto.js +124 -0
  1901. package/node_modules/sshpk/lib/formats/dnssec.js +287 -0
  1902. package/node_modules/sshpk/lib/formats/openssh-cert.js +352 -0
  1903. package/node_modules/sshpk/lib/formats/pem.js +290 -0
  1904. package/node_modules/sshpk/lib/formats/pkcs1.js +373 -0
  1905. package/node_modules/sshpk/lib/formats/pkcs8.js +631 -0
  1906. package/node_modules/sshpk/lib/formats/putty.js +99 -0
  1907. package/node_modules/sshpk/lib/formats/rfc4253.js +166 -0
  1908. package/node_modules/sshpk/lib/formats/ssh-private.js +262 -0
  1909. package/node_modules/sshpk/lib/formats/ssh.js +115 -0
  1910. package/node_modules/sshpk/lib/formats/x509-pem.js +88 -0
  1911. package/node_modules/sshpk/lib/formats/x509.js +752 -0
  1912. package/node_modules/sshpk/lib/identity.js +373 -0
  1913. package/node_modules/sshpk/lib/index.js +40 -0
  1914. package/node_modules/sshpk/lib/key.js +294 -0
  1915. package/node_modules/sshpk/lib/private-key.js +246 -0
  1916. package/node_modules/sshpk/lib/signature.js +314 -0
  1917. package/node_modules/sshpk/lib/ssh-buffer.js +149 -0
  1918. package/node_modules/sshpk/lib/utils.js +404 -0
  1919. package/node_modules/sshpk/man/man1/sshpk-conv.1 +135 -0
  1920. package/node_modules/sshpk/man/man1/sshpk-sign.1 +81 -0
  1921. package/node_modules/sshpk/man/man1/sshpk-verify.1 +68 -0
  1922. package/node_modules/sshpk/package.json +60 -0
  1923. package/node_modules/tr46/.npmignore +4 -0
  1924. package/node_modules/tr46/index.js +193 -0
  1925. package/node_modules/tr46/lib/.gitkeep +0 -0
  1926. package/node_modules/tr46/lib/mappingTable.json +1 -0
  1927. package/node_modules/tr46/package.json +31 -0
  1928. package/node_modules/tweetnacl/.npmignore +4 -0
  1929. package/node_modules/tweetnacl/AUTHORS.md +28 -0
  1930. package/node_modules/tweetnacl/CHANGELOG.md +221 -0
  1931. package/node_modules/tweetnacl/LICENSE +24 -0
  1932. package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +20 -0
  1933. package/node_modules/tweetnacl/README.md +459 -0
  1934. package/node_modules/tweetnacl/nacl-fast.js +2388 -0
  1935. package/node_modules/tweetnacl/nacl-fast.min.js +2 -0
  1936. package/node_modules/tweetnacl/nacl.d.ts +98 -0
  1937. package/node_modules/tweetnacl/nacl.js +1175 -0
  1938. package/node_modules/tweetnacl/nacl.min.js +1 -0
  1939. package/node_modules/tweetnacl/package.json +58 -0
  1940. package/node_modules/undici-types/README.md +6 -0
  1941. package/node_modules/undici-types/agent.d.ts +31 -0
  1942. package/node_modules/undici-types/api.d.ts +43 -0
  1943. package/node_modules/undici-types/balanced-pool.d.ts +18 -0
  1944. package/node_modules/undici-types/cache.d.ts +36 -0
  1945. package/node_modules/undici-types/client.d.ts +97 -0
  1946. package/node_modules/undici-types/connector.d.ts +34 -0
  1947. package/node_modules/undici-types/content-type.d.ts +21 -0
  1948. package/node_modules/undici-types/cookies.d.ts +28 -0
  1949. package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  1950. package/node_modules/undici-types/dispatcher.d.ts +241 -0
  1951. package/node_modules/undici-types/errors.d.ts +128 -0
  1952. package/node_modules/undici-types/fetch.d.ts +209 -0
  1953. package/node_modules/undici-types/file.d.ts +39 -0
  1954. package/node_modules/undici-types/filereader.d.ts +54 -0
  1955. package/node_modules/undici-types/formdata.d.ts +108 -0
  1956. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  1957. package/node_modules/undici-types/global-origin.d.ts +7 -0
  1958. package/node_modules/undici-types/handlers.d.ts +9 -0
  1959. package/node_modules/undici-types/header.d.ts +4 -0
  1960. package/node_modules/undici-types/index.d.ts +63 -0
  1961. package/node_modules/undici-types/interceptors.d.ts +5 -0
  1962. package/node_modules/undici-types/mock-agent.d.ts +50 -0
  1963. package/node_modules/undici-types/mock-client.d.ts +25 -0
  1964. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  1965. package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  1966. package/node_modules/undici-types/mock-pool.d.ts +25 -0
  1967. package/node_modules/undici-types/package.json +55 -0
  1968. package/node_modules/undici-types/patch.d.ts +71 -0
  1969. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  1970. package/node_modules/undici-types/pool.d.ts +28 -0
  1971. package/node_modules/undici-types/proxy-agent.d.ts +30 -0
  1972. package/node_modules/undici-types/readable.d.ts +61 -0
  1973. package/node_modules/undici-types/webidl.d.ts +220 -0
  1974. package/node_modules/undici-types/websocket.d.ts +131 -0
  1975. package/node_modules/verror/.npmignore +9 -0
  1976. package/node_modules/verror/CHANGES.md +28 -0
  1977. package/node_modules/verror/CONTRIBUTING.md +19 -0
  1978. package/node_modules/verror/LICENSE +19 -0
  1979. package/node_modules/verror/README.md +528 -0
  1980. package/node_modules/verror/lib/verror.js +451 -0
  1981. package/node_modules/verror/package.json +22 -0
  1982. package/node_modules/webidl-conversions/LICENSE.md +12 -0
  1983. package/node_modules/webidl-conversions/README.md +53 -0
  1984. package/node_modules/webidl-conversions/lib/index.js +189 -0
  1985. package/node_modules/webidl-conversions/package.json +23 -0
  1986. package/node_modules/whatwg-fetch/LICENSE +20 -0
  1987. package/node_modules/whatwg-fetch/README.md +349 -0
  1988. package/node_modules/whatwg-fetch/dist/fetch.umd.js +657 -0
  1989. package/node_modules/whatwg-fetch/dist/fetch.umd.js.flow +119 -0
  1990. package/node_modules/whatwg-fetch/fetch.js +642 -0
  1991. package/node_modules/whatwg-fetch/fetch.js.flow +119 -0
  1992. package/node_modules/whatwg-fetch/package.json +42 -0
  1993. package/node_modules/whatwg-url/LICENSE.txt +21 -0
  1994. package/node_modules/whatwg-url/README.md +67 -0
  1995. package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
  1996. package/node_modules/whatwg-url/lib/URL.js +196 -0
  1997. package/node_modules/whatwg-url/lib/public-api.js +11 -0
  1998. package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
  1999. package/node_modules/whatwg-url/lib/utils.js +20 -0
  2000. package/node_modules/whatwg-url/package.json +32 -0
  2001. package/package.json +10 -2
@@ -0,0 +1,3484 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["circuitBreaker"] = factory();
8
+ else
9
+ root["circuitBreaker"] = factory();
10
+ })(window, function() {
11
+ return /******/ (function(modules) { // webpackBootstrap
12
+ /******/ // The module cache
13
+ /******/ var installedModules = {};
14
+ /******/
15
+ /******/ // The require function
16
+ /******/ function __webpack_require__(moduleId) {
17
+ /******/
18
+ /******/ // Check if module is in cache
19
+ /******/ if(installedModules[moduleId]) {
20
+ /******/ return installedModules[moduleId].exports;
21
+ /******/ }
22
+ /******/ // Create a new module (and put it into the cache)
23
+ /******/ var module = installedModules[moduleId] = {
24
+ /******/ i: moduleId,
25
+ /******/ l: false,
26
+ /******/ exports: {}
27
+ /******/ };
28
+ /******/
29
+ /******/ // Execute the module function
30
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
+ /******/
32
+ /******/ // Flag the module as loaded
33
+ /******/ module.l = true;
34
+ /******/
35
+ /******/ // Return the exports of the module
36
+ /******/ return module.exports;
37
+ /******/ }
38
+ /******/
39
+ /******/
40
+ /******/ // expose the modules object (__webpack_modules__)
41
+ /******/ __webpack_require__.m = modules;
42
+ /******/
43
+ /******/ // expose the module cache
44
+ /******/ __webpack_require__.c = installedModules;
45
+ /******/
46
+ /******/ // define getter function for harmony exports
47
+ /******/ __webpack_require__.d = function(exports, name, getter) {
48
+ /******/ if(!__webpack_require__.o(exports, name)) {
49
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
50
+ /******/ }
51
+ /******/ };
52
+ /******/
53
+ /******/ // define __esModule on exports
54
+ /******/ __webpack_require__.r = function(exports) {
55
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
56
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
+ /******/ }
58
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
59
+ /******/ };
60
+ /******/
61
+ /******/ // create a fake namespace object
62
+ /******/ // mode & 1: value is a module id, require it
63
+ /******/ // mode & 2: merge all properties of value into the ns
64
+ /******/ // mode & 4: return value when already ns object
65
+ /******/ // mode & 8|1: behave like require
66
+ /******/ __webpack_require__.t = function(value, mode) {
67
+ /******/ if(mode & 1) value = __webpack_require__(value);
68
+ /******/ if(mode & 8) return value;
69
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
70
+ /******/ var ns = Object.create(null);
71
+ /******/ __webpack_require__.r(ns);
72
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
73
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
74
+ /******/ return ns;
75
+ /******/ };
76
+ /******/
77
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
78
+ /******/ __webpack_require__.n = function(module) {
79
+ /******/ var getter = module && module.__esModule ?
80
+ /******/ function getDefault() { return module['default']; } :
81
+ /******/ function getModuleExports() { return module; };
82
+ /******/ __webpack_require__.d(getter, 'a', getter);
83
+ /******/ return getter;
84
+ /******/ };
85
+ /******/
86
+ /******/ // Object.prototype.hasOwnProperty.call
87
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88
+ /******/
89
+ /******/ // __webpack_public_path__
90
+ /******/ __webpack_require__.p = "";
91
+ /******/
92
+ /******/
93
+ /******/ // Load entry module and return exports
94
+ /******/ return __webpack_require__(__webpack_require__.s = "./index.js");
95
+ /******/ })
96
+ /************************************************************************/
97
+ /******/ ({
98
+
99
+ /***/ "./index.js":
100
+ /*!******************!*\
101
+ !*** ./index.js ***!
102
+ \******************/
103
+ /*! no static exports found */
104
+ /***/ (function(module, exports, __webpack_require__) {
105
+
106
+ "use strict";
107
+
108
+
109
+ module.exports = exports = __webpack_require__(/*! ./lib/circuit */ "./lib/circuit.js");
110
+
111
+ /***/ }),
112
+
113
+ /***/ "./lib/circuit.js":
114
+ /*!************************!*\
115
+ !*** ./lib/circuit.js ***!
116
+ \************************/
117
+ /*! no static exports found */
118
+ /***/ (function(module, exports, __webpack_require__) {
119
+
120
+ "use strict";
121
+ /* WEBPACK VAR INJECTION */(function(console) {
122
+
123
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
124
+
125
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
126
+
127
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
128
+
129
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
130
+
131
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
132
+
133
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
134
+
135
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
136
+
137
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
138
+
139
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
140
+
141
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
142
+
143
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
144
+
145
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
146
+
147
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
148
+
149
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
150
+
151
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
152
+
153
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
154
+
155
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
156
+
157
+ var EventEmitter = __webpack_require__(/*! events */ "./node_modules/events/events.js");
158
+
159
+ var Status = __webpack_require__(/*! ./status */ "./lib/status.js");
160
+
161
+ var Semaphore = __webpack_require__(/*! ./semaphore */ "./lib/semaphore.js");
162
+
163
+ var STATE = Symbol('state');
164
+ var OPEN = Symbol('open');
165
+ var CLOSED = Symbol('closed');
166
+ var HALF_OPEN = Symbol('half-open');
167
+ var PENDING_CLOSE = Symbol('pending-close');
168
+ var SHUTDOWN = Symbol('shutdown');
169
+ var FALLBACK_FUNCTION = Symbol('fallback');
170
+ var STATUS = Symbol('status');
171
+ var NAME = Symbol('name');
172
+ var GROUP = Symbol('group');
173
+ var CACHE = new WeakMap();
174
+ var ENABLED = Symbol('Enabled');
175
+ var WARMING_UP = Symbol('warming-up');
176
+ var VOLUME_THRESHOLD = Symbol('volume-threshold');
177
+ var OUR_ERROR = Symbol('our-error');
178
+ var RESET_TIMEOUT = Symbol('reset-timeout');
179
+ var WARMUP_TIMEOUT = Symbol('warmup-timeout');
180
+ var deprecation = "options.maxFailures is deprecated. Please use options.errorThresholdPercentage";
181
+ /**
182
+ * Constructs a {@link CircuitBreaker}.
183
+ *
184
+ * @class CircuitBreaker
185
+ * @extends EventEmitter
186
+ * @param {Function} action The action to fire for this {@link CircuitBreaker}
187
+ * @param {Object} options Options for the {@link CircuitBreaker}
188
+ * @param {Number} options.timeout The time in milliseconds that action should
189
+ * be allowed to execute before timing out. Timeout can be disabled by setting
190
+ * this to `false`. Default 10000 (10 seconds)
191
+ * @param {Number} options.maxFailures (Deprecated) The number of times the
192
+ * circuit can fail before opening. Default 10.
193
+ * @param {Number} options.resetTimeout The time in milliseconds to wait before
194
+ * setting the breaker to `halfOpen` state, and trying the action again.
195
+ * Default: 30000 (30 seconds)
196
+ * @param {Number} options.rollingCountTimeout Sets the duration of the
197
+ * statistical rolling window, in milliseconds. This is how long Opossum keeps
198
+ * metrics for the circuit breaker to use and for publishing. Default: 10000
199
+ * @param {Number} options.rollingCountBuckets Sets the number of buckets the
200
+ * rolling statistical window is divided into. So, if
201
+ * options.rollingCountTimeout is 10000, and options.rollingCountBuckets is 10,
202
+ * then the statistical window will be 1000 1 second snapshots in the
203
+ * statistical window. Default: 10
204
+ * @param {String} options.name the circuit name to use when reporting stats.
205
+ * Default: the name of the function this circuit controls.
206
+ * @param {boolean} options.rollingPercentilesEnabled This property indicates
207
+ * whether execution latencies should be tracked and calculated as percentiles.
208
+ * If they are disabled, all summary statistics (mean, percentiles) are
209
+ * returned as -1. Default: false
210
+ * @param {Number} options.capacity the number of concurrent requests allowed.
211
+ * If the number currently executing function calls is equal to
212
+ * options.capacity, further calls to `fire()` are rejected until at least one
213
+ * of the current requests completes. Default: `Number.MAX_SAFE_INTEGER`.
214
+ * @param {Number} options.errorThresholdPercentage the error percentage at
215
+ * which to open the circuit and start short-circuiting requests to fallback.
216
+ * Default: 50
217
+ * @param {boolean} options.enabled whether this circuit is enabled upon
218
+ * construction. Default: true
219
+ * @param {boolean} options.allowWarmUp determines whether to allow failures
220
+ * without opening the circuit during a brief warmup period (this is the
221
+ * `rollingCountTimeout` property). Default: false
222
+ * allow before enabling the circuit. This can help in situations where no
223
+ * matter what your `errorThresholdPercentage` is, if the first execution
224
+ * times out or fails, the circuit immediately opens.
225
+ * @param {Number} options.volumeThreshold the minimum number of requests within
226
+ * the rolling statistical window that must exist before the circuit breaker
227
+ * can open. This is similar to `options.allowWarmUp` in that no matter how many
228
+ * failures there are, if the number of requests within the statistical window
229
+ * does not exceed this threshold, the circuit will remain closed. Default: 0
230
+ * @param {Function} options.errorFilter an optional function that will be
231
+ * called when the circuit's function fails (returns a rejected Promise). If
232
+ * this function returns truthy, the circuit's failPure statistics will not be
233
+ * incremented. This is useful, for example, when you don't want HTTP 404 to
234
+ * trip the circuit, but still want to handle it as a failure case.
235
+ * @param {boolean} options.cache whether the return value of the first
236
+ * successful execution of the circuit's function will be cached. Once a value
237
+ * has been cached that value will be returned for every subsequent execution:
238
+ * the cache can be cleared using `clearCache`. (The metrics `cacheHit` and
239
+ * `cacheMiss` reflect cache activity.) Default: false
240
+ *
241
+ *
242
+ * @fires CircuitBreaker#halfOpen
243
+ * @fires CircuitBreaker#close
244
+ * @fires CircuitBreaker#open
245
+ * @fires CircuitBreaker#fire
246
+ * @fires CircuitBreaker#cacheHit
247
+ * @fires CircuitBreaker#cacheMiss
248
+ * @fires CircuitBreaker#reject
249
+ * @fires CircuitBreaker#timeout
250
+ * @fires CircuitBreaker#success
251
+ * @fires CircuitBreaker#semaphoreLocked
252
+ * @fires CircuitBreaker#healthCheckFailed
253
+ * @fires CircuitBreaker#fallback
254
+ * @fires CircuitBreaker#failure
255
+ */
256
+
257
+ var CircuitBreaker = /*#__PURE__*/function (_EventEmitter) {
258
+ _inherits(CircuitBreaker, _EventEmitter);
259
+
260
+ var _super = _createSuper(CircuitBreaker);
261
+
262
+ _createClass(CircuitBreaker, null, [{
263
+ key: "isOurError",
264
+
265
+ /**
266
+ * Returns true if the provided error was generated here. It will be false
267
+ * if the error came from the action itself.
268
+ * @param {Error} error The Error to check.
269
+ * @returns {Boolean} true if the error was generated here
270
+ */
271
+ value: function isOurError(error) {
272
+ return !!error[OUR_ERROR];
273
+ }
274
+ }]);
275
+
276
+ function CircuitBreaker(action) {
277
+ var _this;
278
+
279
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
280
+
281
+ _classCallCheck(this, CircuitBreaker);
282
+
283
+ _this = _super.call(this);
284
+ _this.options = options;
285
+ _this.options.timeout = options.timeout === false ? false : options.timeout || 10000;
286
+ _this.options.resetTimeout = options.resetTimeout || 30000;
287
+ _this.options.errorThresholdPercentage = options.errorThresholdPercentage || 50;
288
+ _this.options.rollingCountTimeout = options.rollingCountTimeout || 10000;
289
+ _this.options.rollingCountBuckets = options.rollingCountBuckets || 10;
290
+ _this.options.rollingPercentilesEnabled = options.rollingPercentilesEnabled !== false;
291
+ _this.options.capacity = Number.isInteger(options.capacity) ? options.capacity : Number.MAX_SAFE_INTEGER;
292
+
293
+ _this.options.errorFilter = options.errorFilter || function (_) {
294
+ return false;
295
+ };
296
+
297
+ _this.semaphore = new Semaphore(_this.options.capacity);
298
+ _this[VOLUME_THRESHOLD] = Number.isInteger(options.volumeThreshold) ? options.volumeThreshold : 0;
299
+ _this[WARMING_UP] = options.allowWarmUp === true;
300
+ _this[STATUS] = new Status(_this.options);
301
+ _this[STATE] = CLOSED;
302
+ _this[FALLBACK_FUNCTION] = null;
303
+ _this[PENDING_CLOSE] = false;
304
+ _this[NAME] = options.name || action.name || nextName();
305
+ _this[GROUP] = options.group || _this[NAME];
306
+ _this[ENABLED] = options.enabled !== false;
307
+
308
+ if (_this[WARMING_UP]) {
309
+ var timer = _this[WARMUP_TIMEOUT] = setTimeout(function (_) {
310
+ return _this[WARMING_UP] = false;
311
+ }, _this.options.rollingCountTimeout);
312
+
313
+ if (typeof timer.unref === 'function') {
314
+ timer.unref();
315
+ }
316
+ }
317
+
318
+ if (typeof action !== 'function') {
319
+ _this.action = function (_) {
320
+ return Promise.resolve(action);
321
+ };
322
+ } else _this.action = action;
323
+
324
+ if (options.maxFailures) console.error(deprecation);
325
+
326
+ var increment = function increment(property) {
327
+ return function (result, runTime) {
328
+ return _this[STATUS].increment(property, runTime);
329
+ };
330
+ };
331
+
332
+ _this.on('success', increment('successes'));
333
+
334
+ _this.on('failure', increment('failures'));
335
+
336
+ _this.on('fallback', increment('fallbacks'));
337
+
338
+ _this.on('timeout', increment('timeouts'));
339
+
340
+ _this.on('fire', increment('fires'));
341
+
342
+ _this.on('reject', increment('rejects'));
343
+
344
+ _this.on('cacheHit', increment('cacheHits'));
345
+
346
+ _this.on('cacheMiss', increment('cacheMisses'));
347
+
348
+ _this.on('open', function (_) {
349
+ return _this[STATUS].open();
350
+ });
351
+
352
+ _this.on('close', function (_) {
353
+ return _this[STATUS].close();
354
+ });
355
+
356
+ _this.on('semaphoreLocked', increment('semaphoreRejections'));
357
+ /**
358
+ * @param {CircuitBreaker} circuit This current circuit
359
+ * @returns {function(): void} A bound reset callback
360
+ * @private
361
+ */
362
+
363
+
364
+ function _startTimer(circuit) {
365
+ return function (_) {
366
+ var timer = circuit[RESET_TIMEOUT] = setTimeout(function () {
367
+ circuit[STATE] = HALF_OPEN;
368
+ circuit[PENDING_CLOSE] = true;
369
+ /**
370
+ * Emitted after `options.resetTimeout` has elapsed, allowing for
371
+ * a single attempt to call the service again. If that attempt is
372
+ * successful, the circuit will be closed. Otherwise it remains open.
373
+ *
374
+ * @event CircuitBreaker#halfOpen
375
+ * @type {Number} how long the circuit remained open
376
+ */
377
+
378
+ circuit.emit('halfOpen', circuit.options.resetTimeout);
379
+ }, circuit.options.resetTimeout);
380
+
381
+ if (typeof timer.unref === 'function') {
382
+ timer.unref();
383
+ }
384
+ };
385
+ }
386
+
387
+ _this.on('open', _startTimer(_assertThisInitialized(_this)));
388
+
389
+ _this.on('success', function (_) {
390
+ if (_this.halfOpen) {
391
+ _this.close();
392
+ }
393
+ });
394
+
395
+ if (_this.options.cache) {
396
+ CACHE.set(_assertThisInitialized(_this), undefined);
397
+ }
398
+
399
+ return _this;
400
+ }
401
+ /**
402
+ * Closes the breaker, allowing the action to execute again
403
+ * @fires CircuitBreaker#close
404
+ * @returns {void}
405
+ */
406
+
407
+
408
+ _createClass(CircuitBreaker, [{
409
+ key: "close",
410
+ value: function close() {
411
+ if (this[STATE] !== CLOSED) {
412
+ if (this[RESET_TIMEOUT]) {
413
+ clearTimeout(this[RESET_TIMEOUT]);
414
+ }
415
+
416
+ this[STATE] = CLOSED;
417
+ this[PENDING_CLOSE] = false;
418
+ /**
419
+ * Emitted when the breaker is reset allowing the action to execute again
420
+ * @event CircuitBreaker#close
421
+ */
422
+
423
+ this.emit('close');
424
+ }
425
+ }
426
+ /**
427
+ * Opens the breaker. Each time the breaker is fired while the circuit is
428
+ * opened, a failed Promise is returned, or if any fallback function
429
+ * has been provided, it is invoked.
430
+ *
431
+ * If the breaker is already open this call does nothing.
432
+ * @fires CircuitBreaker#open
433
+ * @returns {void}
434
+ */
435
+
436
+ }, {
437
+ key: "open",
438
+ value: function open() {
439
+ if (this[STATE] !== OPEN) {
440
+ this[STATE] = OPEN;
441
+ this[PENDING_CLOSE] = false;
442
+ /**
443
+ * Emitted when the breaker opens because the action has
444
+ * failed more than `options.maxFailures` number of times.
445
+ * @event CircuitBreaker#open
446
+ */
447
+
448
+ this.emit('open');
449
+ }
450
+ }
451
+ /**
452
+ * Shuts down this circuit breaker. All subsequent calls to the
453
+ * circuit will fail, returning a rejected promise.
454
+ * @returns {void}
455
+ */
456
+
457
+ }, {
458
+ key: "shutdown",
459
+ value: function shutdown() {
460
+ this.disable();
461
+ this.removeAllListeners();
462
+
463
+ if (this[RESET_TIMEOUT]) {
464
+ clearTimeout(this[RESET_TIMEOUT]);
465
+ }
466
+
467
+ if (this[WARMUP_TIMEOUT]) {
468
+ clearTimeout(this[WARMUP_TIMEOUT]);
469
+ }
470
+
471
+ this.status.shutdown();
472
+ this[STATE] = SHUTDOWN;
473
+ /**
474
+ * Emitted when the circuit breaker has been shut down.
475
+ * @event CircuitBreaker#shutdown
476
+ */
477
+
478
+ this.emit('shutdown');
479
+ }
480
+ /**
481
+ * Determines if the circuit has been shutdown.
482
+ * @type {Boolean}
483
+ */
484
+
485
+ }, {
486
+ key: "fallback",
487
+
488
+ /**
489
+ * Provide a fallback function for this {@link CircuitBreaker}. This
490
+ * function will be executed when the circuit is `fire`d and fails.
491
+ * It will always be preceded by a `failure` event, and `breaker.fire` returns
492
+ * a rejected Promise.
493
+ * @param {Function | CircuitBreaker} func the fallback function to execute
494
+ * when the breaker has opened or when a timeout or error occurs.
495
+ * @return {CircuitBreaker} this
496
+ */
497
+ value: function fallback(func) {
498
+ var fb = func;
499
+
500
+ if (func instanceof CircuitBreaker) {
501
+ fb = function fb() {
502
+ return func.fire.apply(func, arguments);
503
+ };
504
+ }
505
+
506
+ this[FALLBACK_FUNCTION] = fb;
507
+ return this;
508
+ }
509
+ /**
510
+ * Execute the action for this circuit. If the action fails or times out, the
511
+ * returned promise will be rejected. If the action succeeds, the promise will
512
+ * resolve with the resolved value from action. If a fallback function was
513
+ * provided, it will be invoked in the event of any failure or timeout.
514
+ *
515
+ * Any parameters passed to this function will be proxied to the circuit
516
+ * function.
517
+ *
518
+ * @return {Promise<any>} promise resolves with the circuit function's return
519
+ * value on success or is rejected on failure of the action. Use isOurError()
520
+ * to determine if a rejection was a result of the circuit breaker or the
521
+ * action.
522
+ *
523
+ * @fires CircuitBreaker#failure
524
+ * @fires CircuitBreaker#fallback
525
+ * @fires CircuitBreaker#fire
526
+ * @fires CircuitBreaker#reject
527
+ * @fires CircuitBreaker#success
528
+ * @fires CircuitBreaker#timeout
529
+ * @fires CircuitBreaker#semaphoreLocked
530
+ */
531
+
532
+ }, {
533
+ key: "fire",
534
+ value: function fire() {
535
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
536
+ args[_key] = arguments[_key];
537
+ }
538
+
539
+ return this.call.apply(this, [this.action].concat(args));
540
+ }
541
+ /**
542
+ * Execute the action for this circuit using `context` as `this`.
543
+ * If the action fails or times out, the
544
+ * returned promise will be rejected. If the action succeeds, the promise will
545
+ * resolve with the resolved value from action. If a fallback function was
546
+ * provided, it will be invoked in the event of any failure or timeout.
547
+ *
548
+ * Any parameters in addition to `context will be passed to the
549
+ * circuit function.
550
+ *
551
+ * @param {any} context the `this` context used for function execution
552
+ * @param {any} rest the arguments passed to the action
553
+ *
554
+ * @return {Promise<any>} promise resolves with the circuit function's return
555
+ * value on success or is rejected on failure of the action.
556
+ *
557
+ * @fires CircuitBreaker#failure
558
+ * @fires CircuitBreaker#fallback
559
+ * @fires CircuitBreaker#fire
560
+ * @fires CircuitBreaker#reject
561
+ * @fires CircuitBreaker#success
562
+ * @fires CircuitBreaker#timeout
563
+ * @fires CircuitBreaker#semaphoreLocked
564
+ */
565
+
566
+ }, {
567
+ key: "call",
568
+ value: function call(context) {
569
+ var _this2 = this;
570
+
571
+ if (this.isShutdown) {
572
+ var err = buildError('The circuit has been shutdown.', 'ESHUTDOWN');
573
+ return Promise.reject(err);
574
+ }
575
+
576
+ for (var _len2 = arguments.length, rest = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
577
+ rest[_key2 - 1] = arguments[_key2];
578
+ }
579
+
580
+ var args = Array.prototype.slice.call(rest);
581
+ /**
582
+ * Emitted when the circuit breaker action is executed
583
+ * @event CircuitBreaker#fire
584
+ * @type {any} the arguments passed to the fired function
585
+ */
586
+
587
+ this.emit('fire', args);
588
+
589
+ if (CACHE.get(this) !== undefined) {
590
+ /**
591
+ * Emitted when the circuit breaker is using the cache
592
+ * and finds a value.
593
+ * @event CircuitBreaker#cacheHit
594
+ */
595
+ this.emit('cacheHit');
596
+ return CACHE.get(this);
597
+ } else if (this.options.cache) {
598
+ /**
599
+ * Emitted when the circuit breaker does not find a value in
600
+ * the cache, but the cache option is enabled.
601
+ * @event CircuitBreaker#cacheMiss
602
+ */
603
+ this.emit('cacheMiss');
604
+ }
605
+
606
+ if (!this[ENABLED]) {
607
+ var result = this.action.apply(context, args);
608
+ return typeof result.then === 'function' ? result : Promise.resolve(result);
609
+ }
610
+
611
+ if (!this.closed && !this.pendingClose) {
612
+ /**
613
+ * Emitted when the circuit breaker is open and failing fast
614
+ * @event CircuitBreaker#reject
615
+ * @type {Error}
616
+ */
617
+ var error = buildError('Breaker is open', 'EOPENBREAKER');
618
+ this.emit('reject', error);
619
+ return fallback(this, error, args) || Promise.reject(error);
620
+ }
621
+
622
+ this[PENDING_CLOSE] = false;
623
+ var timeout;
624
+ var timeoutError = false;
625
+ return new Promise(function (resolve, reject) {
626
+ var latencyStartTime = Date.now();
627
+
628
+ if (_this2.semaphore.test()) {
629
+ if (_this2.options.timeout) {
630
+ timeout = setTimeout(function () {
631
+ timeoutError = true;
632
+ var error = buildError("Timed out after ".concat(_this2.options.timeout, "ms"), 'ETIMEDOUT');
633
+ var latency = Date.now() - latencyStartTime;
634
+
635
+ _this2.semaphore.release();
636
+ /**
637
+ * Emitted when the circuit breaker action takes longer than
638
+ * `options.timeout`
639
+ * @event CircuitBreaker#timeout
640
+ * @type {Error}
641
+ */
642
+
643
+
644
+ _this2.emit('timeout', error, latency, args);
645
+
646
+ handleError(error, _this2, timeout, args, latency, resolve, reject);
647
+ }, _this2.options.timeout);
648
+ }
649
+
650
+ try {
651
+ var _result = _this2.action.apply(context, args);
652
+
653
+ var promise = typeof _result.then === 'function' ? _result : Promise.resolve(_result);
654
+ promise.then(function (result) {
655
+ if (!timeoutError) {
656
+ clearTimeout(timeout);
657
+ /**
658
+ * Emitted when the circuit breaker action succeeds
659
+ * @event CircuitBreaker#success
660
+ * @type {any} the return value from the circuit
661
+ */
662
+
663
+ _this2.emit('success', result, Date.now() - latencyStartTime);
664
+
665
+ _this2.semaphore.release();
666
+
667
+ resolve(result);
668
+
669
+ if (_this2.options.cache) {
670
+ CACHE.set(_this2, promise);
671
+ }
672
+ }
673
+ })["catch"](function (error) {
674
+ if (!timeoutError) {
675
+ _this2.semaphore.release();
676
+
677
+ var latencyEndTime = Date.now() - latencyStartTime;
678
+ handleError(error, _this2, timeout, args, latencyEndTime, resolve, reject);
679
+ }
680
+ });
681
+ } catch (error) {
682
+ _this2.semaphore.release();
683
+
684
+ var latency = Date.now() - latencyStartTime;
685
+ handleError(error, _this2, timeout, args, latency, resolve, reject);
686
+ }
687
+ } else {
688
+ var _latency = Date.now() - latencyStartTime;
689
+
690
+ var _err = buildError('Semaphore locked', 'ESEMLOCKED');
691
+ /**
692
+ * Emitted when the rate limit has been reached and there
693
+ * are no more locks to be obtained.
694
+ * @event CircuitBreaker#semaphoreLocked
695
+ * @type {Error}
696
+ */
697
+
698
+
699
+ _this2.emit('semaphoreLocked', _err, _latency);
700
+
701
+ handleError(_err, _this2, timeout, args, _latency, resolve, reject);
702
+ }
703
+ });
704
+ }
705
+ /**
706
+ * Clears the cache of this {@link CircuitBreaker}
707
+ * @returns {void}
708
+ */
709
+
710
+ }, {
711
+ key: "clearCache",
712
+ value: function clearCache() {
713
+ CACHE.set(this, undefined);
714
+ }
715
+ /**
716
+ * Provide a health check function to be called periodically. The function
717
+ * should return a Promise. If the promise is rejected the circuit will open.
718
+ * This is in addition to the existing circuit behavior as defined by
719
+ * `options.errorThresholdPercentage` in the constructor. For example, if the
720
+ * health check function provided here always returns a resolved promise, the
721
+ * circuit can still trip and open if there are failures exceeding the
722
+ * configured threshold. The health check function is executed within the
723
+ * circuit breaker's execution context, so `this` within the function is the
724
+ * circuit breaker itself.
725
+ *
726
+ * @param {Function} func a health check function which returns a promise.
727
+ * @param {Number} [interval] the amount of time between calls to the health
728
+ * check function. Default: 5000 (5 seconds)
729
+ *
730
+ * @returns {void}
731
+ *
732
+ * @fires CircuitBreaker#healthCheckFailed
733
+ * @throws {TypeError} if `interval` is supplied but not a number
734
+ */
735
+
736
+ }, {
737
+ key: "healthCheck",
738
+ value: function healthCheck(func, interval) {
739
+ var _this3 = this;
740
+
741
+ interval = interval || 5000;
742
+
743
+ if (typeof func !== 'function') {
744
+ throw new TypeError('Health check function must be a function');
745
+ }
746
+
747
+ if (isNaN(interval)) {
748
+ throw new TypeError('Health check interval must be a number');
749
+ }
750
+
751
+ var check = function check(_) {
752
+ func.apply(_this3)["catch"](function (e) {
753
+ /**
754
+ * Emitted with the user-supplied health check function
755
+ * returns a rejected promise.
756
+ * @event CircuitBreaker#healthCheckFailed
757
+ * @type {Error}
758
+ */
759
+ _this3.emit('healthCheckFailed', e);
760
+
761
+ _this3.open();
762
+ });
763
+ };
764
+
765
+ var timer = setInterval(check, interval);
766
+
767
+ if (typeof timer.unref === 'function') {
768
+ timer.unref();
769
+ }
770
+
771
+ check();
772
+ }
773
+ /**
774
+ * Enables this circuit. If the circuit is the disabled
775
+ * state, it will be re-enabled. If not, this is essentially
776
+ * a noop.
777
+ * @returns {void}
778
+ */
779
+
780
+ }, {
781
+ key: "enable",
782
+ value: function enable() {
783
+ this[ENABLED] = true;
784
+ }
785
+ /**
786
+ * Disables this circuit, causing all calls to the circuit's function
787
+ * to be executed without circuit or fallback protection.
788
+ * @returns {void}
789
+ */
790
+
791
+ }, {
792
+ key: "disable",
793
+ value: function disable() {
794
+ this[ENABLED] = false;
795
+ }
796
+ }, {
797
+ key: "isShutdown",
798
+ get: function get() {
799
+ return this[STATE] === SHUTDOWN;
800
+ }
801
+ /**
802
+ * Gets the name of this circuit
803
+ * @type {String}
804
+ */
805
+
806
+ }, {
807
+ key: "name",
808
+ get: function get() {
809
+ return this[NAME];
810
+ }
811
+ /**
812
+ * Gets the name of this circuit group
813
+ * @type {String}
814
+ */
815
+
816
+ }, {
817
+ key: "group",
818
+ get: function get() {
819
+ return this[GROUP];
820
+ }
821
+ /**
822
+ * Gets whether this circuit is in the `pendingClosed` state
823
+ * @type {Boolean}
824
+ */
825
+
826
+ }, {
827
+ key: "pendingClose",
828
+ get: function get() {
829
+ return this[PENDING_CLOSE];
830
+ }
831
+ /**
832
+ * True if the circuit is currently closed. False otherwise.
833
+ * @type {Boolean}
834
+ */
835
+
836
+ }, {
837
+ key: "closed",
838
+ get: function get() {
839
+ return this[STATE] === CLOSED;
840
+ }
841
+ /**
842
+ * True if the circuit is currently opened. False otherwise.
843
+ * @type {Boolean}
844
+ */
845
+
846
+ }, {
847
+ key: "opened",
848
+ get: function get() {
849
+ return this[STATE] === OPEN;
850
+ }
851
+ /**
852
+ * True if the circuit is currently half opened. False otherwise.
853
+ * @type {Boolean}
854
+ */
855
+
856
+ }, {
857
+ key: "halfOpen",
858
+ get: function get() {
859
+ return this[STATE] === HALF_OPEN;
860
+ }
861
+ /**
862
+ * The current {@link Status} of this {@link CircuitBreaker}
863
+ * @type {Status}
864
+ */
865
+
866
+ }, {
867
+ key: "status",
868
+ get: function get() {
869
+ return this[STATUS];
870
+ }
871
+ /**
872
+ * Get the current stats for the circuit.
873
+ * @see Status#stats
874
+ * @type {Object}
875
+ */
876
+
877
+ }, {
878
+ key: "stats",
879
+ get: function get() {
880
+ return this[STATUS].stats;
881
+ }
882
+ /**
883
+ * Gets whether the circuit is enabled or not
884
+ * @type {Boolean}
885
+ */
886
+
887
+ }, {
888
+ key: "enabled",
889
+ get: function get() {
890
+ return this[ENABLED];
891
+ }
892
+ /**
893
+ * Gets whether the circuit is currently in warm up phase
894
+ * @type {Boolean}
895
+ */
896
+
897
+ }, {
898
+ key: "warmUp",
899
+ get: function get() {
900
+ return this[WARMING_UP];
901
+ }
902
+ /**
903
+ * Gets the volume threshold for this circuit
904
+ * @type {Boolean}
905
+ */
906
+
907
+ }, {
908
+ key: "volumeThreshold",
909
+ get: function get() {
910
+ return this[VOLUME_THRESHOLD];
911
+ }
912
+ }]);
913
+
914
+ return CircuitBreaker;
915
+ }(EventEmitter);
916
+
917
+ function handleError(error, circuit, timeout, args, latency, resolve, reject) {
918
+ clearTimeout(timeout);
919
+
920
+ if (circuit.options.errorFilter(error)) {
921
+ circuit.emit('success', error, latency);
922
+ } else {
923
+ fail(circuit, error, args, latency);
924
+ }
925
+
926
+ var fb = fallback(circuit, error, args);
927
+ if (fb) resolve(fb);else reject(error);
928
+ }
929
+
930
+ function fallback(circuit, err, args) {
931
+ if (circuit[FALLBACK_FUNCTION]) {
932
+ var result = circuit[FALLBACK_FUNCTION].apply(circuit[FALLBACK_FUNCTION], [].concat(_toConsumableArray(args), [err]));
933
+ /**
934
+ * Emitted when the circuit breaker executes a fallback function
935
+ * @event CircuitBreaker#fallback
936
+ * @type {any} the return value of the fallback function
937
+ */
938
+
939
+ circuit.emit('fallback', result, err);
940
+ if (result instanceof Promise) return result;
941
+ return Promise.resolve(result);
942
+ }
943
+ }
944
+
945
+ function fail(circuit, err, args, latency) {
946
+ /**
947
+ * Emitted when the circuit breaker action fails
948
+ * @event CircuitBreaker#failure
949
+ * @type {Error}
950
+ */
951
+ circuit.emit('failure', err, latency, args);
952
+ if (circuit.warmUp) return; // check stats to see if the circuit should be opened
953
+
954
+ var stats = circuit.stats;
955
+ if (stats.fires < circuit.volumeThreshold && !circuit.halfOpen) return;
956
+ var errorRate = stats.failures / stats.fires * 100;
957
+
958
+ if (errorRate > circuit.options.errorThresholdPercentage || stats.failures >= circuit.options.maxFailures || circuit.halfOpen) {
959
+ circuit.open();
960
+ }
961
+ }
962
+
963
+ function buildError(msg, code) {
964
+ var error = new Error(msg);
965
+ error.code = code;
966
+ error[OUR_ERROR] = true;
967
+ return error;
968
+ } // http://stackoverflow.com/a/2117523
969
+
970
+
971
+ var nextName = function nextName() {
972
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
973
+ var r = Math.random() * 16 | 0;
974
+ var v = c === 'x' ? r : r & 0x3 | 0x8;
975
+ return v.toString(16);
976
+ });
977
+ };
978
+
979
+ module.exports = exports = CircuitBreaker;
980
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node_modules/console-browserify/index.js */ "./node_modules/console-browserify/index.js")))
981
+
982
+ /***/ }),
983
+
984
+ /***/ "./lib/semaphore.js":
985
+ /*!**************************!*\
986
+ !*** ./lib/semaphore.js ***!
987
+ \**************************/
988
+ /*! no static exports found */
989
+ /***/ (function(module, exports, __webpack_require__) {
990
+
991
+ "use strict";
992
+
993
+
994
+ module.exports = exports = semaphore;
995
+
996
+ function semaphore(count) {
997
+ var resolvers = [];
998
+ var counter = count;
999
+ var sem = {
1000
+ take: take,
1001
+ release: release,
1002
+ test: test
1003
+ };
1004
+ Object.defineProperty(sem, 'count', {
1005
+ get: function get(_) {
1006
+ return counter;
1007
+ },
1008
+ enumerable: true
1009
+ });
1010
+ return sem;
1011
+
1012
+ function take(timeout) {
1013
+ if (counter > 0) {
1014
+ --counter;
1015
+ return Promise.resolve(release);
1016
+ }
1017
+
1018
+ return new Promise(function (resolve, reject) {
1019
+ resolvers.push(function (_) {
1020
+ --counter;
1021
+ resolve(release);
1022
+ });
1023
+
1024
+ if (timeout) {
1025
+ setTimeout(function (_) {
1026
+ resolvers.shift();
1027
+ var err = new Error("Timed out after ".concat(timeout, "ms"));
1028
+ err.code = 'ETIMEDOUT';
1029
+ reject(err);
1030
+ }, timeout);
1031
+ }
1032
+ });
1033
+ }
1034
+
1035
+ function release() {
1036
+ counter++;
1037
+
1038
+ if (resolvers.length > 0) {
1039
+ resolvers.shift()();
1040
+ }
1041
+ }
1042
+
1043
+ function test() {
1044
+ if (counter < 1) return false;
1045
+ return take() && true;
1046
+ }
1047
+ }
1048
+
1049
+ /***/ }),
1050
+
1051
+ /***/ "./lib/status.js":
1052
+ /*!***********************!*\
1053
+ !*** ./lib/status.js ***!
1054
+ \***********************/
1055
+ /*! no static exports found */
1056
+ /***/ (function(module, exports, __webpack_require__) {
1057
+
1058
+ "use strict";
1059
+
1060
+
1061
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
1062
+
1063
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1064
+
1065
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1066
+
1067
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1068
+
1069
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1070
+
1071
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
1072
+
1073
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1074
+
1075
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
1076
+
1077
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1078
+
1079
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
1080
+
1081
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1082
+
1083
+ var WINDOW = Symbol('window');
1084
+ var BUCKETS = Symbol('buckets');
1085
+ var TIMEOUT = Symbol('timeout');
1086
+ var PERCENTILES = Symbol('percentiles');
1087
+ var BUCKET_INTERVAL = Symbol('bucket-interval');
1088
+ var SNAPSHOT_INTERVAL = Symbol('snapshot-interval');
1089
+
1090
+ var EventEmitter = __webpack_require__(/*! events */ "./node_modules/events/events.js").EventEmitter;
1091
+ /**
1092
+ * Tracks execution status for a given {@link CircuitBreaker}.
1093
+ * A Status instance is created for every {@link CircuitBreaker}
1094
+ * and does not typically need to be created by a user.
1095
+ *
1096
+ * A Status instance will listen for all events on the {@link CircuitBreaker}
1097
+ * and track them in a rolling statistical window. The window duration is
1098
+ * determined by the `rollingCountTimeout` option provided to the
1099
+ * {@link CircuitBreaker}. The window consists of an array of Objects,
1100
+ * each representing the counts for a {@link CircuitBreaker}'s events.
1101
+ *
1102
+ * The array's length is determined by the {@link CircuitBreaker}'s
1103
+ * `rollingCountBuckets` option. The duration of each slice of the window
1104
+ * is determined by dividing the `rollingCountTimeout` by
1105
+ * `rollingCountBuckets`.
1106
+ *
1107
+ * @class Status
1108
+ * @extends EventEmitter
1109
+ * @param {Object} options for the status window
1110
+ * @param {Number} options.rollingCountBuckets number of buckets in the window
1111
+ * @param {Number} options.rollingCountTimeout the duration of the window
1112
+ * @param {Boolean} options.rollingPercentilesEnabled whether to calculate
1113
+ * percentiles
1114
+ * @example
1115
+ * // Creates a 1 second window consisting of ten time slices,
1116
+ * // each 100ms long.
1117
+ * const circuit = circuitBreaker(fs.readFile,
1118
+ * { rollingCountBuckets: 10, rollingCountTimeout: 1000});
1119
+ *
1120
+ * // get the cumulative statistics for the last second
1121
+ * circuit.status.stats;
1122
+ *
1123
+ * // get the array of 10, 1 second time slices for the last second
1124
+ * circuit.status.window;
1125
+ * @fires Status#snapshot
1126
+ * @see CircuitBreaker#status
1127
+ */
1128
+
1129
+
1130
+ var Status = /*#__PURE__*/function (_EventEmitter) {
1131
+ _inherits(Status, _EventEmitter);
1132
+
1133
+ var _super = _createSuper(Status);
1134
+
1135
+ function Status(options) {
1136
+ var _this;
1137
+
1138
+ _classCallCheck(this, Status);
1139
+
1140
+ _this = _super.call(this); // Set up our statistical rolling window
1141
+
1142
+ _this[BUCKETS] = options.rollingCountBuckets;
1143
+ _this[TIMEOUT] = options.rollingCountTimeout;
1144
+ _this[WINDOW] = new Array(_this[BUCKETS]);
1145
+ _this[PERCENTILES] = [0.0, 0.25, 0.5, 0.75, 0.9, 0.95, 0.99, 0.995, 1]; // Default this value to true
1146
+
1147
+ _this.rollingPercentilesEnabled = options.rollingPercentilesEnabled; // prime the window with buckets
1148
+
1149
+ for (var i = 0; i < _this[BUCKETS]; i++) {
1150
+ _this[WINDOW][i] = bucket();
1151
+ } // rotate the buckets periodically
1152
+
1153
+
1154
+ var bucketInterval = Math.floor(_this[TIMEOUT] / _this[BUCKETS]);
1155
+ _this[BUCKET_INTERVAL] = setInterval(nextBucket(_this[WINDOW]), bucketInterval); // No unref() in the browser
1156
+
1157
+ if (typeof _this[BUCKET_INTERVAL].unref === 'function') {
1158
+ _this[BUCKET_INTERVAL].unref();
1159
+ }
1160
+ /**
1161
+ * Emitted at each time-slice. Listeners for this
1162
+ * event will receive a cumulative snapshot of the current status window.
1163
+ * @event Status#snapshot
1164
+ * @type {Object}
1165
+ */
1166
+
1167
+
1168
+ _this[SNAPSHOT_INTERVAL] = setInterval(function (_) {
1169
+ return _this.emit('snapshot', _this.stats);
1170
+ }, bucketInterval);
1171
+
1172
+ if (typeof _this[SNAPSHOT_INTERVAL].unref === 'function') {
1173
+ _this[SNAPSHOT_INTERVAL].unref();
1174
+ }
1175
+
1176
+ return _this;
1177
+ }
1178
+ /**
1179
+ * Get the cumulative stats for the current window
1180
+ * @type {Object}
1181
+ */
1182
+
1183
+
1184
+ _createClass(Status, [{
1185
+ key: "increment",
1186
+ value: function increment(property, latencyRunTime) {
1187
+ this[WINDOW][0][property]++;
1188
+
1189
+ if (property === 'successes' || property === 'failures' || property === 'timeouts') {
1190
+ this[WINDOW][0].latencyTimes.push(latencyRunTime || 0);
1191
+ }
1192
+ }
1193
+ }, {
1194
+ key: "open",
1195
+ value: function open() {
1196
+ this[WINDOW][0].isCircuitBreakerOpen = true;
1197
+ }
1198
+ }, {
1199
+ key: "close",
1200
+ value: function close() {
1201
+ this[WINDOW][0].isCircuitBreakerOpen = false;
1202
+ }
1203
+ }, {
1204
+ key: "shutdown",
1205
+ value: function shutdown() {
1206
+ this.removeAllListeners();
1207
+ clearInterval(this[BUCKET_INTERVAL]);
1208
+ clearInterval(this[SNAPSHOT_INTERVAL]);
1209
+ }
1210
+ }, {
1211
+ key: "stats",
1212
+ get: function get() {
1213
+ var _this2 = this;
1214
+
1215
+ var totals = this[WINDOW].reduce(function (acc, val) {
1216
+ if (!val) {
1217
+ return acc;
1218
+ }
1219
+
1220
+ Object.keys(acc).forEach(function (key) {
1221
+ if (key !== 'latencyTimes' && key !== 'percentiles') {
1222
+ acc[key] += val[key] || 0;
1223
+ }
1224
+ });
1225
+
1226
+ if (_this2.rollingPercentilesEnabled) {
1227
+ acc.latencyTimes.push.apply(acc.latencyTimes, val.latencyTimes || []);
1228
+ }
1229
+
1230
+ return acc;
1231
+ }, bucket());
1232
+
1233
+ if (this.rollingPercentilesEnabled) {
1234
+ // Sort the latencyTimes
1235
+ totals.latencyTimes.sort(function (a, b) {
1236
+ return a - b;
1237
+ }); // Get the mean latency
1238
+ // Mean = sum of all values in the array/length of array
1239
+
1240
+ if (totals.latencyTimes.length) {
1241
+ totals.latencyMean = totals.latencyTimes.reduce(function (a, b) {
1242
+ return a + b;
1243
+ }, 0) / totals.latencyTimes.length;
1244
+ } else {
1245
+ totals.latencyMean = 0;
1246
+ } // Calculate Percentiles
1247
+
1248
+
1249
+ this[PERCENTILES].forEach(function (percentile) {
1250
+ totals.percentiles[percentile] = calculatePercentile(percentile, totals.latencyTimes);
1251
+ });
1252
+ } else {
1253
+ totals.latencyMean = -1;
1254
+ this[PERCENTILES].forEach(function (percentile) {
1255
+ totals.percentiles[percentile] = -1;
1256
+ });
1257
+ }
1258
+
1259
+ return totals;
1260
+ }
1261
+ /**
1262
+ * Gets the stats window as an array of time-sliced objects.
1263
+ * @type {Array}
1264
+ */
1265
+
1266
+ }, {
1267
+ key: "window",
1268
+ get: function get() {
1269
+ return this[WINDOW].slice();
1270
+ }
1271
+ }]);
1272
+
1273
+ return Status;
1274
+ }(EventEmitter);
1275
+
1276
+ var nextBucket = function nextBucket(window) {
1277
+ return function (_) {
1278
+ window.pop();
1279
+ window.unshift(bucket());
1280
+ };
1281
+ };
1282
+
1283
+ var bucket = function bucket(_) {
1284
+ return {
1285
+ failures: 0,
1286
+ fallbacks: 0,
1287
+ successes: 0,
1288
+ rejects: 0,
1289
+ fires: 0,
1290
+ timeouts: 0,
1291
+ cacheHits: 0,
1292
+ cacheMisses: 0,
1293
+ semaphoreRejections: 0,
1294
+ percentiles: {},
1295
+ latencyTimes: []
1296
+ };
1297
+ };
1298
+
1299
+ function calculatePercentile(percentile, arr) {
1300
+ if (percentile === 0) {
1301
+ return arr[0] || 0;
1302
+ }
1303
+
1304
+ var idx = Math.ceil(percentile * arr.length);
1305
+ return arr[idx - 1] || 0;
1306
+ }
1307
+
1308
+ module.exports = exports = Status;
1309
+
1310
+ /***/ }),
1311
+
1312
+ /***/ "./node_modules/assert/assert.js":
1313
+ /*!***************************************!*\
1314
+ !*** ./node_modules/assert/assert.js ***!
1315
+ \***************************************/
1316
+ /*! no static exports found */
1317
+ /***/ (function(module, exports, __webpack_require__) {
1318
+
1319
+ "use strict";
1320
+ /* WEBPACK VAR INJECTION */(function(global) {
1321
+
1322
+ var objectAssign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js");
1323
+
1324
+ // compare and isBuffer taken from https://github.com/feross/buffer/blob/680e9e5e488f22aac27599a57dc844a6315928dd/index.js
1325
+ // original notice:
1326
+
1327
+ /*!
1328
+ * The buffer module from node.js, for the browser.
1329
+ *
1330
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
1331
+ * @license MIT
1332
+ */
1333
+ function compare(a, b) {
1334
+ if (a === b) {
1335
+ return 0;
1336
+ }
1337
+
1338
+ var x = a.length;
1339
+ var y = b.length;
1340
+
1341
+ for (var i = 0, len = Math.min(x, y); i < len; ++i) {
1342
+ if (a[i] !== b[i]) {
1343
+ x = a[i];
1344
+ y = b[i];
1345
+ break;
1346
+ }
1347
+ }
1348
+
1349
+ if (x < y) {
1350
+ return -1;
1351
+ }
1352
+ if (y < x) {
1353
+ return 1;
1354
+ }
1355
+ return 0;
1356
+ }
1357
+ function isBuffer(b) {
1358
+ if (global.Buffer && typeof global.Buffer.isBuffer === 'function') {
1359
+ return global.Buffer.isBuffer(b);
1360
+ }
1361
+ return !!(b != null && b._isBuffer);
1362
+ }
1363
+
1364
+ // based on node assert, original notice:
1365
+ // NB: The URL to the CommonJS spec is kept just for tradition.
1366
+ // node-assert has evolved a lot since then, both in API and behavior.
1367
+
1368
+ // http://wiki.commonjs.org/wiki/Unit_Testing/1.0
1369
+ //
1370
+ // THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!
1371
+ //
1372
+ // Originally from narwhal.js (http://narwhaljs.org)
1373
+ // Copyright (c) 2009 Thomas Robinson <280north.com>
1374
+ //
1375
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
1376
+ // of this software and associated documentation files (the 'Software'), to
1377
+ // deal in the Software without restriction, including without limitation the
1378
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
1379
+ // sell copies of the Software, and to permit persons to whom the Software is
1380
+ // furnished to do so, subject to the following conditions:
1381
+ //
1382
+ // The above copyright notice and this permission notice shall be included in
1383
+ // all copies or substantial portions of the Software.
1384
+ //
1385
+ // THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1386
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1387
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1388
+ // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
1389
+ // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1390
+ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1391
+
1392
+ var util = __webpack_require__(/*! util/ */ "./node_modules/util/util.js");
1393
+ var hasOwn = Object.prototype.hasOwnProperty;
1394
+ var pSlice = Array.prototype.slice;
1395
+ var functionsHaveNames = (function () {
1396
+ return function foo() {}.name === 'foo';
1397
+ }());
1398
+ function pToString (obj) {
1399
+ return Object.prototype.toString.call(obj);
1400
+ }
1401
+ function isView(arrbuf) {
1402
+ if (isBuffer(arrbuf)) {
1403
+ return false;
1404
+ }
1405
+ if (typeof global.ArrayBuffer !== 'function') {
1406
+ return false;
1407
+ }
1408
+ if (typeof ArrayBuffer.isView === 'function') {
1409
+ return ArrayBuffer.isView(arrbuf);
1410
+ }
1411
+ if (!arrbuf) {
1412
+ return false;
1413
+ }
1414
+ if (arrbuf instanceof DataView) {
1415
+ return true;
1416
+ }
1417
+ if (arrbuf.buffer && arrbuf.buffer instanceof ArrayBuffer) {
1418
+ return true;
1419
+ }
1420
+ return false;
1421
+ }
1422
+ // 1. The assert module provides functions that throw
1423
+ // AssertionError's when particular conditions are not met. The
1424
+ // assert module must conform to the following interface.
1425
+
1426
+ var assert = module.exports = ok;
1427
+
1428
+ // 2. The AssertionError is defined in assert.
1429
+ // new assert.AssertionError({ message: message,
1430
+ // actual: actual,
1431
+ // expected: expected })
1432
+
1433
+ var regex = /\s*function\s+([^\(\s]*)\s*/;
1434
+ // based on https://github.com/ljharb/function.prototype.name/blob/adeeeec8bfcc6068b187d7d9fb3d5bb1d3a30899/implementation.js
1435
+ function getName(func) {
1436
+ if (!util.isFunction(func)) {
1437
+ return;
1438
+ }
1439
+ if (functionsHaveNames) {
1440
+ return func.name;
1441
+ }
1442
+ var str = func.toString();
1443
+ var match = str.match(regex);
1444
+ return match && match[1];
1445
+ }
1446
+ assert.AssertionError = function AssertionError(options) {
1447
+ this.name = 'AssertionError';
1448
+ this.actual = options.actual;
1449
+ this.expected = options.expected;
1450
+ this.operator = options.operator;
1451
+ if (options.message) {
1452
+ this.message = options.message;
1453
+ this.generatedMessage = false;
1454
+ } else {
1455
+ this.message = getMessage(this);
1456
+ this.generatedMessage = true;
1457
+ }
1458
+ var stackStartFunction = options.stackStartFunction || fail;
1459
+ if (Error.captureStackTrace) {
1460
+ Error.captureStackTrace(this, stackStartFunction);
1461
+ } else {
1462
+ // non v8 browsers so we can have a stacktrace
1463
+ var err = new Error();
1464
+ if (err.stack) {
1465
+ var out = err.stack;
1466
+
1467
+ // try to strip useless frames
1468
+ var fn_name = getName(stackStartFunction);
1469
+ var idx = out.indexOf('\n' + fn_name);
1470
+ if (idx >= 0) {
1471
+ // once we have located the function frame
1472
+ // we need to strip out everything before it (and its line)
1473
+ var next_line = out.indexOf('\n', idx + 1);
1474
+ out = out.substring(next_line + 1);
1475
+ }
1476
+
1477
+ this.stack = out;
1478
+ }
1479
+ }
1480
+ };
1481
+
1482
+ // assert.AssertionError instanceof Error
1483
+ util.inherits(assert.AssertionError, Error);
1484
+
1485
+ function truncate(s, n) {
1486
+ if (typeof s === 'string') {
1487
+ return s.length < n ? s : s.slice(0, n);
1488
+ } else {
1489
+ return s;
1490
+ }
1491
+ }
1492
+ function inspect(something) {
1493
+ if (functionsHaveNames || !util.isFunction(something)) {
1494
+ return util.inspect(something);
1495
+ }
1496
+ var rawname = getName(something);
1497
+ var name = rawname ? ': ' + rawname : '';
1498
+ return '[Function' + name + ']';
1499
+ }
1500
+ function getMessage(self) {
1501
+ return truncate(inspect(self.actual), 128) + ' ' +
1502
+ self.operator + ' ' +
1503
+ truncate(inspect(self.expected), 128);
1504
+ }
1505
+
1506
+ // At present only the three keys mentioned above are used and
1507
+ // understood by the spec. Implementations or sub modules can pass
1508
+ // other keys to the AssertionError's constructor - they will be
1509
+ // ignored.
1510
+
1511
+ // 3. All of the following functions must throw an AssertionError
1512
+ // when a corresponding condition is not met, with a message that
1513
+ // may be undefined if not provided. All assertion methods provide
1514
+ // both the actual and expected values to the assertion error for
1515
+ // display purposes.
1516
+
1517
+ function fail(actual, expected, message, operator, stackStartFunction) {
1518
+ throw new assert.AssertionError({
1519
+ message: message,
1520
+ actual: actual,
1521
+ expected: expected,
1522
+ operator: operator,
1523
+ stackStartFunction: stackStartFunction
1524
+ });
1525
+ }
1526
+
1527
+ // EXTENSION! allows for well behaved errors defined elsewhere.
1528
+ assert.fail = fail;
1529
+
1530
+ // 4. Pure assertion tests whether a value is truthy, as determined
1531
+ // by !!guard.
1532
+ // assert.ok(guard, message_opt);
1533
+ // This statement is equivalent to assert.equal(true, !!guard,
1534
+ // message_opt);. To test strictly for the value true, use
1535
+ // assert.strictEqual(true, guard, message_opt);.
1536
+
1537
+ function ok(value, message) {
1538
+ if (!value) fail(value, true, message, '==', assert.ok);
1539
+ }
1540
+ assert.ok = ok;
1541
+
1542
+ // 5. The equality assertion tests shallow, coercive equality with
1543
+ // ==.
1544
+ // assert.equal(actual, expected, message_opt);
1545
+
1546
+ assert.equal = function equal(actual, expected, message) {
1547
+ if (actual != expected) fail(actual, expected, message, '==', assert.equal);
1548
+ };
1549
+
1550
+ // 6. The non-equality assertion tests for whether two objects are not equal
1551
+ // with != assert.notEqual(actual, expected, message_opt);
1552
+
1553
+ assert.notEqual = function notEqual(actual, expected, message) {
1554
+ if (actual == expected) {
1555
+ fail(actual, expected, message, '!=', assert.notEqual);
1556
+ }
1557
+ };
1558
+
1559
+ // 7. The equivalence assertion tests a deep equality relation.
1560
+ // assert.deepEqual(actual, expected, message_opt);
1561
+
1562
+ assert.deepEqual = function deepEqual(actual, expected, message) {
1563
+ if (!_deepEqual(actual, expected, false)) {
1564
+ fail(actual, expected, message, 'deepEqual', assert.deepEqual);
1565
+ }
1566
+ };
1567
+
1568
+ assert.deepStrictEqual = function deepStrictEqual(actual, expected, message) {
1569
+ if (!_deepEqual(actual, expected, true)) {
1570
+ fail(actual, expected, message, 'deepStrictEqual', assert.deepStrictEqual);
1571
+ }
1572
+ };
1573
+
1574
+ function _deepEqual(actual, expected, strict, memos) {
1575
+ // 7.1. All identical values are equivalent, as determined by ===.
1576
+ if (actual === expected) {
1577
+ return true;
1578
+ } else if (isBuffer(actual) && isBuffer(expected)) {
1579
+ return compare(actual, expected) === 0;
1580
+
1581
+ // 7.2. If the expected value is a Date object, the actual value is
1582
+ // equivalent if it is also a Date object that refers to the same time.
1583
+ } else if (util.isDate(actual) && util.isDate(expected)) {
1584
+ return actual.getTime() === expected.getTime();
1585
+
1586
+ // 7.3 If the expected value is a RegExp object, the actual value is
1587
+ // equivalent if it is also a RegExp object with the same source and
1588
+ // properties (`global`, `multiline`, `lastIndex`, `ignoreCase`).
1589
+ } else if (util.isRegExp(actual) && util.isRegExp(expected)) {
1590
+ return actual.source === expected.source &&
1591
+ actual.global === expected.global &&
1592
+ actual.multiline === expected.multiline &&
1593
+ actual.lastIndex === expected.lastIndex &&
1594
+ actual.ignoreCase === expected.ignoreCase;
1595
+
1596
+ // 7.4. Other pairs that do not both pass typeof value == 'object',
1597
+ // equivalence is determined by ==.
1598
+ } else if ((actual === null || typeof actual !== 'object') &&
1599
+ (expected === null || typeof expected !== 'object')) {
1600
+ return strict ? actual === expected : actual == expected;
1601
+
1602
+ // If both values are instances of typed arrays, wrap their underlying
1603
+ // ArrayBuffers in a Buffer each to increase performance
1604
+ // This optimization requires the arrays to have the same type as checked by
1605
+ // Object.prototype.toString (aka pToString). Never perform binary
1606
+ // comparisons for Float*Arrays, though, since e.g. +0 === -0 but their
1607
+ // bit patterns are not identical.
1608
+ } else if (isView(actual) && isView(expected) &&
1609
+ pToString(actual) === pToString(expected) &&
1610
+ !(actual instanceof Float32Array ||
1611
+ actual instanceof Float64Array)) {
1612
+ return compare(new Uint8Array(actual.buffer),
1613
+ new Uint8Array(expected.buffer)) === 0;
1614
+
1615
+ // 7.5 For all other Object pairs, including Array objects, equivalence is
1616
+ // determined by having the same number of owned properties (as verified
1617
+ // with Object.prototype.hasOwnProperty.call), the same set of keys
1618
+ // (although not necessarily the same order), equivalent values for every
1619
+ // corresponding key, and an identical 'prototype' property. Note: this
1620
+ // accounts for both named and indexed properties on Arrays.
1621
+ } else if (isBuffer(actual) !== isBuffer(expected)) {
1622
+ return false;
1623
+ } else {
1624
+ memos = memos || {actual: [], expected: []};
1625
+
1626
+ var actualIndex = memos.actual.indexOf(actual);
1627
+ if (actualIndex !== -1) {
1628
+ if (actualIndex === memos.expected.indexOf(expected)) {
1629
+ return true;
1630
+ }
1631
+ }
1632
+
1633
+ memos.actual.push(actual);
1634
+ memos.expected.push(expected);
1635
+
1636
+ return objEquiv(actual, expected, strict, memos);
1637
+ }
1638
+ }
1639
+
1640
+ function isArguments(object) {
1641
+ return Object.prototype.toString.call(object) == '[object Arguments]';
1642
+ }
1643
+
1644
+ function objEquiv(a, b, strict, actualVisitedObjects) {
1645
+ if (a === null || a === undefined || b === null || b === undefined)
1646
+ return false;
1647
+ // if one is a primitive, the other must be same
1648
+ if (util.isPrimitive(a) || util.isPrimitive(b))
1649
+ return a === b;
1650
+ if (strict && Object.getPrototypeOf(a) !== Object.getPrototypeOf(b))
1651
+ return false;
1652
+ var aIsArgs = isArguments(a);
1653
+ var bIsArgs = isArguments(b);
1654
+ if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs))
1655
+ return false;
1656
+ if (aIsArgs) {
1657
+ a = pSlice.call(a);
1658
+ b = pSlice.call(b);
1659
+ return _deepEqual(a, b, strict);
1660
+ }
1661
+ var ka = objectKeys(a);
1662
+ var kb = objectKeys(b);
1663
+ var key, i;
1664
+ // having the same number of owned properties (keys incorporates
1665
+ // hasOwnProperty)
1666
+ if (ka.length !== kb.length)
1667
+ return false;
1668
+ //the same set of keys (although not necessarily the same order),
1669
+ ka.sort();
1670
+ kb.sort();
1671
+ //~~~cheap key test
1672
+ for (i = ka.length - 1; i >= 0; i--) {
1673
+ if (ka[i] !== kb[i])
1674
+ return false;
1675
+ }
1676
+ //equivalent values for every corresponding key, and
1677
+ //~~~possibly expensive deep test
1678
+ for (i = ka.length - 1; i >= 0; i--) {
1679
+ key = ka[i];
1680
+ if (!_deepEqual(a[key], b[key], strict, actualVisitedObjects))
1681
+ return false;
1682
+ }
1683
+ return true;
1684
+ }
1685
+
1686
+ // 8. The non-equivalence assertion tests for any deep inequality.
1687
+ // assert.notDeepEqual(actual, expected, message_opt);
1688
+
1689
+ assert.notDeepEqual = function notDeepEqual(actual, expected, message) {
1690
+ if (_deepEqual(actual, expected, false)) {
1691
+ fail(actual, expected, message, 'notDeepEqual', assert.notDeepEqual);
1692
+ }
1693
+ };
1694
+
1695
+ assert.notDeepStrictEqual = notDeepStrictEqual;
1696
+ function notDeepStrictEqual(actual, expected, message) {
1697
+ if (_deepEqual(actual, expected, true)) {
1698
+ fail(actual, expected, message, 'notDeepStrictEqual', notDeepStrictEqual);
1699
+ }
1700
+ }
1701
+
1702
+
1703
+ // 9. The strict equality assertion tests strict equality, as determined by ===.
1704
+ // assert.strictEqual(actual, expected, message_opt);
1705
+
1706
+ assert.strictEqual = function strictEqual(actual, expected, message) {
1707
+ if (actual !== expected) {
1708
+ fail(actual, expected, message, '===', assert.strictEqual);
1709
+ }
1710
+ };
1711
+
1712
+ // 10. The strict non-equality assertion tests for strict inequality, as
1713
+ // determined by !==. assert.notStrictEqual(actual, expected, message_opt);
1714
+
1715
+ assert.notStrictEqual = function notStrictEqual(actual, expected, message) {
1716
+ if (actual === expected) {
1717
+ fail(actual, expected, message, '!==', assert.notStrictEqual);
1718
+ }
1719
+ };
1720
+
1721
+ function expectedException(actual, expected) {
1722
+ if (!actual || !expected) {
1723
+ return false;
1724
+ }
1725
+
1726
+ if (Object.prototype.toString.call(expected) == '[object RegExp]') {
1727
+ return expected.test(actual);
1728
+ }
1729
+
1730
+ try {
1731
+ if (actual instanceof expected) {
1732
+ return true;
1733
+ }
1734
+ } catch (e) {
1735
+ // Ignore. The instanceof check doesn't work for arrow functions.
1736
+ }
1737
+
1738
+ if (Error.isPrototypeOf(expected)) {
1739
+ return false;
1740
+ }
1741
+
1742
+ return expected.call({}, actual) === true;
1743
+ }
1744
+
1745
+ function _tryBlock(block) {
1746
+ var error;
1747
+ try {
1748
+ block();
1749
+ } catch (e) {
1750
+ error = e;
1751
+ }
1752
+ return error;
1753
+ }
1754
+
1755
+ function _throws(shouldThrow, block, expected, message) {
1756
+ var actual;
1757
+
1758
+ if (typeof block !== 'function') {
1759
+ throw new TypeError('"block" argument must be a function');
1760
+ }
1761
+
1762
+ if (typeof expected === 'string') {
1763
+ message = expected;
1764
+ expected = null;
1765
+ }
1766
+
1767
+ actual = _tryBlock(block);
1768
+
1769
+ message = (expected && expected.name ? ' (' + expected.name + ').' : '.') +
1770
+ (message ? ' ' + message : '.');
1771
+
1772
+ if (shouldThrow && !actual) {
1773
+ fail(actual, expected, 'Missing expected exception' + message);
1774
+ }
1775
+
1776
+ var userProvidedMessage = typeof message === 'string';
1777
+ var isUnwantedException = !shouldThrow && util.isError(actual);
1778
+ var isUnexpectedException = !shouldThrow && actual && !expected;
1779
+
1780
+ if ((isUnwantedException &&
1781
+ userProvidedMessage &&
1782
+ expectedException(actual, expected)) ||
1783
+ isUnexpectedException) {
1784
+ fail(actual, expected, 'Got unwanted exception' + message);
1785
+ }
1786
+
1787
+ if ((shouldThrow && actual && expected &&
1788
+ !expectedException(actual, expected)) || (!shouldThrow && actual)) {
1789
+ throw actual;
1790
+ }
1791
+ }
1792
+
1793
+ // 11. Expected to throw an error:
1794
+ // assert.throws(block, Error_opt, message_opt);
1795
+
1796
+ assert.throws = function(block, /*optional*/error, /*optional*/message) {
1797
+ _throws(true, block, error, message);
1798
+ };
1799
+
1800
+ // EXTENSION! This is annoying to write outside this module.
1801
+ assert.doesNotThrow = function(block, /*optional*/error, /*optional*/message) {
1802
+ _throws(false, block, error, message);
1803
+ };
1804
+
1805
+ assert.ifError = function(err) { if (err) throw err; };
1806
+
1807
+ // Expose a strict only variant of assert
1808
+ function strict(value, message) {
1809
+ if (!value) fail(value, true, message, '==', strict);
1810
+ }
1811
+ assert.strict = objectAssign(strict, assert, {
1812
+ equal: assert.strictEqual,
1813
+ deepEqual: assert.deepStrictEqual,
1814
+ notEqual: assert.notStrictEqual,
1815
+ notDeepEqual: assert.notDeepStrictEqual
1816
+ });
1817
+ assert.strict.strict = assert.strict;
1818
+
1819
+ var objectKeys = Object.keys || function (obj) {
1820
+ var keys = [];
1821
+ for (var key in obj) {
1822
+ if (hasOwn.call(obj, key)) keys.push(key);
1823
+ }
1824
+ return keys;
1825
+ };
1826
+
1827
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
1828
+
1829
+ /***/ }),
1830
+
1831
+ /***/ "./node_modules/console-browserify/index.js":
1832
+ /*!**************************************************!*\
1833
+ !*** ./node_modules/console-browserify/index.js ***!
1834
+ \**************************************************/
1835
+ /*! no static exports found */
1836
+ /***/ (function(module, exports, __webpack_require__) {
1837
+
1838
+ /* WEBPACK VAR INJECTION */(function(global) {/*global window, global*/
1839
+ var util = __webpack_require__(/*! util */ "./node_modules/util/util.js")
1840
+ var assert = __webpack_require__(/*! assert */ "./node_modules/assert/assert.js")
1841
+ function now() { return new Date().getTime() }
1842
+
1843
+ var slice = Array.prototype.slice
1844
+ var console
1845
+ var times = {}
1846
+
1847
+ if (typeof global !== "undefined" && global.console) {
1848
+ console = global.console
1849
+ } else if (typeof window !== "undefined" && window.console) {
1850
+ console = window.console
1851
+ } else {
1852
+ console = {}
1853
+ }
1854
+
1855
+ var functions = [
1856
+ [log, "log"],
1857
+ [info, "info"],
1858
+ [warn, "warn"],
1859
+ [error, "error"],
1860
+ [time, "time"],
1861
+ [timeEnd, "timeEnd"],
1862
+ [trace, "trace"],
1863
+ [dir, "dir"],
1864
+ [consoleAssert, "assert"]
1865
+ ]
1866
+
1867
+ for (var i = 0; i < functions.length; i++) {
1868
+ var tuple = functions[i]
1869
+ var f = tuple[0]
1870
+ var name = tuple[1]
1871
+
1872
+ if (!console[name]) {
1873
+ console[name] = f
1874
+ }
1875
+ }
1876
+
1877
+ module.exports = console
1878
+
1879
+ function log() {}
1880
+
1881
+ function info() {
1882
+ console.log.apply(console, arguments)
1883
+ }
1884
+
1885
+ function warn() {
1886
+ console.log.apply(console, arguments)
1887
+ }
1888
+
1889
+ function error() {
1890
+ console.warn.apply(console, arguments)
1891
+ }
1892
+
1893
+ function time(label) {
1894
+ times[label] = now()
1895
+ }
1896
+
1897
+ function timeEnd(label) {
1898
+ var time = times[label]
1899
+ if (!time) {
1900
+ throw new Error("No such label: " + label)
1901
+ }
1902
+
1903
+ delete times[label]
1904
+ var duration = now() - time
1905
+ console.log(label + ": " + duration + "ms")
1906
+ }
1907
+
1908
+ function trace() {
1909
+ var err = new Error()
1910
+ err.name = "Trace"
1911
+ err.message = util.format.apply(null, arguments)
1912
+ console.error(err.stack)
1913
+ }
1914
+
1915
+ function dir(object) {
1916
+ console.log(util.inspect(object) + "\n")
1917
+ }
1918
+
1919
+ function consoleAssert(expression) {
1920
+ if (!expression) {
1921
+ var arr = slice.call(arguments, 1)
1922
+ assert.ok(false, util.format.apply(null, arr))
1923
+ }
1924
+ }
1925
+
1926
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
1927
+
1928
+ /***/ }),
1929
+
1930
+ /***/ "./node_modules/events/events.js":
1931
+ /*!***************************************!*\
1932
+ !*** ./node_modules/events/events.js ***!
1933
+ \***************************************/
1934
+ /*! no static exports found */
1935
+ /***/ (function(module, exports, __webpack_require__) {
1936
+
1937
+ "use strict";
1938
+ /* WEBPACK VAR INJECTION */(function(console) {// Copyright Joyent, Inc. and other Node contributors.
1939
+ //
1940
+ // Permission is hereby granted, free of charge, to any person obtaining a
1941
+ // copy of this software and associated documentation files (the
1942
+ // "Software"), to deal in the Software without restriction, including
1943
+ // without limitation the rights to use, copy, modify, merge, publish,
1944
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
1945
+ // persons to whom the Software is furnished to do so, subject to the
1946
+ // following conditions:
1947
+ //
1948
+ // The above copyright notice and this permission notice shall be included
1949
+ // in all copies or substantial portions of the Software.
1950
+ //
1951
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1952
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1953
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
1954
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
1955
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
1956
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
1957
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
1958
+
1959
+
1960
+
1961
+ var R = typeof Reflect === 'object' ? Reflect : null
1962
+ var ReflectApply = R && typeof R.apply === 'function'
1963
+ ? R.apply
1964
+ : function ReflectApply(target, receiver, args) {
1965
+ return Function.prototype.apply.call(target, receiver, args);
1966
+ }
1967
+
1968
+ var ReflectOwnKeys
1969
+ if (R && typeof R.ownKeys === 'function') {
1970
+ ReflectOwnKeys = R.ownKeys
1971
+ } else if (Object.getOwnPropertySymbols) {
1972
+ ReflectOwnKeys = function ReflectOwnKeys(target) {
1973
+ return Object.getOwnPropertyNames(target)
1974
+ .concat(Object.getOwnPropertySymbols(target));
1975
+ };
1976
+ } else {
1977
+ ReflectOwnKeys = function ReflectOwnKeys(target) {
1978
+ return Object.getOwnPropertyNames(target);
1979
+ };
1980
+ }
1981
+
1982
+ function ProcessEmitWarning(warning) {
1983
+ if (console && console.warn) console.warn(warning);
1984
+ }
1985
+
1986
+ var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {
1987
+ return value !== value;
1988
+ }
1989
+
1990
+ function EventEmitter() {
1991
+ EventEmitter.init.call(this);
1992
+ }
1993
+ module.exports = EventEmitter;
1994
+
1995
+ // Backwards-compat with node 0.10.x
1996
+ EventEmitter.EventEmitter = EventEmitter;
1997
+
1998
+ EventEmitter.prototype._events = undefined;
1999
+ EventEmitter.prototype._eventsCount = 0;
2000
+ EventEmitter.prototype._maxListeners = undefined;
2001
+
2002
+ // By default EventEmitters will print a warning if more than 10 listeners are
2003
+ // added to it. This is a useful default which helps finding memory leaks.
2004
+ var defaultMaxListeners = 10;
2005
+
2006
+ function checkListener(listener) {
2007
+ if (typeof listener !== 'function') {
2008
+ throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
2009
+ }
2010
+ }
2011
+
2012
+ Object.defineProperty(EventEmitter, 'defaultMaxListeners', {
2013
+ enumerable: true,
2014
+ get: function() {
2015
+ return defaultMaxListeners;
2016
+ },
2017
+ set: function(arg) {
2018
+ if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {
2019
+ throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.');
2020
+ }
2021
+ defaultMaxListeners = arg;
2022
+ }
2023
+ });
2024
+
2025
+ EventEmitter.init = function() {
2026
+
2027
+ if (this._events === undefined ||
2028
+ this._events === Object.getPrototypeOf(this)._events) {
2029
+ this._events = Object.create(null);
2030
+ this._eventsCount = 0;
2031
+ }
2032
+
2033
+ this._maxListeners = this._maxListeners || undefined;
2034
+ };
2035
+
2036
+ // Obviously not all Emitters should be limited to 10. This function allows
2037
+ // that to be increased. Set to zero for unlimited.
2038
+ EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
2039
+ if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {
2040
+ throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.');
2041
+ }
2042
+ this._maxListeners = n;
2043
+ return this;
2044
+ };
2045
+
2046
+ function _getMaxListeners(that) {
2047
+ if (that._maxListeners === undefined)
2048
+ return EventEmitter.defaultMaxListeners;
2049
+ return that._maxListeners;
2050
+ }
2051
+
2052
+ EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
2053
+ return _getMaxListeners(this);
2054
+ };
2055
+
2056
+ EventEmitter.prototype.emit = function emit(type) {
2057
+ var args = [];
2058
+ for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);
2059
+ var doError = (type === 'error');
2060
+
2061
+ var events = this._events;
2062
+ if (events !== undefined)
2063
+ doError = (doError && events.error === undefined);
2064
+ else if (!doError)
2065
+ return false;
2066
+
2067
+ // If there is no 'error' event listener then throw.
2068
+ if (doError) {
2069
+ var er;
2070
+ if (args.length > 0)
2071
+ er = args[0];
2072
+ if (er instanceof Error) {
2073
+ // Note: The comments on the `throw` lines are intentional, they show
2074
+ // up in Node's output if this results in an unhandled exception.
2075
+ throw er; // Unhandled 'error' event
2076
+ }
2077
+ // At least give some kind of context to the user
2078
+ var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));
2079
+ err.context = er;
2080
+ throw err; // Unhandled 'error' event
2081
+ }
2082
+
2083
+ var handler = events[type];
2084
+
2085
+ if (handler === undefined)
2086
+ return false;
2087
+
2088
+ if (typeof handler === 'function') {
2089
+ ReflectApply(handler, this, args);
2090
+ } else {
2091
+ var len = handler.length;
2092
+ var listeners = arrayClone(handler, len);
2093
+ for (var i = 0; i < len; ++i)
2094
+ ReflectApply(listeners[i], this, args);
2095
+ }
2096
+
2097
+ return true;
2098
+ };
2099
+
2100
+ function _addListener(target, type, listener, prepend) {
2101
+ var m;
2102
+ var events;
2103
+ var existing;
2104
+
2105
+ checkListener(listener);
2106
+
2107
+ events = target._events;
2108
+ if (events === undefined) {
2109
+ events = target._events = Object.create(null);
2110
+ target._eventsCount = 0;
2111
+ } else {
2112
+ // To avoid recursion in the case that type === "newListener"! Before
2113
+ // adding it to the listeners, first emit "newListener".
2114
+ if (events.newListener !== undefined) {
2115
+ target.emit('newListener', type,
2116
+ listener.listener ? listener.listener : listener);
2117
+
2118
+ // Re-assign `events` because a newListener handler could have caused the
2119
+ // this._events to be assigned to a new object
2120
+ events = target._events;
2121
+ }
2122
+ existing = events[type];
2123
+ }
2124
+
2125
+ if (existing === undefined) {
2126
+ // Optimize the case of one listener. Don't need the extra array object.
2127
+ existing = events[type] = listener;
2128
+ ++target._eventsCount;
2129
+ } else {
2130
+ if (typeof existing === 'function') {
2131
+ // Adding the second element, need to change to array.
2132
+ existing = events[type] =
2133
+ prepend ? [listener, existing] : [existing, listener];
2134
+ // If we've already got an array, just append.
2135
+ } else if (prepend) {
2136
+ existing.unshift(listener);
2137
+ } else {
2138
+ existing.push(listener);
2139
+ }
2140
+
2141
+ // Check for listener leak
2142
+ m = _getMaxListeners(target);
2143
+ if (m > 0 && existing.length > m && !existing.warned) {
2144
+ existing.warned = true;
2145
+ // No error code for this since it is a Warning
2146
+ // eslint-disable-next-line no-restricted-syntax
2147
+ var w = new Error('Possible EventEmitter memory leak detected. ' +
2148
+ existing.length + ' ' + String(type) + ' listeners ' +
2149
+ 'added. Use emitter.setMaxListeners() to ' +
2150
+ 'increase limit');
2151
+ w.name = 'MaxListenersExceededWarning';
2152
+ w.emitter = target;
2153
+ w.type = type;
2154
+ w.count = existing.length;
2155
+ ProcessEmitWarning(w);
2156
+ }
2157
+ }
2158
+
2159
+ return target;
2160
+ }
2161
+
2162
+ EventEmitter.prototype.addListener = function addListener(type, listener) {
2163
+ return _addListener(this, type, listener, false);
2164
+ };
2165
+
2166
+ EventEmitter.prototype.on = EventEmitter.prototype.addListener;
2167
+
2168
+ EventEmitter.prototype.prependListener =
2169
+ function prependListener(type, listener) {
2170
+ return _addListener(this, type, listener, true);
2171
+ };
2172
+
2173
+ function onceWrapper() {
2174
+ if (!this.fired) {
2175
+ this.target.removeListener(this.type, this.wrapFn);
2176
+ this.fired = true;
2177
+ if (arguments.length === 0)
2178
+ return this.listener.call(this.target);
2179
+ return this.listener.apply(this.target, arguments);
2180
+ }
2181
+ }
2182
+
2183
+ function _onceWrap(target, type, listener) {
2184
+ var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };
2185
+ var wrapped = onceWrapper.bind(state);
2186
+ wrapped.listener = listener;
2187
+ state.wrapFn = wrapped;
2188
+ return wrapped;
2189
+ }
2190
+
2191
+ EventEmitter.prototype.once = function once(type, listener) {
2192
+ checkListener(listener);
2193
+ this.on(type, _onceWrap(this, type, listener));
2194
+ return this;
2195
+ };
2196
+
2197
+ EventEmitter.prototype.prependOnceListener =
2198
+ function prependOnceListener(type, listener) {
2199
+ checkListener(listener);
2200
+ this.prependListener(type, _onceWrap(this, type, listener));
2201
+ return this;
2202
+ };
2203
+
2204
+ // Emits a 'removeListener' event if and only if the listener was removed.
2205
+ EventEmitter.prototype.removeListener =
2206
+ function removeListener(type, listener) {
2207
+ var list, events, position, i, originalListener;
2208
+
2209
+ checkListener(listener);
2210
+
2211
+ events = this._events;
2212
+ if (events === undefined)
2213
+ return this;
2214
+
2215
+ list = events[type];
2216
+ if (list === undefined)
2217
+ return this;
2218
+
2219
+ if (list === listener || list.listener === listener) {
2220
+ if (--this._eventsCount === 0)
2221
+ this._events = Object.create(null);
2222
+ else {
2223
+ delete events[type];
2224
+ if (events.removeListener)
2225
+ this.emit('removeListener', type, list.listener || listener);
2226
+ }
2227
+ } else if (typeof list !== 'function') {
2228
+ position = -1;
2229
+
2230
+ for (i = list.length - 1; i >= 0; i--) {
2231
+ if (list[i] === listener || list[i].listener === listener) {
2232
+ originalListener = list[i].listener;
2233
+ position = i;
2234
+ break;
2235
+ }
2236
+ }
2237
+
2238
+ if (position < 0)
2239
+ return this;
2240
+
2241
+ if (position === 0)
2242
+ list.shift();
2243
+ else {
2244
+ spliceOne(list, position);
2245
+ }
2246
+
2247
+ if (list.length === 1)
2248
+ events[type] = list[0];
2249
+
2250
+ if (events.removeListener !== undefined)
2251
+ this.emit('removeListener', type, originalListener || listener);
2252
+ }
2253
+
2254
+ return this;
2255
+ };
2256
+
2257
+ EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
2258
+
2259
+ EventEmitter.prototype.removeAllListeners =
2260
+ function removeAllListeners(type) {
2261
+ var listeners, events, i;
2262
+
2263
+ events = this._events;
2264
+ if (events === undefined)
2265
+ return this;
2266
+
2267
+ // not listening for removeListener, no need to emit
2268
+ if (events.removeListener === undefined) {
2269
+ if (arguments.length === 0) {
2270
+ this._events = Object.create(null);
2271
+ this._eventsCount = 0;
2272
+ } else if (events[type] !== undefined) {
2273
+ if (--this._eventsCount === 0)
2274
+ this._events = Object.create(null);
2275
+ else
2276
+ delete events[type];
2277
+ }
2278
+ return this;
2279
+ }
2280
+
2281
+ // emit removeListener for all listeners on all events
2282
+ if (arguments.length === 0) {
2283
+ var keys = Object.keys(events);
2284
+ var key;
2285
+ for (i = 0; i < keys.length; ++i) {
2286
+ key = keys[i];
2287
+ if (key === 'removeListener') continue;
2288
+ this.removeAllListeners(key);
2289
+ }
2290
+ this.removeAllListeners('removeListener');
2291
+ this._events = Object.create(null);
2292
+ this._eventsCount = 0;
2293
+ return this;
2294
+ }
2295
+
2296
+ listeners = events[type];
2297
+
2298
+ if (typeof listeners === 'function') {
2299
+ this.removeListener(type, listeners);
2300
+ } else if (listeners !== undefined) {
2301
+ // LIFO order
2302
+ for (i = listeners.length - 1; i >= 0; i--) {
2303
+ this.removeListener(type, listeners[i]);
2304
+ }
2305
+ }
2306
+
2307
+ return this;
2308
+ };
2309
+
2310
+ function _listeners(target, type, unwrap) {
2311
+ var events = target._events;
2312
+
2313
+ if (events === undefined)
2314
+ return [];
2315
+
2316
+ var evlistener = events[type];
2317
+ if (evlistener === undefined)
2318
+ return [];
2319
+
2320
+ if (typeof evlistener === 'function')
2321
+ return unwrap ? [evlistener.listener || evlistener] : [evlistener];
2322
+
2323
+ return unwrap ?
2324
+ unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
2325
+ }
2326
+
2327
+ EventEmitter.prototype.listeners = function listeners(type) {
2328
+ return _listeners(this, type, true);
2329
+ };
2330
+
2331
+ EventEmitter.prototype.rawListeners = function rawListeners(type) {
2332
+ return _listeners(this, type, false);
2333
+ };
2334
+
2335
+ EventEmitter.listenerCount = function(emitter, type) {
2336
+ if (typeof emitter.listenerCount === 'function') {
2337
+ return emitter.listenerCount(type);
2338
+ } else {
2339
+ return listenerCount.call(emitter, type);
2340
+ }
2341
+ };
2342
+
2343
+ EventEmitter.prototype.listenerCount = listenerCount;
2344
+ function listenerCount(type) {
2345
+ var events = this._events;
2346
+
2347
+ if (events !== undefined) {
2348
+ var evlistener = events[type];
2349
+
2350
+ if (typeof evlistener === 'function') {
2351
+ return 1;
2352
+ } else if (evlistener !== undefined) {
2353
+ return evlistener.length;
2354
+ }
2355
+ }
2356
+
2357
+ return 0;
2358
+ }
2359
+
2360
+ EventEmitter.prototype.eventNames = function eventNames() {
2361
+ return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
2362
+ };
2363
+
2364
+ function arrayClone(arr, n) {
2365
+ var copy = new Array(n);
2366
+ for (var i = 0; i < n; ++i)
2367
+ copy[i] = arr[i];
2368
+ return copy;
2369
+ }
2370
+
2371
+ function spliceOne(list, index) {
2372
+ for (; index + 1 < list.length; index++)
2373
+ list[index] = list[index + 1];
2374
+ list.pop();
2375
+ }
2376
+
2377
+ function unwrapListeners(arr) {
2378
+ var ret = new Array(arr.length);
2379
+ for (var i = 0; i < ret.length; ++i) {
2380
+ ret[i] = arr[i].listener || arr[i];
2381
+ }
2382
+ return ret;
2383
+ }
2384
+
2385
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../console-browserify/index.js */ "./node_modules/console-browserify/index.js")))
2386
+
2387
+ /***/ }),
2388
+
2389
+ /***/ "./node_modules/object-assign/index.js":
2390
+ /*!*********************************************!*\
2391
+ !*** ./node_modules/object-assign/index.js ***!
2392
+ \*********************************************/
2393
+ /*! no static exports found */
2394
+ /***/ (function(module, exports, __webpack_require__) {
2395
+
2396
+ "use strict";
2397
+ /*
2398
+ object-assign
2399
+ (c) Sindre Sorhus
2400
+ @license MIT
2401
+ */
2402
+
2403
+
2404
+ /* eslint-disable no-unused-vars */
2405
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
2406
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
2407
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
2408
+
2409
+ function toObject(val) {
2410
+ if (val === null || val === undefined) {
2411
+ throw new TypeError('Object.assign cannot be called with null or undefined');
2412
+ }
2413
+
2414
+ return Object(val);
2415
+ }
2416
+
2417
+ function shouldUseNative() {
2418
+ try {
2419
+ if (!Object.assign) {
2420
+ return false;
2421
+ }
2422
+
2423
+ // Detect buggy property enumeration order in older V8 versions.
2424
+
2425
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
2426
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
2427
+ test1[5] = 'de';
2428
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
2429
+ return false;
2430
+ }
2431
+
2432
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
2433
+ var test2 = {};
2434
+ for (var i = 0; i < 10; i++) {
2435
+ test2['_' + String.fromCharCode(i)] = i;
2436
+ }
2437
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
2438
+ return test2[n];
2439
+ });
2440
+ if (order2.join('') !== '0123456789') {
2441
+ return false;
2442
+ }
2443
+
2444
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
2445
+ var test3 = {};
2446
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
2447
+ test3[letter] = letter;
2448
+ });
2449
+ if (Object.keys(Object.assign({}, test3)).join('') !==
2450
+ 'abcdefghijklmnopqrst') {
2451
+ return false;
2452
+ }
2453
+
2454
+ return true;
2455
+ } catch (err) {
2456
+ // We don't expect any of the above to throw, but better to be safe.
2457
+ return false;
2458
+ }
2459
+ }
2460
+
2461
+ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
2462
+ var from;
2463
+ var to = toObject(target);
2464
+ var symbols;
2465
+
2466
+ for (var s = 1; s < arguments.length; s++) {
2467
+ from = Object(arguments[s]);
2468
+
2469
+ for (var key in from) {
2470
+ if (hasOwnProperty.call(from, key)) {
2471
+ to[key] = from[key];
2472
+ }
2473
+ }
2474
+
2475
+ if (getOwnPropertySymbols) {
2476
+ symbols = getOwnPropertySymbols(from);
2477
+ for (var i = 0; i < symbols.length; i++) {
2478
+ if (propIsEnumerable.call(from, symbols[i])) {
2479
+ to[symbols[i]] = from[symbols[i]];
2480
+ }
2481
+ }
2482
+ }
2483
+ }
2484
+
2485
+ return to;
2486
+ };
2487
+
2488
+
2489
+ /***/ }),
2490
+
2491
+ /***/ "./node_modules/process/browser.js":
2492
+ /*!*****************************************!*\
2493
+ !*** ./node_modules/process/browser.js ***!
2494
+ \*****************************************/
2495
+ /*! no static exports found */
2496
+ /***/ (function(module, exports) {
2497
+
2498
+ // shim for using process in browser
2499
+ var process = module.exports = {};
2500
+
2501
+ // cached from whatever global is present so that test runners that stub it
2502
+ // don't break things. But we need to wrap it in a try catch in case it is
2503
+ // wrapped in strict mode code which doesn't define any globals. It's inside a
2504
+ // function because try/catches deoptimize in certain engines.
2505
+
2506
+ var cachedSetTimeout;
2507
+ var cachedClearTimeout;
2508
+
2509
+ function defaultSetTimout() {
2510
+ throw new Error('setTimeout has not been defined');
2511
+ }
2512
+ function defaultClearTimeout () {
2513
+ throw new Error('clearTimeout has not been defined');
2514
+ }
2515
+ (function () {
2516
+ try {
2517
+ if (typeof setTimeout === 'function') {
2518
+ cachedSetTimeout = setTimeout;
2519
+ } else {
2520
+ cachedSetTimeout = defaultSetTimout;
2521
+ }
2522
+ } catch (e) {
2523
+ cachedSetTimeout = defaultSetTimout;
2524
+ }
2525
+ try {
2526
+ if (typeof clearTimeout === 'function') {
2527
+ cachedClearTimeout = clearTimeout;
2528
+ } else {
2529
+ cachedClearTimeout = defaultClearTimeout;
2530
+ }
2531
+ } catch (e) {
2532
+ cachedClearTimeout = defaultClearTimeout;
2533
+ }
2534
+ } ())
2535
+ function runTimeout(fun) {
2536
+ if (cachedSetTimeout === setTimeout) {
2537
+ //normal enviroments in sane situations
2538
+ return setTimeout(fun, 0);
2539
+ }
2540
+ // if setTimeout wasn't available but was latter defined
2541
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
2542
+ cachedSetTimeout = setTimeout;
2543
+ return setTimeout(fun, 0);
2544
+ }
2545
+ try {
2546
+ // when when somebody has screwed with setTimeout but no I.E. maddness
2547
+ return cachedSetTimeout(fun, 0);
2548
+ } catch(e){
2549
+ try {
2550
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
2551
+ return cachedSetTimeout.call(null, fun, 0);
2552
+ } catch(e){
2553
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
2554
+ return cachedSetTimeout.call(this, fun, 0);
2555
+ }
2556
+ }
2557
+
2558
+
2559
+ }
2560
+ function runClearTimeout(marker) {
2561
+ if (cachedClearTimeout === clearTimeout) {
2562
+ //normal enviroments in sane situations
2563
+ return clearTimeout(marker);
2564
+ }
2565
+ // if clearTimeout wasn't available but was latter defined
2566
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
2567
+ cachedClearTimeout = clearTimeout;
2568
+ return clearTimeout(marker);
2569
+ }
2570
+ try {
2571
+ // when when somebody has screwed with setTimeout but no I.E. maddness
2572
+ return cachedClearTimeout(marker);
2573
+ } catch (e){
2574
+ try {
2575
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
2576
+ return cachedClearTimeout.call(null, marker);
2577
+ } catch (e){
2578
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
2579
+ // Some versions of I.E. have different rules for clearTimeout vs setTimeout
2580
+ return cachedClearTimeout.call(this, marker);
2581
+ }
2582
+ }
2583
+
2584
+
2585
+
2586
+ }
2587
+ var queue = [];
2588
+ var draining = false;
2589
+ var currentQueue;
2590
+ var queueIndex = -1;
2591
+
2592
+ function cleanUpNextTick() {
2593
+ if (!draining || !currentQueue) {
2594
+ return;
2595
+ }
2596
+ draining = false;
2597
+ if (currentQueue.length) {
2598
+ queue = currentQueue.concat(queue);
2599
+ } else {
2600
+ queueIndex = -1;
2601
+ }
2602
+ if (queue.length) {
2603
+ drainQueue();
2604
+ }
2605
+ }
2606
+
2607
+ function drainQueue() {
2608
+ if (draining) {
2609
+ return;
2610
+ }
2611
+ var timeout = runTimeout(cleanUpNextTick);
2612
+ draining = true;
2613
+
2614
+ var len = queue.length;
2615
+ while(len) {
2616
+ currentQueue = queue;
2617
+ queue = [];
2618
+ while (++queueIndex < len) {
2619
+ if (currentQueue) {
2620
+ currentQueue[queueIndex].run();
2621
+ }
2622
+ }
2623
+ queueIndex = -1;
2624
+ len = queue.length;
2625
+ }
2626
+ currentQueue = null;
2627
+ draining = false;
2628
+ runClearTimeout(timeout);
2629
+ }
2630
+
2631
+ process.nextTick = function (fun) {
2632
+ var args = new Array(arguments.length - 1);
2633
+ if (arguments.length > 1) {
2634
+ for (var i = 1; i < arguments.length; i++) {
2635
+ args[i - 1] = arguments[i];
2636
+ }
2637
+ }
2638
+ queue.push(new Item(fun, args));
2639
+ if (queue.length === 1 && !draining) {
2640
+ runTimeout(drainQueue);
2641
+ }
2642
+ };
2643
+
2644
+ // v8 likes predictible objects
2645
+ function Item(fun, array) {
2646
+ this.fun = fun;
2647
+ this.array = array;
2648
+ }
2649
+ Item.prototype.run = function () {
2650
+ this.fun.apply(null, this.array);
2651
+ };
2652
+ process.title = 'browser';
2653
+ process.browser = true;
2654
+ process.env = {};
2655
+ process.argv = [];
2656
+ process.version = ''; // empty string to avoid regexp issues
2657
+ process.versions = {};
2658
+
2659
+ function noop() {}
2660
+
2661
+ process.on = noop;
2662
+ process.addListener = noop;
2663
+ process.once = noop;
2664
+ process.off = noop;
2665
+ process.removeListener = noop;
2666
+ process.removeAllListeners = noop;
2667
+ process.emit = noop;
2668
+ process.prependListener = noop;
2669
+ process.prependOnceListener = noop;
2670
+
2671
+ process.listeners = function (name) { return [] }
2672
+
2673
+ process.binding = function (name) {
2674
+ throw new Error('process.binding is not supported');
2675
+ };
2676
+
2677
+ process.cwd = function () { return '/' };
2678
+ process.chdir = function (dir) {
2679
+ throw new Error('process.chdir is not supported');
2680
+ };
2681
+ process.umask = function() { return 0; };
2682
+
2683
+
2684
+ /***/ }),
2685
+
2686
+ /***/ "./node_modules/util/node_modules/inherits/inherits_browser.js":
2687
+ /*!*********************************************************************!*\
2688
+ !*** ./node_modules/util/node_modules/inherits/inherits_browser.js ***!
2689
+ \*********************************************************************/
2690
+ /*! no static exports found */
2691
+ /***/ (function(module, exports) {
2692
+
2693
+ if (typeof Object.create === 'function') {
2694
+ // implementation from standard node.js 'util' module
2695
+ module.exports = function inherits(ctor, superCtor) {
2696
+ ctor.super_ = superCtor
2697
+ ctor.prototype = Object.create(superCtor.prototype, {
2698
+ constructor: {
2699
+ value: ctor,
2700
+ enumerable: false,
2701
+ writable: true,
2702
+ configurable: true
2703
+ }
2704
+ });
2705
+ };
2706
+ } else {
2707
+ // old school shim for old browsers
2708
+ module.exports = function inherits(ctor, superCtor) {
2709
+ ctor.super_ = superCtor
2710
+ var TempCtor = function () {}
2711
+ TempCtor.prototype = superCtor.prototype
2712
+ ctor.prototype = new TempCtor()
2713
+ ctor.prototype.constructor = ctor
2714
+ }
2715
+ }
2716
+
2717
+
2718
+ /***/ }),
2719
+
2720
+ /***/ "./node_modules/util/support/isBufferBrowser.js":
2721
+ /*!******************************************************!*\
2722
+ !*** ./node_modules/util/support/isBufferBrowser.js ***!
2723
+ \******************************************************/
2724
+ /*! no static exports found */
2725
+ /***/ (function(module, exports) {
2726
+
2727
+ module.exports = function isBuffer(arg) {
2728
+ return arg && typeof arg === 'object'
2729
+ && typeof arg.copy === 'function'
2730
+ && typeof arg.fill === 'function'
2731
+ && typeof arg.readUInt8 === 'function';
2732
+ }
2733
+
2734
+ /***/ }),
2735
+
2736
+ /***/ "./node_modules/util/util.js":
2737
+ /*!***********************************!*\
2738
+ !*** ./node_modules/util/util.js ***!
2739
+ \***********************************/
2740
+ /*! no static exports found */
2741
+ /***/ (function(module, exports, __webpack_require__) {
2742
+
2743
+ /* WEBPACK VAR INJECTION */(function(process, console) {// Copyright Joyent, Inc. and other Node contributors.
2744
+ //
2745
+ // Permission is hereby granted, free of charge, to any person obtaining a
2746
+ // copy of this software and associated documentation files (the
2747
+ // "Software"), to deal in the Software without restriction, including
2748
+ // without limitation the rights to use, copy, modify, merge, publish,
2749
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
2750
+ // persons to whom the Software is furnished to do so, subject to the
2751
+ // following conditions:
2752
+ //
2753
+ // The above copyright notice and this permission notice shall be included
2754
+ // in all copies or substantial portions of the Software.
2755
+ //
2756
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2757
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2758
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
2759
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
2760
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
2761
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2762
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
2763
+
2764
+ var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors ||
2765
+ function getOwnPropertyDescriptors(obj) {
2766
+ var keys = Object.keys(obj);
2767
+ var descriptors = {};
2768
+ for (var i = 0; i < keys.length; i++) {
2769
+ descriptors[keys[i]] = Object.getOwnPropertyDescriptor(obj, keys[i]);
2770
+ }
2771
+ return descriptors;
2772
+ };
2773
+
2774
+ var formatRegExp = /%[sdj%]/g;
2775
+ exports.format = function(f) {
2776
+ if (!isString(f)) {
2777
+ var objects = [];
2778
+ for (var i = 0; i < arguments.length; i++) {
2779
+ objects.push(inspect(arguments[i]));
2780
+ }
2781
+ return objects.join(' ');
2782
+ }
2783
+
2784
+ var i = 1;
2785
+ var args = arguments;
2786
+ var len = args.length;
2787
+ var str = String(f).replace(formatRegExp, function(x) {
2788
+ if (x === '%%') return '%';
2789
+ if (i >= len) return x;
2790
+ switch (x) {
2791
+ case '%s': return String(args[i++]);
2792
+ case '%d': return Number(args[i++]);
2793
+ case '%j':
2794
+ try {
2795
+ return JSON.stringify(args[i++]);
2796
+ } catch (_) {
2797
+ return '[Circular]';
2798
+ }
2799
+ default:
2800
+ return x;
2801
+ }
2802
+ });
2803
+ for (var x = args[i]; i < len; x = args[++i]) {
2804
+ if (isNull(x) || !isObject(x)) {
2805
+ str += ' ' + x;
2806
+ } else {
2807
+ str += ' ' + inspect(x);
2808
+ }
2809
+ }
2810
+ return str;
2811
+ };
2812
+
2813
+
2814
+ // Mark that a method should not be used.
2815
+ // Returns a modified function which warns once by default.
2816
+ // If --no-deprecation is set, then it is a no-op.
2817
+ exports.deprecate = function(fn, msg) {
2818
+ if (typeof process !== 'undefined' && process.noDeprecation === true) {
2819
+ return fn;
2820
+ }
2821
+
2822
+ // Allow for deprecating things in the process of starting up.
2823
+ if (typeof process === 'undefined') {
2824
+ return function() {
2825
+ return exports.deprecate(fn, msg).apply(this, arguments);
2826
+ };
2827
+ }
2828
+
2829
+ var warned = false;
2830
+ function deprecated() {
2831
+ if (!warned) {
2832
+ if (process.throwDeprecation) {
2833
+ throw new Error(msg);
2834
+ } else if (process.traceDeprecation) {
2835
+ console.trace(msg);
2836
+ } else {
2837
+ console.error(msg);
2838
+ }
2839
+ warned = true;
2840
+ }
2841
+ return fn.apply(this, arguments);
2842
+ }
2843
+
2844
+ return deprecated;
2845
+ };
2846
+
2847
+
2848
+ var debugs = {};
2849
+ var debugEnviron;
2850
+ exports.debuglog = function(set) {
2851
+ if (isUndefined(debugEnviron))
2852
+ debugEnviron = Object({"WEB":"web"}).NODE_DEBUG || '';
2853
+ set = set.toUpperCase();
2854
+ if (!debugs[set]) {
2855
+ if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
2856
+ var pid = process.pid;
2857
+ debugs[set] = function() {
2858
+ var msg = exports.format.apply(exports, arguments);
2859
+ console.error('%s %d: %s', set, pid, msg);
2860
+ };
2861
+ } else {
2862
+ debugs[set] = function() {};
2863
+ }
2864
+ }
2865
+ return debugs[set];
2866
+ };
2867
+
2868
+
2869
+ /**
2870
+ * Echos the value of a value. Trys to print the value out
2871
+ * in the best way possible given the different types.
2872
+ *
2873
+ * @param {Object} obj The object to print out.
2874
+ * @param {Object} opts Optional options object that alters the output.
2875
+ */
2876
+ /* legacy: obj, showHidden, depth, colors*/
2877
+ function inspect(obj, opts) {
2878
+ // default options
2879
+ var ctx = {
2880
+ seen: [],
2881
+ stylize: stylizeNoColor
2882
+ };
2883
+ // legacy...
2884
+ if (arguments.length >= 3) ctx.depth = arguments[2];
2885
+ if (arguments.length >= 4) ctx.colors = arguments[3];
2886
+ if (isBoolean(opts)) {
2887
+ // legacy...
2888
+ ctx.showHidden = opts;
2889
+ } else if (opts) {
2890
+ // got an "options" object
2891
+ exports._extend(ctx, opts);
2892
+ }
2893
+ // set default options
2894
+ if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
2895
+ if (isUndefined(ctx.depth)) ctx.depth = 2;
2896
+ if (isUndefined(ctx.colors)) ctx.colors = false;
2897
+ if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
2898
+ if (ctx.colors) ctx.stylize = stylizeWithColor;
2899
+ return formatValue(ctx, obj, ctx.depth);
2900
+ }
2901
+ exports.inspect = inspect;
2902
+
2903
+
2904
+ // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
2905
+ inspect.colors = {
2906
+ 'bold' : [1, 22],
2907
+ 'italic' : [3, 23],
2908
+ 'underline' : [4, 24],
2909
+ 'inverse' : [7, 27],
2910
+ 'white' : [37, 39],
2911
+ 'grey' : [90, 39],
2912
+ 'black' : [30, 39],
2913
+ 'blue' : [34, 39],
2914
+ 'cyan' : [36, 39],
2915
+ 'green' : [32, 39],
2916
+ 'magenta' : [35, 39],
2917
+ 'red' : [31, 39],
2918
+ 'yellow' : [33, 39]
2919
+ };
2920
+
2921
+ // Don't use 'blue' not visible on cmd.exe
2922
+ inspect.styles = {
2923
+ 'special': 'cyan',
2924
+ 'number': 'yellow',
2925
+ 'boolean': 'yellow',
2926
+ 'undefined': 'grey',
2927
+ 'null': 'bold',
2928
+ 'string': 'green',
2929
+ 'date': 'magenta',
2930
+ // "name": intentionally not styling
2931
+ 'regexp': 'red'
2932
+ };
2933
+
2934
+
2935
+ function stylizeWithColor(str, styleType) {
2936
+ var style = inspect.styles[styleType];
2937
+
2938
+ if (style) {
2939
+ return '\u001b[' + inspect.colors[style][0] + 'm' + str +
2940
+ '\u001b[' + inspect.colors[style][1] + 'm';
2941
+ } else {
2942
+ return str;
2943
+ }
2944
+ }
2945
+
2946
+
2947
+ function stylizeNoColor(str, styleType) {
2948
+ return str;
2949
+ }
2950
+
2951
+
2952
+ function arrayToHash(array) {
2953
+ var hash = {};
2954
+
2955
+ array.forEach(function(val, idx) {
2956
+ hash[val] = true;
2957
+ });
2958
+
2959
+ return hash;
2960
+ }
2961
+
2962
+
2963
+ function formatValue(ctx, value, recurseTimes) {
2964
+ // Provide a hook for user-specified inspect functions.
2965
+ // Check that value is an object with an inspect function on it
2966
+ if (ctx.customInspect &&
2967
+ value &&
2968
+ isFunction(value.inspect) &&
2969
+ // Filter out the util module, it's inspect function is special
2970
+ value.inspect !== exports.inspect &&
2971
+ // Also filter out any prototype objects using the circular check.
2972
+ !(value.constructor && value.constructor.prototype === value)) {
2973
+ var ret = value.inspect(recurseTimes, ctx);
2974
+ if (!isString(ret)) {
2975
+ ret = formatValue(ctx, ret, recurseTimes);
2976
+ }
2977
+ return ret;
2978
+ }
2979
+
2980
+ // Primitive types cannot have properties
2981
+ var primitive = formatPrimitive(ctx, value);
2982
+ if (primitive) {
2983
+ return primitive;
2984
+ }
2985
+
2986
+ // Look up the keys of the object.
2987
+ var keys = Object.keys(value);
2988
+ var visibleKeys = arrayToHash(keys);
2989
+
2990
+ if (ctx.showHidden) {
2991
+ keys = Object.getOwnPropertyNames(value);
2992
+ }
2993
+
2994
+ // IE doesn't make error fields non-enumerable
2995
+ // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
2996
+ if (isError(value)
2997
+ && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
2998
+ return formatError(value);
2999
+ }
3000
+
3001
+ // Some type of object without properties can be shortcutted.
3002
+ if (keys.length === 0) {
3003
+ if (isFunction(value)) {
3004
+ var name = value.name ? ': ' + value.name : '';
3005
+ return ctx.stylize('[Function' + name + ']', 'special');
3006
+ }
3007
+ if (isRegExp(value)) {
3008
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
3009
+ }
3010
+ if (isDate(value)) {
3011
+ return ctx.stylize(Date.prototype.toString.call(value), 'date');
3012
+ }
3013
+ if (isError(value)) {
3014
+ return formatError(value);
3015
+ }
3016
+ }
3017
+
3018
+ var base = '', array = false, braces = ['{', '}'];
3019
+
3020
+ // Make Array say that they are Array
3021
+ if (isArray(value)) {
3022
+ array = true;
3023
+ braces = ['[', ']'];
3024
+ }
3025
+
3026
+ // Make functions say that they are functions
3027
+ if (isFunction(value)) {
3028
+ var n = value.name ? ': ' + value.name : '';
3029
+ base = ' [Function' + n + ']';
3030
+ }
3031
+
3032
+ // Make RegExps say that they are RegExps
3033
+ if (isRegExp(value)) {
3034
+ base = ' ' + RegExp.prototype.toString.call(value);
3035
+ }
3036
+
3037
+ // Make dates with properties first say the date
3038
+ if (isDate(value)) {
3039
+ base = ' ' + Date.prototype.toUTCString.call(value);
3040
+ }
3041
+
3042
+ // Make error with message first say the error
3043
+ if (isError(value)) {
3044
+ base = ' ' + formatError(value);
3045
+ }
3046
+
3047
+ if (keys.length === 0 && (!array || value.length == 0)) {
3048
+ return braces[0] + base + braces[1];
3049
+ }
3050
+
3051
+ if (recurseTimes < 0) {
3052
+ if (isRegExp(value)) {
3053
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
3054
+ } else {
3055
+ return ctx.stylize('[Object]', 'special');
3056
+ }
3057
+ }
3058
+
3059
+ ctx.seen.push(value);
3060
+
3061
+ var output;
3062
+ if (array) {
3063
+ output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
3064
+ } else {
3065
+ output = keys.map(function(key) {
3066
+ return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
3067
+ });
3068
+ }
3069
+
3070
+ ctx.seen.pop();
3071
+
3072
+ return reduceToSingleString(output, base, braces);
3073
+ }
3074
+
3075
+
3076
+ function formatPrimitive(ctx, value) {
3077
+ if (isUndefined(value))
3078
+ return ctx.stylize('undefined', 'undefined');
3079
+ if (isString(value)) {
3080
+ var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
3081
+ .replace(/'/g, "\\'")
3082
+ .replace(/\\"/g, '"') + '\'';
3083
+ return ctx.stylize(simple, 'string');
3084
+ }
3085
+ if (isNumber(value))
3086
+ return ctx.stylize('' + value, 'number');
3087
+ if (isBoolean(value))
3088
+ return ctx.stylize('' + value, 'boolean');
3089
+ // For some reason typeof null is "object", so special case here.
3090
+ if (isNull(value))
3091
+ return ctx.stylize('null', 'null');
3092
+ }
3093
+
3094
+
3095
+ function formatError(value) {
3096
+ return '[' + Error.prototype.toString.call(value) + ']';
3097
+ }
3098
+
3099
+
3100
+ function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
3101
+ var output = [];
3102
+ for (var i = 0, l = value.length; i < l; ++i) {
3103
+ if (hasOwnProperty(value, String(i))) {
3104
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
3105
+ String(i), true));
3106
+ } else {
3107
+ output.push('');
3108
+ }
3109
+ }
3110
+ keys.forEach(function(key) {
3111
+ if (!key.match(/^\d+$/)) {
3112
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
3113
+ key, true));
3114
+ }
3115
+ });
3116
+ return output;
3117
+ }
3118
+
3119
+
3120
+ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
3121
+ var name, str, desc;
3122
+ desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
3123
+ if (desc.get) {
3124
+ if (desc.set) {
3125
+ str = ctx.stylize('[Getter/Setter]', 'special');
3126
+ } else {
3127
+ str = ctx.stylize('[Getter]', 'special');
3128
+ }
3129
+ } else {
3130
+ if (desc.set) {
3131
+ str = ctx.stylize('[Setter]', 'special');
3132
+ }
3133
+ }
3134
+ if (!hasOwnProperty(visibleKeys, key)) {
3135
+ name = '[' + key + ']';
3136
+ }
3137
+ if (!str) {
3138
+ if (ctx.seen.indexOf(desc.value) < 0) {
3139
+ if (isNull(recurseTimes)) {
3140
+ str = formatValue(ctx, desc.value, null);
3141
+ } else {
3142
+ str = formatValue(ctx, desc.value, recurseTimes - 1);
3143
+ }
3144
+ if (str.indexOf('\n') > -1) {
3145
+ if (array) {
3146
+ str = str.split('\n').map(function(line) {
3147
+ return ' ' + line;
3148
+ }).join('\n').substr(2);
3149
+ } else {
3150
+ str = '\n' + str.split('\n').map(function(line) {
3151
+ return ' ' + line;
3152
+ }).join('\n');
3153
+ }
3154
+ }
3155
+ } else {
3156
+ str = ctx.stylize('[Circular]', 'special');
3157
+ }
3158
+ }
3159
+ if (isUndefined(name)) {
3160
+ if (array && key.match(/^\d+$/)) {
3161
+ return str;
3162
+ }
3163
+ name = JSON.stringify('' + key);
3164
+ if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
3165
+ name = name.substr(1, name.length - 2);
3166
+ name = ctx.stylize(name, 'name');
3167
+ } else {
3168
+ name = name.replace(/'/g, "\\'")
3169
+ .replace(/\\"/g, '"')
3170
+ .replace(/(^"|"$)/g, "'");
3171
+ name = ctx.stylize(name, 'string');
3172
+ }
3173
+ }
3174
+
3175
+ return name + ': ' + str;
3176
+ }
3177
+
3178
+
3179
+ function reduceToSingleString(output, base, braces) {
3180
+ var numLinesEst = 0;
3181
+ var length = output.reduce(function(prev, cur) {
3182
+ numLinesEst++;
3183
+ if (cur.indexOf('\n') >= 0) numLinesEst++;
3184
+ return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
3185
+ }, 0);
3186
+
3187
+ if (length > 60) {
3188
+ return braces[0] +
3189
+ (base === '' ? '' : base + '\n ') +
3190
+ ' ' +
3191
+ output.join(',\n ') +
3192
+ ' ' +
3193
+ braces[1];
3194
+ }
3195
+
3196
+ return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
3197
+ }
3198
+
3199
+
3200
+ // NOTE: These type checking functions intentionally don't use `instanceof`
3201
+ // because it is fragile and can be easily faked with `Object.create()`.
3202
+ function isArray(ar) {
3203
+ return Array.isArray(ar);
3204
+ }
3205
+ exports.isArray = isArray;
3206
+
3207
+ function isBoolean(arg) {
3208
+ return typeof arg === 'boolean';
3209
+ }
3210
+ exports.isBoolean = isBoolean;
3211
+
3212
+ function isNull(arg) {
3213
+ return arg === null;
3214
+ }
3215
+ exports.isNull = isNull;
3216
+
3217
+ function isNullOrUndefined(arg) {
3218
+ return arg == null;
3219
+ }
3220
+ exports.isNullOrUndefined = isNullOrUndefined;
3221
+
3222
+ function isNumber(arg) {
3223
+ return typeof arg === 'number';
3224
+ }
3225
+ exports.isNumber = isNumber;
3226
+
3227
+ function isString(arg) {
3228
+ return typeof arg === 'string';
3229
+ }
3230
+ exports.isString = isString;
3231
+
3232
+ function isSymbol(arg) {
3233
+ return typeof arg === 'symbol';
3234
+ }
3235
+ exports.isSymbol = isSymbol;
3236
+
3237
+ function isUndefined(arg) {
3238
+ return arg === void 0;
3239
+ }
3240
+ exports.isUndefined = isUndefined;
3241
+
3242
+ function isRegExp(re) {
3243
+ return isObject(re) && objectToString(re) === '[object RegExp]';
3244
+ }
3245
+ exports.isRegExp = isRegExp;
3246
+
3247
+ function isObject(arg) {
3248
+ return typeof arg === 'object' && arg !== null;
3249
+ }
3250
+ exports.isObject = isObject;
3251
+
3252
+ function isDate(d) {
3253
+ return isObject(d) && objectToString(d) === '[object Date]';
3254
+ }
3255
+ exports.isDate = isDate;
3256
+
3257
+ function isError(e) {
3258
+ return isObject(e) &&
3259
+ (objectToString(e) === '[object Error]' || e instanceof Error);
3260
+ }
3261
+ exports.isError = isError;
3262
+
3263
+ function isFunction(arg) {
3264
+ return typeof arg === 'function';
3265
+ }
3266
+ exports.isFunction = isFunction;
3267
+
3268
+ function isPrimitive(arg) {
3269
+ return arg === null ||
3270
+ typeof arg === 'boolean' ||
3271
+ typeof arg === 'number' ||
3272
+ typeof arg === 'string' ||
3273
+ typeof arg === 'symbol' || // ES6 symbol
3274
+ typeof arg === 'undefined';
3275
+ }
3276
+ exports.isPrimitive = isPrimitive;
3277
+
3278
+ exports.isBuffer = __webpack_require__(/*! ./support/isBuffer */ "./node_modules/util/support/isBufferBrowser.js");
3279
+
3280
+ function objectToString(o) {
3281
+ return Object.prototype.toString.call(o);
3282
+ }
3283
+
3284
+
3285
+ function pad(n) {
3286
+ return n < 10 ? '0' + n.toString(10) : n.toString(10);
3287
+ }
3288
+
3289
+
3290
+ var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
3291
+ 'Oct', 'Nov', 'Dec'];
3292
+
3293
+ // 26 Feb 16:19:34
3294
+ function timestamp() {
3295
+ var d = new Date();
3296
+ var time = [pad(d.getHours()),
3297
+ pad(d.getMinutes()),
3298
+ pad(d.getSeconds())].join(':');
3299
+ return [d.getDate(), months[d.getMonth()], time].join(' ');
3300
+ }
3301
+
3302
+
3303
+ // log is just a thin wrapper to console.log that prepends a timestamp
3304
+ exports.log = function() {
3305
+ console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));
3306
+ };
3307
+
3308
+
3309
+ /**
3310
+ * Inherit the prototype methods from one constructor into another.
3311
+ *
3312
+ * The Function.prototype.inherits from lang.js rewritten as a standalone
3313
+ * function (not on Function.prototype). NOTE: If this file is to be loaded
3314
+ * during bootstrapping this function needs to be rewritten using some native
3315
+ * functions as prototype setup using normal JavaScript does not work as
3316
+ * expected during bootstrapping (see mirror.js in r114903).
3317
+ *
3318
+ * @param {function} ctor Constructor function which needs to inherit the
3319
+ * prototype.
3320
+ * @param {function} superCtor Constructor function to inherit prototype from.
3321
+ */
3322
+ exports.inherits = __webpack_require__(/*! inherits */ "./node_modules/util/node_modules/inherits/inherits_browser.js");
3323
+
3324
+ exports._extend = function(origin, add) {
3325
+ // Don't do anything if add isn't an object
3326
+ if (!add || !isObject(add)) return origin;
3327
+
3328
+ var keys = Object.keys(add);
3329
+ var i = keys.length;
3330
+ while (i--) {
3331
+ origin[keys[i]] = add[keys[i]];
3332
+ }
3333
+ return origin;
3334
+ };
3335
+
3336
+ function hasOwnProperty(obj, prop) {
3337
+ return Object.prototype.hasOwnProperty.call(obj, prop);
3338
+ }
3339
+
3340
+ var kCustomPromisifiedSymbol = typeof Symbol !== 'undefined' ? Symbol('util.promisify.custom') : undefined;
3341
+
3342
+ exports.promisify = function promisify(original) {
3343
+ if (typeof original !== 'function')
3344
+ throw new TypeError('The "original" argument must be of type Function');
3345
+
3346
+ if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
3347
+ var fn = original[kCustomPromisifiedSymbol];
3348
+ if (typeof fn !== 'function') {
3349
+ throw new TypeError('The "util.promisify.custom" argument must be of type Function');
3350
+ }
3351
+ Object.defineProperty(fn, kCustomPromisifiedSymbol, {
3352
+ value: fn, enumerable: false, writable: false, configurable: true
3353
+ });
3354
+ return fn;
3355
+ }
3356
+
3357
+ function fn() {
3358
+ var promiseResolve, promiseReject;
3359
+ var promise = new Promise(function (resolve, reject) {
3360
+ promiseResolve = resolve;
3361
+ promiseReject = reject;
3362
+ });
3363
+
3364
+ var args = [];
3365
+ for (var i = 0; i < arguments.length; i++) {
3366
+ args.push(arguments[i]);
3367
+ }
3368
+ args.push(function (err, value) {
3369
+ if (err) {
3370
+ promiseReject(err);
3371
+ } else {
3372
+ promiseResolve(value);
3373
+ }
3374
+ });
3375
+
3376
+ try {
3377
+ original.apply(this, args);
3378
+ } catch (err) {
3379
+ promiseReject(err);
3380
+ }
3381
+
3382
+ return promise;
3383
+ }
3384
+
3385
+ Object.setPrototypeOf(fn, Object.getPrototypeOf(original));
3386
+
3387
+ if (kCustomPromisifiedSymbol) Object.defineProperty(fn, kCustomPromisifiedSymbol, {
3388
+ value: fn, enumerable: false, writable: false, configurable: true
3389
+ });
3390
+ return Object.defineProperties(
3391
+ fn,
3392
+ getOwnPropertyDescriptors(original)
3393
+ );
3394
+ }
3395
+
3396
+ exports.promisify.custom = kCustomPromisifiedSymbol
3397
+
3398
+ function callbackifyOnRejected(reason, cb) {
3399
+ // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M).
3400
+ // Because `null` is a special error value in callbacks which means "no error
3401
+ // occurred", we error-wrap so the callback consumer can distinguish between
3402
+ // "the promise rejected with null" or "the promise fulfilled with undefined".
3403
+ if (!reason) {
3404
+ var newReason = new Error('Promise was rejected with a falsy value');
3405
+ newReason.reason = reason;
3406
+ reason = newReason;
3407
+ }
3408
+ return cb(reason);
3409
+ }
3410
+
3411
+ function callbackify(original) {
3412
+ if (typeof original !== 'function') {
3413
+ throw new TypeError('The "original" argument must be of type Function');
3414
+ }
3415
+
3416
+ // We DO NOT return the promise as it gives the user a false sense that
3417
+ // the promise is actually somehow related to the callback's execution
3418
+ // and that the callback throwing will reject the promise.
3419
+ function callbackified() {
3420
+ var args = [];
3421
+ for (var i = 0; i < arguments.length; i++) {
3422
+ args.push(arguments[i]);
3423
+ }
3424
+
3425
+ var maybeCb = args.pop();
3426
+ if (typeof maybeCb !== 'function') {
3427
+ throw new TypeError('The last argument must be of type Function');
3428
+ }
3429
+ var self = this;
3430
+ var cb = function() {
3431
+ return maybeCb.apply(self, arguments);
3432
+ };
3433
+ // In true node style we process the callback on `nextTick` with all the
3434
+ // implications (stack, `uncaughtException`, `async_hooks`)
3435
+ original.apply(this, args)
3436
+ .then(function(ret) { process.nextTick(cb, null, ret) },
3437
+ function(rej) { process.nextTick(callbackifyOnRejected, rej, cb) });
3438
+ }
3439
+
3440
+ Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));
3441
+ Object.defineProperties(callbackified,
3442
+ getOwnPropertyDescriptors(original));
3443
+ return callbackified;
3444
+ }
3445
+ exports.callbackify = callbackify;
3446
+
3447
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../process/browser.js */ "./node_modules/process/browser.js"), __webpack_require__(/*! ./../console-browserify/index.js */ "./node_modules/console-browserify/index.js")))
3448
+
3449
+ /***/ }),
3450
+
3451
+ /***/ "./node_modules/webpack/buildin/global.js":
3452
+ /*!***********************************!*\
3453
+ !*** (webpack)/buildin/global.js ***!
3454
+ \***********************************/
3455
+ /*! no static exports found */
3456
+ /***/ (function(module, exports) {
3457
+
3458
+ var g;
3459
+
3460
+ // This works in non-strict mode
3461
+ g = (function() {
3462
+ return this;
3463
+ })();
3464
+
3465
+ try {
3466
+ // This works if eval is allowed (see CSP)
3467
+ g = g || new Function("return this")();
3468
+ } catch (e) {
3469
+ // This works if the window reference is available
3470
+ if (typeof window === "object") g = window;
3471
+ }
3472
+
3473
+ // g can still be undefined, but nothing to do about it...
3474
+ // We return undefined, instead of nothing here, so it's
3475
+ // easier to handle this case. if(!global) { ...}
3476
+
3477
+ module.exports = g;
3478
+
3479
+
3480
+ /***/ })
3481
+
3482
+ /******/ });
3483
+ });
3484
+ //# sourceMappingURL=opossum.map