@copart/ops-tool-kit 1.7.2 → 1.7.4

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.
@@ -33,7 +33,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
33
33
  var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
34
34
 
35
35
  const name$e = "@copart/ops-tool-kit";
36
- const version$3 = "1.7.2";
36
+ const version$3 = "1.7.4";
37
37
  const main = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -6333,6 +6333,7 @@ function () {
6333
6333
  return refreshToken();
6334
6334
 
6335
6335
  case 9:
6336
+ _context.sent;
6336
6337
  _context.next = 12;
6337
6338
  return fetcher.request(error.response.config);
6338
6339
 
@@ -11067,15 +11068,16 @@ function () {
11067
11068
  windshield_label_printers = [];
11068
11069
  country = countryA3code || storage$1.getSessionItem('dashboard', 'selectedCountryA3code'); // Fetch all printers from g2print-ws endpoint
11069
11070
 
11071
+ _context.prev = 8;
11070
11072
  g2PrintersUrl = "".concat(endpoints.g2Printers, "&facility=").concat(yardNumber);
11071
- _context.next = 11;
11073
+ _context.next = 12;
11072
11074
  return fetcher.get(g2PrintersUrl, {
11073
11075
  headers: {
11074
11076
  country: country
11075
11077
  }
11076
11078
  });
11077
11079
 
11078
- case 11:
11080
+ case 12:
11079
11081
  g2Printers = _context.sent;
11080
11082
  printersResponse = pathOr$1([], ['data'], g2Printers);
11081
11083
  printersResponse.forEach(function (printer) {
@@ -11109,6 +11111,15 @@ function () {
11109
11111
  standard_printers.push(obj);
11110
11112
  }
11111
11113
  });
11114
+ _context.next = 20;
11115
+ break;
11116
+
11117
+ case 17:
11118
+ _context.prev = 17;
11119
+ _context.t0 = _context["catch"](8);
11120
+ console.error(_context.t0);
11121
+
11122
+ case 20:
11112
11123
  return _context.abrupt("return", _objectSpread2({}, allPrinters, {
11113
11124
  check_printers: check_printers,
11114
11125
  barcode_label_printers: barcode_label_printers,
@@ -11117,12 +11128,12 @@ function () {
11117
11128
  text_printers: text_printers
11118
11129
  }));
11119
11130
 
11120
- case 15:
11131
+ case 21:
11121
11132
  case "end":
11122
11133
  return _context.stop();
11123
11134
  }
11124
11135
  }
11125
- }, _callee);
11136
+ }, _callee, null, [[8, 17]]);
11126
11137
  }));
11127
11138
 
11128
11139
  return function getPrintersForYard(_x, _x2) {
@@ -11130,6 +11141,42 @@ function () {
11130
11141
  };
11131
11142
  }();
11132
11143
 
11144
+ var getInnovationHubToken =
11145
+ /*#__PURE__*/
11146
+ function () {
11147
+ var _ref = _asyncToGenerator(
11148
+ /*#__PURE__*/
11149
+ regenerator.mark(function _callee() {
11150
+ var response;
11151
+ return regenerator.wrap(function _callee$(_context) {
11152
+ while (1) {
11153
+ switch (_context.prev = _context.next) {
11154
+ case 0:
11155
+ _context.next = 2;
11156
+ return fetcher.get('/api/v0/auth/innovationHubtoken', {
11157
+ headers: {
11158
+ 'Content-Type': 'application/json; charset=UTF-8'
11159
+ },
11160
+ responseType: 'json'
11161
+ });
11162
+
11163
+ case 2:
11164
+ response = _context.sent;
11165
+ return _context.abrupt("return", response.data.token);
11166
+
11167
+ case 4:
11168
+ case "end":
11169
+ return _context.stop();
11170
+ }
11171
+ }
11172
+ }, _callee);
11173
+ }));
11174
+
11175
+ return function getInnovationHubToken() {
11176
+ return _ref.apply(this, arguments);
11177
+ };
11178
+ }();
11179
+
11133
11180
  fetcher.login = login;
11134
11181
  fetcher.oktaLogin = oktaLogin;
11135
11182
  fetcher.getConfig = getConfig;
@@ -11144,6 +11191,7 @@ fetcher.getHierarchyOptions = getHierarchyOptions;
11144
11191
  fetcher.getPrintersForYard = getPrintersForYard;
11145
11192
  fetcher.getPermissions = getPermissions;
11146
11193
  fetcher.getCoreAppPermissions = getCoreAppPermissions;
11194
+ fetcher.getInnovationHubToken = getInnovationHubToken;
11147
11195
 
11148
11196
  var getRouteName = function getRouteName() {
11149
11197
  return window.location.pathname.split('/').splice(1)[0];
@@ -23485,7 +23533,7 @@ var saveSettings$1 = function saveSettings(self) {
23485
23533
  }
23486
23534
  }
23487
23535
  });
23488
- _self$state = self.state, selectedYard = _self$state.selectedYardNumber, selectedRole = _self$state.selectedRole, selectedLanguage = _self$state.selectedLanguage, selectedCurrency = _self$state.selectedCurrency, roles = _self$state.roles;
23536
+ _self$state = self.state, selectedYard = _self$state.selectedYardNumber, selectedRole = _self$state.selectedRole, selectedLanguage = _self$state.selectedLanguage, selectedCurrency = _self$state.selectedCurrency, roles = _self$state.roles, _self$state.selectedRoleOption;
23489
23537
  roleOptionFromState = roles.find(function (roleOption) {
23490
23538
  return frontEndUtils.regex.beautifyRoleText(roleOption.roleName) === selectedRole;
23491
23539
  }) || head$1(roles);
@@ -25186,7 +25234,8 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
25186
25234
 
25187
25235
  var AppBar$1 = function AppBar(props) {
25188
25236
  var coreAppConfig = storage.getLocalItem('opsportal-core:config');
25189
- var enableNewToolkitFeatures = coreAppConfig.enableNewToolkitFeatures;
25237
+ var enableNewToolkitFeatures = coreAppConfig.enableNewToolkitFeatures,
25238
+ ideaNoteUri = coreAppConfig.ideaNoteUri;
25190
25239
 
25191
25240
  var _useState = React.useState(false),
25192
25241
  _useState2 = _slicedToArray(_useState, 2),
@@ -25208,24 +25257,77 @@ var AppBar$1 = function AppBar(props) {
25208
25257
  ideaNoteVisible = _useState8[0],
25209
25258
  setIdeaNoteVisible = _useState8[1];
25210
25259
 
25260
+ var _useState9 = React.useState(null),
25261
+ _useState10 = _slicedToArray(_useState9, 2),
25262
+ ideaNoteToken = _useState10[0],
25263
+ setIdeaNoteToken = _useState10[1];
25264
+
25211
25265
  var isLoggedOn = props.isLoggedOn,
25212
25266
  moduleName = props.moduleName,
25213
25267
  forceUpdate = props.forceUpdate,
25214
25268
  onSettingsSaved = props.onSettingsSaved,
25215
25269
  showTitle = props.showTitle,
25216
- title = props.title;
25270
+ title = props.title,
25271
+ getInnovationHubToken = props.getInnovationHubToken;
25217
25272
 
25218
25273
  var _useWindowSize = useWindowSize(),
25219
25274
  width = _useWindowSize.width;
25220
25275
 
25221
- var _useState9 = React.useState(0),
25222
- _useState10 = _slicedToArray(_useState9, 2),
25223
- count = _useState10[0],
25224
- setCount = _useState10[1];
25276
+ var _useState11 = React.useState(0),
25277
+ _useState12 = _slicedToArray(_useState11, 2),
25278
+ count = _useState12[0],
25279
+ setCount = _useState12[1];
25225
25280
 
25226
25281
  React.useLayoutEffect(function () {
25227
25282
  setCount(count + 1);
25228
25283
  }, [width]);
25284
+ React.useEffect(function () {
25285
+ var getToken =
25286
+ /*#__PURE__*/
25287
+ function () {
25288
+ var _ref3 = _asyncToGenerator(
25289
+ /*#__PURE__*/
25290
+ regenerator.mark(function _callee() {
25291
+ var token;
25292
+ return regenerator.wrap(function _callee$(_context) {
25293
+ while (1) {
25294
+ switch (_context.prev = _context.next) {
25295
+ case 0:
25296
+ _context.prev = 0;
25297
+ _context.next = 3;
25298
+ return getInnovationHubToken();
25299
+
25300
+ case 3:
25301
+ token = _context.sent;
25302
+ setIdeaNoteToken(token);
25303
+ _context.next = 11;
25304
+ break;
25305
+
25306
+ case 7:
25307
+ _context.prev = 7;
25308
+ _context.t0 = _context["catch"](0);
25309
+ setIdeaNoteToken("TOKEN_ERROR");
25310
+ console.log(_context.t0);
25311
+
25312
+ case 11:
25313
+ case "end":
25314
+ return _context.stop();
25315
+ }
25316
+ }
25317
+ }, _callee, null, [[0, 7]]);
25318
+ }));
25319
+
25320
+ return function getToken() {
25321
+ return _ref3.apply(this, arguments);
25322
+ };
25323
+ }();
25324
+
25325
+ if (ideaNoteVisible) {
25326
+ getToken();
25327
+ } else {
25328
+ setIdeaNoteToken(null);
25329
+ }
25330
+ }, [ideaNoteVisible]);
25229
25331
 
25230
25332
  var onSave = function onSave(oldSettings, newSettings) {
25231
25333
  setCalloutTarget(null);
@@ -25327,7 +25429,7 @@ var AppBar$1 = function AppBar(props) {
25327
25429
  style: {
25328
25430
  fontSize: '30px'
25329
25431
  }
25330
- }))), React__default["default"].createElement("iframe", {
25432
+ }))), ideaNoteToken ? React__default["default"].createElement("iframe", {
25331
25433
  allowfullscreen: true,
25332
25434
  name: "idea-widget-frame",
25333
25435
  title: "Idea Collection Widget",
@@ -25340,7 +25442,17 @@ var AppBar$1 = function AppBar(props) {
25340
25442
  maxWidth: '443px',
25341
25443
  backgroundColor: 'white'
25342
25444
  },
25343
- src: "https://idea-widget.ideanote.io?config=66ff516339"
25445
+ src: ideaNoteToken === "TOKEN_ERROR" ? ideaNoteUri : "".concat(ideaNoteUri, "&auth.jwt=").concat(ideaNoteToken)
25446
+ }) : React__default["default"].createElement("div", {
25447
+ style: {
25448
+ position: 'absolute',
25449
+ bottom: '0',
25450
+ right: '0',
25451
+ height: '100vh',
25452
+ width: '90vw',
25453
+ maxWidth: '443px',
25454
+ backgroundColor: 'white'
25455
+ }
25344
25456
  })));
25345
25457
  };
25346
25458
  AppBar$1.defaultProps = {
@@ -30561,6 +30673,7 @@ var AppBar = function AppBar(_ref) {
30561
30673
  isMihelpEnabled: isMihelpEnabled,
30562
30674
  isIdeaNoteEnabled: isIdeaNoteEnabled,
30563
30675
  sendFeedback: fetcher.sendFeedback,
30676
+ getInnovationHubToken: fetcher.getInnovationHubToken,
30564
30677
  feedbackConfig: feedbackConfig(),
30565
30678
  stack: process.env.STACK,
30566
30679
  phoneStatusObject: ringcentral,
@@ -34521,7 +34634,7 @@ var core = createCommonjsModule(function (module, exports) {
34521
34634
  (function (root, factory) {
34522
34635
  {
34523
34636
  // CommonJS
34524
- module.exports = exports = factory();
34637
+ module.exports = factory();
34525
34638
  }
34526
34639
  })(commonjsGlobal, function () {
34527
34640
  /*globals window, global, require*/
@@ -35299,7 +35412,7 @@ var x64Core = createCommonjsModule(function (module, exports) {
35299
35412
  (function (root, factory) {
35300
35413
  {
35301
35414
  // CommonJS
35302
- module.exports = exports = factory(core);
35415
+ module.exports = factory(core);
35303
35416
  }
35304
35417
  })(commonjsGlobal, function (CryptoJS) {
35305
35418
  (function (undefined$1) {
@@ -35588,7 +35701,7 @@ var libTypedarrays = createCommonjsModule(function (module, exports) {
35588
35701
  (function (root, factory) {
35589
35702
  {
35590
35703
  // CommonJS
35591
- module.exports = exports = factory(core);
35704
+ module.exports = factory(core);
35592
35705
  }
35593
35706
  })(commonjsGlobal, function (CryptoJS) {
35594
35707
  (function () {
@@ -35646,7 +35759,7 @@ var encUtf16 = createCommonjsModule(function (module, exports) {
35646
35759
  (function (root, factory) {
35647
35760
  {
35648
35761
  // CommonJS
35649
- module.exports = exports = factory(core);
35762
+ module.exports = factory(core);
35650
35763
  }
35651
35764
  })(commonjsGlobal, function (CryptoJS) {
35652
35765
  (function () {
@@ -35788,7 +35901,7 @@ var encBase64 = createCommonjsModule(function (module, exports) {
35788
35901
  (function (root, factory) {
35789
35902
  {
35790
35903
  // CommonJS
35791
- module.exports = exports = factory(core);
35904
+ module.exports = factory(core);
35792
35905
  }
35793
35906
  })(commonjsGlobal, function (CryptoJS) {
35794
35907
  (function () {
@@ -35919,7 +36032,7 @@ var encBase64url = createCommonjsModule(function (module, exports) {
35919
36032
  (function (root, factory) {
35920
36033
  {
35921
36034
  // CommonJS
35922
- module.exports = exports = factory(core);
36035
+ module.exports = factory(core);
35923
36036
  }
35924
36037
  })(commonjsGlobal, function (CryptoJS) {
35925
36038
  (function () {
@@ -36055,7 +36168,7 @@ var md5 = createCommonjsModule(function (module, exports) {
36055
36168
  (function (root, factory) {
36056
36169
  {
36057
36170
  // CommonJS
36058
- module.exports = exports = factory(core);
36171
+ module.exports = factory(core);
36059
36172
  }
36060
36173
  })(commonjsGlobal, function (CryptoJS) {
36061
36174
  (function (Math) {
@@ -36284,7 +36397,7 @@ var sha1$1 = createCommonjsModule(function (module, exports) {
36284
36397
  (function (root, factory) {
36285
36398
  {
36286
36399
  // CommonJS
36287
- module.exports = exports = factory(core);
36400
+ module.exports = factory(core);
36288
36401
  }
36289
36402
  })(commonjsGlobal, function (CryptoJS) {
36290
36403
  (function () {
@@ -36416,7 +36529,7 @@ var sha256 = createCommonjsModule(function (module, exports) {
36416
36529
  (function (root, factory) {
36417
36530
  {
36418
36531
  // CommonJS
36419
- module.exports = exports = factory(core);
36532
+ module.exports = factory(core);
36420
36533
  }
36421
36534
  })(commonjsGlobal, function (CryptoJS) {
36422
36535
  (function (Math) {
@@ -36590,7 +36703,7 @@ var sha224 = createCommonjsModule(function (module, exports) {
36590
36703
  (function (root, factory, undef) {
36591
36704
  {
36592
36705
  // CommonJS
36593
- module.exports = exports = factory(core, sha256);
36706
+ module.exports = factory(core, sha256);
36594
36707
  }
36595
36708
  })(commonjsGlobal, function (CryptoJS) {
36596
36709
  (function () {
@@ -36658,7 +36771,7 @@ var sha512 = createCommonjsModule(function (module, exports) {
36658
36771
  (function (root, factory, undef) {
36659
36772
  {
36660
36773
  // CommonJS
36661
- module.exports = exports = factory(core, x64Core);
36774
+ module.exports = factory(core, x64Core);
36662
36775
  }
36663
36776
  })(commonjsGlobal, function (CryptoJS) {
36664
36777
  (function () {
@@ -36908,7 +37021,7 @@ var sha384 = createCommonjsModule(function (module, exports) {
36908
37021
  (function (root, factory, undef) {
36909
37022
  {
36910
37023
  // CommonJS
36911
- module.exports = exports = factory(core, x64Core, sha512);
37024
+ module.exports = factory(core, x64Core, sha512);
36912
37025
  }
36913
37026
  })(commonjsGlobal, function (CryptoJS) {
36914
37027
  (function () {
@@ -36977,7 +37090,7 @@ var sha3 = createCommonjsModule(function (module, exports) {
36977
37090
  (function (root, factory, undef) {
36978
37091
  {
36979
37092
  // CommonJS
36980
- module.exports = exports = factory(core, x64Core);
37093
+ module.exports = factory(core, x64Core);
36981
37094
  }
36982
37095
  })(commonjsGlobal, function (CryptoJS) {
36983
37096
  (function (Math) {
@@ -37281,7 +37394,7 @@ var ripemd160 = createCommonjsModule(function (module, exports) {
37281
37394
  (function (root, factory) {
37282
37395
  {
37283
37396
  // CommonJS
37284
- module.exports = exports = factory(core);
37397
+ module.exports = factory(core);
37285
37398
  }
37286
37399
  })(commonjsGlobal, function (CryptoJS) {
37287
37400
  /** @preserve
@@ -37506,7 +37619,7 @@ var hmac = createCommonjsModule(function (module, exports) {
37506
37619
  (function (root, factory) {
37507
37620
  {
37508
37621
  // CommonJS
37509
- module.exports = exports = factory(core);
37622
+ module.exports = factory(core);
37510
37623
  }
37511
37624
  })(commonjsGlobal, function (CryptoJS) {
37512
37625
  (function () {
@@ -37634,7 +37747,7 @@ var pbkdf2 = createCommonjsModule(function (module, exports) {
37634
37747
  (function (root, factory, undef) {
37635
37748
  {
37636
37749
  // CommonJS
37637
- module.exports = exports = factory(core, sha1$1, hmac);
37750
+ module.exports = factory(core, sha1$1, hmac);
37638
37751
  }
37639
37752
  })(commonjsGlobal, function (CryptoJS) {
37640
37753
  (function () {
@@ -37765,7 +37878,7 @@ var evpkdf = createCommonjsModule(function (module, exports) {
37765
37878
  (function (root, factory, undef) {
37766
37879
  {
37767
37880
  // CommonJS
37768
- module.exports = exports = factory(core, sha1$1, hmac);
37881
+ module.exports = factory(core, sha1$1, hmac);
37769
37882
  }
37770
37883
  })(commonjsGlobal, function (CryptoJS) {
37771
37884
  (function () {
@@ -37887,7 +38000,7 @@ var cipherCore = createCommonjsModule(function (module, exports) {
37887
38000
  (function (root, factory, undef) {
37888
38001
  {
37889
38002
  // CommonJS
37890
- module.exports = exports = factory(core, evpkdf);
38003
+ module.exports = factory(core, evpkdf);
37891
38004
  }
37892
38005
  })(commonjsGlobal, function (CryptoJS) {
37893
38006
  /**
@@ -38729,7 +38842,7 @@ var modeCfb = createCommonjsModule(function (module, exports) {
38729
38842
  (function (root, factory, undef) {
38730
38843
  {
38731
38844
  // CommonJS
38732
- module.exports = exports = factory(core, cipherCore);
38845
+ module.exports = factory(core, cipherCore);
38733
38846
  }
38734
38847
  })(commonjsGlobal, function (CryptoJS) {
38735
38848
  /**
@@ -38792,7 +38905,7 @@ var modeCtr = createCommonjsModule(function (module, exports) {
38792
38905
  (function (root, factory, undef) {
38793
38906
  {
38794
38907
  // CommonJS
38795
- module.exports = exports = factory(core, cipherCore);
38908
+ module.exports = factory(core, cipherCore);
38796
38909
  }
38797
38910
  })(commonjsGlobal, function (CryptoJS) {
38798
38911
  /**
@@ -38837,7 +38950,7 @@ var modeCtrGladman = createCommonjsModule(function (module, exports) {
38837
38950
  (function (root, factory, undef) {
38838
38951
  {
38839
38952
  // CommonJS
38840
- module.exports = exports = factory(core, cipherCore);
38953
+ module.exports = factory(core, cipherCore);
38841
38954
  }
38842
38955
  })(commonjsGlobal, function (CryptoJS) {
38843
38956
  /** @preserve
@@ -38930,7 +39043,7 @@ var modeOfb = createCommonjsModule(function (module, exports) {
38930
39043
  (function (root, factory, undef) {
38931
39044
  {
38932
39045
  // CommonJS
38933
- module.exports = exports = factory(core, cipherCore);
39046
+ module.exports = factory(core, cipherCore);
38934
39047
  }
38935
39048
  })(commonjsGlobal, function (CryptoJS) {
38936
39049
  /**
@@ -38972,7 +39085,7 @@ var modeEcb = createCommonjsModule(function (module, exports) {
38972
39085
  (function (root, factory, undef) {
38973
39086
  {
38974
39087
  // CommonJS
38975
- module.exports = exports = factory(core, cipherCore);
39088
+ module.exports = factory(core, cipherCore);
38976
39089
  }
38977
39090
  })(commonjsGlobal, function (CryptoJS) {
38978
39091
  /**
@@ -39002,7 +39115,7 @@ var padAnsix923 = createCommonjsModule(function (module, exports) {
39002
39115
  (function (root, factory, undef) {
39003
39116
  {
39004
39117
  // CommonJS
39005
- module.exports = exports = factory(core, cipherCore);
39118
+ module.exports = factory(core, cipherCore);
39006
39119
  }
39007
39120
  })(commonjsGlobal, function (CryptoJS) {
39008
39121
  /**
@@ -39038,7 +39151,7 @@ var padIso10126 = createCommonjsModule(function (module, exports) {
39038
39151
  (function (root, factory, undef) {
39039
39152
  {
39040
39153
  // CommonJS
39041
- module.exports = exports = factory(core, cipherCore);
39154
+ module.exports = factory(core, cipherCore);
39042
39155
  }
39043
39156
  })(commonjsGlobal, function (CryptoJS) {
39044
39157
  /**
@@ -39069,7 +39182,7 @@ var padIso97971 = createCommonjsModule(function (module, exports) {
39069
39182
  (function (root, factory, undef) {
39070
39183
  {
39071
39184
  // CommonJS
39072
- module.exports = exports = factory(core, cipherCore);
39185
+ module.exports = factory(core, cipherCore);
39073
39186
  }
39074
39187
  })(commonjsGlobal, function (CryptoJS) {
39075
39188
  /**
@@ -39098,7 +39211,7 @@ var padZeropadding = createCommonjsModule(function (module, exports) {
39098
39211
  (function (root, factory, undef) {
39099
39212
  {
39100
39213
  // CommonJS
39101
- module.exports = exports = factory(core, cipherCore);
39214
+ module.exports = factory(core, cipherCore);
39102
39215
  }
39103
39216
  })(commonjsGlobal, function (CryptoJS) {
39104
39217
  /**
@@ -39135,7 +39248,7 @@ var padNopadding = createCommonjsModule(function (module, exports) {
39135
39248
  (function (root, factory, undef) {
39136
39249
  {
39137
39250
  // CommonJS
39138
- module.exports = exports = factory(core, cipherCore);
39251
+ module.exports = factory(core, cipherCore);
39139
39252
  }
39140
39253
  })(commonjsGlobal, function (CryptoJS) {
39141
39254
  /**
@@ -39154,7 +39267,7 @@ var formatHex = createCommonjsModule(function (module, exports) {
39154
39267
  (function (root, factory, undef) {
39155
39268
  {
39156
39269
  // CommonJS
39157
- module.exports = exports = factory(core, cipherCore);
39270
+ module.exports = factory(core, cipherCore);
39158
39271
  }
39159
39272
  })(commonjsGlobal, function (CryptoJS) {
39160
39273
  (function (undefined$1) {
@@ -39214,7 +39327,7 @@ var aes = createCommonjsModule(function (module, exports) {
39214
39327
  (function (root, factory, undef) {
39215
39328
  {
39216
39329
  // CommonJS
39217
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
39330
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
39218
39331
  }
39219
39332
  })(commonjsGlobal, function (CryptoJS) {
39220
39333
  (function () {
@@ -39423,7 +39536,7 @@ var tripledes = createCommonjsModule(function (module, exports) {
39423
39536
  (function (root, factory, undef) {
39424
39537
  {
39425
39538
  // CommonJS
39426
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
39539
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
39427
39540
  }
39428
39541
  })(commonjsGlobal, function (CryptoJS) {
39429
39542
  (function () {
@@ -40151,7 +40264,7 @@ var rc4 = createCommonjsModule(function (module, exports) {
40151
40264
  (function (root, factory, undef) {
40152
40265
  {
40153
40266
  // CommonJS
40154
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40267
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40155
40268
  }
40156
40269
  })(commonjsGlobal, function (CryptoJS) {
40157
40270
  (function () {
@@ -40275,7 +40388,7 @@ var rabbit = createCommonjsModule(function (module, exports) {
40275
40388
  (function (root, factory, undef) {
40276
40389
  {
40277
40390
  // CommonJS
40278
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40391
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40279
40392
  }
40280
40393
  })(commonjsGlobal, function (CryptoJS) {
40281
40394
  (function () {
@@ -40430,7 +40543,7 @@ var rabbitLegacy = createCommonjsModule(function (module, exports) {
40430
40543
  (function (root, factory, undef) {
40431
40544
  {
40432
40545
  // CommonJS
40433
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40546
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40434
40547
  }
40435
40548
  })(commonjsGlobal, function (CryptoJS) {
40436
40549
  (function () {
@@ -40584,7 +40697,7 @@ var cryptoJs = createCommonjsModule(function (module, exports) {
40584
40697
  (function (root, factory, undef) {
40585
40698
  {
40586
40699
  // CommonJS
40587
- module.exports = exports = factory(core, x64Core, libTypedarrays, encUtf16, encBase64, encBase64url, md5, sha1$1, sha256, sha224, sha512, sha384, sha3, ripemd160, hmac, pbkdf2, evpkdf, cipherCore, modeCfb, modeCtr, modeCtrGladman, modeOfb, modeEcb, padAnsix923, padIso10126, padIso97971, padZeropadding, padNopadding, formatHex, aes, tripledes, rc4, rabbit, rabbitLegacy);
40700
+ module.exports = factory(core, x64Core, libTypedarrays, encUtf16, encBase64, encBase64url, md5, sha1$1, sha256, sha224, sha512, sha384, sha3, ripemd160, hmac, pbkdf2, evpkdf, cipherCore, modeCfb, modeCtr, modeCtrGladman, modeOfb, modeEcb, padAnsix923, padIso10126, padIso97971, padZeropadding, padNopadding, formatHex, aes, tripledes, rc4, rabbit, rabbitLegacy);
40588
40701
  }
40589
40702
  })(commonjsGlobal, function (CryptoJS) {
40590
40703
  return CryptoJS;