@mjhls/mjh-framework 1.0.696-deck-ad-v1 → 1.0.696

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 (147) hide show
  1. package/dist/cjs/AD.js +1 -1
  2. package/dist/cjs/AD300x250.js +3 -3
  3. package/dist/cjs/AD300x250x600.js +3 -3
  4. package/dist/cjs/AD728x90.js +4 -4
  5. package/dist/cjs/ADFloatingFooter.js +2 -2
  6. package/dist/cjs/ADGutter.js +2 -2
  7. package/dist/cjs/ADSkyscraper.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/ArticleCarousel.js +1 -1
  14. package/dist/cjs/ArticleSeriesListing.js +4 -4
  15. package/dist/cjs/Auth.js +300 -249
  16. package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-88f69acd.js} +1 -1
  17. package/dist/cjs/BrowseVideosListing.js +1 -1
  18. package/dist/cjs/CMEDeck.js +5 -16
  19. package/dist/cjs/Column3.js +4 -4
  20. package/dist/cjs/ConferenceArticleCard.js +2 -2
  21. package/dist/cjs/DeckContent.js +8 -10
  22. package/dist/cjs/DeckQueue.js +7 -13
  23. package/dist/cjs/{Dfp-390337bf.js → Dfp-b2bc3b97.js} +1 -1
  24. package/dist/cjs/EventsDeck.js +4 -4
  25. package/dist/cjs/ExternalResources.js +7 -7
  26. package/dist/cjs/Feature.js +3 -3
  27. package/dist/cjs/ForbesHero.js +2 -2
  28. package/dist/cjs/GridContent.js +12 -14
  29. package/dist/cjs/GridHero.js +2 -2
  30. package/dist/cjs/GroupDeck.js +1 -1
  31. package/dist/cjs/HamMagazine.js +4 -4
  32. package/dist/cjs/Hero.js +1 -1
  33. package/dist/cjs/HorizontalHero.js +2 -2
  34. package/dist/cjs/IssueContentDeck.js +2 -2
  35. package/dist/cjs/IssueDeck.js +2 -2
  36. package/dist/cjs/IssueLanding.js +8 -8
  37. package/dist/cjs/LeftNav.js +2 -2
  38. package/dist/cjs/MasterDeck.js +8 -8
  39. package/dist/cjs/NavMagazine.js +4 -4
  40. package/dist/cjs/NavNative.js +3 -3
  41. package/dist/cjs/OncliveHero.js +2 -2
  42. package/dist/cjs/OncliveLargeHero.js +2 -2
  43. package/dist/cjs/PartnerDetailListing.js +10 -10
  44. package/dist/cjs/PublicationDeck.js +2 -2
  45. package/dist/cjs/QueueDeckExpanded.js +13 -24
  46. package/dist/cjs/RecentNews.js +2 -2
  47. package/dist/cjs/RelatedContent.js +2 -2
  48. package/dist/cjs/{SocialSearchComponent-9cd24578.js → SocialSearchComponent-6b5e5b47.js} +5 -5
  49. package/dist/cjs/TaxonomyCard.js +2 -2
  50. package/dist/cjs/TemplateNormal.js +3 -3
  51. package/dist/cjs/ThumbnailCard.js +1 -1
  52. package/dist/cjs/Ustream.js +2 -2
  53. package/dist/cjs/VerticalHero.js +2 -2
  54. package/dist/cjs/VideoSeriesCard.js +2 -2
  55. package/dist/cjs/VideoSeriesListing.js +4 -4
  56. package/dist/cjs/View.js +13 -13
  57. package/dist/cjs/YahooHero.js +2 -2
  58. package/dist/cjs/YoutubeGroup.js +1 -1
  59. package/dist/cjs/getRelatedArticle.js +124 -62
  60. package/dist/cjs/getSerializers.js +6 -6
  61. package/dist/cjs/{index-099d45ae.js → index-2d0a4911.js} +4 -6
  62. package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
  63. package/dist/cjs/{index-39beccb3.js → index-b5eb3ff8.js} +18 -18
  64. package/dist/cjs/{index-f1006c06.js → index-c0bfab13.js} +12 -12
  65. package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
  66. package/dist/cjs/index.js +12 -12
  67. package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
  68. package/dist/cjs/{main-a4cb15bb.js → main-b6c96c8d.js} +67 -36
  69. package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
  70. package/dist/cjs/timeDifferenceCalc.js +1 -1
  71. package/dist/cjs/urlFor.js +1 -1
  72. package/dist/esm/AD.js +1 -1
  73. package/dist/esm/AD300x250.js +3 -3
  74. package/dist/esm/AD300x250x600.js +3 -3
  75. package/dist/esm/AD728x90.js +4 -4
  76. package/dist/esm/ADFloatingFooter.js +2 -2
  77. package/dist/esm/ADGutter.js +2 -2
  78. package/dist/esm/ADSkyscraper.js +2 -2
  79. package/dist/esm/ADSponsoredResources.js +2 -2
  80. package/dist/esm/ADWebcast.js +2 -2
  81. package/dist/esm/ADWelcome.js +2 -2
  82. package/dist/esm/AdSlot.js +2 -2
  83. package/dist/esm/AdSlotsProvider.js +1 -1
  84. package/dist/esm/ArticleCarousel.js +1 -1
  85. package/dist/esm/ArticleSeriesListing.js +4 -4
  86. package/dist/esm/Auth.js +300 -249
  87. package/dist/esm/{BlockContent-c409aca5.js → BlockContent-a614acdf.js} +1 -1
  88. package/dist/esm/BrowseVideosListing.js +1 -1
  89. package/dist/esm/CMEDeck.js +5 -16
  90. package/dist/esm/Column3.js +4 -4
  91. package/dist/esm/ConferenceArticleCard.js +2 -2
  92. package/dist/esm/DeckContent.js +8 -10
  93. package/dist/esm/DeckQueue.js +7 -13
  94. package/dist/esm/{Dfp-741c01be.js → Dfp-8a8fca18.js} +1 -1
  95. package/dist/esm/EventsDeck.js +4 -4
  96. package/dist/esm/ExternalResources.js +7 -7
  97. package/dist/esm/Feature.js +3 -3
  98. package/dist/esm/ForbesHero.js +2 -2
  99. package/dist/esm/GridContent.js +12 -14
  100. package/dist/esm/GridHero.js +2 -2
  101. package/dist/esm/GroupDeck.js +1 -1
  102. package/dist/esm/HamMagazine.js +4 -4
  103. package/dist/esm/Hero.js +1 -1
  104. package/dist/esm/HorizontalHero.js +2 -2
  105. package/dist/esm/IssueContentDeck.js +2 -2
  106. package/dist/esm/IssueDeck.js +2 -2
  107. package/dist/esm/IssueLanding.js +8 -8
  108. package/dist/esm/LeftNav.js +2 -2
  109. package/dist/esm/MasterDeck.js +8 -8
  110. package/dist/esm/NavMagazine.js +4 -4
  111. package/dist/esm/NavNative.js +3 -3
  112. package/dist/esm/OncliveHero.js +2 -2
  113. package/dist/esm/OncliveLargeHero.js +2 -2
  114. package/dist/esm/PartnerDetailListing.js +10 -10
  115. package/dist/esm/PublicationDeck.js +2 -2
  116. package/dist/esm/QueueDeckExpanded.js +13 -24
  117. package/dist/esm/RecentNews.js +2 -2
  118. package/dist/esm/RelatedContent.js +2 -2
  119. package/dist/esm/{SocialSearchComponent-93233334.js → SocialSearchComponent-7f14e0f3.js} +5 -5
  120. package/dist/esm/TaxonomyCard.js +2 -2
  121. package/dist/esm/TemplateNormal.js +3 -3
  122. package/dist/esm/ThumbnailCard.js +1 -1
  123. package/dist/esm/Ustream.js +2 -2
  124. package/dist/esm/VerticalHero.js +2 -2
  125. package/dist/esm/VideoSeriesCard.js +2 -2
  126. package/dist/esm/VideoSeriesListing.js +4 -4
  127. package/dist/esm/View.js +13 -13
  128. package/dist/esm/YahooHero.js +2 -2
  129. package/dist/esm/YoutubeGroup.js +1 -1
  130. package/dist/esm/getRelatedArticle.js +124 -62
  131. package/dist/esm/getSerializers.js +6 -6
  132. package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
  133. package/dist/esm/{index-dd276ca9.js → index-754010eb.js} +12 -12
  134. package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
  135. package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
  136. package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
  137. package/dist/esm/index.js +12 -12
  138. package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
  139. package/dist/esm/{main-5d1e4bd3.js → main-0465b2a0.js} +65 -34
  140. package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
  141. package/dist/esm/timeDifferenceCalc.js +1 -1
  142. package/dist/esm/urlFor.js +1 -1
  143. package/package.json +3 -3
  144. /package/dist/cjs/{ADInfeed-1959e5c2.js → ADInfeed-3410ab3c.js} +0 -0
  145. /package/dist/cjs/{ADlgInfeed-b0e018e0.js → ADlgInfeed-845aac15.js} +0 -0
  146. /package/dist/esm/{ADInfeed-37246853.js → ADInfeed-205cb7a9.js} +0 -0
  147. /package/dist/esm/{ADlgInfeed-ae537002.js → ADlgInfeed-e538f17a.js} +0 -0
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useRef, useState, useEffect } from 'react';
9
9
  import 'prop-types';
10
10
  import Container from 'react-bootstrap/Container';
11
- import { a as main_37 } from './main-5d1e4bd3.js';
11
+ import { a as main_40 } from './main-0465b2a0.js';
12
12
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
13
13
  import './asyncToGenerator-7c654f36.js';
14
14
  import './_set-species-cede29f8.js';
@@ -26,7 +26,7 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
26
26
  import { S as SocialNavFooter } from './index.esm-fd746768.js';
27
27
  import './SocialIcons.js';
28
28
  import 'react-bootstrap/FormControl';
29
- import { S as SocialSearchComponent } from './SocialSearchComponent-93233334.js';
29
+ import { S as SocialSearchComponent } from './SocialSearchComponent-7f14e0f3.js';
30
30
 
31
31
  var NavMagazine = function NavMagazine(props) {
32
32
  /*
@@ -316,7 +316,7 @@ var NavMagazine = function NavMagazine(props) {
316
316
  {
317
317
  id: 'navbar-ham',
318
318
  style: { width: '100%', display: 'flex', top: topOffset, overflow: 'auto', zIndex: '999999' },
319
- className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav ',
319
+ className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav ',
320
320
  variant: 'dark',
321
321
  expand: 'xl',
322
322
  bg: 'primary',
@@ -332,7 +332,7 @@ var NavMagazine = function NavMagazine(props) {
332
332
  'aria-controls': 'basic-navbar-nav',
333
333
  onClick: function onClick() {
334
334
  // Set overflow fix for iPhones safari browsers
335
- if (main_37) {
335
+ if (main_40) {
336
336
  var mainNav = document.querySelector('#navbar-ham');
337
337
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
338
338
  }
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useRef, useState, useEffect } from 'react';
9
9
  import 'prop-types';
10
10
  import Container from 'react-bootstrap/Container';
11
- import { a as main_37 } from './main-5d1e4bd3.js';
11
+ import { a as main_40 } from './main-0465b2a0.js';
12
12
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
13
13
  import './asyncToGenerator-7c654f36.js';
14
14
  import './_set-species-cede29f8.js';
@@ -277,13 +277,13 @@ var NavNative = function NavNative(props) {
277
277
  React__default.createElement(
278
278
  Navbar,
279
279
  {
280
- className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
280
+ className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
281
281
  variant: 'dark',
282
282
  expand: 'lg',
283
283
  bg: 'primary',
284
284
  sticky: 'top',
285
285
  ref: navRef,
286
- style: { minHeight: '65px', overflow: '' + (main_37 ? 'auto' : '') } },
286
+ style: { minHeight: '65px', overflow: '' + (main_40 ? 'auto' : '') } },
287
287
  React__default.createElement(
288
288
  Container,
289
289
  { style: { maxHeight: '80vh' }, className: 'mobile-nav' },
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import { m as moment } from './moment-e2f9b20c.js';
4
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
3
+ import { m as moment } from './moment-12415288.js';
4
+ import { i as imageUrlBuilder } from './index-51a80699.js';
5
5
  import './iconBase-602d52fe.js';
6
6
  import 'react-bootstrap/Badge';
7
7
  import './index.esm-cf08bf18.js';
@@ -5,9 +5,9 @@ import './core.get-iterator-method-54d2e411.js';
5
5
  import './web.dom.iterable-8956f9a5.js';
6
6
  import React__default from 'react';
7
7
  import 'prop-types';
8
- import { m as moment } from './moment-e2f9b20c.js';
8
+ import { m as moment } from './moment-12415288.js';
9
9
  import 'react-dom';
10
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
10
+ import { i as imageUrlBuilder } from './index-51a80699.js';
11
11
  import { L as LazyLoad } from './index-5f9f807a.js';
12
12
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
13
13
  import './slicedToArray-7021e5df.js';
@@ -14,21 +14,21 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default, { Component, useRef, useState, useEffect } from 'react';
17
- import './index-3f4dd6f2.js';
17
+ import './index-93ec3c59.js';
18
18
  import PropTypes from 'prop-types';
19
19
  import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
21
  import 'react-bootstrap/Card';
22
- import { m as moment } from './moment-e2f9b20c.js';
22
+ import { m as moment } from './moment-12415288.js';
23
23
  import 'next/router';
24
24
  import './isSymbol-807e927e.js';
25
25
  import './debounce-1a993acf.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
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
29
+ import { i as imageUrlBuilder } from './index-51a80699.js';
30
30
  import './index-5f9f807a.js';
31
- import './main-5d1e4bd3.js';
31
+ import './main-0465b2a0.js';
32
32
  import './entities-7cc3bf45.js';
33
33
  import './stringify-008c8802.js';
34
34
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
@@ -37,12 +37,12 @@ import './_set-species-cede29f8.js';
37
37
  import './Segment.js';
38
38
  import './Beam.js';
39
39
  import './AdSlot.js';
40
- import './ADInfeed-37246853.js';
41
- import './lodash-ec8c6b48.js';
42
- import './ADlgInfeed-ae537002.js';
40
+ import './ADInfeed-205cb7a9.js';
41
+ import './lodash-17fdfebb.js';
42
+ import './ADlgInfeed-e538f17a.js';
43
43
  import './getContentCategory-15dcc413.js';
44
44
  import './AuthorComponent-00f13201.js';
45
- import { B as BlockContent } from './BlockContent-c409aca5.js';
45
+ import { B as BlockContent } from './BlockContent-a614acdf.js';
46
46
  import { s as smoothscroll } from './smoothscroll-4b699764.js';
47
47
  import './GroupDeck.js';
48
48
  import 'react-bootstrap';
@@ -51,7 +51,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
51
51
  import './iconBase-602d52fe.js';
52
52
  import './index.esm-29e48d38.js';
53
53
  import 'react-bootstrap/Button';
54
- import { g as getSerializers } from './index-dd276ca9.js';
54
+ import { g as getSerializers } from './index-754010eb.js';
55
55
  import './util-7700fc59.js';
56
56
  import './brightcove-react-player-loader.es-83f53e4e.js';
57
57
  import 'react-bootstrap/Pagination';
@@ -5,9 +5,9 @@ import Row from 'react-bootstrap/Row';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Card from 'react-bootstrap/Card';
7
7
  import 'react-dom';
8
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
8
+ import { i as imageUrlBuilder } from './index-51a80699.js';
9
9
  import { L as LazyLoad } from './index-5f9f807a.js';
10
- import { l as lodash } from './lodash-ec8c6b48.js';
10
+ import { l as lodash } from './lodash-17fdfebb.js';
11
11
  import Button from 'react-bootstrap/Button';
12
12
 
13
13
  var PublicationDeck = function PublicationDeck(props) {
@@ -9,19 +9,19 @@ import './_object-pie-71ac75a4.js';
9
9
  import { _ as _extends } from './extends-cc5da797.js';
10
10
  import './web.dom.iterable-8956f9a5.js';
11
11
  import React__default, { useEffect, useState, useRef } from 'react';
12
- import { l as lib_3 } from './index-3f4dd6f2.js';
12
+ import { l as lib_3 } from './index-93ec3c59.js';
13
13
  import 'prop-types';
14
14
  import 'react-bootstrap/Card';
15
- import { m as moment } from './moment-e2f9b20c.js';
15
+ import { m as moment } from './moment-12415288.js';
16
16
  import { useRouter } from 'next/router';
17
17
  import './isSymbol-807e927e.js';
18
18
  import './debounce-1a993acf.js';
19
- import { I as InfiniteScroll } from './index.es-29c1cef5.js';
19
+ import { I as InfiniteScroll } from './index.es-938a3a58.js';
20
20
  import 'react-dom';
21
21
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
22
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
22
+ import { i as imageUrlBuilder } from './index-51a80699.js';
23
23
  import { L as LazyLoad } from './index-5f9f807a.js';
24
- import './main-5d1e4bd3.js';
24
+ import { m as main_39 } from './main-0465b2a0.js';
25
25
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
26
26
  import './stringify-008c8802.js';
27
27
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
@@ -30,9 +30,9 @@ import './_set-species-cede29f8.js';
30
30
  import './Segment.js';
31
31
  import './Beam.js';
32
32
  import './AdSlot.js';
33
- import { A as ADInfeed } from './ADInfeed-37246853.js';
34
- import { l as lodash } from './lodash-ec8c6b48.js';
35
- import { A as ADlgInfeed } from './ADlgInfeed-ae537002.js';
33
+ import { A as ADInfeed } from './ADInfeed-205cb7a9.js';
34
+ import { l as lodash } from './lodash-17fdfebb.js';
35
+ import { A as ADlgInfeed } from './ADlgInfeed-e538f17a.js';
36
36
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
37
37
  import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
38
38
  import { Container, Media } from 'react-bootstrap';
@@ -151,7 +151,7 @@ var checkExternalUrl = function checkExternalUrl(url) {
151
151
  return new RegExp(['http', 'https'].join('|')).test(url);
152
152
  };
153
153
 
154
- var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro, mobileView) {
154
+ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro) {
155
155
  var numberOfItemsBeforeAd = 6;
156
156
  var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
157
157
  return [].concat(_toConsumableArray(arr.slice(0, index)), [newElement], _toConsumableArray(arr.slice(index)));
@@ -757,7 +757,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
757
757
  React__default.createElement(
758
758
  'div',
759
759
  null,
760
- mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
760
+ main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
761
761
  )
762
762
  )
763
763
  );
@@ -1263,7 +1263,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
1263
1263
  React__default.createElement(
1264
1264
  'div',
1265
1265
  null,
1266
- mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
1266
+ main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
1267
1267
  )
1268
1268
  )
1269
1269
  );
@@ -1405,11 +1405,6 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1405
1405
  values = _useState14[0],
1406
1406
  setValues = _useState14[1];
1407
1407
 
1408
- var _useState15 = useState(false),
1409
- _useState16 = _slicedToArray(_useState15, 2),
1410
- mobileView = _useState16[0],
1411
- setMobileView = _useState16[1];
1412
-
1413
1408
  var itemsPerPage = params && params.itemsPerPage ? params.itemsPerPage : 10;
1414
1409
 
1415
1410
  var prevValues = usePrevious(values);
@@ -1451,12 +1446,6 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1451
1446
  }
1452
1447
  }, [initialData]);
1453
1448
 
1454
- useEffect(function () {
1455
- if (window && window.innerWidth <= 1991) {
1456
- setMobileView(true);
1457
- }
1458
- });
1459
-
1460
1449
  useEffect(function () {
1461
1450
  if (prevValues) {
1462
1451
  if (values.page !== prevValues.page && values.from !== prevValues.from && values.to !== prevValues.to) {
@@ -1494,7 +1483,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1494
1483
  React__default.createElement(
1495
1484
  Container,
1496
1485
  null,
1497
- cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro, mobileView)
1486
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
1498
1487
  )
1499
1488
  ),
1500
1489
  React__default.createElement(
@@ -1508,7 +1497,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1508
1497
  React__default.createElement(
1509
1498
  Container,
1510
1499
  null,
1511
- cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro, mobileView)
1500
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
1512
1501
  ),
1513
1502
  React__default.createElement(
1514
1503
  'div',
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import './moment-e2f9b20c.js';
4
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
3
+ import './moment-12415288.js';
4
+ import { i as imageUrlBuilder } from './index-51a80699.js';
5
5
  import './iconBase-602d52fe.js';
6
6
  import { a as FaLongArrowAltRight } from './index.esm-cf08bf18.js';
7
7
 
@@ -1,9 +1,9 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
3
  import 'prop-types';
4
- import { m as moment } from './moment-e2f9b20c.js';
4
+ import { m as moment } from './moment-12415288.js';
5
5
  import 'react-dom';
6
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
6
+ import { i as imageUrlBuilder } from './index-51a80699.js';
7
7
  import { L as LazyLoad } from './index-5f9f807a.js';
8
8
  import 'react-bootstrap/Media';
9
9
 
@@ -1,5 +1,5 @@
1
1
  import React__default, { useState, useRef, useEffect } from 'react';
2
- import { d as main_30, a as main_37 } from './main-5d1e4bd3.js';
2
+ import { d as main_31, a as main_40 } from './main-0465b2a0.js';
3
3
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
4
4
  import { I as IconContext } from './iconBase-602d52fe.js';
5
5
  import Button from 'react-bootstrap/Button';
@@ -40,7 +40,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
40
40
  var mastNav = document.querySelector('.nav-brands');
41
41
  var topOffset = 0;
42
42
  // Checking for non-IOS devices before setting the offset position.
43
- if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !main_30) topOffset = topOffset + mastNav.offsetHeight;
43
+ if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !main_31) topOffset = topOffset + mastNav.offsetHeight;
44
44
  if (navWrapper && navWrapper.offsetHeight) topOffset = topOffset + navWrapper.offsetHeight;
45
45
  setTopOffset(topOffset + 2);
46
46
 
@@ -68,14 +68,14 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
68
68
  var searchBtn = document.getElementsByClassName(selector)[0];
69
69
  if (searchBtn && searchBtn.classList && searchBtn.classList.contains(addOn)) {
70
70
  // Set overflow fix for iPhones safari browsers
71
- if (main_37 || window.innerWidth < 1200 && main_30) {
71
+ if (main_40 || window.innerWidth < 1200 && main_31) {
72
72
  var mainNav = document.querySelector('#navbar-ham');
73
73
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
74
74
  }
75
75
  searchBtn.classList.remove(addOn);
76
76
  } else if (searchBtn && searchBtn.classList) {
77
77
  // Set overflow fix for iPhones safari browsers
78
- if (main_37 || window.innerWidth < 1200 && main_30) {
78
+ if (main_40 || window.innerWidth < 1200 && main_31) {
79
79
  var _mainNav = document.querySelector('#navbar-ham');
80
80
  if (_mainNav && _mainNav.style) _mainNav.style.overflow = 'visible';
81
81
  }
@@ -177,7 +177,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
177
177
  React__default.createElement(
178
178
  'style',
179
179
  { jsx: 'true' },
180
- '\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_30 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
180
+ '\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_31 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
181
181
  )
182
182
  );
183
183
  };
@@ -9,9 +9,9 @@ import Row from 'react-bootstrap/Row';
9
9
  import Col from 'react-bootstrap/Col';
10
10
  import Card from 'react-bootstrap/Card';
11
11
  import 'react-dom';
12
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
12
+ import { i as imageUrlBuilder } from './index-51a80699.js';
13
13
  import { L as LazyLoad } from './index-5f9f807a.js';
14
- import { B as BlockContent } from './BlockContent-c409aca5.js';
14
+ import { B as BlockContent } from './BlockContent-a614acdf.js';
15
15
  import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
16
16
 
17
17
  var TaxonomyCard = function TaxonomyCard(props) {
@@ -7,7 +7,7 @@ import './core.get-iterator-method-54d2e411.js';
7
7
  import './define-property-de3fc946.js';
8
8
  import './web.dom.iterable-8956f9a5.js';
9
9
  import React__default, { useState, useEffect } from 'react';
10
- import './index-3f4dd6f2.js';
10
+ import './index-93ec3c59.js';
11
11
  import 'prop-types';
12
12
  import Container from 'react-bootstrap/Container';
13
13
  import 'react-bootstrap/Row';
@@ -15,7 +15,7 @@ import 'react-bootstrap/Col';
15
15
  import { useRouter } from 'next/router';
16
16
  import './isSymbol-807e927e.js';
17
17
  import './debounce-1a993acf.js';
18
- import './main-5d1e4bd3.js';
18
+ import './main-0465b2a0.js';
19
19
  import './stringify-008c8802.js';
20
20
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
21
21
  import './asyncToGenerator-7c654f36.js';
@@ -51,7 +51,7 @@ import './NavFooter-e27bd93b.js';
51
51
  import './index.esm-fd746768.js';
52
52
  import './SocialIcons.js';
53
53
  import 'react-bootstrap/FormControl';
54
- import './SocialSearchComponent-93233334.js';
54
+ import './SocialSearchComponent-7f14e0f3.js';
55
55
  import MagazineNav from './NavMagazine.js';
56
56
  import { NavNative } from './NavNative.js';
57
57
  import './Search.js';
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
3
  import 'prop-types';
4
4
  import 'react-dom';
5
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
5
+ import { i as imageUrlBuilder } from './index-51a80699.js';
6
6
  import { L as LazyLoad } from './index-5f9f807a.js';
7
7
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
8
8
  import Media from 'react-bootstrap/Media';
@@ -4,7 +4,7 @@ import './es6.string.iterator-9b2af4a5.js';
4
4
  import './core.get-iterator-method-54d2e411.js';
5
5
  import './web.dom.iterable-8956f9a5.js';
6
6
  import React__default, { useState, useRef, useEffect } from 'react';
7
- import { m as main_36 } from './main-5d1e4bd3.js';
7
+ import { m as main_39 } from './main-0465b2a0.js';
8
8
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
9
9
  import './iconBase-602d52fe.js';
10
10
  import { c as IoIosOpen } from './index.esm-29e48d38.js';
@@ -65,7 +65,7 @@ var Ustream = function Ustream(_ref) {
65
65
  } catch (err) {}
66
66
  }, []);
67
67
  //return nothing if mobile
68
- if (main_36) {
68
+ if (main_39) {
69
69
  return null;
70
70
  }
71
71
  return React__default.createElement(
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import './moment-e2f9b20c.js';
4
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
3
+ import './moment-12415288.js';
4
+ import { i as imageUrlBuilder } from './index-51a80699.js';
5
5
 
6
6
  var VerticalHero = function VerticalHero(props) {
7
7
  var client = props.client;
@@ -8,9 +8,9 @@ import { _ as _typeof } from './typeof-08f2c380.js';
8
8
  import './_is-array-49698029.js';
9
9
  import React__default from 'react';
10
10
  import 'prop-types';
11
- import { m as moment } from './moment-e2f9b20c.js';
11
+ import { m as moment } from './moment-12415288.js';
12
12
  import 'react-dom';
13
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
13
+ import { i as imageUrlBuilder } from './index-51a80699.js';
14
14
  import { L as LazyLoad } from './index-5f9f807a.js';
15
15
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
16
16
 
@@ -12,17 +12,17 @@ import './web.dom.iterable-8956f9a5.js';
12
12
  import './typeof-08f2c380.js';
13
13
  import './_is-array-49698029.js';
14
14
  import React__default from 'react';
15
- import { l as lib_3 } from './index-3f4dd6f2.js';
15
+ import { l as lib_3 } from './index-93ec3c59.js';
16
16
  import 'prop-types';
17
17
  import Container from 'react-bootstrap/Container';
18
- import { m as moment } from './moment-e2f9b20c.js';
18
+ import { m as moment } from './moment-12415288.js';
19
19
  import { withRouter } from 'next/router';
20
20
  import './isSymbol-807e927e.js';
21
21
  import { d as debounce_1 } from './debounce-1a993acf.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 { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
25
- import './index-3849e3fe.js';
25
+ import './index-51a80699.js';
26
26
  import './index-5f9f807a.js';
27
27
  import './slicedToArray-7021e5df.js';
28
28
  import './smoothscroll-4b699764.js';
package/dist/esm/View.js CHANGED
@@ -14,19 +14,19 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import { _ as _typeof } from './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default, { useState, useRef, useEffect } from 'react';
17
- import { l as lib_3 } from './index-3f4dd6f2.js';
17
+ import { l as lib_3 } from './index-93ec3c59.js';
18
18
  import 'prop-types';
19
19
  import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
- import { m as moment } from './moment-e2f9b20c.js';
21
+ import { m as moment } from './moment-12415288.js';
22
22
  import { useRouter } from 'next/router';
23
23
  import './isSymbol-807e927e.js';
24
24
  import './debounce-1a993acf.js';
25
- import { I as InfiniteScroll } from './index.es-29c1cef5.js';
25
+ import { I as InfiniteScroll } from './index.es-938a3a58.js';
26
26
  import 'react-dom';
27
- import './index-3849e3fe.js';
27
+ import './index-51a80699.js';
28
28
  import './index-5f9f807a.js';
29
- import { m as main_36 } from './main-5d1e4bd3.js';
29
+ import { m as main_39 } from './main-0465b2a0.js';
30
30
  import './entities-7cc3bf45.js';
31
31
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
32
32
  import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-7021e5df.js';
@@ -35,7 +35,7 @@ import './_set-species-cede29f8.js';
35
35
  import './Segment.js';
36
36
  import './Beam.js';
37
37
  import DFPAdSlot from './AdSlot.js';
38
- import { B as BlockContent } from './BlockContent-c409aca5.js';
38
+ import { B as BlockContent } from './BlockContent-a614acdf.js';
39
39
  import './smoothscroll-4b699764.js';
40
40
  import './GroupDeck.js';
41
41
  import 'react-bootstrap';
@@ -44,7 +44,7 @@ import './index.esm-29e48d38.js';
44
44
  import Button from 'react-bootstrap/Button';
45
45
  import { _ as _defineProperty } from './defineProperty-b798470d.js';
46
46
  import Form from 'react-bootstrap/Form';
47
- import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-dd276ca9.js';
47
+ import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-754010eb.js';
48
48
  import './util-7700fc59.js';
49
49
  import './brightcove-react-player-loader.es-83f53e4e.js';
50
50
  import 'react-bootstrap/Pagination';
@@ -139,9 +139,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
139
139
  style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
140
140
  thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
141
141
  !thumbnailUrl && React__default.createElement('p', {
142
- style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_36 ? 'left' : 'right', marginTop: '.25rem' },
142
+ style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_39 ? 'left' : 'right', marginTop: '.25rem' },
143
143
  dangerouslySetInnerHTML: { __html: name } }),
144
- main_36 && !thumbnailUrl && React__default.createElement(
144
+ main_39 && !thumbnailUrl && React__default.createElement(
145
145
  'style',
146
146
  { jsx: 'true' },
147
147
  '\n a.doc-group {\n display: block !important;\n padding: 0!important;\n }\n '
@@ -948,7 +948,7 @@ var Article = function Article(props) {
948
948
  React__default.createElement(
949
949
  'div',
950
950
  { className: 'ad-box', style: { textAlign: 'center' } },
951
- main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
951
+ main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
952
952
  if (index === 0) {
953
953
  return React__default.createElement(
954
954
  'div',
@@ -1027,7 +1027,7 @@ var Article = function Article(props) {
1027
1027
  })
1028
1028
  )
1029
1029
  ),
1030
- main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1030
+ main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1031
1031
  if (index > 0) {
1032
1032
  return React__default.createElement(
1033
1033
  'div',
@@ -1100,7 +1100,7 @@ var ArticleQueue = function ArticleQueue(props) {
1100
1100
  });
1101
1101
  var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
1102
1102
 
1103
- if (!main_36) {
1103
+ if (!main_39) {
1104
1104
  lib_3.getGoogletag().then(function (googletag) {
1105
1105
  if (window.googletag && googletag.pubadsReady) {
1106
1106
  var slots = googletag.pubads().getSlots();
@@ -1118,7 +1118,7 @@ var ArticleQueue = function ArticleQueue(props) {
1118
1118
  });
1119
1119
  }
1120
1120
  //Refresh leaderboard ad on mobile
1121
- if (main_36) {
1121
+ if (main_39) {
1122
1122
  var leaderboardSlotId = '';
1123
1123
  lib_3.getGoogletag().then(function (googletag) {
1124
1124
  if (window.googletag && googletag.pubadsReady) {
@@ -5,9 +5,9 @@ import './core.get-iterator-method-54d2e411.js';
5
5
  import './web.dom.iterable-8956f9a5.js';
6
6
  import React__default from 'react';
7
7
  import 'prop-types';
8
- import { m as moment } from './moment-e2f9b20c.js';
8
+ import { m as moment } from './moment-12415288.js';
9
9
  import 'react-dom';
10
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
10
+ import { i as imageUrlBuilder } from './index-51a80699.js';
11
11
  import { L as LazyLoad } from './index-5f9f807a.js';
12
12
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
13
13
  import './slicedToArray-7021e5df.js';
@@ -10,7 +10,7 @@ import './_is-array-49698029.js';
10
10
  import React__default, { useRef, useState, useEffect } from 'react';
11
11
  import 'prop-types';
12
12
  import 'react-dom';
13
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
13
+ import { i as imageUrlBuilder } from './index-51a80699.js';
14
14
  import { L as LazyLoad } from './index-5f9f807a.js';
15
15
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
16
16
  import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';