@mjhls/mjh-framework 1.0.505 → 1.0.506

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/README.md +172 -172
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +3 -3
  4. package/dist/cjs/AD300x250x600.js +3 -3
  5. package/dist/cjs/AD728x90.js +4 -4
  6. package/dist/cjs/ADFloatingFooter.js +2 -2
  7. package/dist/cjs/ADGutter.js +2 -2
  8. package/dist/cjs/ADSponsoredResources.js +2 -2
  9. package/dist/cjs/ADWebcast.js +2 -2
  10. package/dist/cjs/ADWelcome.js +2 -2
  11. package/dist/cjs/AdSlot.js +2 -2
  12. package/dist/cjs/AdSlotsProvider.js +1 -1
  13. package/dist/cjs/ArticleQueue.js +8 -8
  14. package/dist/cjs/Auth.js +301 -250
  15. package/dist/cjs/CMEDeck.js +5 -5
  16. package/dist/cjs/Column3.js +4 -4
  17. package/dist/cjs/ConferenceArticleCard.js +16 -16
  18. package/dist/cjs/DeckContent.js +14 -14
  19. package/dist/cjs/DeckQueue.js +5 -5
  20. package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-fbe32b96.js} +1 -1
  21. package/dist/cjs/EventsDeck.js +22 -22
  22. package/dist/cjs/ExternalResources.js +4 -4
  23. package/dist/cjs/Feature.js +2 -2
  24. package/dist/cjs/ForbesHero.js +1 -1
  25. package/dist/cjs/GridContent.js +9 -9
  26. package/dist/cjs/GridHero.js +1 -1
  27. package/dist/cjs/GroupDeck.js +4 -4
  28. package/dist/cjs/HamMagazine.js +11 -11
  29. package/dist/cjs/HorizontalHero.js +1 -1
  30. package/dist/cjs/IssueContentDeck.js +1 -1
  31. package/dist/cjs/IssueDeck.js +1 -1
  32. package/dist/cjs/IssueLanding.js +35 -35
  33. package/dist/cjs/KMTracker.js +15 -15
  34. package/dist/cjs/LeftNav.js +2 -2
  35. package/dist/cjs/MasterDeck.js +15 -15
  36. package/dist/cjs/NavMagazine.js +12 -12
  37. package/dist/cjs/NavNative.js +11 -11
  38. package/dist/cjs/OncliveHero.js +1 -1
  39. package/dist/cjs/OncliveLargeHero.js +1 -1
  40. package/dist/cjs/PartnerDetailListing.js +6 -6
  41. package/dist/cjs/PublicationLanding.js +33 -33
  42. package/dist/cjs/QueueDeckExpanded.js +7 -7
  43. package/dist/cjs/RelatedContent.js +29 -29
  44. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  45. package/dist/cjs/SideFooter.js +2 -2
  46. package/dist/cjs/TemplateNormal.js +2 -2
  47. package/dist/cjs/Ustream.js +2 -2
  48. package/dist/cjs/VerticalHero.js +1 -1
  49. package/dist/cjs/VideoSeriesFilter.js +1 -1
  50. package/dist/cjs/VideoSeriesListing.js +3 -3
  51. package/dist/cjs/View.js +12 -12
  52. package/dist/cjs/YahooHero.js +1 -1
  53. package/dist/cjs/YoutubeGroup.js +4 -4
  54. package/dist/cjs/getQuery.js +1 -1
  55. package/dist/cjs/getRelatedArticle.js +1 -1
  56. package/dist/cjs/getSerializers.js +4 -4
  57. package/dist/cjs/{getTargeting-86e68d62.js → getTargeting-b15993cb.js} +9 -9
  58. package/dist/cjs/getTargeting.js +1 -1
  59. package/dist/cjs/{index-1469fb8d.js → index-5be2866f.js} +1 -1
  60. package/dist/cjs/{index-fa3cec70.js → index-f7ee1612.js} +4 -6
  61. package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
  62. package/dist/cjs/index.js +8 -8
  63. package/dist/cjs/{main-00905561.js → main-bc4db521.js} +61 -30
  64. package/dist/cjs/{moment-3cf060f6.js → moment-66a6a284.js} +5 -5
  65. package/dist/cjs/urlFor.js +1 -1
  66. package/dist/esm/AD.js +1 -1
  67. package/dist/esm/AD300x250.js +3 -3
  68. package/dist/esm/AD300x250x600.js +3 -3
  69. package/dist/esm/AD728x90.js +4 -4
  70. package/dist/esm/ADFloatingFooter.js +2 -2
  71. package/dist/esm/ADGutter.js +2 -2
  72. package/dist/esm/ADSponsoredResources.js +2 -2
  73. package/dist/esm/ADWebcast.js +2 -2
  74. package/dist/esm/ADWelcome.js +2 -2
  75. package/dist/esm/AdSlot.js +2 -2
  76. package/dist/esm/AdSlotsProvider.js +1 -1
  77. package/dist/esm/ArticleQueue.js +8 -8
  78. package/dist/esm/Auth.js +301 -250
  79. package/dist/esm/CMEDeck.js +5 -5
  80. package/dist/esm/Column3.js +4 -4
  81. package/dist/esm/ConferenceArticleCard.js +16 -16
  82. package/dist/esm/DeckContent.js +14 -14
  83. package/dist/esm/DeckQueue.js +5 -5
  84. package/dist/esm/{Dfp-58cfc45a.js → Dfp-6d2b24a0.js} +1 -1
  85. package/dist/esm/EventsDeck.js +22 -22
  86. package/dist/esm/ExternalResources.js +4 -4
  87. package/dist/esm/Feature.js +2 -2
  88. package/dist/esm/ForbesHero.js +1 -1
  89. package/dist/esm/GridContent.js +9 -9
  90. package/dist/esm/GridHero.js +1 -1
  91. package/dist/esm/GroupDeck.js +4 -4
  92. package/dist/esm/HamMagazine.js +11 -11
  93. package/dist/esm/HorizontalHero.js +1 -1
  94. package/dist/esm/IssueContentDeck.js +1 -1
  95. package/dist/esm/IssueDeck.js +1 -1
  96. package/dist/esm/IssueLanding.js +35 -35
  97. package/dist/esm/KMTracker.js +15 -15
  98. package/dist/esm/LeftNav.js +2 -2
  99. package/dist/esm/MasterDeck.js +15 -15
  100. package/dist/esm/NavMagazine.js +12 -12
  101. package/dist/esm/NavNative.js +11 -11
  102. package/dist/esm/OncliveHero.js +1 -1
  103. package/dist/esm/OncliveLargeHero.js +1 -1
  104. package/dist/esm/PartnerDetailListing.js +6 -6
  105. package/dist/esm/PublicationLanding.js +33 -33
  106. package/dist/esm/QueueDeckExpanded.js +7 -7
  107. package/dist/esm/RelatedContent.js +29 -29
  108. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  109. package/dist/esm/SideFooter.js +2 -2
  110. package/dist/esm/TemplateNormal.js +2 -2
  111. package/dist/esm/Ustream.js +2 -2
  112. package/dist/esm/VerticalHero.js +1 -1
  113. package/dist/esm/VideoSeriesFilter.js +1 -1
  114. package/dist/esm/VideoSeriesListing.js +3 -3
  115. package/dist/esm/View.js +12 -12
  116. package/dist/esm/YahooHero.js +1 -1
  117. package/dist/esm/YoutubeGroup.js +4 -4
  118. package/dist/esm/getQuery.js +1 -1
  119. package/dist/esm/getRelatedArticle.js +1 -1
  120. package/dist/esm/getSerializers.js +4 -4
  121. package/dist/esm/{getTargeting-1f2c61e3.js → getTargeting-1a0bd08d.js} +9 -9
  122. package/dist/esm/getTargeting.js +1 -1
  123. package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
  124. package/dist/esm/{index-f8655eb3.js → index-d2f90501.js} +1 -1
  125. package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
  126. package/dist/esm/index.js +8 -8
  127. package/dist/esm/{main-adf6ec37.js → main-7255814e.js} +60 -29
  128. package/dist/esm/{moment-49ae13fa.js → moment-12415288.js} +5 -5
  129. package/dist/esm/urlFor.js +1 -1
  130. package/package.json +107 -107
  131. /package/dist/cjs/{ADInfeed-be4cdcbe.js → ADInfeed-0ce661fa.js} +0 -0
  132. /package/dist/cjs/{ADlgInfeed-fc008889.js → ADlgInfeed-3e685576.js} +0 -0
  133. /package/dist/esm/{ADInfeed-15266562.js → ADInfeed-c651007e.js} +0 -0
  134. /package/dist/esm/{ADlgInfeed-64346b44.js → ADlgInfeed-9ff12f94.js} +0 -0
package/dist/esm/View.js CHANGED
@@ -13,17 +13,17 @@ import './web.dom.iterable-46c95e52.js';
13
13
  import { _ as _typeof } from './typeof-5f046efd.js';
14
14
  import './_is-array-dd5523d6.js';
15
15
  import React__default, { useState, useEffect } from 'react';
16
- import { l as lib_3 } from './index-3f4dd6f2.js';
16
+ import { l as lib_3 } from './index-93ec3c59.js';
17
17
  import 'prop-types';
18
- import { m as moment } from './moment-49ae13fa.js';
18
+ import { m as moment } from './moment-12415288.js';
19
19
  import 'next/router';
20
20
  import './isSymbol-c1b9be80.js';
21
21
  import './debounce-8cd9e09c.js';
22
- import { I as InfiniteScroll } from './index.es-29c1cef5.js';
22
+ import { I as InfiniteScroll } from './index.es-938a3a58.js';
23
23
  import 'react-dom';
24
24
  import './index-51a80699.js';
25
25
  import './index-5f9f807a.js';
26
- import { m as main_36 } from './main-adf6ec37.js';
26
+ import { m as main_39 } from './main-7255814e.js';
27
27
  import './entities-7cc3bf45.js';
28
28
  import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-f1e40361.js';
29
29
  import { _ as _JSON$stringify } from './stringify-e30bc114.js';
@@ -53,7 +53,7 @@ import { I as InscreenSensor, i as includes_1 } from './InscreenSensor-67905ed5.
53
53
  import getKeywords from './getKeywords.js';
54
54
  import getSeriesDetail from './getSeriesDetail.js';
55
55
  import getQuery from './getQuery.js';
56
- import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-1f2c61e3.js';
56
+ import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-1a0bd08d.js';
57
57
  import urlFor from './urlFor.js';
58
58
 
59
59
  var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
@@ -93,7 +93,7 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
93
93
  return null;
94
94
  }
95
95
  var url = void 0;
96
- if (docGroup.path.includes('/')) {
96
+ if (docGroup.path && docGroup.path.includes('/')) {
97
97
  return "/" + docGroup.path;
98
98
  }
99
99
 
@@ -154,9 +154,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
154
154
  style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
155
155
  thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
156
156
  !thumbnailUrl && React__default.createElement('p', {
157
- style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_36 ? 'left' : 'right', marginTop: '.25rem' },
157
+ style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_39 ? 'left' : 'right', marginTop: '.25rem' },
158
158
  dangerouslySetInnerHTML: { __html: name } }),
159
- main_36 && !thumbnailUrl && React__default.createElement(
159
+ main_39 && !thumbnailUrl && React__default.createElement(
160
160
  'style',
161
161
  { jsx: 'true' },
162
162
  '\n a.doc-group {\n display: block !important;\n padding: 0!important;\n }\n '
@@ -763,7 +763,7 @@ var Article = function Article(props) {
763
763
  React__default.createElement(
764
764
  'div',
765
765
  { className: 'ad-box', style: { textAlign: 'center' } },
766
- main_36 && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
766
+ main_39 && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
767
767
  if (index === 0) {
768
768
  return React__default.createElement(
769
769
  'div',
@@ -818,7 +818,7 @@ var Article = function Article(props) {
818
818
  renderIsiContent(props.article)
819
819
  )
820
820
  ),
821
- main_36 && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
821
+ main_39 && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
822
822
  if (index > 0) {
823
823
  return React__default.createElement(
824
824
  'div',
@@ -916,7 +916,7 @@ var ArticleQueue = function ArticleQueue(props) {
916
916
  });
917
917
  var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
918
918
 
919
- if (!main_36) {
919
+ if (!main_39) {
920
920
  lib_3.getGoogletag().then(function (googletag) {
921
921
  if (window.googletag && googletag.pubadsReady) {
922
922
  var slots = googletag.pubads().getSlots();
@@ -934,7 +934,7 @@ var ArticleQueue = function ArticleQueue(props) {
934
934
  });
935
935
  }
936
936
  //Refresh leaderboard ad on mobile
937
- if (main_36) {
937
+ if (main_39) {
938
938
  var leaderboardSlotId = '';
939
939
  lib_3.getGoogletag().then(function (googletag) {
940
940
  if (window.googletag && googletag.pubadsReady) {
@@ -4,7 +4,7 @@ import './core.get-iterator-method-f5c0d66a.js';
4
4
  import './web.dom.iterable-46c95e52.js';
5
5
  import React__default from 'react';
6
6
  import 'prop-types';
7
- import { m as moment } from './moment-49ae13fa.js';
7
+ import { m as moment } from './moment-12415288.js';
8
8
  import 'react-dom';
9
9
  import { i as imageUrlBuilder } from './index-51a80699.js';
10
10
  import { L as LazyLoad } from './index-5f9f807a.js';
@@ -14,10 +14,10 @@ import { L as LazyLoad } from './index-5f9f807a.js';
14
14
  import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
15
15
  import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
16
16
 
17
- /*
18
- GROQ query -
19
- accepts an array of title, URL
20
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
17
+ /*
18
+ GROQ query -
19
+ accepts an array of title, URL
20
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
21
21
  */
22
22
 
23
23
  var YoutubeGroup = function YoutubeGroup(props) {
@@ -1,5 +1,5 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import { m as moment } from './moment-49ae13fa.js';
2
+ import { m as moment } from './moment-12415288.js';
3
3
 
4
4
  var getQuery = function getQuery(type) {
5
5
  var conditions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
@@ -4,7 +4,7 @@ import './core.get-iterator-method-f5c0d66a.js';
4
4
  import './_library-528f1934.js';
5
5
  import './_iter-detect-6e099a34.js';
6
6
  import './web.dom.iterable-46c95e52.js';
7
- import './moment-49ae13fa.js';
7
+ import './moment-12415288.js';
8
8
  import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-0379e924.js';
9
9
  import './_set-species-6f64f1c1.js';
10
10
  import { parseCookies, setCookie } from 'nookies';
@@ -10,7 +10,7 @@ import './web.dom.iterable-46c95e52.js';
10
10
  import './typeof-5f046efd.js';
11
11
  import './_is-array-dd5523d6.js';
12
12
  import React__default, { useState, useEffect } from 'react';
13
- import { l as lib_3 } from './index-3f4dd6f2.js';
13
+ import { l as lib_3 } from './index-93ec3c59.js';
14
14
  import PropTypes from 'prop-types';
15
15
  import Router, { useRouter } from 'next/router';
16
16
  import './isSymbol-c1b9be80.js';
@@ -18,7 +18,7 @@ import './debounce-8cd9e09c.js';
18
18
  import 'react-dom';
19
19
  import { i as imageUrlBuilder } from './index-51a80699.js';
20
20
  import { L as LazyLoad } from './index-5f9f807a.js';
21
- import { b as main_16, c as main_35 } from './main-adf6ec37.js';
21
+ import { b as main_16, c as main_38 } from './main-7255814e.js';
22
22
  import { h as html_decode_1 } from './entities-7cc3bf45.js';
23
23
  import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
24
24
  import './stringify-e30bc114.js';
@@ -7446,7 +7446,7 @@ var Poll = function Poll(_ref) {
7446
7446
  );
7447
7447
  };
7448
7448
 
7449
- var numberOfPaginations = main_35 ? 4 : 10;
7449
+ var numberOfPaginations = main_38 ? 4 : 10;
7450
7450
 
7451
7451
  var Quiz = function Quiz(_ref) {
7452
7452
  var quizzes = _ref.quizzes,
@@ -7559,7 +7559,7 @@ var Quiz = function Quiz(_ref) {
7559
7559
  var renderPagination = function renderPagination() {
7560
7560
  return React__default.createElement(
7561
7561
  Pagination,
7562
- { className: 'p-0 m-0', size: main_35 && 'sm' },
7562
+ { className: 'p-0 m-0', size: main_38 && 'sm' },
7563
7563
  React__default.createElement(Pagination.First, { onClick: function onClick() {
7564
7564
  return changePage('first');
7565
7565
  }, disabled: currentPage === 1 }),
@@ -2,18 +2,18 @@ import { _ as _toConsumableArray } from './toConsumableArray-8712d678.js';
2
2
  import { _ as _extends } from './extends-6e00b262.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + cp.path;
14
+ cp_url += (cp_url === '' ? '' : '/') + cp.path;
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {
@@ -6,4 +6,4 @@ import './from-2c0a5f49.js';
6
6
  import './toConsumableArray-8712d678.js';
7
7
  import './_object-pie-33c40e79.js';
8
8
  import './extends-6e00b262.js';
9
- export { g as default } from './getTargeting-1f2c61e3.js';
9
+ export { g as default } from './getTargeting-1a0bd08d.js';
@@ -821,15 +821,13 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
821
821
  });
822
822
 
823
823
  if (_this5.lazyLoadIsEnabled()) {
824
- var args = [];
825
-
826
824
  var config = _this5.getLazyLoadConfig();
827
825
 
828
- if (config !== null) {
829
- args.push(config);
826
+ if (config) {
827
+ pubadsService.enableLazyLoad(config);
828
+ } else {
829
+ pubadsService.enableLazyLoad();
830
830
  }
831
-
832
- pubadsService.enableLazyLoad.call(args);
833
831
  }
834
832
 
835
833
  if (_this5.singleRequestIsEnabled()) {
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, a as commonjsGlobal, g as getCjsExportFromNamespace } from './_commonjsHelpers-0c4b6f40.js';
2
- import { m as moment } from './moment-49ae13fa.js';
2
+ import { m as moment } from './moment-12415288.js';
3
3
 
4
4
  var momentTimezone = createCommonjsModule(function (module) {
5
5
  //! moment-timezone.js
@@ -263,6 +263,9 @@ var InfiniteScroll = /** @class */ (function (_super) {
263
263
  _this.dragging = false;
264
264
  if (_this.state.pullToRefreshThresholdBreached) {
265
265
  _this.props.refreshFunction && _this.props.refreshFunction();
266
+ _this.setState({
267
+ pullToRefreshThresholdBreached: false,
268
+ });
266
269
  }
267
270
  requestAnimationFrame(function () {
268
271
  // this._infScroll
@@ -369,7 +372,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
369
372
  // update state when new data was sent in
370
373
  this.setState({
371
374
  showLoader: false,
372
- pullToRefreshThresholdBreached: false,
373
375
  });
374
376
  };
375
377
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
package/dist/esm/index.js CHANGED
@@ -13,22 +13,22 @@ import './web.dom.iterable-46c95e52.js';
13
13
  import './typeof-5f046efd.js';
14
14
  import './_is-array-dd5523d6.js';
15
15
  import 'react';
16
- import './index-3f4dd6f2.js';
16
+ import './index-93ec3c59.js';
17
17
  import 'prop-types';
18
18
  import 'react-bootstrap/Container';
19
19
  import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
21
  import 'react-bootstrap/Card';
22
- import './moment-49ae13fa.js';
22
+ import './moment-12415288.js';
23
23
  import 'next/router';
24
24
  import './isSymbol-c1b9be80.js';
25
25
  import './debounce-8cd9e09c.js';
26
- import './index.es-29c1cef5.js';
26
+ import './index.es-938a3a58.js';
27
27
  import 'react-dom';
28
28
  import './visibility-sensor-0baa4eea.js';
29
29
  import './index-51a80699.js';
30
30
  import './index-5f9f807a.js';
31
- import './main-adf6ec37.js';
31
+ import './main-7255814e.js';
32
32
  import './entities-7cc3bf45.js';
33
33
  import './slicedToArray-f1e40361.js';
34
34
  import './stringify-e30bc114.js';
@@ -36,10 +36,10 @@ import './asyncToGenerator-0379e924.js';
36
36
  import './_set-species-6f64f1c1.js';
37
37
  export { B as Beam, S as Segment } from './beam-dd2b10c0.js';
38
38
  export { default as AdSlot } from './AdSlot.js';
39
- import './ADInfeed-15266562.js';
39
+ import './ADInfeed-c651007e.js';
40
40
  export { default as DeckContent } from './DeckContent.js';
41
41
  import './lodash-17fdfebb.js';
42
- import './ADlgInfeed-64346b44.js';
42
+ import './ADlgInfeed-9ff12f94.js';
43
43
  import './_arrayMap-a8dd2b2c.js';
44
44
  import './get-ae817b75.js';
45
45
  export { default as AD } from './AD.js';
@@ -66,7 +66,7 @@ export { default as IssueDeck } from './IssueDeck.js';
66
66
  import 'react-bootstrap/Badge';
67
67
  export { default as IssueContentDeck } from './IssueContentDeck.js';
68
68
  import 'react-bootstrap/Spinner';
69
- import './index-f8655eb3.js';
69
+ import './index-d2f90501.js';
70
70
  import './js.cookie-6874175c.js';
71
71
  export { default as EventsDeck } from './EventsDeck.js';
72
72
  export { default as CMEDeck } from './CMEDeck.js';
@@ -158,7 +158,7 @@ import 'swr';
158
158
  import 'passport-local';
159
159
  import 'mysql';
160
160
  export { default as View } from './View.js';
161
- export { g as getTargeting } from './getTargeting-1f2c61e3.js';
161
+ export { g as getTargeting } from './getTargeting-1a0bd08d.js';
162
162
  export { default as urlFor } from './urlFor.js';
163
163
  import 'react-twitter-embed';
164
164
  export { default as PartnerDetailListing } from './PartnerDetailListing.js';
@@ -48,7 +48,7 @@ var getNavigatorInstance = function getNavigatorInstance() {
48
48
  };
49
49
  var isIOS13Check = function isIOS13Check(type) {
50
50
  var nav = getNavigatorInstance();
51
- return nav && (nav.platform.indexOf(type) !== -1 || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
51
+ return nav && nav.platform && (nav.platform.indexOf(type) !== -1 || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
52
52
  };
53
53
 
54
54
  function _typeof(obj) {
@@ -219,12 +219,15 @@ var BROWSER_TYPES = {
219
219
  EDGE: "Edge",
220
220
  CHROMIUM: "Chromium",
221
221
  IE: 'IE',
222
- MOBILE_SAFARI: "Mobile Safari"
222
+ MOBILE_SAFARI: "Mobile Safari",
223
+ EDGE_CHROMIUM: "Edge Chromium"
223
224
  };
224
225
  var OS_TYPES = {
225
226
  IOS: 'iOS',
226
227
  ANDROID: "Android",
227
- WINDOWS_PHONE: "Windows Phone"
228
+ WINDOWS_PHONE: "Windows Phone",
229
+ WINDOWS: 'Windows',
230
+ MAC_OS: 'Mac OS'
228
231
  };
229
232
  var initialData = {
230
233
  isMobile: false,
@@ -377,6 +380,14 @@ var isMobileAndTabletType = function isMobileAndTabletType() {
377
380
  }
378
381
  };
379
382
 
383
+ var isEdgeChromiumType = function isEdgeChromiumType() {
384
+ if (os.name === OS_TYPES.WINDOWS && os.version === '10') {
385
+ return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;
386
+ }
387
+
388
+ return false;
389
+ };
390
+
380
391
  var isSmartTVType = function isSmartTVType() {
381
392
  return device.type === DEVICE_TYPES.SMART_TV;
382
393
  };
@@ -397,6 +408,14 @@ var isAndroidType = function isAndroidType() {
397
408
  return os.name === OS_TYPES.ANDROID;
398
409
  };
399
410
 
411
+ var isWindowsType = function isWindowsType() {
412
+ return os.name === OS_TYPES.WINDOWS;
413
+ };
414
+
415
+ var isMacOsType = function isMacOsType() {
416
+ return os.name === OS_TYPES.MAC_OS;
417
+ };
418
+
400
419
  var isWinPhoneType = function isWinPhoneType() {
401
420
  return os.name === OS_TYPES.WINDOWS_PHONE;
402
421
  };
@@ -535,7 +554,7 @@ var mobileModel = getMobileModel();
535
554
  var engineName = getEngineName();
536
555
  var engineVersion = getEngineVersion();
537
556
  var getUA = getUseragent();
538
- var isEdge = isEdgeType();
557
+ var isEdge = isEdgeType() || isEdgeChromiumType();
539
558
  var isYandex = isYandexType();
540
559
  var deviceType = getDeviceType();
541
560
  var isIOS13 = getIOS13();
@@ -543,6 +562,10 @@ var isIPad13 = getIPad13();
543
562
  var isIPhone13 = getIphone13();
544
563
  var isIPod13 = getIPod13();
545
564
  var isElectron = isElectronType();
565
+ var isEdgeChromium = isEdgeChromiumType();
566
+ var isLegacyEdge = isEdgeType();
567
+ var isWindows = isWindowsType();
568
+ var isMacOs = isMacOsType();
546
569
 
547
570
  var AndroidView = function AndroidView(_ref) {
548
571
  var renderWithFragment = _ref.renderWithFragment,
@@ -772,6 +795,7 @@ exports.isChrome = isChrome;
772
795
  exports.isChromium = isChromium;
773
796
  exports.isConsole = isConsole;
774
797
  exports.isEdge = isEdge;
798
+ exports.isEdgeChromium = isEdgeChromium;
775
799
  exports.isElectron = isElectron;
776
800
  exports.isFirefox = isFirefox;
777
801
  exports.isIE = isIE;
@@ -780,6 +804,8 @@ exports.isIOS13 = isIOS13;
780
804
  exports.isIPad13 = isIPad13;
781
805
  exports.isIPhone13 = isIPhone13;
782
806
  exports.isIPod13 = isIPod13;
807
+ exports.isLegacyEdge = isLegacyEdge;
808
+ exports.isMacOs = isMacOs;
783
809
  exports.isMobile = isMobile;
784
810
  exports.isMobileOnly = isMobileOnly;
785
811
  exports.isMobileSafari = isMobileSafari;
@@ -789,6 +815,7 @@ exports.isSmartTV = isSmartTV;
789
815
  exports.isTablet = isTablet;
790
816
  exports.isWearable = isWearable;
791
817
  exports.isWinPhone = isWinPhone;
818
+ exports.isWindows = isWindows;
792
819
  exports.isYandex = isYandex;
793
820
  exports.mobileModel = mobileModel;
794
821
  exports.mobileVendor = mobileVendor;
@@ -824,28 +851,32 @@ var main_23 = main.isChrome;
824
851
  var main_24 = main.isChromium;
825
852
  var main_25 = main.isConsole;
826
853
  var main_26 = main.isEdge;
827
- var main_27 = main.isElectron;
828
- var main_28 = main.isFirefox;
829
- var main_29 = main.isIE;
830
- var main_30 = main.isIOS;
831
- var main_31 = main.isIOS13;
832
- var main_32 = main.isIPad13;
833
- var main_33 = main.isIPhone13;
834
- var main_34 = main.isIPod13;
835
- var main_35 = main.isMobile;
836
- var main_36 = main.isMobileOnly;
837
- var main_37 = main.isMobileSafari;
838
- var main_38 = main.isOpera;
839
- var main_39 = main.isSafari;
840
- var main_40 = main.isSmartTV;
841
- var main_41 = main.isTablet;
842
- var main_42 = main.isWearable;
843
- var main_43 = main.isWinPhone;
844
- var main_44 = main.isYandex;
845
- var main_45 = main.mobileModel;
846
- var main_46 = main.mobileVendor;
847
- var main_47 = main.osName;
848
- var main_48 = main.osVersion;
849
- var main_49 = main.withOrientationChange;
850
-
851
- export { main_37 as a, main_16 as b, main_35 as c, main_36 as m };
854
+ var main_27 = main.isEdgeChromium;
855
+ var main_28 = main.isElectron;
856
+ var main_29 = main.isFirefox;
857
+ var main_30 = main.isIE;
858
+ var main_31 = main.isIOS;
859
+ var main_32 = main.isIOS13;
860
+ var main_33 = main.isIPad13;
861
+ var main_34 = main.isIPhone13;
862
+ var main_35 = main.isIPod13;
863
+ var main_36 = main.isLegacyEdge;
864
+ var main_37 = main.isMacOs;
865
+ var main_38 = main.isMobile;
866
+ var main_39 = main.isMobileOnly;
867
+ var main_40 = main.isMobileSafari;
868
+ var main_41 = main.isOpera;
869
+ var main_42 = main.isSafari;
870
+ var main_43 = main.isSmartTV;
871
+ var main_44 = main.isTablet;
872
+ var main_45 = main.isWearable;
873
+ var main_46 = main.isWinPhone;
874
+ var main_47 = main.isWindows;
875
+ var main_48 = main.isYandex;
876
+ var main_49 = main.mobileModel;
877
+ var main_50 = main.mobileVendor;
878
+ var main_51 = main.osName;
879
+ var main_52 = main.osVersion;
880
+ var main_53 = main.withOrientationChange;
881
+
882
+ export { main_40 as a, main_16 as b, main_38 as c, main_39 as m };
@@ -4398,7 +4398,7 @@ var moment = createCommonjsModule(function (module, exports) {
4398
4398
  eras = this.localeData().eras();
4399
4399
  for (i = 0, l = eras.length; i < l; ++i) {
4400
4400
  // truncate time
4401
- val = this.clone().startOf('day').valueOf();
4401
+ val = this.startOf('day').valueOf();
4402
4402
 
4403
4403
  if (eras[i].since <= val && val <= eras[i].until) {
4404
4404
  return eras[i].name;
@@ -4418,7 +4418,7 @@ var moment = createCommonjsModule(function (module, exports) {
4418
4418
  eras = this.localeData().eras();
4419
4419
  for (i = 0, l = eras.length; i < l; ++i) {
4420
4420
  // truncate time
4421
- val = this.clone().startOf('day').valueOf();
4421
+ val = this.startOf('day').valueOf();
4422
4422
 
4423
4423
  if (eras[i].since <= val && val <= eras[i].until) {
4424
4424
  return eras[i].narrow;
@@ -4438,7 +4438,7 @@ var moment = createCommonjsModule(function (module, exports) {
4438
4438
  eras = this.localeData().eras();
4439
4439
  for (i = 0, l = eras.length; i < l; ++i) {
4440
4440
  // truncate time
4441
- val = this.clone().startOf('day').valueOf();
4441
+ val = this.startOf('day').valueOf();
4442
4442
 
4443
4443
  if (eras[i].since <= val && val <= eras[i].until) {
4444
4444
  return eras[i].abbr;
@@ -4461,7 +4461,7 @@ var moment = createCommonjsModule(function (module, exports) {
4461
4461
  dir = eras[i].since <= eras[i].until ? +1 : -1;
4462
4462
 
4463
4463
  // truncate time
4464
- val = this.clone().startOf('day').valueOf();
4464
+ val = this.startOf('day').valueOf();
4465
4465
 
4466
4466
  if (
4467
4467
  (eras[i].since <= val && val <= eras[i].until) ||
@@ -5612,7 +5612,7 @@ var moment = createCommonjsModule(function (module, exports) {
5612
5612
 
5613
5613
  //! moment.js
5614
5614
 
5615
- hooks.version = '2.28.0';
5615
+ hooks.version = '2.27.0';
5616
5616
 
5617
5617
  setHookCallback(createLocal);
5618
5618
 
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import { i as imageUrlBuilder } from './index-51a80699.js';
3
3
 
4
4
  function urlFor(client, source) {
5
- return imageUrlBuilder(client).image(source);
5
+ return imageUrlBuilder(client).image(source);
6
6
  }
7
7
 
8
8
  export default urlFor;