@mjhls/mjh-framework 1.0.1041 → 1.0.1043

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 (225) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +6 -6
  3. package/dist/cjs/AD300x250.js +5 -6
  4. package/dist/cjs/AD300x250x600.js +5 -6
  5. package/dist/cjs/AD728x90.js +6 -7
  6. package/dist/cjs/ADFloatingFooter.js +8 -9
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +8 -9
  9. package/dist/cjs/{ADInfeed-b0116d90.js → ADInfeed-8559adc4.js} +6 -6
  10. package/dist/cjs/ADSkyscraper.js +8 -9
  11. package/dist/cjs/ADSponsoredResources.js +8 -9
  12. package/dist/cjs/ADWebcast.js +8 -9
  13. package/dist/cjs/ADWelcome.js +12 -13
  14. package/dist/cjs/{ADlgInfeed-9cb4bb59.js → ADlgInfeed-493559a2.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +17 -17
  16. package/dist/cjs/AdSlot.js +9 -10
  17. package/dist/cjs/AdSlotsProvider.js +5 -6
  18. package/dist/cjs/AlgoliaSearch.js +1409 -896
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +15 -16
  22. package/dist/cjs/ArticleSeriesLandingPage.js +11 -12
  23. package/dist/cjs/ArticleSeriesListing.js +29 -30
  24. package/dist/cjs/Auth.js +84 -1537
  25. package/dist/cjs/AuthWrapper.js +315 -1497
  26. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
  27. package/dist/cjs/Beam.js +67 -13
  28. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
  29. package/dist/cjs/Breadcrumbs.js +17 -17
  30. package/dist/cjs/CEDeckSupabase.js +67 -68
  31. package/dist/cjs/CMEDeck.js +61 -62
  32. package/dist/cjs/Column1.js +7 -7
  33. package/dist/cjs/Column2.js +15 -15
  34. package/dist/cjs/Column3.js +27 -28
  35. package/dist/cjs/ConferenceArticleCard.js +27 -27
  36. package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
  37. package/dist/cjs/ContentCardPaginated.js +50 -51
  38. package/dist/cjs/DeckContent.js +67 -68
  39. package/dist/cjs/DeckQueue.js +58 -59
  40. package/dist/cjs/DeckQueuePaginated.js +47 -48
  41. package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
  42. package/dist/cjs/EventsDeck.js +107 -107
  43. package/dist/cjs/ExternalResources.js +35 -36
  44. package/dist/cjs/Feature.js +17 -17
  45. package/dist/cjs/ForbesHero.js +25 -25
  46. package/dist/cjs/GridContent.js +135 -136
  47. package/dist/cjs/GridContentPaginated.js +122 -123
  48. package/dist/cjs/GridHero.js +27 -27
  49. package/dist/cjs/GroupDeck.js +33 -33
  50. package/dist/cjs/HamMagazine.js +120 -120
  51. package/dist/cjs/Header.js +25 -25
  52. package/dist/cjs/HealthCareProfessionalModal.js +18 -18
  53. package/dist/cjs/Hero.js +6 -6
  54. package/dist/cjs/HighlightenVideo.js +13 -13
  55. package/dist/cjs/HorizontalArticleListing.js +29 -30
  56. package/dist/cjs/HorizontalHero.js +17 -17
  57. package/dist/cjs/{ImageSlider-294d3fc0.js → ImageSlider-62a43659.js} +221 -164
  58. package/dist/cjs/IssueContentDeck.js +49 -49
  59. package/dist/cjs/IssueDeck.js +48 -48
  60. package/dist/cjs/IssueLanding.js +49 -50
  61. package/dist/cjs/KMTracker.js +15 -15
  62. package/dist/cjs/LeftNav.js +17 -18
  63. package/dist/cjs/MasterDeck.js +47 -48
  64. package/dist/cjs/MasterDeckPaginated.js +37 -38
  65. package/dist/cjs/{MediaSeriesCard-eda1781a.js → MediaSeriesCard-6938b284.js} +17 -17
  66. package/dist/cjs/MediaSeriesLanding.js +43 -44
  67. package/dist/cjs/MediaSeriesLandingPaginated.js +42 -43
  68. package/dist/cjs/NavDvm.js +57 -57
  69. package/dist/cjs/{NavFooter-fa5fae05.js → NavFooter-b7b16d48.js} +11 -11
  70. package/dist/cjs/NavMagazine.js +116 -116
  71. package/dist/cjs/NavNative.js +106 -106
  72. package/dist/cjs/OncliveHero.js +11 -11
  73. package/dist/cjs/OncliveLargeHero.js +50 -50
  74. package/dist/cjs/PageFilter.js +5 -5
  75. package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
  76. package/dist/cjs/PartnerDetailListing.js +50 -52
  77. package/dist/cjs/PartnerDetailListingPaginated.js +49 -51
  78. package/dist/cjs/PdfDownload.js +4 -4
  79. package/dist/cjs/PixelTracking.js +9 -9
  80. package/dist/cjs/PodcastsLanding.js +23 -24
  81. package/dist/cjs/PopUpModal.js +9 -9
  82. package/dist/cjs/PtceDeck.js +13 -13
  83. package/dist/cjs/PubSection.js +14 -15
  84. package/dist/cjs/PubToc.js +4 -4
  85. package/dist/cjs/PublicationDeck.js +44 -44
  86. package/dist/cjs/{PublicationFeature-03de3225.js → PublicationFeature-e945bd55.js} +29 -29
  87. package/dist/cjs/PublicationLanding.js +99 -99
  88. package/dist/cjs/QueueDeckExpanded.js +246 -247
  89. package/dist/cjs/QueueDeckExpandedPaginated.js +223 -224
  90. package/dist/cjs/RecentNews.js +15 -15
  91. package/dist/cjs/RelatedContent.js +42 -42
  92. package/dist/cjs/RelatedTopicsDropdown.js +24 -24
  93. package/dist/cjs/RolesDeck.js +20 -20
  94. package/dist/cjs/Schema.js +1 -1
  95. package/dist/cjs/Search.js +6 -6
  96. package/dist/cjs/SeriesListingDeck.js +18 -19
  97. package/dist/cjs/{SeriesSlider-621d0cbb.js → SeriesSlider-edcb8e4b.js} +26 -26
  98. package/dist/cjs/SideFooter.js +20 -20
  99. package/dist/cjs/SocialIcons.js +6 -6
  100. package/dist/cjs/{SocialSearchComponent-f874175b.js → SocialSearchComponent-e9ec9c63.js} +28 -28
  101. package/dist/cjs/SocialShare.js +25 -25
  102. package/dist/cjs/TaxonomyCard.js +44 -44
  103. package/dist/cjs/TaxonomyDescription.js +12 -13
  104. package/dist/cjs/TemplateNormal.js +27 -28
  105. package/dist/cjs/ThumbnailCard.js +11 -11
  106. package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-980a1d1a.js} +493 -608
  107. package/dist/cjs/Ustream.js +9 -9
  108. package/dist/cjs/VerticalHero.js +10 -10
  109. package/dist/cjs/VideoProgramLandingPage.js +29 -30
  110. package/dist/cjs/VideoSeriesCard.js +14 -14
  111. package/dist/cjs/VideoSeriesFilter.js +5 -5
  112. package/dist/cjs/VideoSeriesLandingPage.js +11 -12
  113. package/dist/cjs/VideoSeriesListing.js +46 -47
  114. package/dist/cjs/View.js +238 -239
  115. package/dist/cjs/YahooHero.js +23 -23
  116. package/dist/cjs/YoutubeGroup.js +37 -37
  117. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
  118. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  119. package/dist/cjs/getSerializers.js +7 -8
  120. package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
  121. package/dist/cjs/getTargeting.js +1 -1
  122. package/dist/cjs/iconBase-be4097c0.js +2 -4
  123. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  124. package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
  125. package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
  126. package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
  127. package/dist/cjs/{index-0ceb2bf7.js → index-aac3ee40.js} +494 -494
  128. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  129. package/dist/cjs/{index.esm-f51609ab.js → index.esm-2ea9e9ff.js} +14 -14
  130. package/dist/cjs/index.js +105 -107
  131. package/dist/cjs/{main-1ec1de84.js → main-47be4f9f.js} +13 -13
  132. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  133. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  134. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
  135. package/dist/esm/AD.js +1 -1
  136. package/dist/esm/AD300x250.js +1 -2
  137. package/dist/esm/AD300x250x600.js +1 -2
  138. package/dist/esm/AD728x90.js +1 -2
  139. package/dist/esm/ADFloatingFooter.js +1 -2
  140. package/dist/esm/ADGutter.js +1 -2
  141. package/dist/esm/ADSkyscraper.js +1 -2
  142. package/dist/esm/ADSponsoredResources.js +1 -2
  143. package/dist/esm/ADWebcast.js +1 -2
  144. package/dist/esm/ADWelcome.js +1 -2
  145. package/dist/esm/AdSlot.js +1 -2
  146. package/dist/esm/AdSlotsProvider.js +1 -2
  147. package/dist/esm/AlgoliaSearch.js +1026 -513
  148. package/dist/esm/ArticleProgramLandingPage.js +3 -4
  149. package/dist/esm/ArticleSeriesLandingPage.js +3 -4
  150. package/dist/esm/ArticleSeriesListing.js +1 -2
  151. package/dist/esm/Auth.js +9 -1463
  152. package/dist/esm/AuthWrapper.js +288 -1470
  153. package/dist/esm/Beam.js +67 -13
  154. package/dist/esm/CEDeckSupabase.js +2 -3
  155. package/dist/esm/CMEDeck.js +1 -2
  156. package/dist/esm/Column3.js +1 -2
  157. package/dist/esm/ConferenceArticleCard.js +15 -15
  158. package/dist/esm/ContentCardPaginated.js +4 -5
  159. package/dist/esm/DeckContent.js +11 -12
  160. package/dist/esm/DeckQueue.js +2 -3
  161. package/dist/esm/DeckQueuePaginated.js +3 -4
  162. package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
  163. package/dist/esm/EventsDeck.js +18 -18
  164. package/dist/esm/ExternalResources.js +4 -5
  165. package/dist/esm/GridContent.js +4 -5
  166. package/dist/esm/GridContentPaginated.js +5 -6
  167. package/dist/esm/GridHero.js +1 -1
  168. package/dist/esm/HamMagazine.js +9 -9
  169. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  170. package/dist/esm/Hero.js +1 -1
  171. package/dist/esm/HorizontalArticleListing.js +3 -4
  172. package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-aea3a615.js} +67 -10
  173. package/dist/esm/IssueLanding.js +34 -35
  174. package/dist/esm/KMTracker.js +15 -15
  175. package/dist/esm/LeftNav.js +1 -2
  176. package/dist/esm/MasterDeck.js +11 -12
  177. package/dist/esm/MasterDeckPaginated.js +12 -13
  178. package/dist/esm/{MediaSeriesCard-77457d91.js → MediaSeriesCard-5f578738.js} +2 -2
  179. package/dist/esm/MediaSeriesLanding.js +13 -14
  180. package/dist/esm/MediaSeriesLandingPaginated.js +14 -15
  181. package/dist/esm/NavMagazine.js +10 -10
  182. package/dist/esm/NavNative.js +9 -9
  183. package/dist/esm/OncliveLargeHero.js +1 -1
  184. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
  185. package/dist/esm/PartnerDetailListing.js +6 -8
  186. package/dist/esm/PartnerDetailListingPaginated.js +7 -9
  187. package/dist/esm/PodcastsLanding.js +6 -7
  188. package/dist/esm/PubSection.js +4 -5
  189. package/dist/esm/PublicationLanding.js +26 -26
  190. package/dist/esm/QueueDeckExpanded.js +4 -5
  191. package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
  192. package/dist/esm/RelatedContent.js +28 -28
  193. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  194. package/dist/esm/SeriesListingDeck.js +2 -3
  195. package/dist/esm/{SeriesSlider-07be99e0.js → SeriesSlider-2e83e861.js} +4 -4
  196. package/dist/esm/SideFooter.js +2 -2
  197. package/dist/esm/TaxonomyDescription.js +3 -4
  198. package/dist/esm/TemplateNormal.js +1 -2
  199. package/dist/esm/ThumbnailCard.js +1 -1
  200. package/dist/esm/{Tooltip-95655b44.js → Tooltip-51957f7c.js} +55 -170
  201. package/dist/esm/VideoProgramLandingPage.js +3 -4
  202. package/dist/esm/VideoSeriesCard.js +1 -1
  203. package/dist/esm/VideoSeriesLandingPage.js +3 -4
  204. package/dist/esm/VideoSeriesListing.js +1 -2
  205. package/dist/esm/View.js +7 -8
  206. package/dist/esm/YahooHero.js +1 -1
  207. package/dist/esm/YoutubeGroup.js +4 -4
  208. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  209. package/dist/esm/getSerializers.js +3 -4
  210. package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
  211. package/dist/esm/getTargeting.js +1 -1
  212. package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
  213. package/dist/esm/{index-9fdf6b2a.js → index-55840558.js} +5 -5
  214. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  215. package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
  216. package/dist/esm/index.js +11 -13
  217. package/package.json +116 -116
  218. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  219. package/dist/cjs/events-1b438fe7.js +0 -469
  220. package/dist/cjs/typeof-1358762e.js +0 -33
  221. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  222. package/dist/esm/events-6c3a7a63.js +0 -467
  223. package/dist/esm/typeof-2f07d0e8.js +0 -30
  224. /package/dist/esm/{ADInfeed-b034e2e6.js → ADInfeed-fb501f15.js} +0 -0
  225. /package/dist/esm/{ADlgInfeed-444f326d.js → ADlgInfeed-b742488e.js} +0 -0
@@ -1,4 +1,3 @@
1
- import { _ as _asyncToGenerator, a as _defineProperty } from './defineProperty-23a8f8cd.js';
2
1
  import React__default, { createContext, Component, forwardRef, PureComponent, useRef, useState, useEffect } from 'react';
3
2
  import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
4
3
  import PropTypes from 'prop-types';
@@ -6,6 +5,69 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
6
5
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
7
6
  import urlFor from './urlFor.js';
8
7
 
8
+ var asyncToGenerator = createCommonjsModule(function (module) {
9
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
10
+ try {
11
+ var info = gen[key](arg);
12
+ var value = info.value;
13
+ } catch (error) {
14
+ reject(error);
15
+ return;
16
+ }
17
+
18
+ if (info.done) {
19
+ resolve(value);
20
+ } else {
21
+ Promise.resolve(value).then(_next, _throw);
22
+ }
23
+ }
24
+
25
+ function _asyncToGenerator(fn) {
26
+ return function () {
27
+ var self = this,
28
+ args = arguments;
29
+ return new Promise(function (resolve, reject) {
30
+ var gen = fn.apply(self, args);
31
+
32
+ function _next(value) {
33
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
34
+ }
35
+
36
+ function _throw(err) {
37
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
38
+ }
39
+
40
+ _next(undefined);
41
+ });
42
+ };
43
+ }
44
+
45
+ module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
46
+ });
47
+
48
+ var _asyncToGenerator = unwrapExports(asyncToGenerator);
49
+
50
+ var defineProperty = createCommonjsModule(function (module) {
51
+ function _defineProperty(obj, key, value) {
52
+ if (key in obj) {
53
+ Object.defineProperty(obj, key, {
54
+ value: value,
55
+ enumerable: true,
56
+ configurable: true,
57
+ writable: true
58
+ });
59
+ } else {
60
+ obj[key] = value;
61
+ }
62
+
63
+ return obj;
64
+ }
65
+
66
+ module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
67
+ });
68
+
69
+ var _defineProperty = unwrapExports(defineProperty);
70
+
9
71
  var canUseDOM = !!(
10
72
  typeof window !== 'undefined' &&
11
73
  window.document &&
@@ -30,8 +92,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
30
92
  return target;
31
93
  }
32
94
 
33
- module.exports = _objectWithoutPropertiesLoose;
34
- module.exports["default"] = module.exports, module.exports.__esModule = true;
95
+ module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
35
96
  });
36
97
 
37
98
  unwrapExports(objectWithoutPropertiesLoose);
@@ -56,8 +117,7 @@ function _objectWithoutProperties(source, excluded) {
56
117
  return target;
57
118
  }
58
119
 
59
- module.exports = _objectWithoutProperties;
60
- module.exports["default"] = module.exports, module.exports.__esModule = true;
120
+ module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
61
121
  });
62
122
 
63
123
  var _objectWithoutProperties = unwrapExports(objectWithoutProperties);
@@ -822,14 +882,11 @@ function _extends() {
822
882
  }
823
883
 
824
884
  return target;
825
- };
826
-
827
- module.exports["default"] = module.exports, module.exports.__esModule = true;
885
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
828
886
  return _extends.apply(this, arguments);
829
887
  }
830
888
 
831
- module.exports = _extends;
832
- module.exports["default"] = module.exports, module.exports.__esModule = true;
889
+ module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
833
890
  });
834
891
 
835
892
  var _extends = unwrapExports(_extends_1);
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import QueueDeckExpanded from './QueueDeckExpanded.js';
4
4
  import Breadcrumbs from './Breadcrumbs.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-9fdf6b2a.js';
6
+ import { g as getSerializers } from './index-55840558.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './slicedToArray-6ebcbfea.js';
@@ -17,14 +17,13 @@ import './index.es-a6137319.js';
17
17
  import './moment-bc12cb97.js';
18
18
  import './visibility-sensor-72fd8f8b.js';
19
19
  import 'react-dom';
20
- import './index-f0fc23eb.js';
21
- import './events-6c3a7a63.js';
20
+ import './index-5cc7b406.js';
22
21
  import 'prop-types';
23
22
  import 'next/router';
24
23
  import './index-755f2cc2.js';
25
24
  import './main-f97773b2.js';
26
- import './entities-6d9154b4.js';
27
- import './ADInfeed-b034e2e6.js';
25
+ import './entities-932b50cf.js';
26
+ import './ADInfeed-fb501f15.js';
28
27
  import 'react-bootstrap/Card';
29
28
  import './AdSlot.js';
30
29
  import './debounce-533d9748.js';
@@ -38,7 +37,7 @@ import './_set-species-2cd9340f.js';
38
37
  import './Segment.js';
39
38
  import './AuthorComponent-11adff02.js';
40
39
  import './lodash-f97fd99a.js';
41
- import './ADlgInfeed-444f326d.js';
40
+ import './ADlgInfeed-b742488e.js';
42
41
  import './getContentCategory-15dcc413.js';
43
42
  import './timeDifferenceCalc.js';
44
43
  import 'react-bootstrap/Breadcrumb';
@@ -73,35 +72,35 @@ import 'react-bootstrap/Tooltip';
73
72
  import 'react-bootstrap/Popover';
74
73
  import './checkSisterSite-a7218fda.js';
75
74
 
76
- /* usage
77
- import Settings, { Ads } from '../../../../settings'
78
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
79
- import client from '../../../../client'
80
- import moment from 'moment'
81
- import Shell from '../../../../components/2.0/Shell'
82
- import { pageview } from '../../../../utilities/gtag'
83
-
84
- const Issue = (props) => {
85
- const { pubIssue, cache } = props
86
- const targeting = {
87
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
88
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
89
- }
90
- return (
91
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
92
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
93
- </Shell>
94
- )
95
- }
96
-
97
- Issue.getInitialProps = async (ctx) => {
98
- const { query } = ctx
99
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
100
- )
101
- return { pubIssue }
102
- }
103
-
104
- export default Issue
75
+ /* usage
76
+ import Settings, { Ads } from '../../../../settings'
77
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
78
+ import client from '../../../../client'
79
+ import moment from 'moment'
80
+ import Shell from '../../../../components/2.0/Shell'
81
+ import { pageview } from '../../../../utilities/gtag'
82
+
83
+ const Issue = (props) => {
84
+ const { pubIssue, cache } = props
85
+ const targeting = {
86
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
87
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
88
+ }
89
+ return (
90
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
91
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
92
+ </Shell>
93
+ )
94
+ }
95
+
96
+ Issue.getInitialProps = async (ctx) => {
97
+ const { query } = ctx
98
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
99
+ )
100
+ return { pubIssue }
101
+ }
102
+
103
+ export default Issue
105
104
  */
106
105
 
107
106
  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 { KMTracker as default };
@@ -10,8 +10,7 @@ import './slicedToArray-6ebcbfea.js';
10
10
  import './web.dom.iterable-ab4dea5c.js';
11
11
  import './AdSlot.js';
12
12
  import 'prop-types';
13
- import './index-f0fc23eb.js';
14
- import './events-6c3a7a63.js';
13
+ import './index-5cc7b406.js';
15
14
  import './debounce-533d9748.js';
16
15
  import './isSymbol-a7e9aafe.js';
17
16
  import './toNumber-5aeba6e7.js';
@@ -3,7 +3,7 @@ import { a as _Promise } from './asyncToGenerator-64822ccc.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
5
5
  import React__default from 'react';
6
- import { l as lib_3 } from './index-f0fc23eb.js';
6
+ import { l as lib_3 } from './index-5cc7b406.js';
7
7
  import Container from 'react-bootstrap/Container';
8
8
  import 'react-bootstrap/Row';
9
9
  import 'react-bootstrap/Col';
@@ -16,8 +16,8 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import './slicedToArray-6ebcbfea.js';
18
18
  import './index-3f5c03b2.js';
19
- import { A as ADlgInfeed } from './ADlgInfeed-444f326d.js';
20
- import { A as ADInfeed } from './ADInfeed-b034e2e6.js';
19
+ import { A as ADlgInfeed } from './ADlgInfeed-b742488e.js';
20
+ import { A as ADInfeed } from './ADInfeed-fb501f15.js';
21
21
  import './main-f97773b2.js';
22
22
  import './_commonjsHelpers-0c4b6f40.js';
23
23
  import './core.get-iterator-method-ea258bb1.js';
@@ -29,7 +29,6 @@ import './_object-sap-7cee6f84.js';
29
29
  import './define-property-5f1bda73.js';
30
30
  import './typeof-657f25da.js';
31
31
  import './_is-array-8d21b9e3.js';
32
- import './events-6c3a7a63.js';
33
32
  import 'prop-types';
34
33
  import './isSymbol-a7e9aafe.js';
35
34
  import './toNumber-5aeba6e7.js';
@@ -223,14 +222,14 @@ var MasterDeck = function (_React$Component) {
223
222
  }
224
223
 
225
224
  // please leave this for later debug purpose : Yong Jun.
226
- /* console.log('page change reported', {
227
- currentPage: currentPage,
228
- pageNumber: pageNumber,
229
- pathname: pathname,
230
- path: path,
231
- newPath: newPath,
232
- firstPage: pageNumber === 1,
233
- queryString: queryString
225
+ /* console.log('page change reported', {
226
+ currentPage: currentPage,
227
+ pageNumber: pageNumber,
228
+ pathname: pathname,
229
+ path: path,
230
+ newPath: newPath,
231
+ firstPage: pageNumber === 1,
232
+ queryString: queryString
234
233
  }) */
235
234
 
236
235
  if (pageview) {
@@ -4,15 +4,15 @@ import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
5
5
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
6
6
  import React__default from 'react';
7
- import { l as lib_3 } from './index-f0fc23eb.js';
7
+ import { l as lib_3 } from './index-5cc7b406.js';
8
8
  import Container from 'react-bootstrap/Container';
9
9
  import Spinner from 'react-bootstrap/Spinner';
10
10
  import { withRouter } from 'next/router';
11
11
  import { l as lodash } from './lodash-f97fd99a.js';
12
12
  import { m as main_43 } from './main-f97773b2.js';
13
- import { A as ADlgInfeed } from './ADlgInfeed-444f326d.js';
14
- import { A as ADInfeed } from './ADInfeed-b034e2e6.js';
15
- import { P as Pagination } from './Pagination-dc30727b.js';
13
+ import { A as ADlgInfeed } from './ADlgInfeed-b742488e.js';
14
+ import { A as ADInfeed } from './ADInfeed-fb501f15.js';
15
+ import { P as Pagination } from './Pagination-9fe9f61d.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
18
18
  import './web.dom.iterable-ab4dea5c.js';
@@ -23,7 +23,6 @@ import './_object-sap-7cee6f84.js';
23
23
  import './define-property-5f1bda73.js';
24
24
  import './typeof-657f25da.js';
25
25
  import './_is-array-8d21b9e3.js';
26
- import './events-6c3a7a63.js';
27
26
  import 'prop-types';
28
27
  import './slicedToArray-6ebcbfea.js';
29
28
  import 'react-bootstrap/Card';
@@ -107,14 +106,14 @@ var MasterDeck = function (_React$Component) {
107
106
  }
108
107
 
109
108
  // please leave this for later debug purpose : Yong Jun.
110
- /* console.log('page change reported', {
111
- currentPage: currentPage,
112
- pageNumber: pageNumber,
113
- pathname: pathname,
114
- path: path,
115
- newPath: newPath,
116
- firstPage: pageNumber === 1,
117
- queryString: queryString
109
+ /* console.log('page change reported', {
110
+ currentPage: currentPage,
111
+ pageNumber: pageNumber,
112
+ pathname: pathname,
113
+ path: path,
114
+ newPath: newPath,
115
+ firstPage: pageNumber === 1,
116
+ queryString: queryString
118
117
  }) */
119
118
 
120
119
  if (pageview) {
@@ -5,9 +5,9 @@ import urlFor from './urlFor.js';
5
5
  import { m as moment } from './moment-bc12cb97.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
7
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-9fdf6b2a.js';
8
+ import { g as getSerializers } from './index-55840558.js';
9
9
 
10
- var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
10
+ var css = ".MediaSeriesCard-module_article__SAFYK {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.MediaSeriesCard-module_article__SAFYK a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU {\r\n width: 25%;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_published__E4oiz {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_summary__1xanh {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR {\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR span {\r\n color: #6d6d6d;\r\n}\r\n.MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1.3rem;\r\n font-weight: bold;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .MediaSeriesCard-module_article__SAFYK {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .MediaSeriesCard-module_article__SAFYK a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU figure {\r\n margin: 0;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o {\r\n width: 90%;\r\n padding: 0rem !important;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o h2 {\r\n font-size: 1rem;\r\n }\r\n .MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1rem;\r\n \r\n }\r\n}\r\n";
11
11
  var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
12
12
  styleInject(css);
13
13
 
@@ -3,14 +3,14 @@ import { _ as _typeof } from './typeof-657f25da.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { D as DropdownButton, a as Dropdown } from './Tooltip-95655b44.js';
7
- import './index-98ca9cec.js';
6
+ import { D as DropdownButton, a as Dropdown } from './Tooltip-51957f7c.js';
7
+ import './index-67e1773f.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import MasterDeck from './MasterDeck.js';
11
- import { M as MediaSeriesCard } from './MediaSeriesCard-77457d91.js';
11
+ import { M as MediaSeriesCard } from './MediaSeriesCard-5f578738.js';
12
12
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
13
- import { g as getSerializers } from './index-9fdf6b2a.js';
13
+ import { g as getSerializers } from './index-55840558.js';
14
14
  import './_commonjsHelpers-0c4b6f40.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
@@ -23,8 +23,7 @@ import './toConsumableArray-f7074d7c.js';
23
23
  import './inherits-d21b4ef9.js';
24
24
  import './_object-sap-7cee6f84.js';
25
25
  import './define-property-5f1bda73.js';
26
- import './index-f0fc23eb.js';
27
- import './events-6c3a7a63.js';
26
+ import './index-5cc7b406.js';
28
27
  import 'react-bootstrap/Container';
29
28
  import 'react-bootstrap/Row';
30
29
  import 'react-bootstrap/Col';
@@ -38,13 +37,13 @@ import './toNumber-5aeba6e7.js';
38
37
  import './index.es-a6137319.js';
39
38
  import './visibility-sensor-72fd8f8b.js';
40
39
  import './index-3f5c03b2.js';
41
- import './ADlgInfeed-444f326d.js';
40
+ import './ADlgInfeed-b742488e.js';
42
41
  import './AdSlot.js';
43
42
  import './Beam.js';
44
43
  import './stringify-2b084bee.js';
45
44
  import './Segment.js';
46
45
  import './main-f97773b2.js';
47
- import './ADInfeed-b034e2e6.js';
46
+ import './ADInfeed-fb501f15.js';
48
47
  import './index-755f2cc2.js';
49
48
  import './urlFor.js';
50
49
  import './style-inject.es-1f59c1d0.js';
@@ -65,7 +64,7 @@ import './SocialShare.js';
65
64
  import 'next/head';
66
65
  import 'react-share';
67
66
  import 'react-bootstrap/Pagination';
68
- import './entities-6d9154b4.js';
67
+ import './entities-932b50cf.js';
69
68
  import './index.esm-eb1e8e80.js';
70
69
  import './iconBase-ccc56b97.js';
71
70
  import 'react-bootstrap/Figure';
@@ -96,11 +95,11 @@ var Filter = function Filter(_ref) {
96
95
  _useState6 = _slicedToArray(_useState5, 2),
97
96
  grandChildData = _useState6[0],
98
97
  setGrandChildData = _useState6[1];
99
- /*
100
- {parent: showAll,
101
- chidlren: show selected from parent,
102
- grandchildren: show selected from children
103
- }
98
+ /*
99
+ {parent: showAll,
100
+ chidlren: show selected from parent,
101
+ grandchildren: show selected from children
102
+ }
104
103
  */
105
104
 
106
105
 
@@ -3,14 +3,14 @@ import { _ as _typeof } from './typeof-657f25da.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { D as DropdownButton, a as Dropdown } from './Tooltip-95655b44.js';
7
- import './index-98ca9cec.js';
6
+ import { D as DropdownButton, a as Dropdown } from './Tooltip-51957f7c.js';
7
+ import './index-67e1773f.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
11
  import MasterDeck from './MasterDeckPaginated.js';
12
- import { M as MediaSeriesCard } from './MediaSeriesCard-77457d91.js';
13
- import { g as getSerializers } from './index-9fdf6b2a.js';
12
+ import { M as MediaSeriesCard } from './MediaSeriesCard-5f578738.js';
13
+ import { g as getSerializers } from './index-55840558.js';
14
14
  import './_commonjsHelpers-0c4b6f40.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
@@ -25,14 +25,13 @@ import './toConsumableArray-f7074d7c.js';
25
25
  import './inherits-d21b4ef9.js';
26
26
  import './_object-sap-7cee6f84.js';
27
27
  import './define-property-5f1bda73.js';
28
- import './index-f0fc23eb.js';
29
- import './events-6c3a7a63.js';
28
+ import './index-5cc7b406.js';
30
29
  import 'react-bootstrap/Container';
31
30
  import 'react-bootstrap/Spinner';
32
31
  import 'next/router';
33
32
  import './lodash-f97fd99a.js';
34
33
  import './main-f97773b2.js';
35
- import './ADlgInfeed-444f326d.js';
34
+ import './ADlgInfeed-b742488e.js';
36
35
  import 'react-bootstrap/Card';
37
36
  import './AdSlot.js';
38
37
  import './debounce-533d9748.js';
@@ -40,8 +39,8 @@ import './isSymbol-a7e9aafe.js';
40
39
  import './toNumber-5aeba6e7.js';
41
40
  import './Beam.js';
42
41
  import './Segment.js';
43
- import './ADInfeed-b034e2e6.js';
44
- import './Pagination-dc30727b.js';
42
+ import './ADInfeed-fb501f15.js';
43
+ import './Pagination-9fe9f61d.js';
45
44
  import 'react-bootstrap/Button';
46
45
  import './index.esm-1bd8a0a8.js';
47
46
  import './iconBase-ccc56b97.js';
@@ -65,7 +64,7 @@ import './SocialShare.js';
65
64
  import 'next/head';
66
65
  import 'react-share';
67
66
  import 'react-bootstrap/Pagination';
68
- import './entities-6d9154b4.js';
67
+ import './entities-932b50cf.js';
69
68
  import 'react-bootstrap/Row';
70
69
  import 'react-bootstrap/Col';
71
70
  import './index.esm-eb1e8e80.js';
@@ -97,11 +96,11 @@ var Filter = function Filter(_ref) {
97
96
  _useState6 = _slicedToArray(_useState5, 2),
98
97
  grandChildData = _useState6[0],
99
98
  setGrandChildData = _useState6[1];
100
- /*
101
- {parent: showAll,
102
- chidlren: show selected from parent,
103
- grandchildren: show selected from children
104
- }
99
+ /*
100
+ {parent: showAll,
101
+ chidlren: show selected from parent,
102
+ grandchildren: show selected from children
103
+ }
105
104
  */
106
105
 
107
106
 
@@ -29,16 +29,16 @@ import 'react-bootstrap/FormControl';
29
29
  import 'react-bootstrap/Button';
30
30
 
31
31
  var NavMagazine = function NavMagazine(props) {
32
- /*
33
- Example Nav with acceptable props
34
- <MagazineNav
35
- showLogin
36
- user={props.cache.user}
37
- logo={props.settings.logo}
38
- dataObject={props.cache.mainNavCache}
39
- website={website}
40
- subNav={props.cache.subNavCache}
41
- />
32
+ /*
33
+ Example Nav with acceptable props
34
+ <MagazineNav
35
+ showLogin
36
+ user={props.cache.user}
37
+ logo={props.settings.logo}
38
+ dataObject={props.cache.mainNavCache}
39
+ website={website}
40
+ subNav={props.cache.subNavCache}
41
+ />
42
42
  */
43
43
 
44
44
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -303,15 +303,15 @@ function chunk(array, size, guard) {
303
303
  var chunk_1 = chunk;
304
304
 
305
305
  var NavNative = function NavNative(props) {
306
- /*
307
- Example Nav with acceptable props
308
- <MagazineNav
309
- showLogin
310
- logo={props.settings.logo}
311
- dataObject={props.cache.mainNavCache}
312
- website={website}
313
- subNav={props.cache.subNavCache}
314
- />
306
+ /*
307
+ Example Nav with acceptable props
308
+ <MagazineNav
309
+ showLogin
310
+ logo={props.settings.logo}
311
+ dataObject={props.cache.mainNavCache}
312
+ website={website}
313
+ subNav={props.cache.subNavCache}
314
+ />
315
315
  */
316
316
  // Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
317
317
  var logo = props.logo,
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
3
  import urlFor from './urlFor.js';
4
- import { c as clean_html_1 } from './entities-6d9154b4.js';
4
+ import { c as clean_html_1 } from './entities-932b50cf.js';
5
5
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
6
6
  import { L as LazyLoad } from './index-755f2cc2.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';