@mjhls/mjh-framework 1.0.917-healthcare-v3 → 1.0.918-ris-update-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 (164) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +142 -18
  3. package/dist/cjs/Auth.js +20 -17
  4. package/dist/cjs/AuthWrapper.js +19 -13
  5. package/dist/cjs/CMEDeck.js +5 -1
  6. package/dist/cjs/Column1.js +1 -1
  7. package/dist/cjs/Column2.js +1 -1
  8. package/dist/cjs/Column3.js +1 -1
  9. package/dist/cjs/ConferenceArticleCard.js +15 -15
  10. package/dist/cjs/ContentCardPaginated.js +1 -2
  11. package/dist/cjs/DeckContent.js +8 -8
  12. package/dist/cjs/DeckQueuePaginated.js +1 -2
  13. package/dist/cjs/Dfp-9be904d5.js +1 -1
  14. package/dist/cjs/EventsDeck.js +17 -17
  15. package/dist/cjs/GridContentPaginated.js +1 -2
  16. package/dist/cjs/HamMagazine.js +10 -10
  17. package/dist/cjs/Header.js +1 -1
  18. package/dist/cjs/IssueLanding.js +29 -29
  19. package/dist/cjs/KMTracker.js +15 -15
  20. package/dist/cjs/LeftNav.js +1 -1
  21. package/dist/cjs/MasterDeck.js +8 -8
  22. package/dist/cjs/MasterDeckPaginated.js +9 -10
  23. package/dist/cjs/{MediaSeriesCard-34235827.js → MediaSeriesCard-4a864133.js} +65 -43
  24. package/dist/cjs/MediaSeriesLanding.js +6 -6
  25. package/dist/cjs/MediaSeriesLandingPaginated.js +7 -8
  26. package/dist/cjs/NavDvm.js +1 -1
  27. package/dist/cjs/NavMagazine.js +12 -12
  28. package/dist/cjs/NavNative.js +10 -10
  29. package/dist/cjs/Pagination-42f92f7c.js +97 -0
  30. package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
  31. package/dist/cjs/PublicationLanding.js +26 -26
  32. package/dist/cjs/QueueDeckExpandedPaginated.js +1 -2
  33. package/dist/cjs/RelatedContent.js +28 -28
  34. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  35. package/dist/cjs/SeriesListingDeck.js +1 -1
  36. package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-de93a303.js} +4 -4
  37. package/dist/cjs/SideFooter.js +2 -2
  38. package/dist/cjs/VideoSeriesCard.js +1 -1
  39. package/dist/cjs/View.js +17 -7
  40. package/dist/cjs/YoutubeGroup.js +4 -4
  41. package/dist/cjs/getQuery.js +1 -1
  42. package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-dab97fe1.js} +9 -9
  43. package/dist/cjs/getTargeting.js +1 -1
  44. package/dist/cjs/index.js +2 -3
  45. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  46. package/dist/esm/AD.js +1 -1
  47. package/dist/esm/AD300x250.js +1 -1
  48. package/dist/esm/AD300x250x600.js +1 -1
  49. package/dist/esm/AD728x90.js +1 -1
  50. package/dist/esm/ADFloatingFooter.js +1 -1
  51. package/dist/esm/ADFooter.js +1 -1
  52. package/dist/esm/ADGutter.js +1 -1
  53. package/dist/esm/ADSkyscraper.js +1 -1
  54. package/dist/esm/ADSponsoredResources.js +1 -1
  55. package/dist/esm/ADWebcast.js +1 -1
  56. package/dist/esm/ADWelcome.js +1 -1
  57. package/dist/esm/AccordionPanel.js +1 -1
  58. package/dist/esm/AdSlot.js +1 -1
  59. package/dist/esm/AdSlotsProvider.js +1 -1
  60. package/dist/esm/AlgoliaSearch.js +144 -20
  61. package/dist/esm/AlphabeticList.js +1 -1
  62. package/dist/esm/ArticleCarousel.js +1 -1
  63. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  64. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  65. package/dist/esm/ArticleSeriesListing.js +1 -1
  66. package/dist/esm/Auth.js +20 -18
  67. package/dist/esm/AuthWrapper.js +20 -14
  68. package/dist/esm/Beam.js +1 -1
  69. package/dist/esm/Breadcrumbs.js +1 -1
  70. package/dist/esm/CMEDeck.js +6 -2
  71. package/dist/esm/Column1.js +1 -2
  72. package/dist/esm/Column2.js +1 -2
  73. package/dist/esm/Column3.js +1 -2
  74. package/dist/esm/ConferenceArticleCard.js +16 -16
  75. package/dist/esm/ContentCardPaginated.js +2 -3
  76. package/dist/esm/DeckContent.js +9 -9
  77. package/dist/esm/DeckQueue.js +1 -1
  78. package/dist/esm/DeckQueuePaginated.js +2 -3
  79. package/dist/esm/Dfp-102f0beb.js +1 -1
  80. package/dist/esm/EventsDeck.js +18 -18
  81. package/dist/esm/ExternalResources.js +1 -1
  82. package/dist/esm/Feature.js +1 -1
  83. package/dist/esm/ForbesHero.js +1 -1
  84. package/dist/esm/GridContent.js +1 -1
  85. package/dist/esm/GridContentPaginated.js +2 -3
  86. package/dist/esm/GridHero.js +1 -1
  87. package/dist/esm/GroupDeck.js +1 -1
  88. package/dist/esm/HamMagazine.js +10 -11
  89. package/dist/esm/Header.js +1 -2
  90. package/dist/esm/Hero.js +1 -1
  91. package/dist/esm/HighlightenVideo.js +1 -1
  92. package/dist/esm/HorizontalArticleListing.js +1 -1
  93. package/dist/esm/HorizontalHero.js +1 -1
  94. package/dist/esm/IssueContentDeck.js +1 -1
  95. package/dist/esm/IssueDeck.js +1 -1
  96. package/dist/esm/IssueLanding.js +30 -30
  97. package/dist/esm/KMTracker.js +16 -16
  98. package/dist/esm/LeftNav.js +1 -2
  99. package/dist/esm/MasterDeck.js +9 -9
  100. package/dist/esm/MasterDeckPaginated.js +10 -11
  101. package/dist/esm/{MediaSeriesCard-8a9b91e6.js → MediaSeriesCard-e62d78e7.js} +65 -43
  102. package/dist/esm/MediaSeriesLanding.js +7 -7
  103. package/dist/esm/MediaSeriesLandingPaginated.js +8 -9
  104. package/dist/esm/NavDvm.js +1 -2
  105. package/dist/esm/NavMagazine.js +12 -13
  106. package/dist/esm/NavNative.js +10 -11
  107. package/dist/esm/OncliveHero.js +1 -1
  108. package/dist/esm/OncliveLargeHero.js +1 -1
  109. package/dist/esm/PageFilter.js +1 -1
  110. package/dist/esm/Pagination-484b86c5.js +90 -0
  111. package/dist/esm/PartnerDetailListing.js +1 -1
  112. package/dist/esm/PartnerDetailListingPaginated.js +2 -3
  113. package/dist/esm/PdfDownload.js +1 -1
  114. package/dist/esm/PopUpModal.js +1 -1
  115. package/dist/esm/PubSection.js +1 -1
  116. package/dist/esm/PubToc.js +1 -1
  117. package/dist/esm/PublicationDeck.js +1 -1
  118. package/dist/esm/PublicationLanding.js +27 -27
  119. package/dist/esm/QueueDeckExpanded.js +1 -1
  120. package/dist/esm/QueueDeckExpandedPaginated.js +2 -3
  121. package/dist/esm/RecentNews.js +1 -1
  122. package/dist/esm/RelatedContent.js +29 -29
  123. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  124. package/dist/esm/RolesDeck.js +1 -1
  125. package/dist/esm/Schema.js +1 -1
  126. package/dist/esm/Search.js +1 -1
  127. package/dist/esm/Segment.js +1 -1
  128. package/dist/esm/SeriesListingDeck.js +2 -2
  129. package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-98ad6d97.js} +4 -4
  130. package/dist/esm/SetCookie.js +1 -1
  131. package/dist/esm/SideFooter.js +3 -3
  132. package/dist/esm/SocialIcons.js +1 -1
  133. package/dist/esm/SocialShare.js +1 -1
  134. package/dist/esm/TaxonomyCard.js +1 -1
  135. package/dist/esm/TaxonomyDescription.js +1 -1
  136. package/dist/esm/TemplateNormal.js +1 -1
  137. package/dist/esm/ThumbnailCard.js +1 -1
  138. package/dist/esm/Ustream.js +1 -1
  139. package/dist/esm/VerticalHero.js +1 -1
  140. package/dist/esm/VideoProgramLandingPage.js +1 -1
  141. package/dist/esm/VideoSeriesCard.js +2 -2
  142. package/dist/esm/VideoSeriesFilter.js +1 -1
  143. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  144. package/dist/esm/VideoSeriesListing.js +1 -1
  145. package/dist/esm/View.js +18 -7
  146. package/dist/esm/YahooHero.js +1 -1
  147. package/dist/esm/YoutubeGroup.js +5 -5
  148. package/dist/esm/getKeywords.js +1 -1
  149. package/dist/esm/getQuery.js +2 -2
  150. package/dist/esm/getRelatedArticle.js +1 -1
  151. package/dist/esm/getRootDocGroup.js +1 -1
  152. package/dist/esm/getSeriesDetail.js +1 -1
  153. package/dist/esm/{getTargeting-42f9b439.js → getTargeting-04d979c9.js} +9 -9
  154. package/dist/esm/getTargeting.js +1 -1
  155. package/dist/esm/index.js +2 -3
  156. package/dist/esm/stringify-2b084bee.js +1 -1
  157. package/dist/esm/timeDifferenceCalc.js +1 -1
  158. package/dist/esm/urlFor.js +1 -1
  159. package/dist/esm/ustream-api-d3714624.js +1 -1
  160. package/package.json +114 -114
  161. package/dist/cjs/HealthCareProfessionalModal.js +0 -78
  162. package/dist/cjs/Pagination-885dcfbd.js +0 -90
  163. package/dist/esm/HealthCareProfessionalModal.js +0 -70
  164. package/dist/esm/Pagination-59436882.js +0 -82
@@ -82,4 +82,4 @@ var RecentNews = function RecentNews(_ref) {
82
82
  );
83
83
  };
84
84
 
85
- export default RecentNews;
85
+ export { RecentNews as default };
@@ -11,34 +11,34 @@ import './index-3f5c03b2.js';
11
11
  import 'react-dom';
12
12
  import 'prop-types';
13
13
 
14
- /*
15
- Sample query
16
- let references = ''
17
- if(article.taxonomyMapping.length > 0){
18
- article.taxonomyMapping.forEach((ref, index) => {
19
- references = references + `references('${ref._ref}') `
20
- if(index+1 !== article.taxonomyMapping.length){
21
- references = references + ` && `
22
- }
23
- })
24
- }
25
-
26
- const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
27
- ...,
28
- title,
29
- summary,
30
- thumbnail,
31
- url,
32
- published,
33
- authorMapping[]->,
34
- contentCategory->
35
- }`
36
- const relatedArticles = await client.fetch(relatedArticlesQuery)
37
-
38
- Sample usage
39
- <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
40
-
41
-
14
+ /*
15
+ Sample query
16
+ let references = ''
17
+ if(article.taxonomyMapping.length > 0){
18
+ article.taxonomyMapping.forEach((ref, index) => {
19
+ references = references + `references('${ref._ref}') `
20
+ if(index+1 !== article.taxonomyMapping.length){
21
+ references = references + ` && `
22
+ }
23
+ })
24
+ }
25
+
26
+ const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
27
+ ...,
28
+ title,
29
+ summary,
30
+ thumbnail,
31
+ url,
32
+ published,
33
+ authorMapping[]->,
34
+ contentCategory->
35
+ }`
36
+ const relatedArticles = await client.fetch(relatedArticlesQuery)
37
+
38
+ Sample usage
39
+ <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
40
+
41
+
42
42
  */
43
43
  var RelatedContent = function RelatedContent(props) {
44
44
  var client = props.client,
@@ -105,4 +105,4 @@ var RelatedContent = function RelatedContent(props) {
105
105
  );
106
106
  };
107
107
 
108
- export default RelatedContent;
108
+ export { RelatedContent as default };
@@ -14,16 +14,16 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
14
14
  _ref$className = _ref.className,
15
15
  className = _ref$className === undefined ? '' : _ref$className;
16
16
 
17
- /*
18
- Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
19
- example:
20
- <RelatedTopicDropdown
21
- page='/clinical'
22
- exclude="clinical"
23
- className='mb-3'
24
- parentTaxonomy={props.parentTaxonomy}
25
- subTaxonomies={props.subTaxonomies}
26
- />
17
+ /*
18
+ Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
19
+ example:
20
+ <RelatedTopicDropdown
21
+ page='/clinical'
22
+ exclude="clinical"
23
+ className='mb-3'
24
+ parentTaxonomy={props.parentTaxonomy}
25
+ subTaxonomies={props.subTaxonomies}
26
+ />
27
27
  */
28
28
  if (subTaxonomies.length === 0 && parentTaxonomy) {
29
29
  if (parentTaxonomy.identifier == exclude) {
@@ -79,4 +79,4 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
79
79
  }
80
80
  };
81
81
 
82
- export default RelatedTopicsDropdown;
82
+ export { RelatedTopicsDropdown as default };
@@ -81,4 +81,4 @@ var RolesDeck = function RolesDeck(props) {
81
81
  );
82
82
  };
83
83
 
84
- export default RolesDeck;
84
+ export { RolesDeck as default };
@@ -92,4 +92,4 @@ var Schema = function Schema(props) {
92
92
  return React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
93
93
  };
94
94
 
95
- export default Schema;
95
+ export { Schema as default };
@@ -54,4 +54,4 @@ var Search = function Search(props) {
54
54
  );
55
55
  };
56
56
 
57
- export default Search;
57
+ export { Search as default };
@@ -350,4 +350,4 @@ var Segment = {
350
350
  }
351
351
  };
352
352
 
353
- export default Segment;
353
+ export { Segment as default };
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect, useRef } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import { I as InfiniteScroll } from './index.es-a6137319.js';
8
- import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
8
+ import { S as SeriesSlider } from './SeriesSlider-98ad6d97.js';
9
9
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
@@ -240,4 +240,4 @@ var SeriesListingDeck = function SeriesListingDeck(props) {
240
240
  );
241
241
  };
242
242
 
243
- export default SeriesListingDeck;
243
+ export { SeriesListingDeck as default };
@@ -6,10 +6,10 @@ import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
7
  import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
8
8
 
9
- /*
10
- GROQ query -
11
- accepts an array of title, URL
12
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
9
+ /*
10
+ GROQ query -
11
+ accepts an array of title, URL
12
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
13
13
  */
14
14
 
15
15
  var SeriesSlider = function SeriesSlider(_ref) {
@@ -5,4 +5,4 @@ var SetCookie = function SetCookie(key, value) {
5
5
  js_cookie.set(key, value, { expires: 1, sameSite: 'none', secure: true });
6
6
  };
7
7
 
8
- export default SetCookie;
8
+ export { SetCookie as default };
@@ -32,8 +32,8 @@ var renderLink = function renderLink(row) {
32
32
  };
33
33
 
34
34
  var SideFooter = function SideFooter(props) {
35
- /*
36
- useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
35
+ /*
36
+ useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
37
37
  */
38
38
  var _get = get_1(props, 'cache.siteSettingCache', {}),
39
39
  socialLinks = _get.socialLinks,
@@ -142,4 +142,4 @@ var SideFooter = function SideFooter(props) {
142
142
  );
143
143
  };
144
144
 
145
- export default SideFooter;
145
+ export { SideFooter as default };
@@ -94,4 +94,4 @@ var SocialIcons = function SocialIcons(props) {
94
94
  }
95
95
  };
96
96
 
97
- export default SocialIcons;
97
+ export { SocialIcons as default };
@@ -64,4 +64,4 @@ var SocialShare = function SocialShare(props) {
64
64
 
65
65
  var SocialShare$1 = React__default.memo(SocialShare);
66
66
 
67
- export default SocialShare$1;
67
+ export { SocialShare$1 as default };
@@ -240,4 +240,4 @@ var TaxonomyCard = function TaxonomyCard(props) {
240
240
  );
241
241
  };
242
242
 
243
- export default TaxonomyCard;
243
+ export { TaxonomyCard as default };
@@ -177,4 +177,4 @@ TaxonomyDescription.getDescription = function () {
177
177
  };
178
178
  }();
179
179
 
180
- export default TaxonomyDescription;
180
+ export { TaxonomyDescription as default };
@@ -195,4 +195,4 @@ var TemplateNormal = function TemplateNormal(props) {
195
195
  );
196
196
  };
197
197
 
198
- export default TemplateNormal;
198
+ export { TemplateNormal as default };
@@ -49,4 +49,4 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
49
49
  );
50
50
  };
51
51
 
52
- export default ThumbnailCard;
52
+ export { ThumbnailCard as default };
@@ -147,4 +147,4 @@ var Ustream = function Ustream(_ref) {
147
147
 
148
148
  var Ustream$1 = React__default.memo(Ustream);
149
149
 
150
- export default Ustream$1;
150
+ export { Ustream$1 as default };
@@ -65,4 +65,4 @@ var VerticalHero = function VerticalHero(props) {
65
65
  );
66
66
  };
67
67
 
68
- export default VerticalHero;
68
+ export { VerticalHero as default };
@@ -247,4 +247,4 @@ VideoProgramLandingPage.getInitialData = function () {
247
247
  };
248
248
  }();
249
249
 
250
- export default VideoProgramLandingPage;
250
+ export { VideoProgramLandingPage as default };
@@ -15,7 +15,7 @@ import 'react-dom';
15
15
  import './slicedToArray-6ebcbfea.js';
16
16
  import './index-3f5c03b2.js';
17
17
 
18
- var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
18
+ var css = ".VideoSeriesCard-module_article__Hlc3e {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.VideoSeriesCard-module_article__Hlc3e a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ {\r\n width: 25%;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_published__1fI0q {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_summary__3hWJT {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o {\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o span {\r\n color: #6d6d6d;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .VideoSeriesCard-module_article__Hlc3e {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .VideoSeriesCard-module_article__Hlc3e a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ figure {\r\n margin: 0;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N {\r\n width: 90%;\r\n padding: 1rem !important;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N h2 {\r\n font-size: 1rem;\r\n }\r\n}\r\n";
19
19
  var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
20
20
  styleInject(css);
21
21
 
@@ -79,4 +79,4 @@ var VideoSeriesCard = function VideoSeriesCard(props) {
79
79
  );
80
80
  };
81
81
 
82
- export default VideoSeriesCard;
82
+ export { VideoSeriesCard as default };
@@ -119,4 +119,4 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
119
119
  };
120
120
  var VideoSeriesFilter$1 = withRouter(VideoSeriesFilter);
121
121
 
122
- export default VideoSeriesFilter$1;
122
+ export { VideoSeriesFilter$1 as default };
@@ -170,4 +170,4 @@ VideoSeriesLandingPage.getInitialData = function () {
170
170
  };
171
171
  }();
172
172
 
173
- export default VideoSeriesLandingPage;
173
+ export { VideoSeriesLandingPage as default };
@@ -405,4 +405,4 @@ var VideoSeriesListing = function (_React$Component) {
405
405
 
406
406
  var VideoSeriesListing$1 = withRouter(VideoSeriesListing);
407
407
 
408
- export default VideoSeriesListing$1;
408
+ export { VideoSeriesListing$1 as default };
package/dist/esm/View.js CHANGED
@@ -17,8 +17,8 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
18
  import { r as renderAuthor, g as getSerializers } from './index-4d8a8743.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
21
- import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-42f9b439.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-98ad6d97.js';
21
+ import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-04d979c9.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';
@@ -28,14 +28,13 @@ import { s as styleInject } from './style-inject.es-1f59c1d0.js';
28
28
  import './index-755f2cc2.js';
29
29
  import { DiscussionEmbed } from 'disqus-react';
30
30
  import Schema from './Schema.js';
31
- import FileSaver from 'file-saver';
31
+ import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
32
32
  import { _ as _Object$keys } from './keys-31dcdb31.js';
33
33
  import { I as InfiniteScroll } from './index.es-a6137319.js';
34
34
  import { l as lib_3 } from './index-f0fc23eb.js';
35
35
  import getRelatedArticle from './getRelatedArticle.js';
36
36
  import getQuery from './getQuery.js';
37
37
  import getSeriesDetail from './getSeriesDetail.js';
38
- import './_commonjsHelpers-0c4b6f40.js';
39
38
  import './core.get-iterator-method-ea258bb1.js';
40
39
  import './web.dom.iterable-ab4dea5c.js';
41
40
  import './_library-528f1934.js';
@@ -339,7 +338,7 @@ var ISI = function ISI(props) {
339
338
  );
340
339
  };
341
340
 
342
- var css = ".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";
341
+ var css = ".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";
343
342
  var styles = { "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" };
344
343
  styleInject(css);
345
344
 
@@ -438,6 +437,12 @@ var getSocialShareDisableFlag = function getSocialShareDisableFlag(article) {
438
437
  return showSocialShare;
439
438
  };
440
439
 
440
+ var FileSaver_min = createCommonjsModule(function (module, exports) {
441
+ (function(a,b){b();})(commonjsGlobal,function(){function b(a,b){return "undefined"==typeof b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a),d.responseType="blob",d.onload=function(){g(d.response,b,c);},d.onerror=function(){console.error("could not download file");},d.send();}function d(a){var b=new XMLHttpRequest;b.open("HEAD",a,!1);try{b.send();}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent("click"));}catch(c){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b);}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof commonjsGlobal&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement("a");g=g||b.name||"download",j.download=g,j.rel="noopener","string"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target="_blank")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href);},4E4),setTimeout(function(){e(j);},0));}:"msSaveOrOpenBlob"in navigator?function(f,g,h){if(g=g||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else {var i=document.createElement("a");i.href=f,i.target="_blank",setTimeout(function(){e(i);});}}:function(b,d,e,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),"string"==typeof b)return c(b,d,e);var h="application/octet-stream"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&"undefined"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=a:location=a,g=null;},k.readAsDataURL(b);}else {var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m);},4E4);}});f.saveAs=g.saveAs=g,(module.exports=g);});
442
+
443
+
444
+ });
445
+
441
446
  var Article = forwardRef(function (props, ref) {
442
447
  var onVote = function () {
443
448
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(nodeKey, selectedChoice) {
@@ -667,6 +672,12 @@ var Article = forwardRef(function (props, ref) {
667
672
  fileContent += 'TI - ' + article.title + '\n'; //Title - TI
668
673
  fileContent += 'T1 - ' + article.title + '\n'; //Title - T1
669
674
  }
675
+ if (authorDetails && authorDetails.length) {
676
+ authorDetails.map(function (authorDetail, index) {
677
+ return fileContent += 'AU - ' + authorDetail.displayName + '\n' //Author
678
+ ;
679
+ });
680
+ }
670
681
  if (issue.publication && issue.publication.name) {
671
682
  fileContent += 'T2 - ' + issue.publication.name + '\n'; //Secondary Title - T2
672
683
  fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
@@ -705,7 +716,7 @@ var Article = forwardRef(function (props, ref) {
705
716
  var downloadRIS = function downloadRIS() {
706
717
  var fileContent = generateRIS();
707
718
  var file = new File([fileContent], 'citation-' + url + '.ris', { type: 'application/x-research-info-systems;charset=utf-8' });
708
- FileSaver.saveAs(file, 'citation-' + url + '.ris');
719
+ FileSaver_min.saveAs(file, 'citation-' + url + '.ris');
709
720
  };
710
721
 
711
722
  var RelevantTopics = function RelevantTopics() {
@@ -2009,4 +2020,4 @@ View.returnGetInitialProps = function () {
2009
2020
  };
2010
2021
  }();
2011
2022
 
2012
- export default View;
2023
+ export { View as default };
@@ -117,4 +117,4 @@ var YahooHero = function YahooHero(props) {
117
117
  );
118
118
  };
119
119
 
120
- export default YahooHero;
120
+ export { YahooHero as default };
@@ -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) {
@@ -362,4 +362,4 @@ var YoutubeGroup = function YoutubeGroup(props) {
362
362
  );
363
363
  };
364
364
 
365
- export default YoutubeGroup;
365
+ export { YoutubeGroup as default };
@@ -41,4 +41,4 @@ var getKeywords = function getKeywords(article) {
41
41
  return keywords;
42
42
  };
43
43
 
44
- export default getKeywords;
44
+ export { getKeywords as default };
@@ -8,7 +8,7 @@ var getQuery = function getQuery(type) {
8
8
 
9
9
  switch (type) {
10
10
  case 'related':
11
- 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 ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, 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 },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n }';
11
+ 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 && 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 ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, 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 },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n }';
12
12
  case 'article':
13
13
  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 fieldAbstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, 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, 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 },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current\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 \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
14
14
  case 'publication':
@@ -22,4 +22,4 @@ var getQuery = function getQuery(type) {
22
22
  }
23
23
  };
24
24
 
25
- export default getQuery;
25
+ export { getQuery as default };
@@ -537,4 +537,4 @@ var getRelatedArticle = function () {
537
537
  };
538
538
  }();
539
539
 
540
- export default getRelatedArticle;
540
+ export { getRelatedArticle as default };
@@ -57,4 +57,4 @@ var getRootDocGroup = function () {
57
57
  };
58
58
  }();
59
59
 
60
- export default getRootDocGroup;
60
+ export { getRootDocGroup as default };
@@ -35,4 +35,4 @@ var getSeriesDetail = function getSeriesDetail(article, currentSeries) {
35
35
  return seriesDetail;
36
36
  };
37
37
 
38
- export default getSeriesDetail;
38
+ export { getSeriesDetail as default };
@@ -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) {
@@ -1,6 +1,6 @@
1
1
  import './extends-6d8e3924.js';
2
2
  import './toConsumableArray-f7074d7c.js';
3
- export { g as default } from './getTargeting-42f9b439.js';
3
+ export { g as default } from './getTargeting-04d979c9.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-ea258bb1.js';
6
6
  import './_object-pie-133f504a.js';
package/dist/esm/index.js CHANGED
@@ -94,7 +94,7 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
94
94
  export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
95
95
  export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
96
96
  export { default as Schema } from './Schema.js';
97
- export { g as getTargeting } from './getTargeting-42f9b439.js';
97
+ export { g as getTargeting } from './getTargeting-04d979c9.js';
98
98
  export { default as getKeywords } from './getKeywords.js';
99
99
  export { default as getQuery } from './getQuery.js';
100
100
  import './toConsumableArray-f7074d7c.js';
@@ -190,10 +190,9 @@ import 'swr';
190
190
  import 'passport-local';
191
191
  import 'mysql';
192
192
  import './md5-4e42248e.js';
193
- import './SeriesSlider-45adb8dc.js';
193
+ import './SeriesSlider-98ad6d97.js';
194
194
  import './style-inject.es-1f59c1d0.js';
195
195
  import 'disqus-react';
196
- import 'file-saver';
197
196
  import 'react-twitter-embed';
198
197
  import './ImageSlider-f84174cb.js';
199
198
  import './defineProperty-23a8f8cd.js';
@@ -1,4 +1,4 @@
1
- import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import { a as _core } from './core.get-iterator-method-ea258bb1.js';
3
3
 
4
4
  var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
@@ -34,4 +34,4 @@ var timeDifferenceCalc = function timeDifferenceCalc(articlePublishedDate) {
34
34
  return difference;
35
35
  };
36
36
 
37
- export default timeDifferenceCalc;
37
+ export { timeDifferenceCalc as default };
@@ -60,4 +60,4 @@ function urlFor(_ref) {
60
60
  return url;
61
61
  }
62
62
 
63
- export default urlFor;
63
+ export { urlFor as default };
@@ -101,4 +101,4 @@ var UstreamEmbed = function () {
101
101
  }), window.UstreamEmbed = a;
102
102
  }();
103
103
 
104
- export default UstreamEmbed;
104
+ export { UstreamEmbed as default };