@mjhls/mjh-framework 1.0.832-scroll-fix-v2 → 1.0.833-d4d-52

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 (162) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD300x250.js +2 -2
  3. package/dist/cjs/AD300x250x600.js +2 -2
  4. package/dist/cjs/AD728x90.js +3 -3
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/ADSkyscraper.js +1 -1
  8. package/dist/cjs/ADSponsoredResources.js +1 -1
  9. package/dist/cjs/ADWebcast.js +1 -1
  10. package/dist/cjs/ADWelcome.js +1 -1
  11. package/dist/cjs/AdSlot.js +1 -1
  12. package/dist/cjs/AdSlotsProvider.js +2 -2
  13. package/dist/cjs/AlgoliaSearch.js +36 -18
  14. package/dist/cjs/ArticleCarousel.js +1 -1
  15. package/dist/cjs/ArticleProgramLandingPage.js +5 -5
  16. package/dist/cjs/ArticleSeriesLandingPage.js +5 -5
  17. package/dist/cjs/ArticleSeriesListing.js +3 -3
  18. package/dist/cjs/Auth.js +6 -41
  19. package/dist/cjs/AuthWrapper.js +189 -228
  20. package/dist/cjs/CMEDeck.js +3 -3
  21. package/dist/cjs/Column3.js +3 -3
  22. package/dist/cjs/ConferenceArticleCard.js +16 -16
  23. package/dist/cjs/DeckContent.js +13 -13
  24. package/dist/cjs/DeckQueue.js +4 -4
  25. package/dist/cjs/EventsDeck.js +21 -21
  26. package/dist/cjs/ExternalResources.js +5 -5
  27. package/dist/cjs/Feature.js +2 -2
  28. package/dist/cjs/ForbesHero.js +1 -1
  29. package/dist/cjs/GridContent.js +8 -8
  30. package/dist/cjs/GridHero.js +1 -1
  31. package/dist/cjs/HamMagazine.js +15 -15
  32. package/dist/cjs/HighlightenVideo.js +1 -1
  33. package/dist/cjs/HorizontalArticleListing.js +4 -4
  34. package/dist/cjs/HorizontalHero.js +1 -1
  35. package/dist/cjs/IssueContentDeck.js +1 -1
  36. package/dist/cjs/IssueDeck.js +1 -1
  37. package/dist/cjs/IssueLanding.js +36 -36
  38. package/dist/cjs/KMTracker.js +15 -15
  39. package/dist/cjs/LeftNav.js +1 -1
  40. package/dist/cjs/MasterDeck.js +13 -13
  41. package/dist/cjs/MediaSeriesLanding.js +193 -149
  42. package/dist/cjs/NavMagazine.js +14 -14
  43. package/dist/cjs/NavNative.js +12 -12
  44. package/dist/cjs/OncliveHero.js +1 -1
  45. package/dist/cjs/OncliveLargeHero.js +1 -1
  46. package/dist/cjs/PartnerDetailListing.js +7 -7
  47. package/dist/cjs/PubSection.js +5 -5
  48. package/dist/cjs/PublicationLanding.js +26 -26
  49. package/dist/cjs/QueueDeckExpanded.js +7 -7
  50. package/dist/cjs/RelatedContent.js +29 -29
  51. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  52. package/dist/cjs/SeriesListingDeck.js +3 -3
  53. package/dist/cjs/{SeriesSlider-7d308aac.js → SeriesSlider-10bc3826.js} +10 -10
  54. package/dist/cjs/SideFooter.js +2 -2
  55. package/dist/cjs/{SocialSearchComponent-42b9d251.js → SocialSearchComponent-560a666e.js} +3 -3
  56. package/dist/cjs/TaxonomyDescription.js +4 -4
  57. package/dist/cjs/TemplateNormal.js +2 -2
  58. package/dist/cjs/Ustream.js +2 -2
  59. package/dist/cjs/VerticalHero.js +1 -1
  60. package/dist/cjs/VideoProgramLandingPage.js +5 -5
  61. package/dist/cjs/VideoSeriesCard.js +2 -2
  62. package/dist/cjs/VideoSeriesLandingPage.js +5 -5
  63. package/dist/cjs/VideoSeriesListing.js +3 -3
  64. package/dist/cjs/View.js +18 -15
  65. package/dist/cjs/YahooHero.js +1 -1
  66. package/dist/cjs/YoutubeGroup.js +10 -10
  67. package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-4ba0d3d5.js} +3 -4
  68. package/dist/cjs/getRelatedArticle.js +126 -62
  69. package/dist/cjs/getSerializers.js +4 -4
  70. package/dist/cjs/{getTargeting-15ad167c.js → getTargeting-ea2ea5e7.js} +9 -9
  71. package/dist/cjs/getTargeting.js +1 -1
  72. package/dist/cjs/{index-6367b7bf.js → index-5be2866f.js} +17 -16
  73. package/dist/cjs/{index-5d106b44.js → index-b10010e9.js} +12 -12
  74. package/dist/cjs/{index-e2e62963.js → index-f0677b9d.js} +10 -0
  75. package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
  76. package/dist/cjs/index.js +12 -12
  77. package/dist/cjs/{main-7b5e57b0.js → main-11ec04d2.js} +28 -32
  78. package/dist/cjs/{moment-ca3bd9fb.js → moment-66a6a284.js} +8 -10
  79. package/dist/cjs/timeDifferenceCalc.js +1 -1
  80. package/dist/esm/AD300x250.js +2 -2
  81. package/dist/esm/AD300x250x600.js +2 -2
  82. package/dist/esm/AD728x90.js +3 -3
  83. package/dist/esm/ADFloatingFooter.js +1 -1
  84. package/dist/esm/ADGutter.js +1 -1
  85. package/dist/esm/ADSkyscraper.js +1 -1
  86. package/dist/esm/ADSponsoredResources.js +1 -1
  87. package/dist/esm/ADWebcast.js +1 -1
  88. package/dist/esm/ADWelcome.js +1 -1
  89. package/dist/esm/AdSlot.js +1 -1
  90. package/dist/esm/AdSlotsProvider.js +2 -2
  91. package/dist/esm/AlgoliaSearch.js +35 -17
  92. package/dist/esm/ArticleCarousel.js +1 -1
  93. package/dist/esm/ArticleProgramLandingPage.js +5 -5
  94. package/dist/esm/ArticleSeriesLandingPage.js +5 -5
  95. package/dist/esm/ArticleSeriesListing.js +3 -3
  96. package/dist/esm/Auth.js +7 -42
  97. package/dist/esm/AuthWrapper.js +189 -228
  98. package/dist/esm/CMEDeck.js +3 -3
  99. package/dist/esm/Column3.js +3 -3
  100. package/dist/esm/ConferenceArticleCard.js +16 -16
  101. package/dist/esm/DeckContent.js +13 -13
  102. package/dist/esm/DeckQueue.js +4 -4
  103. package/dist/esm/EventsDeck.js +21 -21
  104. package/dist/esm/ExternalResources.js +5 -5
  105. package/dist/esm/Feature.js +2 -2
  106. package/dist/esm/ForbesHero.js +1 -1
  107. package/dist/esm/GridContent.js +8 -8
  108. package/dist/esm/GridHero.js +1 -1
  109. package/dist/esm/HamMagazine.js +15 -15
  110. package/dist/esm/HighlightenVideo.js +1 -1
  111. package/dist/esm/HorizontalArticleListing.js +4 -4
  112. package/dist/esm/HorizontalHero.js +1 -1
  113. package/dist/esm/IssueContentDeck.js +1 -1
  114. package/dist/esm/IssueDeck.js +1 -1
  115. package/dist/esm/IssueLanding.js +36 -36
  116. package/dist/esm/KMTracker.js +15 -15
  117. package/dist/esm/LeftNav.js +1 -1
  118. package/dist/esm/MasterDeck.js +13 -13
  119. package/dist/esm/MediaSeriesLanding.js +193 -149
  120. package/dist/esm/NavMagazine.js +14 -14
  121. package/dist/esm/NavNative.js +12 -12
  122. package/dist/esm/OncliveHero.js +1 -1
  123. package/dist/esm/OncliveLargeHero.js +1 -1
  124. package/dist/esm/PartnerDetailListing.js +7 -7
  125. package/dist/esm/PubSection.js +5 -5
  126. package/dist/esm/PublicationLanding.js +26 -26
  127. package/dist/esm/QueueDeckExpanded.js +7 -7
  128. package/dist/esm/RelatedContent.js +29 -29
  129. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  130. package/dist/esm/SeriesListingDeck.js +3 -3
  131. package/dist/esm/{SeriesSlider-3c4bfe38.js → SeriesSlider-31dcb72b.js} +10 -10
  132. package/dist/esm/SideFooter.js +2 -2
  133. package/dist/esm/{SocialSearchComponent-94f6554c.js → SocialSearchComponent-82ac7d6d.js} +3 -3
  134. package/dist/esm/TaxonomyDescription.js +4 -4
  135. package/dist/esm/TemplateNormal.js +2 -2
  136. package/dist/esm/Ustream.js +2 -2
  137. package/dist/esm/VerticalHero.js +1 -1
  138. package/dist/esm/VideoProgramLandingPage.js +5 -5
  139. package/dist/esm/VideoSeriesCard.js +2 -2
  140. package/dist/esm/VideoSeriesLandingPage.js +5 -5
  141. package/dist/esm/VideoSeriesListing.js +3 -3
  142. package/dist/esm/View.js +18 -15
  143. package/dist/esm/YahooHero.js +1 -1
  144. package/dist/esm/YoutubeGroup.js +10 -10
  145. package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-e1c6b0f2.js} +3 -4
  146. package/dist/esm/getRelatedArticle.js +126 -62
  147. package/dist/esm/getSerializers.js +4 -4
  148. package/dist/esm/{getTargeting-82e86707.js → getTargeting-831bc794.js} +9 -9
  149. package/dist/esm/getTargeting.js +1 -1
  150. package/dist/esm/{index-04d3dda1.js → index-b3bd543b.js} +12 -12
  151. package/dist/esm/{index-aaa2dae0.js → index-b68072f5.js} +10 -1
  152. package/dist/esm/{index-c00b0bbb.js → index-d2f90501.js} +17 -16
  153. package/dist/esm/{index.es-c6222053.js → index.es-7dda2f0a.js} +4 -20
  154. package/dist/esm/index.js +12 -12
  155. package/dist/esm/{main-747e7d25.js → main-aef58dbc.js} +28 -32
  156. package/dist/esm/{moment-b6f49411.js → moment-12415288.js} +8 -10
  157. package/dist/esm/timeDifferenceCalc.js +1 -1
  158. package/package.json +110 -110
  159. /package/dist/cjs/{ADInfeed-0158bee3.js → ADInfeed-912f52c2.js} +0 -0
  160. /package/dist/cjs/{ADlgInfeed-3583144f.js → ADlgInfeed-98acbab8.js} +0 -0
  161. /package/dist/esm/{ADInfeed-427022e9.js → ADInfeed-813279c7.js} +0 -0
  162. /package/dist/esm/{ADlgInfeed-28d3f944.js → ADlgInfeed-8ba1523a.js} +0 -0
@@ -21,18 +21,18 @@ import Container from 'react-bootstrap/Container';
21
21
  import Row from 'react-bootstrap/Row';
22
22
  import Col from 'react-bootstrap/Col';
23
23
  import Card from 'react-bootstrap/Card';
24
- import { m as moment } from './moment-b6f49411.js';
24
+ import { m as moment } from './moment-12415288.js';
25
25
  import { withRouter } from 'next/router';
26
26
  import './isSymbol-1981418f.js';
27
27
  import { d as debounce_1 } from './debounce-9207d8ee.js';
28
28
  import './toNumber-2f7a84cd.js';
29
- import { I as InfiniteScroll } from './index.es-c6222053.js';
29
+ import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
30
30
  import 'react-dom';
31
31
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
32
32
  import './index-51a80699.js';
33
33
  import urlFor from './urlFor.js';
34
34
  import { L as LazyLoad } from './index-6c12bdd5.js';
35
- import { m as main_40 } from './main-747e7d25.js';
35
+ import { m as main_39 } from './main-aef58dbc.js';
36
36
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
37
37
  import './slicedToArray-641f241f.js';
38
38
  import './stringify-4330ccdc.js';
@@ -40,7 +40,7 @@ import './asyncToGenerator-fc1c2e29.js';
40
40
  import './Segment.js';
41
41
  import './Beam.js';
42
42
  import './AdSlot.js';
43
- import { A as ADInfeed } from './ADInfeed-427022e9.js';
43
+ import { A as ADInfeed } from './ADInfeed-813279c7.js';
44
44
 
45
45
  var DeckContent = function (_React$Component) {
46
46
  _inherits(DeckContent, _React$Component);
@@ -174,14 +174,14 @@ var DeckContent = function (_React$Component) {
174
174
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
175
175
 
176
176
  // please leave this for later debug purpose : Yong Jun.
177
- /* console.log('page change reported', {
178
- currentPage: currentPage,
179
- pageNumber: pageNumber,
180
- pathname: pathname,
181
- path: path,
182
- newPath: newPath,
183
- firstPage: pageNumber === 1,
184
- queryString: queryString
177
+ /* console.log('page change reported', {
178
+ currentPage: currentPage,
179
+ pageNumber: pageNumber,
180
+ pathname: pathname,
181
+ path: path,
182
+ newPath: newPath,
183
+ firstPage: pageNumber === 1,
184
+ queryString: queryString
185
185
  }) */
186
186
 
187
187
  if (pageview) {
@@ -346,7 +346,7 @@ var DeckContent = function (_React$Component) {
346
346
  )
347
347
  )
348
348
  ),
349
- main_40 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
349
+ main_39 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
350
350
  );
351
351
  }
352
352
  })
@@ -21,18 +21,18 @@ import Container from 'react-bootstrap/Container';
21
21
  import Row from 'react-bootstrap/Row';
22
22
  import Col from 'react-bootstrap/Col';
23
23
  import Card from 'react-bootstrap/Card';
24
- import { m as moment } from './moment-b6f49411.js';
24
+ import { m as moment } from './moment-12415288.js';
25
25
  import { withRouter } from 'next/router';
26
26
  import './isSymbol-1981418f.js';
27
27
  import { d as debounce_1 } from './debounce-9207d8ee.js';
28
28
  import './toNumber-2f7a84cd.js';
29
- import { I as InfiniteScroll } from './index.es-c6222053.js';
29
+ import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
30
30
  import 'react-dom';
31
31
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
32
32
  import './index-51a80699.js';
33
33
  import urlFor from './urlFor.js';
34
34
  import { L as LazyLoad } from './index-6c12bdd5.js';
35
- import { m as main_40 } from './main-747e7d25.js';
35
+ import { m as main_39 } from './main-aef58dbc.js';
36
36
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
37
37
  import { g as get_1 } from './get-1e515072.js';
38
38
  import './eq-b470f743.js';
@@ -302,7 +302,7 @@ var DeckQueue = function (_React$Component) {
302
302
  )
303
303
  )
304
304
  ),
305
- main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
305
+ main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
306
306
  );
307
307
  })
308
308
  );
@@ -13,10 +13,10 @@ 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-b6f49411.js';
16
+ import './moment-12415288.js';
17
17
  import { useRouter } from 'next/router';
18
- import { I as InfiniteScroll } from './index.es-c6222053.js';
19
- import './main-747e7d25.js';
18
+ import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
19
+ import './main-aef58dbc.js';
20
20
  import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
21
21
  import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
22
22
  import { _ as _objectToArray } from './_object-to-array-7e804fce.js';
@@ -24,7 +24,7 @@ import Button from 'react-bootstrap/Button';
24
24
  import { _ as _defineProperty } from './defineProperty-94fd8bfc.js';
25
25
  import Spinner from 'react-bootstrap/Spinner';
26
26
  import Form from 'react-bootstrap/Form';
27
- import { m as momentTimezone } from './index-c00b0bbb.js';
27
+ import { m as momentTimezone } from './index-d2f90501.js';
28
28
  import { j as js_cookie } from './js.cookie-6874175c.js';
29
29
 
30
30
  // https://github.com/tc39/proposal-object-values-entries
@@ -245,23 +245,23 @@ var EventsDeck = function EventsDeck(_ref) {
245
245
  if (cventAccessToken && cventAccessToken !== 'undefined') {
246
246
  setAccessToken(cventAccessToken);
247
247
  } else {
248
- /*const encodedData = window.btoa(clientId + ':' + clientSecret)
249
- //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
250
- const url = `https://api-platform.cvent.com/ea/oauth2/token`
251
- fetch(url, {
252
- headers: {
253
- 'Content-Type': 'application/x-www-form-urlencoded',
254
- Authorization: `Basic ${encodedData}`
255
- },
256
- method: 'POST',
257
- body: `grant_type=client_credentials&client_id=${clientId}`
258
- })
259
- .then((response) => response.json())
260
- .then((json) => {
261
- const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
262
- Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
263
- setAccessToken(json.access_token)
264
- })
248
+ /*const encodedData = window.btoa(clientId + ':' + clientSecret)
249
+ //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
250
+ const url = `https://api-platform.cvent.com/ea/oauth2/token`
251
+ fetch(url, {
252
+ headers: {
253
+ 'Content-Type': 'application/x-www-form-urlencoded',
254
+ Authorization: `Basic ${encodedData}`
255
+ },
256
+ method: 'POST',
257
+ body: `grant_type=client_credentials&client_id=${clientId}`
258
+ })
259
+ .then((response) => response.json())
260
+ .then((json) => {
261
+ const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
262
+ Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
263
+ setAccessToken(json.access_token)
264
+ })
265
265
  .catch((e) => console.log(e))*/
266
266
  // hello
267
267
  var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
@@ -19,7 +19,7 @@ import './index-f7fb1e25.js';
19
19
  import 'prop-types';
20
20
  import 'react-bootstrap/Row';
21
21
  import 'react-bootstrap/Col';
22
- import './moment-b6f49411.js';
22
+ import './moment-12415288.js';
23
23
  import { useRouter } from 'next/router';
24
24
  import './isSymbol-1981418f.js';
25
25
  import './debounce-9207d8ee.js';
@@ -28,7 +28,7 @@ import 'react-dom';
28
28
  import './index-51a80699.js';
29
29
  import './urlFor.js';
30
30
  import './index-6c12bdd5.js';
31
- import './main-747e7d25.js';
31
+ import './main-aef58dbc.js';
32
32
  import './entities-7cc3bf45.js';
33
33
  import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
34
34
  import './stringify-4330ccdc.js';
@@ -43,9 +43,9 @@ import './GroupDeck.js';
43
43
  import 'react-bootstrap';
44
44
  import './iconBase-602d52fe.js';
45
45
  import './index.esm-3fdda599.js';
46
- import { g as getSerializers } from './index-04d3dda1.js';
46
+ import { g as getSerializers } from './index-b3bd543b.js';
47
47
  import './util-7700fc59.js';
48
- import './brightcove-react-player-loader.es-4abff0b1.js';
48
+ import './brightcove-react-player-loader.es-e1c6b0f2.js';
49
49
  import 'next/head';
50
50
  import 'react-share';
51
51
  import './SocialShare.js';
@@ -53,7 +53,7 @@ import './_object-to-array-7e804fce.js';
53
53
  import 'react-bootstrap/Pagination';
54
54
  import Button from 'react-bootstrap/Button';
55
55
  import 'react-bootstrap/Figure';
56
- import { m as momentTimezone } from './index-c00b0bbb.js';
56
+ import { m as momentTimezone } from './index-d2f90501.js';
57
57
 
58
58
  var ExternalResources = function ExternalResources(props) {
59
59
  var resources = props.resources,
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React from 'react';
3
3
  import './index-51a80699.js';
4
4
  import urlFor from './urlFor.js';
5
- import { m as main_40 } from './main-747e7d25.js';
5
+ import { m as main_39 } from './main-aef58dbc.js';
6
6
  import Carousel from 'react-bootstrap/Carousel';
7
7
 
8
8
  //Feature query to be used
@@ -30,7 +30,7 @@ var Feature = function Feature(props) {
30
30
 
31
31
  //image width updated.
32
32
  var imageWidth = 450;
33
- if (main_40) {
33
+ if (main_39) {
34
34
  imageWidth = 225;
35
35
  }
36
36
 
@@ -5,7 +5,7 @@ import './core.get-iterator-method-e1de7503.js';
5
5
  import './web.dom.iterable-4439f05a.js';
6
6
  import React from 'react';
7
7
  import 'prop-types';
8
- import { m as moment } from './moment-b6f49411.js';
8
+ import { m as moment } from './moment-12415288.js';
9
9
  import 'react-dom';
10
10
  import './index-51a80699.js';
11
11
  import urlFor from './urlFor.js';
@@ -21,18 +21,18 @@ import Container from 'react-bootstrap/Container';
21
21
  import Row from 'react-bootstrap/Row';
22
22
  import Col from 'react-bootstrap/Col';
23
23
  import Card from 'react-bootstrap/Card';
24
- import { m as moment } from './moment-b6f49411.js';
24
+ import { m as moment } from './moment-12415288.js';
25
25
  import { withRouter } from 'next/router';
26
26
  import './isSymbol-1981418f.js';
27
27
  import { d as debounce_1 } from './debounce-9207d8ee.js';
28
28
  import './toNumber-2f7a84cd.js';
29
- import { I as InfiniteScroll } from './index.es-c6222053.js';
29
+ import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
30
30
  import 'react-dom';
31
31
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
32
32
  import './index-51a80699.js';
33
33
  import urlFor from './urlFor.js';
34
34
  import { L as LazyLoad } from './index-6c12bdd5.js';
35
- import { m as main_40 } from './main-747e7d25.js';
35
+ import { m as main_39 } from './main-aef58dbc.js';
36
36
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
37
37
  import './slicedToArray-641f241f.js';
38
38
  import './stringify-4330ccdc.js';
@@ -40,9 +40,9 @@ import './asyncToGenerator-fc1c2e29.js';
40
40
  import './Segment.js';
41
41
  import './Beam.js';
42
42
  import './AdSlot.js';
43
- import { A as ADInfeed } from './ADInfeed-427022e9.js';
43
+ import { A as ADInfeed } from './ADInfeed-813279c7.js';
44
44
  import { l as lodash } from './lodash-ec8c6b48.js';
45
- import { A as ADlgInfeed } from './ADlgInfeed-28d3f944.js';
45
+ import { A as ADlgInfeed } from './ADlgInfeed-8ba1523a.js';
46
46
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
47
47
  import { g as get_1 } from './get-1e515072.js';
48
48
  import './eq-b470f743.js';
@@ -540,7 +540,7 @@ var GridContent = function (_React$Component) {
540
540
  )
541
541
  ),
542
542
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
543
- main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
543
+ main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
544
544
  );
545
545
  } else {
546
546
  return React.createElement(
@@ -604,7 +604,7 @@ var GridContent = function (_React$Component) {
604
604
  )
605
605
  ),
606
606
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
607
- main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
607
+ main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
608
608
  );
609
609
  }
610
610
  } else if (row._type === 'lg-infeed' && row.adUnit) {
@@ -692,7 +692,7 @@ var GridContent = function (_React$Component) {
692
692
  )
693
693
  ),
694
694
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
695
- main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
695
+ main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
696
696
  );
697
697
  } else return null;
698
698
  }) : React.createElement(
@@ -5,7 +5,7 @@ import './core.get-iterator-method-e1de7503.js';
5
5
  import './web.dom.iterable-4439f05a.js';
6
6
  import React from 'react';
7
7
  import 'prop-types';
8
- import { m as moment } from './moment-b6f49411.js';
8
+ import { m as moment } from './moment-12415288.js';
9
9
  import 'react-dom';
10
10
  import './index-51a80699.js';
11
11
  import urlFor from './urlFor.js';
@@ -8,7 +8,7 @@ import './web.dom.iterable-4439f05a.js';
8
8
  import React, { useRef, useState, useEffect } from 'react';
9
9
  import 'prop-types';
10
10
  import Container from 'react-bootstrap/Container';
11
- import { m as main_40, c as main_41 } from './main-747e7d25.js';
11
+ import { m as main_39, c as main_40 } from './main-aef58dbc.js';
12
12
  import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
13
13
  import './asyncToGenerator-fc1c2e29.js';
14
14
  import Segment from './Segment.js';
@@ -25,18 +25,18 @@ import { N as NavFooter } from './NavFooter-c29526b7.js';
25
25
  import { S as SocialNavFooter } from './index.esm-8ee5ff72.js';
26
26
  import './SocialIcons.js';
27
27
  import 'react-bootstrap/FormControl';
28
- import { S as SocialSearchComponent } from './SocialSearchComponent-94f6554c.js';
28
+ import { S as SocialSearchComponent } from './SocialSearchComponent-82ac7d6d.js';
29
29
 
30
30
  var HamMagazine = function HamMagazine(props) {
31
- /*
32
- Example Nav with acceptable props
33
- <MagazineNav
34
- showLogin
35
- logo={props.settings.logo}
36
- dataObject={props.cache.mainNavCache}
37
- website={website}
38
- subNav={props.cache.subNavCache}
39
- />
31
+ /*
32
+ Example Nav with acceptable props
33
+ <MagazineNav
34
+ showLogin
35
+ logo={props.settings.logo}
36
+ dataObject={props.cache.mainNavCache}
37
+ website={website}
38
+ subNav={props.cache.subNavCache}
39
+ />
40
40
  */
41
41
 
42
42
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -187,7 +187,7 @@ var HamMagazine = function HamMagazine(props) {
187
187
  }
188
188
  }
189
189
 
190
- if (props.initiallyCollapsed && !main_40) {
190
+ if (props.initiallyCollapsed && !main_39) {
191
191
  navRef.current.style.position = 'fixed';
192
192
  setIsSticky(true);
193
193
  navLinks.style.margin = 'auto';
@@ -217,7 +217,7 @@ var HamMagazine = function HamMagazine(props) {
217
217
 
218
218
  return React.createElement(
219
219
  'header',
220
- { className: !main_40 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '999999' } },
220
+ { className: !main_39 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '999999' } },
221
221
  React.createElement(
222
222
  Navbar,
223
223
  { expand: 'md', ref: topNavRef },
@@ -344,7 +344,7 @@ var HamMagazine = function HamMagazine(props) {
344
344
  'aria-controls': 'basic-navbar-nav',
345
345
  onClick: function onClick() {
346
346
  // Set overflow fix for iPhones safari browsers
347
- if (main_41) {
347
+ if (main_40) {
348
348
  var mainNav = document.querySelector('#navbar-ham');
349
349
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
350
350
  }
@@ -573,7 +573,7 @@ var HamMagazine = function HamMagazine(props) {
573
573
  '\n .navbar .collapse {\n display: block;\n }\n '
574
574
  )
575
575
  ),
576
- main_40 && !main_41 && React.createElement(
576
+ main_39 && !main_40 && React.createElement(
577
577
  'style',
578
578
  { jsx: 'true' },
579
579
  '\n #navbar-ham {\n overflow: hidden;\n overflow-y: scroll;\n margin-bottom: 5rem;\n }\n '
@@ -1,6 +1,6 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React from 'react';
3
- import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-4abff0b1.js';
3
+ import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-e1c6b0f2.js';
4
4
 
5
5
  var HighlightenVideo = function HighlightenVideo(_ref) {
6
6
  var highlightVideoOptions = _ref.highlightVideoOptions;
@@ -19,7 +19,7 @@ import './index-f7fb1e25.js';
19
19
  import 'prop-types';
20
20
  import 'react-bootstrap/Row';
21
21
  import 'react-bootstrap/Col';
22
- import './moment-b6f49411.js';
22
+ import './moment-12415288.js';
23
23
  import 'next/router';
24
24
  import './isSymbol-1981418f.js';
25
25
  import './debounce-9207d8ee.js';
@@ -28,7 +28,7 @@ import 'react-dom';
28
28
  import './index-51a80699.js';
29
29
  import './urlFor.js';
30
30
  import './index-6c12bdd5.js';
31
- import './main-747e7d25.js';
31
+ import './main-aef58dbc.js';
32
32
  import './entities-7cc3bf45.js';
33
33
  import './slicedToArray-641f241f.js';
34
34
  import './stringify-4330ccdc.js';
@@ -45,9 +45,9 @@ import 'react-bootstrap';
45
45
  import './iconBase-602d52fe.js';
46
46
  import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
47
47
  import ArticleCarousel from './ArticleCarousel.js';
48
- import { g as getSerializers } from './index-04d3dda1.js';
48
+ import { g as getSerializers } from './index-b3bd543b.js';
49
49
  import './util-7700fc59.js';
50
- import './brightcove-react-player-loader.es-4abff0b1.js';
50
+ import './brightcove-react-player-loader.es-e1c6b0f2.js';
51
51
  import 'next/head';
52
52
  import 'react-share';
53
53
  import './SocialShare.js';
@@ -1,6 +1,6 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React from 'react';
3
- import './moment-b6f49411.js';
3
+ import './moment-12415288.js';
4
4
  import './index-51a80699.js';
5
5
  import urlFor from './urlFor.js';
6
6
  import './iconBase-602d52fe.js';
@@ -8,7 +8,7 @@ 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-b6f49411.js';
11
+ import { m as moment } from './moment-12415288.js';
12
12
  import 'react-dom';
13
13
  import './index-51a80699.js';
14
14
  import urlFor from './urlFor.js';
@@ -12,7 +12,7 @@ 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-c6222053.js';
15
+ import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
16
16
  import 'react-dom';
17
17
  import './index-51a80699.js';
18
18
  import urlFor from './urlFor.js';
@@ -20,18 +20,18 @@ import 'prop-types';
20
20
  import 'react-bootstrap/Row';
21
21
  import 'react-bootstrap/Col';
22
22
  import 'react-bootstrap/Card';
23
- import './moment-b6f49411.js';
23
+ import './moment-12415288.js';
24
24
  import 'next/router';
25
25
  import './isSymbol-1981418f.js';
26
26
  import './debounce-9207d8ee.js';
27
27
  import './toNumber-2f7a84cd.js';
28
- import './index.es-c6222053.js';
28
+ import './index.es-7dda2f0a.js';
29
29
  import 'react-dom';
30
30
  import './visibility-sensor-f40c2564.js';
31
31
  import './index-51a80699.js';
32
32
  import './urlFor.js';
33
33
  import './index-6c12bdd5.js';
34
- import './main-747e7d25.js';
34
+ import './main-aef58dbc.js';
35
35
  import './entities-7cc3bf45.js';
36
36
  import './slicedToArray-641f241f.js';
37
37
  import './stringify-4330ccdc.js';
@@ -39,9 +39,9 @@ import './asyncToGenerator-fc1c2e29.js';
39
39
  import './Segment.js';
40
40
  import './Beam.js';
41
41
  import './AdSlot.js';
42
- import './ADInfeed-427022e9.js';
42
+ import './ADInfeed-813279c7.js';
43
43
  import './lodash-ec8c6b48.js';
44
- import './ADlgInfeed-28d3f944.js';
44
+ import './ADlgInfeed-8ba1523a.js';
45
45
  import './getContentCategory-15dcc413.js';
46
46
  import './AuthorComponent-8ffd4679.js';
47
47
  import { B as BlockContent } from './BlockContent-d05b5b23.js';
@@ -53,9 +53,9 @@ import './timeDifferenceCalc.js';
53
53
  import QueueDeckExpanded from './QueueDeckExpanded.js';
54
54
  import './iconBase-602d52fe.js';
55
55
  import './index.esm-3fdda599.js';
56
- import { g as getSerializers } from './index-04d3dda1.js';
56
+ import { g as getSerializers } from './index-b3bd543b.js';
57
57
  import './util-7700fc59.js';
58
- import './brightcove-react-player-loader.es-4abff0b1.js';
58
+ import './brightcove-react-player-loader.es-e1c6b0f2.js';
59
59
  import 'next/head';
60
60
  import 'react-share';
61
61
  import './SocialShare.js';
@@ -66,35 +66,35 @@ import 'react-bootstrap/Figure';
66
66
  import 'react-bootstrap/Breadcrumb';
67
67
  import Breadcrumbs from './Breadcrumbs.js';
68
68
 
69
- /* usage
70
- import Settings, { Ads } from '../../../../settings'
71
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
72
- import client from '../../../../client'
73
- import moment from 'moment'
74
- import Shell from '../../../../components/2.0/Shell'
75
- import { pageview } from '../../../../utilities/gtag'
76
-
77
- const Issue = (props) => {
78
- const { pubIssue, cache } = props
79
- const targeting = {
80
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
81
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
82
- }
83
- return (
84
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
85
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
86
- </Shell>
87
- )
88
- }
89
-
90
- Issue.getInitialProps = async (ctx) => {
91
- const { query } = ctx
92
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
93
- )
94
- return { pubIssue }
95
- }
96
-
97
- export default Issue
69
+ /* usage
70
+ import Settings, { Ads } from '../../../../settings'
71
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
72
+ import client from '../../../../client'
73
+ import moment from 'moment'
74
+ import Shell from '../../../../components/2.0/Shell'
75
+ import { pageview } from '../../../../utilities/gtag'
76
+
77
+ const Issue = (props) => {
78
+ const { pubIssue, cache } = props
79
+ const targeting = {
80
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
81
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
82
+ }
83
+ return (
84
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
85
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
86
+ </Shell>
87
+ )
88
+ }
89
+
90
+ Issue.getInitialProps = async (ctx) => {
91
+ const { query } = ctx
92
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
93
+ )
94
+ return { pubIssue }
95
+ }
96
+
97
+ export default Issue
98
98
  */
99
99
 
100
100
  var IssueLanding = function IssueLanding(props) {
@@ -1,25 +1,25 @@
1
1
  var KMTracker = function KMTracker(props) {
2
- var id = props.id;
2
+ var id = props.id;
3
3
 
4
- if (document && id) {
4
+ if (document && id) {
5
5
  (function () {
6
- var ecnJquery = document.createElement('script');
6
+ var ecnJquery = document.createElement('script');
7
7
 
8
- ecnJquery.type = 'text/javascript';
9
- ecnJquery.async = true;
10
- ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
8
+ ecnJquery.type = 'text/javascript';
9
+ ecnJquery.async = true;
10
+ ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
11
11
 
12
- var ecnScript = document.createElement('script');
12
+ var ecnScript = document.createElement('script');
13
13
 
14
- ecnScript.type = 'text/javascript';
15
- ecnScript.async = true;
16
- ecnScript.id = 'km-tracker';
17
- ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
14
+ ecnScript.type = 'text/javascript';
15
+ ecnScript.async = true;
16
+ ecnScript.id = 'km-tracker';
17
+ ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
18
18
 
19
- document.head.appendChild(ecnJquery);
20
- document.head.appendChild(ecnScript);
21
- })();
22
- }
19
+ document.head.appendChild(ecnJquery);
20
+ document.head.appendChild(ecnScript);
21
+ })();
22
+ }
23
23
  };
24
24
 
25
25
  export default KMTracker;
@@ -14,7 +14,7 @@ import 'prop-types';
14
14
  import './isSymbol-1981418f.js';
15
15
  import './debounce-9207d8ee.js';
16
16
  import './toNumber-2f7a84cd.js';
17
- import './main-747e7d25.js';
17
+ import './main-aef58dbc.js';
18
18
  import './slicedToArray-641f241f.js';
19
19
  import './stringify-4330ccdc.js';
20
20
  import './asyncToGenerator-fc1c2e29.js';