@mjhls/mjh-framework 1.0.1042 → 1.0.1044

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 (174) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD300x250.js +1 -1
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/{ADInfeed-8559adc4.js → ADInfeed-92da28cb.js} +1 -1
  8. package/dist/cjs/ADSkyscraper.js +1 -1
  9. package/dist/cjs/ADSponsoredResources.js +1 -1
  10. package/dist/cjs/ADWebcast.js +1 -1
  11. package/dist/cjs/ADWelcome.js +1 -1
  12. package/dist/cjs/{ADlgInfeed-493559a2.js → ADlgInfeed-04685f6f.js} +1 -1
  13. package/dist/cjs/AdSlot.js +1 -1
  14. package/dist/cjs/AdSlotsProvider.js +1 -1
  15. package/dist/cjs/AlgoliaSearch.js +63 -91
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +3 -3
  18. package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
  19. package/dist/cjs/ArticleSeriesListing.js +1 -1
  20. package/dist/cjs/Auth.js +1492 -10
  21. package/dist/cjs/AuthWrapper.js +1476 -294
  22. package/dist/cjs/CEDeckSupabase.js +2 -2
  23. package/dist/cjs/CMEDeck.js +1 -1
  24. package/dist/cjs/Column3.js +1 -1
  25. package/dist/cjs/ConferenceArticleCard.js +15 -15
  26. package/dist/cjs/ContentCardPaginated.js +3 -3
  27. package/dist/cjs/DeckContent.js +11 -11
  28. package/dist/cjs/DeckQueue.js +2 -2
  29. package/dist/cjs/DeckQueuePaginated.js +2 -2
  30. package/dist/cjs/EventsDeck.js +18 -18
  31. package/dist/cjs/ExternalResources.js +3 -3
  32. package/dist/cjs/Feature.js +1 -1
  33. package/dist/cjs/GridContent.js +4 -4
  34. package/dist/cjs/GridContentPaginated.js +4 -4
  35. package/dist/cjs/GridHero.js +1 -1
  36. package/dist/cjs/HamMagazine.js +11 -11
  37. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  38. package/dist/cjs/Hero.js +1 -1
  39. package/dist/cjs/HorizontalArticleListing.js +3 -3
  40. package/dist/cjs/{ImageSlider-62a43659.js → ImageSlider-984a697b.js} +92 -149
  41. package/dist/cjs/IssueLanding.js +34 -34
  42. package/dist/cjs/KMTracker.js +15 -15
  43. package/dist/cjs/LeftNav.js +1 -1
  44. package/dist/cjs/MasterDeck.js +11 -11
  45. package/dist/cjs/MasterDeckPaginated.js +11 -11
  46. package/dist/cjs/{MediaSeriesCard-10648c0b.js → MediaSeriesCard-d7801ba1.js} +2 -2
  47. package/dist/cjs/MediaSeriesLanding.js +13 -13
  48. package/dist/cjs/MediaSeriesLandingPaginated.js +13 -13
  49. package/dist/cjs/NavMagazine.js +12 -12
  50. package/dist/cjs/NavNative.js +10 -10
  51. package/dist/cjs/OncliveLargeHero.js +1 -1
  52. package/dist/cjs/PartnerDetailListing.js +7 -6
  53. package/dist/cjs/PartnerDetailListingPaginated.js +7 -6
  54. package/dist/cjs/PodcastsLanding.js +6 -6
  55. package/dist/cjs/PubSection.js +4 -4
  56. package/dist/cjs/PublicationLanding.js +26 -26
  57. package/dist/cjs/QueueDeckExpanded.js +4 -4
  58. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
  59. package/dist/cjs/RelatedContent.js +28 -28
  60. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  61. package/dist/cjs/SeriesListingDeck.js +2 -2
  62. package/dist/cjs/{SeriesSlider-edcb8e4b.js → SeriesSlider-086a8319.js} +5 -5
  63. package/dist/cjs/SideFooter.js +2 -2
  64. package/dist/cjs/{SocialSearchComponent-e9ec9c63.js → SocialSearchComponent-d7e5d3a6.js} +1 -1
  65. package/dist/cjs/TaxonomyDescription.js +3 -3
  66. package/dist/cjs/TemplateNormal.js +2 -2
  67. package/dist/cjs/ThumbnailCard.js +1 -1
  68. package/dist/cjs/{Tooltip-980a1d1a.js → Tooltip-96fe6ef6.js} +264 -108
  69. package/dist/cjs/Ustream.js +1 -1
  70. package/dist/cjs/VideoProgramLandingPage.js +3 -3
  71. package/dist/cjs/VideoSeriesCard.js +1 -1
  72. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  73. package/dist/cjs/VideoSeriesListing.js +1 -1
  74. package/dist/cjs/View.js +33 -31
  75. package/dist/cjs/YahooHero.js +1 -1
  76. package/dist/cjs/YoutubeGroup.js +5 -5
  77. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  78. package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
  79. package/dist/cjs/getQuery.js +1 -1
  80. package/dist/cjs/getSerializers.js +3 -3
  81. package/dist/cjs/{getTargeting-45ffbee8.js → getTargeting-5b954783.js} +9 -9
  82. package/dist/cjs/getTargeting.js +1 -1
  83. package/dist/cjs/{index-8041a4eb.js → index-50be6759.js} +15 -9
  84. package/dist/cjs/{index-7d2067db.js → index-abcf2d94.js} +5 -5
  85. package/dist/cjs/index.js +12 -11
  86. package/dist/cjs/{main-47be4f9f.js → main-ae8472f3.js} +4 -9
  87. package/dist/cjs/typeof-1358762e.js +33 -0
  88. package/dist/esm/AD300x250.js +1 -1
  89. package/dist/esm/AD300x250x600.js +1 -1
  90. package/dist/esm/AD728x90.js +1 -1
  91. package/dist/esm/ADFloatingFooter.js +1 -1
  92. package/dist/esm/ADGutter.js +1 -1
  93. package/dist/esm/{ADInfeed-fb501f15.js → ADInfeed-50f279b3.js} +1 -1
  94. package/dist/esm/ADSkyscraper.js +1 -1
  95. package/dist/esm/ADSponsoredResources.js +1 -1
  96. package/dist/esm/ADWebcast.js +1 -1
  97. package/dist/esm/ADWelcome.js +1 -1
  98. package/dist/esm/{ADlgInfeed-b742488e.js → ADlgInfeed-3bb275ad.js} +1 -1
  99. package/dist/esm/AdSlot.js +1 -1
  100. package/dist/esm/AdSlotsProvider.js +1 -1
  101. package/dist/esm/AlgoliaSearch.js +63 -91
  102. package/dist/esm/ArticleCarousel.js +1 -1
  103. package/dist/esm/ArticleProgramLandingPage.js +3 -3
  104. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  105. package/dist/esm/ArticleSeriesListing.js +1 -1
  106. package/dist/esm/Auth.js +1492 -9
  107. package/dist/esm/AuthWrapper.js +1470 -288
  108. package/dist/esm/CEDeckSupabase.js +2 -2
  109. package/dist/esm/CMEDeck.js +1 -1
  110. package/dist/esm/Column3.js +1 -1
  111. package/dist/esm/ConferenceArticleCard.js +15 -15
  112. package/dist/esm/ContentCardPaginated.js +3 -3
  113. package/dist/esm/DeckContent.js +11 -11
  114. package/dist/esm/DeckQueue.js +2 -2
  115. package/dist/esm/DeckQueuePaginated.js +2 -2
  116. package/dist/esm/EventsDeck.js +18 -18
  117. package/dist/esm/ExternalResources.js +3 -3
  118. package/dist/esm/Feature.js +1 -1
  119. package/dist/esm/GridContent.js +4 -4
  120. package/dist/esm/GridContentPaginated.js +4 -4
  121. package/dist/esm/GridHero.js +1 -1
  122. package/dist/esm/HamMagazine.js +11 -11
  123. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  124. package/dist/esm/Hero.js +1 -1
  125. package/dist/esm/HorizontalArticleListing.js +3 -3
  126. package/dist/esm/{ImageSlider-aea3a615.js → ImageSlider-497e9c88.js} +10 -67
  127. package/dist/esm/IssueLanding.js +34 -34
  128. package/dist/esm/KMTracker.js +15 -15
  129. package/dist/esm/LeftNav.js +1 -1
  130. package/dist/esm/MasterDeck.js +11 -11
  131. package/dist/esm/MasterDeckPaginated.js +11 -11
  132. package/dist/esm/{MediaSeriesCard-cffbf39a.js → MediaSeriesCard-ffe77e8e.js} +2 -2
  133. package/dist/esm/MediaSeriesLanding.js +13 -13
  134. package/dist/esm/MediaSeriesLandingPaginated.js +13 -13
  135. package/dist/esm/NavMagazine.js +12 -12
  136. package/dist/esm/NavNative.js +10 -10
  137. package/dist/esm/OncliveLargeHero.js +1 -1
  138. package/dist/esm/PartnerDetailListing.js +7 -6
  139. package/dist/esm/PartnerDetailListingPaginated.js +7 -6
  140. package/dist/esm/PodcastsLanding.js +6 -6
  141. package/dist/esm/PubSection.js +4 -4
  142. package/dist/esm/PublicationLanding.js +26 -26
  143. package/dist/esm/QueueDeckExpanded.js +4 -4
  144. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  145. package/dist/esm/RelatedContent.js +28 -28
  146. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  147. package/dist/esm/SeriesListingDeck.js +2 -2
  148. package/dist/esm/{SeriesSlider-2e83e861.js → SeriesSlider-a6b1d617.js} +5 -5
  149. package/dist/esm/SideFooter.js +2 -2
  150. package/dist/esm/{SocialSearchComponent-020f9e81.js → SocialSearchComponent-6065bff2.js} +1 -1
  151. package/dist/esm/TaxonomyDescription.js +3 -3
  152. package/dist/esm/TemplateNormal.js +2 -2
  153. package/dist/esm/ThumbnailCard.js +1 -1
  154. package/dist/esm/{Tooltip-51957f7c.js → Tooltip-bc98d17e.js} +264 -108
  155. package/dist/esm/Ustream.js +1 -1
  156. package/dist/esm/VideoProgramLandingPage.js +3 -3
  157. package/dist/esm/VideoSeriesCard.js +1 -1
  158. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  159. package/dist/esm/VideoSeriesListing.js +1 -1
  160. package/dist/esm/View.js +33 -31
  161. package/dist/esm/YahooHero.js +1 -1
  162. package/dist/esm/YoutubeGroup.js +5 -5
  163. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  164. package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
  165. package/dist/esm/getQuery.js +1 -1
  166. package/dist/esm/getSerializers.js +3 -3
  167. package/dist/esm/{getTargeting-a569a9cc.js → getTargeting-5a281334.js} +9 -9
  168. package/dist/esm/getTargeting.js +1 -1
  169. package/dist/esm/{index-3f69b115.js → index-5b4444df.js} +5 -5
  170. package/dist/esm/{index-67e1773f.js → index-98ca9cec.js} +15 -9
  171. package/dist/esm/index.js +12 -11
  172. package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
  173. package/dist/esm/typeof-2f07d0e8.js +30 -0
  174. package/package.json +116 -116
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import Button from 'react-bootstrap/Button';
8
- import { g as getSerializers } from './index-3f69b115.js';
8
+ import { g as getSerializers } from './index-5b4444df.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
@@ -25,7 +25,7 @@ import './util-8ed16d48.js';
25
25
  import './Beam.js';
26
26
  import './stringify-2b084bee.js';
27
27
  import './Segment.js';
28
- import './main-f97773b2.js';
28
+ import './main-754d4992.js';
29
29
  import './urlForFile-f6485737.js';
30
30
  import './index-755f2cc2.js';
31
31
  import 'react-dom';
@@ -45,7 +45,7 @@ import 'next/head';
45
45
  import 'react-share';
46
46
  import './toConsumableArray-f7074d7c.js';
47
47
  import 'react-bootstrap/Pagination';
48
- import './entities-932b50cf.js';
48
+ import './entities-6d9154b4.js';
49
49
  import './AdSlot.js';
50
50
  import './debounce-533d9748.js';
51
51
  import './isSymbol-a7e9aafe.js';
@@ -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 {\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";
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";
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
 
@@ -35,13 +35,13 @@ import './index.es-a6137319.js';
35
35
  import './visibility-sensor-72fd8f8b.js';
36
36
  import 'react-dom';
37
37
  import './index-3f5c03b2.js';
38
- import './ADlgInfeed-b742488e.js';
38
+ import './ADlgInfeed-3bb275ad.js';
39
39
  import './AdSlot.js';
40
40
  import './Beam.js';
41
41
  import './stringify-2b084bee.js';
42
42
  import './Segment.js';
43
- import './main-f97773b2.js';
44
- import './ADInfeed-fb501f15.js';
43
+ import './main-754d4992.js';
44
+ import './ADInfeed-50f279b3.js';
45
45
  import './index-755f2cc2.js';
46
46
  import './urlFor.js';
47
47
  import './style-inject.es-1f59c1d0.js';
@@ -27,7 +27,7 @@ import './index-755f2cc2.js';
27
27
  import './smoothscroll-fa4e3f8c.js';
28
28
  import './urlFor.js';
29
29
  import './index-3f5c03b2.js';
30
- import './main-f97773b2.js';
30
+ import './main-754d4992.js';
31
31
  import './isSymbol-a7e9aafe.js';
32
32
  import './toNumber-5aeba6e7.js';
33
33
 
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-f97773b2.js';
11
+ import { m as main_43 } from './main-754d4992.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-3f69b115.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-5b4444df.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-2e83e861.js';
21
- import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-a569a9cc.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-a6b1d617.js';
21
+ import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-5a281334.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
24
24
  import { u as urlForFile } from './urlForFile-f6485737.js';
@@ -58,7 +58,7 @@ import './GroupDeck.js';
58
58
  import './smoothscroll-fa4e3f8c.js';
59
59
  import './_is-array-8d21b9e3.js';
60
60
  import 'react-bootstrap/Pagination';
61
- import './entities-932b50cf.js';
61
+ import './entities-6d9154b4.js';
62
62
  import 'react-bootstrap/Row';
63
63
  import 'react-bootstrap/Col';
64
64
  import './inherits-d21b4ef9.js';
@@ -378,7 +378,7 @@ var ISI = function ISI(props) {
378
378
  );
379
379
  };
380
380
 
381
- 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";
381
+ 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";
382
382
  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" };
383
383
  styleInject(css$1);
384
384
 
@@ -483,7 +483,7 @@ var FileSaver_min = createCommonjsModule(function (module, exports) {
483
483
 
484
484
  });
485
485
 
486
- 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}";
486
+ 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}";
487
487
  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" };
488
488
  styleInject(css);
489
489
 
@@ -2699,29 +2699,31 @@ View.returnGetInitialProps = function () {
2699
2699
  case 35:
2700
2700
 
2701
2701
  //check documentGroup and documentGroupMapping for disableNativeAds:true
2702
- if (article.documentGroup && article.documentGroup.length) {
2703
- article.documentGroup.forEach(function (docGroup) {
2704
- var node = docGroup.parent ? docGroup.parent : null;
2705
- if (docGroup.disableNativeAds) {
2706
- article.disableNativeAds = true;
2707
- }
2708
- while (node) {
2709
- if (node.disableNativeAds) [article.disableNativeAds = true];
2710
- node = node.parent || null;
2711
- }
2712
- });
2713
- }
2714
- if (article.documentGroupMapping && article.documentGroupMapping.length) {
2715
- article.documentGroupMapping.forEach(function (docGroup) {
2716
- var node = docGroup.parent ? docGroup.parent : null;
2717
- if (docGroup.disableNativeAds) {
2718
- article.disableNativeAds = true;
2719
- }
2720
- while (node) {
2721
- if (node.disableNativeAds) [article.disableNativeAds = true];
2722
- node = node.parent || null;
2723
- }
2724
- });
2702
+ if (!article.disableNativeAds) {
2703
+ if (article.documentGroup && article.documentGroup.length) {
2704
+ article.documentGroup.forEach(function (docGroup) {
2705
+ var node = docGroup.parent ? docGroup.parent : null;
2706
+ if (docGroup.disableNativeAds) {
2707
+ article.disableNativeAds = true;
2708
+ }
2709
+ while (node) {
2710
+ if (node.disableNativeAds) [article.disableNativeAds = true];
2711
+ node = node.parent || null;
2712
+ }
2713
+ });
2714
+ }
2715
+ if (article.documentGroupMapping && article.documentGroupMapping.length) {
2716
+ article.documentGroupMapping.forEach(function (docGroup) {
2717
+ var node = docGroup.parent ? docGroup.parent : null;
2718
+ if (docGroup.disableNativeAds) {
2719
+ article.disableNativeAds = true;
2720
+ }
2721
+ while (node) {
2722
+ if (node.disableNativeAds) [article.disableNativeAds = true];
2723
+ node = node.parent || null;
2724
+ }
2725
+ });
2726
+ }
2725
2727
  }
2726
2728
 
2727
2729
  return _context.abrupt('return', {
@@ -2735,7 +2737,7 @@ View.returnGetInitialProps = function () {
2735
2737
  sponsoredFlag: sponsoredFlag
2736
2738
  });
2737
2739
 
2738
- case 38:
2740
+ case 37:
2739
2741
  case 'end':
2740
2742
  return _context.stop();
2741
2743
  }
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
3
  import urlFor from './urlFor.js';
4
- import { c as clean_html_1 } from './entities-932b50cf.js';
4
+ import { c as clean_html_1 } from './entities-6d9154b4.js';
5
5
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
6
6
  import { L as LazyLoad } from './index-755f2cc2.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
@@ -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-f97773b2.js';
7
+ import { m as main_43, a as main_49, b as main_42 } from './main-754d4992.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './web.dom.iterable-ab4dea5c.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
@@ -13,10 +13,10 @@ import 'prop-types';
13
13
  import './extends-1559c147.js';
14
14
  import './index-3f5c03b2.js';
15
15
 
16
- /*
17
- GROQ query -
18
- accepts an array of title, URL
19
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
16
+ /*
17
+ GROQ query -
18
+ accepts an array of title, URL
19
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
20
20
  */
21
21
 
22
22
  var YoutubeGroup = function YoutubeGroup(props) {
@@ -0,0 +1,68 @@
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+
3
+ var asyncToGenerator = createCommonjsModule(function (module) {
4
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
5
+ try {
6
+ var info = gen[key](arg);
7
+ var value = info.value;
8
+ } catch (error) {
9
+ reject(error);
10
+ return;
11
+ }
12
+
13
+ if (info.done) {
14
+ resolve(value);
15
+ } else {
16
+ Promise.resolve(value).then(_next, _throw);
17
+ }
18
+ }
19
+
20
+ function _asyncToGenerator(fn) {
21
+ return function () {
22
+ var self = this,
23
+ args = arguments;
24
+ return new Promise(function (resolve, reject) {
25
+ var gen = fn.apply(self, args);
26
+
27
+ function _next(value) {
28
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
29
+ }
30
+
31
+ function _throw(err) {
32
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
33
+ }
34
+
35
+ _next(undefined);
36
+ });
37
+ };
38
+ }
39
+
40
+ module.exports = _asyncToGenerator;
41
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
42
+ });
43
+
44
+ var _asyncToGenerator = unwrapExports(asyncToGenerator);
45
+
46
+ var defineProperty = createCommonjsModule(function (module) {
47
+ function _defineProperty(obj, key, value) {
48
+ if (key in obj) {
49
+ Object.defineProperty(obj, key, {
50
+ value: value,
51
+ enumerable: true,
52
+ configurable: true,
53
+ writable: true
54
+ });
55
+ } else {
56
+ obj[key] = value;
57
+ }
58
+
59
+ return obj;
60
+ }
61
+
62
+ module.exports = _defineProperty;
63
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
64
+ });
65
+
66
+ var _defineProperty = unwrapExports(defineProperty);
67
+
68
+ export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
@@ -58,6 +58,10 @@ var striptags = createCommonjsModule(function (module) {
58
58
  }
59
59
 
60
60
  function striptags_internal(html, context) {
61
+ if (typeof html != "string") {
62
+ throw new TypeError("'html' parameter must be a string");
63
+ }
64
+
61
65
  let allowable_tags = context.allowable_tags;
62
66
  let tag_replacement = context.tag_replacement;
63
67
 
@@ -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 hideThumbnail,\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, risMapping, 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 hideThumbnail,\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 disableNativeAds,\n issueGroup-> { _id, name, identifier, showIssueNameOnly, showPageNumber, risMapping, 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 hideThumbnail,\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,7 +1,7 @@
1
1
  import 'react';
2
- export { g as default } from './index-3f69b115.js';
2
+ export { g as default } from './index-5b4444df.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
- import './entities-932b50cf.js';
4
+ import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './web.dom.iterable-ab4dea5c.js';
@@ -22,7 +22,7 @@ import './_library-528f1934.js';
22
22
  import './_set-species-2cd9340f.js';
23
23
  import './_iter-detect-98db3b07.js';
24
24
  import './Segment.js';
25
- import './main-f97773b2.js';
25
+ import './main-754d4992.js';
26
26
  import './urlForFile-f6485737.js';
27
27
  import './index-755f2cc2.js';
28
28
  import 'react-dom';
@@ -2,18 +2,18 @@ import { _ as _extends } from './extends-1559c147.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-1559c147.js';
2
2
  import './toConsumableArray-f7074d7c.js';
3
- export { g as default } from './getTargeting-a569a9cc.js';
3
+ export { g as default } from './getTargeting-5a281334.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-ea258bb1.js';
6
6
  import './_iter-detect-98db3b07.js';
@@ -10,7 +10,7 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
10
10
  import { u as util } from './util-8ed16d48.js';
11
11
  import './Beam.js';
12
12
  import Segment from './Segment.js';
13
- import { f as main_18, b as main_42, m as main_43 } from './main-f97773b2.js';
13
+ import { f as main_18, b as main_42, m as main_43 } from './main-754d4992.js';
14
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
15
15
  import { _ as _extends, b as _extends$1 } from './extends-1559c147.js';
16
16
  import { u as urlForFile } from './urlForFile-f6485737.js';
@@ -31,7 +31,7 @@ import { m as moment } from './moment-bc12cb97.js';
31
31
  import SocialShare from './SocialShare.js';
32
32
  import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
33
33
  import Pagination from 'react-bootstrap/Pagination';
34
- import { h as html_decode_1 } from './entities-932b50cf.js';
34
+ import { h as html_decode_1 } from './entities-6d9154b4.js';
35
35
  import DFPAdSlot from './AdSlot.js';
36
36
  import Row$1 from 'react-bootstrap/Row';
37
37
  import Col$1 from 'react-bootstrap/Col';
@@ -2116,6 +2116,8 @@ var Media = function Media(_ref) {
2116
2116
 
2117
2117
  if (!uploadDoc || !uploadDoc.asset) return null;
2118
2118
 
2119
+ var baseUrl = client ? client.config().baseUrl : '';
2120
+
2119
2121
  if (poster && poster.asset) {
2120
2122
  var screenWidth = window.innerWidth;
2121
2123
 
@@ -2159,14 +2161,12 @@ var Media = function Media(_ref) {
2159
2161
  margin: imageMargin
2160
2162
  };
2161
2163
 
2162
- var _baseUrl = client ? client.config().baseUrl : '';
2163
-
2164
2164
  return React__default.createElement(
2165
2165
  Figure$1,
2166
2166
  { className: 'd-block ' + className, style: figureStyle },
2167
2167
  React__default.createElement(
2168
2168
  'a',
2169
- { href: urlForFile({ asset: uploadDoc.asset }, _baseUrl), target: blank ? '_blank' : '_self' },
2169
+ { href: urlForFile({ asset: uploadDoc.asset }, baseUrl), target: blank ? '_blank' : '_self' },
2170
2170
  React__default.createElement(
2171
2171
  LazyLoad,
2172
2172
  { once: true },
@@ -44,7 +44,7 @@ function _setPrototypeOf(o, p) {
44
44
 
45
45
  var classnames = createCommonjsModule(function (module) {
46
46
  /*!
47
- Copyright (c) 2017 Jed Watson.
47
+ Copyright (c) 2018 Jed Watson.
48
48
  Licensed under the MIT License (MIT), see
49
49
  http://jedwatson.github.io/classnames
50
50
  */
@@ -54,7 +54,7 @@ var classnames = createCommonjsModule(function (module) {
54
54
 
55
55
  var hasOwn = {}.hasOwnProperty;
56
56
 
57
- function classNames () {
57
+ function classNames() {
58
58
  var classes = [];
59
59
 
60
60
  for (var i = 0; i < arguments.length; i++) {
@@ -65,16 +65,22 @@ var classnames = createCommonjsModule(function (module) {
65
65
 
66
66
  if (argType === 'string' || argType === 'number') {
67
67
  classes.push(arg);
68
- } else if (Array.isArray(arg) && arg.length) {
69
- var inner = classNames.apply(null, arg);
70
- if (inner) {
71
- classes.push(inner);
68
+ } else if (Array.isArray(arg)) {
69
+ if (arg.length) {
70
+ var inner = classNames.apply(null, arg);
71
+ if (inner) {
72
+ classes.push(inner);
73
+ }
72
74
  }
73
75
  } else if (argType === 'object') {
74
- for (var key in arg) {
75
- if (hasOwn.call(arg, key) && arg[key]) {
76
- classes.push(key);
76
+ if (arg.toString === Object.prototype.toString) {
77
+ for (var key in arg) {
78
+ if (hasOwn.call(arg, key) && arg[key]) {
79
+ classes.push(key);
80
+ }
77
81
  }
82
+ } else {
83
+ classes.push(arg.toString());
78
84
  }
79
85
  }
80
86
  }
package/dist/esm/index.js CHANGED
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
87
87
  export { default as YahooHero } from './YahooHero.js';
88
88
  export { default as GridHero } from './GridHero.js';
89
89
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
90
- export { g as getSerializers } from './index-3f69b115.js';
90
+ export { g as getSerializers } from './index-5b4444df.js';
91
91
  export { default as Beam } from './Beam.js';
92
92
  export { default as Segment } from './Segment.js';
93
93
  export { default as KMTracker } from './KMTracker.js';
@@ -102,7 +102,7 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
102
102
  export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
103
103
  export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
104
104
  export { default as Schema } from './Schema.js';
105
- export { g as getTargeting } from './getTargeting-a569a9cc.js';
105
+ export { g as getTargeting } from './getTargeting-5a281334.js';
106
106
  export { default as getKeywords } from './getKeywords.js';
107
107
  export { default as getQuery } from './getQuery.js';
108
108
  import './toConsumableArray-f7074d7c.js';
@@ -127,11 +127,11 @@ import './toNumber-5aeba6e7.js';
127
127
  import './index.es-a6137319.js';
128
128
  import './visibility-sensor-72fd8f8b.js';
129
129
  import 'react-dom';
130
- import './main-f97773b2.js';
131
- import './entities-932b50cf.js';
132
- import './ADInfeed-fb501f15.js';
130
+ import './main-754d4992.js';
131
+ import './entities-6d9154b4.js';
132
+ import './ADInfeed-50f279b3.js';
133
133
  import './lodash-f97fd99a.js';
134
- import './ADlgInfeed-b742488e.js';
134
+ import './ADlgInfeed-3bb275ad.js';
135
135
  import './getContentCategory-15dcc413.js';
136
136
  import './get-3c308da4.js';
137
137
  import './eq-bdcbf886.js';
@@ -154,7 +154,8 @@ import './_object-to-array-b61d5965.js';
154
154
  import 'react-bootstrap/Spinner';
155
155
  import 'react-bootstrap/Form';
156
156
  import './js.cookie-6874175c.js';
157
- import './index-67e1773f.js';
157
+ import './typeof-2f07d0e8.js';
158
+ import './index-98ca9cec.js';
158
159
  import './ConferenceBanner-8792ebd2.js';
159
160
  import 'next/head';
160
161
  import '@mjhls/mjh-framework/dist/cjs/urlFor';
@@ -168,7 +169,7 @@ import 'react-bootstrap/NavDropdown';
168
169
  import './index.esm-9b042655.js';
169
170
  import './NavFooter-1546a102.js';
170
171
  import './index.esm-35a42e7d.js';
171
- import './SocialSearchComponent-020f9e81.js';
172
+ import './SocialSearchComponent-6065bff2.js';
172
173
  import 'react-bootstrap/FormControl';
173
174
  import 'react-ga';
174
175
  import 'react-bootstrap/Carousel';
@@ -191,13 +192,13 @@ import './index-db3bb315.js';
191
192
  import 'swr';
192
193
  import 'passport-local';
193
194
  import 'mysql';
194
- import 'util.promisify';
195
195
  import './md5-4e42248e.js';
196
- import './SeriesSlider-2e83e861.js';
196
+ import './SeriesSlider-a6b1d617.js';
197
197
  import './style-inject.es-1f59c1d0.js';
198
198
  import 'disqus-react';
199
199
  import 'react-twitter-embed';
200
- import './ImageSlider-aea3a615.js';
200
+ import './ImageSlider-497e9c88.js';
201
+ import './defineProperty-23a8f8cd.js';
201
202
  import './VideoSeriesCard.js';
202
203
 
203
204
  //Feature query to be used