@liquidcommercedev/rmn-sdk 1.5.0-beta.22 → 1.5.0-beta.24

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