@liquidcommercedev/rmn-sdk 1.5.0-beta.22 → 1.5.0-beta.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +376 -242
- package/dist/index.esm.js +376 -242
- package/dist/types/common/http/api.constant.d.ts +1 -1
- package/dist/types/common/http/api.interface.d.ts +1 -1
- package/dist/types/common/http/base.api.d.ts +1 -1
- package/dist/types/modules/monitor/monitor.enums.d.ts +1 -0
- package/dist/types/modules/selection/selection.type.d.ts +5 -9
- package/dist/types/rmn-client.d.ts +1 -0
- package/package.json +30 -30
- package/umd/liquidcommerce-rmn-sdk.min.js +1 -1
package/dist/index.cjs
CHANGED
@@ -6509,7 +6509,7 @@ function getRedirectUrlFromPayload(url) {
|
|
6509
6509
|
return (eventData === null || eventData === void 0 ? void 0 : eventData.ur) || null;
|
6510
6510
|
}
|
6511
6511
|
catch (_a) {
|
6512
|
-
console.warn('
|
6512
|
+
console.warn('LiquidCommerce Rmn Sdk: Failed to extract redirect URL from payload.');
|
6513
6513
|
return null;
|
6514
6514
|
}
|
6515
6515
|
}
|
@@ -6749,13 +6749,13 @@ function getAugmentedNamespace(n) {
|
|
6749
6749
|
return a;
|
6750
6750
|
}
|
6751
6751
|
|
6752
|
-
var cryptoJs = {exports: {}};
|
6752
|
+
var cryptoJs$1 = {exports: {}};
|
6753
6753
|
|
6754
6754
|
function commonjsRequire(path) {
|
6755
6755
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
6756
6756
|
}
|
6757
6757
|
|
6758
|
-
var core = {exports: {}};
|
6758
|
+
var core$1 = {exports: {}};
|
6759
6759
|
|
6760
6760
|
var _polyfillNode_crypto = {};
|
6761
6761
|
|
@@ -6766,10 +6766,12 @@ var _polyfillNode_crypto$1 = /*#__PURE__*/Object.freeze({
|
|
6766
6766
|
|
6767
6767
|
var require$$0 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_crypto$1);
|
6768
6768
|
|
6769
|
+
var core = core$1.exports;
|
6770
|
+
|
6769
6771
|
var hasRequiredCore;
|
6770
6772
|
|
6771
6773
|
function requireCore () {
|
6772
|
-
if (hasRequiredCore) return core.exports;
|
6774
|
+
if (hasRequiredCore) return core$1.exports;
|
6773
6775
|
hasRequiredCore = 1;
|
6774
6776
|
(function (module, exports) {
|
6775
6777
|
(function (root, factory) {
|
@@ -6777,7 +6779,7 @@ function requireCore () {
|
|
6777
6779
|
// CommonJS
|
6778
6780
|
module.exports = factory();
|
6779
6781
|
}
|
6780
|
-
}(
|
6782
|
+
}(core, function () {
|
6781
6783
|
|
6782
6784
|
/*globals window, global, require*/
|
6783
6785
|
|
@@ -7571,16 +7573,18 @@ function requireCore () {
|
|
7571
7573
|
return CryptoJS;
|
7572
7574
|
|
7573
7575
|
}));
|
7574
|
-
} (core));
|
7575
|
-
return core.exports;
|
7576
|
+
} (core$1));
|
7577
|
+
return core$1.exports;
|
7576
7578
|
}
|
7577
7579
|
|
7578
|
-
var x64Core = {exports: {}};
|
7580
|
+
var x64Core$1 = {exports: {}};
|
7581
|
+
|
7582
|
+
var x64Core = x64Core$1.exports;
|
7579
7583
|
|
7580
7584
|
var hasRequiredX64Core;
|
7581
7585
|
|
7582
7586
|
function requireX64Core () {
|
7583
|
-
if (hasRequiredX64Core) return x64Core.exports;
|
7587
|
+
if (hasRequiredX64Core) return x64Core$1.exports;
|
7584
7588
|
hasRequiredX64Core = 1;
|
7585
7589
|
(function (module, exports) {
|
7586
7590
|
(function (root, factory) {
|
@@ -7588,7 +7592,7 @@ function requireX64Core () {
|
|
7588
7592
|
// CommonJS
|
7589
7593
|
module.exports = factory(requireCore());
|
7590
7594
|
}
|
7591
|
-
}(
|
7595
|
+
}(x64Core, function (CryptoJS) {
|
7592
7596
|
|
7593
7597
|
(function (undefined$1) {
|
7594
7598
|
// Shortcuts
|
@@ -7879,16 +7883,18 @@ function requireX64Core () {
|
|
7879
7883
|
return CryptoJS;
|
7880
7884
|
|
7881
7885
|
}));
|
7882
|
-
} (x64Core));
|
7883
|
-
return x64Core.exports;
|
7886
|
+
} (x64Core$1));
|
7887
|
+
return x64Core$1.exports;
|
7884
7888
|
}
|
7885
7889
|
|
7886
|
-
var libTypedarrays = {exports: {}};
|
7890
|
+
var libTypedarrays$1 = {exports: {}};
|
7891
|
+
|
7892
|
+
var libTypedarrays = libTypedarrays$1.exports;
|
7887
7893
|
|
7888
7894
|
var hasRequiredLibTypedarrays;
|
7889
7895
|
|
7890
7896
|
function requireLibTypedarrays () {
|
7891
|
-
if (hasRequiredLibTypedarrays) return libTypedarrays.exports;
|
7897
|
+
if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
|
7892
7898
|
hasRequiredLibTypedarrays = 1;
|
7893
7899
|
(function (module, exports) {
|
7894
7900
|
(function (root, factory) {
|
@@ -7896,7 +7902,7 @@ function requireLibTypedarrays () {
|
|
7896
7902
|
// CommonJS
|
7897
7903
|
module.exports = factory(requireCore());
|
7898
7904
|
}
|
7899
|
-
}(
|
7905
|
+
}(libTypedarrays, function (CryptoJS) {
|
7900
7906
|
|
7901
7907
|
(function () {
|
7902
7908
|
// Check if typed arrays are supported
|
@@ -7959,16 +7965,18 @@ function requireLibTypedarrays () {
|
|
7959
7965
|
return CryptoJS.lib.WordArray;
|
7960
7966
|
|
7961
7967
|
}));
|
7962
|
-
} (libTypedarrays));
|
7963
|
-
return libTypedarrays.exports;
|
7968
|
+
} (libTypedarrays$1));
|
7969
|
+
return libTypedarrays$1.exports;
|
7964
7970
|
}
|
7965
7971
|
|
7966
|
-
var encUtf16 = {exports: {}};
|
7972
|
+
var encUtf16$1 = {exports: {}};
|
7973
|
+
|
7974
|
+
var encUtf16 = encUtf16$1.exports;
|
7967
7975
|
|
7968
7976
|
var hasRequiredEncUtf16;
|
7969
7977
|
|
7970
7978
|
function requireEncUtf16 () {
|
7971
|
-
if (hasRequiredEncUtf16) return encUtf16.exports;
|
7979
|
+
if (hasRequiredEncUtf16) return encUtf16$1.exports;
|
7972
7980
|
hasRequiredEncUtf16 = 1;
|
7973
7981
|
(function (module, exports) {
|
7974
7982
|
(function (root, factory) {
|
@@ -7976,7 +7984,7 @@ function requireEncUtf16 () {
|
|
7976
7984
|
// CommonJS
|
7977
7985
|
module.exports = factory(requireCore());
|
7978
7986
|
}
|
7979
|
-
}(
|
7987
|
+
}(encUtf16, function (CryptoJS) {
|
7980
7988
|
|
7981
7989
|
(function () {
|
7982
7990
|
// Shortcuts
|
@@ -8112,16 +8120,18 @@ function requireEncUtf16 () {
|
|
8112
8120
|
return CryptoJS.enc.Utf16;
|
8113
8121
|
|
8114
8122
|
}));
|
8115
|
-
} (encUtf16));
|
8116
|
-
return encUtf16.exports;
|
8123
|
+
} (encUtf16$1));
|
8124
|
+
return encUtf16$1.exports;
|
8117
8125
|
}
|
8118
8126
|
|
8119
|
-
var encBase64 = {exports: {}};
|
8127
|
+
var encBase64$1 = {exports: {}};
|
8128
|
+
|
8129
|
+
var encBase64 = encBase64$1.exports;
|
8120
8130
|
|
8121
8131
|
var hasRequiredEncBase64;
|
8122
8132
|
|
8123
8133
|
function requireEncBase64 () {
|
8124
|
-
if (hasRequiredEncBase64) return encBase64.exports;
|
8134
|
+
if (hasRequiredEncBase64) return encBase64$1.exports;
|
8125
8135
|
hasRequiredEncBase64 = 1;
|
8126
8136
|
(function (module, exports) {
|
8127
8137
|
(function (root, factory) {
|
@@ -8129,7 +8139,7 @@ function requireEncBase64 () {
|
|
8129
8139
|
// CommonJS
|
8130
8140
|
module.exports = factory(requireCore());
|
8131
8141
|
}
|
8132
|
-
}(
|
8142
|
+
}(encBase64, function (CryptoJS) {
|
8133
8143
|
|
8134
8144
|
(function () {
|
8135
8145
|
// Shortcuts
|
@@ -8252,16 +8262,18 @@ function requireEncBase64 () {
|
|
8252
8262
|
return CryptoJS.enc.Base64;
|
8253
8263
|
|
8254
8264
|
}));
|
8255
|
-
} (encBase64));
|
8256
|
-
return encBase64.exports;
|
8265
|
+
} (encBase64$1));
|
8266
|
+
return encBase64$1.exports;
|
8257
8267
|
}
|
8258
8268
|
|
8259
|
-
var encBase64url = {exports: {}};
|
8269
|
+
var encBase64url$1 = {exports: {}};
|
8270
|
+
|
8271
|
+
var encBase64url = encBase64url$1.exports;
|
8260
8272
|
|
8261
8273
|
var hasRequiredEncBase64url;
|
8262
8274
|
|
8263
8275
|
function requireEncBase64url () {
|
8264
|
-
if (hasRequiredEncBase64url) return encBase64url.exports;
|
8276
|
+
if (hasRequiredEncBase64url) return encBase64url$1.exports;
|
8265
8277
|
hasRequiredEncBase64url = 1;
|
8266
8278
|
(function (module, exports) {
|
8267
8279
|
(function (root, factory) {
|
@@ -8269,7 +8281,7 @@ function requireEncBase64url () {
|
|
8269
8281
|
// CommonJS
|
8270
8282
|
module.exports = factory(requireCore());
|
8271
8283
|
}
|
8272
|
-
}(
|
8284
|
+
}(encBase64url, function (CryptoJS) {
|
8273
8285
|
|
8274
8286
|
(function () {
|
8275
8287
|
// Shortcuts
|
@@ -8404,16 +8416,18 @@ function requireEncBase64url () {
|
|
8404
8416
|
return CryptoJS.enc.Base64url;
|
8405
8417
|
|
8406
8418
|
}));
|
8407
|
-
} (encBase64url));
|
8408
|
-
return encBase64url.exports;
|
8419
|
+
} (encBase64url$1));
|
8420
|
+
return encBase64url$1.exports;
|
8409
8421
|
}
|
8410
8422
|
|
8411
|
-
var md5 = {exports: {}};
|
8423
|
+
var md5$1 = {exports: {}};
|
8424
|
+
|
8425
|
+
var md5 = md5$1.exports;
|
8412
8426
|
|
8413
8427
|
var hasRequiredMd5;
|
8414
8428
|
|
8415
8429
|
function requireMd5 () {
|
8416
|
-
if (hasRequiredMd5) return md5.exports;
|
8430
|
+
if (hasRequiredMd5) return md5$1.exports;
|
8417
8431
|
hasRequiredMd5 = 1;
|
8418
8432
|
(function (module, exports) {
|
8419
8433
|
(function (root, factory) {
|
@@ -8421,7 +8435,7 @@ function requireMd5 () {
|
|
8421
8435
|
// CommonJS
|
8422
8436
|
module.exports = factory(requireCore());
|
8423
8437
|
}
|
8424
|
-
}(
|
8438
|
+
}(md5, function (CryptoJS) {
|
8425
8439
|
|
8426
8440
|
(function (Math) {
|
8427
8441
|
// Shortcuts
|
@@ -8676,16 +8690,18 @@ function requireMd5 () {
|
|
8676
8690
|
return CryptoJS.MD5;
|
8677
8691
|
|
8678
8692
|
}));
|
8679
|
-
} (md5));
|
8680
|
-
return md5.exports;
|
8693
|
+
} (md5$1));
|
8694
|
+
return md5$1.exports;
|
8681
8695
|
}
|
8682
8696
|
|
8683
|
-
var sha1 = {exports: {}};
|
8697
|
+
var sha1$1 = {exports: {}};
|
8698
|
+
|
8699
|
+
var sha1 = sha1$1.exports;
|
8684
8700
|
|
8685
8701
|
var hasRequiredSha1;
|
8686
8702
|
|
8687
8703
|
function requireSha1 () {
|
8688
|
-
if (hasRequiredSha1) return sha1.exports;
|
8704
|
+
if (hasRequiredSha1) return sha1$1.exports;
|
8689
8705
|
hasRequiredSha1 = 1;
|
8690
8706
|
(function (module, exports) {
|
8691
8707
|
(function (root, factory) {
|
@@ -8693,7 +8709,7 @@ function requireSha1 () {
|
|
8693
8709
|
// CommonJS
|
8694
8710
|
module.exports = factory(requireCore());
|
8695
8711
|
}
|
8696
|
-
}(
|
8712
|
+
}(sha1, function (CryptoJS) {
|
8697
8713
|
|
8698
8714
|
(function () {
|
8699
8715
|
// Shortcuts
|
@@ -8830,16 +8846,18 @@ function requireSha1 () {
|
|
8830
8846
|
return CryptoJS.SHA1;
|
8831
8847
|
|
8832
8848
|
}));
|
8833
|
-
} (sha1));
|
8834
|
-
return sha1.exports;
|
8849
|
+
} (sha1$1));
|
8850
|
+
return sha1$1.exports;
|
8835
8851
|
}
|
8836
8852
|
|
8837
|
-
var sha256 = {exports: {}};
|
8853
|
+
var sha256$1 = {exports: {}};
|
8854
|
+
|
8855
|
+
var sha256 = sha256$1.exports;
|
8838
8856
|
|
8839
8857
|
var hasRequiredSha256;
|
8840
8858
|
|
8841
8859
|
function requireSha256 () {
|
8842
|
-
if (hasRequiredSha256) return sha256.exports;
|
8860
|
+
if (hasRequiredSha256) return sha256$1.exports;
|
8843
8861
|
hasRequiredSha256 = 1;
|
8844
8862
|
(function (module, exports) {
|
8845
8863
|
(function (root, factory) {
|
@@ -8847,7 +8865,7 @@ function requireSha256 () {
|
|
8847
8865
|
// CommonJS
|
8848
8866
|
module.exports = factory(requireCore());
|
8849
8867
|
}
|
8850
|
-
}(
|
8868
|
+
}(sha256, function (CryptoJS) {
|
8851
8869
|
|
8852
8870
|
(function (Math) {
|
8853
8871
|
// Shortcuts
|
@@ -9033,16 +9051,18 @@ function requireSha256 () {
|
|
9033
9051
|
return CryptoJS.SHA256;
|
9034
9052
|
|
9035
9053
|
}));
|
9036
|
-
} (sha256));
|
9037
|
-
return sha256.exports;
|
9054
|
+
} (sha256$1));
|
9055
|
+
return sha256$1.exports;
|
9038
9056
|
}
|
9039
9057
|
|
9040
|
-
var sha224 = {exports: {}};
|
9058
|
+
var sha224$1 = {exports: {}};
|
9059
|
+
|
9060
|
+
var sha224 = sha224$1.exports;
|
9041
9061
|
|
9042
9062
|
var hasRequiredSha224;
|
9043
9063
|
|
9044
9064
|
function requireSha224 () {
|
9045
|
-
if (hasRequiredSha224) return sha224.exports;
|
9065
|
+
if (hasRequiredSha224) return sha224$1.exports;
|
9046
9066
|
hasRequiredSha224 = 1;
|
9047
9067
|
(function (module, exports) {
|
9048
9068
|
(function (root, factory, undef) {
|
@@ -9050,7 +9070,7 @@ function requireSha224 () {
|
|
9050
9070
|
// CommonJS
|
9051
9071
|
module.exports = factory(requireCore(), requireSha256());
|
9052
9072
|
}
|
9053
|
-
}(
|
9073
|
+
}(sha224, function (CryptoJS) {
|
9054
9074
|
|
9055
9075
|
(function () {
|
9056
9076
|
// Shortcuts
|
@@ -9117,16 +9137,18 @@ function requireSha224 () {
|
|
9117
9137
|
return CryptoJS.SHA224;
|
9118
9138
|
|
9119
9139
|
}));
|
9120
|
-
} (sha224));
|
9121
|
-
return sha224.exports;
|
9140
|
+
} (sha224$1));
|
9141
|
+
return sha224$1.exports;
|
9122
9142
|
}
|
9123
9143
|
|
9124
|
-
var sha512 = {exports: {}};
|
9144
|
+
var sha512$1 = {exports: {}};
|
9145
|
+
|
9146
|
+
var sha512 = sha512$1.exports;
|
9125
9147
|
|
9126
9148
|
var hasRequiredSha512;
|
9127
9149
|
|
9128
9150
|
function requireSha512 () {
|
9129
|
-
if (hasRequiredSha512) return sha512.exports;
|
9151
|
+
if (hasRequiredSha512) return sha512$1.exports;
|
9130
9152
|
hasRequiredSha512 = 1;
|
9131
9153
|
(function (module, exports) {
|
9132
9154
|
(function (root, factory, undef) {
|
@@ -9134,7 +9156,7 @@ function requireSha512 () {
|
|
9134
9156
|
// CommonJS
|
9135
9157
|
module.exports = factory(requireCore(), requireX64Core());
|
9136
9158
|
}
|
9137
|
-
}(
|
9159
|
+
}(sha512, function (CryptoJS) {
|
9138
9160
|
|
9139
9161
|
(function () {
|
9140
9162
|
// Shortcuts
|
@@ -9447,16 +9469,18 @@ function requireSha512 () {
|
|
9447
9469
|
return CryptoJS.SHA512;
|
9448
9470
|
|
9449
9471
|
}));
|
9450
|
-
} (sha512));
|
9451
|
-
return sha512.exports;
|
9472
|
+
} (sha512$1));
|
9473
|
+
return sha512$1.exports;
|
9452
9474
|
}
|
9453
9475
|
|
9454
|
-
var sha384 = {exports: {}};
|
9476
|
+
var sha384$1 = {exports: {}};
|
9477
|
+
|
9478
|
+
var sha384 = sha384$1.exports;
|
9455
9479
|
|
9456
9480
|
var hasRequiredSha384;
|
9457
9481
|
|
9458
9482
|
function requireSha384 () {
|
9459
|
-
if (hasRequiredSha384) return sha384.exports;
|
9483
|
+
if (hasRequiredSha384) return sha384$1.exports;
|
9460
9484
|
hasRequiredSha384 = 1;
|
9461
9485
|
(function (module, exports) {
|
9462
9486
|
(function (root, factory, undef) {
|
@@ -9464,7 +9488,7 @@ function requireSha384 () {
|
|
9464
9488
|
// CommonJS
|
9465
9489
|
module.exports = factory(requireCore(), requireX64Core(), requireSha512());
|
9466
9490
|
}
|
9467
|
-
}(
|
9491
|
+
}(sha384, function (CryptoJS) {
|
9468
9492
|
|
9469
9493
|
(function () {
|
9470
9494
|
// Shortcuts
|
@@ -9534,16 +9558,18 @@ function requireSha384 () {
|
|
9534
9558
|
return CryptoJS.SHA384;
|
9535
9559
|
|
9536
9560
|
}));
|
9537
|
-
} (sha384));
|
9538
|
-
return sha384.exports;
|
9561
|
+
} (sha384$1));
|
9562
|
+
return sha384$1.exports;
|
9539
9563
|
}
|
9540
9564
|
|
9541
|
-
var sha3 = {exports: {}};
|
9565
|
+
var sha3$1 = {exports: {}};
|
9566
|
+
|
9567
|
+
var sha3 = sha3$1.exports;
|
9542
9568
|
|
9543
9569
|
var hasRequiredSha3;
|
9544
9570
|
|
9545
9571
|
function requireSha3 () {
|
9546
|
-
if (hasRequiredSha3) return sha3.exports;
|
9572
|
+
if (hasRequiredSha3) return sha3$1.exports;
|
9547
9573
|
hasRequiredSha3 = 1;
|
9548
9574
|
(function (module, exports) {
|
9549
9575
|
(function (root, factory, undef) {
|
@@ -9551,7 +9577,7 @@ function requireSha3 () {
|
|
9551
9577
|
// CommonJS
|
9552
9578
|
module.exports = factory(requireCore(), requireX64Core());
|
9553
9579
|
}
|
9554
|
-
}(
|
9580
|
+
}(sha3, function (CryptoJS) {
|
9555
9581
|
|
9556
9582
|
(function (Math) {
|
9557
9583
|
// Shortcuts
|
@@ -9864,16 +9890,18 @@ function requireSha3 () {
|
|
9864
9890
|
return CryptoJS.SHA3;
|
9865
9891
|
|
9866
9892
|
}));
|
9867
|
-
} (sha3));
|
9868
|
-
return sha3.exports;
|
9893
|
+
} (sha3$1));
|
9894
|
+
return sha3$1.exports;
|
9869
9895
|
}
|
9870
9896
|
|
9871
|
-
var ripemd160 = {exports: {}};
|
9897
|
+
var ripemd160$1 = {exports: {}};
|
9898
|
+
|
9899
|
+
var ripemd160 = ripemd160$1.exports;
|
9872
9900
|
|
9873
9901
|
var hasRequiredRipemd160;
|
9874
9902
|
|
9875
9903
|
function requireRipemd160 () {
|
9876
|
-
if (hasRequiredRipemd160) return ripemd160.exports;
|
9904
|
+
if (hasRequiredRipemd160) return ripemd160$1.exports;
|
9877
9905
|
hasRequiredRipemd160 = 1;
|
9878
9906
|
(function (module, exports) {
|
9879
9907
|
(function (root, factory) {
|
@@ -9881,7 +9909,7 @@ function requireRipemd160 () {
|
|
9881
9909
|
// CommonJS
|
9882
9910
|
module.exports = factory(requireCore());
|
9883
9911
|
}
|
9884
|
-
}(
|
9912
|
+
}(ripemd160, function (CryptoJS) {
|
9885
9913
|
|
9886
9914
|
/** @preserve
|
9887
9915
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
@@ -10135,16 +10163,18 @@ function requireRipemd160 () {
|
|
10135
10163
|
return CryptoJS.RIPEMD160;
|
10136
10164
|
|
10137
10165
|
}));
|
10138
|
-
} (ripemd160));
|
10139
|
-
return ripemd160.exports;
|
10166
|
+
} (ripemd160$1));
|
10167
|
+
return ripemd160$1.exports;
|
10140
10168
|
}
|
10141
10169
|
|
10142
|
-
var hmac = {exports: {}};
|
10170
|
+
var hmac$1 = {exports: {}};
|
10171
|
+
|
10172
|
+
var hmac = hmac$1.exports;
|
10143
10173
|
|
10144
10174
|
var hasRequiredHmac;
|
10145
10175
|
|
10146
10176
|
function requireHmac () {
|
10147
|
-
if (hasRequiredHmac) return hmac.exports;
|
10177
|
+
if (hasRequiredHmac) return hmac$1.exports;
|
10148
10178
|
hasRequiredHmac = 1;
|
10149
10179
|
(function (module, exports) {
|
10150
10180
|
(function (root, factory) {
|
@@ -10152,7 +10182,7 @@ function requireHmac () {
|
|
10152
10182
|
// CommonJS
|
10153
10183
|
module.exports = factory(requireCore());
|
10154
10184
|
}
|
10155
|
-
}(
|
10185
|
+
}(hmac, function (CryptoJS) {
|
10156
10186
|
|
10157
10187
|
(function () {
|
10158
10188
|
// Shortcuts
|
@@ -10282,16 +10312,18 @@ function requireHmac () {
|
|
10282
10312
|
|
10283
10313
|
|
10284
10314
|
}));
|
10285
|
-
} (hmac));
|
10286
|
-
return hmac.exports;
|
10315
|
+
} (hmac$1));
|
10316
|
+
return hmac$1.exports;
|
10287
10317
|
}
|
10288
10318
|
|
10289
|
-
var pbkdf2 = {exports: {}};
|
10319
|
+
var pbkdf2$1 = {exports: {}};
|
10320
|
+
|
10321
|
+
var pbkdf2 = pbkdf2$1.exports;
|
10290
10322
|
|
10291
10323
|
var hasRequiredPbkdf2;
|
10292
10324
|
|
10293
10325
|
function requirePbkdf2 () {
|
10294
|
-
if (hasRequiredPbkdf2) return pbkdf2.exports;
|
10326
|
+
if (hasRequiredPbkdf2) return pbkdf2$1.exports;
|
10295
10327
|
hasRequiredPbkdf2 = 1;
|
10296
10328
|
(function (module, exports) {
|
10297
10329
|
(function (root, factory, undef) {
|
@@ -10299,7 +10331,7 @@ function requirePbkdf2 () {
|
|
10299
10331
|
// CommonJS
|
10300
10332
|
module.exports = factory(requireCore(), requireSha256(), requireHmac());
|
10301
10333
|
}
|
10302
|
-
}(
|
10334
|
+
}(pbkdf2, function (CryptoJS) {
|
10303
10335
|
|
10304
10336
|
(function () {
|
10305
10337
|
// Shortcuts
|
@@ -10431,16 +10463,18 @@ function requirePbkdf2 () {
|
|
10431
10463
|
return CryptoJS.PBKDF2;
|
10432
10464
|
|
10433
10465
|
}));
|
10434
|
-
} (pbkdf2));
|
10435
|
-
return pbkdf2.exports;
|
10466
|
+
} (pbkdf2$1));
|
10467
|
+
return pbkdf2$1.exports;
|
10436
10468
|
}
|
10437
10469
|
|
10438
|
-
var evpkdf = {exports: {}};
|
10470
|
+
var evpkdf$1 = {exports: {}};
|
10471
|
+
|
10472
|
+
var evpkdf = evpkdf$1.exports;
|
10439
10473
|
|
10440
10474
|
var hasRequiredEvpkdf;
|
10441
10475
|
|
10442
10476
|
function requireEvpkdf () {
|
10443
|
-
if (hasRequiredEvpkdf) return evpkdf.exports;
|
10477
|
+
if (hasRequiredEvpkdf) return evpkdf$1.exports;
|
10444
10478
|
hasRequiredEvpkdf = 1;
|
10445
10479
|
(function (module, exports) {
|
10446
10480
|
(function (root, factory, undef) {
|
@@ -10448,7 +10482,7 @@ function requireEvpkdf () {
|
|
10448
10482
|
// CommonJS
|
10449
10483
|
module.exports = factory(requireCore(), requireSha1(), requireHmac());
|
10450
10484
|
}
|
10451
|
-
}(
|
10485
|
+
}(evpkdf, function (CryptoJS) {
|
10452
10486
|
|
10453
10487
|
(function () {
|
10454
10488
|
// Shortcuts
|
@@ -10569,16 +10603,18 @@ function requireEvpkdf () {
|
|
10569
10603
|
return CryptoJS.EvpKDF;
|
10570
10604
|
|
10571
10605
|
}));
|
10572
|
-
} (evpkdf));
|
10573
|
-
return evpkdf.exports;
|
10606
|
+
} (evpkdf$1));
|
10607
|
+
return evpkdf$1.exports;
|
10574
10608
|
}
|
10575
10609
|
|
10576
|
-
var cipherCore = {exports: {}};
|
10610
|
+
var cipherCore$1 = {exports: {}};
|
10611
|
+
|
10612
|
+
var cipherCore = cipherCore$1.exports;
|
10577
10613
|
|
10578
10614
|
var hasRequiredCipherCore;
|
10579
10615
|
|
10580
10616
|
function requireCipherCore () {
|
10581
|
-
if (hasRequiredCipherCore) return cipherCore.exports;
|
10617
|
+
if (hasRequiredCipherCore) return cipherCore$1.exports;
|
10582
10618
|
hasRequiredCipherCore = 1;
|
10583
10619
|
(function (module, exports) {
|
10584
10620
|
(function (root, factory, undef) {
|
@@ -10586,7 +10622,7 @@ function requireCipherCore () {
|
|
10586
10622
|
// CommonJS
|
10587
10623
|
module.exports = factory(requireCore(), requireEvpkdf());
|
10588
10624
|
}
|
10589
|
-
}(
|
10625
|
+
}(cipherCore, function (CryptoJS) {
|
10590
10626
|
|
10591
10627
|
/**
|
10592
10628
|
* Cipher core components.
|
@@ -11468,16 +11504,18 @@ function requireCipherCore () {
|
|
11468
11504
|
|
11469
11505
|
|
11470
11506
|
}));
|
11471
|
-
} (cipherCore));
|
11472
|
-
return cipherCore.exports;
|
11507
|
+
} (cipherCore$1));
|
11508
|
+
return cipherCore$1.exports;
|
11473
11509
|
}
|
11474
11510
|
|
11475
|
-
var modeCfb = {exports: {}};
|
11511
|
+
var modeCfb$1 = {exports: {}};
|
11512
|
+
|
11513
|
+
var modeCfb = modeCfb$1.exports;
|
11476
11514
|
|
11477
11515
|
var hasRequiredModeCfb;
|
11478
11516
|
|
11479
11517
|
function requireModeCfb () {
|
11480
|
-
if (hasRequiredModeCfb) return modeCfb.exports;
|
11518
|
+
if (hasRequiredModeCfb) return modeCfb$1.exports;
|
11481
11519
|
hasRequiredModeCfb = 1;
|
11482
11520
|
(function (module, exports) {
|
11483
11521
|
(function (root, factory, undef) {
|
@@ -11485,7 +11523,7 @@ function requireModeCfb () {
|
|
11485
11523
|
// CommonJS
|
11486
11524
|
module.exports = factory(requireCore(), requireCipherCore());
|
11487
11525
|
}
|
11488
|
-
}(
|
11526
|
+
}(modeCfb, function (CryptoJS) {
|
11489
11527
|
|
11490
11528
|
/**
|
11491
11529
|
* Cipher Feedback block mode.
|
@@ -11552,16 +11590,18 @@ function requireModeCfb () {
|
|
11552
11590
|
return CryptoJS.mode.CFB;
|
11553
11591
|
|
11554
11592
|
}));
|
11555
|
-
} (modeCfb));
|
11556
|
-
return modeCfb.exports;
|
11593
|
+
} (modeCfb$1));
|
11594
|
+
return modeCfb$1.exports;
|
11557
11595
|
}
|
11558
11596
|
|
11559
|
-
var modeCtr = {exports: {}};
|
11597
|
+
var modeCtr$1 = {exports: {}};
|
11598
|
+
|
11599
|
+
var modeCtr = modeCtr$1.exports;
|
11560
11600
|
|
11561
11601
|
var hasRequiredModeCtr;
|
11562
11602
|
|
11563
11603
|
function requireModeCtr () {
|
11564
|
-
if (hasRequiredModeCtr) return modeCtr.exports;
|
11604
|
+
if (hasRequiredModeCtr) return modeCtr$1.exports;
|
11565
11605
|
hasRequiredModeCtr = 1;
|
11566
11606
|
(function (module, exports) {
|
11567
11607
|
(function (root, factory, undef) {
|
@@ -11569,7 +11609,7 @@ function requireModeCtr () {
|
|
11569
11609
|
// CommonJS
|
11570
11610
|
module.exports = factory(requireCore(), requireCipherCore());
|
11571
11611
|
}
|
11572
|
-
}(
|
11612
|
+
}(modeCtr, function (CryptoJS) {
|
11573
11613
|
|
11574
11614
|
/**
|
11575
11615
|
* Counter block mode.
|
@@ -11614,16 +11654,18 @@ function requireModeCtr () {
|
|
11614
11654
|
return CryptoJS.mode.CTR;
|
11615
11655
|
|
11616
11656
|
}));
|
11617
|
-
} (modeCtr));
|
11618
|
-
return modeCtr.exports;
|
11657
|
+
} (modeCtr$1));
|
11658
|
+
return modeCtr$1.exports;
|
11619
11659
|
}
|
11620
11660
|
|
11621
|
-
var modeCtrGladman = {exports: {}};
|
11661
|
+
var modeCtrGladman$1 = {exports: {}};
|
11662
|
+
|
11663
|
+
var modeCtrGladman = modeCtrGladman$1.exports;
|
11622
11664
|
|
11623
11665
|
var hasRequiredModeCtrGladman;
|
11624
11666
|
|
11625
11667
|
function requireModeCtrGladman () {
|
11626
|
-
if (hasRequiredModeCtrGladman) return modeCtrGladman.exports;
|
11668
|
+
if (hasRequiredModeCtrGladman) return modeCtrGladman$1.exports;
|
11627
11669
|
hasRequiredModeCtrGladman = 1;
|
11628
11670
|
(function (module, exports) {
|
11629
11671
|
(function (root, factory, undef) {
|
@@ -11631,7 +11673,7 @@ function requireModeCtrGladman () {
|
|
11631
11673
|
// CommonJS
|
11632
11674
|
module.exports = factory(requireCore(), requireCipherCore());
|
11633
11675
|
}
|
11634
|
-
}(
|
11676
|
+
}(modeCtrGladman, function (CryptoJS) {
|
11635
11677
|
|
11636
11678
|
/** @preserve
|
11637
11679
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
@@ -11734,16 +11776,18 @@ function requireModeCtrGladman () {
|
|
11734
11776
|
return CryptoJS.mode.CTRGladman;
|
11735
11777
|
|
11736
11778
|
}));
|
11737
|
-
} (modeCtrGladman));
|
11738
|
-
return modeCtrGladman.exports;
|
11779
|
+
} (modeCtrGladman$1));
|
11780
|
+
return modeCtrGladman$1.exports;
|
11739
11781
|
}
|
11740
11782
|
|
11741
|
-
var modeOfb = {exports: {}};
|
11783
|
+
var modeOfb$1 = {exports: {}};
|
11784
|
+
|
11785
|
+
var modeOfb = modeOfb$1.exports;
|
11742
11786
|
|
11743
11787
|
var hasRequiredModeOfb;
|
11744
11788
|
|
11745
11789
|
function requireModeOfb () {
|
11746
|
-
if (hasRequiredModeOfb) return modeOfb.exports;
|
11790
|
+
if (hasRequiredModeOfb) return modeOfb$1.exports;
|
11747
11791
|
hasRequiredModeOfb = 1;
|
11748
11792
|
(function (module, exports) {
|
11749
11793
|
(function (root, factory, undef) {
|
@@ -11751,7 +11795,7 @@ function requireModeOfb () {
|
|
11751
11795
|
// CommonJS
|
11752
11796
|
module.exports = factory(requireCore(), requireCipherCore());
|
11753
11797
|
}
|
11754
|
-
}(
|
11798
|
+
}(modeOfb, function (CryptoJS) {
|
11755
11799
|
|
11756
11800
|
/**
|
11757
11801
|
* Output Feedback block mode.
|
@@ -11792,16 +11836,18 @@ function requireModeOfb () {
|
|
11792
11836
|
return CryptoJS.mode.OFB;
|
11793
11837
|
|
11794
11838
|
}));
|
11795
|
-
} (modeOfb));
|
11796
|
-
return modeOfb.exports;
|
11839
|
+
} (modeOfb$1));
|
11840
|
+
return modeOfb$1.exports;
|
11797
11841
|
}
|
11798
11842
|
|
11799
|
-
var modeEcb = {exports: {}};
|
11843
|
+
var modeEcb$1 = {exports: {}};
|
11844
|
+
|
11845
|
+
var modeEcb = modeEcb$1.exports;
|
11800
11846
|
|
11801
11847
|
var hasRequiredModeEcb;
|
11802
11848
|
|
11803
11849
|
function requireModeEcb () {
|
11804
|
-
if (hasRequiredModeEcb) return modeEcb.exports;
|
11850
|
+
if (hasRequiredModeEcb) return modeEcb$1.exports;
|
11805
11851
|
hasRequiredModeEcb = 1;
|
11806
11852
|
(function (module, exports) {
|
11807
11853
|
(function (root, factory, undef) {
|
@@ -11809,7 +11855,7 @@ function requireModeEcb () {
|
|
11809
11855
|
// CommonJS
|
11810
11856
|
module.exports = factory(requireCore(), requireCipherCore());
|
11811
11857
|
}
|
11812
|
-
}(
|
11858
|
+
}(modeEcb, function (CryptoJS) {
|
11813
11859
|
|
11814
11860
|
/**
|
11815
11861
|
* Electronic Codebook block mode.
|
@@ -11836,16 +11882,18 @@ function requireModeEcb () {
|
|
11836
11882
|
return CryptoJS.mode.ECB;
|
11837
11883
|
|
11838
11884
|
}));
|
11839
|
-
} (modeEcb));
|
11840
|
-
return modeEcb.exports;
|
11885
|
+
} (modeEcb$1));
|
11886
|
+
return modeEcb$1.exports;
|
11841
11887
|
}
|
11842
11888
|
|
11843
|
-
var padAnsix923 = {exports: {}};
|
11889
|
+
var padAnsix923$1 = {exports: {}};
|
11890
|
+
|
11891
|
+
var padAnsix923 = padAnsix923$1.exports;
|
11844
11892
|
|
11845
11893
|
var hasRequiredPadAnsix923;
|
11846
11894
|
|
11847
11895
|
function requirePadAnsix923 () {
|
11848
|
-
if (hasRequiredPadAnsix923) return padAnsix923.exports;
|
11896
|
+
if (hasRequiredPadAnsix923) return padAnsix923$1.exports;
|
11849
11897
|
hasRequiredPadAnsix923 = 1;
|
11850
11898
|
(function (module, exports) {
|
11851
11899
|
(function (root, factory, undef) {
|
@@ -11853,7 +11901,7 @@ function requirePadAnsix923 () {
|
|
11853
11901
|
// CommonJS
|
11854
11902
|
module.exports = factory(requireCore(), requireCipherCore());
|
11855
11903
|
}
|
11856
|
-
}(
|
11904
|
+
}(padAnsix923, function (CryptoJS) {
|
11857
11905
|
|
11858
11906
|
/**
|
11859
11907
|
* ANSI X.923 padding strategy.
|
@@ -11889,16 +11937,18 @@ function requirePadAnsix923 () {
|
|
11889
11937
|
return CryptoJS.pad.Ansix923;
|
11890
11938
|
|
11891
11939
|
}));
|
11892
|
-
} (padAnsix923));
|
11893
|
-
return padAnsix923.exports;
|
11940
|
+
} (padAnsix923$1));
|
11941
|
+
return padAnsix923$1.exports;
|
11894
11942
|
}
|
11895
11943
|
|
11896
|
-
var padIso10126 = {exports: {}};
|
11944
|
+
var padIso10126$1 = {exports: {}};
|
11945
|
+
|
11946
|
+
var padIso10126 = padIso10126$1.exports;
|
11897
11947
|
|
11898
11948
|
var hasRequiredPadIso10126;
|
11899
11949
|
|
11900
11950
|
function requirePadIso10126 () {
|
11901
|
-
if (hasRequiredPadIso10126) return padIso10126.exports;
|
11951
|
+
if (hasRequiredPadIso10126) return padIso10126$1.exports;
|
11902
11952
|
hasRequiredPadIso10126 = 1;
|
11903
11953
|
(function (module, exports) {
|
11904
11954
|
(function (root, factory, undef) {
|
@@ -11906,7 +11956,7 @@ function requirePadIso10126 () {
|
|
11906
11956
|
// CommonJS
|
11907
11957
|
module.exports = factory(requireCore(), requireCipherCore());
|
11908
11958
|
}
|
11909
|
-
}(
|
11959
|
+
}(padIso10126, function (CryptoJS) {
|
11910
11960
|
|
11911
11961
|
/**
|
11912
11962
|
* ISO 10126 padding strategy.
|
@@ -11937,16 +11987,18 @@ function requirePadIso10126 () {
|
|
11937
11987
|
return CryptoJS.pad.Iso10126;
|
11938
11988
|
|
11939
11989
|
}));
|
11940
|
-
} (padIso10126));
|
11941
|
-
return padIso10126.exports;
|
11990
|
+
} (padIso10126$1));
|
11991
|
+
return padIso10126$1.exports;
|
11942
11992
|
}
|
11943
11993
|
|
11944
|
-
var padIso97971 = {exports: {}};
|
11994
|
+
var padIso97971$1 = {exports: {}};
|
11995
|
+
|
11996
|
+
var padIso97971 = padIso97971$1.exports;
|
11945
11997
|
|
11946
11998
|
var hasRequiredPadIso97971;
|
11947
11999
|
|
11948
12000
|
function requirePadIso97971 () {
|
11949
|
-
if (hasRequiredPadIso97971) return padIso97971.exports;
|
12001
|
+
if (hasRequiredPadIso97971) return padIso97971$1.exports;
|
11950
12002
|
hasRequiredPadIso97971 = 1;
|
11951
12003
|
(function (module, exports) {
|
11952
12004
|
(function (root, factory, undef) {
|
@@ -11954,7 +12006,7 @@ function requirePadIso97971 () {
|
|
11954
12006
|
// CommonJS
|
11955
12007
|
module.exports = factory(requireCore(), requireCipherCore());
|
11956
12008
|
}
|
11957
|
-
}(
|
12009
|
+
}(padIso97971, function (CryptoJS) {
|
11958
12010
|
|
11959
12011
|
/**
|
11960
12012
|
* ISO/IEC 9797-1 Padding Method 2.
|
@@ -11981,16 +12033,18 @@ function requirePadIso97971 () {
|
|
11981
12033
|
return CryptoJS.pad.Iso97971;
|
11982
12034
|
|
11983
12035
|
}));
|
11984
|
-
} (padIso97971));
|
11985
|
-
return padIso97971.exports;
|
12036
|
+
} (padIso97971$1));
|
12037
|
+
return padIso97971$1.exports;
|
11986
12038
|
}
|
11987
12039
|
|
11988
|
-
var padZeropadding = {exports: {}};
|
12040
|
+
var padZeropadding$1 = {exports: {}};
|
12041
|
+
|
12042
|
+
var padZeropadding = padZeropadding$1.exports;
|
11989
12043
|
|
11990
12044
|
var hasRequiredPadZeropadding;
|
11991
12045
|
|
11992
12046
|
function requirePadZeropadding () {
|
11993
|
-
if (hasRequiredPadZeropadding) return padZeropadding.exports;
|
12047
|
+
if (hasRequiredPadZeropadding) return padZeropadding$1.exports;
|
11994
12048
|
hasRequiredPadZeropadding = 1;
|
11995
12049
|
(function (module, exports) {
|
11996
12050
|
(function (root, factory, undef) {
|
@@ -11998,7 +12052,7 @@ function requirePadZeropadding () {
|
|
11998
12052
|
// CommonJS
|
11999
12053
|
module.exports = factory(requireCore(), requireCipherCore());
|
12000
12054
|
}
|
12001
|
-
}(
|
12055
|
+
}(padZeropadding, function (CryptoJS) {
|
12002
12056
|
|
12003
12057
|
/**
|
12004
12058
|
* Zero padding strategy.
|
@@ -12032,16 +12086,18 @@ function requirePadZeropadding () {
|
|
12032
12086
|
return CryptoJS.pad.ZeroPadding;
|
12033
12087
|
|
12034
12088
|
}));
|
12035
|
-
} (padZeropadding));
|
12036
|
-
return padZeropadding.exports;
|
12089
|
+
} (padZeropadding$1));
|
12090
|
+
return padZeropadding$1.exports;
|
12037
12091
|
}
|
12038
12092
|
|
12039
|
-
var padNopadding = {exports: {}};
|
12093
|
+
var padNopadding$1 = {exports: {}};
|
12094
|
+
|
12095
|
+
var padNopadding = padNopadding$1.exports;
|
12040
12096
|
|
12041
12097
|
var hasRequiredPadNopadding;
|
12042
12098
|
|
12043
12099
|
function requirePadNopadding () {
|
12044
|
-
if (hasRequiredPadNopadding) return padNopadding.exports;
|
12100
|
+
if (hasRequiredPadNopadding) return padNopadding$1.exports;
|
12045
12101
|
hasRequiredPadNopadding = 1;
|
12046
12102
|
(function (module, exports) {
|
12047
12103
|
(function (root, factory, undef) {
|
@@ -12049,7 +12105,7 @@ function requirePadNopadding () {
|
|
12049
12105
|
// CommonJS
|
12050
12106
|
module.exports = factory(requireCore(), requireCipherCore());
|
12051
12107
|
}
|
12052
|
-
}(
|
12108
|
+
}(padNopadding, function (CryptoJS) {
|
12053
12109
|
|
12054
12110
|
/**
|
12055
12111
|
* A noop padding strategy.
|
@@ -12066,16 +12122,18 @@ function requirePadNopadding () {
|
|
12066
12122
|
return CryptoJS.pad.NoPadding;
|
12067
12123
|
|
12068
12124
|
}));
|
12069
|
-
} (padNopadding));
|
12070
|
-
return padNopadding.exports;
|
12125
|
+
} (padNopadding$1));
|
12126
|
+
return padNopadding$1.exports;
|
12071
12127
|
}
|
12072
12128
|
|
12073
|
-
var formatHex = {exports: {}};
|
12129
|
+
var formatHex$1 = {exports: {}};
|
12130
|
+
|
12131
|
+
var formatHex = formatHex$1.exports;
|
12074
12132
|
|
12075
12133
|
var hasRequiredFormatHex;
|
12076
12134
|
|
12077
12135
|
function requireFormatHex () {
|
12078
|
-
if (hasRequiredFormatHex) return formatHex.exports;
|
12136
|
+
if (hasRequiredFormatHex) return formatHex$1.exports;
|
12079
12137
|
hasRequiredFormatHex = 1;
|
12080
12138
|
(function (module, exports) {
|
12081
12139
|
(function (root, factory, undef) {
|
@@ -12083,7 +12141,7 @@ function requireFormatHex () {
|
|
12083
12141
|
// CommonJS
|
12084
12142
|
module.exports = factory(requireCore(), requireCipherCore());
|
12085
12143
|
}
|
12086
|
-
}(
|
12144
|
+
}(formatHex, function (CryptoJS) {
|
12087
12145
|
|
12088
12146
|
(function (undefined$1) {
|
12089
12147
|
// Shortcuts
|
@@ -12136,16 +12194,18 @@ function requireFormatHex () {
|
|
12136
12194
|
return CryptoJS.format.Hex;
|
12137
12195
|
|
12138
12196
|
}));
|
12139
|
-
} (formatHex));
|
12140
|
-
return formatHex.exports;
|
12197
|
+
} (formatHex$1));
|
12198
|
+
return formatHex$1.exports;
|
12141
12199
|
}
|
12142
12200
|
|
12143
|
-
var aes = {exports: {}};
|
12201
|
+
var aes$1 = {exports: {}};
|
12202
|
+
|
12203
|
+
var aes = aes$1.exports;
|
12144
12204
|
|
12145
12205
|
var hasRequiredAes;
|
12146
12206
|
|
12147
12207
|
function requireAes () {
|
12148
|
-
if (hasRequiredAes) return aes.exports;
|
12208
|
+
if (hasRequiredAes) return aes$1.exports;
|
12149
12209
|
hasRequiredAes = 1;
|
12150
12210
|
(function (module, exports) {
|
12151
12211
|
(function (root, factory, undef) {
|
@@ -12153,7 +12213,7 @@ function requireAes () {
|
|
12153
12213
|
// CommonJS
|
12154
12214
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
12155
12215
|
}
|
12156
|
-
}(
|
12216
|
+
}(aes, function (CryptoJS) {
|
12157
12217
|
|
12158
12218
|
(function () {
|
12159
12219
|
// Shortcuts
|
@@ -12374,16 +12434,18 @@ function requireAes () {
|
|
12374
12434
|
return CryptoJS.AES;
|
12375
12435
|
|
12376
12436
|
}));
|
12377
|
-
} (aes));
|
12378
|
-
return aes.exports;
|
12437
|
+
} (aes$1));
|
12438
|
+
return aes$1.exports;
|
12379
12439
|
}
|
12380
12440
|
|
12381
|
-
var tripledes = {exports: {}};
|
12441
|
+
var tripledes$1 = {exports: {}};
|
12442
|
+
|
12443
|
+
var tripledes = tripledes$1.exports;
|
12382
12444
|
|
12383
12445
|
var hasRequiredTripledes;
|
12384
12446
|
|
12385
12447
|
function requireTripledes () {
|
12386
|
-
if (hasRequiredTripledes) return tripledes.exports;
|
12448
|
+
if (hasRequiredTripledes) return tripledes$1.exports;
|
12387
12449
|
hasRequiredTripledes = 1;
|
12388
12450
|
(function (module, exports) {
|
12389
12451
|
(function (root, factory, undef) {
|
@@ -12391,7 +12453,7 @@ function requireTripledes () {
|
|
12391
12453
|
// CommonJS
|
12392
12454
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
12393
12455
|
}
|
12394
|
-
}(
|
12456
|
+
}(tripledes, function (CryptoJS) {
|
12395
12457
|
|
12396
12458
|
(function () {
|
12397
12459
|
// Shortcuts
|
@@ -13157,16 +13219,18 @@ function requireTripledes () {
|
|
13157
13219
|
return CryptoJS.TripleDES;
|
13158
13220
|
|
13159
13221
|
}));
|
13160
|
-
} (tripledes));
|
13161
|
-
return tripledes.exports;
|
13222
|
+
} (tripledes$1));
|
13223
|
+
return tripledes$1.exports;
|
13162
13224
|
}
|
13163
13225
|
|
13164
|
-
var rc4 = {exports: {}};
|
13226
|
+
var rc4$1 = {exports: {}};
|
13227
|
+
|
13228
|
+
var rc4 = rc4$1.exports;
|
13165
13229
|
|
13166
13230
|
var hasRequiredRc4;
|
13167
13231
|
|
13168
13232
|
function requireRc4 () {
|
13169
|
-
if (hasRequiredRc4) return rc4.exports;
|
13233
|
+
if (hasRequiredRc4) return rc4$1.exports;
|
13170
13234
|
hasRequiredRc4 = 1;
|
13171
13235
|
(function (module, exports) {
|
13172
13236
|
(function (root, factory, undef) {
|
@@ -13174,7 +13238,7 @@ function requireRc4 () {
|
|
13174
13238
|
// CommonJS
|
13175
13239
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
13176
13240
|
}
|
13177
|
-
}(
|
13241
|
+
}(rc4, function (CryptoJS) {
|
13178
13242
|
|
13179
13243
|
(function () {
|
13180
13244
|
// Shortcuts
|
@@ -13300,16 +13364,18 @@ function requireRc4 () {
|
|
13300
13364
|
return CryptoJS.RC4;
|
13301
13365
|
|
13302
13366
|
}));
|
13303
|
-
} (rc4));
|
13304
|
-
return rc4.exports;
|
13367
|
+
} (rc4$1));
|
13368
|
+
return rc4$1.exports;
|
13305
13369
|
}
|
13306
13370
|
|
13307
|
-
var rabbit = {exports: {}};
|
13371
|
+
var rabbit$1 = {exports: {}};
|
13372
|
+
|
13373
|
+
var rabbit = rabbit$1.exports;
|
13308
13374
|
|
13309
13375
|
var hasRequiredRabbit;
|
13310
13376
|
|
13311
13377
|
function requireRabbit () {
|
13312
|
-
if (hasRequiredRabbit) return rabbit.exports;
|
13378
|
+
if (hasRequiredRabbit) return rabbit$1.exports;
|
13313
13379
|
hasRequiredRabbit = 1;
|
13314
13380
|
(function (module, exports) {
|
13315
13381
|
(function (root, factory, undef) {
|
@@ -13317,7 +13383,7 @@ function requireRabbit () {
|
|
13317
13383
|
// CommonJS
|
13318
13384
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
13319
13385
|
}
|
13320
|
-
}(
|
13386
|
+
}(rabbit, function (CryptoJS) {
|
13321
13387
|
|
13322
13388
|
(function () {
|
13323
13389
|
// Shortcuts
|
@@ -13496,16 +13562,18 @@ function requireRabbit () {
|
|
13496
13562
|
return CryptoJS.Rabbit;
|
13497
13563
|
|
13498
13564
|
}));
|
13499
|
-
} (rabbit));
|
13500
|
-
return rabbit.exports;
|
13565
|
+
} (rabbit$1));
|
13566
|
+
return rabbit$1.exports;
|
13501
13567
|
}
|
13502
13568
|
|
13503
|
-
var rabbitLegacy = {exports: {}};
|
13569
|
+
var rabbitLegacy$1 = {exports: {}};
|
13570
|
+
|
13571
|
+
var rabbitLegacy = rabbitLegacy$1.exports;
|
13504
13572
|
|
13505
13573
|
var hasRequiredRabbitLegacy;
|
13506
13574
|
|
13507
13575
|
function requireRabbitLegacy () {
|
13508
|
-
if (hasRequiredRabbitLegacy) return rabbitLegacy.exports;
|
13576
|
+
if (hasRequiredRabbitLegacy) return rabbitLegacy$1.exports;
|
13509
13577
|
hasRequiredRabbitLegacy = 1;
|
13510
13578
|
(function (module, exports) {
|
13511
13579
|
(function (root, factory, undef) {
|
@@ -13513,7 +13581,7 @@ function requireRabbitLegacy () {
|
|
13513
13581
|
// CommonJS
|
13514
13582
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
13515
13583
|
}
|
13516
|
-
}(
|
13584
|
+
}(rabbitLegacy, function (CryptoJS) {
|
13517
13585
|
|
13518
13586
|
(function () {
|
13519
13587
|
// Shortcuts
|
@@ -13690,16 +13758,18 @@ function requireRabbitLegacy () {
|
|
13690
13758
|
return CryptoJS.RabbitLegacy;
|
13691
13759
|
|
13692
13760
|
}));
|
13693
|
-
} (rabbitLegacy));
|
13694
|
-
return rabbitLegacy.exports;
|
13761
|
+
} (rabbitLegacy$1));
|
13762
|
+
return rabbitLegacy$1.exports;
|
13695
13763
|
}
|
13696
13764
|
|
13697
|
-
var blowfish = {exports: {}};
|
13765
|
+
var blowfish$1 = {exports: {}};
|
13766
|
+
|
13767
|
+
var blowfish = blowfish$1.exports;
|
13698
13768
|
|
13699
13769
|
var hasRequiredBlowfish;
|
13700
13770
|
|
13701
13771
|
function requireBlowfish () {
|
13702
|
-
if (hasRequiredBlowfish) return blowfish.exports;
|
13772
|
+
if (hasRequiredBlowfish) return blowfish$1.exports;
|
13703
13773
|
hasRequiredBlowfish = 1;
|
13704
13774
|
(function (module, exports) {
|
13705
13775
|
(function (root, factory, undef) {
|
@@ -13707,7 +13777,7 @@ function requireBlowfish () {
|
|
13707
13777
|
// CommonJS
|
13708
13778
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
13709
13779
|
}
|
13710
|
-
}(
|
13780
|
+
}(blowfish, function (CryptoJS) {
|
13711
13781
|
|
13712
13782
|
(function () {
|
13713
13783
|
// Shortcuts
|
@@ -14165,24 +14235,33 @@ function requireBlowfish () {
|
|
14165
14235
|
return CryptoJS.Blowfish;
|
14166
14236
|
|
14167
14237
|
}));
|
14168
|
-
} (blowfish));
|
14169
|
-
return blowfish.exports;
|
14238
|
+
} (blowfish$1));
|
14239
|
+
return blowfish$1.exports;
|
14170
14240
|
}
|
14171
14241
|
|
14172
|
-
|
14242
|
+
var cryptoJs = cryptoJs$1.exports;
|
14243
|
+
|
14244
|
+
var hasRequiredCryptoJs;
|
14245
|
+
|
14246
|
+
function requireCryptoJs () {
|
14247
|
+
if (hasRequiredCryptoJs) return cryptoJs$1.exports;
|
14248
|
+
hasRequiredCryptoJs = 1;
|
14249
|
+
(function (module, exports) {
|
14173
14250
|
(function (root, factory, undef) {
|
14174
|
-
|
14175
|
-
|
14176
|
-
|
14177
|
-
|
14178
|
-
|
14251
|
+
{
|
14252
|
+
// CommonJS
|
14253
|
+
module.exports = factory(requireCore(), requireX64Core(), requireLibTypedarrays(), requireEncUtf16(), requireEncBase64(), requireEncBase64url(), requireMd5(), requireSha1(), requireSha256(), requireSha224(), requireSha512(), requireSha384(), requireSha3(), requireRipemd160(), requireHmac(), requirePbkdf2(), requireEvpkdf(), requireCipherCore(), requireModeCfb(), requireModeCtr(), requireModeCtrGladman(), requireModeOfb(), requireModeEcb(), requirePadAnsix923(), requirePadIso10126(), requirePadIso97971(), requirePadZeropadding(), requirePadNopadding(), requireFormatHex(), requireAes(), requireTripledes(), requireRc4(), requireRabbit(), requireRabbitLegacy(), requireBlowfish());
|
14254
|
+
}
|
14255
|
+
}(cryptoJs, function (CryptoJS) {
|
14179
14256
|
|
14180
|
-
|
14257
|
+
return CryptoJS;
|
14181
14258
|
|
14182
|
-
|
14183
|
-
} (cryptoJs));
|
14259
|
+
}));
|
14260
|
+
} (cryptoJs$1));
|
14261
|
+
return cryptoJs$1.exports;
|
14262
|
+
}
|
14184
14263
|
|
14185
|
-
var cryptoJsExports =
|
14264
|
+
var cryptoJsExports = requireCryptoJs();
|
14186
14265
|
|
14187
14266
|
var crypto$1 = crypto;
|
14188
14267
|
const isCryptoKey = (key) => key instanceof CryptoKey;
|
@@ -14238,77 +14317,118 @@ const decode = (input) => {
|
|
14238
14317
|
};
|
14239
14318
|
|
14240
14319
|
class JOSEError extends Error {
|
14241
|
-
|
14242
|
-
|
14243
|
-
}
|
14244
|
-
constructor(message) {
|
14245
|
-
super(message);
|
14320
|
+
constructor(message, options) {
|
14321
|
+
super(message, options);
|
14246
14322
|
this.code = 'ERR_JOSE_GENERIC';
|
14247
14323
|
this.name = this.constructor.name;
|
14248
14324
|
Error.captureStackTrace?.(this, this.constructor);
|
14249
14325
|
}
|
14250
14326
|
}
|
14327
|
+
JOSEError.code = 'ERR_JOSE_GENERIC';
|
14251
14328
|
class JWTClaimValidationFailed extends JOSEError {
|
14252
|
-
static get code() {
|
14253
|
-
return 'ERR_JWT_CLAIM_VALIDATION_FAILED';
|
14254
|
-
}
|
14255
14329
|
constructor(message, payload, claim = 'unspecified', reason = 'unspecified') {
|
14256
|
-
super(message);
|
14330
|
+
super(message, { cause: { claim, reason, payload } });
|
14257
14331
|
this.code = 'ERR_JWT_CLAIM_VALIDATION_FAILED';
|
14258
14332
|
this.claim = claim;
|
14259
14333
|
this.reason = reason;
|
14260
14334
|
this.payload = payload;
|
14261
14335
|
}
|
14262
14336
|
}
|
14337
|
+
JWTClaimValidationFailed.code = 'ERR_JWT_CLAIM_VALIDATION_FAILED';
|
14263
14338
|
class JWTExpired extends JOSEError {
|
14264
|
-
static get code() {
|
14265
|
-
return 'ERR_JWT_EXPIRED';
|
14266
|
-
}
|
14267
14339
|
constructor(message, payload, claim = 'unspecified', reason = 'unspecified') {
|
14268
|
-
super(message);
|
14340
|
+
super(message, { cause: { claim, reason, payload } });
|
14269
14341
|
this.code = 'ERR_JWT_EXPIRED';
|
14270
14342
|
this.claim = claim;
|
14271
14343
|
this.reason = reason;
|
14272
14344
|
this.payload = payload;
|
14273
14345
|
}
|
14274
14346
|
}
|
14347
|
+
JWTExpired.code = 'ERR_JWT_EXPIRED';
|
14348
|
+
class JOSEAlgNotAllowed extends JOSEError {
|
14349
|
+
constructor() {
|
14350
|
+
super(...arguments);
|
14351
|
+
this.code = 'ERR_JOSE_ALG_NOT_ALLOWED';
|
14352
|
+
}
|
14353
|
+
}
|
14354
|
+
JOSEAlgNotAllowed.code = 'ERR_JOSE_ALG_NOT_ALLOWED';
|
14275
14355
|
class JOSENotSupported extends JOSEError {
|
14276
14356
|
constructor() {
|
14277
14357
|
super(...arguments);
|
14278
14358
|
this.code = 'ERR_JOSE_NOT_SUPPORTED';
|
14279
14359
|
}
|
14280
|
-
|
14281
|
-
|
14360
|
+
}
|
14361
|
+
JOSENotSupported.code = 'ERR_JOSE_NOT_SUPPORTED';
|
14362
|
+
class JWEDecryptionFailed extends JOSEError {
|
14363
|
+
constructor(message = 'decryption operation failed', options) {
|
14364
|
+
super(message, options);
|
14365
|
+
this.code = 'ERR_JWE_DECRYPTION_FAILED';
|
14366
|
+
}
|
14367
|
+
}
|
14368
|
+
JWEDecryptionFailed.code = 'ERR_JWE_DECRYPTION_FAILED';
|
14369
|
+
class JWEInvalid extends JOSEError {
|
14370
|
+
constructor() {
|
14371
|
+
super(...arguments);
|
14372
|
+
this.code = 'ERR_JWE_INVALID';
|
14282
14373
|
}
|
14283
14374
|
}
|
14375
|
+
JWEInvalid.code = 'ERR_JWE_INVALID';
|
14284
14376
|
class JWSInvalid extends JOSEError {
|
14285
14377
|
constructor() {
|
14286
14378
|
super(...arguments);
|
14287
14379
|
this.code = 'ERR_JWS_INVALID';
|
14288
14380
|
}
|
14289
|
-
static get code() {
|
14290
|
-
return 'ERR_JWS_INVALID';
|
14291
|
-
}
|
14292
14381
|
}
|
14382
|
+
JWSInvalid.code = 'ERR_JWS_INVALID';
|
14293
14383
|
class JWTInvalid extends JOSEError {
|
14294
14384
|
constructor() {
|
14295
14385
|
super(...arguments);
|
14296
14386
|
this.code = 'ERR_JWT_INVALID';
|
14297
14387
|
}
|
14298
|
-
|
14299
|
-
|
14388
|
+
}
|
14389
|
+
JWTInvalid.code = 'ERR_JWT_INVALID';
|
14390
|
+
class JWKInvalid extends JOSEError {
|
14391
|
+
constructor() {
|
14392
|
+
super(...arguments);
|
14393
|
+
this.code = 'ERR_JWK_INVALID';
|
14300
14394
|
}
|
14301
14395
|
}
|
14302
|
-
|
14396
|
+
JWKInvalid.code = 'ERR_JWK_INVALID';
|
14397
|
+
class JWKSInvalid extends JOSEError {
|
14303
14398
|
constructor() {
|
14304
14399
|
super(...arguments);
|
14305
|
-
this.code = '
|
14306
|
-
|
14400
|
+
this.code = 'ERR_JWKS_INVALID';
|
14401
|
+
}
|
14402
|
+
}
|
14403
|
+
JWKSInvalid.code = 'ERR_JWKS_INVALID';
|
14404
|
+
class JWKSNoMatchingKey extends JOSEError {
|
14405
|
+
constructor(message = 'no applicable key found in the JSON Web Key Set', options) {
|
14406
|
+
super(message, options);
|
14407
|
+
this.code = 'ERR_JWKS_NO_MATCHING_KEY';
|
14408
|
+
}
|
14409
|
+
}
|
14410
|
+
JWKSNoMatchingKey.code = 'ERR_JWKS_NO_MATCHING_KEY';
|
14411
|
+
class JWKSMultipleMatchingKeys extends JOSEError {
|
14412
|
+
constructor(message = 'multiple matching keys found in the JSON Web Key Set', options) {
|
14413
|
+
super(message, options);
|
14414
|
+
this.code = 'ERR_JWKS_MULTIPLE_MATCHING_KEYS';
|
14307
14415
|
}
|
14308
|
-
|
14309
|
-
|
14416
|
+
}
|
14417
|
+
JWKSMultipleMatchingKeys.code = 'ERR_JWKS_MULTIPLE_MATCHING_KEYS';
|
14418
|
+
class JWKSTimeout extends JOSEError {
|
14419
|
+
constructor(message = 'request timed out', options) {
|
14420
|
+
super(message, options);
|
14421
|
+
this.code = 'ERR_JWKS_TIMEOUT';
|
14422
|
+
}
|
14423
|
+
}
|
14424
|
+
JWKSTimeout.code = 'ERR_JWKS_TIMEOUT';
|
14425
|
+
class JWSSignatureVerificationFailed extends JOSEError {
|
14426
|
+
constructor(message = 'signature verification failed', options) {
|
14427
|
+
super(message, options);
|
14428
|
+
this.code = 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED';
|
14310
14429
|
}
|
14311
14430
|
}
|
14431
|
+
JWSSignatureVerificationFailed.code = 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED';
|
14312
14432
|
|
14313
14433
|
function unusable(name, prop = 'algorithm.name') {
|
14314
14434
|
return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
|
@@ -15791,7 +15911,7 @@ const LOCAL_STORAGE_SPOT_EVENTS_ARRAY_INDEX = {
|
|
15791
15911
|
class LocalStorageService {
|
15792
15912
|
constructor() {
|
15793
15913
|
if (typeof window.localStorage === 'undefined') {
|
15794
|
-
console.warn('Local storage is not supported in this environment');
|
15914
|
+
console.warn('LiquidCommerce Rmn Sdk: Local storage is not supported in this environment');
|
15795
15915
|
return;
|
15796
15916
|
}
|
15797
15917
|
this.setUserId();
|
@@ -16482,7 +16602,7 @@ if (typeof window !== 'undefined' && typeof window.customElements !== 'undefined
|
|
16482
16602
|
*/
|
16483
16603
|
validatePosition(position, optionName, defaultValue) {
|
16484
16604
|
if (!CustomCarouselElement.validPositions.has(position)) {
|
16485
|
-
console.warn(`Invalid ${optionName}: ${position}. Defaulting to '${defaultValue}'.`);
|
16605
|
+
console.warn(`LiquidCommerce Rmn Sdk: Invalid ${optionName}: ${position}. Defaulting to '${defaultValue}'.`);
|
16486
16606
|
if (optionName === 'dotsPosition') {
|
16487
16607
|
this.state.dots.position = defaultValue;
|
16488
16608
|
}
|
@@ -17023,7 +17143,7 @@ if (typeof window !== 'undefined' && typeof window.customElements !== 'undefined
|
|
17023
17143
|
if (this.state.useButtons &&
|
17024
17144
|
!this.state.buttons.together &&
|
17025
17145
|
this.state.buttons.position !== 'middle-sides') {
|
17026
|
-
console.warn('When buttons are not together, only "middle-sides" is allowed. Defaulting to "middle-sides".');
|
17146
|
+
console.warn('LiquidCommerce Rmn Sdk: When buttons are not together, only "middle-sides" is allowed. Defaulting to "middle-sides".');
|
17027
17147
|
this.state.buttons.position = 'middle-sides';
|
17028
17148
|
}
|
17029
17149
|
}
|
@@ -19183,6 +19303,7 @@ const SPOT_TEMPLATE_HTML_ELEMENT = (spot, config) => {
|
|
19183
19303
|
var AnalyticsTool;
|
19184
19304
|
(function (AnalyticsTool) {
|
19185
19305
|
AnalyticsTool["GoogleAnalytics"] = "google-analytics";
|
19306
|
+
AnalyticsTool["GoogleTagManager"] = "google-tag-manager";
|
19186
19307
|
AnalyticsTool["Other"] = "Other";
|
19187
19308
|
})(AnalyticsTool || (AnalyticsTool = {}));
|
19188
19309
|
|
@@ -19205,10 +19326,7 @@ class DataLayerMonitor {
|
|
19205
19326
|
start() {
|
19206
19327
|
window.dataLayer.push = (...args) => {
|
19207
19328
|
const result = this.originalPush.apply(window.dataLayer, args);
|
19208
|
-
if (!this.listener) {
|
19209
|
-
return result;
|
19210
|
-
}
|
19211
|
-
if (!Array.isArray(args) || args.length === 0) {
|
19329
|
+
if (!this.listener || !Array.isArray(args) || args.length === 0) {
|
19212
19330
|
return result;
|
19213
19331
|
}
|
19214
19332
|
for (const pushedEvent of args) {
|
@@ -19262,11 +19380,12 @@ class MonitorService {
|
|
19262
19380
|
const analyticsTool = this.detectAnalyticsTool();
|
19263
19381
|
switch (analyticsTool) {
|
19264
19382
|
case AnalyticsTool.GoogleAnalytics:
|
19383
|
+
case AnalyticsTool.GoogleTagManager:
|
19265
19384
|
this.implementedMonitor = DataLayerMonitor.getInstance();
|
19266
19385
|
break;
|
19267
19386
|
case AnalyticsTool.Other:
|
19268
19387
|
default:
|
19269
|
-
console.warn('This site uses an unsupported analytics tool.');
|
19388
|
+
console.warn('LiquidCommerce Rmn Sdk: This site uses an unsupported analytics tool.');
|
19270
19389
|
break;
|
19271
19390
|
}
|
19272
19391
|
if (analyticsTool === AnalyticsTool.Other) {
|
@@ -19328,26 +19447,22 @@ class MonitorService {
|
|
19328
19447
|
});
|
19329
19448
|
}
|
19330
19449
|
detectAnalyticsTool() {
|
19331
|
-
|
19332
|
-
|
19333
|
-
|
19334
|
-
|
19450
|
+
// Safely check for window and document
|
19451
|
+
const win = typeof window !== 'undefined' ? window : null;
|
19452
|
+
const doc = typeof document !== 'undefined' ? document : null;
|
19453
|
+
if (!win || !doc) {
|
19454
|
+
return AnalyticsTool.Other;
|
19335
19455
|
}
|
19336
|
-
// Check for
|
19337
|
-
if (typeof
|
19338
|
-
|
19456
|
+
// Check for GTM
|
19457
|
+
if (typeof win.google_tag_manager !== 'undefined' ||
|
19458
|
+
typeof win.dataLayer !== 'undefined') {
|
19459
|
+
return AnalyticsTool.GoogleTagManager;
|
19339
19460
|
}
|
19340
|
-
// Check for
|
19341
|
-
if (typeof
|
19342
|
-
|
19461
|
+
// Check for GA (both Universal Analytics and GA4)
|
19462
|
+
if (typeof win.ga !== 'undefined' || typeof win.gtag !== 'undefined') {
|
19463
|
+
return AnalyticsTool.GoogleAnalytics;
|
19343
19464
|
}
|
19344
|
-
|
19345
|
-
// Check for Heap Analytics
|
19346
|
-
// Check for Mixpanel
|
19347
|
-
// Check for Woopra
|
19348
|
-
// Check for Segment
|
19349
|
-
// Check for Amplitude
|
19350
|
-
return analyticsTool;
|
19465
|
+
return AnalyticsTool.Other;
|
19351
19466
|
}
|
19352
19467
|
}
|
19353
19468
|
|
@@ -20580,6 +20695,7 @@ class LiquidCommerceRmnClient {
|
|
20580
20695
|
}
|
20581
20696
|
/**
|
20582
20697
|
* Creates a new instance of the RmnClient.
|
20698
|
+
* Ensures the page is fully loaded before initializing.
|
20583
20699
|
*
|
20584
20700
|
* @param {string} apiKey - The api key.
|
20585
20701
|
* @param {IRmnConfig} config - The configuration object.
|
@@ -20587,10 +20703,28 @@ class LiquidCommerceRmnClient {
|
|
20587
20703
|
* @return {Promise<IRmnClient>} - The RmnClient instance.
|
20588
20704
|
*/
|
20589
20705
|
async function RmnClient(apiKey, config) {
|
20590
|
-
const
|
20591
|
-
|
20592
|
-
|
20593
|
-
|
20706
|
+
const initializeClient = async () => {
|
20707
|
+
const authService = AuthService.getInstance(apiKey, config.env);
|
20708
|
+
const credentials = await authService.initialize();
|
20709
|
+
if (typeof window !== 'undefined') {
|
20710
|
+
setUserId();
|
20711
|
+
}
|
20712
|
+
return new LiquidCommerceRmnClient(credentials);
|
20713
|
+
};
|
20714
|
+
if (typeof window === 'undefined') {
|
20715
|
+
return initializeClient();
|
20716
|
+
}
|
20717
|
+
// Return a promise that resolves when the page is loaded
|
20718
|
+
return new Promise((resolve) => {
|
20719
|
+
if (document.readyState === 'complete') {
|
20720
|
+
resolve(initializeClient());
|
20721
|
+
}
|
20722
|
+
else {
|
20723
|
+
window.addEventListener('load', () => {
|
20724
|
+
resolve(initializeClient());
|
20725
|
+
});
|
20726
|
+
}
|
20727
|
+
});
|
20594
20728
|
}
|
20595
20729
|
/**
|
20596
20730
|
* Creates a new instance of the RmnEventManager.
|
@@ -20640,7 +20774,7 @@ function RmnCreateSpotElement(spot, config) {
|
|
20640
20774
|
const spotData = elementService.overrideSpotColors(spot, config === null || config === void 0 ? void 0 : config.colors);
|
20641
20775
|
const content = SPOT_TEMPLATE_HTML_ELEMENT(spotData, { overlay: config === null || config === void 0 ? void 0 : config.overlay });
|
20642
20776
|
if (!content) {
|
20643
|
-
console.warn(`
|
20777
|
+
console.warn(`LiquidCommerce Rmn Sdk: Failed to create spot element for type "${spotData.spot}".`);
|
20644
20778
|
return null;
|
20645
20779
|
}
|
20646
20780
|
return elementService.createSpotElement({
|