@mjhls/mjh-framework 1.0.1005-next12-0003 → 1.0.1005-sap-context-test

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 (613) hide show
  1. package/dist/cjs/AD.js +32 -1
  2. package/dist/cjs/AD300x250.js +96 -1
  3. package/dist/cjs/AD300x250x600.js +113 -1
  4. package/dist/cjs/AD728x90.js +110 -1
  5. package/dist/cjs/ADFloatingFooter.js +144 -1
  6. package/dist/cjs/ADFooter.js +53 -1
  7. package/dist/cjs/ADGutter.js +116 -1
  8. package/dist/cjs/ADInfeed-0394f391.js +66 -0
  9. package/dist/cjs/ADSkyscraper.js +118 -1
  10. package/dist/cjs/ADSponsoredResources.js +115 -1
  11. package/dist/cjs/ADWebcast.js +120 -1
  12. package/dist/cjs/ADWelcome.js +167 -1
  13. package/dist/cjs/ADlgInfeed-759969d6.js +60 -0
  14. package/dist/cjs/AccordionPanel.js +94 -1
  15. package/dist/cjs/AdSlot.js +252 -1
  16. package/dist/cjs/AdSlotsProvider.js +184 -1
  17. package/dist/cjs/AlgoliaSearch.js +14466 -1
  18. package/dist/cjs/AlphabeticList.js +135 -1
  19. package/dist/cjs/ArticleCarousel.js +46 -1
  20. package/dist/cjs/ArticleProgramLandingPage.js +188 -1
  21. package/dist/cjs/ArticleSeriesLandingPage.js +163 -1
  22. package/dist/cjs/ArticleSeriesListing.js +316 -1
  23. package/dist/cjs/Auth.js +3653 -1
  24. package/dist/cjs/AuthWrapper.js +1902 -1
  25. package/dist/cjs/AuthorComponent-7d00f6d5.js +96 -0
  26. package/dist/cjs/Beam.js +350 -1
  27. package/dist/cjs/BlockContent-96b44364.js +916 -0
  28. package/dist/cjs/Breadcrumbs.js +107 -1
  29. package/dist/cjs/CMEDeck.js +448 -1
  30. package/dist/cjs/Column1.js +39 -1
  31. package/dist/cjs/Column2.js +74 -1
  32. package/dist/cjs/Column3.js +144 -1
  33. package/dist/cjs/ConferenceArticleCard.js +93 -1
  34. package/dist/cjs/ConferenceBanner-213003ce.js +24 -0
  35. package/dist/cjs/ContentCardPaginated.js +417 -1
  36. package/dist/cjs/DeckContent.js +508 -1
  37. package/dist/cjs/DeckQueue.js +404 -1
  38. package/dist/cjs/DeckQueuePaginated.js +348 -1
  39. package/dist/cjs/Dfp-c313a700.js +104 -0
  40. package/dist/cjs/EventsDeck.js +884 -1
  41. package/dist/cjs/ExternalResources.js +222 -1
  42. package/dist/cjs/Feature.js +129 -1
  43. package/dist/cjs/ForbesHero.js +137 -1
  44. package/dist/cjs/GridContent.js +829 -1
  45. package/dist/cjs/GridContentPaginated.js +704 -1
  46. package/dist/cjs/GridHero.js +147 -1
  47. package/dist/cjs/GroupDeck.js +314 -1
  48. package/dist/cjs/HamMagazine.js +602 -1
  49. package/dist/cjs/Header.js +39 -1
  50. package/dist/cjs/HealthCareProfessionalModal.js +78 -1
  51. package/dist/cjs/Hero.js +48 -1
  52. package/dist/cjs/HighlightenVideo.js +69 -1
  53. package/dist/cjs/HorizontalArticleListing.js +169 -1
  54. package/dist/cjs/HorizontalHero.js +111 -1
  55. package/dist/cjs/ImageSlider-17fdaf3b.js +2813 -0
  56. package/dist/cjs/IssueContentDeck.js +241 -1
  57. package/dist/cjs/IssueDeck.js +268 -1
  58. package/dist/cjs/IssueLanding.js +176 -1
  59. package/dist/cjs/KMTracker.js +27 -1
  60. package/dist/cjs/LeftNav.js +155 -1
  61. package/dist/cjs/MasterDeck.js +556 -1
  62. package/dist/cjs/MasterDeckPaginated.js +469 -1
  63. package/dist/cjs/MediaSeriesCard-eacea66a.js +81 -0
  64. package/dist/cjs/MediaSeriesLanding.js +509 -1
  65. package/dist/cjs/MediaSeriesLandingPaginated.js +534 -1
  66. package/dist/cjs/NavDvm.js +276 -1
  67. package/dist/cjs/NavFooter-880e9d87.js +71 -0
  68. package/dist/cjs/NavMagazine.js +613 -1
  69. package/dist/cjs/NavNative.js +880 -1
  70. package/dist/cjs/OncliveHero.js +79 -1
  71. package/dist/cjs/OncliveLargeHero.js +241 -1
  72. package/dist/cjs/PageFilter.js +72 -1
  73. package/dist/cjs/Pagination-842c556f.js +97 -0
  74. package/dist/cjs/PartnerDetailListing.js +345 -1
  75. package/dist/cjs/PartnerDetailListingPaginated.js +353 -1
  76. package/dist/cjs/PdfDownload.js +28 -1
  77. package/dist/cjs/PixelTracking.js +165 -1
  78. package/dist/cjs/PodcastsLanding.js +236 -1
  79. package/dist/cjs/PopUpModal.js +58 -1
  80. package/dist/cjs/PtceDeck.js +149 -1
  81. package/dist/cjs/PubSection.js +121 -1
  82. package/dist/cjs/PubToc.js +87 -1
  83. package/dist/cjs/PublicationDeck.js +183 -1
  84. package/dist/cjs/PublicationFeature-a989a2b3.js +130 -0
  85. package/dist/cjs/PublicationLanding.js +857 -1
  86. package/dist/cjs/QueueDeckExpanded.js +1541 -1
  87. package/dist/cjs/QueueDeckExpandedPaginated.js +1388 -1
  88. package/dist/cjs/RecentNews.js +91 -1
  89. package/dist/cjs/RelatedContent.js +114 -1
  90. package/dist/cjs/RelatedTopicsDropdown.js +90 -1
  91. package/dist/cjs/RolesDeck.js +94 -1
  92. package/dist/cjs/Schema.js +103 -1
  93. package/dist/cjs/Search.js +66 -1
  94. package/dist/cjs/Segment.js +452 -1
  95. package/dist/cjs/SeriesListingDeck.js +249 -1
  96. package/dist/cjs/SeriesSlider-3d57985d.js +332 -0
  97. package/dist/cjs/SetCookie.js +10 -1
  98. package/dist/cjs/SideFooter.js +150 -1
  99. package/dist/cjs/SocialIcons.js +103 -1
  100. package/dist/cjs/SocialSearchComponent-62bceb87.js +213 -0
  101. package/dist/cjs/SocialShare.js +74 -1
  102. package/dist/cjs/TaxonomyCard.js +257 -1
  103. package/dist/cjs/TaxonomyDescription.js +209 -1
  104. package/dist/cjs/TemplateNormal.js +204 -1
  105. package/dist/cjs/ThumbnailCard.js +59 -1
  106. package/dist/cjs/Tooltip-4cb8849a.js +9454 -0
  107. package/dist/cjs/Ustream.js +156 -1
  108. package/dist/cjs/VerticalHero.js +74 -1
  109. package/dist/cjs/VideoProgramLandingPage.js +264 -1
  110. package/dist/cjs/VideoSeriesCard.js +88 -1
  111. package/dist/cjs/VideoSeriesFilter.js +128 -1
  112. package/dist/cjs/VideoSeriesLandingPage.js +179 -1
  113. package/dist/cjs/VideoSeriesListing.js +423 -1
  114. package/dist/cjs/View.js +2699 -1
  115. package/dist/cjs/YahooHero.js +126 -1
  116. package/dist/cjs/YoutubeGroup.js +371 -1
  117. package/dist/cjs/_commonjsHelpers-06173234.js +25 -0
  118. package/dist/cjs/_is-array-54228b29.js +74 -0
  119. package/dist/cjs/_iter-detect-b1df62f0.js +52 -0
  120. package/dist/cjs/_library-dd23b178.js +5 -0
  121. package/dist/cjs/_object-pie-083f2dd6.js +16 -0
  122. package/dist/cjs/_object-sap-d1978572.js +16 -0
  123. package/dist/cjs/_object-to-array-ce86cae7.js +25 -0
  124. package/dist/cjs/asyncToGenerator-77821af0.js +1395 -0
  125. package/dist/cjs/brightcove-react-player-loader.es-4c7825a1.js +2232 -0
  126. package/dist/cjs/checkSisterSite-b29833b2.js +19 -0
  127. package/dist/cjs/core.get-iterator-method-5643aa10.js +584 -0
  128. package/dist/cjs/debounce-d4a2369b.js +216 -0
  129. package/dist/cjs/define-property-e8404b64.js +20 -0
  130. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  131. package/dist/cjs/entities-df1aed86.js +510 -0
  132. package/dist/cjs/eq-5fc26c07.js +79 -0
  133. package/dist/cjs/events-1b438fe7.js +469 -0
  134. package/dist/cjs/extends-7c86182f.js +87 -0
  135. package/dist/cjs/faundadb.js +406 -1
  136. package/dist/cjs/get-5839e5b5.js +920 -0
  137. package/dist/cjs/getContentCategory-f38a4c00.js +11 -0
  138. package/dist/cjs/getKeywords.js +46 -1
  139. package/dist/cjs/getPtceActivities.js +89 -1
  140. package/dist/cjs/getQuery.js +28 -1
  141. package/dist/cjs/getRelatedArticle.js +542 -1
  142. package/dist/cjs/getRootDocGroup.js +62 -1
  143. package/dist/cjs/getSerializers.js +68 -1
  144. package/dist/cjs/getSeriesDetail.js +40 -1
  145. package/dist/cjs/getTargeting-ba942d9a.js +164 -0
  146. package/dist/cjs/getTargeting.js +13 -1
  147. package/dist/cjs/iconBase-be4097c0.js +104 -0
  148. package/dist/cjs/index-187c967e.js +54 -0
  149. package/dist/cjs/index-19fbbcea.js +10788 -0
  150. package/dist/cjs/index-50be6759.js +105 -0
  151. package/dist/cjs/index-65621b6c.js +613 -0
  152. package/dist/cjs/index-bd6c9f56.js +211 -0
  153. package/dist/cjs/index-d2a6ef75.js +1218 -0
  154. package/dist/cjs/index-d48b231c.js +556 -0
  155. package/dist/cjs/index-f86bb269.js +1571 -0
  156. package/dist/cjs/index.es-1ab8dda7.js +445 -0
  157. package/dist/cjs/index.esm-c1e16606.js +13 -0
  158. package/dist/cjs/index.esm-d51c9ac6.js +25 -0
  159. package/dist/cjs/index.esm-d81454e7.js +19 -0
  160. package/dist/cjs/index.esm-f59ef5b4.js +97 -0
  161. package/dist/cjs/index.js +644 -1
  162. package/dist/cjs/inherits-de66ea16.js +188 -0
  163. package/dist/cjs/isSymbol-03abbdf0.js +209 -0
  164. package/dist/cjs/js.cookie-a511c430.js +160 -0
  165. package/dist/cjs/keys-e982b3fa.js +25 -0
  166. package/dist/cjs/lodash-f0783643.js +17195 -0
  167. package/dist/cjs/main-3643d499.js +973 -0
  168. package/dist/cjs/md5-e1ca5797.js +323 -0
  169. package/dist/cjs/moment-aca40de1.js +5669 -0
  170. package/dist/cjs/react-social-icons-2c5c389a.js +616 -0
  171. package/dist/cjs/slicedToArray-067dd3bc.js +95 -0
  172. package/dist/cjs/smoothscroll-99df7f93.js +438 -0
  173. package/dist/cjs/stringify-f7a37a8d.js +17 -0
  174. package/dist/cjs/style-inject.es-dcee06b6.js +30 -1
  175. package/dist/cjs/timeDifferenceCalc.js +39 -1
  176. package/dist/cjs/toConsumableArray-d7797c2b.js +74 -0
  177. package/dist/cjs/toNumber-5e1fac58.js +104 -0
  178. package/dist/cjs/typeof-1358762e.js +33 -0
  179. package/dist/cjs/typeof-567e31ff.js +382 -0
  180. package/dist/cjs/urlFor.js +65 -1
  181. package/dist/cjs/urlForFile-29d3815a.js +24 -0
  182. package/dist/cjs/ustream-api-3819e4aa.js +106 -0
  183. package/dist/cjs/util-93a37fd0.js +587 -0
  184. package/dist/cjs/visibility-sensor-56020df6.js +597 -0
  185. package/dist/cjs/web.dom.iterable-d98303e0.js +50 -0
  186. package/dist/esm/AD.js +26 -1
  187. package/dist/esm/AD300x250.js +90 -1
  188. package/dist/esm/AD300x250x600.js +107 -1
  189. package/dist/esm/AD728x90.js +104 -1
  190. package/dist/esm/ADFloatingFooter.js +138 -1
  191. package/dist/esm/ADFooter.js +47 -1
  192. package/dist/esm/ADGutter.js +110 -1
  193. package/dist/esm/ADInfeed-5765a73a.js +59 -0
  194. package/dist/esm/ADSkyscraper.js +112 -1
  195. package/dist/esm/ADSponsoredResources.js +109 -1
  196. package/dist/esm/ADWebcast.js +114 -1
  197. package/dist/esm/ADWelcome.js +161 -1
  198. package/dist/esm/ADlgInfeed-5e36f317.js +54 -0
  199. package/dist/esm/AccordionPanel.js +87 -1
  200. package/dist/esm/AdSlot.js +245 -1
  201. package/dist/esm/AdSlotsProvider.js +177 -1
  202. package/dist/esm/AlgoliaSearch.js +14459 -1
  203. package/dist/esm/AlphabeticList.js +129 -1
  204. package/dist/esm/ArticleCarousel.js +40 -1
  205. package/dist/esm/ArticleProgramLandingPage.js +182 -1
  206. package/dist/esm/ArticleSeriesLandingPage.js +157 -1
  207. package/dist/esm/ArticleSeriesListing.js +309 -1
  208. package/dist/esm/Auth.js +3632 -1
  209. package/dist/esm/AuthWrapper.js +1896 -1
  210. package/dist/esm/AuthorComponent-11adff02.js +90 -0
  211. package/dist/esm/Beam.js +348 -1
  212. package/dist/esm/BlockContent-1e73bd2c.js +909 -0
  213. package/dist/esm/Breadcrumbs.js +100 -1
  214. package/dist/esm/CMEDeck.js +442 -1
  215. package/dist/esm/Column1.js +28 -1
  216. package/dist/esm/Column2.js +63 -1
  217. package/dist/esm/Column3.js +133 -1
  218. package/dist/esm/ConferenceArticleCard.js +87 -1
  219. package/dist/esm/ConferenceBanner-8792ebd2.js +18 -0
  220. package/dist/esm/ContentCardPaginated.js +406 -1
  221. package/dist/esm/DeckContent.js +498 -1
  222. package/dist/esm/DeckQueue.js +394 -1
  223. package/dist/esm/DeckQueuePaginated.js +337 -1
  224. package/dist/esm/Dfp-102f0beb.js +97 -0
  225. package/dist/esm/EventsDeck.js +871 -1
  226. package/dist/esm/ExternalResources.js +215 -1
  227. package/dist/esm/Feature.js +122 -1
  228. package/dist/esm/ForbesHero.js +131 -1
  229. package/dist/esm/GridContent.js +819 -1
  230. package/dist/esm/GridContentPaginated.js +693 -1
  231. package/dist/esm/GridHero.js +141 -1
  232. package/dist/esm/GroupDeck.js +308 -1
  233. package/dist/esm/HamMagazine.js +589 -1
  234. package/dist/esm/Header.js +29 -1
  235. package/dist/esm/HealthCareProfessionalModal.js +70 -1
  236. package/dist/esm/Hero.js +42 -1
  237. package/dist/esm/HighlightenVideo.js +63 -1
  238. package/dist/esm/HorizontalArticleListing.js +163 -1
  239. package/dist/esm/HorizontalHero.js +105 -1
  240. package/dist/esm/ImageSlider-f84174cb.js +2804 -0
  241. package/dist/esm/IssueContentDeck.js +231 -1
  242. package/dist/esm/IssueDeck.js +258 -1
  243. package/dist/esm/IssueLanding.js +170 -1
  244. package/dist/esm/KMTracker.js +25 -1
  245. package/dist/esm/LeftNav.js +145 -1
  246. package/dist/esm/MasterDeck.js +549 -1
  247. package/dist/esm/MasterDeckPaginated.js +461 -1
  248. package/dist/esm/MediaSeriesCard-f56c8274.js +75 -0
  249. package/dist/esm/MediaSeriesLanding.js +502 -1
  250. package/dist/esm/MediaSeriesLandingPaginated.js +527 -1
  251. package/dist/esm/NavDvm.js +263 -1
  252. package/dist/esm/NavFooter-3272e9cd.js +65 -0
  253. package/dist/esm/NavMagazine.js +600 -1
  254. package/dist/esm/NavNative.js +864 -1
  255. package/dist/esm/OncliveHero.js +73 -1
  256. package/dist/esm/OncliveLargeHero.js +235 -1
  257. package/dist/esm/PageFilter.js +66 -1
  258. package/dist/esm/Pagination-dc30727b.js +90 -0
  259. package/dist/esm/PartnerDetailListing.js +339 -1
  260. package/dist/esm/PartnerDetailListingPaginated.js +347 -1
  261. package/dist/esm/PdfDownload.js +22 -1
  262. package/dist/esm/PixelTracking.js +156 -1
  263. package/dist/esm/PodcastsLanding.js +229 -1
  264. package/dist/esm/PopUpModal.js +51 -1
  265. package/dist/esm/PtceDeck.js +143 -1
  266. package/dist/esm/PubSection.js +115 -1
  267. package/dist/esm/PubToc.js +81 -1
  268. package/dist/esm/PublicationDeck.js +173 -1
  269. package/dist/esm/PublicationFeature-d88e76b9.js +121 -0
  270. package/dist/esm/PublicationLanding.js +847 -1
  271. package/dist/esm/QueueDeckExpanded.js +1535 -1
  272. package/dist/esm/QueueDeckExpandedPaginated.js +1382 -1
  273. package/dist/esm/RecentNews.js +85 -1
  274. package/dist/esm/RelatedContent.js +108 -1
  275. package/dist/esm/RelatedTopicsDropdown.js +82 -1
  276. package/dist/esm/RolesDeck.js +84 -1
  277. package/dist/esm/Schema.js +97 -1
  278. package/dist/esm/Search.js +57 -1
  279. package/dist/esm/Segment.js +450 -1
  280. package/dist/esm/SeriesListingDeck.js +243 -1
  281. package/dist/esm/SeriesSlider-f771e20d.js +326 -0
  282. package/dist/esm/SetCookie.js +8 -1
  283. package/dist/esm/SideFooter.js +144 -1
  284. package/dist/esm/SocialIcons.js +97 -1
  285. package/dist/esm/SocialSearchComponent-165b4ae7.js +204 -0
  286. package/dist/esm/SocialShare.js +67 -1
  287. package/dist/esm/TaxonomyCard.js +247 -1
  288. package/dist/esm/TaxonomyDescription.js +202 -1
  289. package/dist/esm/TemplateNormal.js +197 -1
  290. package/dist/esm/ThumbnailCard.js +52 -1
  291. package/dist/esm/Tooltip-95655b44.js +9445 -0
  292. package/dist/esm/Ustream.js +150 -1
  293. package/dist/esm/VerticalHero.js +68 -1
  294. package/dist/esm/VideoProgramLandingPage.js +255 -1
  295. package/dist/esm/VideoSeriesCard.js +82 -1
  296. package/dist/esm/VideoSeriesFilter.js +122 -1
  297. package/dist/esm/VideoSeriesLandingPage.js +173 -1
  298. package/dist/esm/VideoSeriesListing.js +416 -1
  299. package/dist/esm/View.js +2689 -1
  300. package/dist/esm/YahooHero.js +120 -1
  301. package/dist/esm/YoutubeGroup.js +365 -1
  302. package/dist/esm/_commonjsHelpers-0c4b6f40.js +19 -0
  303. package/dist/esm/_is-array-8d21b9e3.js +71 -0
  304. package/dist/esm/_iter-detect-98db3b07.js +48 -0
  305. package/dist/esm/_library-528f1934.js +3 -0
  306. package/dist/esm/_object-pie-133f504a.js +13 -0
  307. package/dist/esm/_object-sap-7cee6f84.js +14 -0
  308. package/dist/esm/_object-to-array-2300e51b.js +23 -0
  309. package/dist/esm/asyncToGenerator-958ef5fc.js +1387 -0
  310. package/dist/esm/brightcove-react-player-loader.es-57a70a56.js +2226 -0
  311. package/dist/esm/checkSisterSite-baa4fb6b.js +17 -0
  312. package/dist/esm/core.get-iterator-method-ea258bb1.js +547 -0
  313. package/dist/esm/debounce-533d9748.js +214 -0
  314. package/dist/esm/define-property-5f1bda73.js +18 -0
  315. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  316. package/dist/esm/entities-6d9154b4.js +507 -0
  317. package/dist/esm/eq-bdcbf886.js +76 -0
  318. package/dist/esm/events-6c3a7a63.js +467 -0
  319. package/dist/esm/extends-6d8e3924.js +83 -0
  320. package/dist/esm/faundadb.js +396 -1
  321. package/dist/esm/get-3c308da4.js +918 -0
  322. package/dist/esm/getContentCategory-15dcc413.js +9 -0
  323. package/dist/esm/getKeywords.js +44 -1
  324. package/dist/esm/getPtceActivities.js +87 -1
  325. package/dist/esm/getQuery.js +26 -1
  326. package/dist/esm/getRelatedArticle.js +540 -1
  327. package/dist/esm/getRootDocGroup.js +60 -1
  328. package/dist/esm/getSerializers.js +62 -1
  329. package/dist/esm/getSeriesDetail.js +38 -1
  330. package/dist/esm/getTargeting-9bd28724.js +161 -0
  331. package/dist/esm/getTargeting.js +7 -1
  332. package/dist/esm/iconBase-ccc56b97.js +81 -0
  333. package/dist/esm/index-3f5c03b2.js +553 -0
  334. package/dist/esm/index-5d8b0a9d.js +10767 -0
  335. package/dist/esm/index-755f2cc2.js +605 -0
  336. package/dist/esm/index-79cfd25c.js +1569 -0
  337. package/dist/esm/index-98ca9cec.js +100 -0
  338. package/dist/esm/index-c7e2ac95.js +52 -0
  339. package/dist/esm/index-db3bb315.js +207 -0
  340. package/dist/esm/index-f0fc23eb.js +1209 -0
  341. package/dist/esm/index.es-a6137319.js +439 -0
  342. package/dist/esm/index.esm-07c37a92.js +90 -0
  343. package/dist/esm/index.esm-1bd8a0a8.js +18 -0
  344. package/dist/esm/index.esm-9b042655.js +10 -0
  345. package/dist/esm/index.esm-eb1e8e80.js +14 -0
  346. package/dist/esm/index.js +537 -1
  347. package/dist/esm/inherits-a6ba2ec4.js +179 -0
  348. package/dist/esm/isSymbol-a7e9aafe.js +203 -0
  349. package/dist/esm/js.cookie-6874175c.js +158 -0
  350. package/dist/esm/keys-31dcdb31.js +23 -0
  351. package/dist/esm/lodash-f97fd99a.js +17193 -0
  352. package/dist/esm/main-1894c974.js +961 -0
  353. package/dist/esm/md5-4e42248e.js +321 -0
  354. package/dist/esm/moment-bc12cb97.js +5667 -0
  355. package/dist/esm/react-social-icons-9be47857.js +609 -0
  356. package/dist/esm/slicedToArray-6ebcbfea.js +92 -0
  357. package/dist/esm/smoothscroll-fa4e3f8c.js +436 -0
  358. package/dist/esm/stringify-2b084bee.js +15 -0
  359. package/dist/esm/style-inject.es-1f59c1d0.js +28 -1
  360. package/dist/esm/timeDifferenceCalc.js +37 -1
  361. package/dist/esm/toConsumableArray-f7074d7c.js +71 -0
  362. package/dist/esm/toNumber-5aeba6e7.js +102 -0
  363. package/dist/esm/typeof-2f07d0e8.js +30 -0
  364. package/dist/esm/typeof-e9fc0c5d.js +378 -0
  365. package/dist/esm/urlFor.js +63 -1
  366. package/dist/esm/urlForFile-b69adffc.js +22 -0
  367. package/dist/esm/ustream-api-d3714624.js +104 -0
  368. package/dist/esm/util-8ed16d48.js +585 -0
  369. package/dist/esm/visibility-sensor-72fd8f8b.js +590 -0
  370. package/dist/esm/web.dom.iterable-ab4dea5c.js +48 -0
  371. package/package.json +23 -24
  372. package/dist/cjs/AD-898996a0.js +0 -1
  373. package/dist/cjs/AD300x250-266996c8.js +0 -1
  374. package/dist/cjs/AD300x250x600-f5ccbeef.js +0 -1
  375. package/dist/cjs/AD728x90-cfaa3590.js +0 -1
  376. package/dist/cjs/ADFloatingFooter-6a82d5a0.js +0 -1
  377. package/dist/cjs/ADFooter-86087810.js +0 -1
  378. package/dist/cjs/ADGutter-c2fafa7d.js +0 -1
  379. package/dist/cjs/ADInfeed-f496a8f6.js +0 -1
  380. package/dist/cjs/ADSkyscraper-dcea8c02.js +0 -1
  381. package/dist/cjs/ADSponsoredResources-b3c41d02.js +0 -1
  382. package/dist/cjs/ADWebcast-cd4cb6eb.js +0 -1
  383. package/dist/cjs/ADWelcome-62c95f83.js +0 -1
  384. package/dist/cjs/ADlgInfeed-01f5ef1b.js +0 -1
  385. package/dist/cjs/AccordionPanel-9a3ea5e9.js +0 -1
  386. package/dist/cjs/AdSlot-d541f28d.js +0 -1
  387. package/dist/cjs/AdSlotsProvider-2e4f7f6f.js +0 -1
  388. package/dist/cjs/AlgoliaSearch-8eab2349.js +0 -1
  389. package/dist/cjs/AlphabeticList-a86a341f.js +0 -1
  390. package/dist/cjs/ArticleCarousel-75b7d666.js +0 -1
  391. package/dist/cjs/ArticleProgramLandingPage-c22f8d23.js +0 -1
  392. package/dist/cjs/ArticleSeriesLandingPage-5225aa96.js +0 -1
  393. package/dist/cjs/ArticleSeriesListing-be79214a.js +0 -1
  394. package/dist/cjs/AuthorComponent-91032070.js +0 -1
  395. package/dist/cjs/Breadcrumbs-ad264db7.js +0 -1
  396. package/dist/cjs/CMEDeck-c58e524e.js +0 -1
  397. package/dist/cjs/Column1-9a0e0262.js +0 -1
  398. package/dist/cjs/Column2-739faed9.js +0 -1
  399. package/dist/cjs/Column3-fa7c056f.js +0 -1
  400. package/dist/cjs/ConferenceArticleCard-4f472e4b.js +0 -1
  401. package/dist/cjs/ConferenceBanner-9fb497af.js +0 -1
  402. package/dist/cjs/ContentCard-94a11e61.js +0 -1
  403. package/dist/cjs/Dfp-6d5370e2.js +0 -1
  404. package/dist/cjs/DropdownButton-469c179c.js +0 -6
  405. package/dist/cjs/Dvm-d7766f28.js +0 -1
  406. package/dist/cjs/EventsDeck-6f4dae1e.js +0 -1
  407. package/dist/cjs/ExternalResources-e965dd3d.js +0 -1
  408. package/dist/cjs/Feature-3cf45f11.js +0 -1
  409. package/dist/cjs/ForbesHero-741e751e.js +0 -1
  410. package/dist/cjs/GridContent-ffe6735d.js +0 -1
  411. package/dist/cjs/GridHero-80338231.js +0 -1
  412. package/dist/cjs/GroupDeck-f3b67f3d.js +0 -1
  413. package/dist/cjs/HamburgerNav-ef1d1832.js +0 -1
  414. package/dist/cjs/Header-268a2cda.js +0 -1
  415. package/dist/cjs/Hero-43574b9d.js +0 -1
  416. package/dist/cjs/HighlightenVideo-20edba55.js +0 -1
  417. package/dist/cjs/HorizontalArticleListing-906f5b20.js +0 -1
  418. package/dist/cjs/HorizontalHero-7911527d.js +0 -1
  419. package/dist/cjs/ImageSlider-1b09bc59.js +0 -1
  420. package/dist/cjs/IssueContentDeck-f79e2c82.js +0 -1
  421. package/dist/cjs/IssueDeck-e41a10eb.js +0 -1
  422. package/dist/cjs/IssueLanding-89e0e42f.js +0 -1
  423. package/dist/cjs/KMTracker-4e1de793.js +0 -1
  424. package/dist/cjs/LeftNav-1f40f0cc.js +0 -1
  425. package/dist/cjs/Magazine-93dc6beb.js +0 -1
  426. package/dist/cjs/MasterDeck-65dd366b.js +0 -1
  427. package/dist/cjs/MediaSeriesCard-8ae50064.js +0 -1
  428. package/dist/cjs/Native-d1a75938.js +0 -1
  429. package/dist/cjs/NavFooter-f905aca3.js +0 -1
  430. package/dist/cjs/Normal-1e9c0fa8.js +0 -1
  431. package/dist/cjs/OncliveHero-3fb41e1f.js +0 -1
  432. package/dist/cjs/OncliveLargeHero-c538ea20.js +0 -1
  433. package/dist/cjs/PageFilter-4bb08c20.js +0 -1
  434. package/dist/cjs/Pagination-825e4903.js +0 -1
  435. package/dist/cjs/PartnerDetailListing-f849c242.js +0 -1
  436. package/dist/cjs/PdfDownload-c99142ff.js +0 -1
  437. package/dist/cjs/PopUpModal-7cc1667b.js +0 -1
  438. package/dist/cjs/PubSection-e962964d.js +0 -1
  439. package/dist/cjs/PubToc-e2ff1533.js +0 -1
  440. package/dist/cjs/PublicationDeck-fd0d582f.js +0 -1
  441. package/dist/cjs/PublicationFeature-00d7d119.js +0 -1
  442. package/dist/cjs/PublicationLanding-a8b90432.js +0 -1
  443. package/dist/cjs/Queue-6872841c.js +0 -1
  444. package/dist/cjs/QueueDeckExpanded-b5dd6cda.js +0 -1
  445. package/dist/cjs/RelatedContent-fa1fdaf1.js +0 -1
  446. package/dist/cjs/RelatedTopicsDropdown-4736b927.js +0 -1
  447. package/dist/cjs/RolesDeck-83cbb45e.js +0 -1
  448. package/dist/cjs/Schema-5c66c5cd.js +0 -1
  449. package/dist/cjs/SeriesSlider-72fde209.js +0 -1
  450. package/dist/cjs/SideFooter-2b3625c9.js +0 -1
  451. package/dist/cjs/SocialIcons-425827d3.js +0 -1
  452. package/dist/cjs/SocialNavFooter-8f053a08.js +0 -1
  453. package/dist/cjs/SocialSearchComponent-3dc5405e.js +0 -1
  454. package/dist/cjs/SocialShare-3d7c8abe.js +0 -1
  455. package/dist/cjs/TaxonomyCard-ca56a7b2.js +0 -1
  456. package/dist/cjs/TaxonomyDescription-becc5cc5.js +0 -1
  457. package/dist/cjs/ThumbnailCard-25c9e37b.js +0 -1
  458. package/dist/cjs/Ustream-e85bed96.js +0 -1
  459. package/dist/cjs/VerticalHero-ef71262f.js +0 -1
  460. package/dist/cjs/VideoProgramLandingPage-bcef4cda.js +0 -1
  461. package/dist/cjs/VideoSeriesFilter-c45505be.js +0 -1
  462. package/dist/cjs/VideoSeriesLandingPage-7e199b48.js +0 -1
  463. package/dist/cjs/VideoSeriesListing-0d8ffc18.js +0 -1
  464. package/dist/cjs/YahooHero-5cce225b.js +0 -1
  465. package/dist/cjs/YoutubeGroup-d36b3e49.js +0 -1
  466. package/dist/cjs/_commonjsHelpers-0a7b82d9.js +0 -1
  467. package/dist/cjs/beam-6940aa8c.js +0 -1
  468. package/dist/cjs/checkSisterSite-d2d62375.js +0 -1
  469. package/dist/cjs/defineProperty-3cad0327.js +0 -1
  470. package/dist/cjs/entities-6106638a.js +0 -1
  471. package/dist/cjs/extends-f8003900.js +0 -1
  472. package/dist/cjs/getContentCategory-ee6d9fdf.js +0 -1
  473. package/dist/cjs/getKeywords-5341ea76.js +0 -1
  474. package/dist/cjs/getPrototypeOf-e5dabebb.js +0 -1
  475. package/dist/cjs/getQuery-154617ad.js +0 -1
  476. package/dist/cjs/getRelatedArticle-1008e957.js +0 -1
  477. package/dist/cjs/getSeriesDetail-e2980903.js +0 -1
  478. package/dist/cjs/getTargeting-3b9a1da0.js +0 -1
  479. package/dist/cjs/index-4c0b6033.js +0 -1
  480. package/dist/cjs/index-6e1fba48.js +0 -1
  481. package/dist/cjs/index-83bcf60c.js +0 -1
  482. package/dist/cjs/index-efb74633.js +0 -1
  483. package/dist/cjs/searchForm-2a06a0a6.js +0 -1
  484. package/dist/cjs/segment-lib-1c52764b.js +0 -1
  485. package/dist/cjs/setCookie-e72f573d.js +0 -1
  486. package/dist/cjs/slicedToArray-e6d9072a.js +0 -1
  487. package/dist/cjs/toConsumableArray-bf649f24.js +0 -1
  488. package/dist/cjs/typeof-5f2c4427.js +0 -1
  489. package/dist/cjs/unsupportedIterableToArray-a6f9513d.js +0 -1
  490. package/dist/cjs/urlFor-ca017581.js +0 -1
  491. package/dist/cjs/urlForFile-266cd07c.js +0 -1
  492. package/dist/cjs/ustream-api-05a918f3.js +0 -1
  493. package/dist/esm/AD-52252475.js +0 -1
  494. package/dist/esm/AD300x250-6ba14878.js +0 -1
  495. package/dist/esm/AD300x250x600-371610a9.js +0 -1
  496. package/dist/esm/AD728x90-22304c6a.js +0 -1
  497. package/dist/esm/ADFloatingFooter-57571461.js +0 -1
  498. package/dist/esm/ADFooter-def97764.js +0 -1
  499. package/dist/esm/ADGutter-05ea5a24.js +0 -1
  500. package/dist/esm/ADInfeed-20197eba.js +0 -1
  501. package/dist/esm/ADSkyscraper-d992d7aa.js +0 -1
  502. package/dist/esm/ADSponsoredResources-169c4989.js +0 -1
  503. package/dist/esm/ADWebcast-aa6c2a84.js +0 -1
  504. package/dist/esm/ADWelcome-be877a73.js +0 -1
  505. package/dist/esm/ADlgInfeed-180f8b7e.js +0 -1
  506. package/dist/esm/AccordionPanel-4c89ec1e.js +0 -1
  507. package/dist/esm/AdSlot-7c2daad3.js +0 -1
  508. package/dist/esm/AdSlotsProvider-565c5169.js +0 -1
  509. package/dist/esm/AlgoliaSearch-a4af9d6e.js +0 -1
  510. package/dist/esm/AlphabeticList-fcf0c93c.js +0 -1
  511. package/dist/esm/ArticleCarousel-62e593d2.js +0 -1
  512. package/dist/esm/ArticleProgramLandingPage-0618efa4.js +0 -1
  513. package/dist/esm/ArticleSeriesLandingPage-764a8206.js +0 -1
  514. package/dist/esm/ArticleSeriesListing-017388bd.js +0 -1
  515. package/dist/esm/AuthorComponent-4bb0a577.js +0 -1
  516. package/dist/esm/Breadcrumbs-11913dcf.js +0 -1
  517. package/dist/esm/CMEDeck-d11e05c6.js +0 -1
  518. package/dist/esm/Column1-3304e0a7.js +0 -1
  519. package/dist/esm/Column2-216e1b74.js +0 -1
  520. package/dist/esm/Column3-0799b8d1.js +0 -1
  521. package/dist/esm/ConferenceArticleCard-c8ebc4c5.js +0 -1
  522. package/dist/esm/ConferenceBanner-8a6f3ed9.js +0 -1
  523. package/dist/esm/ContentCard-b326f8e0.js +0 -1
  524. package/dist/esm/Dfp-5935bfb4.js +0 -1
  525. package/dist/esm/DropdownButton-07c4dfae.js +0 -6
  526. package/dist/esm/Dvm-f67220c0.js +0 -1
  527. package/dist/esm/EventsDeck-f0ffda78.js +0 -1
  528. package/dist/esm/ExternalResources-075e250c.js +0 -1
  529. package/dist/esm/Feature-0c2c0b2d.js +0 -1
  530. package/dist/esm/ForbesHero-ec644354.js +0 -1
  531. package/dist/esm/GridContent-99a1bfc4.js +0 -1
  532. package/dist/esm/GridHero-fd6a363f.js +0 -1
  533. package/dist/esm/GroupDeck-c173accb.js +0 -1
  534. package/dist/esm/HamburgerNav-134f2aa6.js +0 -1
  535. package/dist/esm/Header-b0624adc.js +0 -1
  536. package/dist/esm/Hero-37edbb29.js +0 -1
  537. package/dist/esm/HighlightenVideo-5c3fd0fd.js +0 -1
  538. package/dist/esm/HorizontalArticleListing-820bb4f7.js +0 -1
  539. package/dist/esm/HorizontalHero-7576d927.js +0 -1
  540. package/dist/esm/ImageSlider-a0786266.js +0 -1
  541. package/dist/esm/IssueContentDeck-9d771cc2.js +0 -1
  542. package/dist/esm/IssueDeck-787f939c.js +0 -1
  543. package/dist/esm/IssueLanding-0e46e28d.js +0 -1
  544. package/dist/esm/KMTracker-d9e1c288.js +0 -1
  545. package/dist/esm/LeftNav-b4fa0d0b.js +0 -1
  546. package/dist/esm/Magazine-fb80c07a.js +0 -1
  547. package/dist/esm/MasterDeck-5efbeb73.js +0 -1
  548. package/dist/esm/MediaSeriesCard-18ee909f.js +0 -1
  549. package/dist/esm/Native-41cedb31.js +0 -1
  550. package/dist/esm/NavFooter-83d89acd.js +0 -1
  551. package/dist/esm/Normal-28f50540.js +0 -1
  552. package/dist/esm/OncliveHero-525c9d19.js +0 -1
  553. package/dist/esm/OncliveLargeHero-219b4577.js +0 -1
  554. package/dist/esm/PageFilter-7f97f8ed.js +0 -1
  555. package/dist/esm/Pagination-44c3ff7c.js +0 -1
  556. package/dist/esm/PartnerDetailListing-7ec391ac.js +0 -1
  557. package/dist/esm/PdfDownload-eff648d3.js +0 -1
  558. package/dist/esm/PopUpModal-bf7b6151.js +0 -1
  559. package/dist/esm/PubSection-37b37129.js +0 -1
  560. package/dist/esm/PubToc-af66289b.js +0 -1
  561. package/dist/esm/PublicationDeck-cbef1029.js +0 -1
  562. package/dist/esm/PublicationFeature-13838b92.js +0 -1
  563. package/dist/esm/PublicationLanding-3d724d91.js +0 -1
  564. package/dist/esm/Queue-bb3f3625.js +0 -1
  565. package/dist/esm/QueueDeckExpanded-6af47534.js +0 -1
  566. package/dist/esm/RelatedContent-85ad1d8e.js +0 -1
  567. package/dist/esm/RelatedTopicsDropdown-0cf5829a.js +0 -1
  568. package/dist/esm/RolesDeck-6146633e.js +0 -1
  569. package/dist/esm/Schema-e0d1fc48.js +0 -1
  570. package/dist/esm/SeriesSlider-21d0daf6.js +0 -1
  571. package/dist/esm/SideFooter-2f08df74.js +0 -1
  572. package/dist/esm/SocialIcons-c7861c13.js +0 -1
  573. package/dist/esm/SocialNavFooter-66c6cf3c.js +0 -1
  574. package/dist/esm/SocialSearchComponent-a4fa0609.js +0 -1
  575. package/dist/esm/SocialShare-9cc43665.js +0 -1
  576. package/dist/esm/TaxonomyCard-f7ac379f.js +0 -1
  577. package/dist/esm/TaxonomyDescription-32abd442.js +0 -1
  578. package/dist/esm/ThumbnailCard-8377176b.js +0 -1
  579. package/dist/esm/Ustream-2e9965ac.js +0 -1
  580. package/dist/esm/VerticalHero-5719a7c4.js +0 -1
  581. package/dist/esm/VideoProgramLandingPage-9b20c066.js +0 -1
  582. package/dist/esm/VideoSeriesFilter-2ce9ff0e.js +0 -1
  583. package/dist/esm/VideoSeriesLandingPage-1f6b5f71.js +0 -1
  584. package/dist/esm/VideoSeriesListing-72688d44.js +0 -1
  585. package/dist/esm/YahooHero-96f912cb.js +0 -1
  586. package/dist/esm/YoutubeGroup-fdd46eeb.js +0 -1
  587. package/dist/esm/_commonjsHelpers-57e89916.js +0 -1
  588. package/dist/esm/beam-cf274172.js +0 -1
  589. package/dist/esm/checkSisterSite-20e2bf62.js +0 -1
  590. package/dist/esm/defineProperty-9f9de5d0.js +0 -1
  591. package/dist/esm/entities-c5c3079c.js +0 -1
  592. package/dist/esm/extends-464f0b6e.js +0 -1
  593. package/dist/esm/getContentCategory-f99fdf90.js +0 -1
  594. package/dist/esm/getKeywords-2512775a.js +0 -1
  595. package/dist/esm/getPrototypeOf-5b57bbdd.js +0 -1
  596. package/dist/esm/getQuery-bfc0390c.js +0 -1
  597. package/dist/esm/getRelatedArticle-418087a7.js +0 -1
  598. package/dist/esm/getSeriesDetail-aef9680c.js +0 -1
  599. package/dist/esm/getTargeting-6bf24d0e.js +0 -1
  600. package/dist/esm/index-58183fed.js +0 -1
  601. package/dist/esm/index-663f3f10.js +0 -1
  602. package/dist/esm/index-bfecdbef.js +0 -1
  603. package/dist/esm/index-fcd6d5f7.js +0 -1
  604. package/dist/esm/searchForm-3f3f5af6.js +0 -1
  605. package/dist/esm/segment-lib-563b26a6.js +0 -1
  606. package/dist/esm/setCookie-0f2ab6df.js +0 -1
  607. package/dist/esm/slicedToArray-c92cae3a.js +0 -1
  608. package/dist/esm/toConsumableArray-25e5c43c.js +0 -1
  609. package/dist/esm/typeof-a0b2b621.js +0 -1
  610. package/dist/esm/unsupportedIterableToArray-dc74e326.js +0 -1
  611. package/dist/esm/urlFor-b366f69d.js +0 -1
  612. package/dist/esm/urlForFile-272819a6.js +0 -1
  613. package/dist/esm/ustream-api-7998d140.js +0 -1
@@ -1 +1,150 @@
1
- import"./index-663f3f10.js";import"./slicedToArray-c92cae3a.js";import"react";import"react-icons/fa";import"react-device-detect";export{a as default}from"./Ustream-2e9965ac.js";import"./unsupportedIterableToArray-dc74e326.js";
1
+ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
2
+ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
+ import React__default, { useState, useRef, useEffect } from 'react';
4
+ import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
5
+ import { m as main_43 } from './main-1894c974.js';
6
+ import './_commonjsHelpers-0c4b6f40.js';
7
+ import './core.get-iterator-method-ea258bb1.js';
8
+ import './web.dom.iterable-ab4dea5c.js';
9
+ import './_library-528f1934.js';
10
+ import './_iter-detect-98db3b07.js';
11
+ import './iconBase-ccc56b97.js';
12
+
13
+ var _this = undefined;
14
+
15
+ var Ustream = function Ustream(_ref) {
16
+ var _ref$width = _ref.width,
17
+ width = _ref$width === undefined ? '320px' : _ref$width,
18
+ _ref$height = _ref.height,
19
+ height = _ref$height === undefined ? 'auto' : _ref$height,
20
+ _ref$close = _ref.close,
21
+ close = _ref$close === undefined ? false : _ref$close;
22
+ _ref.right;
23
+ var _ref$src = _ref.src,
24
+ src = _ref$src === undefined ? 'https://video.ibm.com/embed/23627444?volume=0&autoplay=true' : _ref$src,
25
+ _ref$logEvent = _ref.logEvent,
26
+ logEvent = _ref$logEvent === undefined ? function () {} : _ref$logEvent;
27
+
28
+ var _useState = useState(width),
29
+ _useState2 = _slicedToArray(_useState, 2),
30
+ currentWidth = _useState2[0];
31
+ _useState2[1];
32
+
33
+ var _useState3 = useState(height),
34
+ _useState4 = _slicedToArray(_useState3, 2);
35
+ _useState4[0];
36
+ _useState4[1];
37
+
38
+ var _useState5 = useState(true),
39
+ _useState6 = _slicedToArray(_useState5, 2),
40
+ isMuted = _useState6[0],
41
+ setIsMuted = _useState6[1];
42
+
43
+ var ustreamContainer = useRef(null);
44
+ var clickableLink = useRef(null);
45
+ var frameUrl = 'https://mjh-web.s3.amazonaws.com/_media/mwn_frame_v2.jpg';
46
+
47
+ function handleClose(ev) {
48
+ ev.preventDefault();
49
+ ev.stopPropagation();
50
+ ustreamContainer.current.remove();
51
+ }
52
+ useEffect(function () {
53
+ if (!main_43) {
54
+ try {
55
+ var container = document.getElementById('ustream-container');
56
+ var ustream = document.getElementById('ustream-iframe');
57
+ ustream.setAttribute('src', src);
58
+ var referrerUrl = window && window.location.hostname.replace('www.', '').replace('.com', '').replace('.net', '').replace('.vercel.app', '') || ';';
59
+ var mwnUrl = 'https://www.medicalworldnews.com/?utm_source=' + referrerUrl + '&utm_medium=web&utm_campaign=mwn&ultv=true';
60
+ clickableLink.current.href = mwnUrl;
61
+ if (close) {
62
+ var closeBtn = document.querySelector('.ustream-close');
63
+ closeBtn.addEventListener('click', function () {
64
+ container.remove();
65
+ });
66
+ }
67
+ } catch (err) {}
68
+ }
69
+ }, []);
70
+
71
+ useEffect(function () {
72
+ if (isMuted && !main_43) {
73
+ var loadUstreamListener = function () {
74
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
75
+ var UstreamEmbed, viewer, reporting;
76
+ return regenerator.wrap(function _callee$(_context) {
77
+ while (1) {
78
+ switch (_context.prev = _context.next) {
79
+ case 0:
80
+ _context.next = 2;
81
+ return import('./ustream-api-d3714624.js');
82
+
83
+ case 2:
84
+ UstreamEmbed = _context.sent;
85
+ viewer = UstreamEmbed('ustream-iframe');
86
+ reporting = setInterval(function () {
87
+ viewer.getProperty('volume', function (content) {
88
+ if (content > 0) {
89
+ logEvent({ category: 'Ustream Unmute', action: 'Unmute Ustream Widget', label: 'Unmute Ustream Widget' });
90
+ setIsMuted(false);
91
+ clearInterval(reporting);
92
+ }
93
+ });
94
+ }, 2000);
95
+
96
+ case 5:
97
+ case 'end':
98
+ return _context.stop();
99
+ }
100
+ }
101
+ }, _callee, _this);
102
+ }));
103
+
104
+ return function loadUstreamListener() {
105
+ return _ref2.apply(this, arguments);
106
+ };
107
+ }();
108
+ loadUstreamListener();
109
+ }
110
+ }, [isMuted]);
111
+ //return nothing if mobile
112
+ if (main_43) {
113
+ return null;
114
+ }
115
+
116
+ return React__default.createElement(
117
+ 'div',
118
+ {
119
+ id: 'ustream-container',
120
+ ref: ustreamContainer,
121
+ style: { width: '' + currentWidth, position: 'fixed', bottom: '2rem', left: '2rem', zIndex: '999999', boxShadow: '2px 4px 8px rgba(0,0,0,.35)', borderRadius: '5px', overflow: 'hidden' } },
122
+ React__default.createElement(
123
+ 'a',
124
+ { ref: clickableLink, target: '_blank', href: '' },
125
+ React__default.createElement(FaWindowClose, { style: { position: 'absolute', top: '0', right: '0', width: '22px', height: '20px', color: '#fff', background: '#000', padding: '2px' }, onClick: function onClick(e) {
126
+ return handleClose(e);
127
+ } }),
128
+ React__default.createElement('img', { src: frameUrl, style: { width: '100%' } }),
129
+ React__default.createElement(
130
+ 'div',
131
+ { style: { position: 'absolute', top: '48px', left: '26px', width: '272px' } },
132
+ React__default.createElement(
133
+ 'div',
134
+ { style: { position: 'relative', width: '100%', paddingTop: '56.25%', overflow: 'hidden', borderRadius: '10px' } },
135
+ React__default.createElement('iframe', {
136
+ id: 'ustream-iframe',
137
+ webkitallowfullscreen: 'true',
138
+ allowFullScreen: true,
139
+ frameBorder: 'no',
140
+ style: { position: 'absolute', top: '0', bottom: '0', left: '0', right: '0', width: '100%', height: '100%', pointerEvents: 'none', borderRadius: '10px' }
141
+ })
142
+ )
143
+ )
144
+ )
145
+ );
146
+ };
147
+
148
+ var Ustream$1 = React__default.memo(Ustream);
149
+
150
+ export { Ustream$1 as default };
@@ -1 +1,68 @@
1
- import"react";import"moment";import"./urlFor-b366f69d.js";export{a as default}from"./VerticalHero-5719a7c4.js";import"./slicedToArray-c92cae3a.js";import"./unsupportedIterableToArray-dc74e326.js";import"@sanity/image-url";
1
+ import React__default from 'react';
2
+ import './moment-bc12cb97.js';
3
+ import urlFor from './urlFor.js';
4
+ import './_commonjsHelpers-0c4b6f40.js';
5
+ import './slicedToArray-6ebcbfea.js';
6
+ import './web.dom.iterable-ab4dea5c.js';
7
+ import './core.get-iterator-method-ea258bb1.js';
8
+ import './index-3f5c03b2.js';
9
+
10
+ var VerticalHero = function VerticalHero(props) {
11
+ var client = props.client;
12
+ var _props$heroTitle = props.heroTitle,
13
+ heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
14
+
15
+
16
+ return React__default.createElement(
17
+ 'div',
18
+ { className: 'vertical-hero-container' },
19
+ React__default.createElement(
20
+ 'div',
21
+ { className: 'vertical-hero-inner' },
22
+ React__default.createElement(
23
+ 'div',
24
+ { className: 'hero-title' },
25
+ React__default.createElement(
26
+ 'h2',
27
+ null,
28
+ heroTitle
29
+ )
30
+ ),
31
+ props.dataRecord.map(function (article, index) {
32
+ var articleThumbnail = '';
33
+ var articleAltText = article.title;
34
+ if (article.thumbnail && article.thumbnail.asset) {
35
+ articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 500 });
36
+ articleAltText = article.thumbnail.asset.originalFileName;
37
+ } else if (props.thumbnail) {
38
+ articleThumbnail = props.thumbnail;
39
+ }
40
+ return index === 0 ? React__default.createElement(
41
+ 'a',
42
+ { href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
43
+ React__default.createElement('img', { src: articleThumbnail, alt: articleAltText }),
44
+ React__default.createElement(
45
+ 'h2',
46
+ null,
47
+ article.title
48
+ )
49
+ ) : React__default.createElement(
50
+ 'a',
51
+ { href: '/view/' + article.url.current, className: 'vertical-article' },
52
+ React__default.createElement(
53
+ 'h2',
54
+ null,
55
+ article.title
56
+ )
57
+ );
58
+ })
59
+ ),
60
+ React__default.createElement(
61
+ 'style',
62
+ { jsx: 'true' },
63
+ '\n .vertical-hero-container {\n display: flex;\n flex-direction: row;\n padding: 0.25rem;\n justify-content: space-between;\n width: 100%;\n flex: 1 1 auto;\n }\n .hero-title h2 {\n font-size: 1.2rem;\n font-weight: bold;\n }\n .vertical-article {\n display: block;\n }\n .vertical-article img {\n width: 100%;\n height: auto;\n min-width: 200px;\n }\n .vertical-article h2 {\n font-size: 0.9rem;\n color: #252525;\n font-weight: bold;\n padding: 0.5rem 0.5rem 1rem;\n margin: 0.5rem;\n border-bottom: 1px solid #ccc;\n }\n '
64
+ )
65
+ );
66
+ };
67
+
68
+ export { VerticalHero as default };
@@ -1 +1,255 @@
1
- import"./index-663f3f10.js";import"./extends-464f0b6e.js";import"react";import"@sanity/block-content-to-react";import"react-bootstrap/Col";import"react-bootstrap/Form";import"react-bootstrap/Button";import"./index-fcd6d5f7.js";import"./VideoSeriesListing-72688d44.js";export{a as default}from"./VideoProgramLandingPage-9b20c066.js";import"./slicedToArray-c92cae3a.js";import"./unsupportedIterableToArray-dc74e326.js";import"react-bootstrap";import"./urlFor-b366f69d.js";import"@sanity/image-url";import"react-dfp";import"next/router";import"get-youtube-id";import"react-youtube";import"./segment-lib-563b26a6.js";import"react-device-detect";import"./urlForFile-272819a6.js";import"react-lazyload";import"./typeof-a0b2b621.js";import"@brightcove/react-player-loader";import"./defineProperty-9f9de5d0.js";import"react-bootstrap/Modal";import"react-player";import"react-ga";import"./GroupDeck-c173accb.js";import"smoothscroll-polyfill";import"moment";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"./AdSlot-7c2daad3.js";import"prop-types";import"lodash/debounce";import"react-bootstrap/Row";import"./toConsumableArray-25e5c43c.js";import"./getPrototypeOf-5b57bbdd.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";import"react-bootstrap/Container";import"react-visibility-sensor";import"./YoutubeGroup-fdd46eeb.js";import"react-infinite-scroll-component";
1
+ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
2
+ import { _ as _extends } from './extends-6d8e3924.js';
3
+ import React__default from 'react';
4
+ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
+ import Col from 'react-bootstrap/Col';
6
+ import Form from 'react-bootstrap/Form';
7
+ import Button from 'react-bootstrap/Button';
8
+ import { g as getSerializers } from './index-5d8b0a9d.js';
9
+ import VideoSeriesListing from './VideoSeriesListing.js';
10
+ import './_commonjsHelpers-0c4b6f40.js';
11
+ import './core.get-iterator-method-ea258bb1.js';
12
+ import './web.dom.iterable-ab4dea5c.js';
13
+ import './_library-528f1934.js';
14
+ import './_iter-detect-98db3b07.js';
15
+ import './_object-pie-133f504a.js';
16
+ import 'prop-types';
17
+ import './index-3f5c03b2.js';
18
+ import './slicedToArray-6ebcbfea.js';
19
+ import 'react-bootstrap';
20
+ import './urlFor.js';
21
+ import './index-f0fc23eb.js';
22
+ import './events-6c3a7a63.js';
23
+ import 'next/router';
24
+ import './index-c7e2ac95.js';
25
+ import './util-8ed16d48.js';
26
+ import './Beam.js';
27
+ import './stringify-2b084bee.js';
28
+ import './Segment.js';
29
+ import './main-1894c974.js';
30
+ import './urlForFile-b69adffc.js';
31
+ import './index-755f2cc2.js';
32
+ import 'react-dom';
33
+ import './typeof-e9fc0c5d.js';
34
+ import './_is-array-8d21b9e3.js';
35
+ import './brightcove-react-player-loader.es-57a70a56.js';
36
+ import './_object-to-array-2300e51b.js';
37
+ import './keys-31dcdb31.js';
38
+ import './_object-sap-7cee6f84.js';
39
+ import 'react-bootstrap/Modal';
40
+ import 'react-ga';
41
+ import './GroupDeck.js';
42
+ import './smoothscroll-fa4e3f8c.js';
43
+ import './moment-bc12cb97.js';
44
+ import './SocialShare.js';
45
+ import 'next/head';
46
+ import 'react-share';
47
+ import './toConsumableArray-f7074d7c.js';
48
+ import 'react-bootstrap/Pagination';
49
+ import './entities-6d9154b4.js';
50
+ import './AdSlot.js';
51
+ import './debounce-533d9748.js';
52
+ import './isSymbol-a7e9aafe.js';
53
+ import './toNumber-5aeba6e7.js';
54
+ import 'react-bootstrap/Row';
55
+ import './inherits-a6ba2ec4.js';
56
+ import './define-property-5f1bda73.js';
57
+ import './index.esm-eb1e8e80.js';
58
+ import './iconBase-ccc56b97.js';
59
+ import 'react-bootstrap/Figure';
60
+ import 'react-bootstrap/OverlayTrigger';
61
+ import 'react-bootstrap/Tooltip';
62
+ import 'react-bootstrap/Popover';
63
+ import './checkSisterSite-baa4fb6b.js';
64
+ import 'react-bootstrap/Container';
65
+ import './visibility-sensor-72fd8f8b.js';
66
+ import './YoutubeGroup.js';
67
+ import './index.es-a6137319.js';
68
+
69
+ var _this = undefined;
70
+
71
+ var cache = { topic_ids: [] };
72
+
73
+ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
74
+ var client = props.client,
75
+ virtualBlock = props.virtualBlock,
76
+ topics = props.topics,
77
+ posts = props.posts,
78
+ query = props.query,
79
+ params = props.params,
80
+ _props$currentPage = props.currentPage,
81
+ currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
82
+ pageview = props.pageview,
83
+ _props$columns = props.columns,
84
+ columns = _props$columns === undefined ? 'rotate' : _props$columns,
85
+ _props$variant = props.variant,
86
+ variant = _props$variant === undefined ? 'top' : _props$variant,
87
+ _props$page = props.page,
88
+ page = _props$page === undefined ? '' : _props$page,
89
+ _props$autoScroll = props.autoScroll,
90
+ autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
91
+ defaultImage = props.defaultImage,
92
+ mapping = props.mapping;
93
+
94
+ return React__default.createElement(
95
+ 'div',
96
+ null,
97
+ virtualBlock && React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
98
+ React__default.createElement(
99
+ 'div',
100
+ { className: 'peer-exchange-filter-container' },
101
+ React__default.createElement(
102
+ Form,
103
+ { className: 'ml-3', method: 'post' },
104
+ React__default.createElement(
105
+ Form.Row,
106
+ null,
107
+ React__default.createElement(
108
+ Col,
109
+ null,
110
+ React__default.createElement(
111
+ Form.Group,
112
+ { controlId: 'topic' },
113
+ React__default.createElement(
114
+ Form.Control,
115
+ { as: 'select', name: 'topic_id', placeholder: 'Filter by Topic' },
116
+ React__default.createElement(
117
+ 'option',
118
+ { value: '' },
119
+ 'All Topics'
120
+ ),
121
+ topics && topics.map(function (topic) {
122
+ if (props.topic_id === topic._id || topic.name == 'Peer Exchange') {
123
+ return null;
124
+ } else {
125
+ return React__default.createElement(
126
+ 'option',
127
+ { value: topic._id },
128
+ topic.name
129
+ );
130
+ }
131
+ })
132
+ )
133
+ )
134
+ ),
135
+ React__default.createElement(
136
+ Col,
137
+ null,
138
+ React__default.createElement(
139
+ Button,
140
+ { type: 'submit', variant: 'secondary' },
141
+ 'Apply'
142
+ )
143
+ )
144
+ )
145
+ )
146
+ ),
147
+ posts && React__default.createElement(VideoSeriesListing, {
148
+ client: client,
149
+ mapping: mapping,
150
+ dataRecord: posts,
151
+ query: query,
152
+ params: params,
153
+ currentPage: currentPage,
154
+ pageview: pageview,
155
+ columns: columns,
156
+ variant: variant,
157
+ page: page,
158
+ autoScroll: autoScroll,
159
+ defaultImage: defaultImage
160
+ })
161
+ );
162
+ };
163
+
164
+ VideoProgramLandingPage.getInitialData = function () {
165
+ var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(context, client) {
166
+ var itemsPerPage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 6;
167
+ var topicId = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
168
+ var taxonomyId = arguments[4];
169
+ var pathname, virtualBlock, query, taxonomy_ids_res, taxonomy_ids, i, res, j, topics, urlQuery, currentPage, start, params, posts;
170
+ return regenerator.wrap(function _callee$(_context) {
171
+ while (1) {
172
+ switch (_context.prev = _context.next) {
173
+ case 0:
174
+ // Virtual Block
175
+ pathname = context.pathname;
176
+ _context.next = 3;
177
+ return client.fetch('*[_type == \'virtualBlock\' && identifier == \'' + pathname + '\'][0]');
178
+
179
+ case 3:
180
+ virtualBlock = _context.sent;
181
+
182
+
183
+ // Topics for filtering
184
+ query = '';
185
+
186
+ if (!(cache && cache.topic_ids && cache.topic_ids.length > 0)) {
187
+ _context.next = 8;
188
+ break;
189
+ }
190
+
191
+ _context.next = 15;
192
+ break;
193
+
194
+ case 8:
195
+ query = '*[\n _type == \'article\' \n && !(_id in path("drafts.**")) \n && defined(title) \n && defined(url)\n && references(\'' + taxonomyId + '\') \n && is_visible == true \n && dateTime(published) <= dateTime(now())\n ]{\n \'taxonomy_id\': taxonomyMapping[]->_id\n }';
196
+ _context.next = 11;
197
+ return client.fetch(query);
198
+
199
+ case 11:
200
+ taxonomy_ids_res = _context.sent;
201
+ taxonomy_ids = [];
202
+
203
+ for (i = 0; i < taxonomy_ids_res.length; i++) {
204
+ res = taxonomy_ids_res[i];
205
+
206
+ for (j = 0; j < res.taxonomy_id.length; j++) {
207
+ if (!taxonomy_ids.includes(res.taxonomy_id[j])) {
208
+ taxonomy_ids.push(res.taxonomy_id[j]);
209
+ }
210
+ }
211
+ }
212
+ cache.topic_ids = taxonomy_ids;
213
+
214
+ case 15:
215
+ query = '*[_type == \'taxonomy\' && _id in $taxonomy_ids] | order(name asc)';
216
+ _context.next = 18;
217
+ return client.fetch(query, { taxonomy_ids: cache.topic_ids });
218
+
219
+ case 18:
220
+ topics = _context.sent;
221
+
222
+
223
+ // Posts
224
+ urlQuery = context.query;
225
+ currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
226
+ start = (currentPage - 1) * itemsPerPage;
227
+ params = {
228
+ from: start,
229
+ to: start + itemsPerPage,
230
+ url: pathname,
231
+ itemsPerPage: itemsPerPage
232
+ };
233
+
234
+ query = '*[\n _type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true\n && dateTime(published) <= dateTime(now())\n && references(\'' + taxonomyId + '\')\n ' + (topicId ? '&& references(\'' + topicId + '\')' : '') + '\n ] | order(published desc) [$from...$to]{\n \t\t...,\n \t\ttitle,\n \t\tsummary,\n \t\tpublished,\n \t\tthumbnail{ ..., asset->},\n \t\turl,\n \t\ttaxonomy,\n \t\tcontentCategory->,\n \t\tbody[_type == "youtubeGallery"]{\n ...,\n videos[]{\n ...,\n thumbnail{...,asset->}\n }\n },\n \t\t\'pageNumber\': ' + currentPage + '\n \t}';
235
+ _context.next = 26;
236
+ return client.fetch(query, params);
237
+
238
+ case 26:
239
+ posts = _context.sent;
240
+ return _context.abrupt('return', { virtualBlock: virtualBlock, topics: topics, posts: posts, query: query, params: params, currentPage: currentPage });
241
+
242
+ case 28:
243
+ case 'end':
244
+ return _context.stop();
245
+ }
246
+ }
247
+ }, _callee, _this);
248
+ }));
249
+
250
+ return function (_x, _x2) {
251
+ return _ref.apply(this, arguments);
252
+ };
253
+ }();
254
+
255
+ export { VideoProgramLandingPage as default };
@@ -1 +1,82 @@
1
- import{_ as e}from"./typeof-a0b2b621.js";import r from"react";import i from"react-lazyload";import{u as n}from"./urlFor-b366f69d.js";import a from"moment";import{s as o}from"./style-inject.es-1f59c1d0.js";import"prop-types";import"./slicedToArray-c92cae3a.js";import"./unsupportedIterableToArray-dc74e326.js";import"@sanity/image-url";var d="VideoSeriesCard-module_article__Hlc3e",t="VideoSeriesCard-module_thumb__3hGyJ",m="VideoSeriesCard-module_info__2_i1N",l="VideoSeriesCard-module_published__1fI0q",s="VideoSeriesCard-module_summary__3hWJT",_="VideoSeriesCard-module_author__aU35o";o(".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n");var u=function(o){var u=o.data,c=o.variant,h=o.defaultImage,p=o.client,f=o.index,g=parseInt(f)+1;return r.createElement("div",{className:d},r.createElement("a",{href:"/view/".concat(u.url.current),style:"right"===c?{flexDirection:"row-reverse"}:{}},r.createElement("div",{className:t},r.createElement("figure",null,r.createElement(i,null,r.createElement("img",{src:u.thumbnail&&u.thumbnail.asset?n({client:p,source:u.thumbnail}):u.thumbnail&&e("string"==u.thumbnail)?u.thumbnail:h})))),r.createElement("div",{className:m,style:"right"===c?{padding:"0 1rem 0 0"}:{padding:" 0 0 0 1rem"}},r.createElement("div",{style:{fontSize:"1.3rem",fontWeight:"bold"}},g&&"EP ".concat(g,": "),u.title),u.published&&r.createElement("p",{className:l},a(u.published).format("MMMM Do YYYY")),u.authorMapping&&u.authorMapping.displayName&&r.createElement("p",{className:_},"By ",r.createElement("span",null,u.authorMapping.displayName)),u.intro&&r.createElement("p",{dangerouslySetInnerHTML:{__html:u.intro},className:s}))))};export{u as default};
1
+ import { _ as _typeof } from './typeof-e9fc0c5d.js';
2
+ import React__default from 'react';
3
+ import { L as LazyLoad } from './index-755f2cc2.js';
4
+ import urlFor from './urlFor.js';
5
+ import { m as moment } from './moment-bc12cb97.js';
6
+ import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
+ import 'prop-types';
8
+ import './_commonjsHelpers-0c4b6f40.js';
9
+ import './core.get-iterator-method-ea258bb1.js';
10
+ import './web.dom.iterable-ab4dea5c.js';
11
+ import './_is-array-8d21b9e3.js';
12
+ import './_object-pie-133f504a.js';
13
+ import './_library-528f1934.js';
14
+ import 'react-dom';
15
+ import './slicedToArray-6ebcbfea.js';
16
+ import './index-3f5c03b2.js';
17
+
18
+ var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
19
+ var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
20
+ styleInject(css);
21
+
22
+ var VideoSeriesCard = function VideoSeriesCard(props) {
23
+ var data = props.data,
24
+ variant = props.variant,
25
+ defaultImage = props.defaultImage,
26
+ client = props.client,
27
+ index = props.index;
28
+
29
+ var episode = parseInt(index) + 1;
30
+
31
+ return React__default.createElement(
32
+ 'div',
33
+ { className: styles.article },
34
+ React__default.createElement(
35
+ 'a',
36
+ { href: '/view/' + data.url.current, style: variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
37
+ React__default.createElement(
38
+ 'div',
39
+ { className: styles.thumb },
40
+ React__default.createElement(
41
+ 'figure',
42
+ null,
43
+ React__default.createElement(
44
+ LazyLoad,
45
+ null,
46
+ React__default.createElement('img', {
47
+ src: data.thumbnail && data.thumbnail.asset ? urlFor({ client: client, source: data.thumbnail }) : data.thumbnail && _typeof(data.thumbnail == 'string') ? data.thumbnail : defaultImage
48
+ })
49
+ )
50
+ )
51
+ ),
52
+ React__default.createElement(
53
+ 'div',
54
+ { className: styles.info, style: variant === 'right' ? { padding: '0 1rem 0 0' } : { padding: ' 0 0 0 1rem' } },
55
+ React__default.createElement(
56
+ 'div',
57
+ { style: { fontSize: '1.3rem', fontWeight: 'bold' } },
58
+ episode && 'EP ' + episode + ': ',
59
+ data.title
60
+ ),
61
+ data.published && React__default.createElement(
62
+ 'p',
63
+ { className: styles.published },
64
+ moment(data.published).format('MMMM Do YYYY')
65
+ ),
66
+ data.authorMapping && data.authorMapping.displayName && React__default.createElement(
67
+ 'p',
68
+ { className: styles.author },
69
+ 'By ',
70
+ React__default.createElement(
71
+ 'span',
72
+ null,
73
+ data.authorMapping.displayName
74
+ )
75
+ ),
76
+ data.intro && React__default.createElement('p', { dangerouslySetInnerHTML: { __html: data.intro }, className: styles.summary })
77
+ )
78
+ )
79
+ );
80
+ };
81
+
82
+ export { VideoSeriesCard as default };