@mjhls/mjh-framework 1.0.1005-next12-0001 → 1.0.1005-next12-0003

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 (605) hide show
  1. package/dist/cjs/AD-898996a0.js +1 -0
  2. package/dist/cjs/AD.js +1 -32
  3. package/dist/cjs/AD300x250-266996c8.js +1 -0
  4. package/dist/cjs/AD300x250.js +1 -95
  5. package/dist/cjs/AD300x250x600-f5ccbeef.js +1 -0
  6. package/dist/cjs/AD300x250x600.js +1 -112
  7. package/dist/cjs/AD728x90-cfaa3590.js +1 -0
  8. package/dist/cjs/AD728x90.js +1 -109
  9. package/dist/cjs/ADFloatingFooter-6a82d5a0.js +1 -0
  10. package/dist/cjs/ADFloatingFooter.js +1 -143
  11. package/dist/cjs/ADFooter-86087810.js +1 -0
  12. package/dist/cjs/ADFooter.js +1 -53
  13. package/dist/cjs/ADGutter-c2fafa7d.js +1 -0
  14. package/dist/cjs/ADGutter.js +1 -115
  15. package/dist/cjs/ADInfeed-f496a8f6.js +1 -0
  16. package/dist/cjs/ADSkyscraper-dcea8c02.js +1 -0
  17. package/dist/cjs/ADSkyscraper.js +1 -117
  18. package/dist/cjs/ADSponsoredResources-b3c41d02.js +1 -0
  19. package/dist/cjs/ADSponsoredResources.js +1 -114
  20. package/dist/cjs/ADWebcast-cd4cb6eb.js +1 -0
  21. package/dist/cjs/ADWebcast.js +1 -119
  22. package/dist/cjs/ADWelcome-62c95f83.js +1 -0
  23. package/dist/cjs/ADWelcome.js +1 -166
  24. package/dist/cjs/ADlgInfeed-01f5ef1b.js +1 -0
  25. package/dist/cjs/AccordionPanel-9a3ea5e9.js +1 -0
  26. package/dist/cjs/AccordionPanel.js +1 -94
  27. package/dist/cjs/AdSlot-d541f28d.js +1 -0
  28. package/dist/cjs/AdSlot.js +1 -251
  29. package/dist/cjs/AdSlotsProvider-2e4f7f6f.js +1 -0
  30. package/dist/cjs/AdSlotsProvider.js +1 -183
  31. package/dist/cjs/AlgoliaSearch-8eab2349.js +1 -0
  32. package/dist/cjs/AlgoliaSearch.js +1 -195
  33. package/dist/cjs/AlphabeticList-a86a341f.js +1 -0
  34. package/dist/cjs/AlphabeticList.js +1 -135
  35. package/dist/cjs/ArticleCarousel-75b7d666.js +1 -0
  36. package/dist/cjs/ArticleCarousel.js +1 -46
  37. package/dist/cjs/ArticleProgramLandingPage-c22f8d23.js +1 -0
  38. package/dist/cjs/ArticleProgramLandingPage.js +1 -188
  39. package/dist/cjs/ArticleSeriesLandingPage-5225aa96.js +1 -0
  40. package/dist/cjs/ArticleSeriesLandingPage.js +1 -162
  41. package/dist/cjs/ArticleSeriesListing-be79214a.js +1 -0
  42. package/dist/cjs/ArticleSeriesListing.js +1 -315
  43. package/dist/cjs/Auth.js +1 -3514
  44. package/dist/cjs/AuthWrapper.js +1 -143
  45. package/dist/cjs/AuthorComponent-91032070.js +1 -0
  46. package/dist/cjs/Beam.js +1 -350
  47. package/dist/cjs/Breadcrumbs-ad264db7.js +1 -0
  48. package/dist/cjs/Breadcrumbs.js +1 -107
  49. package/dist/cjs/CMEDeck-c58e524e.js +1 -0
  50. package/dist/cjs/CMEDeck.js +1 -443
  51. package/dist/cjs/Column1-9a0e0262.js +1 -0
  52. package/dist/cjs/Column1.js +1 -39
  53. package/dist/cjs/Column2-739faed9.js +1 -0
  54. package/dist/cjs/Column2.js +1 -74
  55. package/dist/cjs/Column3-fa7c056f.js +1 -0
  56. package/dist/cjs/Column3.js +1 -143
  57. package/dist/cjs/ConferenceArticleCard-4f472e4b.js +1 -0
  58. package/dist/cjs/ConferenceArticleCard.js +1 -93
  59. package/dist/cjs/ConferenceBanner-9fb497af.js +1 -0
  60. package/dist/cjs/ContentCard-94a11e61.js +1 -0
  61. package/dist/cjs/ContentCardPaginated.js +1 -417
  62. package/dist/cjs/DeckContent.js +1 -507
  63. package/dist/cjs/DeckQueue.js +1 -403
  64. package/dist/cjs/DeckQueuePaginated.js +1 -348
  65. package/dist/cjs/Dfp-6d5370e2.js +1 -0
  66. package/dist/cjs/DropdownButton-469c179c.js +6 -0
  67. package/dist/cjs/Dvm-d7766f28.js +1 -0
  68. package/dist/cjs/EventsDeck-6f4dae1e.js +1 -0
  69. package/dist/cjs/EventsDeck.js +1 -884
  70. package/dist/cjs/ExternalResources-e965dd3d.js +1 -0
  71. package/dist/cjs/ExternalResources.js +1 -222
  72. package/dist/cjs/Feature-3cf45f11.js +1 -0
  73. package/dist/cjs/Feature.js +1 -129
  74. package/dist/cjs/ForbesHero-741e751e.js +1 -0
  75. package/dist/cjs/ForbesHero.js +1 -137
  76. package/dist/cjs/GridContent-ffe6735d.js +1 -0
  77. package/dist/cjs/GridContent.js +1 -828
  78. package/dist/cjs/GridContentPaginated.js +1 -704
  79. package/dist/cjs/GridHero-80338231.js +1 -0
  80. package/dist/cjs/GridHero.js +1 -147
  81. package/dist/cjs/GroupDeck-f3b67f3d.js +1 -0
  82. package/dist/cjs/GroupDeck.js +1 -314
  83. package/dist/cjs/HamMagazine.js +1 -602
  84. package/dist/cjs/HamburgerNav-ef1d1832.js +1 -0
  85. package/dist/cjs/Header-268a2cda.js +1 -0
  86. package/dist/cjs/Header.js +1 -39
  87. package/dist/cjs/HealthCareProfessionalModal.js +1 -78
  88. package/dist/cjs/Hero-43574b9d.js +1 -0
  89. package/dist/cjs/Hero.js +1 -48
  90. package/dist/cjs/HighlightenVideo-20edba55.js +1 -0
  91. package/dist/cjs/HighlightenVideo.js +1 -69
  92. package/dist/cjs/HorizontalArticleListing-906f5b20.js +1 -0
  93. package/dist/cjs/HorizontalArticleListing.js +1 -169
  94. package/dist/cjs/HorizontalHero-7911527d.js +1 -0
  95. package/dist/cjs/HorizontalHero.js +1 -111
  96. package/dist/cjs/ImageSlider-1b09bc59.js +1 -0
  97. package/dist/cjs/IssueContentDeck-f79e2c82.js +1 -0
  98. package/dist/cjs/IssueContentDeck.js +1 -241
  99. package/dist/cjs/IssueDeck-e41a10eb.js +1 -0
  100. package/dist/cjs/IssueDeck.js +1 -268
  101. package/dist/cjs/IssueLanding-89e0e42f.js +1 -0
  102. package/dist/cjs/IssueLanding.js +1 -176
  103. package/dist/cjs/KMTracker-4e1de793.js +1 -0
  104. package/dist/cjs/KMTracker.js +1 -27
  105. package/dist/cjs/LeftNav-1f40f0cc.js +1 -0
  106. package/dist/cjs/LeftNav.js +1 -154
  107. package/dist/cjs/Magazine-93dc6beb.js +1 -0
  108. package/dist/cjs/MasterDeck-65dd366b.js +1 -0
  109. package/dist/cjs/MasterDeck.js +1 -555
  110. package/dist/cjs/MasterDeckPaginated.js +1 -469
  111. package/dist/cjs/MediaSeriesCard-8ae50064.js +1 -0
  112. package/dist/cjs/MediaSeriesLanding.js +1 -508
  113. package/dist/cjs/MediaSeriesLandingPaginated.js +1 -534
  114. package/dist/cjs/Native-d1a75938.js +1 -0
  115. package/dist/cjs/NavDvm.js +1 -276
  116. package/dist/cjs/NavFooter-f905aca3.js +1 -0
  117. package/dist/cjs/NavMagazine.js +1 -613
  118. package/dist/cjs/NavNative.js +1 -880
  119. package/dist/cjs/Normal-1e9c0fa8.js +1 -0
  120. package/dist/cjs/OncliveHero-3fb41e1f.js +1 -0
  121. package/dist/cjs/OncliveHero.js +1 -79
  122. package/dist/cjs/OncliveLargeHero-c538ea20.js +1 -0
  123. package/dist/cjs/OncliveLargeHero.js +1 -241
  124. package/dist/cjs/PageFilter-4bb08c20.js +1 -0
  125. package/dist/cjs/PageFilter.js +1 -72
  126. package/dist/cjs/Pagination-825e4903.js +1 -0
  127. package/dist/cjs/PartnerDetailListing-f849c242.js +1 -0
  128. package/dist/cjs/PartnerDetailListing.js +1 -344
  129. package/dist/cjs/PartnerDetailListingPaginated.js +1 -353
  130. package/dist/cjs/PdfDownload-c99142ff.js +1 -0
  131. package/dist/cjs/PdfDownload.js +1 -28
  132. package/dist/cjs/PixelTracking.js +1 -165
  133. package/dist/cjs/PodcastsLanding.js +1 -236
  134. package/dist/cjs/PopUpModal-7cc1667b.js +1 -0
  135. package/dist/cjs/PopUpModal.js +1 -58
  136. package/dist/cjs/PtceDeck.js +1 -149
  137. package/dist/cjs/PubSection-e962964d.js +1 -0
  138. package/dist/cjs/PubSection.js +1 -120
  139. package/dist/cjs/PubToc-e2ff1533.js +1 -0
  140. package/dist/cjs/PubToc.js +1 -87
  141. package/dist/cjs/PublicationDeck-fd0d582f.js +1 -0
  142. package/dist/cjs/PublicationDeck.js +1 -183
  143. package/dist/cjs/PublicationFeature-00d7d119.js +1 -0
  144. package/dist/cjs/PublicationLanding-a8b90432.js +1 -0
  145. package/dist/cjs/PublicationLanding.js +1 -853
  146. package/dist/cjs/Queue-6872841c.js +1 -0
  147. package/dist/cjs/QueueDeckExpanded-b5dd6cda.js +1 -0
  148. package/dist/cjs/QueueDeckExpanded.js +1 -1540
  149. package/dist/cjs/QueueDeckExpandedPaginated.js +1 -1388
  150. package/dist/cjs/RecentNews.js +1 -91
  151. package/dist/cjs/RelatedContent-fa1fdaf1.js +1 -0
  152. package/dist/cjs/RelatedContent.js +1 -114
  153. package/dist/cjs/RelatedTopicsDropdown-4736b927.js +1 -0
  154. package/dist/cjs/RelatedTopicsDropdown.js +1 -90
  155. package/dist/cjs/RolesDeck-83cbb45e.js +1 -0
  156. package/dist/cjs/RolesDeck.js +1 -94
  157. package/dist/cjs/Schema-5c66c5cd.js +1 -0
  158. package/dist/cjs/Schema.js +1 -103
  159. package/dist/cjs/Search.js +1 -66
  160. package/dist/cjs/Segment.js +1 -452
  161. package/dist/cjs/SeriesListingDeck.js +1 -248
  162. package/dist/cjs/SeriesSlider-72fde209.js +1 -0
  163. package/dist/cjs/SetCookie.js +1 -10
  164. package/dist/cjs/SideFooter-2b3625c9.js +1 -0
  165. package/dist/cjs/SideFooter.js +1 -150
  166. package/dist/cjs/SocialIcons-425827d3.js +1 -0
  167. package/dist/cjs/SocialIcons.js +1 -103
  168. package/dist/cjs/SocialNavFooter-8f053a08.js +1 -0
  169. package/dist/cjs/SocialSearchComponent-3dc5405e.js +1 -0
  170. package/dist/cjs/SocialShare-3d7c8abe.js +1 -0
  171. package/dist/cjs/SocialShare.js +1 -74
  172. package/dist/cjs/TaxonomyCard-ca56a7b2.js +1 -0
  173. package/dist/cjs/TaxonomyCard.js +1 -257
  174. package/dist/cjs/TaxonomyDescription-becc5cc5.js +1 -0
  175. package/dist/cjs/TaxonomyDescription.js +1 -209
  176. package/dist/cjs/TemplateNormal.js +1 -203
  177. package/dist/cjs/ThumbnailCard-25c9e37b.js +1 -0
  178. package/dist/cjs/ThumbnailCard.js +1 -59
  179. package/dist/cjs/Ustream-e85bed96.js +1 -0
  180. package/dist/cjs/Ustream.js +1 -156
  181. package/dist/cjs/VerticalHero-ef71262f.js +1 -0
  182. package/dist/cjs/VerticalHero.js +1 -74
  183. package/dist/cjs/VideoProgramLandingPage-bcef4cda.js +1 -0
  184. package/dist/cjs/VideoProgramLandingPage.js +1 -264
  185. package/dist/cjs/VideoSeriesCard.js +1 -88
  186. package/dist/cjs/VideoSeriesFilter-c45505be.js +1 -0
  187. package/dist/cjs/VideoSeriesFilter.js +1 -128
  188. package/dist/cjs/VideoSeriesLandingPage-7e199b48.js +1 -0
  189. package/dist/cjs/VideoSeriesLandingPage.js +1 -178
  190. package/dist/cjs/VideoSeriesListing-0d8ffc18.js +1 -0
  191. package/dist/cjs/VideoSeriesListing.js +1 -422
  192. package/dist/cjs/View.js +1 -2680
  193. package/dist/cjs/YahooHero-5cce225b.js +1 -0
  194. package/dist/cjs/YahooHero.js +1 -126
  195. package/dist/cjs/YoutubeGroup-d36b3e49.js +1 -0
  196. package/dist/cjs/YoutubeGroup.js +1 -371
  197. package/dist/cjs/_commonjsHelpers-0a7b82d9.js +1 -0
  198. package/dist/cjs/beam-6940aa8c.js +1 -0
  199. package/dist/cjs/checkSisterSite-d2d62375.js +1 -0
  200. package/dist/cjs/defineProperty-3cad0327.js +1 -0
  201. package/dist/cjs/entities-6106638a.js +1 -0
  202. package/dist/cjs/extends-f8003900.js +1 -0
  203. package/dist/cjs/faundadb.js +1 -406
  204. package/dist/cjs/getContentCategory-ee6d9fdf.js +1 -0
  205. package/dist/cjs/getKeywords-5341ea76.js +1 -0
  206. package/dist/cjs/getKeywords.js +1 -46
  207. package/dist/cjs/getPrototypeOf-e5dabebb.js +1 -0
  208. package/dist/cjs/getPtceActivities.js +1 -89
  209. package/dist/cjs/getQuery-154617ad.js +1 -0
  210. package/dist/cjs/getQuery.js +1 -28
  211. package/dist/cjs/getRelatedArticle-1008e957.js +1 -0
  212. package/dist/cjs/getRelatedArticle.js +1 -478
  213. package/dist/cjs/getRootDocGroup.js +1 -62
  214. package/dist/cjs/getSerializers.js +1 -68
  215. package/dist/cjs/getSeriesDetail-e2980903.js +1 -0
  216. package/dist/cjs/getSeriesDetail.js +1 -40
  217. package/dist/cjs/getTargeting-3b9a1da0.js +1 -0
  218. package/dist/cjs/getTargeting.js +1 -13
  219. package/dist/cjs/index-4c0b6033.js +1 -0
  220. package/dist/cjs/index-6e1fba48.js +1 -0
  221. package/dist/cjs/index-83bcf60c.js +1 -0
  222. package/dist/cjs/index-efb74633.js +1 -0
  223. package/dist/cjs/index.js +1 -643
  224. package/dist/cjs/searchForm-2a06a0a6.js +1 -0
  225. package/dist/cjs/segment-lib-1c52764b.js +1 -0
  226. package/dist/cjs/setCookie-e72f573d.js +1 -0
  227. package/dist/cjs/slicedToArray-e6d9072a.js +1 -0
  228. package/dist/cjs/style-inject.es-dcee06b6.js +1 -30
  229. package/dist/cjs/timeDifferenceCalc.js +1 -39
  230. package/dist/cjs/toConsumableArray-bf649f24.js +1 -0
  231. package/dist/cjs/typeof-5f2c4427.js +1 -0
  232. package/dist/cjs/unsupportedIterableToArray-a6f9513d.js +1 -0
  233. package/dist/cjs/urlFor-ca017581.js +1 -0
  234. package/dist/cjs/urlFor.js +1 -65
  235. package/dist/cjs/urlForFile-266cd07c.js +1 -0
  236. package/dist/cjs/ustream-api-05a918f3.js +1 -0
  237. package/dist/esm/AD-52252475.js +1 -0
  238. package/dist/esm/AD.js +1 -26
  239. package/dist/esm/AD300x250-6ba14878.js +1 -0
  240. package/dist/esm/AD300x250.js +1 -89
  241. package/dist/esm/AD300x250x600-371610a9.js +1 -0
  242. package/dist/esm/AD300x250x600.js +1 -106
  243. package/dist/esm/AD728x90-22304c6a.js +1 -0
  244. package/dist/esm/AD728x90.js +1 -103
  245. package/dist/esm/ADFloatingFooter-57571461.js +1 -0
  246. package/dist/esm/ADFloatingFooter.js +1 -137
  247. package/dist/esm/ADFooter-def97764.js +1 -0
  248. package/dist/esm/ADFooter.js +1 -47
  249. package/dist/esm/ADGutter-05ea5a24.js +1 -0
  250. package/dist/esm/ADGutter.js +1 -109
  251. package/dist/esm/ADInfeed-20197eba.js +1 -0
  252. package/dist/esm/ADSkyscraper-d992d7aa.js +1 -0
  253. package/dist/esm/ADSkyscraper.js +1 -111
  254. package/dist/esm/ADSponsoredResources-169c4989.js +1 -0
  255. package/dist/esm/ADSponsoredResources.js +1 -108
  256. package/dist/esm/ADWebcast-aa6c2a84.js +1 -0
  257. package/dist/esm/ADWebcast.js +1 -113
  258. package/dist/esm/ADWelcome-be877a73.js +1 -0
  259. package/dist/esm/ADWelcome.js +1 -160
  260. package/dist/esm/ADlgInfeed-180f8b7e.js +1 -0
  261. package/dist/esm/AccordionPanel-4c89ec1e.js +1 -0
  262. package/dist/esm/AccordionPanel.js +1 -87
  263. package/dist/esm/AdSlot-7c2daad3.js +1 -0
  264. package/dist/esm/AdSlot.js +1 -244
  265. package/dist/esm/AdSlotsProvider-565c5169.js +1 -0
  266. package/dist/esm/AdSlotsProvider.js +1 -176
  267. package/dist/esm/AlgoliaSearch-a4af9d6e.js +1 -0
  268. package/dist/esm/AlgoliaSearch.js +1 -188
  269. package/dist/esm/AlphabeticList-fcf0c93c.js +1 -0
  270. package/dist/esm/AlphabeticList.js +1 -129
  271. package/dist/esm/ArticleCarousel-62e593d2.js +1 -0
  272. package/dist/esm/ArticleCarousel.js +1 -40
  273. package/dist/esm/ArticleProgramLandingPage-0618efa4.js +1 -0
  274. package/dist/esm/ArticleProgramLandingPage.js +1 -182
  275. package/dist/esm/ArticleSeriesLandingPage-764a8206.js +1 -0
  276. package/dist/esm/ArticleSeriesLandingPage.js +1 -156
  277. package/dist/esm/ArticleSeriesListing-017388bd.js +1 -0
  278. package/dist/esm/ArticleSeriesListing.js +1 -308
  279. package/dist/esm/Auth.js +1 -3494
  280. package/dist/esm/AuthWrapper.js +1 -136
  281. package/dist/esm/AuthorComponent-4bb0a577.js +1 -0
  282. package/dist/esm/Beam.js +1 -348
  283. package/dist/esm/Breadcrumbs-11913dcf.js +1 -0
  284. package/dist/esm/Breadcrumbs.js +1 -100
  285. package/dist/esm/CMEDeck-d11e05c6.js +1 -0
  286. package/dist/esm/CMEDeck.js +1 -437
  287. package/dist/esm/Column1-3304e0a7.js +1 -0
  288. package/dist/esm/Column1.js +1 -29
  289. package/dist/esm/Column2-216e1b74.js +1 -0
  290. package/dist/esm/Column2.js +1 -64
  291. package/dist/esm/Column3-0799b8d1.js +1 -0
  292. package/dist/esm/Column3.js +1 -133
  293. package/dist/esm/ConferenceArticleCard-c8ebc4c5.js +1 -0
  294. package/dist/esm/ConferenceArticleCard.js +1 -87
  295. package/dist/esm/ConferenceBanner-8a6f3ed9.js +1 -0
  296. package/dist/esm/ContentCard-b326f8e0.js +1 -0
  297. package/dist/esm/ContentCardPaginated.js +1 -406
  298. package/dist/esm/DeckContent.js +1 -497
  299. package/dist/esm/DeckQueue.js +1 -393
  300. package/dist/esm/DeckQueuePaginated.js +1 -337
  301. package/dist/esm/Dfp-5935bfb4.js +1 -0
  302. package/dist/esm/DropdownButton-07c4dfae.js +6 -0
  303. package/dist/esm/Dvm-f67220c0.js +1 -0
  304. package/dist/esm/EventsDeck-f0ffda78.js +1 -0
  305. package/dist/esm/EventsDeck.js +1 -871
  306. package/dist/esm/ExternalResources-075e250c.js +1 -0
  307. package/dist/esm/ExternalResources.js +1 -215
  308. package/dist/esm/Feature-0c2c0b2d.js +1 -0
  309. package/dist/esm/Feature.js +1 -122
  310. package/dist/esm/ForbesHero-ec644354.js +1 -0
  311. package/dist/esm/ForbesHero.js +1 -131
  312. package/dist/esm/GridContent-99a1bfc4.js +1 -0
  313. package/dist/esm/GridContent.js +1 -818
  314. package/dist/esm/GridContentPaginated.js +1 -693
  315. package/dist/esm/GridHero-fd6a363f.js +1 -0
  316. package/dist/esm/GridHero.js +1 -141
  317. package/dist/esm/GroupDeck-c173accb.js +1 -0
  318. package/dist/esm/GroupDeck.js +1 -308
  319. package/dist/esm/HamMagazine.js +1 -590
  320. package/dist/esm/HamburgerNav-134f2aa6.js +1 -0
  321. package/dist/esm/Header-b0624adc.js +1 -0
  322. package/dist/esm/Header.js +1 -30
  323. package/dist/esm/HealthCareProfessionalModal.js +1 -70
  324. package/dist/esm/Hero-37edbb29.js +1 -0
  325. package/dist/esm/Hero.js +1 -42
  326. package/dist/esm/HighlightenVideo-5c3fd0fd.js +1 -0
  327. package/dist/esm/HighlightenVideo.js +1 -63
  328. package/dist/esm/HorizontalArticleListing-820bb4f7.js +1 -0
  329. package/dist/esm/HorizontalArticleListing.js +1 -163
  330. package/dist/esm/HorizontalHero-7576d927.js +1 -0
  331. package/dist/esm/HorizontalHero.js +1 -105
  332. package/dist/esm/ImageSlider-a0786266.js +1 -0
  333. package/dist/esm/IssueContentDeck-9d771cc2.js +1 -0
  334. package/dist/esm/IssueContentDeck.js +1 -231
  335. package/dist/esm/IssueDeck-787f939c.js +1 -0
  336. package/dist/esm/IssueDeck.js +1 -258
  337. package/dist/esm/IssueLanding-0e46e28d.js +1 -0
  338. package/dist/esm/IssueLanding.js +1 -170
  339. package/dist/esm/KMTracker-d9e1c288.js +1 -0
  340. package/dist/esm/KMTracker.js +1 -25
  341. package/dist/esm/LeftNav-b4fa0d0b.js +1 -0
  342. package/dist/esm/LeftNav.js +1 -145
  343. package/dist/esm/Magazine-fb80c07a.js +1 -0
  344. package/dist/esm/MasterDeck-5efbeb73.js +1 -0
  345. package/dist/esm/MasterDeck.js +1 -548
  346. package/dist/esm/MasterDeckPaginated.js +1 -461
  347. package/dist/esm/MediaSeriesCard-18ee909f.js +1 -0
  348. package/dist/esm/MediaSeriesLanding.js +1 -501
  349. package/dist/esm/MediaSeriesLandingPaginated.js +1 -527
  350. package/dist/esm/Native-41cedb31.js +1 -0
  351. package/dist/esm/NavDvm.js +1 -264
  352. package/dist/esm/NavFooter-83d89acd.js +1 -0
  353. package/dist/esm/NavMagazine.js +1 -601
  354. package/dist/esm/NavNative.js +1 -865
  355. package/dist/esm/Normal-28f50540.js +1 -0
  356. package/dist/esm/OncliveHero-525c9d19.js +1 -0
  357. package/dist/esm/OncliveHero.js +1 -73
  358. package/dist/esm/OncliveLargeHero-219b4577.js +1 -0
  359. package/dist/esm/OncliveLargeHero.js +1 -235
  360. package/dist/esm/PageFilter-7f97f8ed.js +1 -0
  361. package/dist/esm/PageFilter.js +1 -66
  362. package/dist/esm/Pagination-44c3ff7c.js +1 -0
  363. package/dist/esm/PartnerDetailListing-7ec391ac.js +1 -0
  364. package/dist/esm/PartnerDetailListing.js +1 -338
  365. package/dist/esm/PartnerDetailListingPaginated.js +1 -347
  366. package/dist/esm/PdfDownload-eff648d3.js +1 -0
  367. package/dist/esm/PdfDownload.js +1 -22
  368. package/dist/esm/PixelTracking.js +1 -156
  369. package/dist/esm/PodcastsLanding.js +1 -229
  370. package/dist/esm/PopUpModal-bf7b6151.js +1 -0
  371. package/dist/esm/PopUpModal.js +1 -51
  372. package/dist/esm/PtceDeck.js +1 -143
  373. package/dist/esm/PubSection-37b37129.js +1 -0
  374. package/dist/esm/PubSection.js +1 -114
  375. package/dist/esm/PubToc-af66289b.js +1 -0
  376. package/dist/esm/PubToc.js +1 -81
  377. package/dist/esm/PublicationDeck-cbef1029.js +1 -0
  378. package/dist/esm/PublicationDeck.js +1 -173
  379. package/dist/esm/PublicationFeature-13838b92.js +1 -0
  380. package/dist/esm/PublicationLanding-3d724d91.js +1 -0
  381. package/dist/esm/PublicationLanding.js +1 -843
  382. package/dist/esm/Queue-bb3f3625.js +1 -0
  383. package/dist/esm/QueueDeckExpanded-6af47534.js +1 -0
  384. package/dist/esm/QueueDeckExpanded.js +1 -1534
  385. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1382
  386. package/dist/esm/RecentNews.js +1 -85
  387. package/dist/esm/RelatedContent-85ad1d8e.js +1 -0
  388. package/dist/esm/RelatedContent.js +1 -108
  389. package/dist/esm/RelatedTopicsDropdown-0cf5829a.js +1 -0
  390. package/dist/esm/RelatedTopicsDropdown.js +1 -82
  391. package/dist/esm/RolesDeck-6146633e.js +1 -0
  392. package/dist/esm/RolesDeck.js +1 -84
  393. package/dist/esm/Schema-e0d1fc48.js +1 -0
  394. package/dist/esm/Schema.js +1 -97
  395. package/dist/esm/Search.js +1 -57
  396. package/dist/esm/Segment.js +1 -450
  397. package/dist/esm/SeriesListingDeck.js +1 -242
  398. package/dist/esm/SeriesSlider-21d0daf6.js +1 -0
  399. package/dist/esm/SetCookie.js +1 -8
  400. package/dist/esm/SideFooter-2f08df74.js +1 -0
  401. package/dist/esm/SideFooter.js +1 -144
  402. package/dist/esm/SocialIcons-c7861c13.js +1 -0
  403. package/dist/esm/SocialIcons.js +1 -97
  404. package/dist/esm/SocialNavFooter-66c6cf3c.js +1 -0
  405. package/dist/esm/SocialSearchComponent-a4fa0609.js +1 -0
  406. package/dist/esm/SocialShare-9cc43665.js +1 -0
  407. package/dist/esm/SocialShare.js +1 -67
  408. package/dist/esm/TaxonomyCard-f7ac379f.js +1 -0
  409. package/dist/esm/TaxonomyCard.js +1 -247
  410. package/dist/esm/TaxonomyDescription-32abd442.js +1 -0
  411. package/dist/esm/TaxonomyDescription.js +1 -202
  412. package/dist/esm/TemplateNormal.js +1 -196
  413. package/dist/esm/ThumbnailCard-8377176b.js +1 -0
  414. package/dist/esm/ThumbnailCard.js +1 -52
  415. package/dist/esm/Ustream-2e9965ac.js +1 -0
  416. package/dist/esm/Ustream.js +1 -150
  417. package/dist/esm/VerticalHero-5719a7c4.js +1 -0
  418. package/dist/esm/VerticalHero.js +1 -68
  419. package/dist/esm/VideoProgramLandingPage-9b20c066.js +1 -0
  420. package/dist/esm/VideoProgramLandingPage.js +1 -255
  421. package/dist/esm/VideoSeriesCard.js +1 -82
  422. package/dist/esm/VideoSeriesFilter-2ce9ff0e.js +1 -0
  423. package/dist/esm/VideoSeriesFilter.js +1 -122
  424. package/dist/esm/VideoSeriesLandingPage-1f6b5f71.js +1 -0
  425. package/dist/esm/VideoSeriesLandingPage.js +1 -172
  426. package/dist/esm/VideoSeriesListing-72688d44.js +1 -0
  427. package/dist/esm/VideoSeriesListing.js +1 -415
  428. package/dist/esm/View.js +1 -2669
  429. package/dist/esm/YahooHero-96f912cb.js +1 -0
  430. package/dist/esm/YahooHero.js +1 -120
  431. package/dist/esm/YoutubeGroup-fdd46eeb.js +1 -0
  432. package/dist/esm/YoutubeGroup.js +1 -365
  433. package/dist/esm/_commonjsHelpers-57e89916.js +1 -0
  434. package/dist/esm/beam-cf274172.js +1 -0
  435. package/dist/esm/checkSisterSite-20e2bf62.js +1 -0
  436. package/dist/esm/defineProperty-9f9de5d0.js +1 -0
  437. package/dist/esm/entities-c5c3079c.js +1 -0
  438. package/dist/esm/extends-464f0b6e.js +1 -0
  439. package/dist/esm/faundadb.js +1 -396
  440. package/dist/esm/getContentCategory-f99fdf90.js +1 -0
  441. package/dist/esm/getKeywords-2512775a.js +1 -0
  442. package/dist/esm/getKeywords.js +1 -44
  443. package/dist/esm/getPrototypeOf-5b57bbdd.js +1 -0
  444. package/dist/esm/getPtceActivities.js +1 -87
  445. package/dist/esm/getQuery-bfc0390c.js +1 -0
  446. package/dist/esm/getQuery.js +1 -26
  447. package/dist/esm/getRelatedArticle-418087a7.js +1 -0
  448. package/dist/esm/getRelatedArticle.js +1 -476
  449. package/dist/esm/getRootDocGroup.js +1 -60
  450. package/dist/esm/getSerializers.js +1 -62
  451. package/dist/esm/getSeriesDetail-aef9680c.js +1 -0
  452. package/dist/esm/getSeriesDetail.js +1 -38
  453. package/dist/esm/getTargeting-6bf24d0e.js +1 -0
  454. package/dist/esm/getTargeting.js +1 -7
  455. package/dist/esm/index-58183fed.js +1 -0
  456. package/dist/esm/index-663f3f10.js +1 -0
  457. package/dist/esm/index-bfecdbef.js +1 -0
  458. package/dist/esm/index-fcd6d5f7.js +1 -0
  459. package/dist/esm/index.js +1 -536
  460. package/dist/esm/searchForm-3f3f5af6.js +1 -0
  461. package/dist/esm/segment-lib-563b26a6.js +1 -0
  462. package/dist/esm/setCookie-0f2ab6df.js +1 -0
  463. package/dist/esm/slicedToArray-c92cae3a.js +1 -0
  464. package/dist/esm/style-inject.es-1f59c1d0.js +1 -28
  465. package/dist/esm/timeDifferenceCalc.js +1 -37
  466. package/dist/esm/toConsumableArray-25e5c43c.js +1 -0
  467. package/dist/esm/typeof-a0b2b621.js +1 -0
  468. package/dist/esm/unsupportedIterableToArray-dc74e326.js +1 -0
  469. package/dist/esm/urlFor-b366f69d.js +1 -0
  470. package/dist/esm/urlFor.js +1 -63
  471. package/dist/esm/urlForFile-272819a6.js +1 -0
  472. package/dist/esm/ustream-api-7998d140.js +1 -0
  473. package/package.json +21 -20
  474. package/dist/cjs/ADInfeed-08a6ef56.js +0 -66
  475. package/dist/cjs/ADlgInfeed-f46139b2.js +0 -60
  476. package/dist/cjs/AuthorComponent-17e1c62b.js +0 -96
  477. package/dist/cjs/BlockContent-8b494587.js +0 -916
  478. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  479. package/dist/cjs/Dfp-bcaa7e3f.js +0 -103
  480. package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
  481. package/dist/cjs/MediaSeriesCard-a6e3f32e.js +0 -81
  482. package/dist/cjs/NavFooter-4799de4b.js +0 -71
  483. package/dist/cjs/Pagination-7624a3bd.js +0 -90
  484. package/dist/cjs/PublicationFeature-6f89fb97.js +0 -130
  485. package/dist/cjs/SeriesSlider-08699353.js +0 -332
  486. package/dist/cjs/SocialSearchComponent-59192efd.js +0 -213
  487. package/dist/cjs/Tooltip-7be5df78.js +0 -9229
  488. package/dist/cjs/_commonjsHelpers-06173234.js +0 -25
  489. package/dist/cjs/_is-array-aa52fa1e.js +0 -74
  490. package/dist/cjs/_iter-detect-05795553.js +0 -52
  491. package/dist/cjs/_library-dd23b178.js +0 -5
  492. package/dist/cjs/_object-pie-68c5bcbc.js +0 -16
  493. package/dist/cjs/_object-sap-171b9ea5.js +0 -16
  494. package/dist/cjs/_object-to-array-9bac8737.js +0 -25
  495. package/dist/cjs/asyncToGenerator-df19209d.js +0 -1395
  496. package/dist/cjs/brightcove-react-player-loader.es-5c98aec7.js +0 -2232
  497. package/dist/cjs/checkSisterSite-b29833b2.js +0 -19
  498. package/dist/cjs/core.get-iterator-method-f3c44602.js +0 -584
  499. package/dist/cjs/debounce-529c8d06.js +0 -216
  500. package/dist/cjs/define-property-21887c62.js +0 -20
  501. package/dist/cjs/entities-310b46ee.js +0 -506
  502. package/dist/cjs/eq-bb2843ed.js +0 -79
  503. package/dist/cjs/extends-7df78678.js +0 -86
  504. package/dist/cjs/get-adbb11e3.js +0 -920
  505. package/dist/cjs/getContentCategory-f38a4c00.js +0 -11
  506. package/dist/cjs/getTargeting-5eabd6e2.js +0 -164
  507. package/dist/cjs/iconBase-68959171.js +0 -84
  508. package/dist/cjs/index-187c967e.js +0 -54
  509. package/dist/cjs/index-44481153.js +0 -1664
  510. package/dist/cjs/index-99edf08a.js +0 -1572
  511. package/dist/cjs/index-9d365128.js +0 -613
  512. package/dist/cjs/index-b278e08f.js +0 -10526
  513. package/dist/cjs/index-b5eb3ff8.js +0 -551
  514. package/dist/cjs/index-bd6c9f56.js +0 -211
  515. package/dist/cjs/index.es-f3e47207.js +0 -445
  516. package/dist/cjs/index.esm-44f3e2d0.js +0 -13
  517. package/dist/cjs/index.esm-48e0f0d8.js +0 -19
  518. package/dist/cjs/index.esm-f4cf6943.js +0 -97
  519. package/dist/cjs/index.esm-f93506ac.js +0 -25
  520. package/dist/cjs/inherits-420ee86f.js +0 -185
  521. package/dist/cjs/isSymbol-04666465.js +0 -209
  522. package/dist/cjs/js.cookie-a511c430.js +0 -160
  523. package/dist/cjs/keys-d207942e.js +0 -25
  524. package/dist/cjs/lodash-7fd85bcf.js +0 -17147
  525. package/dist/cjs/main-7b5e57b0.js +0 -898
  526. package/dist/cjs/md5-e1ca5797.js +0 -323
  527. package/dist/cjs/moment-ca3bd9fb.js +0 -5669
  528. package/dist/cjs/react-social-icons-07939b41.js +0 -616
  529. package/dist/cjs/slicedToArray-f6d4eaa8.js +0 -95
  530. package/dist/cjs/smoothscroll-5054361f.js +0 -438
  531. package/dist/cjs/stringify-bbc68047.js +0 -17
  532. package/dist/cjs/toConsumableArray-c9b8a0d0.js +0 -74
  533. package/dist/cjs/toNumber-36d1e7e5.js +0 -69
  534. package/dist/cjs/typeof-ec08d471.js +0 -382
  535. package/dist/cjs/urlForFile-ad96158c.js +0 -24
  536. package/dist/cjs/ustream-api-9ebe112f.js +0 -106
  537. package/dist/cjs/util-f2c1b65b.js +0 -576
  538. package/dist/cjs/visibility-sensor-eb2c5b69.js +0 -597
  539. package/dist/cjs/web.dom.iterable-e34bf324.js +0 -50
  540. package/dist/esm/ADInfeed-36973a76.js +0 -59
  541. package/dist/esm/ADlgInfeed-f6e898d5.js +0 -54
  542. package/dist/esm/AuthorComponent-b0a47123.js +0 -90
  543. package/dist/esm/BlockContent-d05b5b23.js +0 -909
  544. package/dist/esm/ConferenceBanner-9162d0ca.js +0 -18
  545. package/dist/esm/Dfp-e151d2de.js +0 -96
  546. package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
  547. package/dist/esm/MediaSeriesCard-66045ffb.js +0 -75
  548. package/dist/esm/NavFooter-da30eae3.js +0 -65
  549. package/dist/esm/Pagination-1e09918f.js +0 -82
  550. package/dist/esm/PublicationFeature-0379cc20.js +0 -121
  551. package/dist/esm/SeriesSlider-b364d074.js +0 -326
  552. package/dist/esm/SocialSearchComponent-09b55779.js +0 -204
  553. package/dist/esm/Tooltip-af3e4ee9.js +0 -9220
  554. package/dist/esm/_commonjsHelpers-0c4b6f40.js +0 -19
  555. package/dist/esm/_is-array-31d40a83.js +0 -71
  556. package/dist/esm/_iter-detect-72edfd60.js +0 -48
  557. package/dist/esm/_library-528f1934.js +0 -3
  558. package/dist/esm/_object-pie-33c40e79.js +0 -13
  559. package/dist/esm/_object-sap-4201ccf6.js +0 -14
  560. package/dist/esm/_object-to-array-fa0feeff.js +0 -23
  561. package/dist/esm/asyncToGenerator-9c835201.js +0 -1387
  562. package/dist/esm/brightcove-react-player-loader.es-4abff0b1.js +0 -2226
  563. package/dist/esm/checkSisterSite-baa4fb6b.js +0 -17
  564. package/dist/esm/core.get-iterator-method-8c71f470.js +0 -547
  565. package/dist/esm/debounce-9207d8ee.js +0 -214
  566. package/dist/esm/define-property-a8a00786.js +0 -18
  567. package/dist/esm/entities-7cc3bf45.js +0 -503
  568. package/dist/esm/eq-b470f743.js +0 -76
  569. package/dist/esm/extends-7fbbe94e.js +0 -83
  570. package/dist/esm/get-1e515072.js +0 -918
  571. package/dist/esm/getContentCategory-15dcc413.js +0 -9
  572. package/dist/esm/getTargeting-eed01f73.js +0 -161
  573. package/dist/esm/iconBase-602d52fe.js +0 -81
  574. package/dist/esm/index-1819118a.js +0 -1655
  575. package/dist/esm/index-3a7c5bbe.js +0 -10504
  576. package/dist/esm/index-51a80699.js +0 -548
  577. package/dist/esm/index-6c12bdd5.js +0 -605
  578. package/dist/esm/index-c7e2ac95.js +0 -52
  579. package/dist/esm/index-db3bb315.js +0 -207
  580. package/dist/esm/index-fa2ffe86.js +0 -1570
  581. package/dist/esm/index.es-c6222053.js +0 -439
  582. package/dist/esm/index.esm-55f22b35.js +0 -14
  583. package/dist/esm/index.esm-9d701385.js +0 -90
  584. package/dist/esm/index.esm-c6715e80.js +0 -10
  585. package/dist/esm/index.esm-d1125763.js +0 -18
  586. package/dist/esm/inherits-d26c739e.js +0 -179
  587. package/dist/esm/isSymbol-1981418f.js +0 -203
  588. package/dist/esm/js.cookie-6874175c.js +0 -158
  589. package/dist/esm/keys-5e9bd229.js +0 -23
  590. package/dist/esm/lodash-ec8c6b48.js +0 -17145
  591. package/dist/esm/main-43ca42fe.js +0 -886
  592. package/dist/esm/md5-4e42248e.js +0 -321
  593. package/dist/esm/moment-b6f49411.js +0 -5667
  594. package/dist/esm/react-social-icons-3822f1ce.js +0 -609
  595. package/dist/esm/slicedToArray-99bcfd93.js +0 -92
  596. package/dist/esm/smoothscroll-0cd4c7a6.js +0 -436
  597. package/dist/esm/stringify-0c65d837.js +0 -15
  598. package/dist/esm/toConsumableArray-47a5394a.js +0 -71
  599. package/dist/esm/toNumber-2f7a84cd.js +0 -67
  600. package/dist/esm/typeof-d92ed6e0.js +0 -378
  601. package/dist/esm/urlForFile-0fc42ed8.js +0 -22
  602. package/dist/esm/ustream-api-cbba615a.js +0 -104
  603. package/dist/esm/util-7700fc59.js +0 -574
  604. package/dist/esm/visibility-sensor-f40c2564.js +0 -590
  605. package/dist/esm/web.dom.iterable-406140e0.js +0 -48
@@ -1,229 +1 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-8c71f470.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-72edfd60.js';
5
- import './toConsumableArray-47a5394a.js';
6
- import './_object-pie-33c40e79.js';
7
- import { _ as _extends } from './extends-7fbbe94e.js';
8
- import './_object-sap-4201ccf6.js';
9
- import './inherits-d26c739e.js';
10
- import './define-property-a8a00786.js';
11
- import './web.dom.iterable-406140e0.js';
12
- import './typeof-d92ed6e0.js';
13
- import './_is-array-31d40a83.js';
14
- import React, { useState } from 'react';
15
- import './index-1819118a.js';
16
- import 'prop-types';
17
- import 'react-bootstrap/Container';
18
- import 'react-bootstrap/Row';
19
- import 'react-bootstrap/Col';
20
- import 'react-bootstrap/Card';
21
- import './moment-b6f49411.js';
22
- import 'next/router';
23
- import './isSymbol-1981418f.js';
24
- import './debounce-9207d8ee.js';
25
- import './toNumber-2f7a84cd.js';
26
- import './index.es-c6222053.js';
27
- import 'react-dom';
28
- import './visibility-sensor-f40c2564.js';
29
- import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
30
- import './index-51a80699.js';
31
- import './urlFor.js';
32
- import './index-6c12bdd5.js';
33
- import './main-43ca42fe.js';
34
- import './entities-7cc3bf45.js';
35
- import './stringify-0c65d837.js';
36
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
37
- import './Segment.js';
38
- import './Beam.js';
39
- import './AdSlot.js';
40
- import './ADInfeed-36973a76.js';
41
- import './lodash-ec8c6b48.js';
42
- import './ADlgInfeed-f6e898d5.js';
43
- import 'react-bootstrap/Button';
44
- import { B as BlockContent } from './BlockContent-d05b5b23.js';
45
- import './checkSisterSite-baa4fb6b.js';
46
- import './index-c7e2ac95.js';
47
- import './smoothscroll-0cd4c7a6.js';
48
- import './GroupDeck.js';
49
- import 'react-bootstrap';
50
- import './iconBase-602d52fe.js';
51
- import './index.esm-55f22b35.js';
52
- import { g as getSerializers } from './index-3a7c5bbe.js';
53
- import './util-7700fc59.js';
54
- import './urlForFile-0fc42ed8.js';
55
- import './brightcove-react-player-loader.es-4abff0b1.js';
56
- import './_object-to-array-fa0feeff.js';
57
- import './keys-5e9bd229.js';
58
- import 'react-bootstrap/Modal';
59
- import 'react-bootstrap/Form';
60
- import 'react-ga';
61
- import 'next/head';
62
- import 'react-share';
63
- import './SocialShare.js';
64
- import 'react-bootstrap/Pagination';
65
- import 'react-bootstrap/Figure';
66
- import 'react-bootstrap/OverlayTrigger';
67
- import 'react-bootstrap/Tooltip';
68
- import 'react-bootstrap/Popover';
69
- import 'react-script-tag';
70
- import MasterDeck from './MasterDeck.js';
71
- import './style-inject.es-1f59c1d0.js';
72
- import Link from 'next/link';
73
- import { M as MediaSeriesCard } from './MediaSeriesCard-66045ffb.js';
74
-
75
- var _this = undefined;
76
-
77
- var PodcastsLanding = function PodcastsLanding(props) {
78
- var client = props.client,
79
- pageview = props.pageview,
80
- currentPage = props.currentPage,
81
- taxonomyId = props.taxonomyId,
82
- parentUrl = props.parentUrl,
83
- nextPagePostsCount = props.nextPagePostsCount;
84
-
85
- var _useState = useState(props.seriesData),
86
- _useState2 = _slicedToArray(_useState, 2),
87
- seriesData = _useState2[0],
88
- setSeriesData = _useState2[1];
89
-
90
- var _useState3 = useState(props.params),
91
- _useState4 = _slicedToArray(_useState3, 2),
92
- params = _useState4[0],
93
- setParams = _useState4[1];
94
-
95
- var _useState5 = useState(props.query),
96
- _useState6 = _slicedToArray(_useState5, 2),
97
- query = _useState6[0],
98
- setQuery = _useState6[1];
99
-
100
- if (props.statusCode === 404) {
101
- return React.createElement(
102
- 'div',
103
- { className: 'd-flex flex-column align-items-center mt-3' },
104
- React.createElement(
105
- 'h3',
106
- null,
107
- '404: Resource not found'
108
- ),
109
- React.createElement(
110
- 'p',
111
- null,
112
- 'We seem to have misplaced the page you\'re looking for. Sorry! Please try checking the URL for errors.'
113
- ),
114
- React.createElement(
115
- 'p',
116
- null,
117
- 'Click here to',
118
- React.createElement(
119
- Link,
120
- { href: '/' },
121
- React.createElement(
122
- 'a',
123
- { style: { color: 'blue', textDecoration: 'underline' } },
124
- ' return to homepage.'
125
- )
126
- )
127
- )
128
- );
129
- }
130
-
131
- return React.createElement(
132
- 'div',
133
- { className: 'mb-5' },
134
- props.taxonomy && props.taxonomy.summary && React.createElement(BlockContent, { style: { marginTop: '1rem !important' }, blocks: props.taxonomy.summary, serializers: getSerializers(client) }),
135
- React.createElement('hr', { style: { marginTop: '2rem', marginBottom: '2rem' } }),
136
- seriesData && React.createElement(MasterDeck, {
137
- deck: MediaSeriesCard,
138
- variant: 'left',
139
- defaultImage: '/placeholder.jpg',
140
- client: client,
141
- dataRecord: seriesData,
142
- query: query && query,
143
- params: params && params,
144
- currentPage: currentPage,
145
- pageview: pageview,
146
- autoScroll: true,
147
- seoPaginate: true,
148
- nextPagePostsCount: nextPagePostsCount
149
- })
150
- );
151
- };
152
-
153
- PodcastsLanding.getInitialData = function () {
154
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(ctx, client, cache) {
155
- var urlQuery, pathname, req, identifier, itemsPerPage, currentPage, start, statusCode, params, taxonomyId, seriesQuery, seriesData, nextPagePostsCount;
156
- return regenerator.wrap(function _callee$(_context) {
157
- while (1) {
158
- switch (_context.prev = _context.next) {
159
- case 0:
160
- urlQuery = ctx.query, pathname = ctx.pathname, req = ctx.req;
161
- identifier = pathname.replace('/', '');
162
- itemsPerPage = 10;
163
- currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
164
- start = (currentPage - 1) * itemsPerPage;
165
- statusCode = 200;
166
- params = {
167
- count: itemsPerPage,
168
- from: start,
169
- to: start + itemsPerPage,
170
- url: pathname,
171
- itemsPerPage: itemsPerPage
172
- };
173
- _context.next = 9;
174
- return client.fetch('*[_type == \'taxonomy\' && identifier == \'' + identifier + '\'][0]{\n _id, \n name,\n summary,\n pixelTrackingCode->\n }');
175
-
176
- case 9:
177
- taxonomyId = _context.sent;
178
-
179
- // const taxonomyId = await client.fetch(`*[_type == 'taxonomy' && _id == '6d748e0d-7946-4a14-968e-ca8182f06c1e']`)
180
- // console.log('taxonomyId', taxonomyId)
181
- seriesQuery = '*[_type == \'taxonomy\' && isMainTopic == true && references(\'' + taxonomyId._id + '\')] | order(published desc) [$from...$to] {\n _id,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n summary,\n \'pageNumber\': ' + currentPage + ',\n \'parentUrl\': \'' + identifier + '\'\n }';
182
- _context.next = 13;
183
- return client.fetch(seriesQuery, params);
184
-
185
- case 13:
186
- seriesData = _context.sent;
187
-
188
- seriesData.forEach(function (seriesObj) {
189
- seriesObj.description = seriesObj.summary;
190
- seriesObj.identifier = { _type: 'slug', current: seriesObj.identifier };
191
- });
192
- _context.next = 17;
193
- return client.fetch('count(' + seriesQuery + ')', _extends({}, params, { from: params.to, to: params.to + itemsPerPage }));
194
-
195
- case 17:
196
- nextPagePostsCount = _context.sent;
197
-
198
-
199
- if (currentPage > 1 && seriesData.length === 0) {
200
- statusCode = 404;
201
- }
202
-
203
- return _context.abrupt('return', {
204
- seriesData: seriesData,
205
- query: seriesQuery,
206
- params: params,
207
- currentPage: currentPage,
208
- identifier: identifier,
209
- taxonomyId: taxonomyId,
210
- parentUrl: identifier,
211
- statusCode: statusCode,
212
- taxonomy: taxonomyId,
213
- nextPagePostsCount: nextPagePostsCount
214
- });
215
-
216
- case 20:
217
- case 'end':
218
- return _context.stop();
219
- }
220
- }
221
- }, _callee, _this);
222
- }));
223
-
224
- return function (_x, _x2, _x3) {
225
- return _ref.apply(this, arguments);
226
- };
227
- }();
228
-
229
- export default PodcastsLanding;
1
+ import{d as e}from"./defineProperty-9f9de5d0.js";import{a as t,r}from"./index-663f3f10.js";import{s as o}from"./slicedToArray-c92cae3a.js";import a,{useState as i}from"react";import n from"next/link";import{a as c}from"./MasterDeck-5efbeb73.js";import{M as p}from"./MediaSeriesCard-18ee909f.js";import s from"@sanity/block-content-to-react";import{g as m}from"./index-fcd6d5f7.js";import"./unsupportedIterableToArray-dc74e326.js";import"./extends-464f0b6e.js";import"./toConsumableArray-25e5c43c.js";import"./getPrototypeOf-5b57bbdd.js";import"./typeof-a0b2b621.js";import"react-dfp";import"react-bootstrap/Container";import"react-bootstrap/Row";import"react-bootstrap/Col";import"react-bootstrap/Card";import"moment";import"next/router";import"lodash";import"lodash/debounce";import"react-infinite-scroll-component";import"react-visibility-sensor";import"./ADlgInfeed-180f8b7e.js";import"./AdSlot-7c2daad3.js";import"prop-types";import"./segment-lib-563b26a6.js";import"react-device-detect";import"./ADInfeed-20197eba.js";import"react-lazyload";import"./urlFor-b366f69d.js";import"@sanity/image-url";import"./style-inject.es-1f59c1d0.js";import"react-bootstrap";import"get-youtube-id";import"react-youtube";import"./urlForFile-272819a6.js";import"@brightcove/react-player-loader";import"react-bootstrap/Modal";import"react-bootstrap/Button";import"react-bootstrap/Form";import"react-player";import"react-ga";import"./GroupDeck-c173accb.js";import"smoothscroll-polyfill";import"./SocialShare-9cc43665.js";import"next/head";import"react-share";import"react-bootstrap/Pagination";import"./entities-c5c3079c.js";import"striptags";import"./_commonjsHelpers-57e89916.js";import"react-icons/io";import"react-bootstrap/Figure";import"react-bootstrap/OverlayTrigger";import"react-bootstrap/Tooltip";import"react-bootstrap/Popover";import"react-script-tag";import"./checkSisterSite-20e2bf62.js";function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function u(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?l(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var f=function(e){var t=e.client,r=e.pageview,l=e.currentPage;e.taxonomyId,e.parentUrl;var u=e.nextPagePostsCount,f=i(e.seriesData),d=o(f,2),b=d[0];d[1];var y=i(e.params),g=o(y,2),j=g[0];g[1];var h=i(e.query),x=o(h,2),P=x[0];return x[1],404===e.statusCode?a.createElement("div",{className:"d-flex flex-column align-items-center mt-3"},a.createElement("h3",null,"404: Resource not found"),a.createElement("p",null,"We seem to have misplaced the page you're looking for. Sorry! Please try checking the URL for errors."),a.createElement("p",null,"Click here to",a.createElement(n,{href:"/"},a.createElement("a",{style:{color:"blue",textDecoration:"underline"}}," return to homepage.")))):a.createElement("div",{className:"mb-5"},e.taxonomy&&e.taxonomy.summary&&a.createElement(s,{style:{marginTop:"1rem !important"},blocks:e.taxonomy.summary,serializers:m(t)}),a.createElement("hr",{style:{marginTop:"2rem",marginBottom:"2rem"}}),b&&a.createElement(c,{deck:p,variant:"left",defaultImage:"/placeholder.jpg",client:t,dataRecord:b,query:P&&P,params:j&&j,currentPage:l,pageview:r,autoScroll:!0,seoPaginate:!0,nextPagePostsCount:u}))};f.getInitialData=function(){var e=t(r.mark((function e(t,o,a){var i,n,c,p,s,m,l,f,d,b,y,g;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.query,n=t.pathname,c=n.replace("/",""),p=10,s=i.page?parseInt(i.page):1,l=200,f={count:p,from:m=(s-1)*p,to:m+p,url:n,itemsPerPage:p},e.next=9,o.fetch("*[_type == 'taxonomy' && identifier == '".concat(c,"'][0]{\n _id, \n name,\n summary,\n pixelTrackingCode->\n }"));case 9:return d=e.sent,b="*[_type == 'taxonomy' && isMainTopic == true && references('".concat(d._id,"')] | order(published desc) [$from...$to] {\n _id,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n summary,\n 'pageNumber': ").concat(s,",\n 'parentUrl': '").concat(c,"'\n }"),e.next=13,o.fetch(b,f);case 13:return(y=e.sent).forEach((function(e){e.description=e.summary,e.identifier={_type:"slug",current:e.identifier}})),e.next=17,o.fetch("count(".concat(b,")"),u(u({},f),{},{from:f.to,to:f.to+p}));case 17:return g=e.sent,s>1&&0===y.length&&(l=404),e.abrupt("return",{seriesData:y,query:b,params:f,currentPage:s,identifier:c,taxonomyId:d,parentUrl:c,statusCode:l,taxonomy:d,nextPagePostsCount:g});case 20:case"end":return e.stop()}}),e)})));return function(t,r,o){return e.apply(this,arguments)}}();export{f as default};
@@ -0,0 +1 @@
1
+ import{s as e}from"./slicedToArray-c92cae3a.js";import n,{useState as a}from"react";import t from"react-bootstrap/Modal";var o=function(o){var l=o.ModalImage?a(!0):a(!1),r=e(l,2),c=r[0],m=r[1];return n.createElement(t,{show:c,onHide:function(){return m(!1)},"aria-labelledby":"Popup-Modal"},n.createElement(t.Title,null),n.createElement(t.Body,null,n.createElement("div",{className:"modalImageHolder"},n.createElement("img",{className:"modalImage",src:o.ModalImage,onClick:function(){return window.open(o.landingURL,"_blank"),void m(!1)}}),n.createElement("div",{className:"modalClose",onClick:function(){return m(!1)}},"X"))),n.createElement("style",{jsx:"true"},"\n .modalImageHolder {\n display: flex;\n justify-content: center;\n }\n .modalClose {\n display: flex;\n justify-content: center;\n width: 25px;\n height: 25px;\n font-size: 1.25rem;\n color: #fff;\n cursor: pointer;\n }\n .modalImage {\n cursor: pointer;\n }\n "))},l=Object.freeze({__proto__:null,default:o});export{l as P,o as a};
@@ -1,51 +1 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-8c71f470.js';
3
- import './web.dom.iterable-406140e0.js';
4
- import React, { useState } from 'react';
5
- import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
6
- import Modal from 'react-bootstrap/Modal';
7
-
8
- var PopUpModal = function PopUpModal(props) {
9
- var _ref = props.ModalImage ? useState(true) : useState(false),
10
- _ref2 = _slicedToArray(_ref, 2),
11
- show = _ref2[0],
12
- setShow = _ref2[1];
13
-
14
- var launchModalButton = function launchModalButton(e) {
15
- window.open(props.landingURL, '_blank');
16
- setShow(false);
17
- };
18
-
19
- return React.createElement(
20
- Modal,
21
- { show: show, onHide: function onHide() {
22
- return setShow(false);
23
- }, 'aria-labelledby': 'Popup-Modal' },
24
- React.createElement(Modal.Title, null),
25
- React.createElement(
26
- Modal.Body,
27
- null,
28
- React.createElement(
29
- 'div',
30
- { className: 'modalImageHolder' },
31
- React.createElement('img', { className: 'modalImage', src: props.ModalImage, onClick: function onClick() {
32
- return launchModalButton();
33
- } }),
34
- React.createElement(
35
- 'div',
36
- { className: 'modalClose', onClick: function onClick() {
37
- return setShow(false);
38
- } },
39
- 'X'
40
- )
41
- )
42
- ),
43
- React.createElement(
44
- 'style',
45
- { jsx: 'true' },
46
- '\n .modalImageHolder {\n display: flex;\n justify-content: center;\n }\n .modalClose {\n display: flex;\n justify-content: center;\n width: 25px;\n height: 25px;\n font-size: 1.25rem;\n color: #fff;\n cursor: pointer;\n }\n .modalImage {\n cursor: pointer;\n }\n '
47
- )
48
- );
49
- };
50
-
51
- export default PopUpModal;
1
+ import"./slicedToArray-c92cae3a.js";import"react";import"react-bootstrap/Modal";export{a as default}from"./PopUpModal-bf7b6151.js";import"./unsupportedIterableToArray-dc74e326.js";
@@ -1,143 +1 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-8c71f470.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-72edfd60.js';
5
- import { _ as _toConsumableArray } from './toConsumableArray-47a5394a.js';
6
- import './web.dom.iterable-406140e0.js';
7
- import React, { useState, useEffect } from 'react';
8
- import { m as moment } from './moment-b6f49411.js';
9
- import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
10
- import { _ as _JSON$stringify } from './stringify-0c65d837.js';
11
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
12
- import { Col, Row } from 'react-bootstrap';
13
-
14
- function PtceDeck(props) {
15
- var _this = this;
16
-
17
- var initialData = props.initialData;
18
-
19
- var _useState = useState(),
20
- _useState2 = _slicedToArray(_useState, 2),
21
- cmeData = _useState2[0],
22
- setCmeData = _useState2[1];
23
-
24
- var _useState3 = useState(),
25
- _useState4 = _slicedToArray(_useState3, 2),
26
- hasMore = _useState4[0],
27
- setHasMore = _useState4[1];
28
-
29
- var _useState5 = useState(),
30
- _useState6 = _slicedToArray(_useState5, 2),
31
- paginatedPoint = _useState6[0],
32
- setPaginatedPoint = _useState6[1];
33
-
34
- useEffect(function () {
35
- //set inital data
36
- if (initialData && initialData.pageInfo) {
37
- setHasMore(initialData.pageInfo.hasMore);
38
- setPaginatedPoint(initialData.pageInfo.cursor);
39
- setCmeData(initialData.contentItems);
40
- }
41
- //set hasMore and breakpoint
42
- }, []);
43
-
44
- var loadMore = function () {
45
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
46
- var response, data;
47
- return regenerator.wrap(function _callee$(_context) {
48
- while (1) {
49
- switch (_context.prev = _context.next) {
50
- case 0:
51
- _context.next = 2;
52
- return fetch('/api/get_activities-CE', {
53
- headers: {
54
- 'Content-Type': 'application/json',
55
- Accept: 'application/json'
56
- },
57
- method: 'post',
58
- credentials: 'same-origin',
59
- body: _JSON$stringify({ params: { paginatedPoint: paginatedPoint } })
60
- });
61
-
62
- case 2:
63
- response = _context.sent;
64
- _context.next = 5;
65
- return response.json();
66
-
67
- case 5:
68
- data = _context.sent;
69
-
70
-
71
- if (data.pageInfo) {
72
- setHasMore(data.pageInfo.hasMore);
73
- setPaginatedPoint(data.pageInfo.cursor);
74
- setCmeData(function (prevState) {
75
- return [].concat(_toConsumableArray(prevState), _toConsumableArray(data.contentItems));
76
- });
77
- }
78
-
79
- case 7:
80
- case 'end':
81
- return _context.stop();
82
- }
83
- }
84
- }, _callee, _this);
85
- }));
86
-
87
- return function loadMore() {
88
- return _ref.apply(this, arguments);
89
- };
90
- }();
91
-
92
- return React.createElement(
93
- 'div',
94
- null,
95
- cmeData && cmeData.map(function (activity) {
96
- var href = activity.url ? activity.url : 'https://www.pharmacytimes.org/courses/' + activity.slug;
97
- return React.createElement(
98
- Col,
99
- { xl: 12, style: { marginBottom: '1rem' } },
100
- React.createElement(
101
- Row,
102
- null,
103
- React.createElement(
104
- Col,
105
- { xs: 3, sm: 4, md: 4, lg: 4, xl: 4, style: { padding: '0' } },
106
- React.createElement(
107
- 'a',
108
- { href: href, rel: 'noopener', target: '_blank' },
109
- React.createElement('img', { style: { width: '100%', borderRadius: '0 0 0 10%', marginBottom: '20px', borderTop: '1px solid #EEE' }, src: activity.asset })
110
- )
111
- ),
112
- React.createElement(
113
- Col,
114
- { xs: 9, sm: 8, md: 8, lg: 8, xl: 8, style: { paddingTop: '10px', marginBottom: '20px', borderTop: '1px solid #EEE' } },
115
- React.createElement(
116
- 'a',
117
- { href: href, rel: 'noopener', target: '_blank' },
118
- React.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: activity.title } }),
119
- React.createElement(
120
- 'p',
121
- { className: 'mb-2' },
122
- 'Expiration Date: ',
123
- moment(activity.courseEndDate).format('MMM Do YYYY')
124
- ),
125
- React.createElement('p', { dangerouslySetInnerHTML: { __html: activity.description } })
126
- )
127
- )
128
- )
129
- );
130
- }),
131
- hasMore && React.createElement(
132
- 'div',
133
- { className: 'text-center my-5' },
134
- React.createElement(
135
- 'button',
136
- { onClick: loadMore, className: 'btn btn-lg btn-primary' },
137
- 'Load More'
138
- )
139
- )
140
- );
141
- }
142
-
143
- export default PtceDeck;
1
+ import{t as e}from"./toConsumableArray-25e5c43c.js";import{a as t,r}from"./index-663f3f10.js";import{s as n}from"./slicedToArray-c92cae3a.js";import a from"moment";import o,{useState as s,useEffect as c}from"react";import{Col as m,Row as i}from"react-bootstrap";import"./unsupportedIterableToArray-dc74e326.js";function l(l){var p=l.initialData,u=s(),d=n(u,2),f=d[0],g=d[1],E=s(),x=n(E,2),y=x[0],h=x[1],b=s(),I=n(b,2),v=I[0],M=I[1];c((function(){p&&p.pageInfo&&(h(p.pageInfo.hasMore),M(p.pageInfo.cursor),g(p.contentItems))}),[]);var T=function(){var n=t(r.mark((function t(){var n,a;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("/api/get_activities-CE",{headers:{"Content-Type":"application/json",Accept:"application/json"},method:"post",credentials:"same-origin",body:JSON.stringify({params:{paginatedPoint:v}})});case 2:return n=t.sent,t.next=5,n.json();case 5:(a=t.sent).pageInfo&&(h(a.pageInfo.hasMore),M(a.pageInfo.cursor),g((function(t){return[].concat(e(t),e(a.contentItems))})));case 7:case"end":return t.stop()}}),t)})));return function(){return n.apply(this,arguments)}}();return o.createElement("div",null,f&&f.map((function(e){var t=e.url?e.url:"https://www.pharmacytimes.org/courses/".concat(e.slug);return o.createElement(m,{xl:12,style:{marginBottom:"1rem"}},o.createElement(i,null,o.createElement(m,{xs:3,sm:4,md:4,lg:4,xl:4,style:{padding:"0"}},o.createElement("a",{href:t,rel:"noopener",target:"_blank"},o.createElement("img",{style:{width:"100%",borderRadius:"0 0 0 10%",marginBottom:"20px",borderTop:"1px solid #EEE"},src:e.asset}))),o.createElement(m,{xs:9,sm:8,md:8,lg:8,xl:8,style:{paddingTop:"10px",marginBottom:"20px",borderTop:"1px solid #EEE"}},o.createElement("a",{href:t,rel:"noopener",target:"_blank"},o.createElement("h4",{className:"mb-1",style:{fontWeight:"500",fontSize:"22px"},dangerouslySetInnerHTML:{__html:e.title}}),o.createElement("p",{className:"mb-2"},"Expiration Date: ",a(e.courseEndDate).format("MMM Do YYYY")),o.createElement("p",{dangerouslySetInnerHTML:{__html:e.description}})))))})),y&&o.createElement("div",{className:"text-center my-5"},o.createElement("button",{onClick:T,className:"btn btn-lg btn-primary"},"Load More")))}export{l as default};
@@ -0,0 +1 @@
1
+ import{s as e}from"./slicedToArray-c92cae3a.js";import{a as t,r as n}from"./index-663f3f10.js";import{_ as i}from"./extends-464f0b6e.js";import r from"react";import{a}from"./QueueDeckExpanded-6af47534.js";var o=function(e){var t=e.pubSection,n=e.tocUrl;return r.createElement("div",{id:"pubSection"},t.publication&&t.publication.name&&r.createElement("h2",null,t.publication.name),r.createElement("p",null,r.createElement("a",{id:"back",href:n||"toc"},"Back to Table of Contents")),r.createElement(a,i({dataRecord:t.articles},e)))};o.getInitialProps=function(){var i=t(n.mark((function t(i,r){var a,o,c,p,u,s,d,l,f;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.query,o=a.publication,c=a.issue,p=a.section,u=i.res,s={publication:o,section:p},"*[_type == 'publicationSection'\n && defined(parent)\n && parent->identifier == $publication\n && identifier == $section] {\n ...,\n parent->,\n 'articles': *[_type == 'article'\n \t&& !(_id in path(\"drafts.**\")) \n\t\t && defined(title) \n\t\t && defined(url) \n\t\t && is_visible \n\t\t && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] {\n ...,\n contentCategory->,\n authorMapping[]->,\n },\n 'publication': *[_type == 'publication'\n && identifier.current == $publication] [0]\n }",t.next=5,r.fetch("*[_type == 'publicationSection'\n && defined(parent)\n && parent->identifier == $publication\n && identifier == $section] {\n ...,\n parent->,\n 'articles': *[_type == 'article'\n \t&& !(_id in path(\"drafts.**\")) \n\t\t && defined(title) \n\t\t && defined(url) \n\t\t && is_visible \n\t\t && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] {\n ...,\n contentCategory->,\n authorMapping[]->,\n },\n 'publication': *[_type == 'publication'\n && identifier.current == $publication] [0]\n }",s);case 5:if(d=t.sent,l=e(d,1),f=l[0]){t.next=11;break}return u.statusCode=404,t.abrupt("return",{show404:!0});case 11:return t.abrupt("return",{publication:o,issue:c,section:p,pubSection:f});case 12:case"end":return t.stop()}}),t)})));return function(e,t){return i.apply(this,arguments)}}();var c=Object.freeze({__proto__:null,default:o});export{c as P,o as a};
@@ -1,114 +1 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-8c71f470.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-72edfd60.js';
5
- import './toConsumableArray-47a5394a.js';
6
- import './_object-pie-33c40e79.js';
7
- import { _ as _extends } from './extends-7fbbe94e.js';
8
- import './web.dom.iterable-406140e0.js';
9
- import React from 'react';
10
- import './index-1819118a.js';
11
- import 'prop-types';
12
- import 'react-bootstrap/Card';
13
- import './moment-b6f49411.js';
14
- import 'next/router';
15
- import './isSymbol-1981418f.js';
16
- import './debounce-9207d8ee.js';
17
- import './toNumber-2f7a84cd.js';
18
- import './index.es-c6222053.js';
19
- import 'react-dom';
20
- import './visibility-sensor-f40c2564.js';
21
- import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
22
- import './index-51a80699.js';
23
- import './urlFor.js';
24
- import './index-6c12bdd5.js';
25
- import './main-43ca42fe.js';
26
- import './entities-7cc3bf45.js';
27
- import './stringify-0c65d837.js';
28
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
29
- import './Segment.js';
30
- import './Beam.js';
31
- import './AdSlot.js';
32
- import './ADInfeed-36973a76.js';
33
- import './lodash-ec8c6b48.js';
34
- import './ADlgInfeed-f6e898d5.js';
35
- import './getContentCategory-15dcc413.js';
36
- import './AuthorComponent-b0a47123.js';
37
- import 'react-bootstrap';
38
- import './timeDifferenceCalc.js';
39
- import QueueDeckExpanded from './QueueDeckExpanded.js';
40
-
41
- var _this = undefined;
42
-
43
- var PubSection = function PubSection(props) {
44
- var pubSection = props.pubSection,
45
- tocUrl = props.tocUrl;
46
-
47
- return React.createElement(
48
- 'div',
49
- { id: 'pubSection' },
50
- pubSection.publication && pubSection.publication.name && React.createElement(
51
- 'h2',
52
- null,
53
- pubSection.publication.name
54
- ),
55
- React.createElement(
56
- 'p',
57
- null,
58
- React.createElement(
59
- 'a',
60
- { id: 'back', href: tocUrl ? tocUrl : 'toc' },
61
- 'Back to Table of Contents'
62
- )
63
- ),
64
- React.createElement(QueueDeckExpanded, _extends({ dataRecord: pubSection.articles }, props))
65
- );
66
- };
67
-
68
- PubSection.getInitialProps = function () {
69
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(ctx, client) {
70
- var _ctx$query, publication, issue, section, res, params, query, _ref2, _ref3, pubSection;
71
-
72
- return regenerator.wrap(function _callee$(_context) {
73
- while (1) {
74
- switch (_context.prev = _context.next) {
75
- case 0:
76
- _ctx$query = ctx.query, publication = _ctx$query.publication, issue = _ctx$query.issue, section = _ctx$query.section, res = ctx.res;
77
- params = {
78
- publication: publication,
79
- section: section
80
- };
81
- query = '*[_type == \'publicationSection\'\n && defined(parent)\n && parent->identifier == $publication\n && identifier == $section] {\n ...,\n parent->,\n \'articles\': *[_type == \'article\'\n \t&& !(_id in path("drafts.**")) \n\t\t && defined(title) \n\t\t && defined(url) \n\t\t && is_visible \n\t\t && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] {\n ...,\n contentCategory->,\n authorMapping[]->,\n },\n \'publication\': *[_type == \'publication\'\n && identifier.current == $publication] [0]\n }';
82
- _context.next = 5;
83
- return client.fetch(query, params);
84
-
85
- case 5:
86
- _ref2 = _context.sent;
87
- _ref3 = _slicedToArray(_ref2, 1);
88
- pubSection = _ref3[0];
89
-
90
- if (pubSection) {
91
- _context.next = 11;
92
- break;
93
- }
94
-
95
- res.statusCode = 404;
96
- return _context.abrupt('return', { show404: true });
97
-
98
- case 11:
99
- return _context.abrupt('return', { publication: publication, issue: issue, section: section, pubSection: pubSection });
100
-
101
- case 12:
102
- case 'end':
103
- return _context.stop();
104
- }
105
- }
106
- }, _callee, _this);
107
- }));
108
-
109
- return function (_x, _x2) {
110
- return _ref.apply(this, arguments);
111
- };
112
- }();
113
-
114
- export default PubSection;
1
+ import"./slicedToArray-c92cae3a.js";import"./index-663f3f10.js";import"./extends-464f0b6e.js";import"react";import"./QueueDeckExpanded-6af47534.js";export{a as default}from"./PubSection-37b37129.js";import"./unsupportedIterableToArray-dc74e326.js";import"./toConsumableArray-25e5c43c.js";import"./defineProperty-9f9de5d0.js";import"react-bootstrap";import"./urlFor-b366f69d.js";import"@sanity/image-url";import"react-infinite-scroll-component";import"moment";import"react-visibility-sensor";import"react-dfp";import"next/router";import"react-lazyload";import"react-device-detect";import"./entities-c5c3079c.js";import"striptags";import"./_commonjsHelpers-57e89916.js";import"./ADInfeed-20197eba.js";import"react-bootstrap/Card";import"./AdSlot-7c2daad3.js";import"prop-types";import"lodash/debounce";import"./segment-lib-563b26a6.js";import"./AuthorComponent-4bb0a577.js";import"lodash";import"./ADlgInfeed-180f8b7e.js";import"./getContentCategory-f99fdf90.js";import"./timeDifferenceCalc.js";
@@ -0,0 +1 @@
1
+ import{s as e}from"./slicedToArray-c92cae3a.js";import{a as n,r as t}from"./index-663f3f10.js";import r from"react";var i=function(e){var n=e.toc;return r.createElement("div",{id:"pubToc"},r.createElement("ul",null,n&&n.parentSection&&Array.isArray(n.parentSection.sections)&&n.parentSection.sections.map((function(e){return r.createElement("li",{key:e.identifier},r.createElement("a",{href:e.identifier},e.name))}))))};i.getInitialProps=function(){var r=n(t.mark((function n(r,i){var a,c,o,u,p,s,f,l;return t.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=r.query,c=a.publication,o=a.issue,u=r.res,p={publication:c},"*[_type == 'publication'\n && identifier.current == $publication] {\n ...,\n 'parentSection': *[_type == 'publicationSection'\n && name == ^.name\n && !defined(parent)] [0] {\n ...,\n 'sections': *[_type == 'publicationSection'\n && references(^._id)]\n }\n }",n.next=5,i.fetch("*[_type == 'publication'\n && identifier.current == $publication] {\n ...,\n 'parentSection': *[_type == 'publicationSection'\n && name == ^.name\n && !defined(parent)] [0] {\n ...,\n 'sections': *[_type == 'publicationSection'\n && references(^._id)]\n }\n }",p);case 5:if(s=n.sent,f=e(s,1),(l=f[0])&&l.parentSection){n.next=11;break}return u.statusCode=404,n.abrupt("return",{show404:!0});case 11:return n.abrupt("return",{publication:c,issue:o,toc:l});case 12:case"end":return n.stop()}}),n)})));return function(e,n){return r.apply(this,arguments)}}();var a=Object.freeze({__proto__:null,default:i});export{a as P,i as a};
@@ -1,81 +1 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-8c71f470.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-72edfd60.js';
5
- import './web.dom.iterable-406140e0.js';
6
- import React from 'react';
7
- import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
8
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
9
-
10
- var _this = undefined;
11
-
12
- var PubToc = function PubToc(props) {
13
- var toc = props.toc;
14
-
15
- return React.createElement(
16
- 'div',
17
- { id: 'pubToc' },
18
- React.createElement(
19
- 'ul',
20
- null,
21
- toc && toc.parentSection && Array.isArray(toc.parentSection.sections) && toc.parentSection.sections.map(function (s) {
22
- return React.createElement(
23
- 'li',
24
- { key: s.identifier },
25
- React.createElement(
26
- 'a',
27
- { href: s.identifier },
28
- s.name
29
- )
30
- );
31
- })
32
- )
33
- );
34
- };
35
-
36
- PubToc.getInitialProps = function () {
37
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(ctx, client) {
38
- var _ctx$query, publication, issue, res, params, query, _ref2, _ref3, toc;
39
-
40
- return regenerator.wrap(function _callee$(_context) {
41
- while (1) {
42
- switch (_context.prev = _context.next) {
43
- case 0:
44
- _ctx$query = ctx.query, publication = _ctx$query.publication, issue = _ctx$query.issue, res = ctx.res;
45
- params = {
46
- publication: publication
47
- };
48
- query = '*[_type == \'publication\'\n && identifier.current == $publication] {\n ...,\n \'parentSection\': *[_type == \'publicationSection\'\n && name == ^.name\n && !defined(parent)] [0] {\n ...,\n \'sections\': *[_type == \'publicationSection\'\n && references(^._id)]\n }\n }';
49
- _context.next = 5;
50
- return client.fetch(query, params);
51
-
52
- case 5:
53
- _ref2 = _context.sent;
54
- _ref3 = _slicedToArray(_ref2, 1);
55
- toc = _ref3[0];
56
-
57
- if (!(!toc || !toc.parentSection)) {
58
- _context.next = 11;
59
- break;
60
- }
61
-
62
- res.statusCode = 404;
63
- return _context.abrupt('return', { show404: true });
64
-
65
- case 11:
66
- return _context.abrupt('return', { publication: publication, issue: issue, toc: toc });
67
-
68
- case 12:
69
- case 'end':
70
- return _context.stop();
71
- }
72
- }
73
- }, _callee, _this);
74
- }));
75
-
76
- return function (_x, _x2) {
77
- return _ref.apply(this, arguments);
78
- };
79
- }();
80
-
81
- export default PubToc;
1
+ import"./slicedToArray-c92cae3a.js";import"./index-663f3f10.js";import"react";export{a as default}from"./PubToc-af66289b.js";import"./unsupportedIterableToArray-dc74e326.js";