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