@aws-amplify/api 4.0.21-unstable.9 → 4.0.22-unstable.3

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.
@@ -8732,267 +8732,6 @@ module.exports = {
8732
8732
  };
8733
8733
 
8734
8734
 
8735
- /***/ }),
8736
-
8737
- /***/ "../../node_modules/uuid/index.js":
8738
- /*!***************************************************!*\
8739
- !*** /root/amplify-js/node_modules/uuid/index.js ***!
8740
- \***************************************************/
8741
- /*! no static exports found */
8742
- /***/ (function(module, exports, __webpack_require__) {
8743
-
8744
- var v1 = __webpack_require__(/*! ./v1 */ "../../node_modules/uuid/v1.js");
8745
- var v4 = __webpack_require__(/*! ./v4 */ "../../node_modules/uuid/v4.js");
8746
-
8747
- var uuid = v4;
8748
- uuid.v1 = v1;
8749
- uuid.v4 = v4;
8750
-
8751
- module.exports = uuid;
8752
-
8753
-
8754
- /***/ }),
8755
-
8756
- /***/ "../../node_modules/uuid/lib/bytesToUuid.js":
8757
- /*!*************************************************************!*\
8758
- !*** /root/amplify-js/node_modules/uuid/lib/bytesToUuid.js ***!
8759
- \*************************************************************/
8760
- /*! no static exports found */
8761
- /***/ (function(module, exports) {
8762
-
8763
- /**
8764
- * Convert array of 16 byte values to UUID string format of the form:
8765
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
8766
- */
8767
- var byteToHex = [];
8768
- for (var i = 0; i < 256; ++i) {
8769
- byteToHex[i] = (i + 0x100).toString(16).substr(1);
8770
- }
8771
-
8772
- function bytesToUuid(buf, offset) {
8773
- var i = offset || 0;
8774
- var bth = byteToHex;
8775
- // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
8776
- return ([
8777
- bth[buf[i++]], bth[buf[i++]],
8778
- bth[buf[i++]], bth[buf[i++]], '-',
8779
- bth[buf[i++]], bth[buf[i++]], '-',
8780
- bth[buf[i++]], bth[buf[i++]], '-',
8781
- bth[buf[i++]], bth[buf[i++]], '-',
8782
- bth[buf[i++]], bth[buf[i++]],
8783
- bth[buf[i++]], bth[buf[i++]],
8784
- bth[buf[i++]], bth[buf[i++]]
8785
- ]).join('');
8786
- }
8787
-
8788
- module.exports = bytesToUuid;
8789
-
8790
-
8791
- /***/ }),
8792
-
8793
- /***/ "../../node_modules/uuid/lib/rng-browser.js":
8794
- /*!*************************************************************!*\
8795
- !*** /root/amplify-js/node_modules/uuid/lib/rng-browser.js ***!
8796
- \*************************************************************/
8797
- /*! no static exports found */
8798
- /***/ (function(module, exports) {
8799
-
8800
- // Unique ID creation requires a high quality random # generator. In the
8801
- // browser this is a little complicated due to unknown quality of Math.random()
8802
- // and inconsistent support for the `crypto` API. We do the best we can via
8803
- // feature-detection
8804
-
8805
- // getRandomValues needs to be invoked in a context where "this" is a Crypto
8806
- // implementation. Also, find the complete implementation of crypto on IE11.
8807
- var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
8808
- (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
8809
-
8810
- if (getRandomValues) {
8811
- // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
8812
- var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
8813
-
8814
- module.exports = function whatwgRNG() {
8815
- getRandomValues(rnds8);
8816
- return rnds8;
8817
- };
8818
- } else {
8819
- // Math.random()-based (RNG)
8820
- //
8821
- // If all else fails, use Math.random(). It's fast, but is of unspecified
8822
- // quality.
8823
- var rnds = new Array(16);
8824
-
8825
- module.exports = function mathRNG() {
8826
- for (var i = 0, r; i < 16; i++) {
8827
- if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
8828
- rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
8829
- }
8830
-
8831
- return rnds;
8832
- };
8833
- }
8834
-
8835
-
8836
- /***/ }),
8837
-
8838
- /***/ "../../node_modules/uuid/v1.js":
8839
- /*!************************************************!*\
8840
- !*** /root/amplify-js/node_modules/uuid/v1.js ***!
8841
- \************************************************/
8842
- /*! no static exports found */
8843
- /***/ (function(module, exports, __webpack_require__) {
8844
-
8845
- var rng = __webpack_require__(/*! ./lib/rng */ "../../node_modules/uuid/lib/rng-browser.js");
8846
- var bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ "../../node_modules/uuid/lib/bytesToUuid.js");
8847
-
8848
- // **`v1()` - Generate time-based UUID**
8849
- //
8850
- // Inspired by https://github.com/LiosK/UUID.js
8851
- // and http://docs.python.org/library/uuid.html
8852
-
8853
- var _nodeId;
8854
- var _clockseq;
8855
-
8856
- // Previous uuid creation time
8857
- var _lastMSecs = 0;
8858
- var _lastNSecs = 0;
8859
-
8860
- // See https://github.com/uuidjs/uuid for API details
8861
- function v1(options, buf, offset) {
8862
- var i = buf && offset || 0;
8863
- var b = buf || [];
8864
-
8865
- options = options || {};
8866
- var node = options.node || _nodeId;
8867
- var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;
8868
-
8869
- // node and clockseq need to be initialized to random values if they're not
8870
- // specified. We do this lazily to minimize issues related to insufficient
8871
- // system entropy. See #189
8872
- if (node == null || clockseq == null) {
8873
- var seedBytes = rng();
8874
- if (node == null) {
8875
- // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
8876
- node = _nodeId = [
8877
- seedBytes[0] | 0x01,
8878
- seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]
8879
- ];
8880
- }
8881
- if (clockseq == null) {
8882
- // Per 4.2.2, randomize (14 bit) clockseq
8883
- clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
8884
- }
8885
- }
8886
-
8887
- // UUID timestamps are 100 nano-second units since the Gregorian epoch,
8888
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
8889
- // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
8890
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
8891
- var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();
8892
-
8893
- // Per 4.2.1.2, use count of uuid's generated during the current clock
8894
- // cycle to simulate higher resolution clock
8895
- var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
8896
-
8897
- // Time since last uuid creation (in msecs)
8898
- var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;
8899
-
8900
- // Per 4.2.1.2, Bump clockseq on clock regression
8901
- if (dt < 0 && options.clockseq === undefined) {
8902
- clockseq = clockseq + 1 & 0x3fff;
8903
- }
8904
-
8905
- // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
8906
- // time interval
8907
- if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
8908
- nsecs = 0;
8909
- }
8910
-
8911
- // Per 4.2.1.2 Throw error if too many uuids are requested
8912
- if (nsecs >= 10000) {
8913
- throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
8914
- }
8915
-
8916
- _lastMSecs = msecs;
8917
- _lastNSecs = nsecs;
8918
- _clockseq = clockseq;
8919
-
8920
- // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
8921
- msecs += 12219292800000;
8922
-
8923
- // `time_low`
8924
- var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
8925
- b[i++] = tl >>> 24 & 0xff;
8926
- b[i++] = tl >>> 16 & 0xff;
8927
- b[i++] = tl >>> 8 & 0xff;
8928
- b[i++] = tl & 0xff;
8929
-
8930
- // `time_mid`
8931
- var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;
8932
- b[i++] = tmh >>> 8 & 0xff;
8933
- b[i++] = tmh & 0xff;
8934
-
8935
- // `time_high_and_version`
8936
- b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
8937
- b[i++] = tmh >>> 16 & 0xff;
8938
-
8939
- // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
8940
- b[i++] = clockseq >>> 8 | 0x80;
8941
-
8942
- // `clock_seq_low`
8943
- b[i++] = clockseq & 0xff;
8944
-
8945
- // `node`
8946
- for (var n = 0; n < 6; ++n) {
8947
- b[i + n] = node[n];
8948
- }
8949
-
8950
- return buf ? buf : bytesToUuid(b);
8951
- }
8952
-
8953
- module.exports = v1;
8954
-
8955
-
8956
- /***/ }),
8957
-
8958
- /***/ "../../node_modules/uuid/v4.js":
8959
- /*!************************************************!*\
8960
- !*** /root/amplify-js/node_modules/uuid/v4.js ***!
8961
- \************************************************/
8962
- /*! no static exports found */
8963
- /***/ (function(module, exports, __webpack_require__) {
8964
-
8965
- var rng = __webpack_require__(/*! ./lib/rng */ "../../node_modules/uuid/lib/rng-browser.js");
8966
- var bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ "../../node_modules/uuid/lib/bytesToUuid.js");
8967
-
8968
- function v4(options, buf, offset) {
8969
- var i = buf && offset || 0;
8970
-
8971
- if (typeof(options) == 'string') {
8972
- buf = options === 'binary' ? new Array(16) : null;
8973
- options = null;
8974
- }
8975
- options = options || {};
8976
-
8977
- var rnds = options.random || (options.rng || rng)();
8978
-
8979
- // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
8980
- rnds[6] = (rnds[6] & 0x0f) | 0x40;
8981
- rnds[8] = (rnds[8] & 0x3f) | 0x80;
8982
-
8983
- // Copy bytes to buffer, if provided
8984
- if (buf) {
8985
- for (var ii = 0; ii < 16; ++ii) {
8986
- buf[i + ii] = rnds[ii];
8987
- }
8988
- }
8989
-
8990
- return buf || bytesToUuid(rnds);
8991
- }
8992
-
8993
- module.exports = v4;
8994
-
8995
-
8996
8735
  /***/ }),
8997
8736
 
8998
8737
  /***/ "../../node_modules/webpack/buildin/global.js":
@@ -12403,8 +12142,7 @@ __webpack_require__.r(__webpack_exports__);
12403
12142
  /* harmony import */ var graphql__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(graphql__WEBPACK_IMPORTED_MODULE_1__);
12404
12143
  /* harmony import */ var url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! url */ "../../node_modules/url/url.js");
12405
12144
  /* harmony import */ var url__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_2__);
12406
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! uuid */ "../../node_modules/uuid/index.js");
12407
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_3__);
12145
+ /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! uuid */ "../pubsub/node_modules/uuid/dist/esm-browser/index.js");
12408
12146
  /* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! buffer */ "../../node_modules/buffer/index.js");
12409
12147
  /* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(buffer__WEBPACK_IMPORTED_MODULE_4__);
12410
12148
  /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @aws-amplify/core */ "@aws-amplify/core");
@@ -14051,8 +13789,7 @@ __webpack_require__.r(__webpack_exports__);
14051
13789
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MqttOverWSProvider", function() { return MqttOverWSProvider; });
14052
13790
  /* harmony import */ var paho_mqtt__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! paho-mqtt */ "../../node_modules/paho-mqtt/paho-mqtt.js");
14053
13791
  /* harmony import */ var paho_mqtt__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(paho_mqtt__WEBPACK_IMPORTED_MODULE_0__);
14054
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! uuid */ "../../node_modules/uuid/index.js");
14055
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_1__);
13792
+ /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! uuid */ "../pubsub/node_modules/uuid/dist/esm-browser/index.js");
14056
13793
  /* harmony import */ var zen_observable_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! zen-observable-ts */ "../../node_modules/zen-observable-ts/lib/bundle.esm.js");
14057
13794
  /* harmony import */ var _PubSubProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PubSubProvider */ "../pubsub/lib-esm/Providers/PubSubProvider.js");
14058
13795
  /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @aws-amplify/core */ "@aws-amplify/core");
@@ -15313,6 +15050,845 @@ var CONTROL_MSG;
15313
15050
 
15314
15051
  /***/ }),
15315
15052
 
15053
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/index.js":
15054
+ /*!*************************************************************!*\
15055
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/index.js ***!
15056
+ \*************************************************************/
15057
+ /*! exports provided: v1, v3, v4, v5, NIL, version, validate, stringify, parse */
15058
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15059
+
15060
+ "use strict";
15061
+ __webpack_require__.r(__webpack_exports__);
15062
+ /* harmony import */ var _v1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v1.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v1.js");
15063
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "v1", function() { return _v1_js__WEBPACK_IMPORTED_MODULE_0__["default"]; });
15064
+
15065
+ /* harmony import */ var _v3_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./v3.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v3.js");
15066
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "v3", function() { return _v3_js__WEBPACK_IMPORTED_MODULE_1__["default"]; });
15067
+
15068
+ /* harmony import */ var _v4_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./v4.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v4.js");
15069
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "v4", function() { return _v4_js__WEBPACK_IMPORTED_MODULE_2__["default"]; });
15070
+
15071
+ /* harmony import */ var _v5_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./v5.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v5.js");
15072
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "v5", function() { return _v5_js__WEBPACK_IMPORTED_MODULE_3__["default"]; });
15073
+
15074
+ /* harmony import */ var _nil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./nil.js */ "../pubsub/node_modules/uuid/dist/esm-browser/nil.js");
15075
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NIL", function() { return _nil_js__WEBPACK_IMPORTED_MODULE_4__["default"]; });
15076
+
15077
+ /* harmony import */ var _version_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./version.js */ "../pubsub/node_modules/uuid/dist/esm-browser/version.js");
15078
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "version", function() { return _version_js__WEBPACK_IMPORTED_MODULE_5__["default"]; });
15079
+
15080
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./validate.js */ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js");
15081
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "validate", function() { return _validate_js__WEBPACK_IMPORTED_MODULE_6__["default"]; });
15082
+
15083
+ /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./stringify.js */ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js");
15084
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "stringify", function() { return _stringify_js__WEBPACK_IMPORTED_MODULE_7__["default"]; });
15085
+
15086
+ /* harmony import */ var _parse_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parse.js */ "../pubsub/node_modules/uuid/dist/esm-browser/parse.js");
15087
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return _parse_js__WEBPACK_IMPORTED_MODULE_8__["default"]; });
15088
+
15089
+
15090
+
15091
+
15092
+
15093
+
15094
+
15095
+
15096
+
15097
+
15098
+
15099
+ /***/ }),
15100
+
15101
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/md5.js":
15102
+ /*!***********************************************************!*\
15103
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/md5.js ***!
15104
+ \***********************************************************/
15105
+ /*! exports provided: default */
15106
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15107
+
15108
+ "use strict";
15109
+ __webpack_require__.r(__webpack_exports__);
15110
+ /*
15111
+ * Browser-compatible JavaScript MD5
15112
+ *
15113
+ * Modification of JavaScript MD5
15114
+ * https://github.com/blueimp/JavaScript-MD5
15115
+ *
15116
+ * Copyright 2011, Sebastian Tschan
15117
+ * https://blueimp.net
15118
+ *
15119
+ * Licensed under the MIT license:
15120
+ * https://opensource.org/licenses/MIT
15121
+ *
15122
+ * Based on
15123
+ * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
15124
+ * Digest Algorithm, as defined in RFC 1321.
15125
+ * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009
15126
+ * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
15127
+ * Distributed under the BSD License
15128
+ * See http://pajhome.org.uk/crypt/md5 for more info.
15129
+ */
15130
+ function md5(bytes) {
15131
+ if (typeof bytes === 'string') {
15132
+ var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
15133
+
15134
+ bytes = new Uint8Array(msg.length);
15135
+
15136
+ for (var i = 0; i < msg.length; ++i) {
15137
+ bytes[i] = msg.charCodeAt(i);
15138
+ }
15139
+ }
15140
+
15141
+ return md5ToHexEncodedArray(wordsToMd5(bytesToWords(bytes), bytes.length * 8));
15142
+ }
15143
+ /*
15144
+ * Convert an array of little-endian words to an array of bytes
15145
+ */
15146
+
15147
+
15148
+ function md5ToHexEncodedArray(input) {
15149
+ var output = [];
15150
+ var length32 = input.length * 32;
15151
+ var hexTab = '0123456789abcdef';
15152
+
15153
+ for (var i = 0; i < length32; i += 8) {
15154
+ var x = input[i >> 5] >>> i % 32 & 0xff;
15155
+ var hex = parseInt(hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f), 16);
15156
+ output.push(hex);
15157
+ }
15158
+
15159
+ return output;
15160
+ }
15161
+ /**
15162
+ * Calculate output length with padding and bit length
15163
+ */
15164
+
15165
+
15166
+ function getOutputLength(inputLength8) {
15167
+ return (inputLength8 + 64 >>> 9 << 4) + 14 + 1;
15168
+ }
15169
+ /*
15170
+ * Calculate the MD5 of an array of little-endian words, and a bit length.
15171
+ */
15172
+
15173
+
15174
+ function wordsToMd5(x, len) {
15175
+ /* append padding */
15176
+ x[len >> 5] |= 0x80 << len % 32;
15177
+ x[getOutputLength(len) - 1] = len;
15178
+ var a = 1732584193;
15179
+ var b = -271733879;
15180
+ var c = -1732584194;
15181
+ var d = 271733878;
15182
+
15183
+ for (var i = 0; i < x.length; i += 16) {
15184
+ var olda = a;
15185
+ var oldb = b;
15186
+ var oldc = c;
15187
+ var oldd = d;
15188
+ a = md5ff(a, b, c, d, x[i], 7, -680876936);
15189
+ d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);
15190
+ c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);
15191
+ b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330);
15192
+ a = md5ff(a, b, c, d, x[i + 4], 7, -176418897);
15193
+ d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426);
15194
+ c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341);
15195
+ b = md5ff(b, c, d, a, x[i + 7], 22, -45705983);
15196
+ a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416);
15197
+ d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417);
15198
+ c = md5ff(c, d, a, b, x[i + 10], 17, -42063);
15199
+ b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162);
15200
+ a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682);
15201
+ d = md5ff(d, a, b, c, x[i + 13], 12, -40341101);
15202
+ c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290);
15203
+ b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329);
15204
+ a = md5gg(a, b, c, d, x[i + 1], 5, -165796510);
15205
+ d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632);
15206
+ c = md5gg(c, d, a, b, x[i + 11], 14, 643717713);
15207
+ b = md5gg(b, c, d, a, x[i], 20, -373897302);
15208
+ a = md5gg(a, b, c, d, x[i + 5], 5, -701558691);
15209
+ d = md5gg(d, a, b, c, x[i + 10], 9, 38016083);
15210
+ c = md5gg(c, d, a, b, x[i + 15], 14, -660478335);
15211
+ b = md5gg(b, c, d, a, x[i + 4], 20, -405537848);
15212
+ a = md5gg(a, b, c, d, x[i + 9], 5, 568446438);
15213
+ d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690);
15214
+ c = md5gg(c, d, a, b, x[i + 3], 14, -187363961);
15215
+ b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501);
15216
+ a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467);
15217
+ d = md5gg(d, a, b, c, x[i + 2], 9, -51403784);
15218
+ c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473);
15219
+ b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734);
15220
+ a = md5hh(a, b, c, d, x[i + 5], 4, -378558);
15221
+ d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463);
15222
+ c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562);
15223
+ b = md5hh(b, c, d, a, x[i + 14], 23, -35309556);
15224
+ a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060);
15225
+ d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353);
15226
+ c = md5hh(c, d, a, b, x[i + 7], 16, -155497632);
15227
+ b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640);
15228
+ a = md5hh(a, b, c, d, x[i + 13], 4, 681279174);
15229
+ d = md5hh(d, a, b, c, x[i], 11, -358537222);
15230
+ c = md5hh(c, d, a, b, x[i + 3], 16, -722521979);
15231
+ b = md5hh(b, c, d, a, x[i + 6], 23, 76029189);
15232
+ a = md5hh(a, b, c, d, x[i + 9], 4, -640364487);
15233
+ d = md5hh(d, a, b, c, x[i + 12], 11, -421815835);
15234
+ c = md5hh(c, d, a, b, x[i + 15], 16, 530742520);
15235
+ b = md5hh(b, c, d, a, x[i + 2], 23, -995338651);
15236
+ a = md5ii(a, b, c, d, x[i], 6, -198630844);
15237
+ d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415);
15238
+ c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905);
15239
+ b = md5ii(b, c, d, a, x[i + 5], 21, -57434055);
15240
+ a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571);
15241
+ d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606);
15242
+ c = md5ii(c, d, a, b, x[i + 10], 15, -1051523);
15243
+ b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799);
15244
+ a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359);
15245
+ d = md5ii(d, a, b, c, x[i + 15], 10, -30611744);
15246
+ c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380);
15247
+ b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649);
15248
+ a = md5ii(a, b, c, d, x[i + 4], 6, -145523070);
15249
+ d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379);
15250
+ c = md5ii(c, d, a, b, x[i + 2], 15, 718787259);
15251
+ b = md5ii(b, c, d, a, x[i + 9], 21, -343485551);
15252
+ a = safeAdd(a, olda);
15253
+ b = safeAdd(b, oldb);
15254
+ c = safeAdd(c, oldc);
15255
+ d = safeAdd(d, oldd);
15256
+ }
15257
+
15258
+ return [a, b, c, d];
15259
+ }
15260
+ /*
15261
+ * Convert an array bytes to an array of little-endian words
15262
+ * Characters >255 have their high-byte silently ignored.
15263
+ */
15264
+
15265
+
15266
+ function bytesToWords(input) {
15267
+ if (input.length === 0) {
15268
+ return [];
15269
+ }
15270
+
15271
+ var length8 = input.length * 8;
15272
+ var output = new Uint32Array(getOutputLength(length8));
15273
+
15274
+ for (var i = 0; i < length8; i += 8) {
15275
+ output[i >> 5] |= (input[i / 8] & 0xff) << i % 32;
15276
+ }
15277
+
15278
+ return output;
15279
+ }
15280
+ /*
15281
+ * Add integers, wrapping at 2^32. This uses 16-bit operations internally
15282
+ * to work around bugs in some JS interpreters.
15283
+ */
15284
+
15285
+
15286
+ function safeAdd(x, y) {
15287
+ var lsw = (x & 0xffff) + (y & 0xffff);
15288
+ var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
15289
+ return msw << 16 | lsw & 0xffff;
15290
+ }
15291
+ /*
15292
+ * Bitwise rotate a 32-bit number to the left.
15293
+ */
15294
+
15295
+
15296
+ function bitRotateLeft(num, cnt) {
15297
+ return num << cnt | num >>> 32 - cnt;
15298
+ }
15299
+ /*
15300
+ * These functions implement the four basic operations the algorithm uses.
15301
+ */
15302
+
15303
+
15304
+ function md5cmn(q, a, b, x, s, t) {
15305
+ return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);
15306
+ }
15307
+
15308
+ function md5ff(a, b, c, d, x, s, t) {
15309
+ return md5cmn(b & c | ~b & d, a, b, x, s, t);
15310
+ }
15311
+
15312
+ function md5gg(a, b, c, d, x, s, t) {
15313
+ return md5cmn(b & d | c & ~d, a, b, x, s, t);
15314
+ }
15315
+
15316
+ function md5hh(a, b, c, d, x, s, t) {
15317
+ return md5cmn(b ^ c ^ d, a, b, x, s, t);
15318
+ }
15319
+
15320
+ function md5ii(a, b, c, d, x, s, t) {
15321
+ return md5cmn(c ^ (b | ~d), a, b, x, s, t);
15322
+ }
15323
+
15324
+ /* harmony default export */ __webpack_exports__["default"] = (md5);
15325
+
15326
+ /***/ }),
15327
+
15328
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/nil.js":
15329
+ /*!***********************************************************!*\
15330
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/nil.js ***!
15331
+ \***********************************************************/
15332
+ /*! exports provided: default */
15333
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15334
+
15335
+ "use strict";
15336
+ __webpack_require__.r(__webpack_exports__);
15337
+ /* harmony default export */ __webpack_exports__["default"] = ('00000000-0000-0000-0000-000000000000');
15338
+
15339
+ /***/ }),
15340
+
15341
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/parse.js":
15342
+ /*!*************************************************************!*\
15343
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/parse.js ***!
15344
+ \*************************************************************/
15345
+ /*! exports provided: default */
15346
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15347
+
15348
+ "use strict";
15349
+ __webpack_require__.r(__webpack_exports__);
15350
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js");
15351
+
15352
+
15353
+ function parse(uuid) {
15354
+ if (!Object(_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
15355
+ throw TypeError('Invalid UUID');
15356
+ }
15357
+
15358
+ var v;
15359
+ var arr = new Uint8Array(16); // Parse ########-....-....-....-............
15360
+
15361
+ arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
15362
+ arr[1] = v >>> 16 & 0xff;
15363
+ arr[2] = v >>> 8 & 0xff;
15364
+ arr[3] = v & 0xff; // Parse ........-####-....-....-............
15365
+
15366
+ arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
15367
+ arr[5] = v & 0xff; // Parse ........-....-####-....-............
15368
+
15369
+ arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
15370
+ arr[7] = v & 0xff; // Parse ........-....-....-####-............
15371
+
15372
+ arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
15373
+ arr[9] = v & 0xff; // Parse ........-....-....-....-############
15374
+ // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
15375
+
15376
+ arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;
15377
+ arr[11] = v / 0x100000000 & 0xff;
15378
+ arr[12] = v >>> 24 & 0xff;
15379
+ arr[13] = v >>> 16 & 0xff;
15380
+ arr[14] = v >>> 8 & 0xff;
15381
+ arr[15] = v & 0xff;
15382
+ return arr;
15383
+ }
15384
+
15385
+ /* harmony default export */ __webpack_exports__["default"] = (parse);
15386
+
15387
+ /***/ }),
15388
+
15389
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/regex.js":
15390
+ /*!*************************************************************!*\
15391
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/regex.js ***!
15392
+ \*************************************************************/
15393
+ /*! exports provided: default */
15394
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15395
+
15396
+ "use strict";
15397
+ __webpack_require__.r(__webpack_exports__);
15398
+ /* harmony default export */ __webpack_exports__["default"] = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
15399
+
15400
+ /***/ }),
15401
+
15402
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/rng.js":
15403
+ /*!***********************************************************!*\
15404
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/rng.js ***!
15405
+ \***********************************************************/
15406
+ /*! exports provided: default */
15407
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15408
+
15409
+ "use strict";
15410
+ __webpack_require__.r(__webpack_exports__);
15411
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return rng; });
15412
+ // Unique ID creation requires a high quality random # generator. In the browser we therefore
15413
+ // require the crypto API and do not support built-in fallback to lower quality random number
15414
+ // generators (like Math.random()).
15415
+ var getRandomValues;
15416
+ var rnds8 = new Uint8Array(16);
15417
+ function rng() {
15418
+ // lazy load so that environments that need to polyfill have a chance to do so
15419
+ if (!getRandomValues) {
15420
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
15421
+ // find the complete implementation of crypto (msCrypto) on IE11.
15422
+ getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
15423
+
15424
+ if (!getRandomValues) {
15425
+ throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
15426
+ }
15427
+ }
15428
+
15429
+ return getRandomValues(rnds8);
15430
+ }
15431
+
15432
+ /***/ }),
15433
+
15434
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/sha1.js":
15435
+ /*!************************************************************!*\
15436
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/sha1.js ***!
15437
+ \************************************************************/
15438
+ /*! exports provided: default */
15439
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15440
+
15441
+ "use strict";
15442
+ __webpack_require__.r(__webpack_exports__);
15443
+ // Adapted from Chris Veness' SHA1 code at
15444
+ // http://www.movable-type.co.uk/scripts/sha1.html
15445
+ function f(s, x, y, z) {
15446
+ switch (s) {
15447
+ case 0:
15448
+ return x & y ^ ~x & z;
15449
+
15450
+ case 1:
15451
+ return x ^ y ^ z;
15452
+
15453
+ case 2:
15454
+ return x & y ^ x & z ^ y & z;
15455
+
15456
+ case 3:
15457
+ return x ^ y ^ z;
15458
+ }
15459
+ }
15460
+
15461
+ function ROTL(x, n) {
15462
+ return x << n | x >>> 32 - n;
15463
+ }
15464
+
15465
+ function sha1(bytes) {
15466
+ var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];
15467
+ var H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];
15468
+
15469
+ if (typeof bytes === 'string') {
15470
+ var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
15471
+
15472
+ bytes = [];
15473
+
15474
+ for (var i = 0; i < msg.length; ++i) {
15475
+ bytes.push(msg.charCodeAt(i));
15476
+ }
15477
+ } else if (!Array.isArray(bytes)) {
15478
+ // Convert Array-like to Array
15479
+ bytes = Array.prototype.slice.call(bytes);
15480
+ }
15481
+
15482
+ bytes.push(0x80);
15483
+ var l = bytes.length / 4 + 2;
15484
+ var N = Math.ceil(l / 16);
15485
+ var M = new Array(N);
15486
+
15487
+ for (var _i = 0; _i < N; ++_i) {
15488
+ var arr = new Uint32Array(16);
15489
+
15490
+ for (var j = 0; j < 16; ++j) {
15491
+ arr[j] = bytes[_i * 64 + j * 4] << 24 | bytes[_i * 64 + j * 4 + 1] << 16 | bytes[_i * 64 + j * 4 + 2] << 8 | bytes[_i * 64 + j * 4 + 3];
15492
+ }
15493
+
15494
+ M[_i] = arr;
15495
+ }
15496
+
15497
+ M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);
15498
+ M[N - 1][14] = Math.floor(M[N - 1][14]);
15499
+ M[N - 1][15] = (bytes.length - 1) * 8 & 0xffffffff;
15500
+
15501
+ for (var _i2 = 0; _i2 < N; ++_i2) {
15502
+ var W = new Uint32Array(80);
15503
+
15504
+ for (var t = 0; t < 16; ++t) {
15505
+ W[t] = M[_i2][t];
15506
+ }
15507
+
15508
+ for (var _t = 16; _t < 80; ++_t) {
15509
+ W[_t] = ROTL(W[_t - 3] ^ W[_t - 8] ^ W[_t - 14] ^ W[_t - 16], 1);
15510
+ }
15511
+
15512
+ var a = H[0];
15513
+ var b = H[1];
15514
+ var c = H[2];
15515
+ var d = H[3];
15516
+ var e = H[4];
15517
+
15518
+ for (var _t2 = 0; _t2 < 80; ++_t2) {
15519
+ var s = Math.floor(_t2 / 20);
15520
+ var T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[_t2] >>> 0;
15521
+ e = d;
15522
+ d = c;
15523
+ c = ROTL(b, 30) >>> 0;
15524
+ b = a;
15525
+ a = T;
15526
+ }
15527
+
15528
+ H[0] = H[0] + a >>> 0;
15529
+ H[1] = H[1] + b >>> 0;
15530
+ H[2] = H[2] + c >>> 0;
15531
+ H[3] = H[3] + d >>> 0;
15532
+ H[4] = H[4] + e >>> 0;
15533
+ }
15534
+
15535
+ return [H[0] >> 24 & 0xff, H[0] >> 16 & 0xff, H[0] >> 8 & 0xff, H[0] & 0xff, H[1] >> 24 & 0xff, H[1] >> 16 & 0xff, H[1] >> 8 & 0xff, H[1] & 0xff, H[2] >> 24 & 0xff, H[2] >> 16 & 0xff, H[2] >> 8 & 0xff, H[2] & 0xff, H[3] >> 24 & 0xff, H[3] >> 16 & 0xff, H[3] >> 8 & 0xff, H[3] & 0xff, H[4] >> 24 & 0xff, H[4] >> 16 & 0xff, H[4] >> 8 & 0xff, H[4] & 0xff];
15536
+ }
15537
+
15538
+ /* harmony default export */ __webpack_exports__["default"] = (sha1);
15539
+
15540
+ /***/ }),
15541
+
15542
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js":
15543
+ /*!*****************************************************************!*\
15544
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/stringify.js ***!
15545
+ \*****************************************************************/
15546
+ /*! exports provided: default */
15547
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15548
+
15549
+ "use strict";
15550
+ __webpack_require__.r(__webpack_exports__);
15551
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js");
15552
+
15553
+ /**
15554
+ * Convert array of 16 byte values to UUID string format of the form:
15555
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
15556
+ */
15557
+
15558
+ var byteToHex = [];
15559
+
15560
+ for (var i = 0; i < 256; ++i) {
15561
+ byteToHex.push((i + 0x100).toString(16).substr(1));
15562
+ }
15563
+
15564
+ function stringify(arr) {
15565
+ var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
15566
+ // Note: Be careful editing this code! It's been tuned for performance
15567
+ // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
15568
+ var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
15569
+ // of the following:
15570
+ // - One or more input array values don't map to a hex octet (leading to
15571
+ // "undefined" in the uuid)
15572
+ // - Invalid input values for the RFC `version` or `variant` fields
15573
+
15574
+ if (!Object(_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
15575
+ throw TypeError('Stringified UUID is invalid');
15576
+ }
15577
+
15578
+ return uuid;
15579
+ }
15580
+
15581
+ /* harmony default export */ __webpack_exports__["default"] = (stringify);
15582
+
15583
+ /***/ }),
15584
+
15585
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v1.js":
15586
+ /*!**********************************************************!*\
15587
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v1.js ***!
15588
+ \**********************************************************/
15589
+ /*! exports provided: default */
15590
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15591
+
15592
+ "use strict";
15593
+ __webpack_require__.r(__webpack_exports__);
15594
+ /* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rng.js */ "../pubsub/node_modules/uuid/dist/esm-browser/rng.js");
15595
+ /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js");
15596
+
15597
+ // **`v1()` - Generate time-based UUID**
15598
+ //
15599
+ // Inspired by https://github.com/LiosK/UUID.js
15600
+ // and http://docs.python.org/library/uuid.html
15601
+
15602
+ var _nodeId;
15603
+
15604
+ var _clockseq; // Previous uuid creation time
15605
+
15606
+
15607
+ var _lastMSecs = 0;
15608
+ var _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details
15609
+
15610
+ function v1(options, buf, offset) {
15611
+ var i = buf && offset || 0;
15612
+ var b = buf || new Array(16);
15613
+ options = options || {};
15614
+ var node = options.node || _nodeId;
15615
+ var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not
15616
+ // specified. We do this lazily to minimize issues related to insufficient
15617
+ // system entropy. See #189
15618
+
15619
+ if (node == null || clockseq == null) {
15620
+ var seedBytes = options.random || (options.rng || _rng_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
15621
+
15622
+ if (node == null) {
15623
+ // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
15624
+ node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
15625
+ }
15626
+
15627
+ if (clockseq == null) {
15628
+ // Per 4.2.2, randomize (14 bit) clockseq
15629
+ clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
15630
+ }
15631
+ } // UUID timestamps are 100 nano-second units since the Gregorian epoch,
15632
+ // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
15633
+ // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
15634
+ // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
15635
+
15636
+
15637
+ var msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock
15638
+ // cycle to simulate higher resolution clock
15639
+
15640
+ var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)
15641
+
15642
+ var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression
15643
+
15644
+ if (dt < 0 && options.clockseq === undefined) {
15645
+ clockseq = clockseq + 1 & 0x3fff;
15646
+ } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
15647
+ // time interval
15648
+
15649
+
15650
+ if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
15651
+ nsecs = 0;
15652
+ } // Per 4.2.1.2 Throw error if too many uuids are requested
15653
+
15654
+
15655
+ if (nsecs >= 10000) {
15656
+ throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
15657
+ }
15658
+
15659
+ _lastMSecs = msecs;
15660
+ _lastNSecs = nsecs;
15661
+ _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
15662
+
15663
+ msecs += 12219292800000; // `time_low`
15664
+
15665
+ var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
15666
+ b[i++] = tl >>> 24 & 0xff;
15667
+ b[i++] = tl >>> 16 & 0xff;
15668
+ b[i++] = tl >>> 8 & 0xff;
15669
+ b[i++] = tl & 0xff; // `time_mid`
15670
+
15671
+ var tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
15672
+ b[i++] = tmh >>> 8 & 0xff;
15673
+ b[i++] = tmh & 0xff; // `time_high_and_version`
15674
+
15675
+ b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
15676
+
15677
+ b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
15678
+
15679
+ b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`
15680
+
15681
+ b[i++] = clockseq & 0xff; // `node`
15682
+
15683
+ for (var n = 0; n < 6; ++n) {
15684
+ b[i + n] = node[n];
15685
+ }
15686
+
15687
+ return buf || Object(_stringify_js__WEBPACK_IMPORTED_MODULE_1__["default"])(b);
15688
+ }
15689
+
15690
+ /* harmony default export */ __webpack_exports__["default"] = (v1);
15691
+
15692
+ /***/ }),
15693
+
15694
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v3.js":
15695
+ /*!**********************************************************!*\
15696
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v3.js ***!
15697
+ \**********************************************************/
15698
+ /*! exports provided: default */
15699
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15700
+
15701
+ "use strict";
15702
+ __webpack_require__.r(__webpack_exports__);
15703
+ /* harmony import */ var _v35_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v35.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v35.js");
15704
+ /* harmony import */ var _md5_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./md5.js */ "../pubsub/node_modules/uuid/dist/esm-browser/md5.js");
15705
+
15706
+
15707
+ var v3 = Object(_v35_js__WEBPACK_IMPORTED_MODULE_0__["default"])('v3', 0x30, _md5_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
15708
+ /* harmony default export */ __webpack_exports__["default"] = (v3);
15709
+
15710
+ /***/ }),
15711
+
15712
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v35.js":
15713
+ /*!***********************************************************!*\
15714
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v35.js ***!
15715
+ \***********************************************************/
15716
+ /*! exports provided: DNS, URL, default */
15717
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15718
+
15719
+ "use strict";
15720
+ __webpack_require__.r(__webpack_exports__);
15721
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DNS", function() { return DNS; });
15722
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "URL", function() { return URL; });
15723
+ /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./stringify.js */ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js");
15724
+ /* harmony import */ var _parse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parse.js */ "../pubsub/node_modules/uuid/dist/esm-browser/parse.js");
15725
+
15726
+
15727
+
15728
+ function stringToBytes(str) {
15729
+ str = unescape(encodeURIComponent(str)); // UTF8 escape
15730
+
15731
+ var bytes = [];
15732
+
15733
+ for (var i = 0; i < str.length; ++i) {
15734
+ bytes.push(str.charCodeAt(i));
15735
+ }
15736
+
15737
+ return bytes;
15738
+ }
15739
+
15740
+ var DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
15741
+ var URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
15742
+ /* harmony default export */ __webpack_exports__["default"] = (function (name, version, hashfunc) {
15743
+ function generateUUID(value, namespace, buf, offset) {
15744
+ if (typeof value === 'string') {
15745
+ value = stringToBytes(value);
15746
+ }
15747
+
15748
+ if (typeof namespace === 'string') {
15749
+ namespace = Object(_parse_js__WEBPACK_IMPORTED_MODULE_1__["default"])(namespace);
15750
+ }
15751
+
15752
+ if (namespace.length !== 16) {
15753
+ throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
15754
+ } // Compute hash of namespace and value, Per 4.3
15755
+ // Future: Use spread syntax when supported on all platforms, e.g. `bytes =
15756
+ // hashfunc([...namespace, ... value])`
15757
+
15758
+
15759
+ var bytes = new Uint8Array(16 + value.length);
15760
+ bytes.set(namespace);
15761
+ bytes.set(value, namespace.length);
15762
+ bytes = hashfunc(bytes);
15763
+ bytes[6] = bytes[6] & 0x0f | version;
15764
+ bytes[8] = bytes[8] & 0x3f | 0x80;
15765
+
15766
+ if (buf) {
15767
+ offset = offset || 0;
15768
+
15769
+ for (var i = 0; i < 16; ++i) {
15770
+ buf[offset + i] = bytes[i];
15771
+ }
15772
+
15773
+ return buf;
15774
+ }
15775
+
15776
+ return Object(_stringify_js__WEBPACK_IMPORTED_MODULE_0__["default"])(bytes);
15777
+ } // Function#name is not settable on some platforms (#270)
15778
+
15779
+
15780
+ try {
15781
+ generateUUID.name = name; // eslint-disable-next-line no-empty
15782
+ } catch (err) {} // For CommonJS default export support
15783
+
15784
+
15785
+ generateUUID.DNS = DNS;
15786
+ generateUUID.URL = URL;
15787
+ return generateUUID;
15788
+ });
15789
+
15790
+ /***/ }),
15791
+
15792
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v4.js":
15793
+ /*!**********************************************************!*\
15794
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v4.js ***!
15795
+ \**********************************************************/
15796
+ /*! exports provided: default */
15797
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15798
+
15799
+ "use strict";
15800
+ __webpack_require__.r(__webpack_exports__);
15801
+ /* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rng.js */ "../pubsub/node_modules/uuid/dist/esm-browser/rng.js");
15802
+ /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js");
15803
+
15804
+
15805
+
15806
+ function v4(options, buf, offset) {
15807
+ options = options || {};
15808
+ var rnds = options.random || (options.rng || _rng_js__WEBPACK_IMPORTED_MODULE_0__["default"])(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
15809
+
15810
+ rnds[6] = rnds[6] & 0x0f | 0x40;
15811
+ rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
15812
+
15813
+ if (buf) {
15814
+ offset = offset || 0;
15815
+
15816
+ for (var i = 0; i < 16; ++i) {
15817
+ buf[offset + i] = rnds[i];
15818
+ }
15819
+
15820
+ return buf;
15821
+ }
15822
+
15823
+ return Object(_stringify_js__WEBPACK_IMPORTED_MODULE_1__["default"])(rnds);
15824
+ }
15825
+
15826
+ /* harmony default export */ __webpack_exports__["default"] = (v4);
15827
+
15828
+ /***/ }),
15829
+
15830
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v5.js":
15831
+ /*!**********************************************************!*\
15832
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v5.js ***!
15833
+ \**********************************************************/
15834
+ /*! exports provided: default */
15835
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15836
+
15837
+ "use strict";
15838
+ __webpack_require__.r(__webpack_exports__);
15839
+ /* harmony import */ var _v35_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v35.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v35.js");
15840
+ /* harmony import */ var _sha1_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sha1.js */ "../pubsub/node_modules/uuid/dist/esm-browser/sha1.js");
15841
+
15842
+
15843
+ var v5 = Object(_v35_js__WEBPACK_IMPORTED_MODULE_0__["default"])('v5', 0x50, _sha1_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
15844
+ /* harmony default export */ __webpack_exports__["default"] = (v5);
15845
+
15846
+ /***/ }),
15847
+
15848
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js":
15849
+ /*!****************************************************************!*\
15850
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/validate.js ***!
15851
+ \****************************************************************/
15852
+ /*! exports provided: default */
15853
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15854
+
15855
+ "use strict";
15856
+ __webpack_require__.r(__webpack_exports__);
15857
+ /* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./regex.js */ "../pubsub/node_modules/uuid/dist/esm-browser/regex.js");
15858
+
15859
+
15860
+ function validate(uuid) {
15861
+ return typeof uuid === 'string' && _regex_js__WEBPACK_IMPORTED_MODULE_0__["default"].test(uuid);
15862
+ }
15863
+
15864
+ /* harmony default export */ __webpack_exports__["default"] = (validate);
15865
+
15866
+ /***/ }),
15867
+
15868
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/version.js":
15869
+ /*!***************************************************************!*\
15870
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/version.js ***!
15871
+ \***************************************************************/
15872
+ /*! exports provided: default */
15873
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15874
+
15875
+ "use strict";
15876
+ __webpack_require__.r(__webpack_exports__);
15877
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js");
15878
+
15879
+
15880
+ function version(uuid) {
15881
+ if (!Object(_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
15882
+ throw TypeError('Invalid UUID');
15883
+ }
15884
+
15885
+ return parseInt(uuid.substr(14, 1), 16);
15886
+ }
15887
+
15888
+ /* harmony default export */ __webpack_exports__["default"] = (version);
15889
+
15890
+ /***/ }),
15891
+
15316
15892
  /***/ "./lib-esm/API.js":
15317
15893
  /*!************************!*\
15318
15894
  !*** ./lib-esm/API.js ***!