@mjhls/mjh-framework 1.0.1005-next12 → 1.0.1005-next12-0002

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-e1bb7536.js +1 -0
  2. package/dist/cjs/AD.js +1 -32
  3. package/dist/cjs/AD300x250-0bcfcd78.js +1 -0
  4. package/dist/cjs/AD300x250.js +1 -95
  5. package/dist/cjs/AD300x250x600-01659df6.js +1 -0
  6. package/dist/cjs/AD300x250x600.js +1 -112
  7. package/dist/cjs/AD728x90-c92f784d.js +1 -0
  8. package/dist/cjs/AD728x90.js +1 -109
  9. package/dist/cjs/ADFloatingFooter-f0650a0e.js +1 -0
  10. package/dist/cjs/ADFloatingFooter.js +1 -143
  11. package/dist/cjs/ADFooter-b3d98c5f.js +1 -0
  12. package/dist/cjs/ADFooter.js +1 -53
  13. package/dist/cjs/ADGutter-8451a0e7.js +1 -0
  14. package/dist/cjs/ADGutter.js +1 -115
  15. package/dist/cjs/ADInfeed-7019b746.js +1 -0
  16. package/dist/cjs/ADSkyscraper-2db48edc.js +1 -0
  17. package/dist/cjs/ADSkyscraper.js +1 -117
  18. package/dist/cjs/ADSponsoredResources-126ab84c.js +1 -0
  19. package/dist/cjs/ADSponsoredResources.js +1 -114
  20. package/dist/cjs/ADWebcast-26543865.js +1 -0
  21. package/dist/cjs/ADWebcast.js +1 -119
  22. package/dist/cjs/ADWelcome-6261c769.js +1 -0
  23. package/dist/cjs/ADWelcome.js +1 -166
  24. package/dist/cjs/ADlgInfeed-42059b30.js +1 -0
  25. package/dist/cjs/AccordionPanel-b018a969.js +1 -0
  26. package/dist/cjs/AccordionPanel.js +1 -94
  27. package/dist/cjs/AdSlot-8a0b4211.js +1 -0
  28. package/dist/cjs/AdSlot.js +1 -251
  29. package/dist/cjs/AdSlotsProvider-e06c4b39.js +1 -0
  30. package/dist/cjs/AdSlotsProvider.js +1 -183
  31. package/dist/cjs/AlgoliaSearch-05bab51c.js +1 -0
  32. package/dist/cjs/AlgoliaSearch.js +1 -195
  33. package/dist/cjs/AlphabeticList-94ed00ad.js +1 -0
  34. package/dist/cjs/AlphabeticList.js +1 -135
  35. package/dist/cjs/ArticleCarousel-6599cb34.js +1 -0
  36. package/dist/cjs/ArticleCarousel.js +1 -46
  37. package/dist/cjs/ArticleProgramLandingPage-2cc43252.js +1 -0
  38. package/dist/cjs/ArticleProgramLandingPage.js +1 -188
  39. package/dist/cjs/ArticleSeriesLandingPage-4af0758a.js +1 -0
  40. package/dist/cjs/ArticleSeriesLandingPage.js +1 -162
  41. package/dist/cjs/ArticleSeriesListing-476cb622.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-dd3ac7f5.js +1 -0
  46. package/dist/cjs/Beam.js +1 -350
  47. package/dist/cjs/Breadcrumbs-10474e7d.js +1 -0
  48. package/dist/cjs/Breadcrumbs.js +1 -107
  49. package/dist/cjs/CMEDeck-c7276c4c.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-47fa24ac.js +1 -0
  54. package/dist/cjs/Column2.js +1 -74
  55. package/dist/cjs/Column3-7407a3a2.js +1 -0
  56. package/dist/cjs/Column3.js +1 -143
  57. package/dist/cjs/ConferenceArticleCard-a48a5eb4.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-0543793a.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-eb398ac3.js +1 -0
  66. package/dist/cjs/DropdownButton-3f21ccbf.js +6 -0
  67. package/dist/cjs/Dvm-4aab0fca.js +1 -0
  68. package/dist/cjs/EventsDeck-7614cec4.js +1 -0
  69. package/dist/cjs/EventsDeck.js +1 -884
  70. package/dist/cjs/ExternalResources-c1d4e253.js +1 -0
  71. package/dist/cjs/ExternalResources.js +1 -222
  72. package/dist/cjs/Feature-4254dfe3.js +1 -0
  73. package/dist/cjs/Feature.js +1 -129
  74. package/dist/cjs/ForbesHero-82c18210.js +1 -0
  75. package/dist/cjs/ForbesHero.js +1 -137
  76. package/dist/cjs/GridContent-6c8dd8e5.js +1 -0
  77. package/dist/cjs/GridContent.js +1 -828
  78. package/dist/cjs/GridContentPaginated.js +1 -704
  79. package/dist/cjs/GridHero-c6784d3f.js +1 -0
  80. package/dist/cjs/GridHero.js +1 -147
  81. package/dist/cjs/GroupDeck-6920bcf7.js +1 -0
  82. package/dist/cjs/GroupDeck.js +1 -314
  83. package/dist/cjs/HamMagazine.js +1 -602
  84. package/dist/cjs/HamburgerNav-02a13006.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-79a1f7a3.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-4a44f354.js +1 -0
  93. package/dist/cjs/HorizontalArticleListing.js +1 -169
  94. package/dist/cjs/HorizontalHero-c5a3cb7a.js +1 -0
  95. package/dist/cjs/HorizontalHero.js +1 -111
  96. package/dist/cjs/ImageSlider-d1359f16.js +1 -0
  97. package/dist/cjs/IssueContentDeck-48a04696.js +1 -0
  98. package/dist/cjs/IssueContentDeck.js +1 -241
  99. package/dist/cjs/IssueDeck-41ebd17b.js +1 -0
  100. package/dist/cjs/IssueDeck.js +1 -268
  101. package/dist/cjs/IssueLanding-06765ae0.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-c7283941.js +1 -0
  106. package/dist/cjs/LeftNav.js +1 -154
  107. package/dist/cjs/Magazine-0d15b137.js +1 -0
  108. package/dist/cjs/MasterDeck-0e168ac1.js +1 -0
  109. package/dist/cjs/MasterDeck.js +1 -555
  110. package/dist/cjs/MasterDeckPaginated.js +1 -469
  111. package/dist/cjs/MediaSeriesCard-07b6f758.js +1 -0
  112. package/dist/cjs/MediaSeriesLanding.js +1 -508
  113. package/dist/cjs/MediaSeriesLandingPaginated.js +1 -534
  114. package/dist/cjs/Native-ee78edeb.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-ad14a1b1.js +1 -0
  120. package/dist/cjs/OncliveHero-5c7454fe.js +1 -0
  121. package/dist/cjs/OncliveHero.js +1 -79
  122. package/dist/cjs/OncliveLargeHero-46e0a793.js +1 -0
  123. package/dist/cjs/OncliveLargeHero.js +1 -241
  124. package/dist/cjs/PageFilter-bdffe62b.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-848c514f.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-c1cbf9b6.js +1 -0
  135. package/dist/cjs/PopUpModal.js +1 -58
  136. package/dist/cjs/PtceDeck.js +1 -149
  137. package/dist/cjs/PubSection-08e834ca.js +1 -0
  138. package/dist/cjs/PubSection.js +1 -120
  139. package/dist/cjs/PubToc-6e2a3f50.js +1 -0
  140. package/dist/cjs/PubToc.js +1 -87
  141. package/dist/cjs/PublicationDeck-e242bd17.js +1 -0
  142. package/dist/cjs/PublicationDeck.js +1 -183
  143. package/dist/cjs/PublicationFeature-0e2014fb.js +1 -0
  144. package/dist/cjs/PublicationLanding-d54d80d4.js +1 -0
  145. package/dist/cjs/PublicationLanding.js +1 -853
  146. package/dist/cjs/Queue-8e0e436f.js +1 -0
  147. package/dist/cjs/QueueDeckExpanded-e420bdec.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-4ac0ceca.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-8c138aa8.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-720871f8.js +1 -0
  163. package/dist/cjs/SetCookie.js +1 -10
  164. package/dist/cjs/SideFooter-17e666a3.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-dea3dbc8.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-e881cb43.js +1 -0
  173. package/dist/cjs/TaxonomyCard.js +1 -257
  174. package/dist/cjs/TaxonomyDescription-9a13ded6.js +1 -0
  175. package/dist/cjs/TaxonomyDescription.js +1 -209
  176. package/dist/cjs/TemplateNormal.js +1 -203
  177. package/dist/cjs/ThumbnailCard-101f04b8.js +1 -0
  178. package/dist/cjs/ThumbnailCard.js +1 -59
  179. package/dist/cjs/Ustream-b7692d0a.js +1 -0
  180. package/dist/cjs/Ustream.js +1 -156
  181. package/dist/cjs/VerticalHero-a61b1a2e.js +1 -0
  182. package/dist/cjs/VerticalHero.js +1 -74
  183. package/dist/cjs/VideoProgramLandingPage-5508836c.js +1 -0
  184. package/dist/cjs/VideoProgramLandingPage.js +1 -264
  185. package/dist/cjs/VideoSeriesCard.js +1 -88
  186. package/dist/cjs/VideoSeriesFilter-9650cf01.js +1 -0
  187. package/dist/cjs/VideoSeriesFilter.js +1 -128
  188. package/dist/cjs/VideoSeriesLandingPage-d1fae653.js +1 -0
  189. package/dist/cjs/VideoSeriesLandingPage.js +1 -178
  190. package/dist/cjs/VideoSeriesListing-91f5aa6d.js +1 -0
  191. package/dist/cjs/VideoSeriesListing.js +1 -422
  192. package/dist/cjs/View.js +1 -2680
  193. package/dist/cjs/YahooHero-2df6a408.js +1 -0
  194. package/dist/cjs/YahooHero.js +1 -126
  195. package/dist/cjs/YoutubeGroup-d8a93da0.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-aaf6fbe9.js +1 -0
  199. package/dist/cjs/checkSisterSite-d2d62375.js +1 -0
  200. package/dist/cjs/defineProperty-ba7cd53d.js +1 -0
  201. package/dist/cjs/entities-8feddf1d.js +1 -0
  202. package/dist/cjs/extends-5ede7877.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-99b1cfd8.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-dbed93dc.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-a1ecaa0b.js +1 -0
  218. package/dist/cjs/getTargeting.js +1 -13
  219. package/dist/cjs/index-14c8083b.js +1 -0
  220. package/dist/cjs/index-3291d44c.js +1 -0
  221. package/dist/cjs/index-5cca2099.js +1 -0
  222. package/dist/cjs/index-66647f61.js +1 -0
  223. package/dist/cjs/index.js +1 -643
  224. package/dist/cjs/searchForm-bb5e3dbf.js +1 -0
  225. package/dist/cjs/segment-lib-7a16e514.js +1 -0
  226. package/dist/cjs/setCookie-e72f573d.js +1 -0
  227. package/dist/cjs/slicedToArray-c9e22c6a.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-7afb7984.js +1 -0
  231. package/dist/cjs/typeof-a861d137.js +1 -0
  232. package/dist/cjs/unsupportedIterableToArray-294d47a8.js +1 -0
  233. package/dist/cjs/urlFor-86a2f4db.js +1 -0
  234. package/dist/cjs/urlFor.js +1 -65
  235. package/dist/cjs/urlForFile-52afb8e9.js +1 -0
  236. package/dist/cjs/ustream-api-05a918f3.js +1 -0
  237. package/dist/esm/AD-8a57f623.js +1 -0
  238. package/dist/esm/AD.js +1 -26
  239. package/dist/esm/AD300x250-10ccde99.js +1 -0
  240. package/dist/esm/AD300x250.js +1 -89
  241. package/dist/esm/AD300x250x600-10e29b3d.js +1 -0
  242. package/dist/esm/AD300x250x600.js +1 -106
  243. package/dist/esm/AD728x90-2b0e930d.js +1 -0
  244. package/dist/esm/AD728x90.js +1 -103
  245. package/dist/esm/ADFloatingFooter-f23caacf.js +1 -0
  246. package/dist/esm/ADFloatingFooter.js +1 -137
  247. package/dist/esm/ADFooter-4c20b5fc.js +1 -0
  248. package/dist/esm/ADFooter.js +1 -47
  249. package/dist/esm/ADGutter-59cf52e3.js +1 -0
  250. package/dist/esm/ADGutter.js +1 -109
  251. package/dist/esm/ADInfeed-8ce85d87.js +1 -0
  252. package/dist/esm/ADSkyscraper-bfd33e46.js +1 -0
  253. package/dist/esm/ADSkyscraper.js +1 -111
  254. package/dist/esm/ADSponsoredResources-0410407c.js +1 -0
  255. package/dist/esm/ADSponsoredResources.js +1 -108
  256. package/dist/esm/ADWebcast-6f27e384.js +1 -0
  257. package/dist/esm/ADWebcast.js +1 -113
  258. package/dist/esm/ADWelcome-421d5621.js +1 -0
  259. package/dist/esm/ADWelcome.js +1 -160
  260. package/dist/esm/ADlgInfeed-19d0f057.js +1 -0
  261. package/dist/esm/AccordionPanel-123022f0.js +1 -0
  262. package/dist/esm/AccordionPanel.js +1 -87
  263. package/dist/esm/AdSlot-16696371.js +1 -0
  264. package/dist/esm/AdSlot.js +1 -244
  265. package/dist/esm/AdSlotsProvider-5ead284e.js +1 -0
  266. package/dist/esm/AdSlotsProvider.js +1 -176
  267. package/dist/esm/AlgoliaSearch-1343b721.js +1 -0
  268. package/dist/esm/AlgoliaSearch.js +1 -188
  269. package/dist/esm/AlphabeticList-f1ca5612.js +1 -0
  270. package/dist/esm/AlphabeticList.js +1 -129
  271. package/dist/esm/ArticleCarousel-ba29666c.js +1 -0
  272. package/dist/esm/ArticleCarousel.js +1 -40
  273. package/dist/esm/ArticleProgramLandingPage-d996da8f.js +1 -0
  274. package/dist/esm/ArticleProgramLandingPage.js +1 -182
  275. package/dist/esm/ArticleSeriesLandingPage-67cda955.js +1 -0
  276. package/dist/esm/ArticleSeriesLandingPage.js +1 -156
  277. package/dist/esm/ArticleSeriesListing-22e8f5a6.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-f3e14fdd.js +1 -0
  282. package/dist/esm/Beam.js +1 -348
  283. package/dist/esm/Breadcrumbs-8838701e.js +1 -0
  284. package/dist/esm/Breadcrumbs.js +1 -100
  285. package/dist/esm/CMEDeck-182d8eb7.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-2d42433b.js +1 -0
  290. package/dist/esm/Column2.js +1 -64
  291. package/dist/esm/Column3-94c8661b.js +1 -0
  292. package/dist/esm/Column3.js +1 -133
  293. package/dist/esm/ConferenceArticleCard-c10c5b7f.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-01c2e43a.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-c3c626b1.js +1 -0
  302. package/dist/esm/DropdownButton-c4621022.js +6 -0
  303. package/dist/esm/Dvm-138f924d.js +1 -0
  304. package/dist/esm/EventsDeck-e5aad41d.js +1 -0
  305. package/dist/esm/EventsDeck.js +1 -871
  306. package/dist/esm/ExternalResources-e9656681.js +1 -0
  307. package/dist/esm/ExternalResources.js +1 -215
  308. package/dist/esm/Feature-69a30cea.js +1 -0
  309. package/dist/esm/Feature.js +1 -122
  310. package/dist/esm/ForbesHero-0b0a5436.js +1 -0
  311. package/dist/esm/ForbesHero.js +1 -131
  312. package/dist/esm/GridContent-d8df59ae.js +1 -0
  313. package/dist/esm/GridContent.js +1 -818
  314. package/dist/esm/GridContentPaginated.js +1 -693
  315. package/dist/esm/GridHero-0d17636c.js +1 -0
  316. package/dist/esm/GridHero.js +1 -141
  317. package/dist/esm/GroupDeck-4c581822.js +1 -0
  318. package/dist/esm/GroupDeck.js +1 -308
  319. package/dist/esm/HamMagazine.js +1 -590
  320. package/dist/esm/HamburgerNav-5fcf79ae.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-1b663f28.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-cccace2e.js +1 -0
  329. package/dist/esm/HorizontalArticleListing.js +1 -163
  330. package/dist/esm/HorizontalHero-8633a55c.js +1 -0
  331. package/dist/esm/HorizontalHero.js +1 -105
  332. package/dist/esm/ImageSlider-c354db50.js +1 -0
  333. package/dist/esm/IssueContentDeck-915409a7.js +1 -0
  334. package/dist/esm/IssueContentDeck.js +1 -231
  335. package/dist/esm/IssueDeck-61a4a550.js +1 -0
  336. package/dist/esm/IssueDeck.js +1 -258
  337. package/dist/esm/IssueLanding-a59c91ee.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-a3852fbe.js +1 -0
  342. package/dist/esm/LeftNav.js +1 -145
  343. package/dist/esm/Magazine-7d6e5dcd.js +1 -0
  344. package/dist/esm/MasterDeck-41c7cd70.js +1 -0
  345. package/dist/esm/MasterDeck.js +1 -548
  346. package/dist/esm/MasterDeckPaginated.js +1 -461
  347. package/dist/esm/MediaSeriesCard-cf72ce87.js +1 -0
  348. package/dist/esm/MediaSeriesLanding.js +1 -501
  349. package/dist/esm/MediaSeriesLandingPaginated.js +1 -527
  350. package/dist/esm/Native-bf89940a.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-06895213.js +1 -0
  356. package/dist/esm/OncliveHero-19794e52.js +1 -0
  357. package/dist/esm/OncliveHero.js +1 -73
  358. package/dist/esm/OncliveLargeHero-01d4c10f.js +1 -0
  359. package/dist/esm/OncliveLargeHero.js +1 -235
  360. package/dist/esm/PageFilter-81144bcb.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-429d60e1.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-a2735a23.js +1 -0
  371. package/dist/esm/PopUpModal.js +1 -51
  372. package/dist/esm/PtceDeck.js +1 -143
  373. package/dist/esm/PubSection-3d940b53.js +1 -0
  374. package/dist/esm/PubSection.js +1 -114
  375. package/dist/esm/PubToc-52a85696.js +1 -0
  376. package/dist/esm/PubToc.js +1 -81
  377. package/dist/esm/PublicationDeck-538d397e.js +1 -0
  378. package/dist/esm/PublicationDeck.js +1 -173
  379. package/dist/esm/PublicationFeature-6deea07c.js +1 -0
  380. package/dist/esm/PublicationLanding-48ebce9b.js +1 -0
  381. package/dist/esm/PublicationLanding.js +1 -843
  382. package/dist/esm/Queue-847df47f.js +1 -0
  383. package/dist/esm/QueueDeckExpanded-fdc60f72.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-f3eaad29.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-c7f42de0.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-a00cd257.js +1 -0
  399. package/dist/esm/SetCookie.js +1 -8
  400. package/dist/esm/SideFooter-7cd5abc0.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-e74e11f8.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-507f5c95.js +1 -0
  409. package/dist/esm/TaxonomyCard.js +1 -247
  410. package/dist/esm/TaxonomyDescription-ee6ae52e.js +1 -0
  411. package/dist/esm/TaxonomyDescription.js +1 -202
  412. package/dist/esm/TemplateNormal.js +1 -196
  413. package/dist/esm/ThumbnailCard-b7a3af71.js +1 -0
  414. package/dist/esm/ThumbnailCard.js +1 -52
  415. package/dist/esm/Ustream-29dc2277.js +1 -0
  416. package/dist/esm/Ustream.js +1 -150
  417. package/dist/esm/VerticalHero-ffc93a70.js +1 -0
  418. package/dist/esm/VerticalHero.js +1 -68
  419. package/dist/esm/VideoProgramLandingPage-179db5b2.js +1 -0
  420. package/dist/esm/VideoProgramLandingPage.js +1 -255
  421. package/dist/esm/VideoSeriesCard.js +1 -82
  422. package/dist/esm/VideoSeriesFilter-b6bd4c07.js +1 -0
  423. package/dist/esm/VideoSeriesFilter.js +1 -122
  424. package/dist/esm/VideoSeriesLandingPage-180a2469.js +1 -0
  425. package/dist/esm/VideoSeriesLandingPage.js +1 -172
  426. package/dist/esm/VideoSeriesListing-62650a53.js +1 -0
  427. package/dist/esm/VideoSeriesListing.js +1 -415
  428. package/dist/esm/View.js +1 -2669
  429. package/dist/esm/YahooHero-ddfeb2a5.js +1 -0
  430. package/dist/esm/YahooHero.js +1 -120
  431. package/dist/esm/YoutubeGroup-1dd6f1ba.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-50a5c4d8.js +1 -0
  435. package/dist/esm/checkSisterSite-20e2bf62.js +1 -0
  436. package/dist/esm/defineProperty-18999f8e.js +1 -0
  437. package/dist/esm/entities-8b138943.js +1 -0
  438. package/dist/esm/extends-e61fd370.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-a8361cb6.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-66a08458.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-eeb7bb6a.js +1 -0
  454. package/dist/esm/getTargeting.js +1 -7
  455. package/dist/esm/index-00bbf2b1.js +1 -0
  456. package/dist/esm/index-24498aa0.js +1 -0
  457. package/dist/esm/index-541d17f5.js +1 -0
  458. package/dist/esm/index-a96a4f73.js +1 -0
  459. package/dist/esm/index.js +1 -536
  460. package/dist/esm/searchForm-8218e558.js +1 -0
  461. package/dist/esm/segment-lib-3a19dbdd.js +1 -0
  462. package/dist/esm/setCookie-0f2ab6df.js +1 -0
  463. package/dist/esm/slicedToArray-f57adb2c.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-2f86a0c1.js +1 -0
  467. package/dist/esm/typeof-92b42de1.js +1 -0
  468. package/dist/esm/unsupportedIterableToArray-b359dd50.js +1 -0
  469. package/dist/esm/urlFor-649884fa.js +1 -0
  470. package/dist/esm/urlFor.js +1 -63
  471. package/dist/esm/urlForFile-3b87fb01.js +1 -0
  472. package/dist/esm/ustream-api-7998d140.js +1 -0
  473. package/package.json +23 -22
  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{_ as t}from"./defineProperty-18999f8e.js";import{_ as e,r}from"./index-00bbf2b1.js";import{_ as o}from"./slicedToArray-f57adb2c.js";import a,{useState as i}from"react";import n from"next/link";import{a as c}from"./MasterDeck-41c7cd70.js";import{M as p}from"./MediaSeriesCard-cf72ce87.js";import s from"@sanity/block-content-to-react";import{g as m}from"./index-24498aa0.js";import"./unsupportedIterableToArray-b359dd50.js";import"./extends-e61fd370.js";import"./toConsumableArray-2f86a0c1.js";import"./getPrototypeOf-a8361cb6.js";import"./typeof-92b42de1.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-19d0f057.js";import"./AdSlot-16696371.js";import"prop-types";import"./segment-lib-3a19dbdd.js";import"react-device-detect";import"./ADInfeed-8ce85d87.js";import"react-lazyload";import"./urlFor-649884fa.js";import"@sanity/image-url";import"./style-inject.es-1f59c1d0.js";import"react-bootstrap";import"get-youtube-id";import"react-youtube";import"./urlForFile-3b87fb01.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-4c581822.js";import"smoothscroll-polyfill";import"./SocialShare-9cc43665.js";import"next/head";import"react-share";import"react-bootstrap/Pagination";import"./entities-8b138943.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(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function u(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?l(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(t){var e=t.client,r=t.pageview,l=t.currentPage;t.taxonomyId,t.parentUrl;var u=t.nextPagePostsCount,f=i(t.seriesData),d=o(f,2),y=d[0];d[1];var b=i(t.params),g=o(b,2),j=g[0];g[1];var h=i(t.query),x=o(h,2),P=x[0];return x[1],404===t.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"},t.taxonomy&&t.taxonomy.summary&&a.createElement(s,{style:{marginTop:"1rem !important"},blocks:t.taxonomy.summary,serializers:m(e)}),a.createElement("hr",{style:{marginTop:"2rem",marginBottom:"2rem"}}),y&&a.createElement(c,{deck:p,variant:"left",defaultImage:"/placeholder.jpg",client:e,dataRecord:y,query:P&&P,params:j&&j,currentPage:l,pageview:r,autoScroll:!0,seoPaginate:!0,nextPagePostsCount:u}))};f.getInitialData=function(){var t=e(r.mark((function t(e,o,a){var i,n,c,p,s,m,l,f,d,y,b,g;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=e.query,n=e.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},t.next=9,o.fetch("*[_type == 'taxonomy' && identifier == '".concat(c,"'][0]{\n _id, \n name,\n summary,\n pixelTrackingCode->\n }"));case 9:return d=t.sent,y="*[_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 }"),t.next=13,o.fetch(y,f);case 13:return(b=t.sent).forEach((function(t){t.description=t.summary,t.identifier={_type:"slug",current:t.identifier}})),t.next=17,o.fetch("count(".concat(y,")"),u(u({},f),{},{from:f.to,to:f.to+p}));case 17:return g=t.sent,s>1&&0===b.length&&(l=404),t.abrupt("return",{seriesData:b,query:y,params:f,currentPage:s,identifier:c,taxonomyId:d,parentUrl:c,statusCode:l,taxonomy:d,nextPagePostsCount:g});case 20:case"end":return t.stop()}}),t)})));return function(e,r,o){return t.apply(this,arguments)}}();export{f as default};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./slicedToArray-f57adb2c.js";import n,{useState as t}from"react";import a from"react-bootstrap/Modal";var o=function(o){var l=o.ModalImage?t(!0):t(!1),r=e(l,2),m=r[0],c=r[1];return n.createElement(a,{show:m,onHide:function(){return c(!1)},"aria-labelledby":"Popup-Modal"},n.createElement(a.Title,null),n.createElement(a.Body,null,n.createElement("div",{className:"modalImageHolder"},n.createElement("img",{className:"modalImage",src:o.ModalImage,onClick:function(){return window.open(o.landingURL,"_blank"),void c(!1)}}),n.createElement("div",{className:"modalClose",onClick:function(){return c(!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-f57adb2c.js";import"react";import"react-bootstrap/Modal";export{a as default}from"./PopUpModal-a2735a23.js";import"./unsupportedIterableToArray-b359dd50.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{_ as e}from"./toConsumableArray-2f86a0c1.js";import{_ as t,r}from"./index-00bbf2b1.js";import{_ as n}from"./slicedToArray-f57adb2c.js";import a from"moment";import o,{useState as s,useEffect as m}from"react";import{Col as i,Row as c}from"react-bootstrap";import"./unsupportedIterableToArray-b359dd50.js";function l(l){var p=l.initialData,u=s(),d=n(u,2),f=d[0],g=d[1],E=s(),b=n(E,2),x=b[0],y=b[1],h=s(),I=n(h,2),_=I[0],v=I[1];m((function(){p&&p.pageInfo&&(y(p.pageInfo.hasMore),v(p.pageInfo.cursor),g(p.contentItems))}),[]);var M=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:_}})});case 2:return n=t.sent,t.next=5,n.json();case 5:(a=t.sent).pageInfo&&(y(a.pageInfo.hasMore),v(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(i,{xl:12,style:{marginBottom:"1rem"}},o.createElement(c,null,o.createElement(i,{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(i,{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}})))))})),x&&o.createElement("div",{className:"text-center my-5"},o.createElement("button",{onClick:M,className:"btn btn-lg btn-primary"},"Load More")))}export{l as default};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./slicedToArray-f57adb2c.js";import{_ as t,r as n}from"./index-00bbf2b1.js";import{_ as i}from"./extends-e61fd370.js";import r from"react";import{a}from"./QueueDeckExpanded-fdc60f72.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-f57adb2c.js";import"./index-00bbf2b1.js";import"./extends-e61fd370.js";import"react";import"./QueueDeckExpanded-fdc60f72.js";export{a as default}from"./PubSection-3d940b53.js";import"./unsupportedIterableToArray-b359dd50.js";import"./toConsumableArray-2f86a0c1.js";import"./defineProperty-18999f8e.js";import"react-bootstrap";import"./urlFor-649884fa.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-8b138943.js";import"striptags";import"./_commonjsHelpers-57e89916.js";import"./ADInfeed-8ce85d87.js";import"react-bootstrap/Card";import"./AdSlot-16696371.js";import"prop-types";import"lodash/debounce";import"./segment-lib-3a19dbdd.js";import"./AuthorComponent-f3e14fdd.js";import"lodash";import"./ADlgInfeed-19d0f057.js";import"./getContentCategory-f99fdf90.js";import"./timeDifferenceCalc.js";
@@ -0,0 +1 @@
1
+ import{_ as e}from"./slicedToArray-f57adb2c.js";import{_ as n,r as t}from"./index-00bbf2b1.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-f57adb2c.js";import"./index-00bbf2b1.js";import"react";export{a as default}from"./PubToc-52a85696.js";import"./unsupportedIterableToArray-b359dd50.js";