@mjhls/mjh-framework 1.0.698 → 1.0.699-beta.0

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 (150) hide show
  1. package/README.md +1 -1
  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 +8 -5
  8. package/dist/cjs/{ADInfeed-3410ab3c.js → ADInfeed-3aa2f5dd.js} +6 -3
  9. package/dist/cjs/ADSkyscraper.js +8 -5
  10. package/dist/cjs/ADSponsoredResources.js +8 -5
  11. package/dist/cjs/ADWebcast.js +8 -5
  12. package/dist/cjs/ADWelcome.js +2 -2
  13. package/dist/cjs/{ADlgInfeed-845aac15.js → ADlgInfeed-86daec1c.js} +6 -3
  14. package/dist/cjs/AdSlot.js +3 -3
  15. package/dist/cjs/AdSlotsProvider.js +23 -2
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleSeriesListing.js +4 -4
  18. package/dist/cjs/Auth.js +250 -301
  19. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-091a991f.js} +1 -1
  20. package/dist/cjs/BrowseVideosListing.js +1 -1
  21. package/dist/cjs/CMEDeck.js +5 -5
  22. package/dist/cjs/Column3.js +4 -4
  23. package/dist/cjs/ConferenceArticleCard.js +2 -2
  24. package/dist/cjs/DeckContent.js +10 -8
  25. package/dist/cjs/DeckQueue.js +6 -6
  26. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-f6a18ed2.js} +1 -1
  27. package/dist/cjs/EventsDeck.js +4 -4
  28. package/dist/cjs/ExternalResources.js +7 -7
  29. package/dist/cjs/Feature.js +3 -3
  30. package/dist/cjs/ForbesHero.js +2 -2
  31. package/dist/cjs/GridContent.js +16 -12
  32. package/dist/cjs/GridHero.js +2 -2
  33. package/dist/cjs/GroupDeck.js +1 -1
  34. package/dist/cjs/HamMagazine.js +4 -4
  35. package/dist/cjs/Hero.js +1 -1
  36. package/dist/cjs/HorizontalHero.js +2 -2
  37. package/dist/cjs/IssueContentDeck.js +2 -2
  38. package/dist/cjs/IssueDeck.js +2 -2
  39. package/dist/cjs/IssueLanding.js +7 -7
  40. package/dist/cjs/LeftNav.js +3 -3
  41. package/dist/cjs/MasterDeck.js +13 -9
  42. package/dist/cjs/NavMagazine.js +4 -4
  43. package/dist/cjs/NavNative.js +27 -7
  44. package/dist/cjs/OncliveHero.js +2 -2
  45. package/dist/cjs/OncliveLargeHero.js +2 -2
  46. package/dist/cjs/PartnerDetailListing.js +16 -16
  47. package/dist/cjs/PublicationDeck.js +1 -1
  48. package/dist/cjs/QueueDeckExpanded.js +15 -11
  49. package/dist/cjs/RecentNews.js +2 -2
  50. package/dist/cjs/RelatedContent.js +2 -2
  51. package/dist/cjs/{SocialSearchComponent-6b5e5b47.js → SocialSearchComponent-56d49a1a.js} +5 -5
  52. package/dist/cjs/TaxonomyCard.js +2 -2
  53. package/dist/cjs/TemplateNormal.js +3 -3
  54. package/dist/cjs/ThumbnailCard.js +1 -1
  55. package/dist/cjs/Ustream.js +2 -2
  56. package/dist/cjs/VerticalHero.js +2 -2
  57. package/dist/cjs/VideoSeriesCard.js +2 -2
  58. package/dist/cjs/VideoSeriesListing.js +4 -4
  59. package/dist/cjs/View.js +181 -214
  60. package/dist/cjs/YahooHero.js +2 -2
  61. package/dist/cjs/YoutubeGroup.js +1 -1
  62. package/dist/cjs/getQuery.js +2 -2
  63. package/dist/cjs/getRelatedArticle.js +122 -155
  64. package/dist/cjs/getSerializers.js +6 -6
  65. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-9af0ef69.js} +2 -2
  66. package/dist/cjs/getTargeting.js +1 -1
  67. package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
  68. package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
  69. package/dist/cjs/{index-0c398de9.js → index-e05857f8.js} +448 -460
  70. package/dist/cjs/{index-2d0a4911.js → index-fa8ed292.js} +27 -34
  71. package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
  72. package/dist/cjs/index.js +12 -12
  73. package/dist/cjs/{main-b6c96c8d.js → main-03ffa84c.js} +37 -67
  74. package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
  75. package/dist/cjs/timeDifferenceCalc.js +1 -1
  76. package/dist/cjs/urlFor.js +1 -1
  77. package/dist/esm/AD.js +1 -1
  78. package/dist/esm/AD300x250.js +3 -3
  79. package/dist/esm/AD300x250x600.js +3 -3
  80. package/dist/esm/AD728x90.js +4 -4
  81. package/dist/esm/ADFloatingFooter.js +2 -2
  82. package/dist/esm/ADGutter.js +8 -5
  83. package/dist/esm/{ADInfeed-205cb7a9.js → ADInfeed-cc79bcc2.js} +6 -3
  84. package/dist/esm/ADSkyscraper.js +8 -5
  85. package/dist/esm/ADSponsoredResources.js +8 -5
  86. package/dist/esm/ADWebcast.js +8 -5
  87. package/dist/esm/ADWelcome.js +2 -2
  88. package/dist/esm/{ADlgInfeed-e538f17a.js → ADlgInfeed-501cbfca.js} +6 -3
  89. package/dist/esm/AdSlot.js +3 -3
  90. package/dist/esm/AdSlotsProvider.js +24 -3
  91. package/dist/esm/ArticleCarousel.js +1 -1
  92. package/dist/esm/ArticleSeriesListing.js +4 -4
  93. package/dist/esm/Auth.js +247 -298
  94. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-e9b4ddcf.js} +1 -1
  95. package/dist/esm/BrowseVideosListing.js +1 -1
  96. package/dist/esm/CMEDeck.js +5 -5
  97. package/dist/esm/Column3.js +4 -4
  98. package/dist/esm/ConferenceArticleCard.js +2 -2
  99. package/dist/esm/DeckContent.js +10 -8
  100. package/dist/esm/DeckQueue.js +6 -6
  101. package/dist/esm/{Dfp-8a8fca18.js → Dfp-96b49def.js} +1 -1
  102. package/dist/esm/EventsDeck.js +4 -4
  103. package/dist/esm/ExternalResources.js +7 -7
  104. package/dist/esm/Feature.js +3 -3
  105. package/dist/esm/ForbesHero.js +2 -2
  106. package/dist/esm/GridContent.js +16 -12
  107. package/dist/esm/GridHero.js +2 -2
  108. package/dist/esm/GroupDeck.js +1 -1
  109. package/dist/esm/HamMagazine.js +4 -4
  110. package/dist/esm/Hero.js +1 -1
  111. package/dist/esm/HorizontalHero.js +2 -2
  112. package/dist/esm/IssueContentDeck.js +2 -2
  113. package/dist/esm/IssueDeck.js +2 -2
  114. package/dist/esm/IssueLanding.js +7 -7
  115. package/dist/esm/LeftNav.js +3 -3
  116. package/dist/esm/MasterDeck.js +13 -9
  117. package/dist/esm/NavMagazine.js +4 -4
  118. package/dist/esm/NavNative.js +27 -7
  119. package/dist/esm/OncliveHero.js +2 -2
  120. package/dist/esm/OncliveLargeHero.js +2 -2
  121. package/dist/esm/PartnerDetailListing.js +14 -14
  122. package/dist/esm/PublicationDeck.js +1 -1
  123. package/dist/esm/QueueDeckExpanded.js +15 -11
  124. package/dist/esm/RecentNews.js +2 -2
  125. package/dist/esm/RelatedContent.js +2 -2
  126. package/dist/esm/{SocialSearchComponent-7f14e0f3.js → SocialSearchComponent-677ed3bd.js} +5 -5
  127. package/dist/esm/TaxonomyCard.js +2 -2
  128. package/dist/esm/TemplateNormal.js +3 -3
  129. package/dist/esm/ThumbnailCard.js +1 -1
  130. package/dist/esm/Ustream.js +2 -2
  131. package/dist/esm/VerticalHero.js +2 -2
  132. package/dist/esm/VideoSeriesCard.js +2 -2
  133. package/dist/esm/VideoSeriesListing.js +4 -4
  134. package/dist/esm/View.js +160 -193
  135. package/dist/esm/YahooHero.js +2 -2
  136. package/dist/esm/YoutubeGroup.js +1 -1
  137. package/dist/esm/getQuery.js +2 -2
  138. package/dist/esm/getRelatedArticle.js +122 -155
  139. package/dist/esm/getSerializers.js +6 -6
  140. package/dist/esm/{index-93ec3c59.js → index-0e45a0b2.js} +27 -34
  141. package/dist/esm/{index-9c5bdccd.js → index-13927b74.js} +448 -460
  142. package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
  143. package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
  144. package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
  145. package/dist/esm/index.js +11 -11
  146. package/dist/esm/{main-0465b2a0.js → main-35ff7b4f.js} +34 -65
  147. package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
  148. package/dist/esm/timeDifferenceCalc.js +1 -1
  149. package/dist/esm/urlFor.js +1 -1
  150. package/package.json +1 -1
@@ -7,13 +7,13 @@ 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, { useRef, useEffect } from 'react';
10
- import './index-93ec3c59.js';
10
+ import './index-0e45a0b2.js';
11
11
  import 'prop-types';
12
12
  import Row from 'react-bootstrap/Row';
13
13
  import Col from 'react-bootstrap/Col';
14
14
  import './isSymbol-807e927e.js';
15
15
  import './debounce-1a993acf.js';
16
- import { m as main_39 } from './main-0465b2a0.js';
16
+ import { m as main_36 } from './main-35ff7b4f.js';
17
17
  import './stringify-008c8802.js';
18
18
  import './slicedToArray-7021e5df.js';
19
19
  import './asyncToGenerator-7c654f36.js';
@@ -48,7 +48,7 @@ var Column3 = function Column3(props) {
48
48
  var adRef = useRef(null);
49
49
 
50
50
  useEffect(function () {
51
- if (!main_39 && window.innerWidth >= 768) {
51
+ if (!main_36 && window.innerWidth >= 768) {
52
52
  var navbar = document.querySelector('.navbar');
53
53
  var AdOffsetTop = adRef.current.getBoundingClientRect().top;
54
54
  window.addEventListener('scroll', function () {
@@ -108,7 +108,7 @@ var Column3 = function Column3(props) {
108
108
  { jsx: 'true' },
109
109
  '\n .filter-box {\n float: right;\n padding-top: 6px;\n padding-right: 18px;\n }\n @media only screen and (min-width: 768px) {\n .title-wrap {\n display: flex;\n justify-content: space-between;\n }\n }\n @media only screen and (max-width: 767px) {\n /* .filter-box {\n float: right;\n display: flex;\n justify-content: flex-end;\n } */\n .title-wrap {\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n }\n }\n '
110
110
  ),
111
- (!main_39 || showRightAd) && React__default.createElement(
111
+ (!main_36 || showRightAd) && React__default.createElement(
112
112
  Col,
113
113
  { xs: 12, className: 'rightCol' },
114
114
  website && website.conferenceBannerContent && React__default.createElement(ConferenceBanner, { website: website }),
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import { m as moment } from './moment-12415288.js';
4
- import { i as imageUrlBuilder } from './index-51a80699.js';
3
+ import { m as moment } from './moment-e2f9b20c.js';
4
+ import { i as imageUrlBuilder } from './index-73819142.js';
5
5
 
6
6
  /*
7
7
  Example usage - targetedonc.com/latest-conference
@@ -14,22 +14,22 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default from 'react';
17
- import { l as lib_3 } from './index-93ec3c59.js';
17
+ import { l as lib_3 } from './index-0e45a0b2.js';
18
18
  import 'prop-types';
19
19
  import Container from 'react-bootstrap/Container';
20
20
  import Row from 'react-bootstrap/Row';
21
21
  import Col from 'react-bootstrap/Col';
22
22
  import Card from 'react-bootstrap/Card';
23
- import { m as moment } from './moment-12415288.js';
23
+ import { m as moment } from './moment-e2f9b20c.js';
24
24
  import { withRouter } from 'next/router';
25
25
  import './isSymbol-807e927e.js';
26
26
  import { d as debounce_1 } from './debounce-1a993acf.js';
27
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
27
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
28
28
  import 'react-dom';
29
29
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
30
- import { i as imageUrlBuilder } from './index-51a80699.js';
30
+ import { i as imageUrlBuilder } from './index-73819142.js';
31
31
  import { L as LazyLoad } from './index-5f9f807a.js';
32
- import { m as main_39 } from './main-0465b2a0.js';
32
+ import { m as main_36 } from './main-35ff7b4f.js';
33
33
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
34
34
  import './stringify-008c8802.js';
35
35
  import './slicedToArray-7021e5df.js';
@@ -38,7 +38,7 @@ import './_set-species-cede29f8.js';
38
38
  import './Segment.js';
39
39
  import './Beam.js';
40
40
  import './AdSlot.js';
41
- import { A as ADInfeed } from './ADInfeed-205cb7a9.js';
41
+ import { A as ADInfeed } from './ADInfeed-cc79bcc2.js';
42
42
 
43
43
  var DeckContent = function (_React$Component) {
44
44
  _inherits(DeckContent, _React$Component);
@@ -266,7 +266,9 @@ var DeckContent = function (_React$Component) {
266
266
  content_placement: brandInsight.targeting.content_placement,
267
267
  document_url: brandInsight.targeting.document_url
268
268
  },
269
- _type: 'BrandInsight'
269
+ _type: 'BrandInsight',
270
+ /* Passing refresh flag */
271
+ refreshFlag: brandInsight.refreshFlag ? brandInsight.refreshFlag : false
270
272
  };
271
273
 
272
274
  articles = insert(articles, pos, inFeedAd);
@@ -349,7 +351,7 @@ var DeckContent = function (_React$Component) {
349
351
  )
350
352
  )
351
353
  ),
352
- main_39 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
354
+ main_36 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
353
355
  );
354
356
  }
355
357
  })
@@ -14,22 +14,22 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default from 'react';
17
- import { l as lib_3 } from './index-93ec3c59.js';
17
+ import { l as lib_3 } from './index-0e45a0b2.js';
18
18
  import 'prop-types';
19
19
  import Container from 'react-bootstrap/Container';
20
20
  import Row from 'react-bootstrap/Row';
21
21
  import Col from 'react-bootstrap/Col';
22
22
  import Card from 'react-bootstrap/Card';
23
- import { m as moment } from './moment-12415288.js';
23
+ import { m as moment } from './moment-e2f9b20c.js';
24
24
  import { withRouter } from 'next/router';
25
25
  import './isSymbol-807e927e.js';
26
26
  import { d as debounce_1 } from './debounce-1a993acf.js';
27
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
27
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
28
28
  import 'react-dom';
29
29
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
30
- import { i as imageUrlBuilder } from './index-51a80699.js';
30
+ import { i as imageUrlBuilder } from './index-73819142.js';
31
31
  import { L as LazyLoad } from './index-5f9f807a.js';
32
- import { m as main_39 } from './main-0465b2a0.js';
32
+ import { m as main_36 } from './main-35ff7b4f.js';
33
33
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
34
34
  import { g as get_1 } from './get-5ee14cda.js';
35
35
 
@@ -300,7 +300,7 @@ var DeckQueue = function (_React$Component) {
300
300
  )
301
301
  )
302
302
  ),
303
- main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
303
+ main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
304
304
  );
305
305
  })
306
306
  );
@@ -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 } from 'react';
7
- import { b as lib_1, a as lib_2 } from './index-93ec3c59.js';
7
+ import { b as lib_1, a as lib_2 } from './index-0e45a0b2.js';
8
8
  import PropTypes from 'prop-types';
9
9
  import './isSymbol-807e927e.js';
10
10
  import { d as debounce_1 } from './debounce-1a993acf.js';
@@ -13,17 +13,17 @@ import Container from 'react-bootstrap/Container';
13
13
  import Row from 'react-bootstrap/Row';
14
14
  import Col from 'react-bootstrap/Col';
15
15
  import Card from 'react-bootstrap/Card';
16
- import './moment-12415288.js';
16
+ import './moment-e2f9b20c.js';
17
17
  import { useRouter } from 'next/router';
18
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
19
- import './main-0465b2a0.js';
18
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
19
+ import './main-35ff7b4f.js';
20
20
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
21
21
  import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-7021e5df.js';
22
22
  import Button from 'react-bootstrap/Button';
23
23
  import { _ as _defineProperty } from './defineProperty-b798470d.js';
24
24
  import Spinner from 'react-bootstrap/Spinner';
25
25
  import Form from 'react-bootstrap/Form';
26
- import { m as momentTimezone } from './index-d2f90501.js';
26
+ import { m as momentTimezone } from './index-ef6d5dcf.js';
27
27
  import { j as js_cookie } from './js.cookie-6874175c.js';
28
28
 
29
29
  var isEnum = _objectPie.f;
@@ -14,18 +14,18 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default, { useState, useEffect } from 'react';
17
- import './index-93ec3c59.js';
17
+ import './index-0e45a0b2.js';
18
18
  import 'prop-types';
19
19
  import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
- import './moment-12415288.js';
21
+ import './moment-e2f9b20c.js';
22
22
  import { useRouter } from 'next/router';
23
23
  import './isSymbol-807e927e.js';
24
24
  import './debounce-1a993acf.js';
25
25
  import 'react-dom';
26
- import './index-51a80699.js';
26
+ import './index-73819142.js';
27
27
  import './index-5f9f807a.js';
28
- import './main-0465b2a0.js';
28
+ import './main-35ff7b4f.js';
29
29
  import './entities-7cc3bf45.js';
30
30
  import './stringify-008c8802.js';
31
31
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
@@ -34,15 +34,15 @@ import './_set-species-cede29f8.js';
34
34
  import './Segment.js';
35
35
  import './Beam.js';
36
36
  import './AdSlot.js';
37
- import { B as BlockContent } from './BlockContent-a614acdf.js';
37
+ import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
38
38
  import './smoothscroll-4b699764.js';
39
39
  import './GroupDeck.js';
40
40
  import 'react-bootstrap';
41
41
  import './iconBase-602d52fe.js';
42
42
  import './index.esm-29e48d38.js';
43
43
  import Button from 'react-bootstrap/Button';
44
- import { m as momentTimezone } from './index-d2f90501.js';
45
- import { g as getSerializers } from './index-9c5bdccd.js';
44
+ import { m as momentTimezone } from './index-ef6d5dcf.js';
45
+ import { g as getSerializers } from './index-13927b74.js';
46
46
  import './util-7700fc59.js';
47
47
  import './brightcove-react-player-loader.es-83f53e4e.js';
48
48
  import 'react-bootstrap/Pagination';
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import { i as imageUrlBuilder } from './index-51a80699.js';
4
- import { m as main_39 } from './main-0465b2a0.js';
3
+ import { i as imageUrlBuilder } from './index-73819142.js';
4
+ import { m as main_36 } from './main-35ff7b4f.js';
5
5
  import Carousel from 'react-bootstrap/Carousel';
6
6
 
7
7
  //Feature query to be used
@@ -34,7 +34,7 @@ var Feature = function Feature(props) {
34
34
  };
35
35
  //image width updated.
36
36
  var imageWidth = 450;
37
- if (main_39) {
37
+ if (main_36) {
38
38
  imageWidth = 225;
39
39
  }
40
40
 
@@ -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-12415288.js';
8
+ import { m as moment } from './moment-e2f9b20c.js';
9
9
  import 'react-dom';
10
- import { i as imageUrlBuilder } from './index-51a80699.js';
10
+ import { i as imageUrlBuilder } from './index-73819142.js';
11
11
  import { L as LazyLoad } from './index-5f9f807a.js';
12
12
  import './slicedToArray-7021e5df.js';
13
13
  import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
@@ -14,22 +14,22 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default from 'react';
17
- import { l as lib_3 } from './index-93ec3c59.js';
17
+ import { l as lib_3 } from './index-0e45a0b2.js';
18
18
  import 'prop-types';
19
19
  import Container from 'react-bootstrap/Container';
20
20
  import Row from 'react-bootstrap/Row';
21
21
  import Col from 'react-bootstrap/Col';
22
22
  import Card from 'react-bootstrap/Card';
23
- import { m as moment } from './moment-12415288.js';
23
+ import { m as moment } from './moment-e2f9b20c.js';
24
24
  import { withRouter } from 'next/router';
25
25
  import './isSymbol-807e927e.js';
26
26
  import { d as debounce_1 } from './debounce-1a993acf.js';
27
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
27
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
28
28
  import 'react-dom';
29
29
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
30
- import { i as imageUrlBuilder } from './index-51a80699.js';
30
+ import { i as imageUrlBuilder } from './index-73819142.js';
31
31
  import { L as LazyLoad } from './index-5f9f807a.js';
32
- import { m as main_39 } from './main-0465b2a0.js';
32
+ import { m as main_36 } from './main-35ff7b4f.js';
33
33
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
34
34
  import './stringify-008c8802.js';
35
35
  import './slicedToArray-7021e5df.js';
@@ -38,9 +38,9 @@ import './_set-species-cede29f8.js';
38
38
  import './Segment.js';
39
39
  import './Beam.js';
40
40
  import './AdSlot.js';
41
- import { A as ADInfeed } from './ADInfeed-205cb7a9.js';
41
+ import { A as ADInfeed } from './ADInfeed-cc79bcc2.js';
42
42
  import { l as lodash } from './lodash-17fdfebb.js';
43
- import { A as ADlgInfeed } from './ADlgInfeed-e538f17a.js';
43
+ import { A as ADlgInfeed } from './ADlgInfeed-501cbfca.js';
44
44
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
45
45
  import { g as get_1 } from './get-5ee14cda.js';
46
46
  import './AD.js';
@@ -386,7 +386,9 @@ var GridContent = function (_React$Component) {
386
386
  targeting: {
387
387
  content_placement: brandInsight.targeting.content_placement,
388
388
  document_url: brandInsight.targeting.document_url
389
- }
389
+ },
390
+ /* Passing refresh flag */
391
+ refreshFlag: brandInsight.refreshFlag ? brandInsight.refreshFlag : false
390
392
  };
391
393
  var chunks = lodash.chunk(data, 6).map(function (chunk) {
392
394
  var set = lodash.chunk(chunk, 2);
@@ -423,7 +425,9 @@ var GridContent = function (_React$Component) {
423
425
  content_placement: brandInsight.targeting.content_placement,
424
426
  document_url: brandInsight.targeting.document_url
425
427
  },
426
- _type: 'brandInsightAd'
428
+ _type: 'brandInsightAd',
429
+ /* Passing refresh flag */
430
+ refreshFlag: brandInsight.refreshFlag ? brandInsight.refreshFlag : false
427
431
  };
428
432
 
429
433
  posts = insert(posts, pos, inFeedAd);
@@ -527,7 +531,7 @@ var GridContent = function (_React$Component) {
527
531
  )
528
532
  ),
529
533
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
530
- main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
534
+ main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
531
535
  );
532
536
  } else {
533
537
  return React__default.createElement(
@@ -591,7 +595,7 @@ var GridContent = function (_React$Component) {
591
595
  )
592
596
  ),
593
597
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
594
- main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
598
+ main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
595
599
  );
596
600
  }
597
601
  } else if (row._type === 'lg-infeed' && row.adUnit) {
@@ -679,7 +683,7 @@ var GridContent = function (_React$Component) {
679
683
  )
680
684
  ),
681
685
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
682
- main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
686
+ main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
683
687
  );
684
688
  } else return null;
685
689
  }) : React__default.createElement(
@@ -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-12415288.js';
8
+ import { m as moment } from './moment-e2f9b20c.js';
9
9
  import 'react-dom';
10
- import { i as imageUrlBuilder } from './index-51a80699.js';
10
+ import { i as imageUrlBuilder } from './index-73819142.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';
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
8
8
  import { _ as _typeof } from './typeof-08f2c380.js';
9
9
  import './_is-array-49698029.js';
10
10
  import React__default, { useRef, useState, useEffect } from 'react';
11
- import { i as imageUrlBuilder } from './index-51a80699.js';
11
+ import { i as imageUrlBuilder } from './index-73819142.js';
12
12
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
13
13
  import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
14
14
 
@@ -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 { m as main_39, a as main_40 } from './main-0465b2a0.js';
11
+ import { m as main_36, a as main_37 } from './main-35ff7b4f.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-7f14e0f3.js';
29
+ import { S as SocialSearchComponent } from './SocialSearchComponent-677ed3bd.js';
30
30
 
31
31
  var HamMagazine = function HamMagazine(props) {
32
32
  /*
@@ -207,7 +207,7 @@ var HamMagazine = function HamMagazine(props) {
207
207
 
208
208
  return React__default.createElement(
209
209
  'header',
210
- { className: !main_39 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '999999' } },
210
+ { className: !main_36 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '999999' } },
211
211
  React__default.createElement(
212
212
  Navbar,
213
213
  { expand: 'md', ref: topNavRef },
@@ -334,7 +334,7 @@ var HamMagazine = function HamMagazine(props) {
334
334
  'aria-controls': 'basic-navbar-nav',
335
335
  onClick: function onClick() {
336
336
  // Set overflow fix for iPhones safari browsers
337
- if (main_40) {
337
+ if (main_37) {
338
338
  var mainNav = document.querySelector('#navbar-ham');
339
339
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
340
340
  }
package/dist/esm/Hero.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import { i as imageUrlBuilder } from './index-51a80699.js';
3
+ import { i as imageUrlBuilder } from './index-73819142.js';
4
4
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
5
5
  import { Card } from 'react-bootstrap';
6
6
 
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import './moment-12415288.js';
4
- import { i as imageUrlBuilder } from './index-51a80699.js';
3
+ import './moment-e2f9b20c.js';
4
+ import { i as imageUrlBuilder } from './index-73819142.js';
5
5
  import './iconBase-602d52fe.js';
6
6
  import { a as FaLongArrowAltRight } from './index.esm-cf08bf18.js';
7
7
 
@@ -8,9 +8,9 @@ import 'prop-types';
8
8
  import Row from 'react-bootstrap/Row';
9
9
  import Col from 'react-bootstrap/Col';
10
10
  import Card from 'react-bootstrap/Card';
11
- import { m as moment } from './moment-12415288.js';
11
+ import { m as moment } from './moment-e2f9b20c.js';
12
12
  import 'react-dom';
13
- import { i as imageUrlBuilder } from './index-51a80699.js';
13
+ import { i as imageUrlBuilder } from './index-73819142.js';
14
14
  import { L as LazyLoad } from './index-5f9f807a.js';
15
15
  import './slicedToArray-7021e5df.js';
16
16
  import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
@@ -12,9 +12,9 @@ import 'prop-types';
12
12
  import Row from 'react-bootstrap/Row';
13
13
  import Col from 'react-bootstrap/Col';
14
14
  import Card from 'react-bootstrap/Card';
15
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
15
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
16
16
  import 'react-dom';
17
- import { i as imageUrlBuilder } from './index-51a80699.js';
17
+ import { i as imageUrlBuilder } from './index-73819142.js';
18
18
  import { L as LazyLoad } from './index-5f9f807a.js';
19
19
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
20
20
  import Button from 'react-bootstrap/Button';
@@ -9,19 +9,19 @@ import './_object-pie-71ac75a4.js';
9
9
  import './extends-cc5da797.js';
10
10
  import './web.dom.iterable-8956f9a5.js';
11
11
  import React__default from 'react';
12
- import './index-93ec3c59.js';
12
+ import './index-0e45a0b2.js';
13
13
  import 'prop-types';
14
14
  import 'react-bootstrap/Card';
15
- import './moment-12415288.js';
15
+ import './moment-e2f9b20c.js';
16
16
  import 'next/router';
17
17
  import './isSymbol-807e927e.js';
18
18
  import './debounce-1a993acf.js';
19
- import './index.es-938a3a58.js';
19
+ import './index.es-29c1cef5.js';
20
20
  import 'react-dom';
21
21
  import './visibility-sensor-0baa4eea.js';
22
- import './index-51a80699.js';
22
+ import './index-73819142.js';
23
23
  import './index-5f9f807a.js';
24
- import './main-0465b2a0.js';
24
+ import './main-35ff7b4f.js';
25
25
  import './entities-7cc3bf45.js';
26
26
  import './stringify-008c8802.js';
27
27
  import './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 './ADInfeed-205cb7a9.js';
33
+ import './ADInfeed-cc79bcc2.js';
34
34
  import './lodash-17fdfebb.js';
35
- import './ADlgInfeed-e538f17a.js';
35
+ import './ADlgInfeed-501cbfca.js';
36
36
  import './getContentCategory-15dcc413.js';
37
37
  import './AuthorComponent-00f13201.js';
38
38
  import 'react-bootstrap';
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useRef, useEffect } from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import './main-0465b2a0.js';
13
+ import './main-35ff7b4f.js';
14
14
  import './stringify-008c8802.js';
15
15
  import './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -88,7 +88,7 @@ var LeftNav = function LeftNav(props) {
88
88
  return React__default.createElement(
89
89
  'div',
90
90
  { key: index },
91
- React__default.createElement(ADWebcast, { webcastAd: row })
91
+ React__default.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
92
92
  );
93
93
  } else {
94
94
  return React__default.createElement(
@@ -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 from 'react';
17
- import { l as lib_3 } from './index-93ec3c59.js';
17
+ import { l as lib_3 } from './index-0e45a0b2.js';
18
18
  import 'prop-types';
19
19
  import Container from 'react-bootstrap/Container';
20
20
  import 'react-bootstrap/Row';
21
21
  import 'react-bootstrap/Col';
22
22
  import 'react-bootstrap/Card';
23
- import './moment-12415288.js';
23
+ import './moment-e2f9b20c.js';
24
24
  import { withRouter } from 'next/router';
25
25
  import './isSymbol-807e927e.js';
26
26
  import { d as debounce_1 } from './debounce-1a993acf.js';
27
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
27
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
28
28
  import 'react-dom';
29
29
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
30
- import './index-51a80699.js';
31
- import './main-0465b2a0.js';
30
+ import './index-73819142.js';
31
+ import './main-35ff7b4f.js';
32
32
  import './stringify-008c8802.js';
33
33
  import './slicedToArray-7021e5df.js';
34
34
  import { _ as _Promise } from './asyncToGenerator-7c654f36.js';
@@ -36,9 +36,9 @@ import './_set-species-cede29f8.js';
36
36
  import './Segment.js';
37
37
  import './Beam.js';
38
38
  import './AdSlot.js';
39
- import { A as ADInfeed } from './ADInfeed-205cb7a9.js';
39
+ import { A as ADInfeed } from './ADInfeed-cc79bcc2.js';
40
40
  import { l as lodash } from './lodash-17fdfebb.js';
41
- import { A as ADlgInfeed } from './ADlgInfeed-e538f17a.js';
41
+ import { A as ADlgInfeed } from './ADlgInfeed-501cbfca.js';
42
42
 
43
43
  var MasterDeck = function (_React$Component) {
44
44
  _inherits(MasterDeck, _React$Component);
@@ -267,7 +267,9 @@ var MasterDeck = function (_React$Component) {
267
267
  targeting: {
268
268
  content_placement: brandInsightAd.targeting.content_placement,
269
269
  document_url: brandInsightAd.targeting.document_url
270
- }
270
+ },
271
+ /* Passing refresh flag */
272
+ refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
271
273
  };
272
274
 
273
275
  var chunks = lodash.chunk(data, 6).map(function (chunk) {
@@ -300,7 +302,9 @@ var MasterDeck = function (_React$Component) {
300
302
  content_placement: brandInsightAd.targeting.content_placement,
301
303
  document_url: brandInsightAd.targeting.document_url
302
304
  },
303
- _type: 'brandInsightAd'
305
+ _type: 'brandInsightAd',
306
+ /* Passing refresh flag */
307
+ refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
304
308
  };
305
309
 
306
310
  data = insertBrandInsightAd(data, pos, inFeedAd);
@@ -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_40 } from './main-0465b2a0.js';
11
+ import { a as main_37 } from './main-35ff7b4f.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-7f14e0f3.js';
29
+ import { S as SocialSearchComponent } from './SocialSearchComponent-677ed3bd.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_40 ? 'bottom-nav ios-nav' : 'bottom-nav ',
319
+ className: main_37 ? '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_40) {
335
+ if (main_37) {
336
336
  var mainNav = document.querySelector('#navbar-ham');
337
337
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
338
338
  }