@mjhls/mjh-framework 1.0.994-CypressV3 → 1.0.994-invalidelement-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 (225) 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-e87afe8a.js → ADInfeed-f316b66a.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-b5a3d436.js → ADlgInfeed-2003306e.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 +7 -8
  18. package/dist/cjs/AlgoliaSearch.js +1214 -1129
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +16 -16
  22. package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
  23. package/dist/cjs/ArticleSeriesListing.js +29 -29
  24. package/dist/cjs/Auth.js +23075 -242
  25. package/dist/cjs/AuthWrapper.js +120 -30
  26. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
  27. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
  28. package/dist/cjs/Breadcrumbs.js +17 -17
  29. package/dist/cjs/CMEDeck.js +61 -61
  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-6c9e718a.js → ConferenceBanner-213003ce.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-9be904d5.js → Dfp-c313a700.js} +17 -17
  40. package/dist/cjs/EventsDeck.js +107 -107
  41. package/dist/cjs/ExternalResources.js +36 -36
  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 +130 -130
  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 +30 -30
  54. package/dist/cjs/HorizontalHero.js +17 -17
  55. package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-ca708da8.js} +1315 -176
  56. package/dist/cjs/IssueContentDeck.js +49 -49
  57. package/dist/cjs/IssueDeck.js +48 -48
  58. package/dist/cjs/IssueLanding.js +50 -50
  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/{Tooltip-f075b7ef.js → MediaSeriesCard-f6db8f70.js} +678 -531
  64. package/dist/cjs/MediaSeriesLanding.js +56 -57
  65. package/dist/cjs/MediaSeriesLandingPaginated.js +54 -55
  66. package/dist/cjs/NavDvm.js +57 -57
  67. package/dist/cjs/{NavFooter-4799de4b.js → NavFooter-880e9d87.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-2a3d0103.js → Pagination-6359861a.js} +13 -13
  74. package/dist/cjs/PartnerDetailListing.js +52 -53
  75. package/dist/cjs/PartnerDetailListingPaginated.js +50 -73
  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-5ccf9b13.js → PublicationFeature-a989a2b3.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 +55 -52
  92. package/dist/cjs/Search.js +6 -6
  93. package/dist/cjs/SeriesListingDeck.js +18 -18
  94. package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-f5248377.js} +26 -26
  95. package/dist/cjs/SideFooter.js +20 -20
  96. package/dist/cjs/SocialIcons.js +6 -6
  97. package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-ca9c0c45.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 +13 -13
  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 +30 -30
  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 +261 -274
  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-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
  114. package/dist/cjs/defineProperty-ad65f5f0.js +110 -0
  115. package/dist/{esm/util-8ed16d48.js → cjs/empty-559717f3.js} +146 -1
  116. package/dist/cjs/getQuery.js +1 -1
  117. package/dist/cjs/getSerializers.js +8 -8
  118. package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
  119. package/dist/cjs/getTargeting.js +1 -1
  120. package/dist/cjs/iconBase-be4097c0.js +2 -4
  121. package/dist/cjs/index-0cf4c9fc.js +904 -0
  122. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  123. package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
  124. package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
  125. package/dist/cjs/{index-f95a3c0f.js → index-b10d6863.js} +495 -511
  126. package/dist/cjs/{index-fc2f1ca2.js → index-d2a6ef75.js} +4 -4
  127. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  128. package/dist/cjs/{index.esm-1461604c.js → index.esm-f59ef5b4.js} +14 -14
  129. package/dist/cjs/index.js +106 -111
  130. package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
  131. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  132. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  133. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
  134. package/dist/esm/AD300x250.js +1 -1
  135. package/dist/esm/AD300x250x600.js +1 -1
  136. package/dist/esm/AD728x90.js +1 -1
  137. package/dist/esm/ADFloatingFooter.js +1 -1
  138. package/dist/esm/ADGutter.js +1 -1
  139. package/dist/esm/ADSkyscraper.js +1 -1
  140. package/dist/esm/ADSponsoredResources.js +1 -1
  141. package/dist/esm/ADWebcast.js +1 -1
  142. package/dist/esm/ADWelcome.js +1 -1
  143. package/dist/esm/AdSlot.js +1 -1
  144. package/dist/esm/AdSlotsProvider.js +3 -3
  145. package/dist/esm/AlgoliaSearch.js +643 -558
  146. package/dist/esm/ArticleCarousel.js +1 -1
  147. package/dist/esm/ArticleProgramLandingPage.js +4 -4
  148. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  149. package/dist/esm/ArticleSeriesListing.js +1 -1
  150. package/dist/esm/Auth.js +22999 -163
  151. package/dist/esm/AuthWrapper.js +93 -3
  152. package/dist/esm/CMEDeck.js +1 -1
  153. package/dist/esm/Column3.js +1 -1
  154. package/dist/esm/ConferenceArticleCard.js +15 -15
  155. package/dist/esm/ContentCardPaginated.js +3 -3
  156. package/dist/esm/DeckContent.js +10 -10
  157. package/dist/esm/DeckQueue.js +1 -1
  158. package/dist/esm/DeckQueuePaginated.js +2 -2
  159. package/dist/esm/EventsDeck.js +19 -19
  160. package/dist/esm/ExternalResources.js +5 -5
  161. package/dist/esm/Feature.js +1 -1
  162. package/dist/esm/GridContent.js +3 -3
  163. package/dist/esm/GridContentPaginated.js +4 -4
  164. package/dist/esm/HamMagazine.js +29 -29
  165. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  166. package/dist/esm/HorizontalArticleListing.js +4 -4
  167. package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-fada4f0c.js} +1257 -119
  168. package/dist/esm/IssueLanding.js +35 -35
  169. package/dist/esm/KMTracker.js +15 -15
  170. package/dist/esm/LeftNav.js +1 -1
  171. package/dist/esm/MasterDeck.js +11 -11
  172. package/dist/esm/MasterDeckPaginated.js +12 -12
  173. package/dist/esm/{Tooltip-95655b44.js → MediaSeriesCard-96ac8ed4.js} +396 -250
  174. package/dist/esm/MediaSeriesLanding.js +18 -19
  175. package/dist/esm/MediaSeriesLandingPaginated.js +18 -19
  176. package/dist/esm/NavMagazine.js +12 -12
  177. package/dist/esm/NavNative.js +10 -10
  178. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
  179. package/dist/esm/PartnerDetailListing.js +8 -9
  180. package/dist/esm/PartnerDetailListingPaginated.js +16 -39
  181. package/dist/esm/PubSection.js +3 -3
  182. package/dist/esm/PublicationLanding.js +26 -26
  183. package/dist/esm/QueueDeckExpanded.js +3 -3
  184. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  185. package/dist/esm/RelatedContent.js +28 -28
  186. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  187. package/dist/esm/Schema.js +55 -52
  188. package/dist/esm/SeriesListingDeck.js +2 -2
  189. package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-4875823e.js} +5 -5
  190. package/dist/esm/SideFooter.js +2 -2
  191. package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-68d948b9.js} +1 -1
  192. package/dist/esm/TaxonomyDescription.js +4 -4
  193. package/dist/esm/TemplateNormal.js +2 -2
  194. package/dist/esm/Ustream.js +1 -1
  195. package/dist/esm/VideoProgramLandingPage.js +4 -4
  196. package/dist/esm/VideoSeriesCard.js +1 -1
  197. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  198. package/dist/esm/VideoSeriesListing.js +1 -1
  199. package/dist/esm/View.js +45 -58
  200. package/dist/esm/YoutubeGroup.js +5 -5
  201. package/dist/esm/defineProperty-50094484.js +101 -0
  202. package/dist/{cjs/util-93a37fd0.js → esm/empty-a8042e3c.js} +135 -3
  203. package/dist/esm/getQuery.js +1 -1
  204. package/dist/esm/getSerializers.js +4 -4
  205. package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
  206. package/dist/esm/getTargeting.js +1 -1
  207. package/dist/esm/{index-04817712.js → index-076baa11.js} +12 -27
  208. package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
  209. package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
  210. package/dist/esm/index-e7075467.js +897 -0
  211. package/dist/esm/index.js +13 -18
  212. package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
  213. package/package.json +115 -115
  214. package/dist/cjs/CypressTesting.js +0 -53
  215. package/dist/cjs/MediaSeriesCard-2e5cd247.js +0 -81
  216. package/dist/cjs/PodcastsLanding.js +0 -235
  217. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  218. package/dist/cjs/typeof-1358762e.js +0 -33
  219. package/dist/esm/CypressTesting.js +0 -47
  220. package/dist/esm/MediaSeriesCard-afb517a5.js +0 -75
  221. package/dist/esm/PodcastsLanding.js +0 -228
  222. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  223. package/dist/esm/typeof-2f07d0e8.js +0 -30
  224. /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-777bb0b3.js} +0 -0
  225. /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-e7fd1bb6.js} +0 -0
package/dist/esm/View.js CHANGED
@@ -8,17 +8,17 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
8
8
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
9
9
  import { m as moment } from './moment-bc12cb97.js';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
- import { m as main_43 } from './main-1894c974.js';
11
+ import { m as main_43 } from './main-9f6806ea.js';
12
12
  import 'react-bootstrap/Dropdown';
13
13
  import Form from 'react-bootstrap/Form';
14
14
  import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-04817712.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-076baa11.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-f771e20d.js';
21
- import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-4875823e.js';
21
+ import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-c6884f34.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
24
24
  import { u as urlForFile } from './urlForFile-b69adffc.js';
@@ -48,11 +48,11 @@ import 'react-dom';
48
48
  import 'react-share';
49
49
  import 'react-bootstrap';
50
50
  import './index-c7e2ac95.js';
51
- import './util-8ed16d48.js';
51
+ import './empty-a8042e3c.js';
52
52
  import './Beam.js';
53
53
  import './brightcove-react-player-loader.es-57a70a56.js';
54
54
  import 'react-bootstrap/Modal';
55
- import 'react-ga';
55
+ import './index-e7075467.js';
56
56
  import './GroupDeck.js';
57
57
  import './smoothscroll-fa4e3f8c.js';
58
58
  import './_is-array-8d21b9e3.js';
@@ -364,7 +364,7 @@ var ISI = function ISI(props) {
364
364
  );
365
365
  };
366
366
 
367
- var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
367
+ var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
368
368
  var styles$1 = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
369
369
  styleInject(css$1);
370
370
 
@@ -469,7 +469,7 @@ var FileSaver_min = createCommonjsModule(function (module, exports) {
469
469
 
470
470
  });
471
471
 
472
- var css = ".RecommendedArticles-module_recommendTitle__2kUji {\n border-bottom: 2px solid var(--secondary-blue);\n font-size: 1.5rem;\n font-weight: bold;\n color: #0d335a;\n padding: 0.5rem;\n}\n.RecommendedArticles-module_recommendContainer__sZukI {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n margin: 0 -0.5rem;\n}\n.RecommendedArticles-module_recommendTop__1_yqw {\n margin: 0.5rem;\n width: 100%;\n flex-basis: 100%;\n display: flex;\n\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu {\n min-width: 55%;\n width: 55%;\n height: 100%;\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.RecommendedArticles-module_recommendTopBody__-13FI {\n margin-left: 1rem;\n line-height: 1.3;\n color: #121212;\n display: flex;\n flex-direction: column;\n}\n.RecommendedArticles-module_topTitle__2EafN {\n font-size: 25px;\n font-weight: bold;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topBody__2_VNi {\n font-size: 19px;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topLink__2RnXu {\n font-size: 19px;\n color: rgb(43, 43, 151);\n text-decoration: underline;\n margin-top: auto;\n}\n.RecommendedArticles-module_smContainer__4byBO {\n width: calc(25% - 1rem);\n margin: 0 0.5rem;\n}\n.RecommendedArticles-module_smImage__TYZGY img {\n width: 100%;\n}\n.RecommendedArticles-module_title__3q1ud {\n margin-top: 1rem;\n line-height: 1.2;\n color: #121212;\n}\n.RecommendedArticles-module_category__2jRto {\n text-transform: uppercase;\n font-size: 16px;\n letter-spacing: 2px;\n margin: 0.25rem 0;\n}\n\n/* media query */\n\n@media screen and (max-width: 1399px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 21px;\n }\n .RecommendedArticles-module_topBody__2_VNi {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 1191px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 23px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 17px;\n }\n}\n@media screen and (max-width: 968px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 18px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 768px) {\n .RecommendedArticles-module_recommendTop__1_yqw {\n flex-direction: column;\n }\n .RecommendedArticles-module_recommendTopImg__1b9gu,\n .RecommendedArticles-module_recommendTopBody__-13FI {\n width: 100%;\n margin: 0;\n }\n .RecommendedArticles-module_recommendTopBody__-13FI {\n margin-bottom: 1rem;\n }\n .RecommendedArticles-module_smContainer__4byBO {\n width: calc(50% - 1rem);\n }\n}";
472
+ var css = ".RecommendedArticles-module_recommendTitle__2kUji {\r\n border-bottom: 2px solid var(--secondary-blue);\r\n font-size: 1.5rem;\r\n font-weight: bold;\r\n color: #0d335a;\r\n padding: 0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendContainer__sZukI {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n margin: 0 -0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendTop__1_yqw {\r\n margin: 0.5rem;\r\n width: 100%;\r\n flex-basis: 100%;\r\n display: flex;\r\n\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu {\r\n min-width: 55%;\r\n width: 55%;\r\n height: 100%;\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n}\r\n.RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-left: 1rem;\r\n line-height: 1.3;\r\n color: #121212;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 25px;\r\n font-weight: bold;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 19px;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 19px;\r\n color: rgb(43, 43, 151);\r\n text-decoration: underline;\r\n margin-top: auto;\r\n}\r\n.RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(25% - 1rem);\r\n margin: 0 0.5rem;\r\n}\r\n.RecommendedArticles-module_smImage__TYZGY img {\r\n width: 100%;\r\n}\r\n.RecommendedArticles-module_title__3q1ud {\r\n margin-top: 1rem;\r\n line-height: 1.2;\r\n color: #121212;\r\n}\r\n.RecommendedArticles-module_category__2jRto {\r\n text-transform: uppercase;\r\n font-size: 16px;\r\n letter-spacing: 2px;\r\n margin: 0.25rem 0;\r\n}\r\n\r\n/* media query */\r\n\r\n@media screen and (max-width: 1399px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 21px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 1191px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 23px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 17px;\r\n }\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 18px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 768px) {\r\n .RecommendedArticles-module_recommendTop__1_yqw {\r\n flex-direction: column;\r\n }\r\n .RecommendedArticles-module_recommendTopImg__1b9gu,\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n width: 100%;\r\n margin: 0;\r\n }\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-bottom: 1rem;\r\n }\r\n .RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(50% - 1rem);\r\n }\r\n}";
473
473
  var styles = { "recommendTitle": "RecommendedArticles-module_recommendTitle__2kUji", "recommendContainer": "RecommendedArticles-module_recommendContainer__sZukI", "recommendTop": "RecommendedArticles-module_recommendTop__1_yqw", "recommendTopImg": "RecommendedArticles-module_recommendTopImg__1b9gu", "recommendTopBody": "RecommendedArticles-module_recommendTopBody__-13FI", "topTitle": "RecommendedArticles-module_topTitle__2EafN", "topBody": "RecommendedArticles-module_topBody__2_VNi", "topLink": "RecommendedArticles-module_topLink__2RnXu", "smContainer": "RecommendedArticles-module_smContainer__4byBO", "smImage": "RecommendedArticles-module_smImage__TYZGY", "title": "RecommendedArticles-module_title__3q1ud", "category": "RecommendedArticles-module_category__2jRto" };
474
474
  styleInject(css);
475
475
 
@@ -1018,8 +1018,6 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1018
1018
  downloadCitation = _props$downloadCitati === undefined ? false : _props$downloadCitati,
1019
1019
  _props$useSegmentReco = props.useSegmentRecommendedArticles,
1020
1020
  useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco,
1021
- showIssueNameOnly = props.showIssueNameOnly,
1022
- showPageNumber = props.showPageNumber,
1023
1021
  emailList = props.emailList,
1024
1022
  articleRecs = props.articleRecs;
1025
1023
  var sliderData = props.sliderData;
@@ -1030,9 +1028,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1030
1028
  if (article && article.documentGroup && article.documentGroup.disableEpisodeNumber === true) {
1031
1029
  disableEpisodeNumber = true;
1032
1030
  }
1033
- var logicforDisplayingEpisodeNumber = !disableEpisodeNumber;
1031
+ var logicforDisplayingEpisodeNumber = disableEpisodeNumber ? false : true;
1034
1032
  var targeting = getTargeting(props);
1035
- // remove slider data if toggled
1033
+ //remove slider data if toggled
1036
1034
  if (article && article.documentGroup && article.documentGroup.hideSeriesSlider === true) {
1037
1035
  sliderData = null;
1038
1036
  }
@@ -1056,12 +1054,12 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1056
1054
  }
1057
1055
  }
1058
1056
 
1059
- // if showSocialShare is not disabled for entire site, check article taxonomy, docgroup, authors for showSocialShare === false
1057
+ //if showSocialShare is not disabled for entire site, check article taxonomy, docgroup, authors for showSocialShare === false
1060
1058
  if (showSocialShare) {
1061
1059
  showSocialShare = getSocialShareDisableFlag(props.article);
1062
1060
  }
1063
1061
 
1064
- // If sponsored flag, disable contextual ads
1062
+ //If sponsored flag, disable contextual ads
1065
1063
  if (sponsoredFlag) {
1066
1064
  article.contextualVideoAD = false;
1067
1065
  article.contextualAD = false;
@@ -1070,7 +1068,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1070
1068
  if (article.disableRelatedContent) {
1071
1069
  showRelatedArticles = false;
1072
1070
  }
1073
- // This was being done in ArticleQueue2 which wasnt effecting articles excluded from infinite scroll, moved inside article component
1071
+ //This was being done in ArticleQueue2 which wasnt effecting articles excluded from infinite scroll, moved inside article component
1074
1072
  if (!sponsoredFlag && Ads.getVideoContextualAD) {
1075
1073
  article.contextualVideoAD = Ads.getVideoContextualAD(getTargeting(props, 'in-context_video'));
1076
1074
  }
@@ -1151,11 +1149,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1151
1149
 
1152
1150
  var getAbstract = function getAbstract() {
1153
1151
  return article.abstract && article.abstract.map(function (block) {
1154
- if (block.children) {
1155
- return block.children.map(function (child) {
1156
- if (child._type === 'span') return child.text;
1157
- });
1158
- }
1152
+ if (block.children) return block.children.map(function (child) {
1153
+ if (child._type === 'span') return child.text;
1154
+ });
1159
1155
  }).join(' ');
1160
1156
  };
1161
1157
 
@@ -1173,52 +1169,52 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1173
1169
  var fileContent = 'TY - JOUR\n';
1174
1170
  if (issue) {
1175
1171
  if (article.title) {
1176
- fileContent += 'TI - ' + article.title + '\n'; // Title - TI
1177
- fileContent += 'T1 - ' + article.title + '\n'; // Title - T1
1172
+ fileContent += 'TI - ' + article.title + '\n'; //Title - TI
1173
+ fileContent += 'T1 - ' + article.title + '\n'; //Title - T1
1178
1174
  }
1179
1175
  if (authorDetails && authorDetails.length) {
1180
1176
  authorDetails.map(function (authorDetail, index) {
1181
1177
  return fileContent += 'AU - ' + (authorDetail.firstName && authorDetail.lastName ? authorDetail.lastName + ', ' + authorDetail.firstName : '' + authorDetail.displayName) + '\n';
1182
- } // Author
1178
+ } //Author
1183
1179
  );
1184
1180
  }
1185
1181
  if (issue.publication && issue.publication.name) {
1186
- fileContent += 'T2 - ' + issue.publication.name + '\n'; // Secondary Title - T2
1187
- fileContent += 'JF - ' + issue.publication.name + '\n'; // Journal Name - JF
1182
+ fileContent += 'T2 - ' + issue.publication.name + '\n'; //Secondary Title - T2
1183
+ fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
1188
1184
  }
1189
1185
  if (issue.name) {
1190
- fileContent += 'T3 - ' + issue.name + '\n'; // Issue Name - T3
1186
+ fileContent += 'T3 - ' + issue.name + '\n'; //Issue Name - T3
1191
1187
  }
1192
1188
  if (issue.abbreviatedJournal) {
1193
- fileContent += 'JO - ' + issue.abbreviatedJournal + '\n'; // Journal Name - JO
1189
+ fileContent += 'JO - ' + issue.abbreviatedJournal + '\n'; //Journal Name - JO
1194
1190
  }
1195
- if (article.abstract) fileContent += 'AB - ' + getAbstract() + '\n'; // Abstract - AB
1196
- if (article.abstract) fileContent += 'N2 - ' + getAbstract() + '\n'; // Abstract - N2
1197
- if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; // Issue Number - IS
1198
- fileContent += 'PB - MJH Life Sciences\n'; // Publisher - PB
1199
- if (issue.year) fileContent += 'PY - ' + issue.year + '\n'; // Published Year - PY
1200
- if (issue.volume) fileContent += 'VL - ' + issue.volume + '\n'; // Volume - VL
1201
- if (issue.url) fileContent += 'L1 - ' + issue.url + '\n'; // Link to PDF - L1
1191
+ if (article.abstract) fileContent += 'AB - ' + getAbstract() + '\n'; //Abstract - AB
1192
+ if (article.abstract) fileContent += 'N2 - ' + getAbstract() + '\n'; //Abstract - N2
1193
+ if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; //Issue Number - IS
1194
+ fileContent += 'PB - MJH Life Sciences\n'; //Publisher - PB
1195
+ if (issue.year) fileContent += 'PY - ' + issue.year + '\n'; //Published Year - PY
1196
+ if (issue.volume) fileContent += 'VL - ' + issue.volume + '\n'; //Volume - VL
1197
+ if (issue.url) fileContent += 'L1 - ' + issue.url + '\n'; //Link to PDF - L1
1202
1198
  if (shareOptions && shareOptions.shareBaseUrl) {
1203
- fileContent += 'L2 - ' + (shareOptions.shareBaseUrl + url) + '\n'; // Link to Full-text - L2
1204
- fileContent += 'UR - ' + (shareOptions.shareBaseUrl + url) + '\n'; // Doc URL - UR
1199
+ fileContent += 'L2 - ' + (shareOptions.shareBaseUrl + url) + '\n'; //Link to Full-text - L2
1200
+ fileContent += 'UR - ' + (shareOptions.shareBaseUrl + url) + '\n'; //Doc URL - UR
1205
1201
  }
1206
- if (props.Website) fileContent += 'LK - https://' + props.Website.liveDomain + '\n'; // Website Link - LK
1202
+ if (props.Website) fileContent += 'LK - https://' + props.Website.liveDomain + '\n'; //Website Link - LK
1207
1203
  if (issue.isbn_issn) {
1208
- fileContent += 'SN - ' + issue.isbn_issn + '\n'; // ISSN/ISBN - TI
1204
+ fileContent += 'SN - ' + issue.isbn_issn + '\n'; //ISSN/ISBN - TI
1209
1205
  }
1210
1206
  if (pageNumber) {
1211
1207
  if (pageNumber.includes('-')) {
1212
- fileContent += 'SP - ' + pageNumber.split('-')[0] + '\n'; // Start Page - SP
1213
- fileContent += 'EP - ' + pageNumber.split('-')[1] + '\n'; // End Page - EP
1208
+ fileContent += 'SP - ' + pageNumber.split('-')[0] + '\n'; //Start Page - SP
1209
+ fileContent += 'EP - ' + pageNumber.split('-')[1] + '\n'; //End Page - EP
1214
1210
  } else {
1215
1211
  fileContent += 'SP - ' + pageNumber + '\n';
1216
1212
  }
1217
1213
  }
1218
- if (article.published) fileContent += 'Y1 - ' + moment(published).format('DD-MMMM-YYYY') + '\n'; // Primary Date - Y1
1219
- fileContent += 'Y2 - ' + moment().format('DD-MMMM-YYYY') + '\n'; // Access Date - Y2
1214
+ if (article.published) fileContent += 'Y1 - ' + moment(published).format('DD-MMMM-YYYY') + '\n'; //Primary Date - Y1
1215
+ fileContent += 'Y2 - ' + moment().format('DD-MMMM-YYYY') + '\n'; //Access Date - Y2
1220
1216
  }
1221
- fileContent += 'ER -\n'; // End of Record
1217
+ fileContent += 'ER -\n'; //End of Record
1222
1218
  return fileContent;
1223
1219
  };
1224
1220
  var getAuthorList = function getAuthorList() {
@@ -1781,7 +1777,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1781
1777
  { className: 'volume-issue' },
1782
1778
  issue.publication && issue.publication.name && React__default.createElement(
1783
1779
  'span',
1784
- { className: 'mb-0-pub' },
1780
+ { className: 'mb-0' },
1785
1781
  React__default.createElement(
1786
1782
  'b',
1787
1783
  null,
@@ -1790,22 +1786,17 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1790
1786
  ',',
1791
1787
  ' '
1792
1788
  ),
1793
- issue.name && showIssueNameOnly === undefined ? React__default.createElement(
1794
- 'span',
1795
- { className: 'mb-0' },
1796
- issue.name,
1797
- ', '
1798
- ) : issue.name && showIssueNameOnly === false ? React__default.createElement(
1789
+ issue.name && React__default.createElement(
1799
1790
  'span',
1800
1791
  { className: 'mb-0' },
1801
1792
  issue.name,
1802
1793
  ', '
1803
- ) : null,
1794
+ ),
1804
1795
  issue.volume && React__default.createElement(
1805
1796
  'span',
1806
1797
  null,
1807
1798
  'Volume ' + issue.volume,
1808
- ', '
1799
+ ','
1809
1800
  ),
1810
1801
  issue.issueNumber && React__default.createElement(
1811
1802
  'span',
@@ -1813,15 +1804,11 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1813
1804
  ' Issue ' + issue.issueNumber
1814
1805
  )
1815
1806
  ),
1816
- pageNumber && showPageNumber ? React__default.createElement(
1807
+ pageNumber && React__default.createElement(
1817
1808
  'div',
1818
1809
  { className: 'article-pageNumber' },
1819
1810
  'Pages: ' + pageNumber
1820
- ) : pageNumber && showPageNumber === undefined ? React__default.createElement(
1821
- 'div',
1822
- { className: 'article-pageNumber' },
1823
- 'Pages: ' + pageNumber
1824
- ) : null
1811
+ )
1825
1812
  ),
1826
1813
  React__default.createElement(
1827
1814
  'div',
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
4
4
  import { L as LazyLoad } from './index-755f2cc2.js';
5
5
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
- import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
7
+ import { m as main_43, a as main_49, b as main_42 } from './main-9f6806ea.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './web.dom.iterable-ab4dea5c.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
@@ -12,10 +12,10 @@ import 'react-dom';
12
12
  import 'prop-types';
13
13
  import './index-3f5c03b2.js';
14
14
 
15
- /*
16
- GROQ query -
17
- accepts an array of title, URL
18
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
15
+ /*
16
+ GROQ query -
17
+ accepts an array of title, URL
18
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
19
19
  */
20
20
 
21
21
  var YoutubeGroup = function YoutubeGroup(props) {
@@ -0,0 +1,101 @@
1
+ function _classCallCheck(instance, Constructor) {
2
+ if (!(instance instanceof Constructor)) {
3
+ throw new TypeError("Cannot call a class as a function");
4
+ }
5
+ }
6
+
7
+ function _defineProperties(target, props) {
8
+ for (var i = 0; i < props.length; i++) {
9
+ var descriptor = props[i];
10
+ descriptor.enumerable = descriptor.enumerable || false;
11
+ descriptor.configurable = true;
12
+ if ("value" in descriptor) descriptor.writable = true;
13
+ Object.defineProperty(target, descriptor.key, descriptor);
14
+ }
15
+ }
16
+
17
+ function _createClass(Constructor, protoProps, staticProps) {
18
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
19
+ if (staticProps) _defineProperties(Constructor, staticProps);
20
+ return Constructor;
21
+ }
22
+
23
+ function _assertThisInitialized(self) {
24
+ if (self === void 0) {
25
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
26
+ }
27
+
28
+ return self;
29
+ }
30
+
31
+ function _setPrototypeOf(o, p) {
32
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
33
+ o.__proto__ = p;
34
+ return o;
35
+ };
36
+
37
+ return _setPrototypeOf(o, p);
38
+ }
39
+
40
+ function _inherits(subClass, superClass) {
41
+ if (typeof superClass !== "function" && superClass !== null) {
42
+ throw new TypeError("Super expression must either be null or a function");
43
+ }
44
+
45
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
46
+ constructor: {
47
+ value: subClass,
48
+ writable: true,
49
+ configurable: true
50
+ }
51
+ });
52
+ if (superClass) _setPrototypeOf(subClass, superClass);
53
+ }
54
+
55
+ function _typeof(obj) {
56
+ "@babel/helpers - typeof";
57
+
58
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
59
+ _typeof = function _typeof(obj) {
60
+ return typeof obj;
61
+ };
62
+ } else {
63
+ _typeof = function _typeof(obj) {
64
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
65
+ };
66
+ }
67
+
68
+ return _typeof(obj);
69
+ }
70
+
71
+ function _possibleConstructorReturn(self, call) {
72
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
73
+ return call;
74
+ }
75
+
76
+ return _assertThisInitialized(self);
77
+ }
78
+
79
+ function _getPrototypeOf(o) {
80
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
81
+ return o.__proto__ || Object.getPrototypeOf(o);
82
+ };
83
+ return _getPrototypeOf(o);
84
+ }
85
+
86
+ function _defineProperty(obj, key, value) {
87
+ if (key in obj) {
88
+ Object.defineProperty(obj, key, {
89
+ value: value,
90
+ enumerable: true,
91
+ configurable: true,
92
+ writable: true
93
+ });
94
+ } else {
95
+ obj[key] = value;
96
+ }
97
+
98
+ return obj;
99
+ }
100
+
101
+ export { _defineProperty as _, _typeof as a, _inherits as b, _getPrototypeOf as c, _possibleConstructorReturn as d, _classCallCheck as e, _assertThisInitialized as f, _createClass as g };
@@ -1,6 +1,136 @@
1
- 'use strict';
2
-
3
1
  // shim for using process in browser
2
+ // based off https://github.com/defunctzombie/node-process/blob/master/browser.js
3
+
4
+ function defaultSetTimout() {
5
+ throw new Error('setTimeout has not been defined');
6
+ }
7
+ function defaultClearTimeout () {
8
+ throw new Error('clearTimeout has not been defined');
9
+ }
10
+ var cachedSetTimeout = defaultSetTimout;
11
+ var cachedClearTimeout = defaultClearTimeout;
12
+ if (typeof global.setTimeout === 'function') {
13
+ cachedSetTimeout = setTimeout;
14
+ }
15
+ if (typeof global.clearTimeout === 'function') {
16
+ cachedClearTimeout = clearTimeout;
17
+ }
18
+
19
+ function runTimeout(fun) {
20
+ if (cachedSetTimeout === setTimeout) {
21
+ //normal enviroments in sane situations
22
+ return setTimeout(fun, 0);
23
+ }
24
+ // if setTimeout wasn't available but was latter defined
25
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
26
+ cachedSetTimeout = setTimeout;
27
+ return setTimeout(fun, 0);
28
+ }
29
+ try {
30
+ // when when somebody has screwed with setTimeout but no I.E. maddness
31
+ return cachedSetTimeout(fun, 0);
32
+ } catch(e){
33
+ try {
34
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
35
+ return cachedSetTimeout.call(null, fun, 0);
36
+ } catch(e){
37
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
38
+ return cachedSetTimeout.call(this, fun, 0);
39
+ }
40
+ }
41
+
42
+
43
+ }
44
+ function runClearTimeout(marker) {
45
+ if (cachedClearTimeout === clearTimeout) {
46
+ //normal enviroments in sane situations
47
+ return clearTimeout(marker);
48
+ }
49
+ // if clearTimeout wasn't available but was latter defined
50
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
51
+ cachedClearTimeout = clearTimeout;
52
+ return clearTimeout(marker);
53
+ }
54
+ try {
55
+ // when when somebody has screwed with setTimeout but no I.E. maddness
56
+ return cachedClearTimeout(marker);
57
+ } catch (e){
58
+ try {
59
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
60
+ return cachedClearTimeout.call(null, marker);
61
+ } catch (e){
62
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
63
+ // Some versions of I.E. have different rules for clearTimeout vs setTimeout
64
+ return cachedClearTimeout.call(this, marker);
65
+ }
66
+ }
67
+
68
+
69
+
70
+ }
71
+ var queue = [];
72
+ var draining = false;
73
+ var currentQueue;
74
+ var queueIndex = -1;
75
+
76
+ function cleanUpNextTick() {
77
+ if (!draining || !currentQueue) {
78
+ return;
79
+ }
80
+ draining = false;
81
+ if (currentQueue.length) {
82
+ queue = currentQueue.concat(queue);
83
+ } else {
84
+ queueIndex = -1;
85
+ }
86
+ if (queue.length) {
87
+ drainQueue();
88
+ }
89
+ }
90
+
91
+ function drainQueue() {
92
+ if (draining) {
93
+ return;
94
+ }
95
+ var timeout = runTimeout(cleanUpNextTick);
96
+ draining = true;
97
+
98
+ var len = queue.length;
99
+ while(len) {
100
+ currentQueue = queue;
101
+ queue = [];
102
+ while (++queueIndex < len) {
103
+ if (currentQueue) {
104
+ currentQueue[queueIndex].run();
105
+ }
106
+ }
107
+ queueIndex = -1;
108
+ len = queue.length;
109
+ }
110
+ currentQueue = null;
111
+ draining = false;
112
+ runClearTimeout(timeout);
113
+ }
114
+ function nextTick(fun) {
115
+ var args = new Array(arguments.length - 1);
116
+ if (arguments.length > 1) {
117
+ for (var i = 1; i < arguments.length; i++) {
118
+ args[i - 1] = arguments[i];
119
+ }
120
+ }
121
+ queue.push(new Item(fun, args));
122
+ if (queue.length === 1 && !draining) {
123
+ runTimeout(drainQueue);
124
+ }
125
+ }
126
+ // v8 likes predictible objects
127
+ function Item(fun, array) {
128
+ this.fun = fun;
129
+ this.array = array;
130
+ }
131
+ Item.prototype.run = function () {
132
+ this.fun.apply(null, this.array);
133
+ };
4
134
 
5
135
  // from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
6
136
  var performance = global.performance || {};
@@ -584,4 +714,6 @@ var util = {
584
714
  debuglog: debuglog
585
715
  };
586
716
 
587
- exports.util = util;
717
+ var tls = {};
718
+
719
+ export { isString as a, isNullOrUndefined as b, isNull as c, debuglog as d, inherits$1 as e, deprecate as f, isObject as i, nextTick as n, tls as t, util as u };
@@ -11,7 +11,7 @@ var getQuery = function getQuery(type) {
11
11
  case 'related':
12
12
  return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && isHealthcareProfessional != true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n && !defined(body[].quizzes)\n && !defined(body[].slides)\n && !defined(body[].articles)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n }';
13
13
  case 'article':
14
- return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, showIssueNameOnly, showPageNumber, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
14
+ return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
15
15
  case 'publication':
16
16
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
17
17
  case 'issue':
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-04817712.js';
2
+ export { g as default } from './index-076baa11.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -14,14 +14,14 @@ import './events-6c3a7a63.js';
14
14
  import 'prop-types';
15
15
  import 'next/router';
16
16
  import './index-c7e2ac95.js';
17
- import './util-8ed16d48.js';
17
+ import './empty-a8042e3c.js';
18
18
  import './Beam.js';
19
19
  import './stringify-2b084bee.js';
20
20
  import './asyncToGenerator-958ef5fc.js';
21
21
  import './_library-528f1934.js';
22
22
  import './_iter-detect-98db3b07.js';
23
23
  import './Segment.js';
24
- import './main-1894c974.js';
24
+ import './main-9f6806ea.js';
25
25
  import './extends-6d8e3924.js';
26
26
  import './_object-pie-133f504a.js';
27
27
  import './urlForFile-b69adffc.js';
@@ -33,7 +33,7 @@ import './brightcove-react-player-loader.es-57a70a56.js';
33
33
  import 'react-bootstrap/Modal';
34
34
  import 'react-bootstrap/Button';
35
35
  import 'react-bootstrap/Form';
36
- import 'react-ga';
36
+ import './index-e7075467.js';
37
37
  import './GroupDeck.js';
38
38
  import './smoothscroll-fa4e3f8c.js';
39
39
  import './moment-bc12cb97.js';
@@ -2,18 +2,18 @@ import { _ as _extends } from './extends-6d8e3924.js';
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
14
+ cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {