@mjhls/mjh-framework 1.0.861-dl-iframe-v1 → 1.0.861

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 (144) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -3
  4. package/dist/cjs/AD300x250x600.js +2 -3
  5. package/dist/cjs/AD728x90.js +2 -3
  6. package/dist/cjs/ADFloatingFooter.js +2 -3
  7. package/dist/cjs/ADGutter.js +2 -3
  8. package/dist/cjs/ADSkyscraper.js +2 -3
  9. package/dist/cjs/ADSponsoredResources.js +2 -3
  10. package/dist/cjs/ADWebcast.js +2 -3
  11. package/dist/cjs/ADWelcome.js +2 -3
  12. package/dist/cjs/AdSlot.js +2 -3
  13. package/dist/cjs/AdSlotsProvider.js +1 -2
  14. package/dist/cjs/AlgoliaSearch.js +17 -14090
  15. package/dist/cjs/AlphabeticList.js +1 -1
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +5 -5
  18. package/dist/cjs/ArticleSeriesLandingPage.js +5 -6
  19. package/dist/cjs/ArticleSeriesListing.js +3 -4
  20. package/dist/cjs/Auth.js +1 -1
  21. package/dist/cjs/AuthWrapper.js +6 -622
  22. package/dist/cjs/CMEDeck.js +1 -2
  23. package/dist/cjs/Column3.js +2 -3
  24. package/dist/cjs/ConferenceArticleCard.js +15 -15
  25. package/dist/cjs/DeckContent.js +12 -13
  26. package/dist/cjs/DeckQueue.js +3 -4
  27. package/dist/cjs/{Dfp-391fd124.js → Dfp-0bf098b5.js} +1 -2
  28. package/dist/cjs/EventsDeck.js +19 -19
  29. package/dist/cjs/ExternalResources.js +6 -6
  30. package/dist/cjs/GridContent.js +5 -6
  31. package/dist/cjs/HamMagazine.js +9 -9
  32. package/dist/cjs/HorizontalArticleListing.js +5 -5
  33. package/dist/cjs/IssueDeck.js +1 -1
  34. package/dist/cjs/IssueLanding.js +36 -36
  35. package/dist/cjs/KMTracker.js +15 -15
  36. package/dist/cjs/LeftNav.js +2 -3
  37. package/dist/cjs/MasterDeck.js +13 -14
  38. package/dist/cjs/MediaSeriesLanding.js +407 -462
  39. package/dist/cjs/NavMagazine.js +10 -10
  40. package/dist/cjs/NavNative.js +9 -9
  41. package/dist/cjs/PartnerDetailListing.js +1208 -11
  42. package/dist/cjs/PubSection.js +4 -5
  43. package/dist/cjs/PublicationLanding.js +27 -27
  44. package/dist/cjs/QueueDeckExpanded.js +4 -5
  45. package/dist/cjs/RelatedContent.js +28 -28
  46. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  47. package/dist/cjs/SeriesListingDeck.js +3 -4
  48. package/dist/cjs/{SeriesSlider-0d3bf265.js → SeriesSlider-60fa1342.js} +4 -4
  49. package/dist/cjs/SideFooter.js +2 -2
  50. package/dist/cjs/TaxonomyCard.js +1 -1
  51. package/dist/cjs/TaxonomyDescription.js +5 -5
  52. package/dist/cjs/TemplateNormal.js +2 -3
  53. package/dist/cjs/VideoProgramLandingPage.js +5 -5
  54. package/dist/cjs/VideoSeriesCard.js +1 -1
  55. package/dist/cjs/VideoSeriesLandingPage.js +5 -6
  56. package/dist/cjs/VideoSeriesListing.js +3 -4
  57. package/dist/cjs/View.js +8 -8
  58. package/dist/cjs/YoutubeGroup.js +4 -4
  59. package/dist/cjs/{extends-0a918631.js → extends-60837c34.js} +0 -1
  60. package/dist/cjs/getRelatedArticle.js +1 -1
  61. package/dist/cjs/getSerializers.js +5 -5
  62. package/dist/cjs/{getTargeting-a9a871f0.js → getTargeting-3e45e4d4.js} +10 -10
  63. package/dist/cjs/getTargeting.js +2 -2
  64. package/dist/cjs/{index-2cf30c83.js → index-44481153.js} +485 -39
  65. package/dist/cjs/{index-f83a102a.js → index-87d0db67.js} +8 -263
  66. package/dist/cjs/{index-6367b7bf.js → index-99edf08a.js} +16 -15
  67. package/dist/cjs/index.js +11 -12
  68. package/dist/cjs/{inherits-0c7830c5.js → inherits-87492b40.js} +0 -3
  69. package/dist/esm/AD.js +1 -1
  70. package/dist/esm/AD300x250.js +2 -3
  71. package/dist/esm/AD300x250x600.js +2 -3
  72. package/dist/esm/AD728x90.js +2 -3
  73. package/dist/esm/ADFloatingFooter.js +2 -3
  74. package/dist/esm/ADGutter.js +2 -3
  75. package/dist/esm/ADSkyscraper.js +2 -3
  76. package/dist/esm/ADSponsoredResources.js +2 -3
  77. package/dist/esm/ADWebcast.js +2 -3
  78. package/dist/esm/ADWelcome.js +2 -3
  79. package/dist/esm/AdSlot.js +2 -3
  80. package/dist/esm/AdSlotsProvider.js +1 -2
  81. package/dist/esm/AlgoliaSearch.js +16 -14089
  82. package/dist/esm/AlphabeticList.js +1 -1
  83. package/dist/esm/ArticleCarousel.js +1 -1
  84. package/dist/esm/ArticleProgramLandingPage.js +5 -5
  85. package/dist/esm/ArticleSeriesLandingPage.js +5 -6
  86. package/dist/esm/ArticleSeriesListing.js +3 -4
  87. package/dist/esm/Auth.js +1 -1
  88. package/dist/esm/AuthWrapper.js +5 -622
  89. package/dist/esm/CMEDeck.js +1 -2
  90. package/dist/esm/Column3.js +2 -3
  91. package/dist/esm/ConferenceArticleCard.js +15 -15
  92. package/dist/esm/DeckContent.js +12 -13
  93. package/dist/esm/DeckQueue.js +3 -4
  94. package/dist/esm/{Dfp-2f9796e1.js → Dfp-85c9513e.js} +1 -2
  95. package/dist/esm/EventsDeck.js +19 -19
  96. package/dist/esm/ExternalResources.js +6 -6
  97. package/dist/esm/GridContent.js +5 -6
  98. package/dist/esm/HamMagazine.js +9 -9
  99. package/dist/esm/HorizontalArticleListing.js +5 -5
  100. package/dist/esm/IssueDeck.js +1 -1
  101. package/dist/esm/IssueLanding.js +36 -36
  102. package/dist/esm/KMTracker.js +15 -15
  103. package/dist/esm/LeftNav.js +2 -3
  104. package/dist/esm/MasterDeck.js +13 -14
  105. package/dist/esm/MediaSeriesLanding.js +132 -187
  106. package/dist/esm/NavMagazine.js +10 -10
  107. package/dist/esm/NavNative.js +9 -9
  108. package/dist/esm/PartnerDetailListing.js +1207 -11
  109. package/dist/esm/PubSection.js +4 -5
  110. package/dist/esm/PublicationLanding.js +27 -27
  111. package/dist/esm/QueueDeckExpanded.js +4 -5
  112. package/dist/esm/RelatedContent.js +28 -28
  113. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  114. package/dist/esm/SeriesListingDeck.js +3 -4
  115. package/dist/esm/{SeriesSlider-7d89f4d9.js → SeriesSlider-05ecb544.js} +4 -4
  116. package/dist/esm/SideFooter.js +2 -2
  117. package/dist/esm/TaxonomyCard.js +1 -1
  118. package/dist/esm/TaxonomyDescription.js +5 -5
  119. package/dist/esm/TemplateNormal.js +2 -3
  120. package/dist/esm/VideoProgramLandingPage.js +5 -5
  121. package/dist/esm/VideoSeriesCard.js +1 -1
  122. package/dist/esm/VideoSeriesLandingPage.js +5 -6
  123. package/dist/esm/VideoSeriesListing.js +3 -4
  124. package/dist/esm/View.js +8 -8
  125. package/dist/esm/YoutubeGroup.js +4 -4
  126. package/dist/esm/{extends-6f2fcc99.js → extends-eb69e8ac.js} +1 -1
  127. package/dist/esm/getRelatedArticle.js +1 -1
  128. package/dist/esm/getSerializers.js +5 -5
  129. package/dist/esm/{getTargeting-bd800589.js → getTargeting-9cb7e014.js} +10 -10
  130. package/dist/esm/getTargeting.js +2 -2
  131. package/dist/esm/{index-f7fb1e25.js → index-1819118a.js} +484 -38
  132. package/dist/esm/{index-82fea143.js → index-20e503c9.js} +6 -262
  133. package/dist/esm/{index-c00b0bbb.js → index-fa2ffe86.js} +16 -15
  134. package/dist/esm/index.js +11 -12
  135. package/dist/esm/{inherits-75d45541.js → inherits-0d8cda6e.js} +1 -1
  136. package/package.json +110 -110
  137. package/dist/cjs/events-1b438fe7.js +0 -469
  138. package/dist/cjs/index-e2e62963.js +0 -89
  139. package/dist/esm/events-6c3a7a63.js +0 -467
  140. package/dist/esm/index-aaa2dae0.js +0 -85
  141. /package/dist/cjs/{ADInfeed-25d48cc2.js → ADInfeed-ff26342c.js} +0 -0
  142. /package/dist/cjs/{ADlgInfeed-a535a768.js → ADlgInfeed-ad4953d4.js} +0 -0
  143. /package/dist/esm/{ADInfeed-56a3db8b.js → ADInfeed-422ad6e6.js} +0 -0
  144. /package/dist/esm/{ADlgInfeed-53edb995.js → ADlgInfeed-f7468db8.js} +0 -0
@@ -4,21 +4,21 @@ import { m as moment } from './moment-b6f49411.js';
4
4
  import './index-51a80699.js';
5
5
  import urlFor from './urlFor.js';
6
6
 
7
- /*
8
- Example usage - targetedonc.com/latest-conference
9
- const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
10
- ...,
11
- title,
12
- summary,
13
- thumbnail,
14
- url,
15
- published,
16
- documentGroup->,
17
- contentCategory->,
18
- 'pageNumber': ${currentPage}
19
- }`
20
-
21
- const posts = await client.fetch(query, params)
7
+ /*
8
+ Example usage - targetedonc.com/latest-conference
9
+ const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
10
+ ...,
11
+ title,
12
+ summary,
13
+ thumbnail,
14
+ url,
15
+ published,
16
+ documentGroup->,
17
+ contentCategory->,
18
+ 'pageNumber': ${currentPage}
19
+ }`
20
+
21
+ const posts = await client.fetch(query, params)
22
22
  */
23
23
 
24
24
  var ConferenceArticleCard = function ConferenceArticleCard(props) {
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-6f2fcc99.js';
9
+ import { _ as _extends } from './extends-eb69e8ac.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
11
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './events-6c3a7a63.js';
18
- import { l as lib_3 } from './index-f7fb1e25.js';
17
+ import { l as lib_3 } from './index-1819118a.js';
19
18
  import 'prop-types';
20
19
  import Container from 'react-bootstrap/Container';
21
20
  import Row from 'react-bootstrap/Row';
@@ -40,7 +39,7 @@ import './asyncToGenerator-fc1c2e29.js';
40
39
  import './Segment.js';
41
40
  import './Beam.js';
42
41
  import './AdSlot.js';
43
- import { A as ADInfeed } from './ADInfeed-56a3db8b.js';
42
+ import { A as ADInfeed } from './ADInfeed-422ad6e6.js';
44
43
 
45
44
  var DeckContent = function (_React$Component) {
46
45
  _inherits(DeckContent, _React$Component);
@@ -174,14 +173,14 @@ var DeckContent = function (_React$Component) {
174
173
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
175
174
 
176
175
  // 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
176
+ /* console.log('page change reported', {
177
+ currentPage: currentPage,
178
+ pageNumber: pageNumber,
179
+ pathname: pathname,
180
+ path: path,
181
+ newPath: newPath,
182
+ firstPage: pageNumber === 1,
183
+ queryString: queryString
185
184
  }) */
186
185
 
187
186
  if (pageview) {
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-6f2fcc99.js';
9
+ import { _ as _extends } from './extends-eb69e8ac.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
11
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './events-6c3a7a63.js';
18
- import { l as lib_3 } from './index-f7fb1e25.js';
17
+ import { l as lib_3 } from './index-1819118a.js';
19
18
  import 'prop-types';
20
19
  import Container from 'react-bootstrap/Container';
21
20
  import Row from 'react-bootstrap/Row';
@@ -4,8 +4,7 @@ import './es6.string.iterator-c990c18c.js';
4
4
  import './core.get-iterator-method-e1de7503.js';
5
5
  import './web.dom.iterable-4439f05a.js';
6
6
  import React, { useState } from 'react';
7
- import './events-6c3a7a63.js';
8
- import { b as lib_1, a as lib_2 } from './index-f7fb1e25.js';
7
+ import { b as lib_1, a as lib_2 } from './index-1819118a.js';
9
8
  import PropTypes from 'prop-types';
10
9
  import './isSymbol-1981418f.js';
11
10
  import { d as debounce_1 } from './debounce-9207d8ee.js';
@@ -5,7 +5,7 @@ import './_iter-detect-5d49a330.js';
5
5
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
6
6
  import './core.get-iterator-method-e1de7503.js';
7
7
  import './_object-pie-33c40e79.js';
8
- import { _ as _extends } from './extends-6f2fcc99.js';
8
+ import { _ as _extends } from './extends-eb69e8ac.js';
9
9
  import './define-property-8af5f002.js';
10
10
  import './web.dom.iterable-4439f05a.js';
11
11
  import React, { useState, useEffect } from 'react';
@@ -24,7 +24,7 @@ import { _ as _objectToArray } from './_object-to-array-7e804fce.js';
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-fa2ffe86.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';
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
6
6
  import './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-6f2fcc99.js';
9
+ import { _ as _extends } from './extends-eb69e8ac.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import './inherits-75d45541.js';
11
+ import './inherits-0d8cda6e.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React, { useState, useEffect } from 'react';
17
- import './events-6c3a7a63.js';
18
- import './index-f7fb1e25.js';
17
+ import './index-1819118a.js';
19
18
  import 'prop-types';
20
19
  import 'react-bootstrap/Row';
21
20
  import 'react-bootstrap/Col';
@@ -44,7 +43,7 @@ import './GroupDeck.js';
44
43
  import 'react-bootstrap';
45
44
  import './iconBase-602d52fe.js';
46
45
  import './index.esm-3fdda599.js';
47
- import { g as getSerializers } from './index-82fea143.js';
46
+ import { g as getSerializers } from './index-20e503c9.js';
48
47
  import './util-7700fc59.js';
49
48
  import './brightcove-react-player-loader.es-4abff0b1.js';
50
49
  import 'next/head';
@@ -56,7 +55,8 @@ import 'react-bootstrap/Figure';
56
55
  import 'react-bootstrap/OverlayTrigger';
57
56
  import 'react-bootstrap/Tooltip';
58
57
  import 'react-bootstrap/Popover';
59
- import { m as momentTimezone } from './index-c00b0bbb.js';
58
+ import 'react-script-tag';
59
+ import { m as momentTimezone } from './index-fa2ffe86.js';
60
60
 
61
61
  var ExternalResources = function ExternalResources(props) {
62
62
  var resources = props.resources,
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-6f2fcc99.js';
9
+ import { _ as _extends } from './extends-eb69e8ac.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
11
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './events-6c3a7a63.js';
18
- import { l as lib_3 } from './index-f7fb1e25.js';
17
+ import { l as lib_3 } from './index-1819118a.js';
19
18
  import 'prop-types';
20
19
  import Container from 'react-bootstrap/Container';
21
20
  import Row from 'react-bootstrap/Row';
@@ -40,9 +39,9 @@ import './asyncToGenerator-fc1c2e29.js';
40
39
  import './Segment.js';
41
40
  import './Beam.js';
42
41
  import './AdSlot.js';
43
- import { A as ADInfeed } from './ADInfeed-56a3db8b.js';
42
+ import { A as ADInfeed } from './ADInfeed-422ad6e6.js';
44
43
  import { l as lodash } from './lodash-ec8c6b48.js';
45
- import { A as ADlgInfeed } from './ADlgInfeed-53edb995.js';
44
+ import { A as ADlgInfeed } from './ADlgInfeed-f7468db8.js';
46
45
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
47
46
  import { g as get_1 } from './get-1e515072.js';
48
47
  import './eq-b470f743.js';
@@ -28,15 +28,15 @@ import 'react-bootstrap/FormControl';
28
28
  import { S as SocialSearchComponent } from './SocialSearchComponent-47815365.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
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
6
6
  import './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-6f2fcc99.js';
9
+ import { _ as _extends } from './extends-eb69e8ac.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import './inherits-75d45541.js';
11
+ import './inherits-0d8cda6e.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './events-6c3a7a63.js';
18
- import './index-f7fb1e25.js';
17
+ import './index-1819118a.js';
19
18
  import 'prop-types';
20
19
  import 'react-bootstrap/Row';
21
20
  import 'react-bootstrap/Col';
@@ -46,7 +45,7 @@ import 'react-bootstrap';
46
45
  import './iconBase-602d52fe.js';
47
46
  import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
48
47
  import ArticleCarousel from './ArticleCarousel.js';
49
- import { g as getSerializers } from './index-82fea143.js';
48
+ import { g as getSerializers } from './index-20e503c9.js';
50
49
  import './util-7700fc59.js';
51
50
  import './brightcove-react-player-loader.es-4abff0b1.js';
52
51
  import 'next/head';
@@ -58,6 +57,7 @@ import 'react-bootstrap/Figure';
58
57
  import 'react-bootstrap/OverlayTrigger';
59
58
  import 'react-bootstrap/Tooltip';
60
59
  import 'react-bootstrap/Popover';
60
+ import 'react-script-tag';
61
61
 
62
62
  function HorizontalArticleListing(_ref) {
63
63
  var _ref$data = _ref.data,
@@ -5,7 +5,7 @@ import './_iter-detect-5d49a330.js';
5
5
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
6
6
  import './core.get-iterator-method-e1de7503.js';
7
7
  import './_object-pie-33c40e79.js';
8
- import { _ as _extends } from './extends-6f2fcc99.js';
8
+ import { _ as _extends } from './extends-eb69e8ac.js';
9
9
  import './web.dom.iterable-4439f05a.js';
10
10
  import React, { useState, useEffect, useRef } from 'react';
11
11
  import 'prop-types';
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
6
6
  import './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-6f2fcc99.js';
9
+ import { _ as _extends } from './extends-eb69e8ac.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import './inherits-75d45541.js';
11
+ import './inherits-0d8cda6e.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './events-6c3a7a63.js';
18
- import './index-f7fb1e25.js';
17
+ import './index-1819118a.js';
19
18
  import 'prop-types';
20
19
  import 'react-bootstrap/Row';
21
20
  import 'react-bootstrap/Col';
@@ -39,9 +38,9 @@ import './asyncToGenerator-fc1c2e29.js';
39
38
  import './Segment.js';
40
39
  import './Beam.js';
41
40
  import './AdSlot.js';
42
- import './ADInfeed-56a3db8b.js';
41
+ import './ADInfeed-422ad6e6.js';
43
42
  import './lodash-ec8c6b48.js';
44
- import './ADlgInfeed-53edb995.js';
43
+ import './ADlgInfeed-f7468db8.js';
45
44
  import './getContentCategory-15dcc413.js';
46
45
  import './AuthorComponent-8ffd4679.js';
47
46
  import 'react-bootstrap/Button';
@@ -54,7 +53,7 @@ import './timeDifferenceCalc.js';
54
53
  import QueueDeckExpanded from './QueueDeckExpanded.js';
55
54
  import './iconBase-602d52fe.js';
56
55
  import './index.esm-3fdda599.js';
57
- import { g as getSerializers } from './index-82fea143.js';
56
+ import { g as getSerializers } from './index-20e503c9.js';
58
57
  import './util-7700fc59.js';
59
58
  import './brightcove-react-player-loader.es-4abff0b1.js';
60
59
  import 'next/head';
@@ -66,38 +65,39 @@ import 'react-bootstrap/Figure';
66
65
  import 'react-bootstrap/OverlayTrigger';
67
66
  import 'react-bootstrap/Tooltip';
68
67
  import 'react-bootstrap/Popover';
68
+ import 'react-script-tag';
69
69
  import 'react-bootstrap/Breadcrumb';
70
70
  import Breadcrumbs from './Breadcrumbs.js';
71
71
 
72
- /* usage
73
- import Settings, { Ads } from '../../../../settings'
74
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
75
- import client from '../../../../client'
76
- import moment from 'moment'
77
- import Shell from '../../../../components/2.0/Shell'
78
- import { pageview } from '../../../../utilities/gtag'
79
-
80
- const Issue = (props) => {
81
- const { pubIssue, cache } = props
82
- const targeting = {
83
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
84
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
85
- }
86
- return (
87
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
88
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
89
- </Shell>
90
- )
91
- }
92
-
93
- Issue.getInitialProps = async (ctx) => {
94
- const { query } = ctx
95
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
96
- )
97
- return { pubIssue }
98
- }
99
-
100
- export default Issue
72
+ /* usage
73
+ import Settings, { Ads } from '../../../../settings'
74
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
75
+ import client from '../../../../client'
76
+ import moment from 'moment'
77
+ import Shell from '../../../../components/2.0/Shell'
78
+ import { pageview } from '../../../../utilities/gtag'
79
+
80
+ const Issue = (props) => {
81
+ const { pubIssue, cache } = props
82
+ const targeting = {
83
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
84
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
85
+ }
86
+ return (
87
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
88
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
89
+ </Shell>
90
+ )
91
+ }
92
+
93
+ Issue.getInitialProps = async (ctx) => {
94
+ const { query } = ctx
95
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
96
+ )
97
+ return { pubIssue }
98
+ }
99
+
100
+ export default Issue
101
101
  */
102
102
 
103
103
  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;
@@ -5,11 +5,10 @@ import './_library-528f1934.js';
5
5
  import './_iter-detect-5d49a330.js';
6
6
  import './core.get-iterator-method-e1de7503.js';
7
7
  import './_object-pie-33c40e79.js';
8
- import './extends-6f2fcc99.js';
8
+ import './extends-eb69e8ac.js';
9
9
  import './web.dom.iterable-4439f05a.js';
10
10
  import React, { useRef, useEffect } from 'react';
11
- import './events-6c3a7a63.js';
12
- import './index-f7fb1e25.js';
11
+ import './index-1819118a.js';
13
12
  import 'prop-types';
14
13
  import './isSymbol-1981418f.js';
15
14
  import './debounce-9207d8ee.js';
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-6f2fcc99.js';
9
+ import { _ as _extends } from './extends-eb69e8ac.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
11
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './events-6c3a7a63.js';
18
- import { l as lib_3 } from './index-f7fb1e25.js';
17
+ import { l as lib_3 } from './index-1819118a.js';
19
18
  import 'prop-types';
20
19
  import Container from 'react-bootstrap/Container';
21
20
  import 'react-bootstrap/Row';
@@ -37,9 +36,9 @@ import { _ as _Promise } from './asyncToGenerator-fc1c2e29.js';
37
36
  import './Segment.js';
38
37
  import './Beam.js';
39
38
  import './AdSlot.js';
40
- import { A as ADInfeed } from './ADInfeed-56a3db8b.js';
39
+ import { A as ADInfeed } from './ADInfeed-422ad6e6.js';
41
40
  import { l as lodash } from './lodash-ec8c6b48.js';
42
- import { A as ADlgInfeed } from './ADlgInfeed-53edb995.js';
41
+ import { A as ADlgInfeed } from './ADlgInfeed-f7468db8.js';
43
42
 
44
43
  var MasterDeck = function (_React$Component) {
45
44
  _inherits(MasterDeck, _React$Component);
@@ -225,14 +224,14 @@ var MasterDeck = function (_React$Component) {
225
224
  }
226
225
 
227
226
  // please leave this for later debug purpose : Yong Jun.
228
- /* console.log('page change reported', {
229
- currentPage: currentPage,
230
- pageNumber: pageNumber,
231
- pathname: pathname,
232
- path: path,
233
- newPath: newPath,
234
- firstPage: pageNumber === 1,
235
- queryString: queryString
227
+ /* console.log('page change reported', {
228
+ currentPage: currentPage,
229
+ pageNumber: pageNumber,
230
+ pathname: pathname,
231
+ path: path,
232
+ newPath: newPath,
233
+ firstPage: pageNumber === 1,
234
+ queryString: queryString
236
235
  }) */
237
236
 
238
237
  if (pageview) {