@mjhls/mjh-framework 1.0.885 → 1.0.886-beta.0

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 (337) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +28 -29
  4. package/dist/cjs/AD300x250x600.js +28 -29
  5. package/dist/cjs/AD728x90.js +31 -32
  6. package/dist/cjs/ADFloatingFooter.js +30 -31
  7. package/dist/cjs/ADFooter.js +12 -13
  8. package/dist/cjs/ADGutter.js +30 -31
  9. package/dist/cjs/{ADInfeed-bce0ba07.js → ADInfeed-2e48af77.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +30 -31
  11. package/dist/cjs/ADSponsoredResources.js +30 -31
  12. package/dist/cjs/ADWebcast.js +30 -31
  13. package/dist/cjs/ADWelcome.js +31 -32
  14. package/dist/cjs/{ADlgInfeed-950b414b.js → ADlgInfeed-c39c7131.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +27 -29
  16. package/dist/cjs/AdSlot.js +31 -32
  17. package/dist/cjs/AdSlotsProvider.js +909 -18
  18. package/dist/cjs/AlgoliaSearch.js +1306 -1490
  19. package/dist/cjs/AlphabeticList.js +23 -24
  20. package/dist/cjs/ArticleCarousel.js +19 -20
  21. package/dist/cjs/ArticleProgramLandingPage.js +57 -58
  22. package/dist/cjs/ArticleSeriesLandingPage.js +38 -39
  23. package/dist/cjs/ArticleSeriesListing.js +59 -60
  24. package/dist/cjs/Auth.js +1504 -680
  25. package/dist/cjs/AuthWrapper.js +419 -1637
  26. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-02e827ae.js} +13 -14
  27. package/dist/cjs/Beam.js +6 -6
  28. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-091a991f.js} +55 -56
  29. package/dist/cjs/Breadcrumbs.js +25 -27
  30. package/dist/cjs/CMEDeck.js +81 -81
  31. package/dist/cjs/Column1.js +11 -14
  32. package/dist/cjs/Column2.js +31 -34
  33. package/dist/cjs/Column3.js +57 -60
  34. package/dist/cjs/ConferenceArticleCard.js +40 -41
  35. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  36. package/dist/cjs/ContentCardPaginated.js +408 -0
  37. package/dist/cjs/DeckContent.js +101 -105
  38. package/dist/cjs/DeckQueue.js +87 -91
  39. package/dist/cjs/DeckQueuePaginated.js +339 -0
  40. package/dist/cjs/{Dfp-9be904d5.js → Dfp-f492f985.js} +31 -32
  41. package/dist/cjs/EventsDeck.js +150 -157
  42. package/dist/cjs/ExternalResources.js +78 -79
  43. package/dist/cjs/Feature.js +27 -29
  44. package/dist/cjs/ForbesHero.js +40 -41
  45. package/dist/cjs/GridContent.js +203 -320
  46. package/dist/cjs/GridContentPaginated.js +698 -0
  47. package/dist/cjs/GridHero.js +42 -43
  48. package/dist/cjs/GroupDeck.js +57 -58
  49. package/dist/cjs/HamMagazine.js +139 -144
  50. package/dist/cjs/Header.js +12 -14
  51. package/dist/cjs/Hero.js +15 -16
  52. package/dist/cjs/HighlightenVideo.js +17 -18
  53. package/dist/cjs/HorizontalArticleListing.js +71 -72
  54. package/dist/cjs/HorizontalHero.js +28 -29
  55. package/dist/cjs/ImageSlider-38f25e66.js +3989 -0
  56. package/dist/cjs/IssueContentDeck.js +71 -76
  57. package/dist/cjs/IssueDeck.js +70 -75
  58. package/dist/cjs/IssueLanding.js +93 -94
  59. package/dist/cjs/KMTracker.js +15 -15
  60. package/dist/cjs/LeftNav.js +37 -39
  61. package/dist/cjs/MasterDeck.js +78 -79
  62. package/dist/cjs/MasterDeckPaginated.js +443 -0
  63. package/dist/cjs/MediaSeriesCard-8d27612b.js +9411 -0
  64. package/dist/cjs/MediaSeriesLanding.js +118 -9602
  65. package/dist/cjs/MediaSeriesLandingPaginated.js +521 -0
  66. package/dist/cjs/NavDvm.js +72 -77
  67. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  68. package/dist/cjs/NavMagazine.js +146 -151
  69. package/dist/cjs/NavNative.js +137 -145
  70. package/dist/cjs/OncliveHero.js +22 -22
  71. package/dist/cjs/OncliveLargeHero.js +70 -71
  72. package/dist/cjs/PageFilter.js +12 -13
  73. package/dist/cjs/Pagination-90473595.js +59 -0
  74. package/dist/cjs/PartnerDetailListing.js +100 -2897
  75. package/dist/cjs/PartnerDetailListingPaginated.js +311 -0
  76. package/dist/cjs/PdfDownload.js +9 -10
  77. package/dist/cjs/PopUpModal.js +17 -19
  78. package/dist/cjs/PubSection.js +40 -41
  79. package/dist/cjs/PubToc.js +13 -14
  80. package/dist/cjs/PublicationDeck.js +65 -70
  81. package/dist/cjs/PublicationFeature-28c549f2.js +126 -0
  82. package/dist/cjs/PublicationLanding.js +133 -141
  83. package/dist/cjs/QueueDeckExpanded.js +308 -308
  84. package/dist/cjs/QueueDeckExpandedPaginated.js +1377 -0
  85. package/dist/cjs/RecentNews.js +22 -23
  86. package/dist/cjs/RelatedContent.js +57 -58
  87. package/dist/cjs/RelatedTopicsDropdown.js +29 -32
  88. package/dist/cjs/RolesDeck.js +27 -32
  89. package/dist/cjs/Schema.js +15 -16
  90. package/dist/cjs/Search.js +16 -20
  91. package/dist/cjs/Segment.js +4 -4
  92. package/dist/cjs/SeriesListingDeck.js +36 -36
  93. package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-49b81b0b.js} +39 -40
  94. package/dist/cjs/SetCookie.js +1 -1
  95. package/dist/cjs/SideFooter.js +36 -37
  96. package/dist/cjs/SocialIcons.js +9 -10
  97. package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-e8477ca3.js} +36 -40
  98. package/dist/cjs/SocialShare.js +29 -31
  99. package/dist/cjs/TaxonomyCard.js +61 -66
  100. package/dist/cjs/TaxonomyDescription.js +53 -54
  101. package/dist/cjs/TemplateNormal.js +72 -73
  102. package/dist/cjs/ThumbnailCard.js +24 -26
  103. package/dist/cjs/Ustream.js +28 -29
  104. package/dist/cjs/VerticalHero.js +19 -20
  105. package/dist/cjs/VideoProgramLandingPage.js +72 -76
  106. package/dist/cjs/VideoSeriesCard.js +32 -33
  107. package/dist/cjs/VideoSeriesFilter.js +16 -16
  108. package/dist/cjs/VideoSeriesLandingPage.js +47 -48
  109. package/dist/cjs/VideoSeriesListing.js +76 -77
  110. package/dist/cjs/View.js +264 -267
  111. package/dist/cjs/YahooHero.js +39 -40
  112. package/dist/cjs/YoutubeGroup.js +67 -68
  113. package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
  114. package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
  115. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  116. package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
  117. package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
  118. package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
  119. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  120. package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
  121. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  122. package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
  123. package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
  124. package/dist/cjs/{entities-df1aed86.js → entities-310b46ee.js} +1 -5
  125. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  126. package/dist/cjs/{extends-7c86182f.js → extends-eed4f016.js} +7 -7
  127. package/dist/cjs/faundadb.js +5 -5
  128. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  129. package/dist/cjs/getQuery.js +1 -1
  130. package/dist/cjs/getRelatedArticle.js +16 -16
  131. package/dist/cjs/getRootDocGroup.js +4 -4
  132. package/dist/cjs/getSerializers.js +43 -43
  133. package/dist/cjs/{getTargeting-9d509319.js → getTargeting-8874437b.js} +12 -12
  134. package/dist/cjs/getTargeting.js +6 -6
  135. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
  136. package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
  137. package/dist/cjs/{index-6f89aea7.js → index-54adcbc3.js} +1044 -1070
  138. package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
  139. package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
  140. package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
  141. package/dist/cjs/{index-50be6759.js → index-e2e62963.js} +10 -26
  142. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  143. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
  144. package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
  145. package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
  146. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
  147. package/dist/cjs/index.js +168 -173
  148. package/dist/cjs/{inherits-de66ea16.js → inherits-12d44cca.js} +18 -18
  149. package/dist/cjs/inherits-8d29278d.js +110 -0
  150. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  151. package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
  152. package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
  153. package/dist/cjs/main-02daeefe.js +862 -0
  154. package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
  155. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  156. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  157. package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
  158. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  159. package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
  160. package/dist/cjs/timeDifferenceCalc.js +1 -1
  161. package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
  162. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  163. package/dist/cjs/{typeof-567e31ff.js → typeof-5f52cf64.js} +35 -35
  164. package/dist/cjs/urlFor.js +6 -6
  165. package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
  166. package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
  167. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
  168. package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
  169. package/dist/esm/AD.js +1 -1
  170. package/dist/esm/AD300x250.js +22 -22
  171. package/dist/esm/AD300x250x600.js +22 -22
  172. package/dist/esm/AD728x90.js +25 -25
  173. package/dist/esm/ADFloatingFooter.js +21 -21
  174. package/dist/esm/ADFooter.js +4 -4
  175. package/dist/esm/ADGutter.js +21 -21
  176. package/dist/esm/{ADInfeed-0a55cd2d.js → ADInfeed-d767ebe2.js} +4 -4
  177. package/dist/esm/ADSkyscraper.js +21 -21
  178. package/dist/esm/ADSponsoredResources.js +21 -21
  179. package/dist/esm/ADWebcast.js +21 -21
  180. package/dist/esm/ADWelcome.js +18 -18
  181. package/dist/esm/{ADlgInfeed-013e1f4a.js → ADlgInfeed-cee95aa2.js} +4 -4
  182. package/dist/esm/AccordionPanel.js +6 -6
  183. package/dist/esm/AdSlot.js +20 -20
  184. package/dist/esm/AdSlotsProvider.js +906 -14
  185. package/dist/esm/AlgoliaSearch.js +534 -717
  186. package/dist/esm/AlphabeticList.js +8 -8
  187. package/dist/esm/ArticleCarousel.js +13 -13
  188. package/dist/esm/ArticleProgramLandingPage.js +48 -48
  189. package/dist/esm/ArticleSeriesLandingPage.js +30 -30
  190. package/dist/esm/ArticleSeriesListing.js +31 -31
  191. package/dist/esm/Auth.js +1419 -591
  192. package/dist/esm/AuthWrapper.js +392 -1609
  193. package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-e6f95c2f.js} +1 -1
  194. package/dist/esm/Beam.js +6 -6
  195. package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-e9b4ddcf.js} +34 -34
  196. package/dist/esm/Breadcrumbs.js +5 -5
  197. package/dist/esm/CMEDeck.js +22 -22
  198. package/dist/esm/Column2.js +14 -14
  199. package/dist/esm/Column3.js +31 -31
  200. package/dist/esm/ConferenceArticleCard.js +25 -25
  201. package/dist/esm/ContentCardPaginated.js +402 -0
  202. package/dist/esm/DeckContent.js +41 -41
  203. package/dist/esm/DeckQueue.js +31 -31
  204. package/dist/esm/DeckQueuePaginated.js +333 -0
  205. package/dist/esm/{Dfp-102f0beb.js → Dfp-f867d061.js} +13 -13
  206. package/dist/esm/EventsDeck.js +41 -41
  207. package/dist/esm/ExternalResources.js +45 -45
  208. package/dist/esm/Feature.js +7 -7
  209. package/dist/esm/ForbesHero.js +10 -10
  210. package/dist/esm/GridContent.js +48 -160
  211. package/dist/esm/GridContentPaginated.js +692 -0
  212. package/dist/esm/GridHero.js +11 -11
  213. package/dist/esm/GroupDeck.js +12 -12
  214. package/dist/esm/HamMagazine.js +35 -35
  215. package/dist/esm/Hero.js +7 -7
  216. package/dist/esm/HighlightenVideo.js +2 -2
  217. package/dist/esm/HorizontalArticleListing.js +46 -46
  218. package/dist/esm/HorizontalHero.js +8 -8
  219. package/dist/esm/ImageSlider-a3154b97.js +3980 -0
  220. package/dist/esm/IssueContentDeck.js +11 -11
  221. package/dist/esm/IssueDeck.js +14 -14
  222. package/dist/esm/IssueLanding.js +82 -82
  223. package/dist/esm/KMTracker.js +15 -15
  224. package/dist/esm/LeftNav.js +20 -20
  225. package/dist/esm/MasterDeck.js +40 -40
  226. package/dist/esm/MasterDeckPaginated.js +437 -0
  227. package/dist/esm/MediaSeriesCard-1dd7eae8.js +9403 -0
  228. package/dist/esm/MediaSeriesLanding.js +76 -9556
  229. package/dist/esm/MediaSeriesLandingPaginated.js +516 -0
  230. package/dist/esm/NavDvm.js +11 -11
  231. package/dist/esm/NavMagazine.js +39 -39
  232. package/dist/esm/NavNative.js +37 -37
  233. package/dist/esm/OncliveHero.js +8 -7
  234. package/dist/esm/OncliveLargeHero.js +11 -11
  235. package/dist/esm/PageFilter.js +4 -4
  236. package/dist/esm/Pagination-683fa8ef.js +54 -0
  237. package/dist/esm/PartnerDetailListing.js +66 -2861
  238. package/dist/esm/PartnerDetailListingPaginated.js +306 -0
  239. package/dist/esm/PdfDownload.js +2 -2
  240. package/dist/esm/PopUpModal.js +4 -4
  241. package/dist/esm/PubSection.js +32 -32
  242. package/dist/esm/PubToc.js +6 -6
  243. package/dist/esm/PublicationDeck.js +10 -10
  244. package/dist/esm/PublicationFeature-fa24dedb.js +121 -0
  245. package/dist/esm/PublicationLanding.js +52 -56
  246. package/dist/esm/QueueDeckExpanded.js +36 -36
  247. package/dist/esm/QueueDeckExpandedPaginated.js +1371 -0
  248. package/dist/esm/RecentNews.js +4 -4
  249. package/dist/esm/RelatedContent.js +38 -38
  250. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  251. package/dist/esm/Schema.js +10 -10
  252. package/dist/esm/Search.js +5 -5
  253. package/dist/esm/Segment.js +4 -4
  254. package/dist/esm/SeriesListingDeck.js +18 -18
  255. package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-ce19fa25.js} +14 -14
  256. package/dist/esm/SetCookie.js +1 -1
  257. package/dist/esm/SideFooter.js +15 -15
  258. package/dist/esm/{SocialSearchComponent-8e0fcf66.js → SocialSearchComponent-dca69151.js} +10 -10
  259. package/dist/esm/TaxonomyCard.js +12 -12
  260. package/dist/esm/TaxonomyDescription.js +44 -44
  261. package/dist/esm/TemplateNormal.js +46 -46
  262. package/dist/esm/ThumbnailCard.js +10 -10
  263. package/dist/esm/Ustream.js +12 -12
  264. package/dist/esm/VerticalHero.js +6 -6
  265. package/dist/esm/VideoProgramLandingPage.js +49 -49
  266. package/dist/esm/VideoSeriesCard.js +14 -14
  267. package/dist/esm/VideoSeriesFilter.js +7 -7
  268. package/dist/esm/VideoSeriesLandingPage.js +36 -36
  269. package/dist/esm/VideoSeriesListing.js +31 -31
  270. package/dist/esm/View.js +90 -89
  271. package/dist/esm/YahooHero.js +13 -13
  272. package/dist/esm/YoutubeGroup.js +21 -21
  273. package/dist/esm/{_is-array-8d21b9e3.js → _is-array-4df618a6.js} +6 -6
  274. package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-130ee549.js} +7 -7
  275. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  276. package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-8b8ea5a9.js} +1 -1
  277. package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-c54dd835.js} +2 -2
  278. package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-7bf8bc4d.js} +30 -30
  279. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
  280. package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-86d4db69.js} +36 -36
  281. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  282. package/dist/esm/define-property-6d26cb48.js +18 -0
  283. package/dist/esm/{defineProperty-8c30428f.js → defineProperty-d7d9b577.js} +1 -1
  284. package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
  285. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  286. package/dist/esm/{extends-6d8e3924.js → extends-5b1796d4.js} +7 -7
  287. package/dist/esm/faundadb.js +5 -5
  288. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  289. package/dist/esm/getQuery.js +1 -1
  290. package/dist/esm/getRelatedArticle.js +11 -11
  291. package/dist/esm/getRootDocGroup.js +4 -4
  292. package/dist/esm/getSerializers.js +43 -43
  293. package/dist/esm/{getTargeting-4061f839.js → getTargeting-277c801e.js} +11 -11
  294. package/dist/esm/getTargeting.js +6 -6
  295. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  296. package/dist/esm/{index-f0fc23eb.js → index-41a678ea.js} +4 -4
  297. package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
  298. package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
  299. package/dist/esm/{index-98ca9cec.js → index-aaa2dae0.js} +11 -26
  300. package/dist/esm/{index-ca0c9ff5.js → index-d1476645.js} +599 -615
  301. package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
  302. package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
  303. package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
  304. package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
  305. package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
  306. package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
  307. package/dist/esm/index.js +122 -124
  308. package/dist/esm/{inherits-a6ba2ec4.js → inherits-2409637d.js} +18 -18
  309. package/dist/esm/inherits-77d5e4fc.js +101 -0
  310. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  311. package/dist/esm/{keys-31dcdb31.js → keys-69989821.js} +6 -6
  312. package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
  313. package/dist/esm/main-c0612122.js +851 -0
  314. package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
  315. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  316. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
  317. package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-67a08c9c.js} +12 -12
  318. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  319. package/dist/esm/stringify-70b72959.js +15 -0
  320. package/dist/esm/timeDifferenceCalc.js +1 -1
  321. package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-32282905.js} +7 -7
  322. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  323. package/dist/esm/{typeof-e9fc0c5d.js → typeof-c05a82ba.js} +35 -35
  324. package/dist/esm/urlFor.js +4 -4
  325. package/dist/esm/{ustream-api-d3714624.js → ustream-api-4c4fe0ba.js} +4 -4
  326. package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
  327. package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-f8f967cd.js} +2 -2
  328. package/package.json +112 -111
  329. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  330. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  331. package/dist/cjs/main-f1c77adb.js +0 -973
  332. package/dist/cjs/typeof-1358762e.js +0 -33
  333. package/dist/esm/define-property-5f1bda73.js +0 -18
  334. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  335. package/dist/esm/main-1894c974.js +0 -961
  336. package/dist/esm/stringify-2b084bee.js +0 -15
  337. package/dist/esm/typeof-2f07d0e8.js +0 -30
@@ -1,38 +1,38 @@
1
- import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+ import { _ as _export, a as _core } from './core.get-iterator-method-86d4db69.js';
3
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-32282905.js';
4
+ import { _ as _extends$1, b as _extends$2 } from './extends-5b1796d4.js';
5
+ import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-2409637d.js';
6
+ import { _ as _typeof } from './typeof-c05a82ba.js';
2
7
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
3
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
4
- import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
5
- import urlFor from './urlFor.js';
6
- import { l as lib_3 } from './index-f0fc23eb.js';
7
- import Router, { useRouter } from 'next/router';
8
- import { g as getYoutubeId } from './index-c7e2ac95.js';
8
+ import { l as lib_3 } from './index-41a678ea.js';
9
9
  import PropTypes from 'prop-types';
10
- import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
11
- import { u as util } from './util-8ed16d48.js';
12
- import './Beam.js';
10
+ import Row$1 from 'react-bootstrap/Row';
11
+ import Col$1 from 'react-bootstrap/Col';
12
+ import { m as moment } from './moment-e2f9b20c.js';
13
+ import Router, { useRouter } from 'next/router';
14
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-67a08c9c.js';
15
+ import urlFor from './urlFor.js';
16
+ import { L as LazyLoad } from './index-5f7e79e7.js';
17
+ import { e as main_16, b as main_35, m as main_36 } from './main-c0612122.js';
18
+ import { h as html_decode_1 } from './entities-7cc3bf45.js';
19
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
13
20
  import Segment from './Segment.js';
14
- import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
15
- import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
- import { L as LazyLoad } from './index-755f2cc2.js';
17
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
18
- import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
19
- import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
21
+ import './Beam.js';
22
+ import DFPAdSlot from './AdSlot.js';
23
+ import Button$1 from 'react-bootstrap/Button';
24
+ import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
25
+ import { g as getYoutubeId } from './index-c7e2ac95.js';
20
26
  import GroupDeck from './GroupDeck.js';
21
- import { m as moment } from './moment-bc12cb97.js';
27
+ import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
28
+ import { d as IoIosArrowDropupCircle } from './index.esm-29e48d38.js';
29
+ import { u as util } from './util-7700fc59.js';
30
+ import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-83f53e4e.js';
31
+ import Head from 'next/head';
22
32
  import SocialShare from './SocialShare.js';
23
- import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
24
- import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
25
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
33
+ import { _ as _objectToArray } from './_object-to-array-c54dd835.js';
26
34
  import Pagination from 'react-bootstrap/Pagination';
27
- import Button$1 from 'react-bootstrap/Button';
28
- import { h as html_decode_1 } from './entities-6d9154b4.js';
29
- import DFPAdSlot from './AdSlot.js';
30
- import Row$1 from 'react-bootstrap/Row';
31
- import Col$1 from 'react-bootstrap/Col';
32
- import Head from 'next/head';
33
- import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a6ba2ec4.js';
34
- import { d as IoIosArrowDropupCircle } from './index.esm-f6156a57.js';
35
- import Figure$2 from 'react-bootstrap/Figure';
35
+ import Figure$1$1 from 'react-bootstrap/Figure';
36
36
  import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
37
37
  import Tooltip from 'react-bootstrap/Tooltip';
38
38
  import Popover from 'react-bootstrap/Popover';
@@ -43,7 +43,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
43
43
  Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
44
44
  };
45
45
 
46
- var Slideshow$1 = function Slideshow(_ref) {
46
+ var Slideshow = function Slideshow(_ref) {
47
47
  var slides = _ref.slides,
48
48
  client = _ref.client,
49
49
  pageview = _ref.pageview;
@@ -101,18 +101,21 @@ var Slideshow$1 = function Slideshow(_ref) {
101
101
  );
102
102
  };
103
103
 
104
- // do not edit .js files directly - edit src/index.jst
105
-
106
-
104
+ var isArray = Array.isArray;
105
+ var keyList = Object.keys;
106
+ var hasProp = Object.prototype.hasOwnProperty;
107
107
 
108
108
  var fastDeepEqual = function equal(a, b) {
109
109
  if (a === b) return true;
110
110
 
111
111
  if (a && b && typeof a == 'object' && typeof b == 'object') {
112
- if (a.constructor !== b.constructor) return false;
112
+ var arrA = isArray(a)
113
+ , arrB = isArray(b)
114
+ , i
115
+ , length
116
+ , key;
113
117
 
114
- var length, i, keys;
115
- if (Array.isArray(a)) {
118
+ if (arrA && arrB) {
116
119
  length = a.length;
117
120
  if (length != b.length) return false;
118
121
  for (i = length; i-- !== 0;)
@@ -120,29 +123,35 @@ var fastDeepEqual = function equal(a, b) {
120
123
  return true;
121
124
  }
122
125
 
126
+ if (arrA != arrB) return false;
123
127
 
128
+ var dateA = a instanceof Date
129
+ , dateB = b instanceof Date;
130
+ if (dateA != dateB) return false;
131
+ if (dateA && dateB) return a.getTime() == b.getTime();
124
132
 
125
- if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
126
- if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
127
- if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
133
+ var regexpA = a instanceof RegExp
134
+ , regexpB = b instanceof RegExp;
135
+ if (regexpA != regexpB) return false;
136
+ if (regexpA && regexpB) return a.toString() == b.toString();
128
137
 
129
- keys = Object.keys(a);
138
+ var keys = keyList(a);
130
139
  length = keys.length;
131
- if (length !== Object.keys(b).length) return false;
140
+
141
+ if (length !== keyList(b).length)
142
+ return false;
132
143
 
133
144
  for (i = length; i-- !== 0;)
134
- if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
145
+ if (!hasProp.call(b, keys[i])) return false;
135
146
 
136
147
  for (i = length; i-- !== 0;) {
137
- var key = keys[i];
138
-
148
+ key = keys[i];
139
149
  if (!equal(a[key], b[key])) return false;
140
150
  }
141
151
 
142
152
  return true;
143
153
  }
144
154
 
145
- // true if both NaN, false otherwise
146
155
  return a!==a && b!==b;
147
156
  };
148
157
 
@@ -680,14 +689,14 @@ function coerce(val) {
680
689
  return val;
681
690
  }
682
691
  });
683
- debug.coerce;
684
- debug.disable;
685
- debug.enable;
686
- debug.enabled;
687
- debug.humanize;
688
- debug.names;
689
- debug.skips;
690
- debug.formatters;
692
+ var debug_1 = debug.coerce;
693
+ var debug_2 = debug.disable;
694
+ var debug_3 = debug.enable;
695
+ var debug_4 = debug.enabled;
696
+ var debug_5 = debug.humanize;
697
+ var debug_6 = debug.names;
698
+ var debug_7 = debug.skips;
699
+ var debug_8 = debug.formatters;
691
700
 
692
701
  var browser = createCommonjsModule(function (module, exports) {
693
702
  /**
@@ -876,13 +885,13 @@ function localstorage() {
876
885
  } catch (e) {}
877
886
  }
878
887
  });
879
- browser.log;
880
- browser.formatArgs;
881
- browser.save;
882
- browser.load;
883
- browser.useColors;
884
- browser.storage;
885
- browser.colors;
888
+ var browser_1 = browser.log;
889
+ var browser_2 = browser.formatArgs;
890
+ var browser_3 = browser.save;
891
+ var browser_4 = browser.load;
892
+ var browser_5 = browser.useColors;
893
+ var browser_6 = browser.storage;
894
+ var browser_7 = browser.colors;
886
895
 
887
896
  // MIT lisence
888
897
  // from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
@@ -1157,14 +1166,14 @@ function init (debug) {
1157
1166
 
1158
1167
  exports.enable(load());
1159
1168
  });
1160
- node.init;
1161
- node.log;
1162
- node.formatArgs;
1163
- node.save;
1164
- node.load;
1165
- node.useColors;
1166
- node.colors;
1167
- node.inspectOpts;
1169
+ var node_1 = node.init;
1170
+ var node_2 = node.log;
1171
+ var node_3 = node.formatArgs;
1172
+ var node_4 = node.save;
1173
+ var node_5 = node.load;
1174
+ var node_6 = node.useColors;
1175
+ var node_7 = node.colors;
1176
+ var node_8 = node.inspectOpts;
1168
1177
 
1169
1178
  var src = createCommonjsModule(function (module) {
1170
1179
  /**
@@ -1565,239 +1574,199 @@ module.exports = exports['default'];
1565
1574
 
1566
1575
  var youTubePlayer = unwrapExports(dist);
1567
1576
 
1568
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
1569
-
1570
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1571
-
1572
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1573
-
1574
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1575
-
1576
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
1577
-
1578
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1579
-
1580
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1581
-
1582
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
1577
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
1583
1578
 
1584
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1579
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
1585
1580
 
1586
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
1581
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1587
1582
 
1588
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1583
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
1589
1584
 
1590
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
1585
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
1591
1586
 
1592
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
1593
-
1594
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1595
- /**
1596
- * Check whether a `props` change should result in the video being updated.
1597
- *
1598
- * @param {Object} prevProps
1599
- * @param {Object} props
1587
+ /**
1588
+ * Check whether a `props` change should result in the video being updated.
1589
+ *
1590
+ * @param {Object} prevProps
1591
+ * @param {Object} props
1600
1592
  */
1601
-
1602
1593
  function shouldUpdateVideo(prevProps, props) {
1603
1594
  // A changing video should always trigger an update
1604
1595
  if (prevProps.videoId !== props.videoId) {
1605
1596
  return true;
1606
- } // Otherwise, a change in the start/end time playerVars also requires a player
1607
- // update.
1608
-
1597
+ }
1609
1598
 
1599
+ // Otherwise, a change in the start/end time playerVars also requires a player
1600
+ // update.
1610
1601
  var prevVars = prevProps.opts.playerVars || {};
1611
1602
  var vars = props.opts.playerVars || {};
1603
+
1612
1604
  return prevVars.start !== vars.start || prevVars.end !== vars.end;
1613
1605
  }
1614
- /**
1615
- * Neutralize API options that only require a video update, leaving only options
1616
- * that require a player reset. The results can then be compared to see if a
1617
- * player reset is necessary.
1618
- *
1619
- * @param {Object} opts
1620
- */
1621
-
1622
1606
 
1607
+ /**
1608
+ * Neutralise API options that only require a video update, leaving only options
1609
+ * that require a player reset. The results can then be compared to see if a
1610
+ * player reset is necessary.
1611
+ *
1612
+ * @param {Object} opts
1613
+ */
1623
1614
  function filterResetOptions(opts) {
1624
- return _objectSpread(_objectSpread({}, opts), {}, {
1625
- playerVars: _objectSpread({
1615
+ return _extends({}, opts, {
1616
+ playerVars: _extends({}, opts.playerVars, {
1626
1617
  autoplay: 0,
1627
1618
  start: 0,
1628
1619
  end: 0
1629
- }, opts.playerVars)
1620
+ })
1630
1621
  });
1631
1622
  }
1632
- /**
1633
- * Check whether a `props` change should result in the player being reset.
1634
- * The player is reset when the `props.opts` change, except if the only change
1635
- * is in the `start` and `end` playerVars, because a video update can deal with
1636
- * those.
1637
- *
1638
- * @param {Object} prevProps
1639
- * @param {Object} props
1640
- */
1641
-
1642
1623
 
1624
+ /**
1625
+ * Check whether a `props` change should result in the player being reset.
1626
+ * The player is reset when the `props.opts` change, except if the only change
1627
+ * is in the `start` and `end` playerVars, because a video update can deal with
1628
+ * those.
1629
+ *
1630
+ * @param {Object} prevProps
1631
+ * @param {Object} props
1632
+ */
1643
1633
  function shouldResetPlayer(prevProps, props) {
1644
1634
  return !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
1645
1635
  }
1646
- /**
1647
- * Check whether a props change should result in an id or className update.
1648
- *
1649
- * @param {Object} prevProps
1650
- * @param {Object} props
1651
- */
1652
-
1653
1636
 
1637
+ /**
1638
+ * Check whether a props change should result in an id or className update.
1639
+ *
1640
+ * @param {Object} prevProps
1641
+ * @param {Object} props
1642
+ */
1654
1643
  function shouldUpdatePlayer(prevProps, props) {
1655
1644
  return prevProps.id !== props.id || prevProps.className !== props.className;
1656
1645
  }
1657
1646
 
1658
- var YouTube = /*#__PURE__*/function (_React$Component) {
1647
+ var YouTube = function (_React$Component) {
1659
1648
  _inherits(YouTube, _React$Component);
1660
1649
 
1661
- var _super = _createSuper(YouTube);
1662
-
1663
- /**
1664
- * Expose PlayerState constants for convenience. These constants can also be
1665
- * accessed through the global YT object after the YouTube IFrame API is instantiated.
1666
- * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1667
- */
1668
1650
  function YouTube(props) {
1669
- var _this;
1670
-
1671
1651
  _classCallCheck(this, YouTube);
1672
1652
 
1673
- _this = _super.call(this, props);
1653
+ var _this = _possibleConstructorReturn(this, (YouTube.__proto__ || Object.getPrototypeOf(YouTube)).call(this, props));
1674
1654
 
1675
- _defineProperty(_assertThisInitialized(_this), "onPlayerReady", function (event) {
1655
+ _this.onPlayerReady = function (event) {
1676
1656
  return _this.props.onReady(event);
1677
- });
1657
+ };
1678
1658
 
1679
- _defineProperty(_assertThisInitialized(_this), "onPlayerError", function (event) {
1659
+ _this.onPlayerError = function (event) {
1680
1660
  return _this.props.onError(event);
1681
- });
1661
+ };
1682
1662
 
1683
- _defineProperty(_assertThisInitialized(_this), "onPlayerStateChange", function (event) {
1663
+ _this.onPlayerStateChange = function (event) {
1684
1664
  _this.props.onStateChange(event);
1685
-
1686
1665
  switch (event.data) {
1666
+
1687
1667
  case YouTube.PlayerState.ENDED:
1688
1668
  _this.props.onEnd(event);
1689
-
1690
1669
  break;
1691
1670
 
1692
1671
  case YouTube.PlayerState.PLAYING:
1693
1672
  _this.props.onPlay(event);
1694
-
1695
1673
  break;
1696
1674
 
1697
1675
  case YouTube.PlayerState.PAUSED:
1698
1676
  _this.props.onPause(event);
1699
-
1700
1677
  break;
1701
1678
  }
1702
- });
1679
+ };
1703
1680
 
1704
- _defineProperty(_assertThisInitialized(_this), "onPlayerPlaybackRateChange", function (event) {
1681
+ _this.onPlayerPlaybackRateChange = function (event) {
1705
1682
  return _this.props.onPlaybackRateChange(event);
1706
- });
1683
+ };
1707
1684
 
1708
- _defineProperty(_assertThisInitialized(_this), "onPlayerPlaybackQualityChange", function (event) {
1685
+ _this.onPlayerPlaybackQualityChange = function (event) {
1709
1686
  return _this.props.onPlaybackQualityChange(event);
1710
- });
1687
+ };
1711
1688
 
1712
- _defineProperty(_assertThisInitialized(_this), "createPlayer", function () {
1689
+ _this.createPlayer = function () {
1713
1690
  // do not attempt to create a player server-side, it won't work
1714
- if (typeof document === 'undefined') return; // create player
1715
-
1716
- var playerOpts = _objectSpread(_objectSpread({}, _this.props.opts), {}, {
1691
+ if (typeof document === 'undefined') return;
1692
+ // create player
1693
+ var playerOpts = _extends({}, _this.props.opts, {
1717
1694
  // preload the `videoId` video if one is already given
1718
1695
  videoId: _this.props.videoId
1719
1696
  });
1720
-
1721
- _this.internalPlayer = youTubePlayer(_this.container, playerOpts); // attach event handlers
1722
-
1697
+ _this.internalPlayer = youTubePlayer(_this.container, playerOpts);
1698
+ // attach event handlers
1723
1699
  _this.internalPlayer.on('ready', _this.onPlayerReady);
1724
-
1725
1700
  _this.internalPlayer.on('error', _this.onPlayerError);
1726
-
1727
1701
  _this.internalPlayer.on('stateChange', _this.onPlayerStateChange);
1728
-
1729
1702
  _this.internalPlayer.on('playbackRateChange', _this.onPlayerPlaybackRateChange);
1730
-
1731
1703
  _this.internalPlayer.on('playbackQualityChange', _this.onPlayerPlaybackQualityChange);
1732
- });
1704
+ };
1733
1705
 
1734
- _defineProperty(_assertThisInitialized(_this), "resetPlayer", function () {
1706
+ _this.resetPlayer = function () {
1735
1707
  return _this.internalPlayer.destroy().then(_this.createPlayer);
1736
- });
1708
+ };
1737
1709
 
1738
- _defineProperty(_assertThisInitialized(_this), "updatePlayer", function () {
1710
+ _this.updatePlayer = function () {
1739
1711
  _this.internalPlayer.getIframe().then(function (iframe) {
1740
1712
  if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');
1741
1713
  if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');
1742
1714
  });
1743
- });
1744
-
1745
- _defineProperty(_assertThisInitialized(_this), "getInternalPlayer", function () {
1746
- return _this.internalPlayer;
1747
- });
1715
+ };
1748
1716
 
1749
- _defineProperty(_assertThisInitialized(_this), "updateVideo", function () {
1717
+ _this.updateVideo = function () {
1750
1718
  if (typeof _this.props.videoId === 'undefined' || _this.props.videoId === null) {
1751
1719
  _this.internalPlayer.stopVideo();
1752
-
1753
1720
  return;
1754
- } // set queueing options
1755
-
1721
+ }
1756
1722
 
1723
+ // set queueing options
1757
1724
  var autoplay = false;
1758
1725
  var opts = {
1759
1726
  videoId: _this.props.videoId
1760
1727
  };
1761
-
1762
1728
  if ('playerVars' in _this.props.opts) {
1763
1729
  autoplay = _this.props.opts.playerVars.autoplay === 1;
1764
-
1765
1730
  if ('start' in _this.props.opts.playerVars) {
1766
1731
  opts.startSeconds = _this.props.opts.playerVars.start;
1767
1732
  }
1768
-
1769
1733
  if ('end' in _this.props.opts.playerVars) {
1770
1734
  opts.endSeconds = _this.props.opts.playerVars.end;
1771
1735
  }
1772
- } // if autoplay is enabled loadVideoById
1773
-
1736
+ }
1774
1737
 
1738
+ // if autoplay is enabled loadVideoById
1775
1739
  if (autoplay) {
1776
1740
  _this.internalPlayer.loadVideoById(opts);
1777
-
1778
1741
  return;
1779
- } // default behaviour just cues the video
1780
-
1781
-
1742
+ }
1743
+ // default behaviour just cues the video
1782
1744
  _this.internalPlayer.cueVideoById(opts);
1783
- });
1745
+ };
1784
1746
 
1785
- _defineProperty(_assertThisInitialized(_this), "refContainer", function (container) {
1747
+ _this.refContainer = function (container) {
1786
1748
  _this.container = container;
1787
- });
1749
+ };
1788
1750
 
1789
1751
  _this.container = null;
1790
1752
  _this.internalPlayer = null;
1791
1753
  return _this;
1792
1754
  }
1793
1755
 
1756
+ /**
1757
+ * Expose PlayerState constants for convenience. These constants can also be
1758
+ * accessed through the global YT object after the YouTube IFrame API is instantiated.
1759
+ * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1760
+ */
1761
+
1762
+
1794
1763
  _createClass(YouTube, [{
1795
- key: "componentDidMount",
1764
+ key: 'componentDidMount',
1796
1765
  value: function componentDidMount() {
1797
1766
  this.createPlayer();
1798
1767
  }
1799
1768
  }, {
1800
- key: "componentDidUpdate",
1769
+ key: 'componentDidUpdate',
1801
1770
  value: function componentDidUpdate(prevProps) {
1802
1771
  if (shouldUpdatePlayer(prevProps, this.props)) {
1803
1772
  this.updatePlayer();
@@ -1812,58 +1781,112 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
1812
1781
  }
1813
1782
  }
1814
1783
  }, {
1815
- key: "componentWillUnmount",
1784
+ key: 'componentWillUnmount',
1816
1785
  value: function componentWillUnmount() {
1817
- /**
1818
- * Note: The `youtube-player` package that is used promisifies all YouTube
1819
- * Player API calls, which introduces a delay of a tick before it actually
1820
- * gets destroyed. Since React attempts to remove the element instantly
1821
- * this method isn't quick enough to reset the container element.
1786
+ /**
1787
+ * Note: The `youtube-player` package that is used promisifies all Youtube
1788
+ * Player API calls, which introduces a delay of a tick before it actually
1789
+ * gets destroyed. Since React attempts to remove the element instantly
1790
+ * this method isn't quick enough to reset the container element.
1822
1791
  */
1823
1792
  this.internalPlayer.destroy();
1824
1793
  }
1825
- /**
1826
- * https://developers.google.com/youtube/iframe_api_reference#onReady
1827
- *
1828
- * @param {Object} event
1829
- * @param {Object} target - player object
1794
+
1795
+ /**
1796
+ * https://developers.google.com/youtube/iframe_api_reference#onReady
1797
+ *
1798
+ * @param {Object} event
1799
+ * @param {Object} target - player object
1800
+ */
1801
+
1802
+
1803
+ /**
1804
+ * https://developers.google.com/youtube/iframe_api_reference#onError
1805
+ *
1806
+ * @param {Object} event
1807
+ * @param {Integer} data - error type
1808
+ * @param {Object} target - player object
1809
+ */
1810
+
1811
+
1812
+ /**
1813
+ * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1814
+ *
1815
+ * @param {Object} event
1816
+ * @param {Integer} data - status change type
1817
+ * @param {Object} target - actual YT player
1818
+ */
1819
+
1820
+
1821
+ /**
1822
+ * https://developers.google.com/youtube/iframe_api_reference#onPlaybackRateChange
1823
+ *
1824
+ * @param {Object} event
1825
+ * @param {Float} data - playback rate
1826
+ * @param {Object} target - actual YT player
1827
+ */
1828
+
1829
+
1830
+ /**
1831
+ * https://developers.google.com/youtube/iframe_api_reference#onPlaybackQualityChange
1832
+ *
1833
+ * @param {Object} event
1834
+ * @param {String} data - playback quality
1835
+ * @param {Object} target - actual YT player
1836
+ */
1837
+
1838
+
1839
+ /**
1840
+ * Initialize the Youtube Player API on the container and attach event handlers
1841
+ */
1842
+
1843
+
1844
+ /**
1845
+ * Shorthand for destroying and then re-creating the Youtube Player
1846
+ */
1847
+
1848
+
1849
+ /**
1850
+ * Method to update the id and class of the Youtube Player iframe.
1851
+ * React should update this automatically but since the Youtube Player API
1852
+ * replaced the DIV that is mounted by React we need to do this manually.
1853
+ */
1854
+
1855
+
1856
+ /**
1857
+ * Call Youtube Player API methods to update the currently playing video.
1858
+ * Depeding on the `opts.playerVars.autoplay` this function uses one of two
1859
+ * Youtube Player API methods to update the video.
1830
1860
  */
1831
1861
 
1832
1862
  }, {
1833
- key: "render",
1863
+ key: 'render',
1834
1864
  value: function render() {
1835
- return /*#__PURE__*/React__default.createElement("div", {
1836
- className: this.props.containerClassName
1837
- }, /*#__PURE__*/React__default.createElement("div", {
1838
- id: this.props.id,
1839
- className: this.props.className,
1840
- ref: this.refContainer
1841
- }));
1865
+ return React__default.createElement(
1866
+ 'div',
1867
+ { className: this.props.containerClassName },
1868
+ React__default.createElement('div', { id: this.props.id, className: this.props.className, ref: this.refContainer })
1869
+ );
1842
1870
  }
1843
1871
  }]);
1844
1872
 
1845
1873
  return YouTube;
1846
1874
  }(React__default.Component);
1847
1875
 
1848
- _defineProperty(YouTube, "PlayerState", {
1849
- UNSTARTED: -1,
1850
- ENDED: 0,
1851
- PLAYING: 1,
1852
- PAUSED: 2,
1853
- BUFFERING: 3,
1854
- CUED: 5
1855
- });
1856
-
1857
1876
  YouTube.propTypes = {
1858
1877
  videoId: PropTypes.string,
1878
+
1859
1879
  // custom ID for player element
1860
1880
  id: PropTypes.string,
1881
+
1861
1882
  // custom class name for player element
1862
1883
  className: PropTypes.string,
1863
1884
  // custom class name for player container element
1864
1885
  containerClassName: PropTypes.string,
1886
+
1865
1887
  // https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
1866
1888
  opts: PropTypes.objectOf(PropTypes.any),
1889
+
1867
1890
  // event subscriptions
1868
1891
  onReady: PropTypes.func,
1869
1892
  onError: PropTypes.func,
@@ -1875,7 +1898,6 @@ YouTube.propTypes = {
1875
1898
  onPlaybackQualityChange: PropTypes.func
1876
1899
  };
1877
1900
  YouTube.defaultProps = {
1878
- videoId: null,
1879
1901
  id: null,
1880
1902
  className: null,
1881
1903
  opts: {},
@@ -1889,6 +1911,14 @@ YouTube.defaultProps = {
1889
1911
  onPlaybackRateChange: function onPlaybackRateChange() {},
1890
1912
  onPlaybackQualityChange: function onPlaybackQualityChange() {}
1891
1913
  };
1914
+ YouTube.PlayerState = {
1915
+ UNSTARTED: -1,
1916
+ ENDED: 0,
1917
+ PLAYING: 1,
1918
+ PAUSED: 2,
1919
+ BUFFERING: 3,
1920
+ CUED: 5
1921
+ };
1892
1922
 
1893
1923
  var YouTubePlayer = function YouTubePlayer(_ref) {
1894
1924
  var url = _ref.url,
@@ -1928,7 +1958,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1928
1958
  var queue = Math.floor(duration / 10);
1929
1959
  var segment = Math.floor(current / queue);
1930
1960
  //Beam.report_beam_video('Ready', deviceType, duration, current, segment)
1931
- Segment.report_video_event('Video Ready', main_18, duration, current, segment);
1961
+ Segment.report_video_event('Video Ready', main_16, duration, current, segment);
1932
1962
  };
1933
1963
 
1934
1964
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -1939,7 +1969,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1939
1969
 
1940
1970
  if (!queueProgress.includes(segment)) {
1941
1971
  //Beam.report_beam_video('Segment', deviceType, duration, current, segment)
1942
- Segment.report_video_event('Video Segment', main_18, duration, current, segment);
1972
+ Segment.report_video_event('Video Segment', main_16, duration, current, segment);
1943
1973
  queueProgress.push(segment);
1944
1974
  }
1945
1975
  };
@@ -1953,7 +1983,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1953
1983
  var segment = Math.floor(current / queue);
1954
1984
 
1955
1985
  //Beam.report_beam_video('Play', deviceType, duration, current, segment)
1956
- Segment.report_video_event('Video Play', main_18, duration, current, segment);
1986
+ Segment.report_video_event('Video Play', main_16, duration, current, segment);
1957
1987
 
1958
1988
  if (!playReported) {
1959
1989
  setPlayReported(true);
@@ -1973,7 +2003,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1973
2003
  var segment = Math.floor(current / queue);
1974
2004
 
1975
2005
  //Beam.report_beam_video('End', deviceType, duration, current, segment)
1976
- Segment.report_video_event('Video End', main_18, duration, current, segment);
2006
+ Segment.report_video_event('Video End', main_16, duration, current, segment);
1977
2007
  setEndReported(true);
1978
2008
  clearInterval(intervalID);
1979
2009
  }
@@ -1987,7 +2017,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1987
2017
  var segment = Math.floor(current / queue);
1988
2018
 
1989
2019
  //Beam.report_beam_video('Pause', deviceType, duration, current, segment)
1990
- Segment.report_video_event('Video Pause', main_18, duration, current, segment);
2020
+ Segment.report_video_event('Video Pause', main_16, duration, current, segment);
1991
2021
  };
1992
2022
 
1993
2023
  return React__default.createElement(
@@ -2176,7 +2206,7 @@ var Media = function Media(_ref) {
2176
2206
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
2177
2207
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
2178
2208
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
2179
- React__default.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
2209
+ React__default.createElement('img', _extends$1({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
2180
2210
  )
2181
2211
  ),
2182
2212
  caption && React__default.createElement(
@@ -2189,7 +2219,7 @@ var Media = function Media(_ref) {
2189
2219
  } else if (caption && caption !== '') {
2190
2220
  return React__default.createElement(
2191
2221
  'a',
2192
- _extends({}, uploadDoc.downloadMedia ? {
2222
+ _extends$1({}, uploadDoc.downloadMedia ? {
2193
2223
  href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
2194
2224
  } : { href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
2195
2225
  style: { paddingLeft: '4px', paddingRight: '4px' },
@@ -2245,7 +2275,7 @@ var VideoMp4 = function VideoMp4(_ref) {
2245
2275
  var queue = Math.floor(duration / 10);
2246
2276
  var segment = Math.floor(current / queue);
2247
2277
  //Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
2248
- Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
2278
+ Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
2249
2279
  };
2250
2280
 
2251
2281
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -2255,7 +2285,7 @@ var VideoMp4 = function VideoMp4(_ref) {
2255
2285
  var segment = Math.floor(current / queue);
2256
2286
  if (!queueProgress.includes(segment)) {
2257
2287
  //Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
2258
- Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
2288
+ Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
2259
2289
  queueProgress.push(segment);
2260
2290
  }
2261
2291
  };
@@ -2268,7 +2298,7 @@ var VideoMp4 = function VideoMp4(_ref) {
2268
2298
  var queue = Math.floor(duration / 10);
2269
2299
  var segment = Math.floor(current / queue);
2270
2300
  //Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
2271
- Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
2301
+ Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
2272
2302
 
2273
2303
  if (!playReported) {
2274
2304
  event.persist();
@@ -2289,7 +2319,7 @@ var VideoMp4 = function VideoMp4(_ref) {
2289
2319
  var segment = Math.floor(current / queue);
2290
2320
 
2291
2321
  //Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
2292
- Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
2322
+ Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
2293
2323
  setEndReported(true);
2294
2324
  clearInterval(intervalID);
2295
2325
  }
@@ -2302,7 +2332,7 @@ var VideoMp4 = function VideoMp4(_ref) {
2302
2332
  var queue = Math.floor(duration / 10);
2303
2333
  var segment = Math.floor(current / queue);
2304
2334
  //Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
2305
- Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
2335
+ Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
2306
2336
  };
2307
2337
 
2308
2338
  return React__default.createElement(
@@ -2368,7 +2398,7 @@ var Video = function Video(_ref) {
2368
2398
  var onVideoSuccess = function onVideoSuccess(success) {
2369
2399
  //console.log('success:', success.ref)
2370
2400
  var player = success.ref;
2371
- if (_typeof$1(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2401
+ if (_typeof(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2372
2402
  player.ima3.settings.debug = true;
2373
2403
  if (targeting.content_placement && targeting.document_url) {
2374
2404
  player.ima3.settings.serverUrl = player.ima3.settings.serverUrl + '&cust_params=' + encodeURIComponent('content_placement=' + targeting.content_placement + '&document_url=' + targeting.document_url);
@@ -2423,7 +2453,7 @@ var Video = function Video(_ref) {
2423
2453
  }
2424
2454
 
2425
2455
  //Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2426
- Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2456
+ Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2427
2457
  });
2428
2458
 
2429
2459
  // play
@@ -2433,7 +2463,7 @@ var Video = function Video(_ref) {
2433
2463
  var queue = Math.floor(duration / 10);
2434
2464
  var segment = Math.floor(current / queue);
2435
2465
  //Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2436
- Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2466
+ Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2437
2467
  });
2438
2468
 
2439
2469
  // pause
@@ -2443,7 +2473,7 @@ var Video = function Video(_ref) {
2443
2473
  var queue = Math.floor(duration / 10);
2444
2474
  var segment = Math.floor(current / queue);
2445
2475
  //Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2446
- Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2476
+ Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2447
2477
  });
2448
2478
 
2449
2479
  // end
@@ -2453,7 +2483,7 @@ var Video = function Video(_ref) {
2453
2483
  var queue = Math.floor(duration / 10);
2454
2484
  var segment = Math.floor(current / queue);
2455
2485
  //Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2456
- Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2486
+ Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2457
2487
  autoplayNextVideo(evt);
2458
2488
  });
2459
2489
 
@@ -2465,7 +2495,7 @@ var Video = function Video(_ref) {
2465
2495
  var segment = Math.floor(current / queue);
2466
2496
  if (!queueProgress.includes(segment)) {
2467
2497
  //Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2468
- Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2498
+ Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2469
2499
  queueProgress.push(segment);
2470
2500
  }
2471
2501
  });
@@ -2473,20 +2503,20 @@ var Video = function Video(_ref) {
2473
2503
  // ad impression
2474
2504
  player.on('ads-ad-started', function (evt) {
2475
2505
  var duration = player.ads.ad.duration;
2476
- player.ads.ad.id;
2506
+ var id = player.ads.ad.id;
2477
2507
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2478
2508
 
2479
2509
  //Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
2480
- Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2510
+ Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2481
2511
  });
2482
2512
 
2483
2513
  // ad ended
2484
2514
  player.on('ads-ad-ended', function (evt) {
2485
2515
  var duration = player.ads.ad.duration;
2486
- player.ads.ad.id;
2516
+ var id = player.ads.ad.id;
2487
2517
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2488
2518
  //Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
2489
- Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2519
+ Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2490
2520
  });
2491
2521
  };
2492
2522
 
@@ -2750,9 +2780,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
2750
2780
  });
2751
2781
 
2752
2782
  unwrapExports(props);
2753
- props.DEPRECATED_CONFIG_PROPS;
2754
- props.defaultProps;
2755
- props.propTypes;
2783
+ var props_1 = props.DEPRECATED_CONFIG_PROPS;
2784
+ var props_2 = props.defaultProps;
2785
+ var props_3 = props.propTypes;
2756
2786
 
2757
2787
  var isMergeableObject = function isMergeableObject(value) {
2758
2788
  return isNonNullObject(value)
@@ -2917,17 +2947,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2917
2947
 
2918
2948
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2919
2949
 
2920
- function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
2921
-
2922
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2923
-
2924
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
2925
-
2926
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
2950
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
2927
2951
 
2928
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
2952
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
2929
2953
 
2930
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2954
+ function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2931
2955
 
2932
2956
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2933
2957
 
@@ -3057,12 +3081,12 @@ function getSDK(url, sdkGlobal) {
3057
3081
 
3058
3082
  function getConfig(props$1, defaultProps, showWarning) {
3059
3083
  var config = (0, _deepmerge["default"])(defaultProps.config, props$1.config);
3060
-
3061
- var _iterator = _createForOfIteratorHelper(props.DEPRECATED_CONFIG_PROPS),
3062
- _step;
3084
+ var _iteratorNormalCompletion = true;
3085
+ var _didIteratorError = false;
3086
+ var _iteratorError = undefined;
3063
3087
 
3064
3088
  try {
3065
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
3089
+ for (var _iterator = props.DEPRECATED_CONFIG_PROPS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
3066
3090
  var p = _step.value;
3067
3091
 
3068
3092
  if (props$1[p]) {
@@ -3077,9 +3101,18 @@ function getConfig(props$1, defaultProps, showWarning) {
3077
3101
  }
3078
3102
  }
3079
3103
  } catch (err) {
3080
- _iterator.e(err);
3104
+ _didIteratorError = true;
3105
+ _iteratorError = err;
3081
3106
  } finally {
3082
- _iterator.f();
3107
+ try {
3108
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
3109
+ _iterator["return"]();
3110
+ }
3111
+ } finally {
3112
+ if (_didIteratorError) {
3113
+ throw _iteratorError;
3114
+ }
3115
+ }
3083
3116
  }
3084
3117
 
3085
3118
  return config;
@@ -3187,17 +3220,17 @@ function isMediaStream(url) {
3187
3220
  });
3188
3221
 
3189
3222
  unwrapExports(utils);
3190
- utils.parseStartTime;
3191
- utils.parseEndTime;
3192
- utils.randomString;
3193
- utils.queryString;
3194
- utils.getSDK;
3195
- utils.getConfig;
3196
- utils.omit;
3197
- utils.callPlayer;
3198
- utils.isObject;
3199
- utils.isEqual;
3200
- utils.isMediaStream;
3223
+ var utils_1 = utils.parseStartTime;
3224
+ var utils_2 = utils.parseEndTime;
3225
+ var utils_3 = utils.randomString;
3226
+ var utils_4 = utils.queryString;
3227
+ var utils_5 = utils.getSDK;
3228
+ var utils_6 = utils.getConfig;
3229
+ var utils_7 = utils.omit;
3230
+ var utils_8 = utils.callPlayer;
3231
+ var utils_9 = utils.isObject;
3232
+ var utils_10 = utils.isEqual;
3233
+ var utils_11 = utils.isMediaStream;
3201
3234
 
3202
3235
  var Player_1 = createCommonjsModule(function (module, exports) {
3203
3236
 
@@ -3226,16 +3259,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3226
3259
 
3227
3260
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3228
3261
 
3229
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
3230
-
3231
3262
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3232
3263
 
3233
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3234
-
3235
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
3236
-
3237
3264
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3238
3265
 
3266
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3267
+
3239
3268
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
3240
3269
 
3241
3270
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3244,12 +3273,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
3244
3273
 
3245
3274
  var SEEK_ON_PLAY_EXPIRY = 5000;
3246
3275
 
3247
- var Player = /*#__PURE__*/function (_Component) {
3276
+ var Player =
3277
+ /*#__PURE__*/
3278
+ function (_Component) {
3248
3279
  _inherits(Player, _Component);
3249
3280
 
3250
- var _super = _createSuper(Player);
3251
-
3252
3281
  function Player() {
3282
+ var _getPrototypeOf2;
3283
+
3253
3284
  var _this;
3254
3285
 
3255
3286
  _classCallCheck(this, Player);
@@ -3258,7 +3289,7 @@ var Player = /*#__PURE__*/function (_Component) {
3258
3289
  _args[_key] = arguments[_key];
3259
3290
  }
3260
3291
 
3261
- _this = _super.call.apply(_super, [this].concat(_args));
3292
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Player)).call.apply(_getPrototypeOf2, [this].concat(_args)));
3262
3293
 
3263
3294
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
3264
3295
 
@@ -3583,7 +3614,7 @@ var Player = /*#__PURE__*/function (_Component) {
3583
3614
  return null;
3584
3615
  }
3585
3616
 
3586
- return /*#__PURE__*/_react["default"].createElement(Player, _extends({}, this.props, {
3617
+ return _react["default"].createElement(Player, _extends({}, this.props, {
3587
3618
  ref: this.ref,
3588
3619
  onReady: this.handleReady,
3589
3620
  onPlay: this.handlePlay,
@@ -3644,16 +3675,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3644
3675
 
3645
3676
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3646
3677
 
3647
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
3648
-
3649
3678
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3650
3679
 
3651
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3652
-
3653
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
3654
-
3655
3680
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3656
3681
 
3682
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3683
+
3657
3684
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
3658
3685
 
3659
3686
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3665,12 +3692,14 @@ var SUPPORTED_PROPS = Object.keys(props.propTypes);
3665
3692
  function createSinglePlayer(activePlayer) {
3666
3693
  var _class, _temp;
3667
3694
 
3668
- return _temp = _class = /*#__PURE__*/function (_Component) {
3695
+ return _temp = _class =
3696
+ /*#__PURE__*/
3697
+ function (_Component) {
3669
3698
  _inherits(SinglePlayer, _Component);
3670
3699
 
3671
- var _super = _createSuper(SinglePlayer);
3672
-
3673
3700
  function SinglePlayer() {
3701
+ var _getPrototypeOf2;
3702
+
3674
3703
  var _this;
3675
3704
 
3676
3705
  _classCallCheck(this, SinglePlayer);
@@ -3679,7 +3708,7 @@ function createSinglePlayer(activePlayer) {
3679
3708
  args[_key] = arguments[_key];
3680
3709
  }
3681
3710
 
3682
- _this = _super.call.apply(_super, [this].concat(args));
3711
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SinglePlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
3683
3712
 
3684
3713
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
3685
3714
 
@@ -3747,12 +3776,12 @@ function createSinglePlayer(activePlayer) {
3747
3776
  height = _this$props.height,
3748
3777
  Wrapper = _this$props.wrapper;
3749
3778
  var otherProps = (0, utils.omit)(this.props, SUPPORTED_PROPS, props.DEPRECATED_CONFIG_PROPS);
3750
- return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
3779
+ return _react["default"].createElement(Wrapper, _extends({
3751
3780
  style: _objectSpread({}, style, {
3752
3781
  width: width,
3753
3782
  height: height
3754
3783
  })
3755
- }, otherProps), /*#__PURE__*/_react["default"].createElement(_Player["default"], _extends({}, this.props, {
3784
+ }, otherProps), _react["default"].createElement(_Player["default"], _extends({}, this.props, {
3756
3785
  ref: this.ref,
3757
3786
  activePlayer: activePlayer,
3758
3787
  config: this.config
@@ -3798,31 +3827,23 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3798
3827
 
3799
3828
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3800
3829
 
3801
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
3802
-
3803
3830
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3804
3831
 
3805
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3806
-
3807
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
3808
-
3809
3832
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3810
3833
 
3834
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3835
+
3811
3836
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
3812
3837
 
3813
3838
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
3814
3839
 
3815
3840
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3816
3841
 
3817
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3842
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
3818
3843
 
3819
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3844
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
3820
3845
 
3821
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
3822
-
3823
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
3824
-
3825
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
3846
+ function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
3826
3847
 
3827
3848
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
3828
3849
 
@@ -3847,12 +3868,14 @@ function parsePlaylist(url) {
3847
3868
  return {};
3848
3869
  }
3849
3870
 
3850
- var YouTube = /*#__PURE__*/function (_Component) {
3871
+ var YouTube =
3872
+ /*#__PURE__*/
3873
+ function (_Component) {
3851
3874
  _inherits(YouTube, _Component);
3852
3875
 
3853
- var _super = _createSuper(YouTube);
3854
-
3855
3876
  function YouTube() {
3877
+ var _getPrototypeOf2;
3878
+
3856
3879
  var _this;
3857
3880
 
3858
3881
  _classCallCheck(this, YouTube);
@@ -3861,7 +3884,7 @@ var YouTube = /*#__PURE__*/function (_Component) {
3861
3884
  args[_key] = arguments[_key];
3862
3885
  }
3863
3886
 
3864
- _this = _super.call.apply(_super, [this].concat(args));
3887
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(YouTube)).call.apply(_getPrototypeOf2, [this].concat(args)));
3865
3888
 
3866
3889
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
3867
3890
 
@@ -4049,9 +4072,9 @@ var YouTube = /*#__PURE__*/function (_Component) {
4049
4072
  height: '100%',
4050
4073
  display: display
4051
4074
  };
4052
- return /*#__PURE__*/_react["default"].createElement("div", {
4075
+ return _react["default"].createElement("div", {
4053
4076
  style: style
4054
- }, /*#__PURE__*/_react["default"].createElement("div", {
4077
+ }, _react["default"].createElement("div", {
4055
4078
  ref: this.ref
4056
4079
  }));
4057
4080
  }
@@ -4074,7 +4097,7 @@ exports["default"] = _default;
4074
4097
  });
4075
4098
 
4076
4099
  unwrapExports(YouTube_1);
4077
- YouTube_1.YouTube;
4100
+ var YouTube_2 = YouTube_1.YouTube;
4078
4101
 
4079
4102
  var SoundCloud_1 = createCommonjsModule(function (module, exports) {
4080
4103
 
@@ -4107,16 +4130,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4107
4130
 
4108
4131
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4109
4132
 
4110
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4111
-
4112
4133
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4113
4134
 
4114
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4115
-
4116
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4117
-
4118
4135
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4119
4136
 
4137
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4138
+
4120
4139
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4121
4140
 
4122
4141
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4125,14 +4144,16 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
4125
4144
 
4126
4145
  var SDK_URL = 'https://w.soundcloud.com/player/api.js';
4127
4146
  var SDK_GLOBAL = 'SC';
4128
- var MATCH_URL = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/;
4147
+ var MATCH_URL = /(soundcloud\.com|snd\.sc)\/.+$/;
4129
4148
 
4130
- var SoundCloud = /*#__PURE__*/function (_Component) {
4149
+ var SoundCloud =
4150
+ /*#__PURE__*/
4151
+ function (_Component) {
4131
4152
  _inherits(SoundCloud, _Component);
4132
4153
 
4133
- var _super = _createSuper(SoundCloud);
4134
-
4135
4154
  function SoundCloud() {
4155
+ var _getPrototypeOf2;
4156
+
4136
4157
  var _this;
4137
4158
 
4138
4159
  _classCallCheck(this, SoundCloud);
@@ -4141,7 +4162,7 @@ var SoundCloud = /*#__PURE__*/function (_Component) {
4141
4162
  args[_key] = arguments[_key];
4142
4163
  }
4143
4164
 
4144
- _this = _super.call.apply(_super, [this].concat(args));
4165
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SoundCloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
4145
4166
 
4146
4167
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4147
4168
 
@@ -4262,7 +4283,7 @@ var SoundCloud = /*#__PURE__*/function (_Component) {
4262
4283
  height: '100%',
4263
4284
  display: display
4264
4285
  };
4265
- return /*#__PURE__*/_react["default"].createElement("iframe", {
4286
+ return _react["default"].createElement("iframe", {
4266
4287
  ref: this.ref,
4267
4288
  src: "https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),
4268
4289
  style: style,
@@ -4291,7 +4312,7 @@ exports["default"] = _default;
4291
4312
  });
4292
4313
 
4293
4314
  unwrapExports(SoundCloud_1);
4294
- SoundCloud_1.SoundCloud;
4315
+ var SoundCloud_2 = SoundCloud_1.SoundCloud;
4295
4316
 
4296
4317
  var Vimeo_1 = createCommonjsModule(function (module, exports) {
4297
4318
 
@@ -4324,16 +4345,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4324
4345
 
4325
4346
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4326
4347
 
4327
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4328
-
4329
4348
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4330
4349
 
4331
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4332
-
4333
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4334
-
4335
4350
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4336
4351
 
4352
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4353
+
4337
4354
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4338
4355
 
4339
4356
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4345,12 +4362,14 @@ var SDK_GLOBAL = 'Vimeo';
4345
4362
  var MATCH_URL = /vimeo\.com\/.+/;
4346
4363
  var MATCH_FILE_URL = /vimeo\.com\/external\/[0-9]+\..+/;
4347
4364
 
4348
- var Vimeo = /*#__PURE__*/function (_Component) {
4365
+ var Vimeo =
4366
+ /*#__PURE__*/
4367
+ function (_Component) {
4349
4368
  _inherits(Vimeo, _Component);
4350
4369
 
4351
- var _super = _createSuper(Vimeo);
4352
-
4353
4370
  function Vimeo() {
4371
+ var _getPrototypeOf2;
4372
+
4354
4373
  var _this;
4355
4374
 
4356
4375
  _classCallCheck(this, Vimeo);
@@ -4359,7 +4378,7 @@ var Vimeo = /*#__PURE__*/function (_Component) {
4359
4378
  args[_key] = arguments[_key];
4360
4379
  }
4361
4380
 
4362
- _this = _super.call.apply(_super, [this].concat(args));
4381
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Vimeo)).call.apply(_getPrototypeOf2, [this].concat(args)));
4363
4382
 
4364
4383
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4365
4384
 
@@ -4516,7 +4535,7 @@ var Vimeo = /*#__PURE__*/function (_Component) {
4516
4535
  overflow: 'hidden',
4517
4536
  display: display
4518
4537
  };
4519
- return /*#__PURE__*/_react["default"].createElement("div", {
4538
+ return _react["default"].createElement("div", {
4520
4539
  key: this.props.url,
4521
4540
  ref: this.ref,
4522
4541
  style: style
@@ -4547,7 +4566,7 @@ exports["default"] = _default;
4547
4566
  });
4548
4567
 
4549
4568
  unwrapExports(Vimeo_1);
4550
- Vimeo_1.Vimeo;
4569
+ var Vimeo_2 = Vimeo_1.Vimeo;
4551
4570
 
4552
4571
  var Facebook_1 = createCommonjsModule(function (module, exports) {
4553
4572
 
@@ -4576,16 +4595,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4576
4595
 
4577
4596
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4578
4597
 
4579
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4580
-
4581
4598
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4582
4599
 
4583
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4584
-
4585
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4586
-
4587
4600
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4588
4601
 
4602
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4603
+
4589
4604
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4590
4605
 
4591
4606
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4598,12 +4613,14 @@ var SDK_GLOBAL_READY = 'fbAsyncInit';
4598
4613
  var MATCH_URL = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;
4599
4614
  var PLAYER_ID_PREFIX = 'facebook-player-';
4600
4615
 
4601
- var Facebook = /*#__PURE__*/function (_Component) {
4616
+ var Facebook =
4617
+ /*#__PURE__*/
4618
+ function (_Component) {
4602
4619
  _inherits(Facebook, _Component);
4603
4620
 
4604
- var _super = _createSuper(Facebook);
4605
-
4606
4621
  function Facebook() {
4622
+ var _getPrototypeOf2;
4623
+
4607
4624
  var _this;
4608
4625
 
4609
4626
  _classCallCheck(this, Facebook);
@@ -4612,7 +4629,7 @@ var Facebook = /*#__PURE__*/function (_Component) {
4612
4629
  args[_key] = arguments[_key];
4613
4630
  }
4614
4631
 
4615
- _this = _super.call.apply(_super, [this].concat(args));
4632
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Facebook)).call.apply(_getPrototypeOf2, [this].concat(args)));
4616
4633
 
4617
4634
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4618
4635
 
@@ -4728,7 +4745,7 @@ var Facebook = /*#__PURE__*/function (_Component) {
4728
4745
  width: '100%',
4729
4746
  height: '100%'
4730
4747
  };
4731
- return /*#__PURE__*/_react["default"].createElement("div", {
4748
+ return _react["default"].createElement("div", {
4732
4749
  style: style,
4733
4750
  id: this.playerID,
4734
4751
  className: "fb-video",
@@ -4759,7 +4776,7 @@ exports["default"] = _default;
4759
4776
  });
4760
4777
 
4761
4778
  unwrapExports(Facebook_1);
4762
- Facebook_1.Facebook;
4779
+ var Facebook_2 = Facebook_1.Facebook;
4763
4780
 
4764
4781
  var Streamable_1 = createCommonjsModule(function (module, exports) {
4765
4782
 
@@ -4788,16 +4805,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4788
4805
 
4789
4806
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4790
4807
 
4791
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4792
-
4793
4808
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4794
4809
 
4795
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4796
-
4797
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4798
-
4799
4810
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4800
4811
 
4812
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4813
+
4801
4814
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4802
4815
 
4803
4816
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4808,12 +4821,14 @@ var SDK_URL = 'https://cdn.embed.ly/player-0.1.0.min.js';
4808
4821
  var SDK_GLOBAL = 'playerjs';
4809
4822
  var MATCH_URL = /streamable\.com\/([a-z0-9]+)$/;
4810
4823
 
4811
- var Streamable = /*#__PURE__*/function (_Component) {
4824
+ var Streamable =
4825
+ /*#__PURE__*/
4826
+ function (_Component) {
4812
4827
  _inherits(Streamable, _Component);
4813
4828
 
4814
- var _super = _createSuper(Streamable);
4815
-
4816
4829
  function Streamable() {
4830
+ var _getPrototypeOf2;
4831
+
4817
4832
  var _this;
4818
4833
 
4819
4834
  _classCallCheck(this, Streamable);
@@ -4822,7 +4837,7 @@ var Streamable = /*#__PURE__*/function (_Component) {
4822
4837
  args[_key] = arguments[_key];
4823
4838
  }
4824
4839
 
4825
- _this = _super.call.apply(_super, [this].concat(args));
4840
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Streamable)).call.apply(_getPrototypeOf2, [this].concat(args)));
4826
4841
 
4827
4842
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4828
4843
 
@@ -4942,7 +4957,7 @@ var Streamable = /*#__PURE__*/function (_Component) {
4942
4957
  width: '100%',
4943
4958
  height: '100%'
4944
4959
  };
4945
- return /*#__PURE__*/_react["default"].createElement("iframe", {
4960
+ return _react["default"].createElement("iframe", {
4946
4961
  ref: this.ref,
4947
4962
  src: "https://streamable.com/o/".concat(id),
4948
4963
  frameBorder: "0",
@@ -4970,7 +4985,7 @@ exports["default"] = _default;
4970
4985
  });
4971
4986
 
4972
4987
  unwrapExports(Streamable_1);
4973
- Streamable_1.Streamable;
4988
+ var Streamable_2 = Streamable_1.Streamable;
4974
4989
 
4975
4990
  var Wistia_1 = createCommonjsModule(function (module, exports) {
4976
4991
 
@@ -5003,16 +5018,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5003
5018
 
5004
5019
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5005
5020
 
5006
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5007
-
5008
5021
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5009
5022
 
5010
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5011
-
5012
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5013
-
5014
5023
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5015
5024
 
5025
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5026
+
5016
5027
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5017
5028
 
5018
5029
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5023,48 +5034,26 @@ var SDK_URL = 'https://fast.wistia.com/assets/external/E-v1.js';
5023
5034
  var SDK_GLOBAL = 'Wistia';
5024
5035
  var MATCH_URL = /(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/;
5025
5036
 
5026
- var Wistia = /*#__PURE__*/function (_Component) {
5037
+ var Wistia =
5038
+ /*#__PURE__*/
5039
+ function (_Component) {
5027
5040
  _inherits(Wistia, _Component);
5028
5041
 
5029
- var _super = _createSuper(Wistia);
5030
-
5031
5042
  function Wistia() {
5043
+ var _getPrototypeOf2;
5044
+
5032
5045
  var _this;
5033
5046
 
5034
5047
  _classCallCheck(this, Wistia);
5035
5048
 
5036
- for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {
5037
- _args[_key] = arguments[_key];
5049
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5050
+ args[_key] = arguments[_key];
5038
5051
  }
5039
5052
 
5040
- _this = _super.call.apply(_super, [this].concat(_args));
5053
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Wistia)).call.apply(_getPrototypeOf2, [this].concat(args)));
5041
5054
 
5042
5055
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5043
5056
 
5044
- _defineProperty(_assertThisInitialized(_this), "onPlay", function () {
5045
- var _this$props;
5046
-
5047
- return (_this$props = _this.props).onPlay.apply(_this$props, arguments);
5048
- });
5049
-
5050
- _defineProperty(_assertThisInitialized(_this), "onPause", function () {
5051
- var _this$props2;
5052
-
5053
- return (_this$props2 = _this.props).onPause.apply(_this$props2, arguments);
5054
- });
5055
-
5056
- _defineProperty(_assertThisInitialized(_this), "onSeek", function () {
5057
- var _this$props3;
5058
-
5059
- return (_this$props3 = _this.props).onSeek.apply(_this$props3, arguments);
5060
- });
5061
-
5062
- _defineProperty(_assertThisInitialized(_this), "onEnded", function () {
5063
- var _this$props4;
5064
-
5065
- return (_this$props4 = _this.props).onEnded.apply(_this$props4, arguments);
5066
- });
5067
-
5068
5057
  _defineProperty(_assertThisInitialized(_this), "mute", function () {
5069
5058
  _this.callPlayer('mute');
5070
5059
  });
@@ -5086,13 +5075,17 @@ var Wistia = /*#__PURE__*/function (_Component) {
5086
5075
  value: function load(url) {
5087
5076
  var _this2 = this;
5088
5077
 
5089
- var _this$props5 = this.props,
5090
- playing = _this$props5.playing,
5091
- muted = _this$props5.muted,
5092
- controls = _this$props5.controls,
5093
- _onReady = _this$props5.onReady,
5094
- config = _this$props5.config,
5095
- onError = _this$props5.onError;
5078
+ var _this$props = this.props,
5079
+ playing = _this$props.playing,
5080
+ muted = _this$props.muted,
5081
+ controls = _this$props.controls,
5082
+ _onReady = _this$props.onReady,
5083
+ onPlay = _this$props.onPlay,
5084
+ onPause = _this$props.onPause,
5085
+ onSeek = _this$props.onSeek,
5086
+ onEnded = _this$props.onEnded,
5087
+ config = _this$props.config,
5088
+ onError = _this$props.onError;
5096
5089
  (0, utils.getSDK)(SDK_URL, SDK_GLOBAL).then(function () {
5097
5090
  window._wq = window._wq || [];
5098
5091
 
@@ -5109,28 +5102,19 @@ var Wistia = /*#__PURE__*/function (_Component) {
5109
5102
 
5110
5103
  _this2.unbind();
5111
5104
 
5112
- _this2.player.bind('play', _this2.onPlay);
5105
+ _this2.player.bind('play', onPlay);
5113
5106
 
5114
- _this2.player.bind('pause', _this2.onPause);
5107
+ _this2.player.bind('pause', onPause);
5115
5108
 
5116
- _this2.player.bind('seek', _this2.onSeek);
5109
+ _this2.player.bind('seek', onSeek);
5117
5110
 
5118
- _this2.player.bind('end', _this2.onEnded);
5111
+ _this2.player.bind('end', onEnded);
5119
5112
 
5120
5113
  _onReady();
5121
5114
  }
5122
5115
  });
5123
5116
  }, onError);
5124
5117
  }
5125
- }, {
5126
- key: "unbind",
5127
- value: function unbind() {
5128
- this.player.unbind('play', this.onPlay);
5129
- this.player.unbind('pause', this.onPause);
5130
- this.player.unbind('seek', this.onSeek);
5131
- this.player.unbind('end', this.onEnded);
5132
- } // Proxy methods to prevent listener leaks
5133
-
5134
5118
  }, {
5135
5119
  key: "play",
5136
5120
  value: function play() {
@@ -5141,6 +5125,19 @@ var Wistia = /*#__PURE__*/function (_Component) {
5141
5125
  value: function pause() {
5142
5126
  this.callPlayer('pause');
5143
5127
  }
5128
+ }, {
5129
+ key: "unbind",
5130
+ value: function unbind() {
5131
+ var _this$props2 = this.props,
5132
+ onPlay = _this$props2.onPlay,
5133
+ onPause = _this$props2.onPause,
5134
+ onSeek = _this$props2.onSeek,
5135
+ onEnded = _this$props2.onEnded;
5136
+ this.player.unbind('play', onPlay);
5137
+ this.player.unbind('pause', onPause);
5138
+ this.player.unbind('seek', onSeek);
5139
+ this.player.unbind('end', onEnded);
5140
+ }
5144
5141
  }, {
5145
5142
  key: "stop",
5146
5143
  value: function stop() {
@@ -5186,7 +5183,7 @@ var Wistia = /*#__PURE__*/function (_Component) {
5186
5183
  width: '100%',
5187
5184
  height: '100%'
5188
5185
  };
5189
- return /*#__PURE__*/_react["default"].createElement("div", {
5186
+ return _react["default"].createElement("div", {
5190
5187
  key: id,
5191
5188
  className: className,
5192
5189
  style: style
@@ -5213,7 +5210,7 @@ exports["default"] = _default;
5213
5210
  });
5214
5211
 
5215
5212
  unwrapExports(Wistia_1);
5216
- Wistia_1.Wistia;
5213
+ var Wistia_2 = Wistia_1.Wistia;
5217
5214
 
5218
5215
  var Twitch_1 = createCommonjsModule(function (module, exports) {
5219
5216
 
@@ -5246,16 +5243,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5246
5243
 
5247
5244
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5248
5245
 
5249
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5250
-
5251
5246
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5252
5247
 
5253
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5254
-
5255
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5256
-
5257
5248
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5258
5249
 
5250
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5251
+
5259
5252
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5260
5253
 
5261
5254
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5268,12 +5261,14 @@ var MATCH_VIDEO_URL = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;
5268
5261
  var MATCH_CHANNEL_URL = /(?:www\.|go\.)?twitch\.tv\/([a-z0-9_]+)($|\?)/;
5269
5262
  var PLAYER_ID_PREFIX = 'twitch-player-';
5270
5263
 
5271
- var Twitch = /*#__PURE__*/function (_Component) {
5264
+ var Twitch =
5265
+ /*#__PURE__*/
5266
+ function (_Component) {
5272
5267
  _inherits(Twitch, _Component);
5273
5268
 
5274
- var _super = _createSuper(Twitch);
5275
-
5276
5269
  function Twitch() {
5270
+ var _getPrototypeOf2;
5271
+
5277
5272
  var _this;
5278
5273
 
5279
5274
  _classCallCheck(this, Twitch);
@@ -5282,7 +5277,7 @@ var Twitch = /*#__PURE__*/function (_Component) {
5282
5277
  args[_key] = arguments[_key];
5283
5278
  }
5284
5279
 
5285
- _this = _super.call.apply(_super, [this].concat(args));
5280
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Twitch)).call.apply(_getPrototypeOf2, [this].concat(args)));
5286
5281
 
5287
5282
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5288
5283
 
@@ -5403,7 +5398,7 @@ var Twitch = /*#__PURE__*/function (_Component) {
5403
5398
  width: '100%',
5404
5399
  height: '100%'
5405
5400
  };
5406
- return /*#__PURE__*/_react["default"].createElement("div", {
5401
+ return _react["default"].createElement("div", {
5407
5402
  style: style,
5408
5403
  id: this.playerID
5409
5404
  });
@@ -5429,7 +5424,7 @@ exports["default"] = _default;
5429
5424
  });
5430
5425
 
5431
5426
  unwrapExports(Twitch_1);
5432
- Twitch_1.Twitch;
5427
+ var Twitch_2 = Twitch_1.Twitch;
5433
5428
 
5434
5429
  var DailyMotion_1 = createCommonjsModule(function (module, exports) {
5435
5430
 
@@ -5456,15 +5451,11 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
5456
5451
 
5457
5452
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5458
5453
 
5459
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5460
-
5461
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5462
-
5463
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5454
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
5464
5455
 
5465
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
5456
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
5466
5457
 
5467
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
5458
+ function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
5468
5459
 
5469
5460
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
5470
5461
 
@@ -5474,16 +5465,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5474
5465
 
5475
5466
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5476
5467
 
5477
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5478
-
5479
5468
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5480
5469
 
5481
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5482
-
5483
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5484
-
5485
5470
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5486
5471
 
5472
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5473
+
5487
5474
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5488
5475
 
5489
5476
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5495,12 +5482,14 @@ var SDK_GLOBAL = 'DM';
5495
5482
  var SDK_GLOBAL_READY = 'dmAsyncInit';
5496
5483
  var MATCH_URL = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;
5497
5484
 
5498
- var DailyMotion = /*#__PURE__*/function (_Component) {
5485
+ var DailyMotion =
5486
+ /*#__PURE__*/
5487
+ function (_Component) {
5499
5488
  _inherits(DailyMotion, _Component);
5500
5489
 
5501
- var _super = _createSuper(DailyMotion);
5502
-
5503
5490
  function DailyMotion() {
5491
+ var _getPrototypeOf2;
5492
+
5504
5493
  var _this;
5505
5494
 
5506
5495
  _classCallCheck(this, DailyMotion);
@@ -5509,7 +5498,7 @@ var DailyMotion = /*#__PURE__*/function (_Component) {
5509
5498
  args[_key] = arguments[_key];
5510
5499
  }
5511
5500
 
5512
- _this = _super.call.apply(_super, [this].concat(args));
5501
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(DailyMotion)).call.apply(_getPrototypeOf2, [this].concat(args)));
5513
5502
 
5514
5503
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5515
5504
 
@@ -5638,9 +5627,9 @@ var DailyMotion = /*#__PURE__*/function (_Component) {
5638
5627
  height: '100%',
5639
5628
  display: display
5640
5629
  };
5641
- return /*#__PURE__*/_react["default"].createElement("div", {
5630
+ return _react["default"].createElement("div", {
5642
5631
  style: style
5643
- }, /*#__PURE__*/_react["default"].createElement("div", {
5632
+ }, _react["default"].createElement("div", {
5644
5633
  ref: this.ref
5645
5634
  }));
5646
5635
  }
@@ -5665,7 +5654,7 @@ exports["default"] = _default;
5665
5654
  });
5666
5655
 
5667
5656
  unwrapExports(DailyMotion_1);
5668
- DailyMotion_1.DailyMotion;
5657
+ var DailyMotion_2 = DailyMotion_1.DailyMotion;
5669
5658
 
5670
5659
  var Mixcloud_1 = createCommonjsModule(function (module, exports) {
5671
5660
 
@@ -5698,16 +5687,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5698
5687
 
5699
5688
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5700
5689
 
5701
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5702
-
5703
5690
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5704
5691
 
5705
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5706
-
5707
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5708
-
5709
5692
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5710
5693
 
5694
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5695
+
5711
5696
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5712
5697
 
5713
5698
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5718,12 +5703,14 @@ var SDK_URL = 'https://widget.mixcloud.com/media/js/widgetApi.js';
5718
5703
  var SDK_GLOBAL = 'Mixcloud';
5719
5704
  var MATCH_URL = /mixcloud\.com\/([^/]+\/[^/]+)/;
5720
5705
 
5721
- var Mixcloud = /*#__PURE__*/function (_Component) {
5706
+ var Mixcloud =
5707
+ /*#__PURE__*/
5708
+ function (_Component) {
5722
5709
  _inherits(Mixcloud, _Component);
5723
5710
 
5724
- var _super = _createSuper(Mixcloud);
5725
-
5726
5711
  function Mixcloud() {
5712
+ var _getPrototypeOf2;
5713
+
5727
5714
  var _this;
5728
5715
 
5729
5716
  _classCallCheck(this, Mixcloud);
@@ -5732,7 +5719,7 @@ var Mixcloud = /*#__PURE__*/function (_Component) {
5732
5719
  args[_key] = arguments[_key];
5733
5720
  }
5734
5721
 
5735
- _this = _super.call.apply(_super, [this].concat(args));
5722
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Mixcloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
5736
5723
 
5737
5724
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5738
5725
 
@@ -5835,7 +5822,7 @@ var Mixcloud = /*#__PURE__*/function (_Component) {
5835
5822
  })); // We have to give the iframe a key here to prevent a
5836
5823
  // weird dialog appearing when loading a new track
5837
5824
 
5838
- return /*#__PURE__*/_react["default"].createElement("iframe", {
5825
+ return _react["default"].createElement("iframe", {
5839
5826
  key: id,
5840
5827
  ref: this.ref,
5841
5828
  style: style,
@@ -5864,7 +5851,7 @@ exports["default"] = _default;
5864
5851
  });
5865
5852
 
5866
5853
  unwrapExports(Mixcloud_1);
5867
- Mixcloud_1.Mixcloud;
5854
+ var Mixcloud_2 = Mixcloud_1.Mixcloud;
5868
5855
 
5869
5856
  var FilePlayer_1 = createCommonjsModule(function (module, exports) {
5870
5857
 
@@ -5895,33 +5882,23 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5895
5882
 
5896
5883
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5897
5884
 
5898
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5899
-
5900
5885
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5901
5886
 
5902
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5903
-
5904
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5905
-
5906
5887
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5907
5888
 
5889
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5890
+
5908
5891
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5909
5892
 
5910
5893
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
5911
5894
 
5912
5895
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5913
5896
 
5914
- function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
5915
-
5916
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5917
-
5918
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
5919
-
5920
5897
  var IOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
5921
5898
  var AUDIO_EXTENSIONS = /\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;
5922
5899
  var VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i;
5923
5900
  var HLS_EXTENSIONS = /\.(m3u8)($|\?)/i;
5924
- var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js';
5901
+ var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION';
5925
5902
  var HLS_GLOBAL = 'Hls';
5926
5903
  var DASH_EXTENSIONS = /\.(mpd)($|\?)/i;
5927
5904
  var DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js';
@@ -5930,11 +5907,12 @@ var MATCH_DROPBOX_URL = /www\.dropbox\.com\/.+/;
5930
5907
 
5931
5908
  function canPlay(url) {
5932
5909
  if (url instanceof Array) {
5933
- var _iterator = _createForOfIteratorHelper(url),
5934
- _step;
5910
+ var _iteratorNormalCompletion = true;
5911
+ var _didIteratorError = false;
5912
+ var _iteratorError = undefined;
5935
5913
 
5936
5914
  try {
5937
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
5915
+ for (var _iterator = url[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
5938
5916
  var item = _step.value;
5939
5917
 
5940
5918
  if (typeof item === 'string' && canPlay(item)) {
@@ -5946,9 +5924,18 @@ function canPlay(url) {
5946
5924
  }
5947
5925
  }
5948
5926
  } catch (err) {
5949
- _iterator.e(err);
5927
+ _didIteratorError = true;
5928
+ _iteratorError = err;
5950
5929
  } finally {
5951
- _iterator.f();
5930
+ try {
5931
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
5932
+ _iterator["return"]();
5933
+ }
5934
+ } finally {
5935
+ if (_didIteratorError) {
5936
+ throw _iteratorError;
5937
+ }
5938
+ }
5952
5939
  }
5953
5940
 
5954
5941
  return false;
@@ -5972,12 +5959,14 @@ function canEnablePIP(url) {
5972
5959
  return canPlay(url) && (!!document.pictureInPictureEnabled || supportsWebKitPresentationMode()) && !AUDIO_EXTENSIONS.test(url);
5973
5960
  }
5974
5961
 
5975
- var FilePlayer = /*#__PURE__*/function (_Component) {
5962
+ var FilePlayer =
5963
+ /*#__PURE__*/
5964
+ function (_Component) {
5976
5965
  _inherits(FilePlayer, _Component);
5977
5966
 
5978
- var _super = _createSuper(FilePlayer);
5979
-
5980
5967
  function FilePlayer() {
5968
+ var _getPrototypeOf2;
5969
+
5981
5970
  var _this;
5982
5971
 
5983
5972
  _classCallCheck(this, FilePlayer);
@@ -5986,7 +5975,7 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
5986
5975
  _args[_key] = arguments[_key];
5987
5976
  }
5988
5977
 
5989
- _this = _super.call.apply(_super, [this].concat(_args));
5978
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(FilePlayer)).call.apply(_getPrototypeOf2, [this].concat(_args)));
5990
5979
 
5991
5980
  _defineProperty(_assertThisInitialized(_this), "onReady", function () {
5992
5981
  var _this$props;
@@ -6073,19 +6062,19 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
6073
6062
 
6074
6063
  _defineProperty(_assertThisInitialized(_this), "renderSourceElement", function (source, index) {
6075
6064
  if (typeof source === 'string') {
6076
- return /*#__PURE__*/_react["default"].createElement("source", {
6065
+ return _react["default"].createElement("source", {
6077
6066
  key: index,
6078
6067
  src: source
6079
6068
  });
6080
6069
  }
6081
6070
 
6082
- return /*#__PURE__*/_react["default"].createElement("source", _extends({
6071
+ return _react["default"].createElement("source", _extends({
6083
6072
  key: index
6084
6073
  }, source));
6085
6074
  });
6086
6075
 
6087
6076
  _defineProperty(_assertThisInitialized(_this), "renderTrack", function (track, index) {
6088
- return /*#__PURE__*/_react["default"].createElement("track", _extends({
6077
+ return _react["default"].createElement("track", _extends({
6089
6078
  key: index
6090
6079
  }, track));
6091
6080
  });
@@ -6123,10 +6112,6 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
6123
6112
  key: "componentWillUnmount",
6124
6113
  value: function componentWillUnmount() {
6125
6114
  this.removeListeners(this.player);
6126
-
6127
- if (this.hls) {
6128
- this.hls.destroy();
6129
- }
6130
6115
  }
6131
6116
  }, {
6132
6117
  key: "addListeners",
@@ -6257,6 +6242,10 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
6257
6242
  value: function stop() {
6258
6243
  this.player.removeAttribute('src');
6259
6244
 
6245
+ if (this.hls) {
6246
+ this.hls.destroy();
6247
+ }
6248
+
6260
6249
  if (this.dash) {
6261
6250
  this.dash.reset();
6262
6251
  }
@@ -6368,7 +6357,7 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
6368
6357
  width: width === 'auto' ? width : '100%',
6369
6358
  height: height === 'auto' ? height : '100%'
6370
6359
  };
6371
- return /*#__PURE__*/_react["default"].createElement(Element, _extends({
6360
+ return _react["default"].createElement(Element, _extends({
6372
6361
  ref: this.ref,
6373
6362
  src: this.getSource(url),
6374
6363
  style: style,
@@ -6398,7 +6387,7 @@ exports["default"] = _default;
6398
6387
  });
6399
6388
 
6400
6389
  unwrapExports(FilePlayer_1);
6401
- FilePlayer_1.FilePlayer;
6390
+ var FilePlayer_2 = FilePlayer_1.FilePlayer;
6402
6391
 
6403
6392
  var players = createCommonjsModule(function (module, exports) {
6404
6393
 
@@ -6458,16 +6447,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6458
6447
 
6459
6448
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6460
6449
 
6461
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
6462
-
6463
6450
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6464
6451
 
6465
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6466
-
6467
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
6468
-
6469
6452
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6470
6453
 
6454
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6455
+
6471
6456
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
6472
6457
 
6473
6458
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6476,12 +6461,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6476
6461
 
6477
6462
  var ICON_SIZE = '64px';
6478
6463
 
6479
- var Preview = /*#__PURE__*/function (_Component) {
6464
+ var Preview =
6465
+ /*#__PURE__*/
6466
+ function (_Component) {
6480
6467
  _inherits(Preview, _Component);
6481
6468
 
6482
- var _super = _createSuper(Preview);
6483
-
6484
6469
  function Preview() {
6470
+ var _getPrototypeOf2;
6471
+
6485
6472
  var _this;
6486
6473
 
6487
6474
  _classCallCheck(this, Preview);
@@ -6490,7 +6477,7 @@ var Preview = /*#__PURE__*/function (_Component) {
6490
6477
  args[_key] = arguments[_key];
6491
6478
  }
6492
6479
 
6493
- _this = _super.call.apply(_super, [this].concat(args));
6480
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Preview)).call.apply(_getPrototypeOf2, [this].concat(args)));
6494
6481
 
6495
6482
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
6496
6483
 
@@ -6588,15 +6575,15 @@ var Preview = /*#__PURE__*/function (_Component) {
6588
6575
  }
6589
6576
  };
6590
6577
 
6591
- var defaultPlayIcon = /*#__PURE__*/_react["default"].createElement("div", {
6578
+ var defaultPlayIcon = _react["default"].createElement("div", {
6592
6579
  style: styles.shadow,
6593
6580
  className: "react-player__shadow"
6594
- }, /*#__PURE__*/_react["default"].createElement("div", {
6581
+ }, _react["default"].createElement("div", {
6595
6582
  style: styles.playIcon,
6596
6583
  className: "react-player__play-icon"
6597
6584
  }));
6598
6585
 
6599
- return /*#__PURE__*/_react["default"].createElement("div", {
6586
+ return _react["default"].createElement("div", {
6600
6587
  style: styles.preview,
6601
6588
  className: "react-player__preview",
6602
6589
  onClick: onClick
@@ -6633,12 +6620,6 @@ var _Player = _interopRequireDefault(Player_1);
6633
6620
 
6634
6621
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
6635
6622
 
6636
- function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
6637
-
6638
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6639
-
6640
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6641
-
6642
6623
  var PRELOAD_PLAYERS = [{
6643
6624
  Player: YouTube_1.YouTube,
6644
6625
  configKey: 'youtube',
@@ -6659,16 +6640,16 @@ var PRELOAD_PLAYERS = [{
6659
6640
 
6660
6641
  function renderPreloadPlayers(url, controls, config) {
6661
6642
  var players = [];
6662
-
6663
- var _iterator = _createForOfIteratorHelper(PRELOAD_PLAYERS),
6664
- _step;
6643
+ var _iteratorNormalCompletion = true;
6644
+ var _didIteratorError = false;
6645
+ var _iteratorError = undefined;
6665
6646
 
6666
6647
  try {
6667
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
6648
+ for (var _iterator = PRELOAD_PLAYERS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
6668
6649
  var player = _step.value;
6669
6650
 
6670
6651
  if (!player.Player.canPlay(url) && config[player.configKey].preload) {
6671
- players.push( /*#__PURE__*/_react["default"].createElement(_Player["default"], {
6652
+ players.push(_react["default"].createElement(_Player["default"], {
6672
6653
  key: player.Player.displayName,
6673
6654
  activePlayer: player.Player,
6674
6655
  url: player.url,
@@ -6680,9 +6661,18 @@ function renderPreloadPlayers(url, controls, config) {
6680
6661
  }
6681
6662
  }
6682
6663
  } catch (err) {
6683
- _iterator.e(err);
6664
+ _didIteratorError = true;
6665
+ _iteratorError = err;
6684
6666
  } finally {
6685
- _iterator.f();
6667
+ try {
6668
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
6669
+ _iterator["return"]();
6670
+ }
6671
+ } finally {
6672
+ if (_didIteratorError) {
6673
+ throw _iteratorError;
6674
+ }
6675
+ }
6686
6676
  }
6687
6677
 
6688
6678
  return players;
@@ -6806,17 +6796,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
6806
6796
 
6807
6797
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6808
6798
 
6809
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
6799
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
6810
6800
 
6811
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6801
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
6812
6802
 
6813
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6803
+ function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
6814
6804
 
6815
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
6816
-
6817
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6818
-
6819
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6805
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
6820
6806
 
6821
6807
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6822
6808
 
@@ -6824,16 +6810,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6824
6810
 
6825
6811
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6826
6812
 
6827
- function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
6828
-
6829
6813
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6830
6814
 
6831
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6832
-
6833
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
6834
-
6835
6815
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6836
6816
 
6817
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6818
+
6837
6819
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
6838
6820
 
6839
6821
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6843,12 +6825,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6843
6825
  var SUPPORTED_PROPS = Object.keys(props.propTypes);
6844
6826
  var customPlayers = [];
6845
6827
 
6846
- var ReactPlayer = /*#__PURE__*/function (_Component) {
6828
+ var ReactPlayer =
6829
+ /*#__PURE__*/
6830
+ function (_Component) {
6847
6831
  _inherits(ReactPlayer, _Component);
6848
6832
 
6849
- var _super = _createSuper(ReactPlayer);
6850
-
6851
6833
  function ReactPlayer() {
6834
+ var _getPrototypeOf2;
6835
+
6852
6836
  var _this;
6853
6837
 
6854
6838
  _classCallCheck(this, ReactPlayer);
@@ -6857,7 +6841,7 @@ var ReactPlayer = /*#__PURE__*/function (_Component) {
6857
6841
  args[_key] = arguments[_key];
6858
6842
  }
6859
6843
 
6860
- _this = _super.call.apply(_super, [this].concat(args));
6844
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(ReactPlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
6861
6845
 
6862
6846
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
6863
6847
 
@@ -6968,7 +6952,7 @@ var ReactPlayer = /*#__PURE__*/function (_Component) {
6968
6952
  key: "renderActivePlayer",
6969
6953
  value: function renderActivePlayer(url, activePlayer) {
6970
6954
  if (!url) return null;
6971
- return /*#__PURE__*/_react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6955
+ return _react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6972
6956
  key: activePlayer.displayName,
6973
6957
  ref: this.activePlayerRef,
6974
6958
  config: this.config,
@@ -7005,14 +6989,14 @@ var ReactPlayer = /*#__PURE__*/function (_Component) {
7005
6989
  var preloadPlayers = (0, _preload["default"])(url, controls, this.config);
7006
6990
  var players = [renderedActivePlayer].concat(_toConsumableArray(preloadPlayers)).sort(this.sortPlayers);
7007
6991
 
7008
- var preview = /*#__PURE__*/_react["default"].createElement(_Preview["default"], {
6992
+ var preview = _react["default"].createElement(_Preview["default"], {
7009
6993
  url: url,
7010
6994
  light: light,
7011
6995
  playIcon: playIcon,
7012
6996
  onClick: this.handleClickPreview
7013
6997
  });
7014
6998
 
7015
- return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
6999
+ return _react["default"].createElement(Wrapper, _extends({
7016
7000
  ref: this.wrapperRef,
7017
7001
  style: _objectSpread({}, style, {
7018
7002
  width: width,
@@ -7336,7 +7320,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7336
7320
  var queue = Math.floor(duration / 10);
7337
7321
  var segment = Math.floor(current / queue);
7338
7322
  //Beam.report_beam_video('Ready', deviceType, duration, current, segment)
7339
- Segment.report_video_event('Video Ready', main_18, duration, current, segment);
7323
+ Segment.report_video_event('Video Ready', main_16, duration, current, segment);
7340
7324
  //autoplay
7341
7325
 
7342
7326
  //Small pause before starting next video
@@ -7357,7 +7341,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7357
7341
  var segment = Math.floor(current / queue);
7358
7342
 
7359
7343
  //Beam.report_beam_video('End', deviceType, duration, current, segment)
7360
- Segment.report_video_event('Video End', main_18, duration, current, segment);
7344
+ Segment.report_video_event('Video End', main_16, duration, current, segment);
7361
7345
  setEndReported(true);
7362
7346
  clearInterval(intervalID);
7363
7347
  }
@@ -7408,7 +7392,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7408
7392
  var segment = Math.floor(current / queue);
7409
7393
  if (!queueProgress.includes(segment)) {
7410
7394
  //Beam.report_beam_video('Segment', deviceType, duration, current, segment)
7411
- Segment.report_video_event('Video Segment', main_18, duration, current, segment);
7395
+ Segment.report_video_event('Video Segment', main_16, duration, current, segment);
7412
7396
  queueProgress.push(segment);
7413
7397
  }
7414
7398
  };
@@ -7422,7 +7406,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7422
7406
  var segment = Math.floor(current / queue);
7423
7407
 
7424
7408
  //Beam.report_beam_video('Play', deviceType, duration, current, segment)
7425
- Segment.report_video_event('Video Play', main_18, duration, current, segment);
7409
+ Segment.report_video_event('Video Play', main_16, duration, current, segment);
7426
7410
 
7427
7411
  if (!playReported) {
7428
7412
  setPlayReported(true);
@@ -7441,7 +7425,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7441
7425
  var segment = Math.floor(current / queue);
7442
7426
 
7443
7427
  //Beam.report_beam_video('Pause', deviceType, duration, current, segment)
7444
- Segment.report_video_event('Video Pause', main_18, duration, current, segment);
7428
+ Segment.report_video_event('Video Pause', main_16, duration, current, segment);
7445
7429
  };
7446
7430
 
7447
7431
  // Youtube Options
@@ -7559,7 +7543,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7559
7543
  React__default.createElement(
7560
7544
  'div',
7561
7545
  { className: 'vid-text' },
7562
- Videos[series - 1] && Videos[series - 1].text && React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
7546
+ Videos[series - 1] && Videos[series - 1].text && React__default.createElement(BlockContent, _extends$1({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
7563
7547
  ),
7564
7548
  React__default.createElement(
7565
7549
  'style',
@@ -7569,14 +7553,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7569
7553
  );
7570
7554
  };
7571
7555
 
7572
- var Poll$1 = function Poll(_ref) {
7573
- var node = _ref.node;
7574
- _ref.client;
7575
- _ref.pageview;
7576
- _ref.videoAccountIDs;
7577
- var onVote = _ref.onVote;
7578
- _ref.showVotes;
7579
- var getSerializers = _ref.getSerializers;
7556
+ var Poll = function Poll(_ref) {
7557
+ var node = _ref.node,
7558
+ client = _ref.client,
7559
+ pageview = _ref.pageview,
7560
+ videoAccountIDs = _ref.videoAccountIDs,
7561
+ onVote = _ref.onVote,
7562
+ _ref$showVotes = _ref.showVotes,
7563
+ getSerializers = _ref.getSerializers;
7580
7564
 
7581
7565
  var _useState = useState(null),
7582
7566
  _useState2 = _slicedToArray(_useState, 2),
@@ -7710,22 +7694,22 @@ _export(_export.S, 'Object', {
7710
7694
  }
7711
7695
  });
7712
7696
 
7713
- var values$1 = _core.Object.values;
7697
+ var values = _core.Object.values;
7714
7698
 
7715
- var values = createCommonjsModule(function (module) {
7716
- module.exports = { "default": values$1, __esModule: true };
7699
+ var values$1 = createCommonjsModule(function (module) {
7700
+ module.exports = { "default": values, __esModule: true };
7717
7701
  });
7718
7702
 
7719
- var _Object$values = unwrapExports(values);
7703
+ var _Object$values = unwrapExports(values$1);
7720
7704
 
7721
- var Poll = function Poll(_ref) {
7722
- var node = _ref.node;
7723
- _ref.client;
7724
- _ref.pageview;
7725
- _ref.videoAccountIDs;
7726
- var onVote = _ref.onVote;
7727
- _ref.showVotes;
7728
- var getSerializers = _ref.getSerializers;
7705
+ var Poll$1 = function Poll(_ref) {
7706
+ var node = _ref.node,
7707
+ client = _ref.client,
7708
+ pageview = _ref.pageview,
7709
+ videoAccountIDs = _ref.videoAccountIDs,
7710
+ onVote = _ref.onVote,
7711
+ _ref$showVotes = _ref.showVotes,
7712
+ getSerializers = _ref.getSerializers;
7729
7713
 
7730
7714
  var _useState = useState(null),
7731
7715
  _useState2 = _slicedToArray(_useState, 2),
@@ -7877,7 +7861,7 @@ var Poll = function Poll(_ref) {
7877
7861
  );
7878
7862
  };
7879
7863
 
7880
- var numberOfPaginations = main_42 ? 4 : 10;
7864
+ var numberOfPaginations = main_35 ? 4 : 10;
7881
7865
 
7882
7866
  var Quiz = function Quiz(_ref) {
7883
7867
  var quizzes = _ref.quizzes,
@@ -7997,7 +7981,7 @@ var Quiz = function Quiz(_ref) {
7997
7981
  var renderPagination = function renderPagination() {
7998
7982
  return React__default.createElement(
7999
7983
  Pagination,
8000
- { className: 'p-0 m-0', size: main_42 && 'sm' },
7984
+ { className: 'p-0 m-0', size: main_35 && 'sm' },
8001
7985
  React__default.createElement(Pagination.First, { onClick: function onClick() {
8002
7986
  return changePage('first');
8003
7987
  }, disabled: currentPage === 1 }),
@@ -8172,7 +8156,7 @@ var Leads = function Leads(_ref) {
8172
8156
  );
8173
8157
  };
8174
8158
 
8175
- var Slideshow = function Slideshow(_ref) {
8159
+ var Slideshow$1 = function Slideshow(_ref) {
8176
8160
  var slides = _ref.node.slides,
8177
8161
  client = _ref.client,
8178
8162
  pageview = _ref.pageview,
@@ -8323,7 +8307,7 @@ var MultiMedia = function MultiMedia(props) {
8323
8307
  { xs: 12, md: 12 / medias.length, key: media._key },
8324
8308
  React__default.createElement(
8325
8309
  'a',
8326
- _extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
8310
+ _extends$1({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
8327
8311
  style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
8328
8312
  React__default.createElement(
8329
8313
  'div',
@@ -8618,7 +8602,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8618
8602
 
8619
8603
  var renderAuthorBiography = function renderAuthorBiography(biography) {
8620
8604
  if (biography) {
8621
- return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
8605
+ return React__default.createElement(BlockContent, _extends$1({ serializers: getSerializers, blocks: [biography] }, client.config()));
8622
8606
  }
8623
8607
  };
8624
8608
 
@@ -8704,7 +8688,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8704
8688
  //console.log('useLayoutEffect')
8705
8689
  if (!firstLoad) {
8706
8690
  setUpArrowClicked(false);
8707
- if (main_43) {
8691
+ if (main_36) {
8708
8692
  grabLoadedAds();
8709
8693
  } else {
8710
8694
  scrollToArticle();
@@ -8728,7 +8712,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8728
8712
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8729
8713
  if (pageview) pageview(path);
8730
8714
 
8731
- if (!main_43) {
8715
+ if (!main_36) {
8732
8716
  lib_3.getGoogletag().then(function (googletag) {
8733
8717
  if (window.googletag && googletag.pubadsReady) {
8734
8718
  lib_3.refresh();
@@ -8736,7 +8720,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8736
8720
  });
8737
8721
  }
8738
8722
  //Refresh leaderboard ad on mobile
8739
- if (main_43) {
8723
+ if (main_36) {
8740
8724
  var leaderboardSlotId = '';
8741
8725
  lib_3.getGoogletag().then(function (googletag) {
8742
8726
  if (window.googletag && googletag.pubadsReady) {
@@ -8805,7 +8789,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8805
8789
  React__default.createElement(
8806
8790
  'div',
8807
8791
  { className: 'ad-box', style: { textAlign: 'center' } },
8808
- main_43 && Ads.map(function (ad, index) {
8792
+ main_36 && Ads.map(function (ad, index) {
8809
8793
  if (index === 0) {
8810
8794
  return React__default.createElement(
8811
8795
  'div',
@@ -8896,7 +8880,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8896
8880
  React__default.createElement(
8897
8881
  'div',
8898
8882
  { className: 'mt-2 mb-2' },
8899
- React__default.createElement(BlockContent, _extends({
8883
+ React__default.createElement(BlockContent, _extends$1({
8900
8884
  serializers: getSerializers,
8901
8885
  videoAccountIDs: accountIDs,
8902
8886
  blocks: article.text,
@@ -8927,7 +8911,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8927
8911
  React__default.createElement(
8928
8912
  'div',
8929
8913
  { className: 'ad-box', style: { textAlign: 'center' } },
8930
- main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8914
+ main_36 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8931
8915
  if (innerIndex === 0) {
8932
8916
  return React__default.createElement(
8933
8917
  'div',
@@ -9000,7 +8984,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
9000
8984
  }
9001
8985
  };
9002
8986
 
9003
- var FigureImage$1 = React__default.memo(function (_ref2) {
8987
+ var FigureImage = React__default.memo(function (_ref2) {
9004
8988
  var node = _ref2.node,
9005
8989
  client = _ref2.client,
9006
8990
  imgAlt = _ref2.imgAlt,
@@ -9014,7 +8998,7 @@ var FigureImage$1 = React__default.memo(function (_ref2) {
9014
8998
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
9015
8999
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
9016
9000
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
9017
- React__default.createElement('img', _extends({
9001
+ React__default.createElement('img', _extends$1({
9018
9002
  style: figureImageStyle,
9019
9003
  className: 'figure-image',
9020
9004
  src: urlFor({ source: node, client: client }),
@@ -9082,7 +9066,7 @@ var FigureComponent = function FigureComponent(props) {
9082
9066
  } else {
9083
9067
  return React__default.createElement(
9084
9068
  Tooltip,
9085
- _extends({ id: 'button-tooltip' }, props),
9069
+ _extends$1({ id: 'button-tooltip' }, props),
9086
9070
  React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
9087
9071
  );
9088
9072
  }
@@ -9096,32 +9080,32 @@ var FigureComponent = function FigureComponent(props) {
9096
9080
  handleClickFigure = _ref3.handleClickFigure;
9097
9081
 
9098
9082
  var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
9099
- var triggerAction = main_42 ? 'click' : 'hover';
9100
- var placementLocation = main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
9083
+ var triggerAction = main_35 ? 'click' : 'hover';
9084
+ var placementLocation = main_35 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
9101
9085
  return React__default.createElement(
9102
9086
  'picture',
9103
9087
  null,
9104
9088
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
9105
9089
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
9106
9090
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
9107
- main_42 && link ? React__default.createElement('img', _extends({
9091
+ main_35 && link ? React__default.createElement('img', _extends$1({
9108
9092
  style: figureImageStyle,
9109
9093
  className: 'figure-image',
9110
9094
  src: urlFor({ source: node, client: client }),
9111
9095
  alt: imgAlt ? imgAlt : 'figure image'
9112
- }, !link && !main_42 && {
9096
+ }, !link && !main_35 && {
9113
9097
  onClick: function onClick() {
9114
9098
  return handleClickFigure(node, client);
9115
9099
  }
9116
9100
  })) : React__default.createElement(
9117
9101
  OverlayTrigger,
9118
9102
  { trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
9119
- React__default.createElement('img', _extends({
9103
+ React__default.createElement('img', _extends$1({
9120
9104
  style: figureImageStyle,
9121
9105
  className: 'figure-image',
9122
9106
  src: urlFor({ source: node, client: client }),
9123
9107
  alt: imgAlt ? imgAlt : 'figure image'
9124
- }, !link && !main_42 && {
9108
+ }, !link && !main_35 && {
9125
9109
  onClick: function onClick() {
9126
9110
  return handleClickFigure(node, client);
9127
9111
  }
@@ -9197,7 +9181,7 @@ var FigureComponent = function FigureComponent(props) {
9197
9181
  React__default.Fragment,
9198
9182
  null,
9199
9183
  infoBox.length >= 1 ? React__default.createElement(
9200
- Figure$2,
9184
+ Figure$1$1,
9201
9185
  { className: '' + class_name, style: figureStyle },
9202
9186
  link ? React__default.createElement(
9203
9187
  'a',
@@ -9219,17 +9203,17 @@ var FigureComponent = function FigureComponent(props) {
9219
9203
  }
9220
9204
  })
9221
9205
  ) : React__default.createElement(
9222
- Figure$2,
9206
+ Figure$1$1,
9223
9207
  { className: '' + class_name, style: figureStyle },
9224
9208
  link ? React__default.createElement(
9225
9209
  'a',
9226
9210
  { target: blank ? '_blank' : '_self', href: link },
9227
- React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
9211
+ React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
9228
9212
  React__default.createElement(FigureCaption, null)
9229
9213
  ) : React__default.createElement(
9230
9214
  React__default.Fragment,
9231
9215
  null,
9232
- React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
9216
+ React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
9233
9217
  React__default.createElement(FigureCaption, null)
9234
9218
  ),
9235
9219
  React__default.createElement(LightBox, {
@@ -9266,7 +9250,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
9266
9250
  }, [ref]);
9267
9251
  }
9268
9252
 
9269
- var FigureImage = React__default.memo(function (_ref) {
9253
+ var FigureImage$1 = React__default.memo(function (_ref) {
9270
9254
  var imagesCount = _ref.imagesCount,
9271
9255
  image = _ref.image,
9272
9256
  client = _ref.client,
@@ -9280,7 +9264,7 @@ var FigureImage = React__default.memo(function (_ref) {
9280
9264
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
9281
9265
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
9282
9266
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
9283
- React__default.createElement('img', _extends({
9267
+ React__default.createElement('img', _extends$1({
9284
9268
  'images-count': imagesCount,
9285
9269
  className: 'multi-figure-image',
9286
9270
  src: urlFor({ source: image, client: client }),
@@ -9340,32 +9324,32 @@ var MultiFigure = function MultiFigure(props) {
9340
9324
  link = _ref3.link,
9341
9325
  handleClickFigure = _ref3.handleClickFigure;
9342
9326
 
9343
- var triggerAction = main_42 ? 'click' : 'hover';
9344
- var placementLocation = main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
9327
+ var triggerAction = main_35 ? 'click' : 'hover';
9328
+ var placementLocation = main_35 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
9345
9329
  return React__default.createElement(
9346
9330
  'picture',
9347
9331
  null,
9348
9332
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
9349
9333
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
9350
9334
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
9351
- main_42 && link ? React__default.createElement('img', _extends({
9335
+ main_35 && link ? React__default.createElement('img', _extends$1({
9352
9336
  'images-count': imagesCount,
9353
9337
  className: 'multi-figure-image',
9354
9338
  src: urlFor({ source: image, client: client }),
9355
9339
  alt: imgAlt ? imgAlt : 'multi figure'
9356
- }, !link && !main_42 && {
9340
+ }, !link && !main_35 && {
9357
9341
  onClick: function onClick() {
9358
9342
  return handleClickFigure(image, client);
9359
9343
  }
9360
9344
  })) : React__default.createElement(
9361
9345
  OverlayTrigger,
9362
9346
  { trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
9363
- React__default.createElement('img', _extends({
9347
+ React__default.createElement('img', _extends$1({
9364
9348
  'images-count': imagesCount,
9365
9349
  className: 'multi-figure-image',
9366
9350
  src: urlFor({ source: image, client: client }),
9367
9351
  alt: imgAlt ? imgAlt : 'multi figure'
9368
- }, !link && !main_42 && {
9352
+ }, !link && !main_35 && {
9369
9353
  onClick: function onClick() {
9370
9354
  return handleClickFigure(image, client);
9371
9355
  }
@@ -9393,7 +9377,7 @@ var MultiFigure = function MultiFigure(props) {
9393
9377
  } else {
9394
9378
  return React__default.createElement(
9395
9379
  Tooltip,
9396
- _extends({ id: 'button-tooltip' }, props),
9380
+ _extends$1({ id: 'button-tooltip' }, props),
9397
9381
  React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
9398
9382
  );
9399
9383
  }
@@ -9413,7 +9397,7 @@ var MultiFigure = function MultiFigure(props) {
9413
9397
  { xs: 12, md: 12 / images.length, key: index },
9414
9398
  image.link ? React__default.createElement(
9415
9399
  'a',
9416
- _extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9400
+ _extends$1({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9417
9401
  React__default.createElement(
9418
9402
  'div',
9419
9403
  { className: 'multi-figure-image-container' },
@@ -9441,14 +9425,14 @@ var MultiFigure = function MultiFigure(props) {
9441
9425
  { xs: 12, md: 12 / images.length, key: index },
9442
9426
  image.link ? React__default.createElement(
9443
9427
  'a',
9444
- _extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9428
+ _extends$1({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9445
9429
  React__default.createElement(
9446
9430
  'div',
9447
9431
  { className: 'multi-figure-image-container' },
9448
9432
  React__default.createElement(
9449
9433
  LazyLoad,
9450
9434
  { once: true },
9451
- React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
9435
+ React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
9452
9436
  ),
9453
9437
  React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9454
9438
  )
@@ -9458,7 +9442,7 @@ var MultiFigure = function MultiFigure(props) {
9458
9442
  React__default.createElement(
9459
9443
  LazyLoad,
9460
9444
  { once: true },
9461
- React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
9445
+ React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
9462
9446
  ),
9463
9447
  React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9464
9448
  )
@@ -9570,7 +9554,7 @@ exports.__esModule = true;
9570
9554
 
9571
9555
 
9572
9556
 
9573
- var _extends3 = _interopRequireDefault(_extends$1);
9557
+ var _extends3 = _interopRequireDefault(_extends$2);
9574
9558
 
9575
9559
 
9576
9560
 
@@ -9739,9 +9723,9 @@ var ScriptTag = function (_Component) {
9739
9723
 
9740
9724
  // The 'isHydrating' prop must NOT be passed to the script tag
9741
9725
  // eslint-disable-next-line no-unused-vars
9742
- var _props3 = this.props;
9743
- _props3.isHydrating;
9744
- var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9726
+ var _props3 = this.props,
9727
+ isHydrating = _props3.isHydrating,
9728
+ tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9745
9729
 
9746
9730
  return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
9747
9731
  return _this2.domRef = tag;
@@ -9883,7 +9867,7 @@ var BlockTable = function BlockTable(props) {
9883
9867
  return React__default.createElement(
9884
9868
  'div',
9885
9869
  { className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
9886
- React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
9870
+ React__default.createElement(BlockContent, _extends$1({ blocks: cell.content, serializers: getSerializers }, client.config()))
9887
9871
  );
9888
9872
  })
9889
9873
  );
@@ -10017,7 +10001,7 @@ var getSerializers = function getSerializers() {
10017
10001
  var node = _ref6.node;
10018
10002
  var slides = node.slides;
10019
10003
 
10020
- return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
10004
+ return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
10021
10005
  },
10022
10006
  sidebar: function sidebar(_ref7) {
10023
10007
  var node = _ref7.node;
@@ -10055,12 +10039,12 @@ var getSerializers = function getSerializers() {
10055
10039
  poll: function poll(_ref13) {
10056
10040
  var node = _ref13.node;
10057
10041
 
10058
- return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
10042
+ return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
10059
10043
  },
10060
10044
  pollMultiChoice: function pollMultiChoice(_ref14) {
10061
10045
  var node = _ref14.node;
10062
10046
 
10063
- return React__default.createElement(Poll, {
10047
+ return React__default.createElement(Poll$1, {
10064
10048
  node: node,
10065
10049
  client: client,
10066
10050
  pageview: pageview,
@@ -10086,7 +10070,7 @@ var getSerializers = function getSerializers() {
10086
10070
  slideshows: function slideshows(_ref17) {
10087
10071
  var node = _ref17.node;
10088
10072
 
10089
- return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
10073
+ return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
10090
10074
  },
10091
10075
  nativeAd: function nativeAd(_ref18) {
10092
10076
  var node = _ref18.node;
@@ -10161,7 +10145,7 @@ var getSerializers = function getSerializers() {
10161
10145
  var isExernalUrl = checkUrlIsExternal(href);
10162
10146
  return href ? React__default.createElement(
10163
10147
  'a',
10164
- _extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
10148
+ _extends$1({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
10165
10149
  children
10166
10150
  ) : children;
10167
10151
  },