@mjhls/mjh-framework 1.0.984-nofollow-v1 → 1.0.985-article-abstract-v1

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 (252) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +6 -6
  3. package/dist/cjs/AD300x250.js +5 -5
  4. package/dist/cjs/AD300x250x600.js +5 -5
  5. package/dist/cjs/AD728x90.js +6 -6
  6. package/dist/cjs/ADFloatingFooter.js +8 -8
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +8 -8
  9. package/dist/cjs/{ADInfeed-e5192055.js → ADInfeed-81006615.js} +5 -5
  10. package/dist/cjs/ADSkyscraper.js +8 -8
  11. package/dist/cjs/ADSponsoredResources.js +8 -8
  12. package/dist/cjs/ADWebcast.js +8 -8
  13. package/dist/cjs/ADWelcome.js +12 -12
  14. package/dist/cjs/{ADlgInfeed-442a5d8c.js → ADlgInfeed-0db07099.js} +3 -3
  15. package/dist/cjs/AccordionPanel.js +17 -17
  16. package/dist/cjs/AdSlot.js +9 -9
  17. package/dist/cjs/AdSlotsProvider.js +5 -5
  18. package/dist/cjs/AlgoliaSearch.js +869 -1058
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +14 -14
  22. package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
  23. package/dist/cjs/ArticleSeriesListing.js +29 -29
  24. package/dist/cjs/Auth.js +101 -133
  25. package/dist/cjs/AuthWrapper.js +37 -43
  26. package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
  27. package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
  28. package/dist/cjs/Breadcrumbs.js +17 -17
  29. package/dist/cjs/CMEDeck.js +61 -65
  30. package/dist/cjs/Column1.js +7 -7
  31. package/dist/cjs/Column2.js +15 -15
  32. package/dist/cjs/Column3.js +27 -27
  33. package/dist/cjs/ConferenceArticleCard.js +27 -27
  34. package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
  35. package/dist/cjs/ContentCardPaginated.js +49 -49
  36. package/dist/cjs/DeckContent.js +66 -66
  37. package/dist/cjs/DeckQueue.js +57 -57
  38. package/dist/cjs/DeckQueuePaginated.js +46 -46
  39. package/dist/cjs/{Dfp-c313a700.js → Dfp-9be904d5.js} +17 -17
  40. package/dist/cjs/EventsDeck.js +107 -107
  41. package/dist/cjs/ExternalResources.js +34 -34
  42. package/dist/cjs/Feature.js +17 -17
  43. package/dist/cjs/ForbesHero.js +25 -25
  44. package/dist/cjs/GridContent.js +134 -134
  45. package/dist/cjs/GridContentPaginated.js +121 -121
  46. package/dist/cjs/GridHero.js +26 -26
  47. package/dist/cjs/GroupDeck.js +33 -33
  48. package/dist/cjs/HamMagazine.js +114 -114
  49. package/dist/cjs/Header.js +9 -9
  50. package/dist/cjs/HealthCareProfessionalModal.js +18 -18
  51. package/dist/cjs/Hero.js +5 -5
  52. package/dist/cjs/HighlightenVideo.js +13 -13
  53. package/dist/cjs/HorizontalArticleListing.js +28 -28
  54. package/dist/cjs/HorizontalHero.js +17 -17
  55. package/dist/cjs/{ImageSlider-17fdaf3b.js → ImageSlider-6c00b878.js} +72 -72
  56. package/dist/cjs/IssueContentDeck.js +49 -49
  57. package/dist/cjs/IssueDeck.js +48 -48
  58. package/dist/cjs/IssueLanding.js +48 -48
  59. package/dist/cjs/KMTracker.js +15 -15
  60. package/dist/cjs/LeftNav.js +17 -17
  61. package/dist/cjs/MasterDeck.js +47 -47
  62. package/dist/cjs/MasterDeckPaginated.js +37 -37
  63. package/dist/cjs/{MediaSeriesCard-630e177e.js → MediaSeriesCard-84fa20f4.js} +552 -615
  64. package/dist/cjs/MediaSeriesLanding.js +40 -40
  65. package/dist/cjs/MediaSeriesLandingPaginated.js +39 -39
  66. package/dist/cjs/NavDvm.js +57 -57
  67. package/dist/cjs/{NavFooter-1fda6732.js → NavFooter-3dcd99a8.js} +11 -11
  68. package/dist/cjs/NavMagazine.js +116 -116
  69. package/dist/cjs/NavNative.js +106 -106
  70. package/dist/cjs/OncliveHero.js +11 -11
  71. package/dist/cjs/OncliveLargeHero.js +49 -49
  72. package/dist/cjs/PageFilter.js +5 -5
  73. package/dist/cjs/{Pagination-6359861a.js → Pagination-2a3d0103.js} +13 -13
  74. package/dist/cjs/PartnerDetailListing.js +49 -49
  75. package/dist/cjs/PartnerDetailListingPaginated.js +45 -45
  76. package/dist/cjs/PdfDownload.js +4 -4
  77. package/dist/cjs/PixelTracking.js +9 -9
  78. package/dist/cjs/PopUpModal.js +9 -9
  79. package/dist/cjs/PtceDeck.js +13 -13
  80. package/dist/cjs/PubSection.js +13 -13
  81. package/dist/cjs/PubToc.js +4 -4
  82. package/dist/cjs/PublicationDeck.js +44 -44
  83. package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-5ccf9b13.js} +29 -29
  84. package/dist/cjs/PublicationLanding.js +99 -99
  85. package/dist/cjs/QueueDeckExpanded.js +245 -245
  86. package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
  87. package/dist/cjs/RecentNews.js +15 -15
  88. package/dist/cjs/RelatedContent.js +42 -42
  89. package/dist/cjs/RelatedTopicsDropdown.js +24 -24
  90. package/dist/cjs/RolesDeck.js +20 -20
  91. package/dist/cjs/Schema.js +1 -1
  92. package/dist/cjs/Search.js +6 -6
  93. package/dist/cjs/SeriesListingDeck.js +18 -18
  94. package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-74546d19.js} +26 -26
  95. package/dist/cjs/SideFooter.js +20 -20
  96. package/dist/cjs/SocialIcons.js +6 -6
  97. package/dist/cjs/{SocialSearchComponent-bac7d6fa.js → SocialSearchComponent-b7faaedc.js} +28 -28
  98. package/dist/cjs/SocialShare.js +25 -25
  99. package/dist/cjs/TaxonomyCard.js +44 -44
  100. package/dist/cjs/TaxonomyDescription.js +11 -11
  101. package/dist/cjs/TemplateNormal.js +27 -27
  102. package/dist/cjs/ThumbnailCard.js +10 -10
  103. package/dist/cjs/Ustream.js +9 -9
  104. package/dist/cjs/VerticalHero.js +10 -10
  105. package/dist/cjs/VideoProgramLandingPage.js +28 -28
  106. package/dist/cjs/VideoSeriesCard.js +14 -14
  107. package/dist/cjs/VideoSeriesFilter.js +5 -5
  108. package/dist/cjs/VideoSeriesLandingPage.js +11 -11
  109. package/dist/cjs/VideoSeriesListing.js +46 -46
  110. package/dist/cjs/View.js +239 -224
  111. package/dist/cjs/YahooHero.js +22 -22
  112. package/dist/cjs/YoutubeGroup.js +37 -37
  113. package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
  114. package/dist/cjs/getSerializers.js +6 -6
  115. package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-dab97fe1.js} +9 -9
  116. package/dist/cjs/getTargeting.js +1 -1
  117. package/dist/cjs/iconBase-be4097c0.js +4 -2
  118. package/dist/cjs/{index-d6f7f994.js → index-7f3d9184.js} +481 -481
  119. package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
  120. package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
  121. package/dist/cjs/{index-d2a6ef75.js → index-fc2f1ca2.js} +4 -4
  122. package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
  123. package/dist/cjs/{index.esm-70e78156.js → index.esm-2bb721c8.js} +14 -14
  124. package/dist/cjs/index.js +102 -102
  125. package/dist/cjs/{main-6054981e.js → main-f1c77adb.js} +22 -17
  126. package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
  127. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  128. package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
  129. package/dist/esm/AD.js +1 -1
  130. package/dist/esm/AD300x250.js +2 -2
  131. package/dist/esm/AD300x250x600.js +2 -2
  132. package/dist/esm/AD728x90.js +2 -2
  133. package/dist/esm/ADFloatingFooter.js +2 -2
  134. package/dist/esm/ADFooter.js +1 -1
  135. package/dist/esm/ADGutter.js +2 -2
  136. package/dist/esm/ADSkyscraper.js +2 -2
  137. package/dist/esm/ADSponsoredResources.js +2 -2
  138. package/dist/esm/ADWebcast.js +2 -2
  139. package/dist/esm/ADWelcome.js +2 -2
  140. package/dist/esm/AccordionPanel.js +1 -1
  141. package/dist/esm/AdSlot.js +2 -2
  142. package/dist/esm/AdSlotsProvider.js +2 -2
  143. package/dist/esm/AlgoliaSearch.js +486 -675
  144. package/dist/esm/AlphabeticList.js +1 -1
  145. package/dist/esm/ArticleCarousel.js +2 -2
  146. package/dist/esm/ArticleProgramLandingPage.js +3 -3
  147. package/dist/esm/ArticleSeriesLandingPage.js +4 -4
  148. package/dist/esm/ArticleSeriesListing.js +2 -2
  149. package/dist/esm/Auth.js +29 -60
  150. package/dist/esm/AuthWrapper.js +14 -20
  151. package/dist/esm/Beam.js +1 -1
  152. package/dist/esm/Breadcrumbs.js +1 -1
  153. package/dist/esm/CMEDeck.js +3 -7
  154. package/dist/esm/Column1.js +2 -1
  155. package/dist/esm/Column2.js +2 -1
  156. package/dist/esm/Column3.js +3 -2
  157. package/dist/esm/ConferenceArticleCard.js +16 -16
  158. package/dist/esm/ContentCardPaginated.js +4 -4
  159. package/dist/esm/DeckContent.js +11 -11
  160. package/dist/esm/DeckQueue.js +2 -2
  161. package/dist/esm/DeckQueuePaginated.js +3 -3
  162. package/dist/esm/Dfp-102f0beb.js +1 -1
  163. package/dist/esm/EventsDeck.js +20 -20
  164. package/dist/esm/ExternalResources.js +4 -4
  165. package/dist/esm/Feature.js +2 -2
  166. package/dist/esm/ForbesHero.js +1 -1
  167. package/dist/esm/GridContent.js +4 -4
  168. package/dist/esm/GridContentPaginated.js +5 -5
  169. package/dist/esm/GridHero.js +1 -1
  170. package/dist/esm/GroupDeck.js +1 -1
  171. package/dist/esm/HamMagazine.js +13 -12
  172. package/dist/esm/Header.js +2 -1
  173. package/dist/esm/HealthCareProfessionalModal.js +2 -2
  174. package/dist/esm/Hero.js +1 -1
  175. package/dist/esm/HighlightenVideo.js +1 -1
  176. package/dist/esm/HorizontalArticleListing.js +3 -3
  177. package/dist/esm/HorizontalHero.js +1 -1
  178. package/dist/esm/IssueContentDeck.js +1 -1
  179. package/dist/esm/IssueDeck.js +1 -1
  180. package/dist/esm/IssueLanding.js +34 -34
  181. package/dist/esm/KMTracker.js +16 -16
  182. package/dist/esm/LeftNav.js +3 -2
  183. package/dist/esm/MasterDeck.js +12 -12
  184. package/dist/esm/MasterDeckPaginated.js +13 -13
  185. package/dist/esm/{MediaSeriesCard-64c51b1f.js → MediaSeriesCard-22059712.js} +97 -160
  186. package/dist/esm/MediaSeriesLanding.js +11 -11
  187. package/dist/esm/MediaSeriesLandingPaginated.js +12 -12
  188. package/dist/esm/NavDvm.js +2 -1
  189. package/dist/esm/NavMagazine.js +14 -13
  190. package/dist/esm/NavNative.js +12 -11
  191. package/dist/esm/OncliveHero.js +1 -1
  192. package/dist/esm/OncliveLargeHero.js +1 -1
  193. package/dist/esm/PageFilter.js +1 -1
  194. package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
  195. package/dist/esm/PartnerDetailListing.js +5 -5
  196. package/dist/esm/PartnerDetailListingPaginated.js +6 -6
  197. package/dist/esm/PdfDownload.js +1 -1
  198. package/dist/esm/PopUpModal.js +1 -1
  199. package/dist/esm/PtceDeck.js +1 -1
  200. package/dist/esm/PubSection.js +4 -4
  201. package/dist/esm/PubToc.js +1 -1
  202. package/dist/esm/PublicationDeck.js +1 -1
  203. package/dist/esm/PublicationLanding.js +27 -27
  204. package/dist/esm/QueueDeckExpanded.js +4 -4
  205. package/dist/esm/QueueDeckExpandedPaginated.js +5 -5
  206. package/dist/esm/RecentNews.js +1 -1
  207. package/dist/esm/RelatedContent.js +29 -29
  208. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  209. package/dist/esm/RolesDeck.js +1 -1
  210. package/dist/esm/Schema.js +1 -1
  211. package/dist/esm/Search.js +1 -1
  212. package/dist/esm/Segment.js +1 -1
  213. package/dist/esm/SeriesListingDeck.js +3 -3
  214. package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-e495571f.js} +5 -5
  215. package/dist/esm/SetCookie.js +1 -1
  216. package/dist/esm/SideFooter.js +3 -3
  217. package/dist/esm/SocialIcons.js +1 -1
  218. package/dist/esm/{SocialSearchComponent-c249903e.js → SocialSearchComponent-4b56cd8c.js} +1 -1
  219. package/dist/esm/SocialShare.js +1 -1
  220. package/dist/esm/TaxonomyCard.js +1 -1
  221. package/dist/esm/TaxonomyDescription.js +3 -3
  222. package/dist/esm/TemplateNormal.js +3 -3
  223. package/dist/esm/ThumbnailCard.js +1 -1
  224. package/dist/esm/Ustream.js +2 -2
  225. package/dist/esm/VerticalHero.js +1 -1
  226. package/dist/esm/VideoProgramLandingPage.js +3 -3
  227. package/dist/esm/VideoSeriesCard.js +2 -2
  228. package/dist/esm/VideoSeriesFilter.js +1 -1
  229. package/dist/esm/VideoSeriesLandingPage.js +4 -4
  230. package/dist/esm/VideoSeriesListing.js +2 -2
  231. package/dist/esm/View.js +22 -7
  232. package/dist/esm/YahooHero.js +1 -1
  233. package/dist/esm/YoutubeGroup.js +6 -6
  234. package/dist/esm/getKeywords.js +1 -1
  235. package/dist/esm/getQuery.js +1 -1
  236. package/dist/esm/getRelatedArticle.js +1 -1
  237. package/dist/esm/getRootDocGroup.js +1 -1
  238. package/dist/esm/getSerializers.js +2 -2
  239. package/dist/esm/getSeriesDetail.js +1 -1
  240. package/dist/esm/{getTargeting-42f9b439.js → getTargeting-04d979c9.js} +9 -9
  241. package/dist/esm/getTargeting.js +1 -1
  242. package/dist/esm/{index-7ca7221e.js → index-1df13f26.js} +1 -1
  243. package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
  244. package/dist/esm/index.js +8 -8
  245. package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
  246. package/dist/esm/stringify-2b084bee.js +1 -1
  247. package/dist/esm/timeDifferenceCalc.js +1 -1
  248. package/dist/esm/urlFor.js +1 -1
  249. package/dist/esm/ustream-api-d3714624.js +1 -1
  250. package/package.json +115 -115
  251. /package/dist/esm/{ADInfeed-d93886e3.js → ADInfeed-6d1fc6bf.js} +0 -0
  252. /package/dist/esm/{ADlgInfeed-93777a49.js → ADlgInfeed-dc36c928.js} +0 -0
@@ -15,8 +15,8 @@ import Col from 'react-bootstrap/Col';
15
15
  import Card from 'react-bootstrap/Card';
16
16
  import Form from 'react-bootstrap/Form';
17
17
  import Button from 'react-bootstrap/Button';
18
- import './main-9f6806ea.js';
19
- import { m as momentTimezone } from './index-30a6257d.js';
18
+ import './main-1894c974.js';
19
+ import { m as momentTimezone } from './index-79cfd25c.js';
20
20
  import { j as js_cookie } from './js.cookie-6874175c.js';
21
21
  import { useRouter } from 'next/router';
22
22
  import './define-property-5f1bda73.js';
@@ -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';
@@ -841,4 +841,4 @@ var EventsDeck = function EventsDeck(_ref) {
841
841
  }
842
842
  };
843
843
 
844
- export { EventsDeck as default };
844
+ export default EventsDeck;
@@ -2,8 +2,8 @@ import { _ as _extends } from './extends-6d8e3924.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
4
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
- import { g as getSerializers } from './index-7ca7221e.js';
6
- import { m as momentTimezone } from './index-30a6257d.js';
5
+ import { g as getSerializers } from './index-1df13f26.js';
6
+ import { m as momentTimezone } from './index-79cfd25c.js';
7
7
  import { useRouter } from 'next/router';
8
8
  import Button from 'react-bootstrap/Button';
9
9
  import './_commonjsHelpers-0c4b6f40.js';
@@ -24,7 +24,7 @@ import './asyncToGenerator-958ef5fc.js';
24
24
  import './_library-528f1934.js';
25
25
  import './_iter-detect-98db3b07.js';
26
26
  import './Segment.js';
27
- import './main-9f6806ea.js';
27
+ import './main-1894c974.js';
28
28
  import './urlForFile-b69adffc.js';
29
29
  import './index-755f2cc2.js';
30
30
  import 'react-dom';
@@ -209,4 +209,4 @@ var ExternalResources = function ExternalResources(props) {
209
209
  );
210
210
  };
211
211
 
212
- export { ExternalResources as default };
212
+ export default ExternalResources;
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import urlFor from './urlFor.js';
3
- import { m as main_43 } from './main-9f6806ea.js';
3
+ import { m as main_43 } from './main-1894c974.js';
4
4
  import Carousel from 'react-bootstrap/Carousel';
5
5
  import './slicedToArray-6ebcbfea.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
@@ -119,4 +119,4 @@ var Feature = function Feature(props) {
119
119
  );
120
120
  };
121
121
 
122
- export { Feature as default };
122
+ export default Feature;
@@ -128,4 +128,4 @@ var fbsHero = function fbsHero(props) {
128
128
  );
129
129
  };
130
130
 
131
- export { fbsHero as default };
131
+ export default fbsHero;
@@ -12,15 +12,15 @@ import { m as moment } from './moment-bc12cb97.js';
12
12
  import { withRouter } from 'next/router';
13
13
  import { L as LazyLoad } from './index-755f2cc2.js';
14
14
  import { c as clean_html_1 } from './entities-6d9154b4.js';
15
- import { A as ADInfeed } from './ADInfeed-d93886e3.js';
15
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
16
16
  import { l as lodash } from './lodash-f97fd99a.js';
17
- import { A as ADlgInfeed } from './ADlgInfeed-93777a49.js';
17
+ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
18
18
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
19
19
  import { g as get_1 } from './get-3c308da4.js';
20
20
  import { d as debounce_1 } from './debounce-533d9748.js';
21
21
  import { I as InfiniteScroll } from './index.es-a6137319.js';
22
22
  import urlFor from './urlFor.js';
23
- import { m as main_43 } from './main-9f6806ea.js';
23
+ import { m as main_43 } from './main-1894c974.js';
24
24
  import './AD.js';
25
25
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
26
26
  import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
@@ -816,4 +816,4 @@ var GridContent = function (_React$Component) {
816
816
 
817
817
  var GridContent$1 = React__default.memo(withRouter(GridContent));
818
818
 
819
- export { GridContent$1 as default };
819
+ export default GridContent$1;
@@ -13,16 +13,16 @@ import { m as moment } from './moment-bc12cb97.js';
13
13
  import { withRouter } from 'next/router';
14
14
  import { L as LazyLoad } from './index-755f2cc2.js';
15
15
  import { c as clean_html_1 } from './entities-6d9154b4.js';
16
- import { A as ADInfeed } from './ADInfeed-d93886e3.js';
16
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
17
17
  import { l as lodash } from './lodash-f97fd99a.js';
18
- import { A as ADlgInfeed } from './ADlgInfeed-93777a49.js';
18
+ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
19
19
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
20
20
  import { g as get_1 } from './get-3c308da4.js';
21
21
  import urlFor from './urlFor.js';
22
- import { m as main_43 } from './main-9f6806ea.js';
22
+ import { m as main_43 } from './main-1894c974.js';
23
23
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
24
24
  import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
25
- import { P as Pagination } from './Pagination-9fe9f61d.js';
25
+ import { P as Pagination } from './Pagination-dc30727b.js';
26
26
  import Spinner from 'react-bootstrap/Spinner';
27
27
  import './_commonjsHelpers-0c4b6f40.js';
28
28
  import './core.get-iterator-method-ea258bb1.js';
@@ -690,4 +690,4 @@ var GridContent = function (_React$Component) {
690
690
 
691
691
  var GridContentPaginated = React__default.memo(withRouter(GridContent));
692
692
 
693
- export { GridContentPaginated as default };
693
+ export default GridContentPaginated;
@@ -138,4 +138,4 @@ var GridHero = function GridHero(props) {
138
138
  );
139
139
  };
140
140
 
141
- export { GridHero as default };
141
+ export default GridHero;
@@ -305,4 +305,4 @@ var GroupDeck = function GroupDeck(props) {
305
305
  );
306
306
  };
307
307
 
308
- export { GroupDeck as default };
308
+ export default GroupDeck;
@@ -2,7 +2,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
3
  import { N as NavFooter } from './NavFooter-e27bd93b.js';
4
4
  import { S as SocialNavFooter } from './index.esm-37268dca.js';
5
- import { S as SocialSearchComponent } from './SocialSearchComponent-c249903e.js';
5
+ import { S as SocialSearchComponent } from './SocialSearchComponent-4b56cd8c.js';
6
6
  import 'react-bootstrap/Form';
7
7
  import 'react-bootstrap/FormControl';
8
8
  import 'react-bootstrap/Button';
@@ -13,7 +13,7 @@ import Navbar from 'react-bootstrap/Navbar';
13
13
  import NavDropdown from 'react-bootstrap/NavDropdown';
14
14
  import { M as MdEmail } from './index.esm-9b042655.js';
15
15
  import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
16
- import { m as main_43, c as main_44 } from './main-9f6806ea.js';
16
+ import { m as main_43, c as main_44 } from './main-1894c974.js';
17
17
  import './_commonjsHelpers-0c4b6f40.js';
18
18
  import './web.dom.iterable-ab4dea5c.js';
19
19
  import './core.get-iterator-method-ea258bb1.js';
@@ -26,15 +26,15 @@ import './_library-528f1934.js';
26
26
  import './_iter-detect-98db3b07.js';
27
27
 
28
28
  var HamMagazine = function HamMagazine(props) {
29
- /*
30
- Example Nav with acceptable props
31
- <MagazineNav
32
- showLogin
33
- logo={props.settings.logo}
34
- dataObject={props.cache.mainNavCache}
35
- website={website}
36
- subNav={props.cache.subNavCache}
37
- />
29
+ /*
30
+ Example Nav with acceptable props
31
+ <MagazineNav
32
+ showLogin
33
+ logo={props.settings.logo}
34
+ dataObject={props.cache.mainNavCache}
35
+ website={website}
36
+ subNav={props.cache.subNavCache}
37
+ />
38
38
  */
39
39
 
40
40
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -586,4 +586,5 @@ var HamMagazine = function HamMagazine(props) {
586
586
  );
587
587
  };
588
588
 
589
- export { HamMagazine, HamMagazine as default };
589
+ export default HamMagazine;
590
+ export { HamMagazine };
@@ -26,4 +26,5 @@ var Header = function Header(props) {
26
26
 
27
27
  var Header$1 = React__default.memo(Header);
28
28
 
29
- export { Header, Header$1 as default };
29
+ export default Header$1;
30
+ export { Header };
@@ -4,7 +4,7 @@ import Modal from 'react-bootstrap/Modal';
4
4
  import Button from 'react-bootstrap/Button';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6
 
7
- var css = ".HealthcareProfessionalModal-module_container__HUaSr {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0,0,0,.1);\n z-index: 9999999999;\n display: grid;\n place-items: center;\n}\n.HealthcareProfessionalModal-module_modal__31CzM{\n background: #fff;\n padding: 1.5rem;\n text-align: center;\n position: relative;\n width: 400px;\n max-width: 90vw;\n\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\n transform: translateY(0);\n opacity:1;\n}\n.HealthcareProfessionalModal-module_header__3uIr7 {\n background-color: #0d335a;\nposition: absolute;\n padding: 1rem;\n width: 80%;\ntop: 0;\nleft: 50%;\ntransform: translateX(-50%) translateY(-50%) ;\n border-radius: 15px;\n}\n.HealthcareProfessionalModal-module_body__3bnyN {\n color: #202020;\n}\n.HealthcareProfessionalModal-module_body__3bnyN span{\n font-weight: bold;\n}\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n.HealthcareProfessionalModal-module_controls__1wXJl button {\n margin: 1.5rem 1rem;\n border-radius: 5px;\n font-size: 1rem;\n}\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\n from{\n transform: translateY(25px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity:1;\n }\n}";
7
+ var css = ".HealthcareProfessionalModal-module_container__HUaSr {\r\n position: fixed;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n background: rgba(0,0,0,.1);\r\n z-index: 9999999999;\r\n display: grid;\r\n place-items: center;\r\n}\r\n.HealthcareProfessionalModal-module_modal__31CzM{\r\n background: #fff;\r\n padding: 1.5rem;\r\n text-align: center;\r\n position: relative;\r\n width: 400px;\r\n max-width: 90vw;\r\n\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\r\n transform: translateY(0);\r\n opacity:1;\r\n}\r\n.HealthcareProfessionalModal-module_header__3uIr7 {\r\n background-color: #0d335a;\r\nposition: absolute;\r\n padding: 1rem;\r\n width: 80%;\r\ntop: 0;\r\nleft: 50%;\r\ntransform: translateX(-50%) translateY(-50%) ;\r\n border-radius: 15px;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN {\r\n color: #202020;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN span{\r\n font-weight: bold;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\r\n font-size: 24px;\r\n margin-bottom: 1rem;\r\n}\r\n.HealthcareProfessionalModal-module_controls__1wXJl button {\r\n margin: 1.5rem 1rem;\r\n border-radius: 5px;\r\n font-size: 1rem;\r\n}\r\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\r\n from{\r\n transform: translateY(25px);\r\n opacity: 0;\r\n }\r\n to {\r\n transform: translateY(0);\r\n opacity:1;\r\n }\r\n}";
8
8
  var styles = { "container": "HealthcareProfessionalModal-module_container__HUaSr", "modal": "HealthcareProfessionalModal-module_modal__31CzM", "show": "HealthcareProfessionalModal-module_show__3soMo", "header": "HealthcareProfessionalModal-module_header__3uIr7", "body": "HealthcareProfessionalModal-module_body__3bnyN", "title": "HealthcareProfessionalModal-module_title__27l5n", "controls": "HealthcareProfessionalModal-module_controls__1wXJl" };
9
9
  styleInject(css);
10
10
 
@@ -67,4 +67,4 @@ var HealthcareProfessionalModal = function HealthcareProfessionalModal(_ref) {
67
67
  );
68
68
  };
69
69
 
70
- export { HealthcareProfessionalModal as default };
70
+ export default HealthcareProfessionalModal;
package/dist/esm/Hero.js CHANGED
@@ -39,4 +39,4 @@ var Hero = function Hero(_ref) {
39
39
  );
40
40
  };
41
41
 
42
- export { Hero as default };
42
+ export default Hero;
@@ -60,4 +60,4 @@ var HighlightenVideo = function HighlightenVideo(_ref) {
60
60
  }
61
61
  };
62
62
 
63
- export { HighlightenVideo as default };
63
+ export default HighlightenVideo;
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import ArticleCarousel from './ArticleCarousel.js';
4
4
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-7ca7221e.js';
6
+ import { g as getSerializers } from './index-1df13f26.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';
@@ -17,7 +17,7 @@ import 'prop-types';
17
17
  import './smoothscroll-fa4e3f8c.js';
18
18
  import './urlFor.js';
19
19
  import './index-3f5c03b2.js';
20
- import './main-9f6806ea.js';
20
+ import './main-1894c974.js';
21
21
  import './iconBase-ccc56b97.js';
22
22
  import 'react-bootstrap';
23
23
  import './index-f0fc23eb.js';
@@ -158,4 +158,4 @@ function HorizontalArticleListing(_ref) {
158
158
  );
159
159
  }
160
160
 
161
- export { HorizontalArticleListing as default };
161
+ export default HorizontalArticleListing;
@@ -102,4 +102,4 @@ var HorizontalHero = function HorizontalHero(props) {
102
102
  );
103
103
  };
104
104
 
105
- export { HorizontalHero as default };
105
+ export default HorizontalHero;
@@ -228,4 +228,4 @@ var IssueContentDeck = function IssueContentDeck(props) {
228
228
  );
229
229
  };
230
230
 
231
- export { IssueContentDeck as default };
231
+ export default IssueContentDeck;
@@ -255,4 +255,4 @@ var IssueDeck = function IssueDeck(props) {
255
255
  );
256
256
  };
257
257
 
258
- export { IssueDeck as default };
258
+ export default IssueDeck;
@@ -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-7ca7221e.js';
6
+ import { g as getSerializers } from './index-1df13f26.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';
@@ -23,9 +23,9 @@ import './events-6c3a7a63.js';
23
23
  import 'prop-types';
24
24
  import 'next/router';
25
25
  import './index-755f2cc2.js';
26
- import './main-9f6806ea.js';
26
+ import './main-1894c974.js';
27
27
  import './entities-6d9154b4.js';
28
- import './ADInfeed-d93886e3.js';
28
+ import './ADInfeed-6d1fc6bf.js';
29
29
  import 'react-bootstrap/Card';
30
30
  import './AdSlot.js';
31
31
  import './debounce-533d9748.js';
@@ -38,7 +38,7 @@ import './_library-528f1934.js';
38
38
  import './Segment.js';
39
39
  import './AuthorComponent-11adff02.js';
40
40
  import './lodash-f97fd99a.js';
41
- import './ADlgInfeed-93777a49.js';
41
+ import './ADlgInfeed-dc36c928.js';
42
42
  import './getContentCategory-15dcc413.js';
43
43
  import './timeDifferenceCalc.js';
44
44
  import 'react-bootstrap/Breadcrumb';
@@ -71,35 +71,35 @@ import 'react-bootstrap/OverlayTrigger';
71
71
  import 'react-bootstrap/Tooltip';
72
72
  import 'react-bootstrap/Popover';
73
73
 
74
- /* usage
75
- import Settings, { Ads } from '../../../../settings'
76
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
77
- import client from '../../../../client'
78
- import moment from 'moment'
79
- import Shell from '../../../../components/2.0/Shell'
80
- import { pageview } from '../../../../utilities/gtag'
81
-
82
- const Issue = (props) => {
83
- const { pubIssue, cache } = props
84
- const targeting = {
85
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
86
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
87
- }
88
- return (
89
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
90
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
91
- </Shell>
92
- )
93
- }
94
-
95
- Issue.getInitialProps = async (ctx) => {
96
- const { query } = ctx
97
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
98
- )
99
- return { pubIssue }
100
- }
101
-
102
- export default Issue
74
+ /* usage
75
+ import Settings, { Ads } from '../../../../settings'
76
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
77
+ import client from '../../../../client'
78
+ import moment from 'moment'
79
+ import Shell from '../../../../components/2.0/Shell'
80
+ import { pageview } from '../../../../utilities/gtag'
81
+
82
+ const Issue = (props) => {
83
+ const { pubIssue, cache } = props
84
+ const targeting = {
85
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
86
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
87
+ }
88
+ return (
89
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
90
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
91
+ </Shell>
92
+ )
93
+ }
94
+
95
+ Issue.getInitialProps = async (ctx) => {
96
+ const { query } = ctx
97
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
98
+ )
99
+ return { pubIssue }
100
+ }
101
+
102
+ export default Issue
103
103
  */
104
104
 
105
105
  var IssueLanding = function IssueLanding(props) {
@@ -165,4 +165,4 @@ var IssueLanding = function IssueLanding(props) {
165
165
  );
166
166
  };
167
167
 
168
- export { IssueLanding as default };
168
+ export default IssueLanding;
@@ -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
- export { KMTracker as default };
25
+ export default KMTracker;
@@ -20,7 +20,7 @@ import './stringify-2b084bee.js';
20
20
  import './asyncToGenerator-958ef5fc.js';
21
21
  import './_library-528f1934.js';
22
22
  import './_iter-detect-98db3b07.js';
23
- import './main-9f6806ea.js';
23
+ import './main-1894c974.js';
24
24
 
25
25
  var LeftNav = function LeftNav(props) {
26
26
  var leftItems = props.leftItems,
@@ -133,4 +133,5 @@ var LeftNav = function LeftNav(props) {
133
133
 
134
134
  var LeftNav$1 = React__default.memo(LeftNav);
135
135
 
136
- export { LeftNav, LeftNav$1 as default };
136
+ export default LeftNav$1;
137
+ export { LeftNav };
@@ -16,9 +16,9 @@ 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-93777a49.js';
20
- import { A as ADInfeed } from './ADInfeed-d93886e3.js';
21
- import './main-9f6806ea.js';
19
+ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
20
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
21
+ import './main-1894c974.js';
22
22
  import './_commonjsHelpers-0c4b6f40.js';
23
23
  import './core.get-iterator-method-ea258bb1.js';
24
24
  import './_iter-detect-98db3b07.js';
@@ -223,14 +223,14 @@ var MasterDeck = function (_React$Component) {
223
223
  }
224
224
 
225
225
  // 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
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
234
234
  }) */
235
235
 
236
236
  if (pageview) {
@@ -546,4 +546,4 @@ var MasterDeck = function (_React$Component) {
546
546
 
547
547
  var MasterDeck$1 = withRouter(MasterDeck);
548
548
 
549
- export { MasterDeck$1 as default };
549
+ export default MasterDeck$1;
@@ -9,10 +9,10 @@ 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
- import { m as main_43 } from './main-9f6806ea.js';
13
- import { A as ADlgInfeed } from './ADlgInfeed-93777a49.js';
14
- import { A as ADInfeed } from './ADInfeed-d93886e3.js';
15
- import { P as Pagination } from './Pagination-9fe9f61d.js';
12
+ import { m as main_43 } from './main-1894c974.js';
13
+ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
14
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
15
+ import { P as Pagination } from './Pagination-dc30727b.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
18
18
  import './web.dom.iterable-ab4dea5c.js';
@@ -107,14 +107,14 @@ var MasterDeck = function (_React$Component) {
107
107
  }
108
108
 
109
109
  // 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
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
118
118
  }) */
119
119
 
120
120
  if (pageview) {
@@ -458,4 +458,4 @@ var MasterDeck = function (_React$Component) {
458
458
 
459
459
  var MasterDeck$1 = withRouter(MasterDeck);
460
460
 
461
- export { MasterDeck$1 as default };
461
+ export default MasterDeck$1;