@mjhls/mjh-framework 1.0.1080 → 1.0.1082-404-v4

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 (232) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +6 -6
  3. package/dist/cjs/AD300x250.js +5 -6
  4. package/dist/cjs/AD300x250x600.js +5 -6
  5. package/dist/cjs/AD728x90.js +6 -7
  6. package/dist/cjs/ADFloatingFooter.js +8 -9
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +8 -9
  9. package/dist/cjs/{ADInfeed-3a68b356.js → ADInfeed-98ee4120.js} +6 -6
  10. package/dist/cjs/ADSkyscraper.js +8 -9
  11. package/dist/cjs/ADSponsoredResources.js +8 -9
  12. package/dist/cjs/ADWebcast.js +8 -9
  13. package/dist/cjs/ADWelcome.js +12 -13
  14. package/dist/cjs/{ADlgInfeed-d88a0250.js → ADlgInfeed-55df7d69.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +17 -17
  16. package/dist/cjs/AdSlot.js +9 -10
  17. package/dist/cjs/AdSlotsProvider.js +5 -6
  18. package/dist/cjs/AlgoliaSearch.js +1784 -1027
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +15 -16
  22. package/dist/cjs/ArticleSeriesLandingPage.js +12 -13
  23. package/dist/cjs/ArticleSeriesListing.js +30 -31
  24. package/dist/cjs/AuthWrapper.js +257 -633
  25. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
  26. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
  27. package/dist/cjs/Breadcrumbs.js +17 -17
  28. package/dist/cjs/CEDeckSupabase.js +67 -72
  29. package/dist/cjs/CMEDeck.js +61 -66
  30. package/dist/cjs/Column1.js +6 -6
  31. package/dist/cjs/Column2.js +14 -14
  32. package/dist/cjs/Column3.js +26 -27
  33. package/dist/cjs/ConferenceArticleCard.js +13 -13
  34. package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
  35. package/dist/cjs/ContentCardPaginated.js +50 -51
  36. package/dist/cjs/DeckContent.js +59 -60
  37. package/dist/cjs/DeckQueue.js +58 -59
  38. package/dist/cjs/DeckQueuePaginated.js +47 -48
  39. package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
  40. package/dist/cjs/EventsDeck.js +91 -91
  41. package/dist/cjs/ExternalResources.js +35 -36
  42. package/dist/cjs/Feature.js +17 -17
  43. package/dist/cjs/ForbesHero.js +26 -26
  44. package/dist/cjs/GridContent.js +135 -136
  45. package/dist/cjs/GridContentPaginated.js +122 -123
  46. package/dist/cjs/GridHero.js +27 -27
  47. package/dist/cjs/GroupDeck.js +33 -33
  48. package/dist/cjs/HamMagazine.js +111 -111
  49. package/dist/cjs/Header.js +25 -25
  50. package/dist/cjs/HealthCareProfessionalModal.js +17 -17
  51. package/dist/cjs/Hero.js +5 -5
  52. package/dist/cjs/HighlightenVideo.js +13 -13
  53. package/dist/cjs/HorizontalArticleListing.js +29 -30
  54. package/dist/cjs/HorizontalHero.js +18 -18
  55. package/dist/cjs/{ImageSlider-294d3fc0.js → ImageSlider-7c995858.js} +78 -83
  56. package/dist/cjs/IssueContentDeck.js +50 -50
  57. package/dist/cjs/IssueDeck.js +48 -48
  58. package/dist/cjs/IssueLanding.js +21 -22
  59. package/dist/cjs/LeftNav.js +17 -18
  60. package/dist/cjs/MasterDeck.js +40 -41
  61. package/dist/cjs/MasterDeckPaginated.js +29 -30
  62. package/dist/cjs/MediaSeriesCard.js +20 -21
  63. package/dist/cjs/MediaSeriesLanding.js +38 -39
  64. package/dist/cjs/MediaSeriesLandingPaginated.js +37 -38
  65. package/dist/cjs/NavDvm.js +57 -57
  66. package/dist/cjs/{NavFooter-fa5fae05.js → NavFooter-b7b16d48.js} +11 -11
  67. package/dist/cjs/NavMagazine.js +106 -106
  68. package/dist/cjs/NavNative.js +97 -97
  69. package/dist/cjs/OncliveHero.js +12 -12
  70. package/dist/cjs/OncliveLargeHero.js +50 -50
  71. package/dist/cjs/PageFilter.js +5 -5
  72. package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
  73. package/dist/cjs/PartnerDetailListing.js +55 -56
  74. package/dist/cjs/PartnerDetailListingPaginated.js +54 -55
  75. package/dist/cjs/PdfDownload.js +4 -4
  76. package/dist/cjs/PixelTracking.js +9 -9
  77. package/dist/cjs/PodcastsLanding.js +23 -24
  78. package/dist/cjs/PopUpModal.js +9 -9
  79. package/dist/cjs/PtceDeck.js +14 -14
  80. package/dist/cjs/PubSection.js +14 -15
  81. package/dist/cjs/PubToc.js +4 -4
  82. package/dist/cjs/PublicationDeck.js +44 -44
  83. package/dist/cjs/{PublicationFeature-03de3225.js → PublicationFeature-4b68e0db.js} +30 -30
  84. package/dist/cjs/PublicationLanding.js +75 -75
  85. package/dist/cjs/QueueDeckExpanded.js +246 -247
  86. package/dist/cjs/QueueDeckExpandedPaginated.js +223 -224
  87. package/dist/cjs/RecentNews.js +15 -15
  88. package/dist/cjs/RelatedContent.js +15 -15
  89. package/dist/cjs/RelatedTopicsDropdown.js +14 -14
  90. package/dist/cjs/RolesDeck.js +20 -20
  91. package/dist/cjs/Schema.js +1 -1
  92. package/dist/cjs/Search.js +6 -6
  93. package/dist/cjs/SeriesListingDeck.js +18 -19
  94. package/dist/cjs/{SeriesSlider-621d0cbb.js → SeriesSlider-086a8319.js} +22 -22
  95. package/dist/cjs/SideFooter.js +18 -18
  96. package/dist/cjs/SocialIcons.js +6 -6
  97. package/dist/cjs/{SocialSearchComponent-f874175b.js → SocialSearchComponent-d7e5d3a6.js} +28 -28
  98. package/dist/cjs/SocialShare.js +25 -25
  99. package/dist/cjs/TaxonomyCard.js +44 -44
  100. package/dist/cjs/TaxonomyDescription.js +12 -13
  101. package/dist/cjs/TemplateNormal.js +27 -28
  102. package/dist/cjs/ThumbnailCard.js +10 -10
  103. package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-b8516cbf.js} +632 -545
  104. package/dist/cjs/Ustream.js +9 -9
  105. package/dist/cjs/VerticalHero.js +11 -11
  106. package/dist/cjs/VideoProgramLandingPage.js +29 -30
  107. package/dist/cjs/VideoSeriesCard.js +14 -14
  108. package/dist/cjs/VideoSeriesFilter.js +5 -5
  109. package/dist/cjs/VideoSeriesLandingPage.js +12 -13
  110. package/dist/cjs/VideoSeriesListing.js +47 -48
  111. package/dist/cjs/View.js +245 -242
  112. package/dist/cjs/YahooHero.js +23 -23
  113. package/dist/cjs/YoutubeGroup.js +33 -33
  114. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-35faab67.js} +5 -5
  115. package/dist/cjs/{defineProperty-e0fb52c5.js → defineProperty-19580e93.js} +2 -4
  116. package/dist/cjs/getQuery.js +1 -2
  117. package/dist/cjs/getRelatedArticle.js +33 -15
  118. package/dist/cjs/getSerializers.js +7 -8
  119. package/dist/cjs/iconBase-be4097c0.js +2 -4
  120. package/dist/cjs/{index-c3f0b162.js → index-171e9e82.js} +717 -498
  121. package/dist/cjs/index-3177f564.js +1573 -0
  122. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  123. package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
  124. package/dist/cjs/{index-50be6759.js → index-ff83a88b.js} +13 -14
  125. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  126. package/dist/cjs/{index.esm-f51609ab.js → index.esm-2ea9e9ff.js} +14 -14
  127. package/dist/cjs/index.js +103 -105
  128. package/dist/cjs/{main-1ec1de84.js → main-ae8472f3.js} +17 -22
  129. package/dist/cjs/{moment-aca40de1.js → moment-f730814d.js} +95 -80
  130. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  131. package/dist/cjs/timeDifferenceCalc.js +1 -1
  132. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  133. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
  134. package/dist/esm/AD.js +1 -1
  135. package/dist/esm/AD300x250.js +2 -3
  136. package/dist/esm/AD300x250x600.js +2 -3
  137. package/dist/esm/AD728x90.js +2 -3
  138. package/dist/esm/ADFloatingFooter.js +2 -3
  139. package/dist/esm/ADGutter.js +2 -3
  140. package/dist/esm/{ADInfeed-e8fc8fbb.js → ADInfeed-41bba2c6.js} +1 -1
  141. package/dist/esm/ADSkyscraper.js +2 -3
  142. package/dist/esm/ADSponsoredResources.js +2 -3
  143. package/dist/esm/ADWebcast.js +2 -3
  144. package/dist/esm/ADWelcome.js +2 -3
  145. package/dist/esm/{ADlgInfeed-8a3c14d7.js → ADlgInfeed-3c717ece.js} +1 -1
  146. package/dist/esm/AdSlot.js +2 -3
  147. package/dist/esm/AdSlotsProvider.js +2 -3
  148. package/dist/esm/AlgoliaSearch.js +1402 -645
  149. package/dist/esm/ArticleCarousel.js +1 -1
  150. package/dist/esm/ArticleProgramLandingPage.js +5 -6
  151. package/dist/esm/ArticleSeriesLandingPage.js +5 -6
  152. package/dist/esm/ArticleSeriesListing.js +3 -4
  153. package/dist/esm/AuthWrapper.js +232 -608
  154. package/dist/esm/CEDeckSupabase.js +3 -8
  155. package/dist/esm/CMEDeck.js +3 -8
  156. package/dist/esm/Column3.js +2 -3
  157. package/dist/esm/ConferenceArticleCard.js +1 -1
  158. package/dist/esm/ContentCardPaginated.js +5 -6
  159. package/dist/esm/DeckContent.js +4 -5
  160. package/dist/esm/DeckQueue.js +3 -4
  161. package/dist/esm/DeckQueuePaginated.js +4 -5
  162. package/dist/esm/{Dfp-78070ecb.js → Dfp-3b6eb620.js} +1 -2
  163. package/dist/esm/EventsDeck.js +3 -3
  164. package/dist/esm/ExternalResources.js +6 -7
  165. package/dist/esm/Feature.js +1 -1
  166. package/dist/esm/ForbesHero.js +1 -1
  167. package/dist/esm/GridContent.js +6 -7
  168. package/dist/esm/GridContentPaginated.js +7 -8
  169. package/dist/esm/GridHero.js +1 -1
  170. package/dist/esm/HamMagazine.js +2 -2
  171. package/dist/esm/HighlightenVideo.js +1 -1
  172. package/dist/esm/HorizontalArticleListing.js +5 -6
  173. package/dist/esm/HorizontalHero.js +1 -1
  174. package/dist/esm/{ImageSlider-9250ddc9.js → ImageSlider-75f7b81a.js} +6 -11
  175. package/dist/esm/IssueContentDeck.js +1 -1
  176. package/dist/esm/IssueLanding.js +7 -8
  177. package/dist/esm/LeftNav.js +2 -3
  178. package/dist/esm/MasterDeck.js +5 -6
  179. package/dist/esm/MasterDeckPaginated.js +5 -6
  180. package/dist/esm/MediaSeriesCard.js +5 -6
  181. package/dist/esm/MediaSeriesLanding.js +10 -11
  182. package/dist/esm/MediaSeriesLandingPaginated.js +11 -12
  183. package/dist/esm/NavMagazine.js +2 -2
  184. package/dist/esm/NavNative.js +1 -1
  185. package/dist/esm/OncliveHero.js +1 -1
  186. package/dist/esm/OncliveLargeHero.js +1 -1
  187. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +2 -2
  188. package/dist/esm/PartnerDetailListing.js +9 -10
  189. package/dist/esm/PartnerDetailListingPaginated.js +10 -11
  190. package/dist/esm/PodcastsLanding.js +8 -9
  191. package/dist/esm/PtceDeck.js +1 -1
  192. package/dist/esm/PubSection.js +5 -6
  193. package/dist/esm/{PublicationFeature-89b7afdb.js → PublicationFeature-6c334891.js} +1 -1
  194. package/dist/esm/QueueDeckExpanded.js +5 -6
  195. package/dist/esm/QueueDeckExpandedPaginated.js +6 -7
  196. package/dist/esm/RelatedContent.js +1 -1
  197. package/dist/esm/SeriesListingDeck.js +3 -4
  198. package/dist/esm/{SeriesSlider-7913a789.js → SeriesSlider-acbdf4c9.js} +1 -1
  199. package/dist/esm/{SocialSearchComponent-ae8da67e.js → SocialSearchComponent-9e65c8d6.js} +1 -1
  200. package/dist/esm/TaxonomyDescription.js +5 -6
  201. package/dist/esm/TemplateNormal.js +3 -4
  202. package/dist/esm/{Tooltip-95655b44.js → Tooltip-fe0ed92d.js} +193 -106
  203. package/dist/esm/Ustream.js +1 -1
  204. package/dist/esm/VerticalHero.js +1 -1
  205. package/dist/esm/VideoProgramLandingPage.js +5 -6
  206. package/dist/esm/VideoSeriesCard.js +1 -1
  207. package/dist/esm/VideoSeriesLandingPage.js +5 -6
  208. package/dist/esm/VideoSeriesListing.js +3 -4
  209. package/dist/esm/View.js +14 -11
  210. package/dist/esm/YahooHero.js +1 -1
  211. package/dist/esm/YoutubeGroup.js +1 -1
  212. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-a2422c4b.js} +3 -3
  213. package/dist/esm/{defineProperty-23a8f8cd.js → defineProperty-e8022d1e.js} +2 -4
  214. package/dist/esm/getQuery.js +1 -2
  215. package/dist/esm/getRelatedArticle.js +34 -16
  216. package/dist/esm/getSerializers.js +5 -6
  217. package/dist/esm/{index-2fe6b5b1.js → index-1d1bbc8c.js} +235 -16
  218. package/dist/esm/index-4550ef23.js +1571 -0
  219. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  220. package/dist/esm/{index-98ca9cec.js → index-c8d5e72b.js} +13 -14
  221. package/dist/esm/index.js +14 -16
  222. package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
  223. package/dist/esm/{moment-bc12cb97.js → moment-48faeb9c.js} +95 -80
  224. package/dist/esm/timeDifferenceCalc.js +1 -1
  225. package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
  226. package/package.json +1 -1
  227. package/dist/cjs/events-1b438fe7.js +0 -469
  228. package/dist/cjs/index-f86bb269.js +0 -1571
  229. package/dist/cjs/typeof-1358762e.js +0 -33
  230. package/dist/esm/events-6c3a7a63.js +0 -467
  231. package/dist/esm/index-79cfd25c.js +0 -1569
  232. package/dist/esm/typeof-2f07d0e8.js +0 -30
@@ -1,7 +1,7 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
2
2
  import { _ as _typeof } from './typeof-3ab7d3b6.js';
3
3
  import React__default from 'react';
4
- import { m as moment } from './moment-bc12cb97.js';
4
+ import { m as moment } from './moment-48faeb9c.js';
5
5
  import { g as getYoutubeId } from './index-c7e2ac95.js';
6
6
  import Breadcrumbs from './Breadcrumbs.js';
7
7
  import MasterDeck from './MasterDeck.js';
@@ -20,8 +20,7 @@ import './toConsumableArray-e6f28e5c.js';
20
20
  import './inherits-96c84cbd.js';
21
21
  import './_object-sap-14bd8e96.js';
22
22
  import './define-property-433c51d3.js';
23
- import './index-f0fc23eb.js';
24
- import './events-6c3a7a63.js';
23
+ import './index-5cc7b406.js';
25
24
  import 'prop-types';
26
25
  import 'react-bootstrap/Container';
27
26
  import 'react-bootstrap/Row';
@@ -36,13 +35,13 @@ import './index.es-a6137319.js';
36
35
  import './visibility-sensor-72fd8f8b.js';
37
36
  import 'react-dom';
38
37
  import './index-3f5c03b2.js';
39
- import './ADlgInfeed-8a3c14d7.js';
38
+ import './ADlgInfeed-3c717ece.js';
40
39
  import './AdSlot.js';
41
40
  import './Beam.js';
42
41
  import './stringify-1e2a5946.js';
43
42
  import './Segment.js';
44
- import './main-f97773b2.js';
45
- import './ADInfeed-e8fc8fbb.js';
43
+ import './main-754d4992.js';
44
+ import './ADInfeed-41bba2c6.js';
46
45
  import './index-755f2cc2.js';
47
46
  import './urlFor.js';
48
47
  import './style-inject.es-1f59c1d0.js';
@@ -1,11 +1,11 @@
1
1
  import { _ as _extends } from './extends-2f4448b8.js';
2
2
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-96c84cbd.js';
3
3
  import React__default from 'react';
4
- import { l as lib_3 } from './index-f0fc23eb.js';
4
+ import { l as lib_3 } from './index-5cc7b406.js';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
7
7
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
8
- import { m as moment } from './moment-bc12cb97.js';
8
+ import { m as moment } from './moment-48faeb9c.js';
9
9
  import { withRouter } from 'next/router';
10
10
  import YoutubeGroup from './YoutubeGroup.js';
11
11
  import { d as debounce_1 } from './debounce-533d9748.js';
@@ -18,7 +18,6 @@ import './typeof-3ab7d3b6.js';
18
18
  import './web.dom.iterable-3fffc027.js';
19
19
  import './_is-array-68c79b29.js';
20
20
  import './_library-528f1934.js';
21
- import './events-6c3a7a63.js';
22
21
  import 'prop-types';
23
22
  import 'react-dom';
24
23
  import './iconBase-ccc56b97.js';
@@ -28,7 +27,7 @@ import './index-755f2cc2.js';
28
27
  import './smoothscroll-fa4e3f8c.js';
29
28
  import './urlFor.js';
30
29
  import './index-3f5c03b2.js';
31
- import './main-f97773b2.js';
30
+ import './main-754d4992.js';
32
31
  import './isSymbol-a7e9aafe.js';
33
32
  import './toNumber-5aeba6e7.js';
34
33
 
package/dist/esm/View.js CHANGED
@@ -6,18 +6,18 @@ import Head from 'next/head';
6
6
  import { useRouter } from 'next/router';
7
7
  import { _ as _JSON$stringify } from './stringify-1e2a5946.js';
8
8
  import { _ as _toConsumableArray } from './toConsumableArray-e6f28e5c.js';
9
- import { m as moment } from './moment-bc12cb97.js';
9
+ import { m as moment } from './moment-48faeb9c.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-2fe6b5b1.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-1d1bbc8c.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-7913a789.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-acbdf4c9.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-b62a177c.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
@@ -32,7 +32,7 @@ import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpe
32
32
  import { PixelTrackingArticle } from './PixelTracking.js';
33
33
  import { _ as _Object$keys } from './keys-185288f4.js';
34
34
  import { I as InfiniteScroll } from './index.es-a6137319.js';
35
- import { l as lib_3 } from './index-f0fc23eb.js';
35
+ import { l as lib_3 } from './index-5cc7b406.js';
36
36
  import getRelatedArticle from './getRelatedArticle.js';
37
37
  import getQuery from './getQuery.js';
38
38
  import getSeriesDetail from './getSeriesDetail.js';
@@ -49,7 +49,7 @@ import 'react-bootstrap';
49
49
  import './index-c7e2ac95.js';
50
50
  import './Beam.js';
51
51
  import './Segment.js';
52
- import './brightcove-react-player-loader.es-57a70a56.js';
52
+ import './brightcove-react-player-loader.es-a2422c4b.js';
53
53
  import './_object-to-array-9dfdfb29.js';
54
54
  import 'react-bootstrap/Modal';
55
55
  import 'react-ga';
@@ -73,7 +73,6 @@ import './checkSisterSite-a7218fda.js';
73
73
  import './debounce-533d9748.js';
74
74
  import './isSymbol-a7e9aafe.js';
75
75
  import './toNumber-5aeba6e7.js';
76
- import './events-6c3a7a63.js';
77
76
 
78
77
  var getArticleSummary = function getArticleSummary(article) {
79
78
  if (article.summary && article.summary.length > 0) {
@@ -886,7 +885,7 @@ var RelevantTopics = function RelevantTopics(props) {
886
885
  { key: relatedLink.label, className: 'related-link' },
887
886
  React__default.createElement(
888
887
  'a',
889
- { className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
888
+ { className: 'related-links recomm', style: { color: 'blue' }, href: relatedLink.href },
890
889
  relatedLink.label
891
890
  ),
892
891
  React__default.createElement(
@@ -1277,8 +1276,10 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1277
1276
  if (cp.excludeRelatedContents) {
1278
1277
  return null;
1279
1278
  }
1280
- var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.path;
1281
- var href = '/' + cp_url;
1279
+ // const cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.path
1280
+ var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.parent && !cp.path.includes('/') ? '/' + cp.parent + '/' + cp.path : '/' + cp.path;
1281
+ var href = '' + cp_url;
1282
+ console.log("hrwef", href);
1282
1283
  relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
1283
1284
  });
1284
1285
  }
@@ -1299,7 +1300,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1299
1300
  { key: index, className: 'related-link' },
1300
1301
  React__default.createElement(
1301
1302
  'a',
1302
- { className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
1303
+ { className: 'related-links article', style: { color: 'blue' }, href: relatedLink.href },
1303
1304
  relatedLink.label
1304
1305
  ),
1305
1306
  React__default.createElement(
@@ -2374,6 +2375,8 @@ var View = function View(props) {
2374
2375
  var title = _props$article2.title,
2375
2376
  seriesShareOptions = _props$article2.seriesShareOptions;
2376
2377
 
2378
+ console.log(props);
2379
+
2377
2380
  var _useState = useState(0),
2378
2381
  _useState2 = _slicedToArray(_useState, 2),
2379
2382
  currentPage = _useState2[0],
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { m as moment } from './moment-bc12cb97.js';
2
+ import { m as moment } from './moment-48faeb9c.js';
3
3
  import urlFor from './urlFor.js';
4
4
  import { c as clean_html_1 } from './entities-6d9154b4.js';
5
5
  import { A as AuthorComponent } from './AuthorComponent-d9653ae5.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-3fffc027.js';
10
10
  import './core.get-iterator-method-95db387d.js';
@@ -564,7 +564,7 @@ proto.createDocumentFragment = function createDocumentFragment() {
564
564
  };
565
565
 
566
566
  proto.createEvent = function createEvent(family) {
567
- return new event(family)
567
+ return new event()
568
568
  };
569
569
 
570
570
  proto.createComment = function createComment(data) {
@@ -625,7 +625,7 @@ if (typeof window !== "undefined") {
625
625
 
626
626
  var window_1 = win;
627
627
 
628
- /*! @name @brightcove/react-player-loader @version 1.4.1 @license Apache-2.0 */
628
+ /*! @name @brightcove/react-player-loader @version 1.4.2 @license Apache-2.0 */
629
629
 
630
630
  function _extends() {
631
631
  _extends = Object.assign || function (target) {
@@ -2073,7 +2073,7 @@ function (_React$Component) {
2073
2073
 
2074
2074
  _proto.updatePlayer = function updatePlayer(changes) {
2075
2075
  // No player exists, player is disposed, or not using the catalog
2076
- if (!this.player || !this.player.el()) {
2076
+ if (!this.player || !this.player.el || !this.player.el()) {
2077
2077
  return;
2078
2078
  } // If the player is using the catalog plugin, we _may_ populate this
2079
2079
  // variable with an object.
@@ -37,8 +37,7 @@ function _asyncToGenerator(fn) {
37
37
  };
38
38
  }
39
39
 
40
- module.exports = _asyncToGenerator;
41
- module.exports["default"] = module.exports, module.exports.__esModule = true;
40
+ module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
42
41
  });
43
42
 
44
43
  var _asyncToGenerator = unwrapExports(asyncToGenerator);
@@ -59,8 +58,7 @@ function _defineProperty(obj, key, value) {
59
58
  return obj;
60
59
  }
61
60
 
62
- module.exports = _defineProperty;
63
- module.exports["default"] = module.exports, module.exports.__esModule = true;
61
+ module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
64
62
  });
65
63
 
66
64
  var _defineProperty = unwrapExports(defineProperty);
@@ -5,13 +5,12 @@ var getQuery = function getQuery(type) {
5
5
 
6
6
  //Added feature to include additional conditions and parameters for site level operations
7
7
  //Site level conditions should start with && (logical AND), and site level params should end with , (comma) in order to execute query
8
-
9
8
  switch (type) {
10
9
  // quiz video series and slideshow
11
10
  case 'related':
12
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 && !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 ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\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
12
  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 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 pixelTrackingCode->,\n pixelTrackingArticleDetail,\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 }';
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 && defined(published) \n && dateTime(published) <= dateTime(now())\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 pixelTrackingCode->,\n pixelTrackingArticleDetail,\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
14
  case 'publication':
16
15
  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
16
  case 'issue':
@@ -1,5 +1,5 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
2
- import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+ import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
3
3
  import getQuery from './getQuery.js';
4
4
  import './core.get-iterator-method-95db387d.js';
5
5
  import './web.dom.iterable-3fffc027.js';
@@ -29,7 +29,6 @@ var serialize_1 = serialize;
29
29
 
30
30
  var decode = decodeURIComponent;
31
31
  var encode = encodeURIComponent;
32
- var pairSplitRegExp = /; */;
33
32
 
34
33
  /**
35
34
  * RegExp to match field-content in RFC 7230 sec 3.2
@@ -60,28 +59,29 @@ function parse$1(str, options) {
60
59
 
61
60
  var obj = {};
62
61
  var opt = options || {};
63
- var pairs = str.split(pairSplitRegExp);
62
+ var pairs = str.split(';');
64
63
  var dec = opt.decode || decode;
65
64
 
66
65
  for (var i = 0; i < pairs.length; i++) {
67
66
  var pair = pairs[i];
68
- var eq_idx = pair.indexOf('=');
67
+ var index = pair.indexOf('=');
69
68
 
70
69
  // skip things that don't look like key=value
71
- if (eq_idx < 0) {
70
+ if (index < 0) {
72
71
  continue;
73
72
  }
74
73
 
75
- var key = pair.substr(0, eq_idx).trim();
76
- var val = pair.substr(++eq_idx, pair.length).trim();
77
-
78
- // quoted values
79
- if ('"' == val[0]) {
80
- val = val.slice(1, -1);
81
- }
74
+ var key = pair.substring(0, index).trim();
82
75
 
83
76
  // only assign once
84
77
  if (undefined == obj[key]) {
78
+ var val = pair.substring(index + 1, pair.length).trim();
79
+
80
+ // quoted values
81
+ if (val[0] === '"') {
82
+ val = val.slice(1, -1);
83
+ }
84
+
85
85
  obj[key] = tryDecode(val, dec);
86
86
  }
87
87
  }
@@ -225,9 +225,11 @@ function isNonEmptyString(str) {
225
225
 
226
226
  function parseString(setCookieValue, options) {
227
227
  var parts = setCookieValue.split(";").filter(isNonEmptyString);
228
- var nameValue = parts.shift().split("=");
229
- var name = nameValue.shift();
230
- var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
228
+
229
+ var nameValuePairStr = parts.shift();
230
+ var parsed = parseNameValuePair(nameValuePairStr);
231
+ var name = parsed.name;
232
+ var value = parsed.value;
231
233
 
232
234
  options = options
233
235
  ? Object.assign({}, defaultParseOptions, options)
@@ -245,7 +247,7 @@ function parseString(setCookieValue, options) {
245
247
  }
246
248
 
247
249
  var cookie = {
248
- name: name, // grab everything before the first =
250
+ name: name,
249
251
  value: value,
250
252
  };
251
253
 
@@ -271,6 +273,22 @@ function parseString(setCookieValue, options) {
271
273
  return cookie;
272
274
  }
273
275
 
276
+ function parseNameValuePair(nameValuePairStr) {
277
+ // Parses name-value-pair according to rfc6265bis draft
278
+
279
+ var name = "";
280
+ var value = "";
281
+ var nameValueArr = nameValuePairStr.split("=");
282
+ if (nameValueArr.length > 1) {
283
+ name = nameValueArr.shift();
284
+ value = nameValueArr.join("="); // everything after the first =, joined by a "=" if there was more than one part
285
+ } else {
286
+ value = nameValuePairStr;
287
+ }
288
+
289
+ return { name: name, value: value };
290
+ }
291
+
274
292
  function parse(input, options) {
275
293
  options = options
276
294
  ? Object.assign({}, defaultParseOptions, options)
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-2fe6b5b1.js';
2
+ export { g as default } from './index-1d1bbc8c.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-72ed566b.js';
@@ -10,8 +10,7 @@ import 'react-bootstrap';
10
10
  import './urlFor.js';
11
11
  import './extends-2f4448b8.js';
12
12
  import './index-3f5c03b2.js';
13
- import './index-f0fc23eb.js';
14
- import './events-6c3a7a63.js';
13
+ import './index-5cc7b406.js';
15
14
  import 'prop-types';
16
15
  import 'next/router';
17
16
  import './index-c7e2ac95.js';
@@ -22,13 +21,13 @@ import './_library-528f1934.js';
22
21
  import './_set-species-7d3317b7.js';
23
22
  import './_iter-detect-2f89237f.js';
24
23
  import './Segment.js';
25
- import './main-f97773b2.js';
24
+ import './main-754d4992.js';
26
25
  import './urlForFile-2e523b67.js';
27
26
  import './index-755f2cc2.js';
28
27
  import 'react-dom';
29
28
  import './typeof-3ab7d3b6.js';
30
29
  import './_is-array-68c79b29.js';
31
- import './brightcove-react-player-loader.es-57a70a56.js';
30
+ import './brightcove-react-player-loader.es-a2422c4b.js';
32
31
  import './_object-to-array-9dfdfb29.js';
33
32
  import './keys-185288f4.js';
34
33
  import './_object-sap-14bd8e96.js';
@@ -38,7 +37,7 @@ import 'react-bootstrap/Form';
38
37
  import 'react-ga';
39
38
  import './GroupDeck.js';
40
39
  import './smoothscroll-fa4e3f8c.js';
41
- import './moment-bc12cb97.js';
40
+ import './moment-48faeb9c.js';
42
41
  import './SocialShare.js';
43
42
  import 'next/head';
44
43
  import 'react-share';