@nmshd/crypto 2.0.0 → 2.0.2

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 (54) hide show
  1. package/README.md +2 -2
  2. package/dist/CoreBuffer.js.map +1 -1
  3. package/dist/CryptoDerivation.js +7 -7
  4. package/dist/CryptoDerivation.js.map +1 -1
  5. package/dist/CryptoPrivateKey.js.map +1 -1
  6. package/dist/CryptoPublicKey.js.map +1 -1
  7. package/dist/CryptoValidation.js +13 -13
  8. package/dist/CryptoValidation.js.map +1 -1
  9. package/dist/buildInformation.js +5 -5
  10. package/dist/encryption/CryptoCipher.js.map +1 -1
  11. package/dist/encryption/CryptoEncryption.js +12 -12
  12. package/dist/encryption/CryptoEncryption.js.map +1 -1
  13. package/dist/encryption/CryptoSecretKey.js.map +1 -1
  14. package/dist/exchange/CryptoExchange.js +4 -4
  15. package/dist/exchange/CryptoExchange.js.map +1 -1
  16. package/dist/exchange/CryptoExchangeKeypair.js.map +1 -1
  17. package/dist/exchange/CryptoExchangePrivateKey.js +1 -1
  18. package/dist/exchange/CryptoExchangePrivateKey.js.map +1 -1
  19. package/dist/exchange/CryptoExchangePublicKey.js.map +1 -1
  20. package/dist/exchange/CryptoExchangeSecrets.js.map +1 -1
  21. package/dist/exchange/CryptoExchangeValidation.js +3 -3
  22. package/dist/exchange/CryptoExchangeValidation.js.map +1 -1
  23. package/dist/hash/CryptoHash.js +6 -6
  24. package/dist/hash/CryptoHash.js.map +1 -1
  25. package/dist/relationship/CryptoRelationshipPublicRequest.js.map +1 -1
  26. package/dist/relationship/CryptoRelationshipPublicResponse.js.map +1 -1
  27. package/dist/relationship/CryptoRelationshipRequestSecrets.js +1 -1
  28. package/dist/relationship/CryptoRelationshipRequestSecrets.js.map +1 -1
  29. package/dist/relationship/CryptoRelationshipSecrets.js +2 -2
  30. package/dist/relationship/CryptoRelationshipSecrets.js.map +1 -1
  31. package/dist/signature/CryptoSignature.js.map +1 -1
  32. package/dist/signature/CryptoSignatureKeypair.js.map +1 -1
  33. package/dist/signature/CryptoSignaturePrivateKey.js +3 -1
  34. package/dist/signature/CryptoSignaturePrivateKey.js.map +1 -1
  35. package/dist/signature/CryptoSignaturePublicKey.js.map +1 -1
  36. package/dist/signature/CryptoSignatureValidation.js +3 -3
  37. package/dist/signature/CryptoSignatureValidation.js.map +1 -1
  38. package/dist/signature/CryptoSignatures.js +4 -4
  39. package/dist/signature/CryptoSignatures.js.map +1 -1
  40. package/dist/state/CryptoPrivateState.js.map +1 -1
  41. package/dist/state/CryptoPrivateStateReceive.js +1 -1
  42. package/dist/state/CryptoPrivateStateReceive.js.map +1 -1
  43. package/dist/state/CryptoPrivateStateTransmit.js +1 -1
  44. package/dist/state/CryptoPrivateStateTransmit.js.map +1 -1
  45. package/dist/state/CryptoPublicState.js.map +1 -1
  46. package/dist/stream/CryptoStream.js.map +1 -1
  47. package/dist/stream/CryptoStreamAddress.js.map +1 -1
  48. package/dist/stream/CryptoStreamHeader.js.map +1 -1
  49. package/dist/stream/CryptoStreamState.js.map +1 -1
  50. package/lib-web/nmshd.crypto.js +498 -376
  51. package/lib-web/nmshd.crypto.js.map +1 -1
  52. package/lib-web/nmshd.crypto.min.js +1 -1
  53. package/lib-web/nmshd.crypto.min.js.map +1 -1
  54. package/package.json +19 -19
@@ -541,9 +541,9 @@ const SodiumWrapper_1 = __webpack_require__(/*! ./SodiumWrapper */ "./dist/Sodiu
541
541
  class CryptoDerivation {
542
542
  static async deriveKeyFromMaster(masterKey, iterations, keyAlgorithm, salt) {
543
543
  switch (keyAlgorithm) {
544
- case 1 /* AES128_GCM */:
545
- case 2 /* AES256_GCM */:
546
- case 3 /* XCHACHA20_POLY1305 */:
544
+ case 1 /* CryptoEncryptionAlgorithm.AES128_GCM */:
545
+ case 2 /* CryptoEncryptionAlgorithm.AES256_GCM */:
546
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
547
547
  break;
548
548
  default:
549
549
  throw new Error("KeyAlgorithm not supported.");
@@ -557,19 +557,19 @@ class CryptoDerivation {
557
557
  const hashBuffer = CoreBuffer_1.CoreBuffer.fromString(pwhash, CoreBuffer_1.Encoding.Hex);
558
558
  return CryptoSecretKey_1.CryptoSecretKey.from({ secretKey: hashBuffer, algorithm: keyAlgorithm });
559
559
  }
560
- static async deriveKeyFromBase(baseKey, keyId, context, keyAlgorithm = 3 /* XCHACHA20_POLY1305 */) {
560
+ static async deriveKeyFromBase(baseKey, keyId, context, keyAlgorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
561
561
  if (context.length !== 8) {
562
562
  throw new Error("The context should be exactly 8 characters long!");
563
563
  }
564
564
  let keyLength;
565
565
  switch (keyAlgorithm) {
566
- case 1 /* AES128_GCM */:
566
+ case 1 /* CryptoEncryptionAlgorithm.AES128_GCM */:
567
567
  keyLength = 16;
568
568
  break;
569
- case 2 /* AES256_GCM */:
569
+ case 2 /* CryptoEncryptionAlgorithm.AES256_GCM */:
570
570
  keyLength = 32;
571
571
  break;
572
- case 3 /* XCHACHA20_POLY1305 */:
572
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
573
573
  keyLength = 32;
574
574
  break;
575
575
  default:
@@ -934,7 +934,7 @@ class CryptoValidation {
934
934
  static checkEncryptionAlgorithm(algorithm, throwError = true) {
935
935
  let error;
936
936
  switch (algorithm) {
937
- case 3 /* XCHACHA20_POLY1305 */:
937
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
938
938
  break;
939
939
  default:
940
940
  error = new CryptoError_1.CryptoError(CryptoErrorCode_1.CryptoErrorCode.EncryptionWrongAlgorithm, "Encryption algorithm is not supported.");
@@ -947,9 +947,9 @@ class CryptoValidation {
947
947
  static checkHashAlgorithm(algorithm, throwError = true) {
948
948
  let error;
949
949
  switch (algorithm) {
950
- case 3 /* BLAKE2B */:
951
- case 1 /* SHA256 */:
952
- case 2 /* SHA512 */:
950
+ case 3 /* CryptoHashAlgorithm.BLAKE2B */:
951
+ case 1 /* CryptoHashAlgorithm.SHA256 */:
952
+ case 2 /* CryptoHashAlgorithm.SHA512 */:
953
953
  break;
954
954
  default:
955
955
  error = new CryptoError_1.CryptoError(CryptoErrorCode_1.CryptoErrorCode.WrongHashAlgorithm, "Hash algorithm is not supported.");
@@ -995,13 +995,13 @@ class CryptoValidation {
995
995
  const byteLength = Math.floor(3 * (key.length / 4));
996
996
  let errorLength = 0;
997
997
  switch (algorithm) {
998
- case 1 /* AES128_GCM */:
998
+ case 1 /* CryptoEncryptionAlgorithm.AES128_GCM */:
999
999
  if (byteLength !== 16) {
1000
1000
  errorLength = 16;
1001
1001
  }
1002
1002
  break;
1003
- case 2 /* AES256_GCM */:
1004
- case 3 /* XCHACHA20_POLY1305 */:
1003
+ case 2 /* CryptoEncryptionAlgorithm.AES256_GCM */:
1004
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
1005
1005
  if (byteLength !== 32) {
1006
1006
  errorLength = 32;
1007
1007
  }
@@ -1027,13 +1027,13 @@ class CryptoValidation {
1027
1027
  buffer = key.buffer;
1028
1028
  let errorLength = 0;
1029
1029
  switch (algorithm) {
1030
- case 1 /* AES128_GCM */:
1030
+ case 1 /* CryptoEncryptionAlgorithm.AES128_GCM */:
1031
1031
  if (buffer.byteLength !== 16) {
1032
1032
  errorLength = 16;
1033
1033
  }
1034
1034
  break;
1035
- case 2 /* AES256_GCM */:
1036
- case 3 /* XCHACHA20_POLY1305 */:
1035
+ case 2 /* CryptoEncryptionAlgorithm.AES256_GCM */:
1036
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
1037
1037
  if (buffer.byteLength !== 32) {
1038
1038
  errorLength = 32;
1039
1039
  }
@@ -1071,13 +1071,13 @@ class CryptoValidation {
1071
1071
  buffer = nonce.buffer;
1072
1072
  let errorLength = 0;
1073
1073
  switch (algorithm) {
1074
- case 1 /* AES128_GCM */:
1075
- case 2 /* AES256_GCM */:
1074
+ case 1 /* CryptoEncryptionAlgorithm.AES128_GCM */:
1075
+ case 2 /* CryptoEncryptionAlgorithm.AES256_GCM */:
1076
1076
  if (buffer.byteLength !== 12) {
1077
1077
  errorLength = 12;
1078
1078
  }
1079
1079
  break;
1080
- case 3 /* XCHACHA20_POLY1305 */:
1080
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
1081
1081
  if (buffer.byteLength !== 24) {
1082
1082
  errorLength = 24;
1083
1083
  }
@@ -1187,11 +1187,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1187
1187
  exports.buildInformation = void 0;
1188
1188
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
1189
1189
  exports.buildInformation = {
1190
- version: "2.0.0",
1191
- build: "12",
1192
- date: "2022-04-12T11:17:12+00:00",
1193
- commit: "25fed42ba3e27d868f9584bf3c990f983b8ea70b",
1194
- dependencies: {"libsodium-wrappers-sumo":"0.7.10","uuid":"8.3.2"},
1190
+ version: "2.0.2",
1191
+ build: "16",
1192
+ date: "2022-09-28T05:58:15+00:00",
1193
+ commit: "61b5cf04e12e1523978d239e2cd1d5d7dfd456c2",
1194
+ dependencies: {"libsodium-wrappers-sumo":"0.7.10","uuid":"9.0.0"},
1195
1195
  libraries: {
1196
1196
  serval: ts_serval_1.buildInformation
1197
1197
  }
@@ -1329,11 +1329,11 @@ const SodiumWrapper_1 = __webpack_require__(/*! ../SodiumWrapper */ "./dist/Sodi
1329
1329
  const CryptoCipher_1 = __webpack_require__(/*! ./CryptoCipher */ "./dist/encryption/CryptoCipher.js");
1330
1330
  const CryptoSecretKey_1 = __webpack_require__(/*! ./CryptoSecretKey */ "./dist/encryption/CryptoSecretKey.js");
1331
1331
  class CryptoEncryption {
1332
- static async generateKey(algorithm = 3 /* XCHACHA20_POLY1305 */) {
1332
+ static async generateKey(algorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
1333
1333
  CryptoValidation_1.CryptoValidation.checkEncryptionAlgorithm(algorithm);
1334
1334
  let buffer;
1335
1335
  switch (algorithm) {
1336
- case 3 /* XCHACHA20_POLY1305 */:
1336
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
1337
1337
  try {
1338
1338
  buffer = new CoreBuffer_1.CoreBuffer((await SodiumWrapper_1.SodiumWrapper.ready()).crypto_aead_xchacha20poly1305_ietf_keygen());
1339
1339
  }
@@ -1356,7 +1356,7 @@ class CryptoEncryption {
1356
1356
  * @param nonce
1357
1357
  * @param algorithm
1358
1358
  */
1359
- static async encrypt(plaintext, secretKey, nonce, algorithm = 3 /* XCHACHA20_POLY1305 */) {
1359
+ static async encrypt(plaintext, secretKey, nonce, algorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
1360
1360
  let correctAlgorithm;
1361
1361
  let secretKeyBuffer;
1362
1362
  if (secretKey instanceof CryptoSecretKey_1.CryptoSecretKey) {
@@ -1383,7 +1383,7 @@ class CryptoEncryption {
1383
1383
  }
1384
1384
  let cipher;
1385
1385
  switch (correctAlgorithm) {
1386
- case 3 /* XCHACHA20_POLY1305 */:
1386
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
1387
1387
  try {
1388
1388
  cipher = sodium.crypto_aead_xchacha20poly1305_ietf_encrypt(plaintext.buffer, "", new Uint8Array(), publicnonce, secretKeyBuffer);
1389
1389
  }
@@ -1400,7 +1400,7 @@ class CryptoEncryption {
1400
1400
  nonce: CoreBuffer_1.CoreBuffer.from(publicnonce)
1401
1401
  });
1402
1402
  }
1403
- static async encryptWithCounter(plaintext, secretKey, nonce, counter, algorithm = 3 /* XCHACHA20_POLY1305 */) {
1403
+ static async encryptWithCounter(plaintext, secretKey, nonce, counter, algorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
1404
1404
  let correctAlgorithm;
1405
1405
  let secretKeyBuffer;
1406
1406
  if (secretKey instanceof CryptoSecretKey_1.CryptoSecretKey) {
@@ -1420,7 +1420,7 @@ class CryptoEncryption {
1420
1420
  const publicnonce = this._addCounter(nonce.buffer, counter);
1421
1421
  let cipherbuffer;
1422
1422
  switch (algorithm) {
1423
- case 3 /* XCHACHA20_POLY1305 */:
1423
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
1424
1424
  try {
1425
1425
  const cipher = (await SodiumWrapper_1.SodiumWrapper.ready()).crypto_aead_xchacha20poly1305_ietf_encrypt(plaintext.buffer, "", new Uint8Array(), publicnonce.buffer, secretKeyBuffer);
1426
1426
  cipherbuffer = new CoreBuffer_1.CoreBuffer(cipher);
@@ -1433,7 +1433,7 @@ class CryptoEncryption {
1433
1433
  throw new CryptoError_1.CryptoError(CryptoErrorCode_1.CryptoErrorCode.NotYetImplemented);
1434
1434
  }
1435
1435
  }
1436
- static async decrypt(cipher, secretKey, nonce, algorithm = 3 /* XCHACHA20_POLY1305 */) {
1436
+ static async decrypt(cipher, secretKey, nonce, algorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
1437
1437
  let correctAlgorithm;
1438
1438
  let secretKeyBuffer;
1439
1439
  if (secretKey instanceof CryptoSecretKey_1.CryptoSecretKey) {
@@ -1461,7 +1461,7 @@ class CryptoEncryption {
1461
1461
  throw new CryptoError_1.CryptoError(CryptoErrorCode_1.CryptoErrorCode.EncryptionWrongNonce, "Cipher does not contain a nonce and no nonce is given.");
1462
1462
  }
1463
1463
  switch (correctAlgorithm) {
1464
- case 3 /* XCHACHA20_POLY1305 */:
1464
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
1465
1465
  try {
1466
1466
  const buffer = CoreBuffer_1.CoreBuffer.fromObject((await SodiumWrapper_1.SodiumWrapper.ready()).crypto_aead_xchacha20poly1305_ietf_decrypt(new Uint8Array(), cipher.cipher.buffer, "", publicnonce, secretKeyBuffer));
1467
1467
  return buffer;
@@ -1474,7 +1474,7 @@ class CryptoEncryption {
1474
1474
  throw new CryptoError_1.CryptoError(CryptoErrorCode_1.CryptoErrorCode.NotYetImplemented);
1475
1475
  }
1476
1476
  }
1477
- static async decryptWithCounter(cipher, secretKey, nonce, counter, algorithm = 3 /* XCHACHA20_POLY1305 */) {
1477
+ static async decryptWithCounter(cipher, secretKey, nonce, counter, algorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
1478
1478
  if (secretKey instanceof CryptoSecretKey_1.CryptoSecretKey) {
1479
1479
  CryptoValidation_1.CryptoValidation.checkNonceForAlgorithm(nonce, secretKey.algorithm);
1480
1480
  }
@@ -1493,11 +1493,11 @@ class CryptoEncryption {
1493
1493
  CryptoValidation_1.CryptoValidation.checkEncryptionAlgorithm(algorithm);
1494
1494
  let nonceLength;
1495
1495
  switch (algorithm) {
1496
- case 1 /* AES128_GCM */:
1497
- case 2 /* AES256_GCM */:
1496
+ case 1 /* CryptoEncryptionAlgorithm.AES128_GCM */:
1497
+ case 2 /* CryptoEncryptionAlgorithm.AES256_GCM */:
1498
1498
  nonceLength = 12;
1499
1499
  break;
1500
- case 3 /* XCHACHA20_POLY1305 */:
1500
+ case 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */:
1501
1501
  nonceLength = 24;
1502
1502
  break;
1503
1503
  default:
@@ -1634,11 +1634,11 @@ class CryptoExchange {
1634
1634
  * @param algorithm The [[CryptoExchangeAlgorithm]] for which a keypair should be generated. Defaults to ECDH_X25519
1635
1635
  * @returns A Promise resolving into a [[CryptoExchangeKeypair]] object
1636
1636
  */
1637
- static async generateKeypair(algorithm = 3 /* ECDH_X25519 */) {
1637
+ static async generateKeypair(algorithm = 3 /* CryptoExchangeAlgorithm.ECDH_X25519 */) {
1638
1638
  let privateKeyBuffer;
1639
1639
  let publicKeyBuffer;
1640
1640
  switch (algorithm) {
1641
- case 3 /* ECDH_X25519 */:
1641
+ case 3 /* CryptoExchangeAlgorithm.ECDH_X25519 */:
1642
1642
  let pair;
1643
1643
  try {
1644
1644
  pair = (await SodiumWrapper_1.SodiumWrapper.ready()).crypto_kx_keypair();
@@ -1673,7 +1673,7 @@ class CryptoExchange {
1673
1673
  * @returns A Promise resolving into a [[CryptoExchangeSecrets]] object, containing the shared keys
1674
1674
  * for transmission and receiving.
1675
1675
  */
1676
- static async deriveRequestor(requestorKeypair, templatorPublicKey, algorithm = 3 /* XCHACHA20_POLY1305 */) {
1676
+ static async deriveRequestor(requestorKeypair, templatorPublicKey, algorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
1677
1677
  let sharedKey;
1678
1678
  try {
1679
1679
  sharedKey = (await SodiumWrapper_1.SodiumWrapper.ready()).crypto_kx_server_session_keys(requestorKeypair.publicKey.publicKey.buffer, requestorKeypair.privateKey.privateKey.buffer, templatorPublicKey.publicKey.buffer);
@@ -1704,7 +1704,7 @@ class CryptoExchange {
1704
1704
  * @returns A Promise resolving into a [[CryptoExchangeSecrets]] object, containing the shared keys
1705
1705
  * for transmission and receiving.
1706
1706
  */
1707
- static async deriveTemplator(templatorKeypair, requestorPublicKey, algorithm = 3 /* XCHACHA20_POLY1305 */) {
1707
+ static async deriveTemplator(templatorKeypair, requestorPublicKey, algorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
1708
1708
  let sharedKey;
1709
1709
  try {
1710
1710
  sharedKey = (await SodiumWrapper_1.SodiumWrapper.ready()).crypto_kx_client_session_keys(templatorKeypair.publicKey.publicKey.buffer, templatorKeypair.privateKey.privateKey.buffer, requestorPublicKey.publicKey.buffer);
@@ -1850,7 +1850,7 @@ let CryptoExchangePrivateKey = class CryptoExchangePrivateKey extends CryptoPriv
1850
1850
  async toPublicKey() {
1851
1851
  let publicKey;
1852
1852
  switch (this.algorithm) {
1853
- case 3 /* ECDH_X25519 */:
1853
+ case 3 /* CryptoExchangeAlgorithm.ECDH_X25519 */:
1854
1854
  try {
1855
1855
  publicKey = (await SodiumWrapper_1.SodiumWrapper.ready()).crypto_scalarmult_base(this.privateKey.buffer);
1856
1856
  }
@@ -2079,9 +2079,9 @@ class CryptoExchangeValidation extends CryptoValidation_1.CryptoValidation {
2079
2079
  static checkExchangeAlgorithm(algorithm, throwError = true) {
2080
2080
  let error;
2081
2081
  switch (algorithm) {
2082
- case 1 /* ECDH_P256 */:
2083
- case 2 /* ECDH_P521 */:
2084
- case 3 /* ECDH_X25519 */:
2082
+ case 1 /* CryptoExchangeAlgorithm.ECDH_P256 */:
2083
+ case 2 /* CryptoExchangeAlgorithm.ECDH_P521 */:
2084
+ case 3 /* CryptoExchangeAlgorithm.ECDH_X25519 */:
2085
2085
  break;
2086
2086
  default:
2087
2087
  error = new CryptoError_1.CryptoError(CryptoErrorCode_1.CryptoErrorCode.ExchangeWrongAlgorithm, "Exchange algorithm is not set or supported.");
@@ -2166,10 +2166,10 @@ class CryptoHash {
2166
2166
  let hashBuffer;
2167
2167
  const sodium = await SodiumWrapper_1.SodiumWrapper.ready();
2168
2168
  switch (algorithm) {
2169
- case 1 /* SHA256 */:
2169
+ case 1 /* CryptoHashAlgorithm.SHA256 */:
2170
2170
  hashBuffer = sodium.crypto_hash_sha256(content.buffer);
2171
2171
  break;
2172
- case 2 /* SHA512 */:
2172
+ case 2 /* CryptoHashAlgorithm.SHA512 */:
2173
2173
  hashBuffer = sodium.crypto_hash_sha512(content.buffer);
2174
2174
  break;
2175
2175
  default:
@@ -2194,9 +2194,9 @@ class CryptoHash {
2194
2194
  const bufferContent = CoreBuffer_1.CoreBuffer.fromString(content, CoreBuffer_1.Encoding.Utf8);
2195
2195
  if (hash) {
2196
2196
  const bufferHash = CoreBuffer_1.CoreBuffer.fromString(hash, CoreBuffer_1.Encoding.Hex);
2197
- return await this.verify(bufferContent, bufferHash, 1 /* SHA256 */);
2197
+ return await this.verify(bufferContent, bufferHash, 1 /* CryptoHashAlgorithm.SHA256 */);
2198
2198
  }
2199
- const created = await this.hash(bufferContent, 1 /* SHA256 */);
2199
+ const created = await this.hash(bufferContent, 1 /* CryptoHashAlgorithm.SHA256 */);
2200
2200
  return created.toString(CoreBuffer_1.Encoding.Hex);
2201
2201
  }
2202
2202
  /**
@@ -2216,9 +2216,9 @@ class CryptoHash {
2216
2216
  const bufferContent = CoreBuffer_1.CoreBuffer.fromString(content, CoreBuffer_1.Encoding.Utf8);
2217
2217
  if (hash) {
2218
2218
  const bufferHash = CoreBuffer_1.CoreBuffer.fromString(hash, CoreBuffer_1.Encoding.Hex);
2219
- return await this.verify(bufferContent, bufferHash, 2 /* SHA512 */);
2219
+ return await this.verify(bufferContent, bufferHash, 2 /* CryptoHashAlgorithm.SHA512 */);
2220
2220
  }
2221
- const created = await this.hash(bufferContent, 2 /* SHA512 */);
2221
+ const created = await this.hash(bufferContent, 2 /* CryptoHashAlgorithm.SHA512 */);
2222
2222
  return created.toString(CoreBuffer_1.Encoding.Hex);
2223
2223
  }
2224
2224
  }
@@ -2524,7 +2524,7 @@ CryptoPasswordGenerator.UNITS_GERMAN = [
2524
2524
 
2525
2525
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2526
2526
  exports.CryptoRandom = exports.CryptoRandomCharacterRange = void 0;
2527
- const uuid_1 = __webpack_require__(/*! uuid */ "./node_modules/uuid/dist/esm-browser/index.js");
2527
+ const uuid_1 = __webpack_require__(/*! uuid */ "./node_modules/uuid/dist/commonjs-browser/index.js");
2528
2528
  const CoreBuffer_1 = __webpack_require__(/*! ../CoreBuffer */ "./dist/CoreBuffer.js");
2529
2529
  const CryptoError_1 = __webpack_require__(/*! ../CryptoError */ "./dist/CryptoError.js");
2530
2530
  const CryptoErrorCode_1 = __webpack_require__(/*! ../CryptoErrorCode */ "./dist/CryptoErrorCode.js");
@@ -2884,7 +2884,7 @@ let CryptoRelationshipRequestSecrets = CryptoRelationshipRequestSecrets_1 = clas
2884
2884
  static from(value) {
2885
2885
  return this.fromAny(value);
2886
2886
  }
2887
- async sign(content, algorithm = 1 /* SHA256 */) {
2887
+ async sign(content, algorithm = 1 /* CryptoHashAlgorithm.SHA256 */) {
2888
2888
  return await CryptoSignatures_1.CryptoSignatures.sign(content, this.signatureKeypair.privateKey, algorithm);
2889
2889
  }
2890
2890
  async verifyOwn(content, signature) {
@@ -3018,7 +3018,7 @@ let CryptoRelationshipSecrets = CryptoRelationshipSecrets_1 = class CryptoRelati
3018
3018
  static from(value) {
3019
3019
  return this.fromAny(value);
3020
3020
  }
3021
- async sign(content, algorithm = 1 /* SHA256 */) {
3021
+ async sign(content, algorithm = 1 /* CryptoHashAlgorithm.SHA256 */) {
3022
3022
  return await CryptoSignatures_1.CryptoSignatures.sign(content, this.signatureKeypair.privateKey, algorithm);
3023
3023
  }
3024
3024
  async verifyOwn(content, signature) {
@@ -3070,7 +3070,7 @@ let CryptoRelationshipSecrets = CryptoRelationshipSecrets_1 = class CryptoRelati
3070
3070
  const [receiveState, transmitState] = await Promise.all([
3071
3071
  CryptoPrivateStateReceive_1.CryptoPrivateStateReceive.fromPublicState(peerPublicTransmitState, derivedRx.secretKey, 0),
3072
3072
  CryptoPrivateStateTransmit_1.CryptoPrivateStateTransmit.from({
3073
- algorithm: 3 /* XCHACHA20_POLY1305 */,
3073
+ algorithm: 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */,
3074
3074
  counter: 0,
3075
3075
  nonce: request.nonce,
3076
3076
  secretKey: derivedTx.secretKey,
@@ -3424,6 +3424,7 @@ let CryptoSignaturePrivateKey = class CryptoSignaturePrivateKey extends CryptoPr
3424
3424
  return {
3425
3425
  prv: this.privateKey.toBase64URL(),
3426
3426
  alg: this.algorithm,
3427
+ id: this.id,
3427
3428
  "@type": verbose ? "CryptoSignaturePrivateKey" : undefined
3428
3429
  };
3429
3430
  }
@@ -3443,7 +3444,8 @@ let CryptoSignaturePrivateKey = class CryptoSignaturePrivateKey extends CryptoPr
3443
3444
  if (value.prv) {
3444
3445
  value = {
3445
3446
  algorithm: value.alg,
3446
- privateKey: value.prv
3447
+ privateKey: value.prv,
3448
+ id: value.id
3447
3449
  };
3448
3450
  }
3449
3451
  CryptoSignatureValidation_1.CryptoSignatureValidation.checkSignatureAlgorithm(value.algorithm);
@@ -3550,9 +3552,9 @@ class CryptoSignatureValidation extends CryptoValidation_1.CryptoValidation {
3550
3552
  static checkSignatureAlgorithm(algorithm, throwError = true) {
3551
3553
  let error;
3552
3554
  switch (algorithm) {
3553
- case 3 /* ECDSA_ED25519 */:
3554
- case 1 /* ECDSA_P256 */:
3555
- case 2 /* ECDSA_P521 */:
3555
+ case 3 /* CryptoSignatureAlgorithm.ECDSA_ED25519 */:
3556
+ case 1 /* CryptoSignatureAlgorithm.ECDSA_P256 */:
3557
+ case 2 /* CryptoSignatureAlgorithm.ECDSA_P521 */:
3556
3558
  break;
3557
3559
  default:
3558
3560
  error = new CryptoError_1.CryptoError(CryptoErrorCode_1.CryptoErrorCode.SignatureWrongAlgorithm, "Signature algorithm is not set or supported.");
@@ -3664,7 +3666,7 @@ const CryptoSignatureValidation_1 = __webpack_require__(/*! ./CryptoSignatureVal
3664
3666
  class CryptoSignatures {
3665
3667
  static async privateKeyToPublicKey(privateKey) {
3666
3668
  switch (privateKey.algorithm) {
3667
- case 3 /* ECDSA_ED25519 */:
3669
+ case 3 /* CryptoSignatureAlgorithm.ECDSA_ED25519 */:
3668
3670
  try {
3669
3671
  const publicKey = (await SodiumWrapper_1.SodiumWrapper.ready()).crypto_sign_ed25519_sk_to_pk(privateKey.privateKey.buffer);
3670
3672
  return CryptoSignaturePublicKey_1.CryptoSignaturePublicKey.from({
@@ -3683,11 +3685,11 @@ class CryptoSignatures {
3683
3685
  * Generates a keypair for the specified elliptic algorithm
3684
3686
  * @param algorithm
3685
3687
  */
3686
- static async generateKeypair(algorithm = 3 /* ECDSA_ED25519 */) {
3688
+ static async generateKeypair(algorithm = 3 /* CryptoSignatureAlgorithm.ECDSA_ED25519 */) {
3687
3689
  CryptoSignatureValidation_1.CryptoSignatureValidation.checkSignatureAlgorithm(algorithm);
3688
3690
  let pair;
3689
3691
  switch (algorithm) {
3690
- case 3 /* ECDSA_ED25519 */:
3692
+ case 3 /* CryptoSignatureAlgorithm.ECDSA_ED25519 */:
3691
3693
  try {
3692
3694
  pair = (await SodiumWrapper_1.SodiumWrapper.ready()).crypto_sign_keypair();
3693
3695
  }
@@ -3703,7 +3705,7 @@ class CryptoSignatures {
3703
3705
  const keypair = CryptoSignatureKeypair_1.CryptoSignatureKeypair.from({ publicKey, privateKey });
3704
3706
  return keypair;
3705
3707
  }
3706
- static async sign(content, privateKey, algorithm = 2 /* SHA512 */, keyId, id) {
3708
+ static async sign(content, privateKey, algorithm = 2 /* CryptoHashAlgorithm.SHA512 */, keyId, id) {
3707
3709
  CryptoSignatureValidation_1.CryptoSignatureValidation.checkBuffer(content, 1);
3708
3710
  CryptoSignatureValidation_1.CryptoSignatureValidation.checkHashAlgorithm(algorithm);
3709
3711
  const privateKeyBuffer = this.getArrayOfPrivateKey(privateKey);
@@ -3934,7 +3936,7 @@ let CryptoPrivateStateReceive = CryptoPrivateStateReceive_1 = class CryptoPrivat
3934
3936
  nonce: nonce.clone(),
3935
3937
  counter,
3936
3938
  secretKey,
3937
- algorithm: 3 /* XCHACHA20_POLY1305 */,
3939
+ algorithm: 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */,
3938
3940
  stateType: CryptoStateType_1.CryptoStateType.Receive
3939
3941
  });
3940
3942
  }
@@ -4014,7 +4016,7 @@ let CryptoPrivateStateTransmit = class CryptoPrivateStateTransmit extends Crypto
4014
4016
  const plaintext = await CryptoEncryption_1.CryptoEncryption.decryptWithCounter(cipher, this.secretKey, this.nonce, cipher.counter);
4015
4017
  return plaintext;
4016
4018
  }
4017
- static generate(secretKey, id, algorithm = 3 /* XCHACHA20_POLY1305 */) {
4019
+ static generate(secretKey, id, algorithm = 3 /* CryptoEncryptionAlgorithm.XCHACHA20_POLY1305 */) {
4018
4020
  CryptoValidation_1.CryptoValidation.checkEncryptionAlgorithm(algorithm);
4019
4021
  CryptoValidation_1.CryptoValidation.checkSecretKeyForAlgorithm(secretKey, algorithm);
4020
4022
  if (typeof secretKey === "undefined")
@@ -4435,57 +4437,109 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
4435
4437
 
4436
4438
  /***/ }),
4437
4439
 
4438
- /***/ "./node_modules/uuid/dist/esm-browser/index.js":
4439
- /*!*****************************************************!*\
4440
- !*** ./node_modules/uuid/dist/esm-browser/index.js ***!
4441
- \*****************************************************/
4442
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4440
+ /***/ "./node_modules/uuid/dist/commonjs-browser/index.js":
4441
+ /*!**********************************************************!*\
4442
+ !*** ./node_modules/uuid/dist/commonjs-browser/index.js ***!
4443
+ \**********************************************************/
4444
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4443
4445
 
4444
4446
  "use strict";
4445
- __webpack_require__.r(__webpack_exports__);
4446
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4447
- /* harmony export */ "NIL": () => (/* reexport safe */ _nil_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
4448
- /* harmony export */ "parse": () => (/* reexport safe */ _parse_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
4449
- /* harmony export */ "stringify": () => (/* reexport safe */ _stringify_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
4450
- /* harmony export */ "v1": () => (/* reexport safe */ _v1_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
4451
- /* harmony export */ "v3": () => (/* reexport safe */ _v3_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
4452
- /* harmony export */ "v4": () => (/* reexport safe */ _v4_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
4453
- /* harmony export */ "v5": () => (/* reexport safe */ _v5_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
4454
- /* harmony export */ "validate": () => (/* reexport safe */ _validate_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
4455
- /* harmony export */ "version": () => (/* reexport safe */ _version_js__WEBPACK_IMPORTED_MODULE_5__["default"])
4456
- /* harmony export */ });
4457
- /* harmony import */ var _v1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v1.js */ "./node_modules/uuid/dist/esm-browser/v1.js");
4458
- /* harmony import */ var _v3_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./v3.js */ "./node_modules/uuid/dist/esm-browser/v3.js");
4459
- /* harmony import */ var _v4_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./v4.js */ "./node_modules/uuid/dist/esm-browser/v4.js");
4460
- /* harmony import */ var _v5_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./v5.js */ "./node_modules/uuid/dist/esm-browser/v5.js");
4461
- /* harmony import */ var _nil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./nil.js */ "./node_modules/uuid/dist/esm-browser/nil.js");
4462
- /* harmony import */ var _version_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./version.js */ "./node_modules/uuid/dist/esm-browser/version.js");
4463
- /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/esm-browser/validate.js");
4464
- /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/esm-browser/stringify.js");
4465
- /* harmony import */ var _parse_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/esm-browser/parse.js");
4466
4447
 
4467
4448
 
4449
+ Object.defineProperty(exports, "__esModule", ({
4450
+ value: true
4451
+ }));
4452
+ Object.defineProperty(exports, "NIL", ({
4453
+ enumerable: true,
4454
+ get: function get() {
4455
+ return _nil.default;
4456
+ }
4457
+ }));
4458
+ Object.defineProperty(exports, "parse", ({
4459
+ enumerable: true,
4460
+ get: function get() {
4461
+ return _parse.default;
4462
+ }
4463
+ }));
4464
+ Object.defineProperty(exports, "stringify", ({
4465
+ enumerable: true,
4466
+ get: function get() {
4467
+ return _stringify.default;
4468
+ }
4469
+ }));
4470
+ Object.defineProperty(exports, "v1", ({
4471
+ enumerable: true,
4472
+ get: function get() {
4473
+ return _v.default;
4474
+ }
4475
+ }));
4476
+ Object.defineProperty(exports, "v3", ({
4477
+ enumerable: true,
4478
+ get: function get() {
4479
+ return _v2.default;
4480
+ }
4481
+ }));
4482
+ Object.defineProperty(exports, "v4", ({
4483
+ enumerable: true,
4484
+ get: function get() {
4485
+ return _v3.default;
4486
+ }
4487
+ }));
4488
+ Object.defineProperty(exports, "v5", ({
4489
+ enumerable: true,
4490
+ get: function get() {
4491
+ return _v4.default;
4492
+ }
4493
+ }));
4494
+ Object.defineProperty(exports, "validate", ({
4495
+ enumerable: true,
4496
+ get: function get() {
4497
+ return _validate.default;
4498
+ }
4499
+ }));
4500
+ Object.defineProperty(exports, "version", ({
4501
+ enumerable: true,
4502
+ get: function get() {
4503
+ return _version.default;
4504
+ }
4505
+ }));
4506
+
4507
+ var _v = _interopRequireDefault(__webpack_require__(/*! ./v1.js */ "./node_modules/uuid/dist/commonjs-browser/v1.js"));
4468
4508
 
4509
+ var _v2 = _interopRequireDefault(__webpack_require__(/*! ./v3.js */ "./node_modules/uuid/dist/commonjs-browser/v3.js"));
4469
4510
 
4511
+ var _v3 = _interopRequireDefault(__webpack_require__(/*! ./v4.js */ "./node_modules/uuid/dist/commonjs-browser/v4.js"));
4470
4512
 
4513
+ var _v4 = _interopRequireDefault(__webpack_require__(/*! ./v5.js */ "./node_modules/uuid/dist/commonjs-browser/v5.js"));
4471
4514
 
4515
+ var _nil = _interopRequireDefault(__webpack_require__(/*! ./nil.js */ "./node_modules/uuid/dist/commonjs-browser/nil.js"));
4472
4516
 
4517
+ var _version = _interopRequireDefault(__webpack_require__(/*! ./version.js */ "./node_modules/uuid/dist/commonjs-browser/version.js"));
4473
4518
 
4519
+ var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
4474
4520
 
4521
+ var _stringify = _interopRequireDefault(__webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js"));
4522
+
4523
+ var _parse = _interopRequireDefault(__webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/commonjs-browser/parse.js"));
4524
+
4525
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4475
4526
 
4476
4527
  /***/ }),
4477
4528
 
4478
- /***/ "./node_modules/uuid/dist/esm-browser/md5.js":
4479
- /*!***************************************************!*\
4480
- !*** ./node_modules/uuid/dist/esm-browser/md5.js ***!
4481
- \***************************************************/
4482
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4529
+ /***/ "./node_modules/uuid/dist/commonjs-browser/md5.js":
4530
+ /*!********************************************************!*\
4531
+ !*** ./node_modules/uuid/dist/commonjs-browser/md5.js ***!
4532
+ \********************************************************/
4533
+ /***/ ((__unused_webpack_module, exports) => {
4483
4534
 
4484
4535
  "use strict";
4485
- __webpack_require__.r(__webpack_exports__);
4486
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4487
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4488
- /* harmony export */ });
4536
+
4537
+
4538
+ Object.defineProperty(exports, "__esModule", ({
4539
+ value: true
4540
+ }));
4541
+ exports["default"] = void 0;
4542
+
4489
4543
  /*
4490
4544
  * Browser-compatible JavaScript MD5
4491
4545
  *
@@ -4508,11 +4562,11 @@ __webpack_require__.r(__webpack_exports__);
4508
4562
  */
4509
4563
  function md5(bytes) {
4510
4564
  if (typeof bytes === 'string') {
4511
- var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
4565
+ const msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
4512
4566
 
4513
4567
  bytes = new Uint8Array(msg.length);
4514
4568
 
4515
- for (var i = 0; i < msg.length; ++i) {
4569
+ for (let i = 0; i < msg.length; ++i) {
4516
4570
  bytes[i] = msg.charCodeAt(i);
4517
4571
  }
4518
4572
  }
@@ -4525,13 +4579,13 @@ function md5(bytes) {
4525
4579
 
4526
4580
 
4527
4581
  function md5ToHexEncodedArray(input) {
4528
- var output = [];
4529
- var length32 = input.length * 32;
4530
- var hexTab = '0123456789abcdef';
4582
+ const output = [];
4583
+ const length32 = input.length * 32;
4584
+ const hexTab = '0123456789abcdef';
4531
4585
 
4532
- for (var i = 0; i < length32; i += 8) {
4533
- var x = input[i >> 5] >>> i % 32 & 0xff;
4534
- var hex = parseInt(hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f), 16);
4586
+ for (let i = 0; i < length32; i += 8) {
4587
+ const x = input[i >> 5] >>> i % 32 & 0xff;
4588
+ const hex = parseInt(hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f), 16);
4535
4589
  output.push(hex);
4536
4590
  }
4537
4591
 
@@ -4554,16 +4608,16 @@ function wordsToMd5(x, len) {
4554
4608
  /* append padding */
4555
4609
  x[len >> 5] |= 0x80 << len % 32;
4556
4610
  x[getOutputLength(len) - 1] = len;
4557
- var a = 1732584193;
4558
- var b = -271733879;
4559
- var c = -1732584194;
4560
- var d = 271733878;
4561
-
4562
- for (var i = 0; i < x.length; i += 16) {
4563
- var olda = a;
4564
- var oldb = b;
4565
- var oldc = c;
4566
- var oldd = d;
4611
+ let a = 1732584193;
4612
+ let b = -271733879;
4613
+ let c = -1732584194;
4614
+ let d = 271733878;
4615
+
4616
+ for (let i = 0; i < x.length; i += 16) {
4617
+ const olda = a;
4618
+ const oldb = b;
4619
+ const oldc = c;
4620
+ const oldd = d;
4567
4621
  a = md5ff(a, b, c, d, x[i], 7, -680876936);
4568
4622
  d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);
4569
4623
  c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);
@@ -4647,10 +4701,10 @@ function bytesToWords(input) {
4647
4701
  return [];
4648
4702
  }
4649
4703
 
4650
- var length8 = input.length * 8;
4651
- var output = new Uint32Array(getOutputLength(length8));
4704
+ const length8 = input.length * 8;
4705
+ const output = new Uint32Array(getOutputLength(length8));
4652
4706
 
4653
- for (var i = 0; i < length8; i += 8) {
4707
+ for (let i = 0; i < length8; i += 8) {
4654
4708
  output[i >> 5] |= (input[i / 8] & 0xff) << i % 32;
4655
4709
  }
4656
4710
 
@@ -4663,8 +4717,8 @@ function bytesToWords(input) {
4663
4717
 
4664
4718
 
4665
4719
  function safeAdd(x, y) {
4666
- var lsw = (x & 0xffff) + (y & 0xffff);
4667
- var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
4720
+ const lsw = (x & 0xffff) + (y & 0xffff);
4721
+ const msw = (x >> 16) + (y >> 16) + (lsw >> 16);
4668
4722
  return msw << 16 | lsw & 0xffff;
4669
4723
  }
4670
4724
  /*
@@ -4700,46 +4754,75 @@ function md5ii(a, b, c, d, x, s, t) {
4700
4754
  return md5cmn(c ^ (b | ~d), a, b, x, s, t);
4701
4755
  }
4702
4756
 
4703
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (md5);
4757
+ var _default = md5;
4758
+ exports["default"] = _default;
4704
4759
 
4705
4760
  /***/ }),
4706
4761
 
4707
- /***/ "./node_modules/uuid/dist/esm-browser/nil.js":
4708
- /*!***************************************************!*\
4709
- !*** ./node_modules/uuid/dist/esm-browser/nil.js ***!
4710
- \***************************************************/
4711
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4762
+ /***/ "./node_modules/uuid/dist/commonjs-browser/native.js":
4763
+ /*!***********************************************************!*\
4764
+ !*** ./node_modules/uuid/dist/commonjs-browser/native.js ***!
4765
+ \***********************************************************/
4766
+ /***/ ((__unused_webpack_module, exports) => {
4712
4767
 
4713
4768
  "use strict";
4714
- __webpack_require__.r(__webpack_exports__);
4715
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4716
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4717
- /* harmony export */ });
4718
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ('00000000-0000-0000-0000-000000000000');
4769
+
4770
+
4771
+ Object.defineProperty(exports, "__esModule", ({
4772
+ value: true
4773
+ }));
4774
+ exports["default"] = void 0;
4775
+ const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
4776
+ var _default = {
4777
+ randomUUID
4778
+ };
4779
+ exports["default"] = _default;
4719
4780
 
4720
4781
  /***/ }),
4721
4782
 
4722
- /***/ "./node_modules/uuid/dist/esm-browser/parse.js":
4723
- /*!*****************************************************!*\
4724
- !*** ./node_modules/uuid/dist/esm-browser/parse.js ***!
4725
- \*****************************************************/
4726
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4783
+ /***/ "./node_modules/uuid/dist/commonjs-browser/nil.js":
4784
+ /*!********************************************************!*\
4785
+ !*** ./node_modules/uuid/dist/commonjs-browser/nil.js ***!
4786
+ \********************************************************/
4787
+ /***/ ((__unused_webpack_module, exports) => {
4788
+
4789
+ "use strict";
4790
+
4791
+
4792
+ Object.defineProperty(exports, "__esModule", ({
4793
+ value: true
4794
+ }));
4795
+ exports["default"] = void 0;
4796
+ var _default = '00000000-0000-0000-0000-000000000000';
4797
+ exports["default"] = _default;
4798
+
4799
+ /***/ }),
4800
+
4801
+ /***/ "./node_modules/uuid/dist/commonjs-browser/parse.js":
4802
+ /*!**********************************************************!*\
4803
+ !*** ./node_modules/uuid/dist/commonjs-browser/parse.js ***!
4804
+ \**********************************************************/
4805
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4727
4806
 
4728
4807
  "use strict";
4729
- __webpack_require__.r(__webpack_exports__);
4730
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4731
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4732
- /* harmony export */ });
4733
- /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/esm-browser/validate.js");
4734
4808
 
4735
4809
 
4810
+ Object.defineProperty(exports, "__esModule", ({
4811
+ value: true
4812
+ }));
4813
+ exports["default"] = void 0;
4814
+
4815
+ var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
4816
+
4817
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4818
+
4736
4819
  function parse(uuid) {
4737
- if (!(0,_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
4820
+ if (!(0, _validate.default)(uuid)) {
4738
4821
  throw TypeError('Invalid UUID');
4739
4822
  }
4740
4823
 
4741
- var v;
4742
- var arr = new Uint8Array(16); // Parse ########-....-....-....-............
4824
+ let v;
4825
+ const arr = new Uint8Array(16); // Parse ########-....-....-....-............
4743
4826
 
4744
4827
  arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
4745
4828
  arr[1] = v >>> 16 & 0xff;
@@ -4765,47 +4848,53 @@ function parse(uuid) {
4765
4848
  return arr;
4766
4849
  }
4767
4850
 
4768
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parse);
4851
+ var _default = parse;
4852
+ exports["default"] = _default;
4769
4853
 
4770
4854
  /***/ }),
4771
4855
 
4772
- /***/ "./node_modules/uuid/dist/esm-browser/regex.js":
4773
- /*!*****************************************************!*\
4774
- !*** ./node_modules/uuid/dist/esm-browser/regex.js ***!
4775
- \*****************************************************/
4776
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4856
+ /***/ "./node_modules/uuid/dist/commonjs-browser/regex.js":
4857
+ /*!**********************************************************!*\
4858
+ !*** ./node_modules/uuid/dist/commonjs-browser/regex.js ***!
4859
+ \**********************************************************/
4860
+ /***/ ((__unused_webpack_module, exports) => {
4777
4861
 
4778
4862
  "use strict";
4779
- __webpack_require__.r(__webpack_exports__);
4780
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4781
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4782
- /* harmony export */ });
4783
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/^(?:[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);
4863
+
4864
+
4865
+ Object.defineProperty(exports, "__esModule", ({
4866
+ value: true
4867
+ }));
4868
+ exports["default"] = void 0;
4869
+ var _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;
4870
+ exports["default"] = _default;
4784
4871
 
4785
4872
  /***/ }),
4786
4873
 
4787
- /***/ "./node_modules/uuid/dist/esm-browser/rng.js":
4788
- /*!***************************************************!*\
4789
- !*** ./node_modules/uuid/dist/esm-browser/rng.js ***!
4790
- \***************************************************/
4791
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4874
+ /***/ "./node_modules/uuid/dist/commonjs-browser/rng.js":
4875
+ /*!********************************************************!*\
4876
+ !*** ./node_modules/uuid/dist/commonjs-browser/rng.js ***!
4877
+ \********************************************************/
4878
+ /***/ ((__unused_webpack_module, exports) => {
4792
4879
 
4793
4880
  "use strict";
4794
- __webpack_require__.r(__webpack_exports__);
4795
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4796
- /* harmony export */ "default": () => (/* binding */ rng)
4797
- /* harmony export */ });
4881
+
4882
+
4883
+ Object.defineProperty(exports, "__esModule", ({
4884
+ value: true
4885
+ }));
4886
+ exports["default"] = rng;
4798
4887
  // Unique ID creation requires a high quality random # generator. In the browser we therefore
4799
4888
  // require the crypto API and do not support built-in fallback to lower quality random number
4800
4889
  // generators (like Math.random()).
4801
- var getRandomValues;
4802
- var rnds8 = new Uint8Array(16);
4890
+ let getRandomValues;
4891
+ const rnds8 = new Uint8Array(16);
4892
+
4803
4893
  function rng() {
4804
4894
  // lazy load so that environments that need to polyfill have a chance to do so
4805
4895
  if (!getRandomValues) {
4806
- // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
4807
- // find the complete implementation of crypto (msCrypto) on IE11.
4808
- getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
4896
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
4897
+ getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
4809
4898
 
4810
4899
  if (!getRandomValues) {
4811
4900
  throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
@@ -4817,17 +4906,20 @@ function rng() {
4817
4906
 
4818
4907
  /***/ }),
4819
4908
 
4820
- /***/ "./node_modules/uuid/dist/esm-browser/sha1.js":
4821
- /*!****************************************************!*\
4822
- !*** ./node_modules/uuid/dist/esm-browser/sha1.js ***!
4823
- \****************************************************/
4824
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4909
+ /***/ "./node_modules/uuid/dist/commonjs-browser/sha1.js":
4910
+ /*!*********************************************************!*\
4911
+ !*** ./node_modules/uuid/dist/commonjs-browser/sha1.js ***!
4912
+ \*********************************************************/
4913
+ /***/ ((__unused_webpack_module, exports) => {
4825
4914
 
4826
4915
  "use strict";
4827
- __webpack_require__.r(__webpack_exports__);
4828
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4829
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4830
- /* harmony export */ });
4916
+
4917
+
4918
+ Object.defineProperty(exports, "__esModule", ({
4919
+ value: true
4920
+ }));
4921
+ exports["default"] = void 0;
4922
+
4831
4923
  // Adapted from Chris Veness' SHA1 code at
4832
4924
  // http://www.movable-type.co.uk/scripts/sha1.html
4833
4925
  function f(s, x, y, z) {
@@ -4851,15 +4943,15 @@ function ROTL(x, n) {
4851
4943
  }
4852
4944
 
4853
4945
  function sha1(bytes) {
4854
- var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];
4855
- var H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];
4946
+ const K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];
4947
+ const H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];
4856
4948
 
4857
4949
  if (typeof bytes === 'string') {
4858
- var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
4950
+ const msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
4859
4951
 
4860
4952
  bytes = [];
4861
4953
 
4862
- for (var i = 0; i < msg.length; ++i) {
4954
+ for (let i = 0; i < msg.length; ++i) {
4863
4955
  bytes.push(msg.charCodeAt(i));
4864
4956
  }
4865
4957
  } else if (!Array.isArray(bytes)) {
@@ -4868,44 +4960,44 @@ function sha1(bytes) {
4868
4960
  }
4869
4961
 
4870
4962
  bytes.push(0x80);
4871
- var l = bytes.length / 4 + 2;
4872
- var N = Math.ceil(l / 16);
4873
- var M = new Array(N);
4963
+ const l = bytes.length / 4 + 2;
4964
+ const N = Math.ceil(l / 16);
4965
+ const M = new Array(N);
4874
4966
 
4875
- for (var _i = 0; _i < N; ++_i) {
4876
- var arr = new Uint32Array(16);
4967
+ for (let i = 0; i < N; ++i) {
4968
+ const arr = new Uint32Array(16);
4877
4969
 
4878
- for (var j = 0; j < 16; ++j) {
4879
- 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];
4970
+ for (let j = 0; j < 16; ++j) {
4971
+ 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];
4880
4972
  }
4881
4973
 
4882
- M[_i] = arr;
4974
+ M[i] = arr;
4883
4975
  }
4884
4976
 
4885
4977
  M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);
4886
4978
  M[N - 1][14] = Math.floor(M[N - 1][14]);
4887
4979
  M[N - 1][15] = (bytes.length - 1) * 8 & 0xffffffff;
4888
4980
 
4889
- for (var _i2 = 0; _i2 < N; ++_i2) {
4890
- var W = new Uint32Array(80);
4981
+ for (let i = 0; i < N; ++i) {
4982
+ const W = new Uint32Array(80);
4891
4983
 
4892
- for (var t = 0; t < 16; ++t) {
4893
- W[t] = M[_i2][t];
4984
+ for (let t = 0; t < 16; ++t) {
4985
+ W[t] = M[i][t];
4894
4986
  }
4895
4987
 
4896
- for (var _t = 16; _t < 80; ++_t) {
4897
- W[_t] = ROTL(W[_t - 3] ^ W[_t - 8] ^ W[_t - 14] ^ W[_t - 16], 1);
4988
+ for (let t = 16; t < 80; ++t) {
4989
+ W[t] = ROTL(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1);
4898
4990
  }
4899
4991
 
4900
- var a = H[0];
4901
- var b = H[1];
4902
- var c = H[2];
4903
- var d = H[3];
4904
- var e = H[4];
4992
+ let a = H[0];
4993
+ let b = H[1];
4994
+ let c = H[2];
4995
+ let d = H[3];
4996
+ let e = H[4];
4905
4997
 
4906
- for (var _t2 = 0; _t2 < 80; ++_t2) {
4907
- var s = Math.floor(_t2 / 20);
4908
- var T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[_t2] >>> 0;
4998
+ for (let t = 0; t < 80; ++t) {
4999
+ const s = Math.floor(t / 20);
5000
+ const T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[t] >>> 0;
4909
5001
  e = d;
4910
5002
  d = c;
4911
5003
  c = ROTL(b, 30) >>> 0;
@@ -4923,93 +5015,108 @@ function sha1(bytes) {
4923
5015
  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];
4924
5016
  }
4925
5017
 
4926
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (sha1);
5018
+ var _default = sha1;
5019
+ exports["default"] = _default;
4927
5020
 
4928
5021
  /***/ }),
4929
5022
 
4930
- /***/ "./node_modules/uuid/dist/esm-browser/stringify.js":
4931
- /*!*********************************************************!*\
4932
- !*** ./node_modules/uuid/dist/esm-browser/stringify.js ***!
4933
- \*********************************************************/
4934
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5023
+ /***/ "./node_modules/uuid/dist/commonjs-browser/stringify.js":
5024
+ /*!**************************************************************!*\
5025
+ !*** ./node_modules/uuid/dist/commonjs-browser/stringify.js ***!
5026
+ \**************************************************************/
5027
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4935
5028
 
4936
5029
  "use strict";
4937
- __webpack_require__.r(__webpack_exports__);
4938
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4939
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4940
- /* harmony export */ });
4941
- /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/esm-browser/validate.js");
5030
+
5031
+
5032
+ Object.defineProperty(exports, "__esModule", ({
5033
+ value: true
5034
+ }));
5035
+ exports["default"] = void 0;
5036
+ exports.unsafeStringify = unsafeStringify;
5037
+
5038
+ var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
5039
+
5040
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4942
5041
 
4943
5042
  /**
4944
5043
  * Convert array of 16 byte values to UUID string format of the form:
4945
5044
  * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
4946
5045
  */
5046
+ const byteToHex = [];
4947
5047
 
4948
- var byteToHex = [];
4949
-
4950
- for (var i = 0; i < 256; ++i) {
4951
- byteToHex.push((i + 0x100).toString(16).substr(1));
5048
+ for (let i = 0; i < 256; ++i) {
5049
+ byteToHex.push((i + 0x100).toString(16).slice(1));
4952
5050
  }
4953
5051
 
4954
- function stringify(arr) {
4955
- var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
5052
+ function unsafeStringify(arr, offset = 0) {
4956
5053
  // Note: Be careful editing this code! It's been tuned for performance
4957
5054
  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
4958
- 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
5055
+ return (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();
5056
+ }
5057
+
5058
+ function stringify(arr, offset = 0) {
5059
+ const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
4959
5060
  // of the following:
4960
5061
  // - One or more input array values don't map to a hex octet (leading to
4961
5062
  // "undefined" in the uuid)
4962
5063
  // - Invalid input values for the RFC `version` or `variant` fields
4963
5064
 
4964
- if (!(0,_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
5065
+ if (!(0, _validate.default)(uuid)) {
4965
5066
  throw TypeError('Stringified UUID is invalid');
4966
5067
  }
4967
5068
 
4968
5069
  return uuid;
4969
5070
  }
4970
5071
 
4971
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stringify);
5072
+ var _default = stringify;
5073
+ exports["default"] = _default;
4972
5074
 
4973
5075
  /***/ }),
4974
5076
 
4975
- /***/ "./node_modules/uuid/dist/esm-browser/v1.js":
4976
- /*!**************************************************!*\
4977
- !*** ./node_modules/uuid/dist/esm-browser/v1.js ***!
4978
- \**************************************************/
4979
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5077
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v1.js":
5078
+ /*!*******************************************************!*\
5079
+ !*** ./node_modules/uuid/dist/commonjs-browser/v1.js ***!
5080
+ \*******************************************************/
5081
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4980
5082
 
4981
5083
  "use strict";
4982
- __webpack_require__.r(__webpack_exports__);
4983
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4984
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4985
- /* harmony export */ });
4986
- /* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rng.js */ "./node_modules/uuid/dist/esm-browser/rng.js");
4987
- /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/esm-browser/stringify.js");
4988
-
4989
- // **`v1()` - Generate time-based UUID**
5084
+
5085
+
5086
+ Object.defineProperty(exports, "__esModule", ({
5087
+ value: true
5088
+ }));
5089
+ exports["default"] = void 0;
5090
+
5091
+ var _rng = _interopRequireDefault(__webpack_require__(/*! ./rng.js */ "./node_modules/uuid/dist/commonjs-browser/rng.js"));
5092
+
5093
+ var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
5094
+
5095
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5096
+
5097
+ // **`v1()` - Generate time-based UUID**
4990
5098
  //
4991
5099
  // Inspired by https://github.com/LiosK/UUID.js
4992
5100
  // and http://docs.python.org/library/uuid.html
5101
+ let _nodeId;
4993
5102
 
4994
- var _nodeId;
5103
+ let _clockseq; // Previous uuid creation time
4995
5104
 
4996
- var _clockseq; // Previous uuid creation time
4997
5105
 
4998
-
4999
- var _lastMSecs = 0;
5000
- var _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details
5106
+ let _lastMSecs = 0;
5107
+ let _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details
5001
5108
 
5002
5109
  function v1(options, buf, offset) {
5003
- var i = buf && offset || 0;
5004
- var b = buf || new Array(16);
5110
+ let i = buf && offset || 0;
5111
+ const b = buf || new Array(16);
5005
5112
  options = options || {};
5006
- var node = options.node || _nodeId;
5007
- var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not
5113
+ let node = options.node || _nodeId;
5114
+ let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not
5008
5115
  // specified. We do this lazily to minimize issues related to insufficient
5009
5116
  // system entropy. See #189
5010
5117
 
5011
5118
  if (node == null || clockseq == null) {
5012
- var seedBytes = options.random || (options.rng || _rng_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
5119
+ const seedBytes = options.random || (options.rng || _rng.default)();
5013
5120
 
5014
5121
  if (node == null) {
5015
5122
  // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
@@ -5026,12 +5133,12 @@ function v1(options, buf, offset) {
5026
5133
  // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
5027
5134
 
5028
5135
 
5029
- var msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock
5136
+ let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock
5030
5137
  // cycle to simulate higher resolution clock
5031
5138
 
5032
- var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)
5139
+ let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)
5033
5140
 
5034
- var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression
5141
+ const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression
5035
5142
 
5036
5143
  if (dt < 0 && options.clockseq === undefined) {
5037
5144
  clockseq = clockseq + 1 & 0x3fff;
@@ -5054,13 +5161,13 @@ function v1(options, buf, offset) {
5054
5161
 
5055
5162
  msecs += 12219292800000; // `time_low`
5056
5163
 
5057
- var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
5164
+ const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
5058
5165
  b[i++] = tl >>> 24 & 0xff;
5059
5166
  b[i++] = tl >>> 16 & 0xff;
5060
5167
  b[i++] = tl >>> 8 & 0xff;
5061
5168
  b[i++] = tl & 0xff; // `time_mid`
5062
5169
 
5063
- var tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
5170
+ const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
5064
5171
  b[i++] = tmh >>> 8 & 0xff;
5065
5172
  b[i++] = tmh & 0xff; // `time_high_and_version`
5066
5173
 
@@ -5072,87 +5179,102 @@ function v1(options, buf, offset) {
5072
5179
 
5073
5180
  b[i++] = clockseq & 0xff; // `node`
5074
5181
 
5075
- for (var n = 0; n < 6; ++n) {
5182
+ for (let n = 0; n < 6; ++n) {
5076
5183
  b[i + n] = node[n];
5077
5184
  }
5078
5185
 
5079
- return buf || (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__["default"])(b);
5186
+ return buf || (0, _stringify.unsafeStringify)(b);
5080
5187
  }
5081
5188
 
5082
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (v1);
5189
+ var _default = v1;
5190
+ exports["default"] = _default;
5083
5191
 
5084
5192
  /***/ }),
5085
5193
 
5086
- /***/ "./node_modules/uuid/dist/esm-browser/v3.js":
5087
- /*!**************************************************!*\
5088
- !*** ./node_modules/uuid/dist/esm-browser/v3.js ***!
5089
- \**************************************************/
5090
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5194
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v3.js":
5195
+ /*!*******************************************************!*\
5196
+ !*** ./node_modules/uuid/dist/commonjs-browser/v3.js ***!
5197
+ \*******************************************************/
5198
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5091
5199
 
5092
5200
  "use strict";
5093
- __webpack_require__.r(__webpack_exports__);
5094
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5095
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
5096
- /* harmony export */ });
5097
- /* harmony import */ var _v35_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v35.js */ "./node_modules/uuid/dist/esm-browser/v35.js");
5098
- /* harmony import */ var _md5_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./md5.js */ "./node_modules/uuid/dist/esm-browser/md5.js");
5099
5201
 
5100
5202
 
5101
- var v3 = (0,_v35_js__WEBPACK_IMPORTED_MODULE_0__["default"])('v3', 0x30, _md5_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
5102
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (v3);
5203
+ Object.defineProperty(exports, "__esModule", ({
5204
+ value: true
5205
+ }));
5206
+ exports["default"] = void 0;
5207
+
5208
+ var _v = _interopRequireDefault(__webpack_require__(/*! ./v35.js */ "./node_modules/uuid/dist/commonjs-browser/v35.js"));
5209
+
5210
+ var _md = _interopRequireDefault(__webpack_require__(/*! ./md5.js */ "./node_modules/uuid/dist/commonjs-browser/md5.js"));
5211
+
5212
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5213
+
5214
+ const v3 = (0, _v.default)('v3', 0x30, _md.default);
5215
+ var _default = v3;
5216
+ exports["default"] = _default;
5103
5217
 
5104
5218
  /***/ }),
5105
5219
 
5106
- /***/ "./node_modules/uuid/dist/esm-browser/v35.js":
5107
- /*!***************************************************!*\
5108
- !*** ./node_modules/uuid/dist/esm-browser/v35.js ***!
5109
- \***************************************************/
5110
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5220
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v35.js":
5221
+ /*!********************************************************!*\
5222
+ !*** ./node_modules/uuid/dist/commonjs-browser/v35.js ***!
5223
+ \********************************************************/
5224
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5111
5225
 
5112
5226
  "use strict";
5113
- __webpack_require__.r(__webpack_exports__);
5114
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5115
- /* harmony export */ "DNS": () => (/* binding */ DNS),
5116
- /* harmony export */ "URL": () => (/* binding */ URL),
5117
- /* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)
5118
- /* harmony export */ });
5119
- /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/esm-browser/stringify.js");
5120
- /* harmony import */ var _parse_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/esm-browser/parse.js");
5121
5227
 
5122
5228
 
5229
+ Object.defineProperty(exports, "__esModule", ({
5230
+ value: true
5231
+ }));
5232
+ exports.URL = exports.DNS = void 0;
5233
+ exports["default"] = v35;
5234
+
5235
+ var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
5236
+
5237
+ var _parse = _interopRequireDefault(__webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/commonjs-browser/parse.js"));
5238
+
5239
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5123
5240
 
5124
5241
  function stringToBytes(str) {
5125
5242
  str = unescape(encodeURIComponent(str)); // UTF8 escape
5126
5243
 
5127
- var bytes = [];
5244
+ const bytes = [];
5128
5245
 
5129
- for (var i = 0; i < str.length; ++i) {
5246
+ for (let i = 0; i < str.length; ++i) {
5130
5247
  bytes.push(str.charCodeAt(i));
5131
5248
  }
5132
5249
 
5133
5250
  return bytes;
5134
5251
  }
5135
5252
 
5136
- var DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
5137
- var URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
5138
- /* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, version, hashfunc) {
5253
+ const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
5254
+ exports.DNS = DNS;
5255
+ const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
5256
+ exports.URL = URL;
5257
+
5258
+ function v35(name, version, hashfunc) {
5139
5259
  function generateUUID(value, namespace, buf, offset) {
5260
+ var _namespace;
5261
+
5140
5262
  if (typeof value === 'string') {
5141
5263
  value = stringToBytes(value);
5142
5264
  }
5143
5265
 
5144
5266
  if (typeof namespace === 'string') {
5145
- namespace = (0,_parse_js__WEBPACK_IMPORTED_MODULE_0__["default"])(namespace);
5267
+ namespace = (0, _parse.default)(namespace);
5146
5268
  }
5147
5269
 
5148
- if (namespace.length !== 16) {
5270
+ if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
5149
5271
  throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
5150
5272
  } // Compute hash of namespace and value, Per 4.3
5151
5273
  // Future: Use spread syntax when supported on all platforms, e.g. `bytes =
5152
5274
  // hashfunc([...namespace, ... value])`
5153
5275
 
5154
5276
 
5155
- var bytes = new Uint8Array(16 + value.length);
5277
+ let bytes = new Uint8Array(16 + value.length);
5156
5278
  bytes.set(namespace);
5157
5279
  bytes.set(value, namespace.length);
5158
5280
  bytes = hashfunc(bytes);
@@ -5162,14 +5284,14 @@ var URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
5162
5284
  if (buf) {
5163
5285
  offset = offset || 0;
5164
5286
 
5165
- for (var i = 0; i < 16; ++i) {
5287
+ for (let i = 0; i < 16; ++i) {
5166
5288
  buf[offset + i] = bytes[i];
5167
5289
  }
5168
5290
 
5169
5291
  return buf;
5170
5292
  }
5171
5293
 
5172
- return (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__["default"])(bytes);
5294
+ return (0, _stringify.unsafeStringify)(bytes);
5173
5295
  } // Function#name is not settable on some platforms (#270)
5174
5296
 
5175
5297
 
@@ -5185,25 +5307,37 @@ var URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
5185
5307
 
5186
5308
  /***/ }),
5187
5309
 
5188
- /***/ "./node_modules/uuid/dist/esm-browser/v4.js":
5189
- /*!**************************************************!*\
5190
- !*** ./node_modules/uuid/dist/esm-browser/v4.js ***!
5191
- \**************************************************/
5192
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5310
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v4.js":
5311
+ /*!*******************************************************!*\
5312
+ !*** ./node_modules/uuid/dist/commonjs-browser/v4.js ***!
5313
+ \*******************************************************/
5314
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5193
5315
 
5194
5316
  "use strict";
5195
- __webpack_require__.r(__webpack_exports__);
5196
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5197
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
5198
- /* harmony export */ });
5199
- /* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rng.js */ "./node_modules/uuid/dist/esm-browser/rng.js");
5200
- /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/esm-browser/stringify.js");
5201
5317
 
5202
5318
 
5319
+ Object.defineProperty(exports, "__esModule", ({
5320
+ value: true
5321
+ }));
5322
+ exports["default"] = void 0;
5323
+
5324
+ var _native = _interopRequireDefault(__webpack_require__(/*! ./native.js */ "./node_modules/uuid/dist/commonjs-browser/native.js"));
5325
+
5326
+ var _rng = _interopRequireDefault(__webpack_require__(/*! ./rng.js */ "./node_modules/uuid/dist/commonjs-browser/rng.js"));
5327
+
5328
+ var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
5329
+
5330
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5203
5331
 
5204
5332
  function v4(options, buf, offset) {
5333
+ if (_native.default.randomUUID && !buf && !options) {
5334
+ return _native.default.randomUUID();
5335
+ }
5336
+
5205
5337
  options = options || {};
5206
- 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`
5338
+
5339
+ const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
5340
+
5207
5341
 
5208
5342
  rnds[6] = rnds[6] & 0x0f | 0x40;
5209
5343
  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
@@ -5211,85 +5345,102 @@ function v4(options, buf, offset) {
5211
5345
  if (buf) {
5212
5346
  offset = offset || 0;
5213
5347
 
5214
- for (var i = 0; i < 16; ++i) {
5348
+ for (let i = 0; i < 16; ++i) {
5215
5349
  buf[offset + i] = rnds[i];
5216
5350
  }
5217
5351
 
5218
5352
  return buf;
5219
5353
  }
5220
5354
 
5221
- return (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__["default"])(rnds);
5355
+ return (0, _stringify.unsafeStringify)(rnds);
5222
5356
  }
5223
5357
 
5224
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (v4);
5358
+ var _default = v4;
5359
+ exports["default"] = _default;
5225
5360
 
5226
5361
  /***/ }),
5227
5362
 
5228
- /***/ "./node_modules/uuid/dist/esm-browser/v5.js":
5229
- /*!**************************************************!*\
5230
- !*** ./node_modules/uuid/dist/esm-browser/v5.js ***!
5231
- \**************************************************/
5232
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5363
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v5.js":
5364
+ /*!*******************************************************!*\
5365
+ !*** ./node_modules/uuid/dist/commonjs-browser/v5.js ***!
5366
+ \*******************************************************/
5367
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5233
5368
 
5234
5369
  "use strict";
5235
- __webpack_require__.r(__webpack_exports__);
5236
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5237
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
5238
- /* harmony export */ });
5239
- /* harmony import */ var _v35_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v35.js */ "./node_modules/uuid/dist/esm-browser/v35.js");
5240
- /* harmony import */ var _sha1_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sha1.js */ "./node_modules/uuid/dist/esm-browser/sha1.js");
5241
5370
 
5242
5371
 
5243
- var v5 = (0,_v35_js__WEBPACK_IMPORTED_MODULE_0__["default"])('v5', 0x50, _sha1_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
5244
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (v5);
5372
+ Object.defineProperty(exports, "__esModule", ({
5373
+ value: true
5374
+ }));
5375
+ exports["default"] = void 0;
5376
+
5377
+ var _v = _interopRequireDefault(__webpack_require__(/*! ./v35.js */ "./node_modules/uuid/dist/commonjs-browser/v35.js"));
5378
+
5379
+ var _sha = _interopRequireDefault(__webpack_require__(/*! ./sha1.js */ "./node_modules/uuid/dist/commonjs-browser/sha1.js"));
5380
+
5381
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5382
+
5383
+ const v5 = (0, _v.default)('v5', 0x50, _sha.default);
5384
+ var _default = v5;
5385
+ exports["default"] = _default;
5245
5386
 
5246
5387
  /***/ }),
5247
5388
 
5248
- /***/ "./node_modules/uuid/dist/esm-browser/validate.js":
5249
- /*!********************************************************!*\
5250
- !*** ./node_modules/uuid/dist/esm-browser/validate.js ***!
5251
- \********************************************************/
5252
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5389
+ /***/ "./node_modules/uuid/dist/commonjs-browser/validate.js":
5390
+ /*!*************************************************************!*\
5391
+ !*** ./node_modules/uuid/dist/commonjs-browser/validate.js ***!
5392
+ \*************************************************************/
5393
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5253
5394
 
5254
5395
  "use strict";
5255
- __webpack_require__.r(__webpack_exports__);
5256
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5257
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
5258
- /* harmony export */ });
5259
- /* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./regex.js */ "./node_modules/uuid/dist/esm-browser/regex.js");
5260
5396
 
5261
5397
 
5398
+ Object.defineProperty(exports, "__esModule", ({
5399
+ value: true
5400
+ }));
5401
+ exports["default"] = void 0;
5402
+
5403
+ var _regex = _interopRequireDefault(__webpack_require__(/*! ./regex.js */ "./node_modules/uuid/dist/commonjs-browser/regex.js"));
5404
+
5405
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5406
+
5262
5407
  function validate(uuid) {
5263
- return typeof uuid === 'string' && _regex_js__WEBPACK_IMPORTED_MODULE_0__["default"].test(uuid);
5408
+ return typeof uuid === 'string' && _regex.default.test(uuid);
5264
5409
  }
5265
5410
 
5266
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (validate);
5411
+ var _default = validate;
5412
+ exports["default"] = _default;
5267
5413
 
5268
5414
  /***/ }),
5269
5415
 
5270
- /***/ "./node_modules/uuid/dist/esm-browser/version.js":
5271
- /*!*******************************************************!*\
5272
- !*** ./node_modules/uuid/dist/esm-browser/version.js ***!
5273
- \*******************************************************/
5274
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5416
+ /***/ "./node_modules/uuid/dist/commonjs-browser/version.js":
5417
+ /*!************************************************************!*\
5418
+ !*** ./node_modules/uuid/dist/commonjs-browser/version.js ***!
5419
+ \************************************************************/
5420
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5275
5421
 
5276
5422
  "use strict";
5277
- __webpack_require__.r(__webpack_exports__);
5278
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5279
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
5280
- /* harmony export */ });
5281
- /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/esm-browser/validate.js");
5282
5423
 
5283
5424
 
5425
+ Object.defineProperty(exports, "__esModule", ({
5426
+ value: true
5427
+ }));
5428
+ exports["default"] = void 0;
5429
+
5430
+ var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
5431
+
5432
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5433
+
5284
5434
  function version(uuid) {
5285
- if (!(0,_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
5435
+ if (!(0, _validate.default)(uuid)) {
5286
5436
  throw TypeError('Invalid UUID');
5287
5437
  }
5288
5438
 
5289
- return parseInt(uuid.substr(14, 1), 16);
5439
+ return parseInt(uuid.slice(14, 15), 16);
5290
5440
  }
5291
5441
 
5292
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (version);
5442
+ var _default = version;
5443
+ exports["default"] = _default;
5293
5444
 
5294
5445
  /***/ }),
5295
5446
 
@@ -5352,35 +5503,6 @@ module.exports = TSServal;
5352
5503
  /******/ }
5353
5504
  /******/
5354
5505
  /************************************************************************/
5355
- /******/ /* webpack/runtime/define property getters */
5356
- /******/ (() => {
5357
- /******/ // define getter functions for harmony exports
5358
- /******/ __webpack_require__.d = (exports, definition) => {
5359
- /******/ for(var key in definition) {
5360
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
5361
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
5362
- /******/ }
5363
- /******/ }
5364
- /******/ };
5365
- /******/ })();
5366
- /******/
5367
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
5368
- /******/ (() => {
5369
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
5370
- /******/ })();
5371
- /******/
5372
- /******/ /* webpack/runtime/make namespace object */
5373
- /******/ (() => {
5374
- /******/ // define __esModule on exports
5375
- /******/ __webpack_require__.r = (exports) => {
5376
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
5377
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5378
- /******/ }
5379
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
5380
- /******/ };
5381
- /******/ })();
5382
- /******/
5383
- /************************************************************************/
5384
5506
  /******/
5385
5507
  /******/ // startup
5386
5508
  /******/ // Load entry module and return exports