@mjhls/mjh-framework 1.0.803-beta.1 → 1.0.803

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 (306) hide show
  1. package/dist/cjs/AD.js +10 -9
  2. package/dist/cjs/AD300x250.js +30 -30
  3. package/dist/cjs/AD300x250x600.js +30 -30
  4. package/dist/cjs/AD728x90.js +33 -33
  5. package/dist/cjs/ADFloatingFooter.js +32 -44
  6. package/dist/cjs/ADFooter.js +20 -28
  7. package/dist/cjs/ADGutter.js +32 -32
  8. package/dist/cjs/{ADInfeed-6c2d52f3.js → ADInfeed-d9976673.js} +15 -13
  9. package/dist/cjs/ADSkyscraper.js +32 -32
  10. package/dist/cjs/ADSponsoredResources.js +32 -32
  11. package/dist/cjs/ADWebcast.js +32 -32
  12. package/dist/cjs/ADWelcome.js +33 -33
  13. package/dist/cjs/{ADlgInfeed-fd573385.js → ADlgInfeed-0610e1bb.js} +11 -10
  14. package/dist/cjs/AccordionPanel.js +31 -29
  15. package/dist/cjs/AdSlot.js +35 -35
  16. package/dist/cjs/AdSlotsProvider.js +17 -17
  17. package/dist/cjs/AlgoliaSearch.js +60 -14122
  18. package/dist/cjs/AlphabeticList.js +26 -25
  19. package/dist/cjs/ArticleCarousel.js +24 -23
  20. package/dist/cjs/ArticleProgramLandingPage.js +57 -57
  21. package/dist/cjs/ArticleSeriesLandingPage.js +41 -41
  22. package/dist/cjs/ArticleSeriesListing.js +61 -61
  23. package/dist/cjs/Auth.js +686 -662
  24. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
  25. package/dist/cjs/Beam.js +8 -8
  26. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
  27. package/dist/cjs/Breadcrumbs.js +29 -27
  28. package/dist/cjs/CMEDeck.js +83 -84
  29. package/dist/cjs/Column1.js +14 -11
  30. package/dist/cjs/Column2.js +36 -33
  31. package/dist/cjs/Column3.js +61 -59
  32. package/dist/cjs/ConferenceArticleCard.js +24 -23
  33. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  34. package/dist/cjs/DeckContent.js +99 -96
  35. package/dist/cjs/DeckQueue.js +92 -89
  36. package/dist/cjs/{Dfp-26baccf1.js → Dfp-3f0ed4c8.js} +34 -34
  37. package/dist/cjs/EventsDeck.js +142 -135
  38. package/dist/cjs/ExternalResources.js +80 -80
  39. package/dist/cjs/Feature.js +27 -25
  40. package/dist/cjs/ForbesHero.js +41 -40
  41. package/dist/cjs/GridContent.js +182 -179
  42. package/dist/cjs/GridHero.js +43 -42
  43. package/dist/cjs/GroupDeck.js +59 -58
  44. package/dist/cjs/HamMagazine.js +136 -131
  45. package/dist/cjs/Header.js +14 -12
  46. package/dist/cjs/Hero.js +13 -12
  47. package/dist/cjs/HighlightenVideo.js +18 -17
  48. package/dist/cjs/HorizontalArticleListing.js +70 -70
  49. package/dist/cjs/HorizontalHero.js +27 -26
  50. package/dist/cjs/IssueContentDeck.js +77 -72
  51. package/dist/cjs/IssueDeck.js +76 -71
  52. package/dist/cjs/IssueLanding.js +43 -43
  53. package/dist/cjs/LeftNav.js +40 -39
  54. package/dist/cjs/MasterDeck.js +72 -72
  55. package/dist/cjs/MediaSeriesLanding.js +1182 -1091
  56. package/dist/cjs/NavDvm.js +79 -74
  57. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  58. package/dist/cjs/NavMagazine.js +143 -138
  59. package/dist/cjs/NavNative.js +138 -130
  60. package/dist/cjs/NavNormal.js +53 -48
  61. package/dist/cjs/OncliveHero.js +20 -20
  62. package/dist/cjs/OncliveLargeHero.js +67 -66
  63. package/dist/cjs/PageFilter.js +15 -14
  64. package/dist/cjs/PartnerDetailListing.js +109 -109
  65. package/dist/cjs/PdfDownload.js +10 -9
  66. package/dist/cjs/PopUpModal.js +21 -19
  67. package/dist/cjs/PubSection.js +42 -42
  68. package/dist/cjs/PubToc.js +16 -15
  69. package/dist/cjs/PublicationDeck.js +66 -61
  70. package/dist/cjs/PublicationLanding.js +112 -108
  71. package/dist/cjs/QueueDeckExpanded.js +294 -295
  72. package/dist/cjs/RecentNews.js +25 -24
  73. package/dist/cjs/RelatedContent.js +25 -24
  74. package/dist/cjs/RelatedTopicsDropdown.js +22 -19
  75. package/dist/cjs/RolesDeck.js +32 -27
  76. package/dist/cjs/Search.js +22 -18
  77. package/dist/cjs/Segment.js +6 -6
  78. package/dist/cjs/SeriesListingDeck.js +38 -39
  79. package/dist/cjs/{SeriesSlider-4abb21b4.js → SeriesSlider-2db54929.js} +38 -37
  80. package/dist/cjs/SetCookie.js +1 -1
  81. package/dist/cjs/SideFooter.js +37 -36
  82. package/dist/cjs/SocialIcons.js +10 -9
  83. package/dist/cjs/{SocialSearchComponent-97dd19a5.js → SocialSearchComponent-948138c7.js} +40 -36
  84. package/dist/cjs/SocialShare.js +31 -29
  85. package/dist/cjs/TaxonomyCard.js +63 -58
  86. package/dist/cjs/TaxonomyDescription.js +54 -54
  87. package/dist/cjs/TemplateNormal.js +76 -76
  88. package/dist/cjs/ThumbnailCard.js +22 -20
  89. package/dist/cjs/Ustream.js +28 -27
  90. package/dist/cjs/VerticalHero.js +18 -17
  91. package/dist/cjs/VideoProgramLandingPage.js +76 -73
  92. package/dist/cjs/VideoSeriesCard.js +33 -32
  93. package/dist/cjs/VideoSeriesFilter.js +18 -18
  94. package/dist/cjs/VideoSeriesLandingPage.js +50 -50
  95. package/dist/cjs/VideoSeriesListing.js +78 -78
  96. package/dist/cjs/View.js +264 -262
  97. package/dist/cjs/YahooHero.js +40 -39
  98. package/dist/cjs/YoutubeGroup.js +63 -62
  99. package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
  100. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
  101. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  102. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
  103. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
  104. package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
  105. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
  106. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  107. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
  108. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  109. package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
  110. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
  111. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  112. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  113. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
  114. package/dist/cjs/{extends-60837c34.js → extends-9d158713.js} +7 -7
  115. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  116. package/dist/cjs/getRelatedArticle.js +425 -12
  117. package/dist/cjs/getRootDocGroup.js +6 -6
  118. package/dist/cjs/getSerializers.js +43 -44
  119. package/dist/cjs/{getTargeting-34e3ba68.js → getTargeting-fbbe92ba.js} +3 -3
  120. package/dist/cjs/getTargeting.js +8 -8
  121. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  122. package/dist/cjs/{index-98e01cb9.js → index-0e4427c8.js} +479 -13
  123. package/dist/cjs/{index-b53c1261.js → index-a766f892.js} +1007 -984
  124. package/dist/cjs/index-bd6c9f56.js +211 -0
  125. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  126. package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
  127. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  128. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  129. package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
  130. package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
  131. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-9225638f.js} +5 -10
  132. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
  133. package/dist/cjs/index.js +164 -162
  134. package/dist/cjs/{inherits-513d81cd.js → inherits-3ff1b657.js} +22 -22
  135. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  136. package/dist/cjs/keys-7f2c2108.js +25 -0
  137. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  138. package/dist/cjs/main-f1c77adb.js +973 -0
  139. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  140. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  141. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
  142. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  143. package/dist/cjs/stringify-c9ac1214.js +17 -0
  144. package/dist/cjs/timeDifferenceCalc.js +1 -1
  145. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
  146. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  147. package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
  148. package/dist/cjs/urlFor.js +2 -2
  149. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  150. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  151. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
  152. package/dist/esm/AD.js +1 -1
  153. package/dist/esm/AD300x250.js +23 -24
  154. package/dist/esm/AD300x250x600.js +23 -24
  155. package/dist/esm/AD728x90.js +26 -27
  156. package/dist/esm/ADFloatingFooter.js +23 -36
  157. package/dist/esm/ADFooter.js +11 -20
  158. package/dist/esm/ADGutter.js +22 -23
  159. package/dist/esm/{ADInfeed-04878bcc.js → ADInfeed-33e556f5.js} +6 -6
  160. package/dist/esm/ADSkyscraper.js +22 -23
  161. package/dist/esm/ADSponsoredResources.js +22 -23
  162. package/dist/esm/ADWebcast.js +22 -23
  163. package/dist/esm/ADWelcome.js +19 -20
  164. package/dist/esm/{ADlgInfeed-fb45c8cf.js → ADlgInfeed-1270c526.js} +4 -4
  165. package/dist/esm/AccordionPanel.js +8 -8
  166. package/dist/esm/AdSlot.js +23 -24
  167. package/dist/esm/AdSlotsProvider.js +12 -13
  168. package/dist/esm/AlgoliaSearch.js +28 -14091
  169. package/dist/esm/AlphabeticList.js +10 -10
  170. package/dist/esm/ArticleCarousel.js +17 -17
  171. package/dist/esm/ArticleProgramLandingPage.js +47 -48
  172. package/dist/esm/ArticleSeriesLandingPage.js +32 -33
  173. package/dist/esm/ArticleSeriesListing.js +33 -34
  174. package/dist/esm/Auth.js +595 -575
  175. package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-30aeba69.js} +1 -1
  176. package/dist/esm/Beam.js +8 -8
  177. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c99c9a8d.js} +34 -34
  178. package/dist/esm/Breadcrumbs.js +7 -7
  179. package/dist/esm/CMEDeck.js +24 -25
  180. package/dist/esm/Column1.js +4 -4
  181. package/dist/esm/Column2.js +21 -21
  182. package/dist/esm/Column3.js +38 -39
  183. package/dist/esm/ConferenceArticleCard.js +7 -7
  184. package/dist/esm/DeckContent.js +48 -49
  185. package/dist/esm/DeckQueue.js +47 -48
  186. package/dist/esm/{Dfp-b7236041.js → Dfp-be030f2a.js} +14 -15
  187. package/dist/esm/EventsDeck.js +50 -50
  188. package/dist/esm/ExternalResources.js +47 -48
  189. package/dist/esm/Feature.js +4 -4
  190. package/dist/esm/ForbesHero.js +11 -11
  191. package/dist/esm/GridContent.js +80 -81
  192. package/dist/esm/GridHero.js +12 -12
  193. package/dist/esm/GroupDeck.js +13 -13
  194. package/dist/esm/HamMagazine.js +29 -29
  195. package/dist/esm/Hero.js +3 -3
  196. package/dist/esm/HighlightenVideo.js +2 -2
  197. package/dist/esm/HorizontalArticleListing.js +44 -45
  198. package/dist/esm/HorizontalHero.js +5 -5
  199. package/dist/esm/IssueContentDeck.js +26 -26
  200. package/dist/esm/IssueDeck.js +36 -36
  201. package/dist/esm/IssueLanding.js +35 -36
  202. package/dist/esm/LeftNav.js +21 -22
  203. package/dist/esm/MasterDeck.js +36 -37
  204. package/dist/esm/MediaSeriesLanding.js +731 -643
  205. package/dist/esm/NavDvm.js +16 -16
  206. package/dist/esm/NavMagazine.js +34 -34
  207. package/dist/esm/NavNative.js +34 -34
  208. package/dist/esm/NavNormal.js +18 -18
  209. package/dist/esm/OncliveHero.js +4 -5
  210. package/dist/esm/OncliveLargeHero.js +12 -12
  211. package/dist/esm/PageFilter.js +6 -6
  212. package/dist/esm/PartnerDetailListing.js +56 -57
  213. package/dist/esm/PdfDownload.js +2 -2
  214. package/dist/esm/PopUpModal.js +6 -6
  215. package/dist/esm/PubSection.js +33 -34
  216. package/dist/esm/PubToc.js +8 -8
  217. package/dist/esm/PublicationDeck.js +23 -23
  218. package/dist/esm/PublicationLanding.js +49 -49
  219. package/dist/esm/QueueDeckExpanded.js +37 -38
  220. package/dist/esm/RecentNews.js +6 -6
  221. package/dist/esm/RelatedContent.js +6 -6
  222. package/dist/esm/RolesDeck.js +12 -12
  223. package/dist/esm/Search.js +8 -8
  224. package/dist/esm/Segment.js +6 -6
  225. package/dist/esm/SeriesListingDeck.js +19 -20
  226. package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-c8477bf3.js} +10 -10
  227. package/dist/esm/SetCookie.js +1 -1
  228. package/dist/esm/SideFooter.js +15 -15
  229. package/dist/esm/{SocialSearchComponent-db5ba548.js → SocialSearchComponent-db963c3e.js} +12 -12
  230. package/dist/esm/TaxonomyCard.js +24 -24
  231. package/dist/esm/TaxonomyDescription.js +44 -45
  232. package/dist/esm/TemplateNormal.js +50 -51
  233. package/dist/esm/ThumbnailCard.js +6 -6
  234. package/dist/esm/Ustream.js +11 -11
  235. package/dist/esm/VerticalHero.js +3 -3
  236. package/dist/esm/VideoProgramLandingPage.js +52 -53
  237. package/dist/esm/VideoSeriesCard.js +12 -12
  238. package/dist/esm/VideoSeriesFilter.js +9 -9
  239. package/dist/esm/VideoSeriesLandingPage.js +37 -38
  240. package/dist/esm/VideoSeriesListing.js +34 -35
  241. package/dist/esm/View.js +90 -92
  242. package/dist/esm/YahooHero.js +14 -14
  243. package/dist/esm/YoutubeGroup.js +21 -21
  244. package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
  245. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
  246. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  247. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
  248. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
  249. package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
  250. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
  251. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
  252. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
  253. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  254. package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
  255. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
  256. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  257. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  258. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
  259. package/dist/esm/{extends-eb69e8ac.js → extends-f076879e.js} +7 -7
  260. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  261. package/dist/esm/getRelatedArticle.js +425 -12
  262. package/dist/esm/getRootDocGroup.js +6 -6
  263. package/dist/esm/getSerializers.js +43 -44
  264. package/dist/esm/{getTargeting-739e9fed.js → getTargeting-0958ad0e.js} +2 -2
  265. package/dist/esm/getTargeting.js +8 -8
  266. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
  267. package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
  268. package/dist/esm/{index-41a678ea.js → index-5cc7b406.js} +469 -4
  269. package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
  270. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  271. package/dist/esm/index-db3bb315.js +207 -0
  272. package/dist/esm/{index-6271cfc8.js → index-f354da27.js} +628 -612
  273. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  274. package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
  275. package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
  276. package/dist/esm/{index.esm-b08f4b04.js → index.esm-e874e770.js} +5 -10
  277. package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
  278. package/dist/esm/index.js +118 -119
  279. package/dist/esm/{inherits-fb9b6e8f.js → inherits-f71787cf.js} +19 -19
  280. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  281. package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
  282. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  283. package/dist/esm/main-d4165069.js +961 -0
  284. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  285. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
  286. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
  287. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  288. package/dist/esm/stringify-59c8f690.js +15 -0
  289. package/dist/esm/timeDifferenceCalc.js +1 -1
  290. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
  291. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  292. package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
  293. package/dist/esm/urlFor.js +1 -1
  294. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  295. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
  296. package/package.json +1 -1
  297. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  298. package/dist/cjs/events-1b438fe7.js +0 -469
  299. package/dist/cjs/index-e2e62963.js +0 -89
  300. package/dist/cjs/keys-a586b7a0.js +0 -25
  301. package/dist/cjs/main-02daeefe.js +0 -862
  302. package/dist/cjs/stringify-7c5aff47.js +0 -17
  303. package/dist/esm/events-6c3a7a63.js +0 -467
  304. package/dist/esm/index-aaa2dae0.js +0 -85
  305. package/dist/esm/main-e4a934b2.js +0 -851
  306. package/dist/esm/stringify-4330ccdc.js +0 -15
@@ -1,40 +1,40 @@
1
- import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { _ as _export, a as _core } from './_to-object-a4107da3.js';
3
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
4
- import { _ as _extends$1 } from './extends-eb69e8ac.js';
5
- import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-fb9b6e8f.js';
6
- import { _ as _typeof } from './typeof-6435ba1c.js';
7
1
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
8
- import { l as lib_3 } from './index-41a678ea.js';
9
- import PropTypes from 'prop-types';
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';
2
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
3
+ import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
4
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
5
+ import { l as lib_3 } from './index-5cc7b406.js';
13
6
  import Router, { useRouter } from 'next/router';
14
- import { i as imageUrlBuilder } from './index-73819142.js';
15
- import { L as LazyLoad } from './index-5f7e79e7.js';
16
- import { d as main_16, b as main_35, m as main_36 } from './main-e4a934b2.js';
17
- import { h as html_decode_1 } from './entities-7cc3bf45.js';
18
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
19
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
20
- import Segment from './Segment.js';
21
- import Beam from './Beam.js';
22
- import DFPAdSlot from './AdSlot.js';
23
- import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
24
7
  import { g as getYoutubeId } from './index-c7e2ac95.js';
8
+ import PropTypes from 'prop-types';
9
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
10
+ import { u as util } from './util-3ab476bf.js';
11
+ import Beam from './Beam.js';
12
+ import Segment from './Segment.js';
13
+ import { d as main_18, b as main_42, m as main_43 } from './main-d4165069.js';
14
+ import { B as BlockContent } from './BlockContent-c99c9a8d.js';
15
+ import { _ as _extends } from './extends-f076879e.js';
16
+ import { L as LazyLoad } from './index-755f2cc2.js';
17
+ import { _ as _typeof$1 } from './typeof-a286cf0c.js';
18
+ import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
25
19
  import GroupDeck from './GroupDeck.js';
26
- import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
27
- import { d as IoIosArrowDropupCircle } from './index.esm-29e48d38.js';
28
- import { u as util } from './util-7700fc59.js';
29
- import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-83f53e4e.js';
30
- import Head from 'next/head';
20
+ import { m as moment } from './moment-bc12cb97.js';
31
21
  import SocialShare from './SocialShare.js';
32
- import { _ as _objectToArray } from './_object-to-array-7e804fce.js';
33
- import Pagination$1 from 'react-bootstrap/Pagination';
22
+ import { _ as _export, a as _core } from './_to-object-b50e61c3.js';
23
+ import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
24
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
25
+ import Pagination from 'react-bootstrap/Pagination';
34
26
  import Button$1 from 'react-bootstrap/Button';
35
- import Figure$1$1 from 'react-bootstrap/Figure';
27
+ import { h as html_decode_1 } from './entities-932b50cf.js';
28
+ import DFPAdSlot from './AdSlot.js';
29
+ import Row$1 from 'react-bootstrap/Row';
30
+ import Col$1 from 'react-bootstrap/Col';
31
+ import Head from 'next/head';
32
+ import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-f71787cf.js';
33
+ import { d as IoIosArrowDropupCircle } from './index.esm-f6156a57.js';
34
+ import Figure$2 from 'react-bootstrap/Figure';
35
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
36
36
 
37
- var urlFor = function urlFor(source, builder) {
37
+ var urlFor$4 = function urlFor(source, builder) {
38
38
  return builder.image(source).auto('format');
39
39
  };
40
40
 
@@ -44,7 +44,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
44
44
  Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
45
45
  };
46
46
 
47
- var Slideshow = function Slideshow(_ref) {
47
+ var Slideshow$1 = function Slideshow(_ref) {
48
48
  var slides = _ref.slides,
49
49
  client = _ref.client,
50
50
  pageview = _ref.pageview;
@@ -85,7 +85,7 @@ var Slideshow = function Slideshow(_ref) {
85
85
  return React__default.createElement(
86
86
  Carousel.Item,
87
87
  { key: slide._key },
88
- React__default.createElement('img', { src: slide.asset && urlFor(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
88
+ React__default.createElement('img', { src: slide.asset && urlFor$4(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
89
89
  slide.caption && React__default.createElement(
90
90
  'p',
91
91
  { className: 'p-2' },
@@ -97,21 +97,18 @@ var Slideshow = function Slideshow(_ref) {
97
97
  );
98
98
  };
99
99
 
100
- var isArray = Array.isArray;
101
- var keyList = Object.keys;
102
- var hasProp = Object.prototype.hasOwnProperty;
100
+ // do not edit .js files directly - edit src/index.jst
101
+
102
+
103
103
 
104
104
  var fastDeepEqual = function equal(a, b) {
105
105
  if (a === b) return true;
106
106
 
107
107
  if (a && b && typeof a == 'object' && typeof b == 'object') {
108
- var arrA = isArray(a)
109
- , arrB = isArray(b)
110
- , i
111
- , length
112
- , key;
108
+ if (a.constructor !== b.constructor) return false;
113
109
 
114
- if (arrA && arrB) {
110
+ var length, i, keys;
111
+ if (Array.isArray(a)) {
115
112
  length = a.length;
116
113
  if (length != b.length) return false;
117
114
  for (i = length; i-- !== 0;)
@@ -119,35 +116,29 @@ var fastDeepEqual = function equal(a, b) {
119
116
  return true;
120
117
  }
121
118
 
122
- if (arrA != arrB) return false;
123
119
 
124
- var dateA = a instanceof Date
125
- , dateB = b instanceof Date;
126
- if (dateA != dateB) return false;
127
- if (dateA && dateB) return a.getTime() == b.getTime();
128
120
 
129
- var regexpA = a instanceof RegExp
130
- , regexpB = b instanceof RegExp;
131
- if (regexpA != regexpB) return false;
132
- if (regexpA && regexpB) return a.toString() == b.toString();
121
+ if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
122
+ if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
123
+ if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
133
124
 
134
- var keys = keyList(a);
125
+ keys = Object.keys(a);
135
126
  length = keys.length;
136
-
137
- if (length !== keyList(b).length)
138
- return false;
127
+ if (length !== Object.keys(b).length) return false;
139
128
 
140
129
  for (i = length; i-- !== 0;)
141
- if (!hasProp.call(b, keys[i])) return false;
130
+ if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
142
131
 
143
132
  for (i = length; i-- !== 0;) {
144
- key = keys[i];
133
+ var key = keys[i];
134
+
145
135
  if (!equal(a[key], b[key])) return false;
146
136
  }
147
137
 
148
138
  return true;
149
139
  }
150
140
 
141
+ // true if both NaN, false otherwise
151
142
  return a!==a && b!==b;
152
143
  };
153
144
 
@@ -685,14 +676,14 @@ function coerce(val) {
685
676
  return val;
686
677
  }
687
678
  });
688
- var debug_1 = debug.coerce;
689
- var debug_2 = debug.disable;
690
- var debug_3 = debug.enable;
691
- var debug_4 = debug.enabled;
692
- var debug_5 = debug.humanize;
693
- var debug_6 = debug.names;
694
- var debug_7 = debug.skips;
695
- var debug_8 = debug.formatters;
679
+ debug.coerce;
680
+ debug.disable;
681
+ debug.enable;
682
+ debug.enabled;
683
+ debug.humanize;
684
+ debug.names;
685
+ debug.skips;
686
+ debug.formatters;
696
687
 
697
688
  var browser = createCommonjsModule(function (module, exports) {
698
689
  /**
@@ -881,13 +872,13 @@ function localstorage() {
881
872
  } catch (e) {}
882
873
  }
883
874
  });
884
- var browser_1 = browser.log;
885
- var browser_2 = browser.formatArgs;
886
- var browser_3 = browser.save;
887
- var browser_4 = browser.load;
888
- var browser_5 = browser.useColors;
889
- var browser_6 = browser.storage;
890
- var browser_7 = browser.colors;
875
+ browser.log;
876
+ browser.formatArgs;
877
+ browser.save;
878
+ browser.load;
879
+ browser.useColors;
880
+ browser.storage;
881
+ browser.colors;
891
882
 
892
883
  // MIT lisence
893
884
  // from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
@@ -1162,14 +1153,14 @@ function init (debug) {
1162
1153
 
1163
1154
  exports.enable(load());
1164
1155
  });
1165
- var node_1 = node.init;
1166
- var node_2 = node.log;
1167
- var node_3 = node.formatArgs;
1168
- var node_4 = node.save;
1169
- var node_5 = node.load;
1170
- var node_6 = node.useColors;
1171
- var node_7 = node.colors;
1172
- var node_8 = node.inspectOpts;
1156
+ node.init;
1157
+ node.log;
1158
+ node.formatArgs;
1159
+ node.save;
1160
+ node.load;
1161
+ node.useColors;
1162
+ node.colors;
1163
+ node.inspectOpts;
1173
1164
 
1174
1165
  var src = createCommonjsModule(function (module) {
1175
1166
  /**
@@ -1570,199 +1561,239 @@ module.exports = exports['default'];
1570
1561
 
1571
1562
  var youTubePlayer = unwrapExports(dist);
1572
1563
 
1573
- 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; }; }();
1574
-
1575
- 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; };
1564
+ 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); }
1576
1565
 
1577
1566
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1578
1567
 
1579
- 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; }
1568
+ 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); } }
1569
+
1570
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1571
+
1572
+ 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); }
1573
+
1574
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1575
+
1576
+ 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); }; }
1577
+
1578
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
1579
+
1580
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1581
+
1582
+ 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; } }
1580
1583
 
1581
- 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; }
1584
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1585
+
1586
+ 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; }
1582
1587
 
1583
- /**
1584
- * Check whether a `props` change should result in the video being updated.
1585
- *
1586
- * @param {Object} prevProps
1587
- * @param {Object} props
1588
+ 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; }
1589
+
1590
+ 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; }
1591
+ /**
1592
+ * Check whether a `props` change should result in the video being updated.
1593
+ *
1594
+ * @param {Object} prevProps
1595
+ * @param {Object} props
1588
1596
  */
1597
+
1589
1598
  function shouldUpdateVideo(prevProps, props) {
1590
1599
  // A changing video should always trigger an update
1591
1600
  if (prevProps.videoId !== props.videoId) {
1592
1601
  return true;
1593
- }
1594
-
1595
- // Otherwise, a change in the start/end time playerVars also requires a player
1602
+ } // Otherwise, a change in the start/end time playerVars also requires a player
1596
1603
  // update.
1604
+
1605
+
1597
1606
  var prevVars = prevProps.opts.playerVars || {};
1598
1607
  var vars = props.opts.playerVars || {};
1599
-
1600
1608
  return prevVars.start !== vars.start || prevVars.end !== vars.end;
1601
1609
  }
1602
-
1603
- /**
1604
- * Neutralise API options that only require a video update, leaving only options
1605
- * that require a player reset. The results can then be compared to see if a
1606
- * player reset is necessary.
1607
- *
1608
- * @param {Object} opts
1610
+ /**
1611
+ * Neutralize API options that only require a video update, leaving only options
1612
+ * that require a player reset. The results can then be compared to see if a
1613
+ * player reset is necessary.
1614
+ *
1615
+ * @param {Object} opts
1609
1616
  */
1617
+
1618
+
1610
1619
  function filterResetOptions(opts) {
1611
- return _extends({}, opts, {
1612
- playerVars: _extends({}, opts.playerVars, {
1620
+ return _objectSpread(_objectSpread({}, opts), {}, {
1621
+ playerVars: _objectSpread({
1613
1622
  autoplay: 0,
1614
1623
  start: 0,
1615
1624
  end: 0
1616
- })
1625
+ }, opts.playerVars)
1617
1626
  });
1618
1627
  }
1619
-
1620
- /**
1621
- * Check whether a `props` change should result in the player being reset.
1622
- * The player is reset when the `props.opts` change, except if the only change
1623
- * is in the `start` and `end` playerVars, because a video update can deal with
1624
- * those.
1625
- *
1626
- * @param {Object} prevProps
1627
- * @param {Object} props
1628
+ /**
1629
+ * Check whether a `props` change should result in the player being reset.
1630
+ * The player is reset when the `props.opts` change, except if the only change
1631
+ * is in the `start` and `end` playerVars, because a video update can deal with
1632
+ * those.
1633
+ *
1634
+ * @param {Object} prevProps
1635
+ * @param {Object} props
1628
1636
  */
1637
+
1638
+
1629
1639
  function shouldResetPlayer(prevProps, props) {
1630
1640
  return !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
1631
1641
  }
1632
-
1633
- /**
1634
- * Check whether a props change should result in an id or className update.
1635
- *
1636
- * @param {Object} prevProps
1637
- * @param {Object} props
1642
+ /**
1643
+ * Check whether a props change should result in an id or className update.
1644
+ *
1645
+ * @param {Object} prevProps
1646
+ * @param {Object} props
1638
1647
  */
1648
+
1649
+
1639
1650
  function shouldUpdatePlayer(prevProps, props) {
1640
1651
  return prevProps.id !== props.id || prevProps.className !== props.className;
1641
1652
  }
1642
1653
 
1643
- var YouTube = function (_React$Component) {
1654
+ var YouTube = /*#__PURE__*/function (_React$Component) {
1644
1655
  _inherits(YouTube, _React$Component);
1645
1656
 
1657
+ var _super = _createSuper(YouTube);
1658
+
1659
+ /**
1660
+ * Expose PlayerState constants for convenience. These constants can also be
1661
+ * accessed through the global YT object after the YouTube IFrame API is instantiated.
1662
+ * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1663
+ */
1646
1664
  function YouTube(props) {
1665
+ var _this;
1666
+
1647
1667
  _classCallCheck(this, YouTube);
1648
1668
 
1649
- var _this = _possibleConstructorReturn(this, (YouTube.__proto__ || Object.getPrototypeOf(YouTube)).call(this, props));
1669
+ _this = _super.call(this, props);
1650
1670
 
1651
- _this.onPlayerReady = function (event) {
1671
+ _defineProperty(_assertThisInitialized(_this), "onPlayerReady", function (event) {
1652
1672
  return _this.props.onReady(event);
1653
- };
1673
+ });
1654
1674
 
1655
- _this.onPlayerError = function (event) {
1675
+ _defineProperty(_assertThisInitialized(_this), "onPlayerError", function (event) {
1656
1676
  return _this.props.onError(event);
1657
- };
1677
+ });
1658
1678
 
1659
- _this.onPlayerStateChange = function (event) {
1679
+ _defineProperty(_assertThisInitialized(_this), "onPlayerStateChange", function (event) {
1660
1680
  _this.props.onStateChange(event);
1661
- switch (event.data) {
1662
1681
 
1682
+ switch (event.data) {
1663
1683
  case YouTube.PlayerState.ENDED:
1664
1684
  _this.props.onEnd(event);
1685
+
1665
1686
  break;
1666
1687
 
1667
1688
  case YouTube.PlayerState.PLAYING:
1668
1689
  _this.props.onPlay(event);
1690
+
1669
1691
  break;
1670
1692
 
1671
1693
  case YouTube.PlayerState.PAUSED:
1672
1694
  _this.props.onPause(event);
1695
+
1673
1696
  break;
1674
1697
  }
1675
- };
1698
+ });
1676
1699
 
1677
- _this.onPlayerPlaybackRateChange = function (event) {
1700
+ _defineProperty(_assertThisInitialized(_this), "onPlayerPlaybackRateChange", function (event) {
1678
1701
  return _this.props.onPlaybackRateChange(event);
1679
- };
1702
+ });
1680
1703
 
1681
- _this.onPlayerPlaybackQualityChange = function (event) {
1704
+ _defineProperty(_assertThisInitialized(_this), "onPlayerPlaybackQualityChange", function (event) {
1682
1705
  return _this.props.onPlaybackQualityChange(event);
1683
- };
1706
+ });
1684
1707
 
1685
- _this.createPlayer = function () {
1708
+ _defineProperty(_assertThisInitialized(_this), "createPlayer", function () {
1686
1709
  // do not attempt to create a player server-side, it won't work
1687
- if (typeof document === 'undefined') return;
1688
- // create player
1689
- var playerOpts = _extends({}, _this.props.opts, {
1710
+ if (typeof document === 'undefined') return; // create player
1711
+
1712
+ var playerOpts = _objectSpread(_objectSpread({}, _this.props.opts), {}, {
1690
1713
  // preload the `videoId` video if one is already given
1691
1714
  videoId: _this.props.videoId
1692
1715
  });
1693
- _this.internalPlayer = youTubePlayer(_this.container, playerOpts);
1694
- // attach event handlers
1716
+
1717
+ _this.internalPlayer = youTubePlayer(_this.container, playerOpts); // attach event handlers
1718
+
1695
1719
  _this.internalPlayer.on('ready', _this.onPlayerReady);
1720
+
1696
1721
  _this.internalPlayer.on('error', _this.onPlayerError);
1722
+
1697
1723
  _this.internalPlayer.on('stateChange', _this.onPlayerStateChange);
1724
+
1698
1725
  _this.internalPlayer.on('playbackRateChange', _this.onPlayerPlaybackRateChange);
1726
+
1699
1727
  _this.internalPlayer.on('playbackQualityChange', _this.onPlayerPlaybackQualityChange);
1700
- };
1728
+ });
1701
1729
 
1702
- _this.resetPlayer = function () {
1730
+ _defineProperty(_assertThisInitialized(_this), "resetPlayer", function () {
1703
1731
  return _this.internalPlayer.destroy().then(_this.createPlayer);
1704
- };
1732
+ });
1705
1733
 
1706
- _this.updatePlayer = function () {
1734
+ _defineProperty(_assertThisInitialized(_this), "updatePlayer", function () {
1707
1735
  _this.internalPlayer.getIframe().then(function (iframe) {
1708
1736
  if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');
1709
1737
  if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');
1710
1738
  });
1711
- };
1739
+ });
1740
+
1741
+ _defineProperty(_assertThisInitialized(_this), "getInternalPlayer", function () {
1742
+ return _this.internalPlayer;
1743
+ });
1712
1744
 
1713
- _this.updateVideo = function () {
1745
+ _defineProperty(_assertThisInitialized(_this), "updateVideo", function () {
1714
1746
  if (typeof _this.props.videoId === 'undefined' || _this.props.videoId === null) {
1715
1747
  _this.internalPlayer.stopVideo();
1748
+
1716
1749
  return;
1717
- }
1750
+ } // set queueing options
1751
+
1718
1752
 
1719
- // set queueing options
1720
1753
  var autoplay = false;
1721
1754
  var opts = {
1722
1755
  videoId: _this.props.videoId
1723
1756
  };
1757
+
1724
1758
  if ('playerVars' in _this.props.opts) {
1725
1759
  autoplay = _this.props.opts.playerVars.autoplay === 1;
1760
+
1726
1761
  if ('start' in _this.props.opts.playerVars) {
1727
1762
  opts.startSeconds = _this.props.opts.playerVars.start;
1728
1763
  }
1764
+
1729
1765
  if ('end' in _this.props.opts.playerVars) {
1730
1766
  opts.endSeconds = _this.props.opts.playerVars.end;
1731
1767
  }
1732
- }
1768
+ } // if autoplay is enabled loadVideoById
1769
+
1733
1770
 
1734
- // if autoplay is enabled loadVideoById
1735
1771
  if (autoplay) {
1736
1772
  _this.internalPlayer.loadVideoById(opts);
1773
+
1737
1774
  return;
1738
- }
1739
- // default behaviour just cues the video
1775
+ } // default behaviour just cues the video
1776
+
1777
+
1740
1778
  _this.internalPlayer.cueVideoById(opts);
1741
- };
1779
+ });
1742
1780
 
1743
- _this.refContainer = function (container) {
1781
+ _defineProperty(_assertThisInitialized(_this), "refContainer", function (container) {
1744
1782
  _this.container = container;
1745
- };
1783
+ });
1746
1784
 
1747
1785
  _this.container = null;
1748
1786
  _this.internalPlayer = null;
1749
1787
  return _this;
1750
1788
  }
1751
1789
 
1752
- /**
1753
- * Expose PlayerState constants for convenience. These constants can also be
1754
- * accessed through the global YT object after the YouTube IFrame API is instantiated.
1755
- * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1756
- */
1757
-
1758
-
1759
1790
  _createClass(YouTube, [{
1760
- key: 'componentDidMount',
1791
+ key: "componentDidMount",
1761
1792
  value: function componentDidMount() {
1762
1793
  this.createPlayer();
1763
1794
  }
1764
1795
  }, {
1765
- key: 'componentDidUpdate',
1796
+ key: "componentDidUpdate",
1766
1797
  value: function componentDidUpdate(prevProps) {
1767
1798
  if (shouldUpdatePlayer(prevProps, this.props)) {
1768
1799
  this.updatePlayer();
@@ -1777,112 +1808,58 @@ var YouTube = function (_React$Component) {
1777
1808
  }
1778
1809
  }
1779
1810
  }, {
1780
- key: 'componentWillUnmount',
1811
+ key: "componentWillUnmount",
1781
1812
  value: function componentWillUnmount() {
1782
- /**
1783
- * Note: The `youtube-player` package that is used promisifies all Youtube
1784
- * Player API calls, which introduces a delay of a tick before it actually
1785
- * gets destroyed. Since React attempts to remove the element instantly
1786
- * this method isn't quick enough to reset the container element.
1813
+ /**
1814
+ * Note: The `youtube-player` package that is used promisifies all YouTube
1815
+ * Player API calls, which introduces a delay of a tick before it actually
1816
+ * gets destroyed. Since React attempts to remove the element instantly
1817
+ * this method isn't quick enough to reset the container element.
1787
1818
  */
1788
1819
  this.internalPlayer.destroy();
1789
1820
  }
1790
-
1791
- /**
1792
- * https://developers.google.com/youtube/iframe_api_reference#onReady
1793
- *
1794
- * @param {Object} event
1795
- * @param {Object} target - player object
1796
- */
1797
-
1798
-
1799
- /**
1800
- * https://developers.google.com/youtube/iframe_api_reference#onError
1801
- *
1802
- * @param {Object} event
1803
- * @param {Integer} data - error type
1804
- * @param {Object} target - player object
1805
- */
1806
-
1807
-
1808
- /**
1809
- * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1810
- *
1811
- * @param {Object} event
1812
- * @param {Integer} data - status change type
1813
- * @param {Object} target - actual YT player
1814
- */
1815
-
1816
-
1817
- /**
1818
- * https://developers.google.com/youtube/iframe_api_reference#onPlaybackRateChange
1819
- *
1820
- * @param {Object} event
1821
- * @param {Float} data - playback rate
1822
- * @param {Object} target - actual YT player
1823
- */
1824
-
1825
-
1826
- /**
1827
- * https://developers.google.com/youtube/iframe_api_reference#onPlaybackQualityChange
1828
- *
1829
- * @param {Object} event
1830
- * @param {String} data - playback quality
1831
- * @param {Object} target - actual YT player
1832
- */
1833
-
1834
-
1835
- /**
1836
- * Initialize the Youtube Player API on the container and attach event handlers
1837
- */
1838
-
1839
-
1840
- /**
1841
- * Shorthand for destroying and then re-creating the Youtube Player
1842
- */
1843
-
1844
-
1845
- /**
1846
- * Method to update the id and class of the Youtube Player iframe.
1847
- * React should update this automatically but since the Youtube Player API
1848
- * replaced the DIV that is mounted by React we need to do this manually.
1849
- */
1850
-
1851
-
1852
- /**
1853
- * Call Youtube Player API methods to update the currently playing video.
1854
- * Depeding on the `opts.playerVars.autoplay` this function uses one of two
1855
- * Youtube Player API methods to update the video.
1821
+ /**
1822
+ * https://developers.google.com/youtube/iframe_api_reference#onReady
1823
+ *
1824
+ * @param {Object} event
1825
+ * @param {Object} target - player object
1856
1826
  */
1857
1827
 
1858
1828
  }, {
1859
- key: 'render',
1829
+ key: "render",
1860
1830
  value: function render() {
1861
- return React__default.createElement(
1862
- 'div',
1863
- { className: this.props.containerClassName },
1864
- React__default.createElement('div', { id: this.props.id, className: this.props.className, ref: this.refContainer })
1865
- );
1831
+ return /*#__PURE__*/React__default.createElement("div", {
1832
+ className: this.props.containerClassName
1833
+ }, /*#__PURE__*/React__default.createElement("div", {
1834
+ id: this.props.id,
1835
+ className: this.props.className,
1836
+ ref: this.refContainer
1837
+ }));
1866
1838
  }
1867
1839
  }]);
1868
1840
 
1869
1841
  return YouTube;
1870
1842
  }(React__default.Component);
1871
1843
 
1844
+ _defineProperty(YouTube, "PlayerState", {
1845
+ UNSTARTED: -1,
1846
+ ENDED: 0,
1847
+ PLAYING: 1,
1848
+ PAUSED: 2,
1849
+ BUFFERING: 3,
1850
+ CUED: 5
1851
+ });
1852
+
1872
1853
  YouTube.propTypes = {
1873
1854
  videoId: PropTypes.string,
1874
-
1875
1855
  // custom ID for player element
1876
1856
  id: PropTypes.string,
1877
-
1878
1857
  // custom class name for player element
1879
1858
  className: PropTypes.string,
1880
1859
  // custom class name for player container element
1881
1860
  containerClassName: PropTypes.string,
1882
-
1883
1861
  // https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
1884
1862
  opts: PropTypes.objectOf(PropTypes.any),
1885
-
1886
1863
  // event subscriptions
1887
1864
  onReady: PropTypes.func,
1888
1865
  onError: PropTypes.func,
@@ -1894,6 +1871,7 @@ YouTube.propTypes = {
1894
1871
  onPlaybackQualityChange: PropTypes.func
1895
1872
  };
1896
1873
  YouTube.defaultProps = {
1874
+ videoId: null,
1897
1875
  id: null,
1898
1876
  className: null,
1899
1877
  opts: {},
@@ -1907,14 +1885,6 @@ YouTube.defaultProps = {
1907
1885
  onPlaybackRateChange: function onPlaybackRateChange() {},
1908
1886
  onPlaybackQualityChange: function onPlaybackQualityChange() {}
1909
1887
  };
1910
- YouTube.PlayerState = {
1911
- UNSTARTED: -1,
1912
- ENDED: 0,
1913
- PLAYING: 1,
1914
- PAUSED: 2,
1915
- BUFFERING: 3,
1916
- CUED: 5
1917
- };
1918
1888
 
1919
1889
  var YouTubePlayer = function YouTubePlayer(_ref) {
1920
1890
  var url = _ref.url,
@@ -1953,8 +1923,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1953
1923
  var duration = player.getDuration();
1954
1924
  var queue = Math.floor(duration / 10);
1955
1925
  var segment = Math.floor(current / queue);
1956
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
1957
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
1926
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
1927
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
1958
1928
  };
1959
1929
 
1960
1930
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -1964,8 +1934,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1964
1934
  var segment = Math.floor(current / queue);
1965
1935
 
1966
1936
  if (!queueProgress.includes(segment)) {
1967
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
1968
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
1937
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
1938
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
1969
1939
  queueProgress.push(segment);
1970
1940
  }
1971
1941
  };
@@ -1978,8 +1948,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1978
1948
  var queue = Math.floor(duration / 10);
1979
1949
  var segment = Math.floor(current / queue);
1980
1950
 
1981
- Beam.report_beam_video('Play', main_16, duration, current, segment);
1982
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
1951
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
1952
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
1983
1953
 
1984
1954
  if (!playReported) {
1985
1955
  setPlayReported(true);
@@ -1998,8 +1968,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1998
1968
  var queue = Math.floor(duration / 10);
1999
1969
  var segment = Math.floor(current / queue);
2000
1970
 
2001
- Beam.report_beam_video('End', main_16, duration, current, segment);
2002
- Segment.report_video_event('Video End', main_16, duration, current, segment);
1971
+ Beam.report_beam_video('End', main_18, duration, current, segment);
1972
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
2003
1973
  setEndReported(true);
2004
1974
  clearInterval(intervalID);
2005
1975
  }
@@ -2012,8 +1982,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
2012
1982
  var queue = Math.floor(duration / 10);
2013
1983
  var segment = Math.floor(current / queue);
2014
1984
 
2015
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
2016
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
1985
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
1986
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
2017
1987
  };
2018
1988
 
2019
1989
  return React__default.createElement(
@@ -2180,7 +2150,7 @@ var Media = function Media(_ref) {
2180
2150
  React__default.createElement(
2181
2151
  LazyLoad,
2182
2152
  { once: true },
2183
- React__default.createElement(Figure$1.Image, _extends$1({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor(poster).url() }, alt && { alt: alt }))
2153
+ React__default.createElement(Figure$1.Image, _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor(poster).url() }, alt && { alt: alt }))
2184
2154
  ),
2185
2155
  caption && React__default.createElement(
2186
2156
  Figure$1.Caption,
@@ -2192,7 +2162,7 @@ var Media = function Media(_ref) {
2192
2162
  } else if (caption && caption !== '') {
2193
2163
  return React__default.createElement(
2194
2164
  'a',
2195
- _extends$1({}, uploadDoc.downloadMedia ? {
2165
+ _extends({}, uploadDoc.downloadMedia ? {
2196
2166
  href: uploadDoc.asset.url + '?dl='
2197
2167
  } : { href: uploadDoc.asset.url, target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
2198
2168
  style: { paddingLeft: '4px', paddingRight: '4px' },
@@ -2247,8 +2217,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2247
2217
  var duration = player.duration;
2248
2218
  var queue = Math.floor(duration / 10);
2249
2219
  var segment = Math.floor(current / queue);
2250
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'MP4');
2251
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
2220
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'MP4');
2221
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
2252
2222
  };
2253
2223
 
2254
2224
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -2257,8 +2227,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2257
2227
  var queue = Math.floor(duration / 10);
2258
2228
  var segment = Math.floor(current / queue);
2259
2229
  if (!queueProgress.includes(segment)) {
2260
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'MP4');
2261
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
2230
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'MP4');
2231
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
2262
2232
  queueProgress.push(segment);
2263
2233
  }
2264
2234
  };
@@ -2270,8 +2240,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2270
2240
  var duration = player.duration;
2271
2241
  var queue = Math.floor(duration / 10);
2272
2242
  var segment = Math.floor(current / queue);
2273
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'MP4');
2274
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
2243
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'MP4');
2244
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
2275
2245
 
2276
2246
  if (!playReported) {
2277
2247
  event.persist();
@@ -2291,8 +2261,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2291
2261
  var queue = Math.floor(duration / 10);
2292
2262
  var segment = Math.floor(current / queue);
2293
2263
 
2294
- Beam.report_beam_video('End', main_16, duration, current, segment, 'MP4');
2295
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
2264
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'MP4');
2265
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
2296
2266
  setEndReported(true);
2297
2267
  clearInterval(intervalID);
2298
2268
  }
@@ -2304,8 +2274,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2304
2274
  var duration = player.duration - current;
2305
2275
  var queue = Math.floor(duration / 10);
2306
2276
  var segment = Math.floor(current / queue);
2307
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'MP4');
2308
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
2277
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'MP4');
2278
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
2309
2279
  };
2310
2280
 
2311
2281
  return React__default.createElement(
@@ -2366,7 +2336,7 @@ var Video = function Video(_ref) {
2366
2336
  var onVideoSuccess = function onVideoSuccess(success) {
2367
2337
  //console.log('success:', success.ref)
2368
2338
  var player = success.ref;
2369
- if (_typeof(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2339
+ if (_typeof$1(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2370
2340
  player.ima3.settings.debug = true;
2371
2341
  if (targeting.content_placement && targeting.document_url) {
2372
2342
  player.ima3.settings.serverUrl = player.ima3.settings.serverUrl + '&cust_params=' + encodeURIComponent('content_placement=' + targeting.content_placement + '&document_url=' + targeting.document_url);
@@ -2394,8 +2364,8 @@ var Video = function Video(_ref) {
2394
2364
  player.pause();
2395
2365
  }
2396
2366
 
2397
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2398
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2367
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2368
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2399
2369
  });
2400
2370
 
2401
2371
  // play
@@ -2404,8 +2374,8 @@ var Video = function Video(_ref) {
2404
2374
  var current = player.currentTime();
2405
2375
  var queue = Math.floor(duration / 10);
2406
2376
  var segment = Math.floor(current / queue);
2407
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2408
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2377
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2378
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2409
2379
  });
2410
2380
 
2411
2381
  // pause
@@ -2414,8 +2384,8 @@ var Video = function Video(_ref) {
2414
2384
  var current = player.currentTime();
2415
2385
  var queue = Math.floor(duration / 10);
2416
2386
  var segment = Math.floor(current / queue);
2417
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2418
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2387
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2388
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2419
2389
  });
2420
2390
 
2421
2391
  // end
@@ -2424,8 +2394,8 @@ var Video = function Video(_ref) {
2424
2394
  var current = player.currentTime();
2425
2395
  var queue = Math.floor(duration / 10);
2426
2396
  var segment = Math.floor(current / queue);
2427
- Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2428
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2397
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2398
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2429
2399
  autoplayNextVideo(evt);
2430
2400
  });
2431
2401
 
@@ -2436,8 +2406,8 @@ var Video = function Video(_ref) {
2436
2406
  var queue = Math.floor(duration / 10);
2437
2407
  var segment = Math.floor(current / queue);
2438
2408
  if (!queueProgress.includes(segment)) {
2439
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2440
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2409
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2410
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2441
2411
  queueProgress.push(segment);
2442
2412
  }
2443
2413
  });
@@ -2448,8 +2418,8 @@ var Video = function Video(_ref) {
2448
2418
  var id = player.ads.ad.id;
2449
2419
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2450
2420
 
2451
- Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
2452
- Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2421
+ Beam.report_beam_ad('AD Started', main_18, '', '', '', '', '', adType, duration, id);
2422
+ Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2453
2423
  });
2454
2424
 
2455
2425
  // ad ended
@@ -2457,8 +2427,8 @@ var Video = function Video(_ref) {
2457
2427
  var duration = player.ads.ad.duration;
2458
2428
  var id = player.ads.ad.id;
2459
2429
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2460
- Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
2461
- Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2430
+ Beam.report_beam_ad('AD Ended', main_18, '', '', '', '', '', adType, duration, id);
2431
+ Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2462
2432
  });
2463
2433
  };
2464
2434
 
@@ -2721,9 +2691,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
2721
2691
  });
2722
2692
 
2723
2693
  unwrapExports(props);
2724
- var props_1 = props.DEPRECATED_CONFIG_PROPS;
2725
- var props_2 = props.defaultProps;
2726
- var props_3 = props.propTypes;
2694
+ props.DEPRECATED_CONFIG_PROPS;
2695
+ props.defaultProps;
2696
+ props.propTypes;
2727
2697
 
2728
2698
  var isMergeableObject = function isMergeableObject(value) {
2729
2699
  return isNonNullObject(value)
@@ -2888,11 +2858,17 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2888
2858
 
2889
2859
  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; }
2890
2860
 
2891
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
2861
+ 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; } } }; }
2862
+
2863
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2892
2864
 
2893
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
2865
+ 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."); }
2894
2866
 
2895
- 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; }
2867
+ 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); }
2868
+
2869
+ 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; }
2870
+
2871
+ 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; }
2896
2872
 
2897
2873
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2898
2874
 
@@ -3022,12 +2998,12 @@ function getSDK(url, sdkGlobal) {
3022
2998
 
3023
2999
  function getConfig(props$1, defaultProps, showWarning) {
3024
3000
  var config = (0, _deepmerge["default"])(defaultProps.config, props$1.config);
3025
- var _iteratorNormalCompletion = true;
3026
- var _didIteratorError = false;
3027
- var _iteratorError = undefined;
3001
+
3002
+ var _iterator = _createForOfIteratorHelper(props.DEPRECATED_CONFIG_PROPS),
3003
+ _step;
3028
3004
 
3029
3005
  try {
3030
- for (var _iterator = props.DEPRECATED_CONFIG_PROPS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
3006
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
3031
3007
  var p = _step.value;
3032
3008
 
3033
3009
  if (props$1[p]) {
@@ -3042,18 +3018,9 @@ function getConfig(props$1, defaultProps, showWarning) {
3042
3018
  }
3043
3019
  }
3044
3020
  } catch (err) {
3045
- _didIteratorError = true;
3046
- _iteratorError = err;
3021
+ _iterator.e(err);
3047
3022
  } finally {
3048
- try {
3049
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
3050
- _iterator["return"]();
3051
- }
3052
- } finally {
3053
- if (_didIteratorError) {
3054
- throw _iteratorError;
3055
- }
3056
- }
3023
+ _iterator.f();
3057
3024
  }
3058
3025
 
3059
3026
  return config;
@@ -3161,17 +3128,17 @@ function isMediaStream(url) {
3161
3128
  });
3162
3129
 
3163
3130
  unwrapExports(utils);
3164
- var utils_1 = utils.parseStartTime;
3165
- var utils_2 = utils.parseEndTime;
3166
- var utils_3 = utils.randomString;
3167
- var utils_4 = utils.queryString;
3168
- var utils_5 = utils.getSDK;
3169
- var utils_6 = utils.getConfig;
3170
- var utils_7 = utils.omit;
3171
- var utils_8 = utils.callPlayer;
3172
- var utils_9 = utils.isObject;
3173
- var utils_10 = utils.isEqual;
3174
- var utils_11 = utils.isMediaStream;
3131
+ utils.parseStartTime;
3132
+ utils.parseEndTime;
3133
+ utils.randomString;
3134
+ utils.queryString;
3135
+ utils.getSDK;
3136
+ utils.getConfig;
3137
+ utils.omit;
3138
+ utils.callPlayer;
3139
+ utils.isObject;
3140
+ utils.isEqual;
3141
+ utils.isMediaStream;
3175
3142
 
3176
3143
  var Player_1 = createCommonjsModule(function (module, exports) {
3177
3144
 
@@ -3200,12 +3167,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3200
3167
 
3201
3168
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3202
3169
 
3203
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3170
+ 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); }; }
3204
3171
 
3205
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3172
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3206
3173
 
3207
3174
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3208
3175
 
3176
+ 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; } }
3177
+
3178
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3179
+
3209
3180
  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); }
3210
3181
 
3211
3182
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3214,14 +3185,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
3214
3185
 
3215
3186
  var SEEK_ON_PLAY_EXPIRY = 5000;
3216
3187
 
3217
- var Player =
3218
- /*#__PURE__*/
3219
- function (_Component) {
3188
+ var Player = /*#__PURE__*/function (_Component) {
3220
3189
  _inherits(Player, _Component);
3221
3190
 
3222
- function Player() {
3223
- var _getPrototypeOf2;
3191
+ var _super = _createSuper(Player);
3224
3192
 
3193
+ function Player() {
3225
3194
  var _this;
3226
3195
 
3227
3196
  _classCallCheck(this, Player);
@@ -3230,7 +3199,7 @@ function (_Component) {
3230
3199
  _args[_key] = arguments[_key];
3231
3200
  }
3232
3201
 
3233
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Player)).call.apply(_getPrototypeOf2, [this].concat(_args)));
3202
+ _this = _super.call.apply(_super, [this].concat(_args));
3234
3203
 
3235
3204
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
3236
3205
 
@@ -3555,7 +3524,7 @@ function (_Component) {
3555
3524
  return null;
3556
3525
  }
3557
3526
 
3558
- return _react["default"].createElement(Player, _extends({}, this.props, {
3527
+ return /*#__PURE__*/_react["default"].createElement(Player, _extends({}, this.props, {
3559
3528
  ref: this.ref,
3560
3529
  onReady: this.handleReady,
3561
3530
  onPlay: this.handlePlay,
@@ -3616,12 +3585,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3616
3585
 
3617
3586
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3618
3587
 
3619
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3588
+ 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); }; }
3620
3589
 
3621
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3590
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3622
3591
 
3623
3592
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3624
3593
 
3594
+ 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; } }
3595
+
3596
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3597
+
3625
3598
  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); }
3626
3599
 
3627
3600
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3633,14 +3606,12 @@ var SUPPORTED_PROPS = Object.keys(props.propTypes);
3633
3606
  function createSinglePlayer(activePlayer) {
3634
3607
  var _class, _temp;
3635
3608
 
3636
- return _temp = _class =
3637
- /*#__PURE__*/
3638
- function (_Component) {
3609
+ return _temp = _class = /*#__PURE__*/function (_Component) {
3639
3610
  _inherits(SinglePlayer, _Component);
3640
3611
 
3641
- function SinglePlayer() {
3642
- var _getPrototypeOf2;
3612
+ var _super = _createSuper(SinglePlayer);
3643
3613
 
3614
+ function SinglePlayer() {
3644
3615
  var _this;
3645
3616
 
3646
3617
  _classCallCheck(this, SinglePlayer);
@@ -3649,7 +3620,7 @@ function createSinglePlayer(activePlayer) {
3649
3620
  args[_key] = arguments[_key];
3650
3621
  }
3651
3622
 
3652
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SinglePlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
3623
+ _this = _super.call.apply(_super, [this].concat(args));
3653
3624
 
3654
3625
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
3655
3626
 
@@ -3717,12 +3688,12 @@ function createSinglePlayer(activePlayer) {
3717
3688
  height = _this$props.height,
3718
3689
  Wrapper = _this$props.wrapper;
3719
3690
  var otherProps = (0, utils.omit)(this.props, SUPPORTED_PROPS, props.DEPRECATED_CONFIG_PROPS);
3720
- return _react["default"].createElement(Wrapper, _extends({
3691
+ return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
3721
3692
  style: _objectSpread({}, style, {
3722
3693
  width: width,
3723
3694
  height: height
3724
3695
  })
3725
- }, otherProps), _react["default"].createElement(_Player["default"], _extends({}, this.props, {
3696
+ }, otherProps), /*#__PURE__*/_react["default"].createElement(_Player["default"], _extends({}, this.props, {
3726
3697
  ref: this.ref,
3727
3698
  activePlayer: activePlayer,
3728
3699
  config: this.config
@@ -3768,23 +3739,31 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3768
3739
 
3769
3740
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3770
3741
 
3771
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3742
+ 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); }; }
3772
3743
 
3773
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3744
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3774
3745
 
3775
3746
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3776
3747
 
3748
+ 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; } }
3749
+
3750
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3751
+
3777
3752
  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); }
3778
3753
 
3779
3754
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
3780
3755
 
3781
3756
  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; }
3782
3757
 
3783
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
3758
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3759
+
3760
+ 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."); }
3784
3761
 
3785
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
3762
+ 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); }
3786
3763
 
3787
- 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; }
3764
+ 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; }
3765
+
3766
+ 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; }
3788
3767
 
3789
3768
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
3790
3769
 
@@ -3809,14 +3788,12 @@ function parsePlaylist(url) {
3809
3788
  return {};
3810
3789
  }
3811
3790
 
3812
- var YouTube =
3813
- /*#__PURE__*/
3814
- function (_Component) {
3791
+ var YouTube = /*#__PURE__*/function (_Component) {
3815
3792
  _inherits(YouTube, _Component);
3816
3793
 
3817
- function YouTube() {
3818
- var _getPrototypeOf2;
3794
+ var _super = _createSuper(YouTube);
3819
3795
 
3796
+ function YouTube() {
3820
3797
  var _this;
3821
3798
 
3822
3799
  _classCallCheck(this, YouTube);
@@ -3825,7 +3802,7 @@ function (_Component) {
3825
3802
  args[_key] = arguments[_key];
3826
3803
  }
3827
3804
 
3828
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(YouTube)).call.apply(_getPrototypeOf2, [this].concat(args)));
3805
+ _this = _super.call.apply(_super, [this].concat(args));
3829
3806
 
3830
3807
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
3831
3808
 
@@ -4013,9 +3990,9 @@ function (_Component) {
4013
3990
  height: '100%',
4014
3991
  display: display
4015
3992
  };
4016
- return _react["default"].createElement("div", {
3993
+ return /*#__PURE__*/_react["default"].createElement("div", {
4017
3994
  style: style
4018
- }, _react["default"].createElement("div", {
3995
+ }, /*#__PURE__*/_react["default"].createElement("div", {
4019
3996
  ref: this.ref
4020
3997
  }));
4021
3998
  }
@@ -4038,7 +4015,7 @@ exports["default"] = _default;
4038
4015
  });
4039
4016
 
4040
4017
  unwrapExports(YouTube_1);
4041
- var YouTube_2 = YouTube_1.YouTube;
4018
+ YouTube_1.YouTube;
4042
4019
 
4043
4020
  var SoundCloud_1 = createCommonjsModule(function (module, exports) {
4044
4021
 
@@ -4071,12 +4048,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4071
4048
 
4072
4049
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4073
4050
 
4074
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4051
+ 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); }; }
4075
4052
 
4076
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4053
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4077
4054
 
4078
4055
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4079
4056
 
4057
+ 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; } }
4058
+
4059
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4060
+
4080
4061
  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); }
4081
4062
 
4082
4063
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4085,16 +4066,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
4085
4066
 
4086
4067
  var SDK_URL = 'https://w.soundcloud.com/player/api.js';
4087
4068
  var SDK_GLOBAL = 'SC';
4088
- var MATCH_URL = /(soundcloud\.com|snd\.sc)\/.+$/;
4069
+ var MATCH_URL = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/;
4089
4070
 
4090
- var SoundCloud =
4091
- /*#__PURE__*/
4092
- function (_Component) {
4071
+ var SoundCloud = /*#__PURE__*/function (_Component) {
4093
4072
  _inherits(SoundCloud, _Component);
4094
4073
 
4095
- function SoundCloud() {
4096
- var _getPrototypeOf2;
4074
+ var _super = _createSuper(SoundCloud);
4097
4075
 
4076
+ function SoundCloud() {
4098
4077
  var _this;
4099
4078
 
4100
4079
  _classCallCheck(this, SoundCloud);
@@ -4103,7 +4082,7 @@ function (_Component) {
4103
4082
  args[_key] = arguments[_key];
4104
4083
  }
4105
4084
 
4106
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SoundCloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
4085
+ _this = _super.call.apply(_super, [this].concat(args));
4107
4086
 
4108
4087
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4109
4088
 
@@ -4224,7 +4203,7 @@ function (_Component) {
4224
4203
  height: '100%',
4225
4204
  display: display
4226
4205
  };
4227
- return _react["default"].createElement("iframe", {
4206
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
4228
4207
  ref: this.ref,
4229
4208
  src: "https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),
4230
4209
  style: style,
@@ -4253,7 +4232,7 @@ exports["default"] = _default;
4253
4232
  });
4254
4233
 
4255
4234
  unwrapExports(SoundCloud_1);
4256
- var SoundCloud_2 = SoundCloud_1.SoundCloud;
4235
+ SoundCloud_1.SoundCloud;
4257
4236
 
4258
4237
  var Vimeo_1 = createCommonjsModule(function (module, exports) {
4259
4238
 
@@ -4286,12 +4265,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4286
4265
 
4287
4266
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4288
4267
 
4289
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4268
+ 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); }; }
4290
4269
 
4291
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4270
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4292
4271
 
4293
4272
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4294
4273
 
4274
+ 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; } }
4275
+
4276
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4277
+
4295
4278
  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); }
4296
4279
 
4297
4280
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4303,14 +4286,12 @@ var SDK_GLOBAL = 'Vimeo';
4303
4286
  var MATCH_URL = /vimeo\.com\/.+/;
4304
4287
  var MATCH_FILE_URL = /vimeo\.com\/external\/[0-9]+\..+/;
4305
4288
 
4306
- var Vimeo =
4307
- /*#__PURE__*/
4308
- function (_Component) {
4289
+ var Vimeo = /*#__PURE__*/function (_Component) {
4309
4290
  _inherits(Vimeo, _Component);
4310
4291
 
4311
- function Vimeo() {
4312
- var _getPrototypeOf2;
4292
+ var _super = _createSuper(Vimeo);
4313
4293
 
4294
+ function Vimeo() {
4314
4295
  var _this;
4315
4296
 
4316
4297
  _classCallCheck(this, Vimeo);
@@ -4319,7 +4300,7 @@ function (_Component) {
4319
4300
  args[_key] = arguments[_key];
4320
4301
  }
4321
4302
 
4322
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Vimeo)).call.apply(_getPrototypeOf2, [this].concat(args)));
4303
+ _this = _super.call.apply(_super, [this].concat(args));
4323
4304
 
4324
4305
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4325
4306
 
@@ -4476,7 +4457,7 @@ function (_Component) {
4476
4457
  overflow: 'hidden',
4477
4458
  display: display
4478
4459
  };
4479
- return _react["default"].createElement("div", {
4460
+ return /*#__PURE__*/_react["default"].createElement("div", {
4480
4461
  key: this.props.url,
4481
4462
  ref: this.ref,
4482
4463
  style: style
@@ -4507,7 +4488,7 @@ exports["default"] = _default;
4507
4488
  });
4508
4489
 
4509
4490
  unwrapExports(Vimeo_1);
4510
- var Vimeo_2 = Vimeo_1.Vimeo;
4491
+ Vimeo_1.Vimeo;
4511
4492
 
4512
4493
  var Facebook_1 = createCommonjsModule(function (module, exports) {
4513
4494
 
@@ -4536,12 +4517,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4536
4517
 
4537
4518
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4538
4519
 
4539
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4520
+ 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); }; }
4540
4521
 
4541
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4522
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4542
4523
 
4543
4524
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4544
4525
 
4526
+ 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; } }
4527
+
4528
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4529
+
4545
4530
  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); }
4546
4531
 
4547
4532
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4554,14 +4539,12 @@ var SDK_GLOBAL_READY = 'fbAsyncInit';
4554
4539
  var MATCH_URL = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;
4555
4540
  var PLAYER_ID_PREFIX = 'facebook-player-';
4556
4541
 
4557
- var Facebook =
4558
- /*#__PURE__*/
4559
- function (_Component) {
4542
+ var Facebook = /*#__PURE__*/function (_Component) {
4560
4543
  _inherits(Facebook, _Component);
4561
4544
 
4562
- function Facebook() {
4563
- var _getPrototypeOf2;
4545
+ var _super = _createSuper(Facebook);
4564
4546
 
4547
+ function Facebook() {
4565
4548
  var _this;
4566
4549
 
4567
4550
  _classCallCheck(this, Facebook);
@@ -4570,7 +4553,7 @@ function (_Component) {
4570
4553
  args[_key] = arguments[_key];
4571
4554
  }
4572
4555
 
4573
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Facebook)).call.apply(_getPrototypeOf2, [this].concat(args)));
4556
+ _this = _super.call.apply(_super, [this].concat(args));
4574
4557
 
4575
4558
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4576
4559
 
@@ -4686,7 +4669,7 @@ function (_Component) {
4686
4669
  width: '100%',
4687
4670
  height: '100%'
4688
4671
  };
4689
- return _react["default"].createElement("div", {
4672
+ return /*#__PURE__*/_react["default"].createElement("div", {
4690
4673
  style: style,
4691
4674
  id: this.playerID,
4692
4675
  className: "fb-video",
@@ -4717,7 +4700,7 @@ exports["default"] = _default;
4717
4700
  });
4718
4701
 
4719
4702
  unwrapExports(Facebook_1);
4720
- var Facebook_2 = Facebook_1.Facebook;
4703
+ Facebook_1.Facebook;
4721
4704
 
4722
4705
  var Streamable_1 = createCommonjsModule(function (module, exports) {
4723
4706
 
@@ -4746,12 +4729,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4746
4729
 
4747
4730
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4748
4731
 
4749
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4732
+ 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); }; }
4750
4733
 
4751
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4734
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4752
4735
 
4753
4736
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4754
4737
 
4738
+ 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; } }
4739
+
4740
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4741
+
4755
4742
  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); }
4756
4743
 
4757
4744
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4762,14 +4749,12 @@ var SDK_URL = 'https://cdn.embed.ly/player-0.1.0.min.js';
4762
4749
  var SDK_GLOBAL = 'playerjs';
4763
4750
  var MATCH_URL = /streamable\.com\/([a-z0-9]+)$/;
4764
4751
 
4765
- var Streamable =
4766
- /*#__PURE__*/
4767
- function (_Component) {
4752
+ var Streamable = /*#__PURE__*/function (_Component) {
4768
4753
  _inherits(Streamable, _Component);
4769
4754
 
4770
- function Streamable() {
4771
- var _getPrototypeOf2;
4755
+ var _super = _createSuper(Streamable);
4772
4756
 
4757
+ function Streamable() {
4773
4758
  var _this;
4774
4759
 
4775
4760
  _classCallCheck(this, Streamable);
@@ -4778,7 +4763,7 @@ function (_Component) {
4778
4763
  args[_key] = arguments[_key];
4779
4764
  }
4780
4765
 
4781
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Streamable)).call.apply(_getPrototypeOf2, [this].concat(args)));
4766
+ _this = _super.call.apply(_super, [this].concat(args));
4782
4767
 
4783
4768
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4784
4769
 
@@ -4898,7 +4883,7 @@ function (_Component) {
4898
4883
  width: '100%',
4899
4884
  height: '100%'
4900
4885
  };
4901
- return _react["default"].createElement("iframe", {
4886
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
4902
4887
  ref: this.ref,
4903
4888
  src: "https://streamable.com/o/".concat(id),
4904
4889
  frameBorder: "0",
@@ -4926,7 +4911,7 @@ exports["default"] = _default;
4926
4911
  });
4927
4912
 
4928
4913
  unwrapExports(Streamable_1);
4929
- var Streamable_2 = Streamable_1.Streamable;
4914
+ Streamable_1.Streamable;
4930
4915
 
4931
4916
  var Wistia_1 = createCommonjsModule(function (module, exports) {
4932
4917
 
@@ -4959,12 +4944,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4959
4944
 
4960
4945
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4961
4946
 
4962
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4947
+ 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); }; }
4963
4948
 
4964
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4949
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4965
4950
 
4966
4951
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4967
4952
 
4953
+ 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; } }
4954
+
4955
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4956
+
4968
4957
  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); }
4969
4958
 
4970
4959
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4975,26 +4964,48 @@ var SDK_URL = 'https://fast.wistia.com/assets/external/E-v1.js';
4975
4964
  var SDK_GLOBAL = 'Wistia';
4976
4965
  var MATCH_URL = /(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/;
4977
4966
 
4978
- var Wistia =
4979
- /*#__PURE__*/
4980
- function (_Component) {
4967
+ var Wistia = /*#__PURE__*/function (_Component) {
4981
4968
  _inherits(Wistia, _Component);
4982
4969
 
4983
- function Wistia() {
4984
- var _getPrototypeOf2;
4970
+ var _super = _createSuper(Wistia);
4985
4971
 
4972
+ function Wistia() {
4986
4973
  var _this;
4987
4974
 
4988
4975
  _classCallCheck(this, Wistia);
4989
4976
 
4990
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4991
- args[_key] = arguments[_key];
4977
+ for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {
4978
+ _args[_key] = arguments[_key];
4992
4979
  }
4993
4980
 
4994
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Wistia)).call.apply(_getPrototypeOf2, [this].concat(args)));
4981
+ _this = _super.call.apply(_super, [this].concat(_args));
4995
4982
 
4996
4983
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4997
4984
 
4985
+ _defineProperty(_assertThisInitialized(_this), "onPlay", function () {
4986
+ var _this$props;
4987
+
4988
+ return (_this$props = _this.props).onPlay.apply(_this$props, arguments);
4989
+ });
4990
+
4991
+ _defineProperty(_assertThisInitialized(_this), "onPause", function () {
4992
+ var _this$props2;
4993
+
4994
+ return (_this$props2 = _this.props).onPause.apply(_this$props2, arguments);
4995
+ });
4996
+
4997
+ _defineProperty(_assertThisInitialized(_this), "onSeek", function () {
4998
+ var _this$props3;
4999
+
5000
+ return (_this$props3 = _this.props).onSeek.apply(_this$props3, arguments);
5001
+ });
5002
+
5003
+ _defineProperty(_assertThisInitialized(_this), "onEnded", function () {
5004
+ var _this$props4;
5005
+
5006
+ return (_this$props4 = _this.props).onEnded.apply(_this$props4, arguments);
5007
+ });
5008
+
4998
5009
  _defineProperty(_assertThisInitialized(_this), "mute", function () {
4999
5010
  _this.callPlayer('mute');
5000
5011
  });
@@ -5016,17 +5027,13 @@ function (_Component) {
5016
5027
  value: function load(url) {
5017
5028
  var _this2 = this;
5018
5029
 
5019
- var _this$props = this.props,
5020
- playing = _this$props.playing,
5021
- muted = _this$props.muted,
5022
- controls = _this$props.controls,
5023
- _onReady = _this$props.onReady,
5024
- onPlay = _this$props.onPlay,
5025
- onPause = _this$props.onPause,
5026
- onSeek = _this$props.onSeek,
5027
- onEnded = _this$props.onEnded,
5028
- config = _this$props.config,
5029
- onError = _this$props.onError;
5030
+ var _this$props5 = this.props,
5031
+ playing = _this$props5.playing,
5032
+ muted = _this$props5.muted,
5033
+ controls = _this$props5.controls,
5034
+ _onReady = _this$props5.onReady,
5035
+ config = _this$props5.config,
5036
+ onError = _this$props5.onError;
5030
5037
  (0, utils.getSDK)(SDK_URL, SDK_GLOBAL).then(function () {
5031
5038
  window._wq = window._wq || [];
5032
5039
 
@@ -5043,19 +5050,28 @@ function (_Component) {
5043
5050
 
5044
5051
  _this2.unbind();
5045
5052
 
5046
- _this2.player.bind('play', onPlay);
5053
+ _this2.player.bind('play', _this2.onPlay);
5047
5054
 
5048
- _this2.player.bind('pause', onPause);
5055
+ _this2.player.bind('pause', _this2.onPause);
5049
5056
 
5050
- _this2.player.bind('seek', onSeek);
5057
+ _this2.player.bind('seek', _this2.onSeek);
5051
5058
 
5052
- _this2.player.bind('end', onEnded);
5059
+ _this2.player.bind('end', _this2.onEnded);
5053
5060
 
5054
5061
  _onReady();
5055
5062
  }
5056
5063
  });
5057
5064
  }, onError);
5058
5065
  }
5066
+ }, {
5067
+ key: "unbind",
5068
+ value: function unbind() {
5069
+ this.player.unbind('play', this.onPlay);
5070
+ this.player.unbind('pause', this.onPause);
5071
+ this.player.unbind('seek', this.onSeek);
5072
+ this.player.unbind('end', this.onEnded);
5073
+ } // Proxy methods to prevent listener leaks
5074
+
5059
5075
  }, {
5060
5076
  key: "play",
5061
5077
  value: function play() {
@@ -5066,19 +5082,6 @@ function (_Component) {
5066
5082
  value: function pause() {
5067
5083
  this.callPlayer('pause');
5068
5084
  }
5069
- }, {
5070
- key: "unbind",
5071
- value: function unbind() {
5072
- var _this$props2 = this.props,
5073
- onPlay = _this$props2.onPlay,
5074
- onPause = _this$props2.onPause,
5075
- onSeek = _this$props2.onSeek,
5076
- onEnded = _this$props2.onEnded;
5077
- this.player.unbind('play', onPlay);
5078
- this.player.unbind('pause', onPause);
5079
- this.player.unbind('seek', onSeek);
5080
- this.player.unbind('end', onEnded);
5081
- }
5082
5085
  }, {
5083
5086
  key: "stop",
5084
5087
  value: function stop() {
@@ -5124,7 +5127,7 @@ function (_Component) {
5124
5127
  width: '100%',
5125
5128
  height: '100%'
5126
5129
  };
5127
- return _react["default"].createElement("div", {
5130
+ return /*#__PURE__*/_react["default"].createElement("div", {
5128
5131
  key: id,
5129
5132
  className: className,
5130
5133
  style: style
@@ -5151,7 +5154,7 @@ exports["default"] = _default;
5151
5154
  });
5152
5155
 
5153
5156
  unwrapExports(Wistia_1);
5154
- var Wistia_2 = Wistia_1.Wistia;
5157
+ Wistia_1.Wistia;
5155
5158
 
5156
5159
  var Twitch_1 = createCommonjsModule(function (module, exports) {
5157
5160
 
@@ -5184,12 +5187,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5184
5187
 
5185
5188
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5186
5189
 
5187
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5190
+ 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); }; }
5188
5191
 
5189
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5192
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5190
5193
 
5191
5194
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5192
5195
 
5196
+ 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; } }
5197
+
5198
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5199
+
5193
5200
  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); }
5194
5201
 
5195
5202
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5202,14 +5209,12 @@ var MATCH_VIDEO_URL = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;
5202
5209
  var MATCH_CHANNEL_URL = /(?:www\.|go\.)?twitch\.tv\/([a-z0-9_]+)($|\?)/;
5203
5210
  var PLAYER_ID_PREFIX = 'twitch-player-';
5204
5211
 
5205
- var Twitch =
5206
- /*#__PURE__*/
5207
- function (_Component) {
5212
+ var Twitch = /*#__PURE__*/function (_Component) {
5208
5213
  _inherits(Twitch, _Component);
5209
5214
 
5210
- function Twitch() {
5211
- var _getPrototypeOf2;
5215
+ var _super = _createSuper(Twitch);
5212
5216
 
5217
+ function Twitch() {
5213
5218
  var _this;
5214
5219
 
5215
5220
  _classCallCheck(this, Twitch);
@@ -5218,7 +5223,7 @@ function (_Component) {
5218
5223
  args[_key] = arguments[_key];
5219
5224
  }
5220
5225
 
5221
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Twitch)).call.apply(_getPrototypeOf2, [this].concat(args)));
5226
+ _this = _super.call.apply(_super, [this].concat(args));
5222
5227
 
5223
5228
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5224
5229
 
@@ -5339,7 +5344,7 @@ function (_Component) {
5339
5344
  width: '100%',
5340
5345
  height: '100%'
5341
5346
  };
5342
- return _react["default"].createElement("div", {
5347
+ return /*#__PURE__*/_react["default"].createElement("div", {
5343
5348
  style: style,
5344
5349
  id: this.playerID
5345
5350
  });
@@ -5365,7 +5370,7 @@ exports["default"] = _default;
5365
5370
  });
5366
5371
 
5367
5372
  unwrapExports(Twitch_1);
5368
- var Twitch_2 = Twitch_1.Twitch;
5373
+ Twitch_1.Twitch;
5369
5374
 
5370
5375
  var DailyMotion_1 = createCommonjsModule(function (module, exports) {
5371
5376
 
@@ -5392,11 +5397,15 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
5392
5397
 
5393
5398
  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; }
5394
5399
 
5395
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
5400
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5401
+
5402
+ 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."); }
5396
5403
 
5397
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
5404
+ 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); }
5398
5405
 
5399
- 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; }
5406
+ 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; }
5407
+
5408
+ 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; }
5400
5409
 
5401
5410
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
5402
5411
 
@@ -5406,12 +5415,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5406
5415
 
5407
5416
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5408
5417
 
5409
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5418
+ 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); }; }
5410
5419
 
5411
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5420
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5412
5421
 
5413
5422
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5414
5423
 
5424
+ 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; } }
5425
+
5426
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5427
+
5415
5428
  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); }
5416
5429
 
5417
5430
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5423,14 +5436,12 @@ var SDK_GLOBAL = 'DM';
5423
5436
  var SDK_GLOBAL_READY = 'dmAsyncInit';
5424
5437
  var MATCH_URL = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;
5425
5438
 
5426
- var DailyMotion =
5427
- /*#__PURE__*/
5428
- function (_Component) {
5439
+ var DailyMotion = /*#__PURE__*/function (_Component) {
5429
5440
  _inherits(DailyMotion, _Component);
5430
5441
 
5431
- function DailyMotion() {
5432
- var _getPrototypeOf2;
5442
+ var _super = _createSuper(DailyMotion);
5433
5443
 
5444
+ function DailyMotion() {
5434
5445
  var _this;
5435
5446
 
5436
5447
  _classCallCheck(this, DailyMotion);
@@ -5439,7 +5450,7 @@ function (_Component) {
5439
5450
  args[_key] = arguments[_key];
5440
5451
  }
5441
5452
 
5442
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(DailyMotion)).call.apply(_getPrototypeOf2, [this].concat(args)));
5453
+ _this = _super.call.apply(_super, [this].concat(args));
5443
5454
 
5444
5455
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5445
5456
 
@@ -5568,9 +5579,9 @@ function (_Component) {
5568
5579
  height: '100%',
5569
5580
  display: display
5570
5581
  };
5571
- return _react["default"].createElement("div", {
5582
+ return /*#__PURE__*/_react["default"].createElement("div", {
5572
5583
  style: style
5573
- }, _react["default"].createElement("div", {
5584
+ }, /*#__PURE__*/_react["default"].createElement("div", {
5574
5585
  ref: this.ref
5575
5586
  }));
5576
5587
  }
@@ -5595,7 +5606,7 @@ exports["default"] = _default;
5595
5606
  });
5596
5607
 
5597
5608
  unwrapExports(DailyMotion_1);
5598
- var DailyMotion_2 = DailyMotion_1.DailyMotion;
5609
+ DailyMotion_1.DailyMotion;
5599
5610
 
5600
5611
  var Mixcloud_1 = createCommonjsModule(function (module, exports) {
5601
5612
 
@@ -5628,12 +5639,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5628
5639
 
5629
5640
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5630
5641
 
5631
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5642
+ 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); }; }
5632
5643
 
5633
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5644
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5634
5645
 
5635
5646
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5636
5647
 
5648
+ 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; } }
5649
+
5650
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5651
+
5637
5652
  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); }
5638
5653
 
5639
5654
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5644,14 +5659,12 @@ var SDK_URL = 'https://widget.mixcloud.com/media/js/widgetApi.js';
5644
5659
  var SDK_GLOBAL = 'Mixcloud';
5645
5660
  var MATCH_URL = /mixcloud\.com\/([^/]+\/[^/]+)/;
5646
5661
 
5647
- var Mixcloud =
5648
- /*#__PURE__*/
5649
- function (_Component) {
5662
+ var Mixcloud = /*#__PURE__*/function (_Component) {
5650
5663
  _inherits(Mixcloud, _Component);
5651
5664
 
5652
- function Mixcloud() {
5653
- var _getPrototypeOf2;
5665
+ var _super = _createSuper(Mixcloud);
5654
5666
 
5667
+ function Mixcloud() {
5655
5668
  var _this;
5656
5669
 
5657
5670
  _classCallCheck(this, Mixcloud);
@@ -5660,7 +5673,7 @@ function (_Component) {
5660
5673
  args[_key] = arguments[_key];
5661
5674
  }
5662
5675
 
5663
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Mixcloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
5676
+ _this = _super.call.apply(_super, [this].concat(args));
5664
5677
 
5665
5678
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5666
5679
 
@@ -5763,7 +5776,7 @@ function (_Component) {
5763
5776
  })); // We have to give the iframe a key here to prevent a
5764
5777
  // weird dialog appearing when loading a new track
5765
5778
 
5766
- return _react["default"].createElement("iframe", {
5779
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
5767
5780
  key: id,
5768
5781
  ref: this.ref,
5769
5782
  style: style,
@@ -5792,7 +5805,7 @@ exports["default"] = _default;
5792
5805
  });
5793
5806
 
5794
5807
  unwrapExports(Mixcloud_1);
5795
- var Mixcloud_2 = Mixcloud_1.Mixcloud;
5808
+ Mixcloud_1.Mixcloud;
5796
5809
 
5797
5810
  var FilePlayer_1 = createCommonjsModule(function (module, exports) {
5798
5811
 
@@ -5823,23 +5836,33 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5823
5836
 
5824
5837
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5825
5838
 
5826
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5839
+ 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); }; }
5827
5840
 
5828
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5841
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5829
5842
 
5830
5843
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5831
5844
 
5845
+ 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; } }
5846
+
5847
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5848
+
5832
5849
  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); }
5833
5850
 
5834
5851
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
5835
5852
 
5836
5853
  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; }
5837
5854
 
5855
+ 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; } } }; }
5856
+
5857
+ 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); }
5858
+
5859
+ 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; }
5860
+
5838
5861
  var IOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
5839
5862
  var AUDIO_EXTENSIONS = /\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;
5840
5863
  var VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i;
5841
5864
  var HLS_EXTENSIONS = /\.(m3u8)($|\?)/i;
5842
- var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION';
5865
+ var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js';
5843
5866
  var HLS_GLOBAL = 'Hls';
5844
5867
  var DASH_EXTENSIONS = /\.(mpd)($|\?)/i;
5845
5868
  var DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js';
@@ -5848,12 +5871,11 @@ var MATCH_DROPBOX_URL = /www\.dropbox\.com\/.+/;
5848
5871
 
5849
5872
  function canPlay(url) {
5850
5873
  if (url instanceof Array) {
5851
- var _iteratorNormalCompletion = true;
5852
- var _didIteratorError = false;
5853
- var _iteratorError = undefined;
5874
+ var _iterator = _createForOfIteratorHelper(url),
5875
+ _step;
5854
5876
 
5855
5877
  try {
5856
- for (var _iterator = url[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
5878
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
5857
5879
  var item = _step.value;
5858
5880
 
5859
5881
  if (typeof item === 'string' && canPlay(item)) {
@@ -5865,18 +5887,9 @@ function canPlay(url) {
5865
5887
  }
5866
5888
  }
5867
5889
  } catch (err) {
5868
- _didIteratorError = true;
5869
- _iteratorError = err;
5890
+ _iterator.e(err);
5870
5891
  } finally {
5871
- try {
5872
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
5873
- _iterator["return"]();
5874
- }
5875
- } finally {
5876
- if (_didIteratorError) {
5877
- throw _iteratorError;
5878
- }
5879
- }
5892
+ _iterator.f();
5880
5893
  }
5881
5894
 
5882
5895
  return false;
@@ -5900,14 +5913,12 @@ function canEnablePIP(url) {
5900
5913
  return canPlay(url) && (!!document.pictureInPictureEnabled || supportsWebKitPresentationMode()) && !AUDIO_EXTENSIONS.test(url);
5901
5914
  }
5902
5915
 
5903
- var FilePlayer =
5904
- /*#__PURE__*/
5905
- function (_Component) {
5916
+ var FilePlayer = /*#__PURE__*/function (_Component) {
5906
5917
  _inherits(FilePlayer, _Component);
5907
5918
 
5908
- function FilePlayer() {
5909
- var _getPrototypeOf2;
5919
+ var _super = _createSuper(FilePlayer);
5910
5920
 
5921
+ function FilePlayer() {
5911
5922
  var _this;
5912
5923
 
5913
5924
  _classCallCheck(this, FilePlayer);
@@ -5916,7 +5927,7 @@ function (_Component) {
5916
5927
  _args[_key] = arguments[_key];
5917
5928
  }
5918
5929
 
5919
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(FilePlayer)).call.apply(_getPrototypeOf2, [this].concat(_args)));
5930
+ _this = _super.call.apply(_super, [this].concat(_args));
5920
5931
 
5921
5932
  _defineProperty(_assertThisInitialized(_this), "onReady", function () {
5922
5933
  var _this$props;
@@ -6003,19 +6014,19 @@ function (_Component) {
6003
6014
 
6004
6015
  _defineProperty(_assertThisInitialized(_this), "renderSourceElement", function (source, index) {
6005
6016
  if (typeof source === 'string') {
6006
- return _react["default"].createElement("source", {
6017
+ return /*#__PURE__*/_react["default"].createElement("source", {
6007
6018
  key: index,
6008
6019
  src: source
6009
6020
  });
6010
6021
  }
6011
6022
 
6012
- return _react["default"].createElement("source", _extends({
6023
+ return /*#__PURE__*/_react["default"].createElement("source", _extends({
6013
6024
  key: index
6014
6025
  }, source));
6015
6026
  });
6016
6027
 
6017
6028
  _defineProperty(_assertThisInitialized(_this), "renderTrack", function (track, index) {
6018
- return _react["default"].createElement("track", _extends({
6029
+ return /*#__PURE__*/_react["default"].createElement("track", _extends({
6019
6030
  key: index
6020
6031
  }, track));
6021
6032
  });
@@ -6053,6 +6064,10 @@ function (_Component) {
6053
6064
  key: "componentWillUnmount",
6054
6065
  value: function componentWillUnmount() {
6055
6066
  this.removeListeners(this.player);
6067
+
6068
+ if (this.hls) {
6069
+ this.hls.destroy();
6070
+ }
6056
6071
  }
6057
6072
  }, {
6058
6073
  key: "addListeners",
@@ -6183,10 +6198,6 @@ function (_Component) {
6183
6198
  value: function stop() {
6184
6199
  this.player.removeAttribute('src');
6185
6200
 
6186
- if (this.hls) {
6187
- this.hls.destroy();
6188
- }
6189
-
6190
6201
  if (this.dash) {
6191
6202
  this.dash.reset();
6192
6203
  }
@@ -6298,7 +6309,7 @@ function (_Component) {
6298
6309
  width: width === 'auto' ? width : '100%',
6299
6310
  height: height === 'auto' ? height : '100%'
6300
6311
  };
6301
- return _react["default"].createElement(Element, _extends({
6312
+ return /*#__PURE__*/_react["default"].createElement(Element, _extends({
6302
6313
  ref: this.ref,
6303
6314
  src: this.getSource(url),
6304
6315
  style: style,
@@ -6328,7 +6339,7 @@ exports["default"] = _default;
6328
6339
  });
6329
6340
 
6330
6341
  unwrapExports(FilePlayer_1);
6331
- var FilePlayer_2 = FilePlayer_1.FilePlayer;
6342
+ FilePlayer_1.FilePlayer;
6332
6343
 
6333
6344
  var players = createCommonjsModule(function (module, exports) {
6334
6345
 
@@ -6388,12 +6399,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6388
6399
 
6389
6400
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6390
6401
 
6391
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6402
+ 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); }; }
6392
6403
 
6393
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6404
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6394
6405
 
6395
6406
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6396
6407
 
6408
+ 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; } }
6409
+
6410
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6411
+
6397
6412
  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); }
6398
6413
 
6399
6414
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6402,14 +6417,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6402
6417
 
6403
6418
  var ICON_SIZE = '64px';
6404
6419
 
6405
- var Preview =
6406
- /*#__PURE__*/
6407
- function (_Component) {
6420
+ var Preview = /*#__PURE__*/function (_Component) {
6408
6421
  _inherits(Preview, _Component);
6409
6422
 
6410
- function Preview() {
6411
- var _getPrototypeOf2;
6423
+ var _super = _createSuper(Preview);
6412
6424
 
6425
+ function Preview() {
6413
6426
  var _this;
6414
6427
 
6415
6428
  _classCallCheck(this, Preview);
@@ -6418,7 +6431,7 @@ function (_Component) {
6418
6431
  args[_key] = arguments[_key];
6419
6432
  }
6420
6433
 
6421
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Preview)).call.apply(_getPrototypeOf2, [this].concat(args)));
6434
+ _this = _super.call.apply(_super, [this].concat(args));
6422
6435
 
6423
6436
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
6424
6437
 
@@ -6516,15 +6529,15 @@ function (_Component) {
6516
6529
  }
6517
6530
  };
6518
6531
 
6519
- var defaultPlayIcon = _react["default"].createElement("div", {
6532
+ var defaultPlayIcon = /*#__PURE__*/_react["default"].createElement("div", {
6520
6533
  style: styles.shadow,
6521
6534
  className: "react-player__shadow"
6522
- }, _react["default"].createElement("div", {
6535
+ }, /*#__PURE__*/_react["default"].createElement("div", {
6523
6536
  style: styles.playIcon,
6524
6537
  className: "react-player__play-icon"
6525
6538
  }));
6526
6539
 
6527
- return _react["default"].createElement("div", {
6540
+ return /*#__PURE__*/_react["default"].createElement("div", {
6528
6541
  style: styles.preview,
6529
6542
  className: "react-player__preview",
6530
6543
  onClick: onClick
@@ -6561,6 +6574,12 @@ var _Player = _interopRequireDefault(Player_1);
6561
6574
 
6562
6575
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
6563
6576
 
6577
+ 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; } } }; }
6578
+
6579
+ 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); }
6580
+
6581
+ 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; }
6582
+
6564
6583
  var PRELOAD_PLAYERS = [{
6565
6584
  Player: YouTube_1.YouTube,
6566
6585
  configKey: 'youtube',
@@ -6581,16 +6600,16 @@ var PRELOAD_PLAYERS = [{
6581
6600
 
6582
6601
  function renderPreloadPlayers(url, controls, config) {
6583
6602
  var players = [];
6584
- var _iteratorNormalCompletion = true;
6585
- var _didIteratorError = false;
6586
- var _iteratorError = undefined;
6603
+
6604
+ var _iterator = _createForOfIteratorHelper(PRELOAD_PLAYERS),
6605
+ _step;
6587
6606
 
6588
6607
  try {
6589
- for (var _iterator = PRELOAD_PLAYERS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
6608
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
6590
6609
  var player = _step.value;
6591
6610
 
6592
6611
  if (!player.Player.canPlay(url) && config[player.configKey].preload) {
6593
- players.push(_react["default"].createElement(_Player["default"], {
6612
+ players.push( /*#__PURE__*/_react["default"].createElement(_Player["default"], {
6594
6613
  key: player.Player.displayName,
6595
6614
  activePlayer: player.Player,
6596
6615
  url: player.url,
@@ -6602,18 +6621,9 @@ function renderPreloadPlayers(url, controls, config) {
6602
6621
  }
6603
6622
  }
6604
6623
  } catch (err) {
6605
- _didIteratorError = true;
6606
- _iteratorError = err;
6624
+ _iterator.e(err);
6607
6625
  } finally {
6608
- try {
6609
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
6610
- _iterator["return"]();
6611
- }
6612
- } finally {
6613
- if (_didIteratorError) {
6614
- throw _iteratorError;
6615
- }
6616
- }
6626
+ _iterator.f();
6617
6627
  }
6618
6628
 
6619
6629
  return players;
@@ -6737,13 +6747,17 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
6737
6747
 
6738
6748
  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); }
6739
6749
 
6740
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
6750
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
6741
6751
 
6742
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
6752
+ 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."); }
6743
6753
 
6744
- function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
6754
+ 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); }
6745
6755
 
6746
- 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; } }
6756
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
6757
+
6758
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6759
+
6760
+ 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; }
6747
6761
 
6748
6762
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6749
6763
 
@@ -6751,12 +6765,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6751
6765
 
6752
6766
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6753
6767
 
6754
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6768
+ 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); }; }
6755
6769
 
6756
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6770
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6757
6771
 
6758
6772
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6759
6773
 
6774
+ 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; } }
6775
+
6776
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6777
+
6760
6778
  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); }
6761
6779
 
6762
6780
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6766,14 +6784,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6766
6784
  var SUPPORTED_PROPS = Object.keys(props.propTypes);
6767
6785
  var customPlayers = [];
6768
6786
 
6769
- var ReactPlayer =
6770
- /*#__PURE__*/
6771
- function (_Component) {
6787
+ var ReactPlayer = /*#__PURE__*/function (_Component) {
6772
6788
  _inherits(ReactPlayer, _Component);
6773
6789
 
6774
- function ReactPlayer() {
6775
- var _getPrototypeOf2;
6790
+ var _super = _createSuper(ReactPlayer);
6776
6791
 
6792
+ function ReactPlayer() {
6777
6793
  var _this;
6778
6794
 
6779
6795
  _classCallCheck(this, ReactPlayer);
@@ -6782,7 +6798,7 @@ function (_Component) {
6782
6798
  args[_key] = arguments[_key];
6783
6799
  }
6784
6800
 
6785
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(ReactPlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
6801
+ _this = _super.call.apply(_super, [this].concat(args));
6786
6802
 
6787
6803
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
6788
6804
 
@@ -6893,7 +6909,7 @@ function (_Component) {
6893
6909
  key: "renderActivePlayer",
6894
6910
  value: function renderActivePlayer(url, activePlayer) {
6895
6911
  if (!url) return null;
6896
- return _react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6912
+ return /*#__PURE__*/_react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6897
6913
  key: activePlayer.displayName,
6898
6914
  ref: this.activePlayerRef,
6899
6915
  config: this.config,
@@ -6930,14 +6946,14 @@ function (_Component) {
6930
6946
  var preloadPlayers = (0, _preload["default"])(url, controls, this.config);
6931
6947
  var players = [renderedActivePlayer].concat(_toConsumableArray(preloadPlayers)).sort(this.sortPlayers);
6932
6948
 
6933
- var preview = _react["default"].createElement(_Preview["default"], {
6949
+ var preview = /*#__PURE__*/_react["default"].createElement(_Preview["default"], {
6934
6950
  url: url,
6935
6951
  light: light,
6936
6952
  playIcon: playIcon,
6937
6953
  onClick: this.handleClickPreview
6938
6954
  });
6939
6955
 
6940
- return _react["default"].createElement(Wrapper, _extends({
6956
+ return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
6941
6957
  ref: this.wrapperRef,
6942
6958
  style: _objectSpread({}, style, {
6943
6959
  width: width,
@@ -7264,8 +7280,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7264
7280
  var duration = player.getDuration();
7265
7281
  var queue = Math.floor(duration / 10);
7266
7282
  var segment = Math.floor(current / queue);
7267
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
7268
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
7283
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
7284
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
7269
7285
  //autoplay
7270
7286
 
7271
7287
  //Small pause before starting next video
@@ -7285,8 +7301,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7285
7301
  var queue = Math.floor(duration / 10);
7286
7302
  var segment = Math.floor(current / queue);
7287
7303
 
7288
- Beam.report_beam_video('End', main_16, duration, current, segment);
7289
- Segment.report_video_event('Video End', main_16, duration, current, segment);
7304
+ Beam.report_beam_video('End', main_18, duration, current, segment);
7305
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
7290
7306
  setEndReported(true);
7291
7307
  clearInterval(intervalID);
7292
7308
  }
@@ -7336,8 +7352,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7336
7352
  var queue = Math.floor(duration / 10);
7337
7353
  var segment = Math.floor(current / queue);
7338
7354
  if (!queueProgress.includes(segment)) {
7339
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
7340
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
7355
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
7356
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
7341
7357
  queueProgress.push(segment);
7342
7358
  }
7343
7359
  };
@@ -7350,8 +7366,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7350
7366
  var queue = Math.floor(duration / 10);
7351
7367
  var segment = Math.floor(current / queue);
7352
7368
 
7353
- Beam.report_beam_video('Play', main_16, duration, current, segment);
7354
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
7369
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
7370
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
7355
7371
 
7356
7372
  if (!playReported) {
7357
7373
  setPlayReported(true);
@@ -7369,8 +7385,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7369
7385
  var queue = Math.floor(duration / 10);
7370
7386
  var segment = Math.floor(current / queue);
7371
7387
 
7372
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
7373
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
7388
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
7389
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
7374
7390
  };
7375
7391
 
7376
7392
  // Youtube Options
@@ -7488,7 +7504,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7488
7504
  React__default.createElement(
7489
7505
  'div',
7490
7506
  { className: 'vid-text' },
7491
- 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()))
7507
+ 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()))
7492
7508
  ),
7493
7509
  React__default.createElement(
7494
7510
  'style',
@@ -7498,14 +7514,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7498
7514
  );
7499
7515
  };
7500
7516
 
7501
- var Poll = function Poll(_ref) {
7502
- var node = _ref.node,
7503
- client = _ref.client,
7504
- pageview = _ref.pageview,
7505
- videoAccountIDs = _ref.videoAccountIDs,
7506
- onVote = _ref.onVote,
7507
- _ref$showVotes = _ref.showVotes,
7508
- getSerializers = _ref.getSerializers;
7517
+ var Poll$1 = function Poll(_ref) {
7518
+ var node = _ref.node;
7519
+ _ref.client;
7520
+ _ref.pageview;
7521
+ _ref.videoAccountIDs;
7522
+ var onVote = _ref.onVote;
7523
+ _ref.showVotes;
7524
+ var getSerializers = _ref.getSerializers;
7509
7525
 
7510
7526
  var _useState = useState(null),
7511
7527
  _useState2 = _slicedToArray(_useState, 2),
@@ -7639,22 +7655,22 @@ _export(_export.S, 'Object', {
7639
7655
  }
7640
7656
  });
7641
7657
 
7642
- var values = _core.Object.values;
7658
+ var values$1 = _core.Object.values;
7643
7659
 
7644
- var values$1 = createCommonjsModule(function (module) {
7645
- module.exports = { "default": values, __esModule: true };
7660
+ var values = createCommonjsModule(function (module) {
7661
+ module.exports = { "default": values$1, __esModule: true };
7646
7662
  });
7647
7663
 
7648
- var _Object$values = unwrapExports(values$1);
7664
+ var _Object$values = unwrapExports(values);
7649
7665
 
7650
- var Poll$1 = function Poll(_ref) {
7651
- var node = _ref.node,
7652
- client = _ref.client,
7653
- pageview = _ref.pageview,
7654
- videoAccountIDs = _ref.videoAccountIDs,
7655
- onVote = _ref.onVote,
7656
- _ref$showVotes = _ref.showVotes,
7657
- getSerializers = _ref.getSerializers;
7666
+ var Poll = function Poll(_ref) {
7667
+ var node = _ref.node;
7668
+ _ref.client;
7669
+ _ref.pageview;
7670
+ _ref.videoAccountIDs;
7671
+ var onVote = _ref.onVote;
7672
+ _ref.showVotes;
7673
+ var getSerializers = _ref.getSerializers;
7658
7674
 
7659
7675
  var _useState = useState(null),
7660
7676
  _useState2 = _slicedToArray(_useState, 2),
@@ -7806,7 +7822,7 @@ var Poll$1 = function Poll(_ref) {
7806
7822
  );
7807
7823
  };
7808
7824
 
7809
- var numberOfPaginations = main_35 ? 4 : 10;
7825
+ var numberOfPaginations = main_42 ? 4 : 10;
7810
7826
 
7811
7827
  var Quiz = function Quiz(_ref) {
7812
7828
  var quizzes = _ref.quizzes,
@@ -7925,33 +7941,33 @@ var Quiz = function Quiz(_ref) {
7925
7941
 
7926
7942
  var renderPagination = function renderPagination() {
7927
7943
  return React__default.createElement(
7928
- Pagination$1,
7929
- { className: 'p-0 m-0', size: main_35 && 'sm' },
7930
- React__default.createElement(Pagination$1.First, { onClick: function onClick() {
7944
+ Pagination,
7945
+ { className: 'p-0 m-0', size: main_42 && 'sm' },
7946
+ React__default.createElement(Pagination.First, { onClick: function onClick() {
7931
7947
  return changePage('first');
7932
7948
  }, disabled: currentPage === 1 }),
7933
- React__default.createElement(Pagination$1.Prev, { onClick: function onClick() {
7949
+ React__default.createElement(Pagination.Prev, { onClick: function onClick() {
7934
7950
  return changePage('prev');
7935
7951
  }, disabled: currentPage === 1 }),
7936
- React__default.createElement(Pagination$1.Ellipsis, { onClick: function onClick() {
7952
+ React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
7937
7953
  return renderNewPages('prev');
7938
7954
  }, disabled: !validateIndex(startIndex - numberOfPaginations) }),
7939
7955
  pages.map(function (page) {
7940
7956
  return React__default.createElement(
7941
- Pagination$1.Item,
7957
+ Pagination.Item,
7942
7958
  { key: page, active: page === currentPage, onClick: function onClick() {
7943
7959
  return changePage(page);
7944
7960
  } },
7945
7961
  page
7946
7962
  );
7947
7963
  }),
7948
- React__default.createElement(Pagination$1.Ellipsis, { onClick: function onClick() {
7964
+ React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
7949
7965
  return renderNewPages('next');
7950
7966
  }, disabled: !validateIndex(startIndex + numberOfPaginations) }),
7951
- React__default.createElement(Pagination$1.Next, { onClick: function onClick() {
7967
+ React__default.createElement(Pagination.Next, { onClick: function onClick() {
7952
7968
  return changePage('next');
7953
7969
  }, disabled: currentPage === pageCount }),
7954
- React__default.createElement(Pagination$1.Last, { onClick: function onClick() {
7970
+ React__default.createElement(Pagination.Last, { onClick: function onClick() {
7955
7971
  return changePage('last');
7956
7972
  }, disabled: currentPage === pageCount })
7957
7973
  );
@@ -8096,12 +8112,12 @@ var Leads = function Leads(_ref) {
8096
8112
  );
8097
8113
  };
8098
8114
 
8099
- var urlFor$1 = function urlFor(source, client) {
8115
+ var urlFor$3 = function urlFor(source, client) {
8100
8116
  var builder = imageUrlBuilder(client);
8101
8117
  return builder.image(source).auto('format');
8102
8118
  };
8103
8119
 
8104
- var Slideshow$1 = function Slideshow(_ref) {
8120
+ var Slideshow = function Slideshow(_ref) {
8105
8121
  var slides = _ref.node.slides,
8106
8122
  client = _ref.client,
8107
8123
  pageview = _ref.pageview,
@@ -8113,8 +8129,8 @@ var Slideshow$1 = function Slideshow(_ref) {
8113
8129
 
8114
8130
  var _useState = useState(!pageNumber || isNaN(pageNumber) || pageNumber > slides.length ? 0 : pageNumber - 1),
8115
8131
  _useState2 = _slicedToArray(_useState, 2),
8116
- carouselIndex = _useState2[0],
8117
- setCarouselIndex = _useState2[1];
8132
+ carouselIndex = _useState2[0];
8133
+ _useState2[1];
8118
8134
 
8119
8135
  // useEffect(() => {
8120
8136
  // let itemArr = router.asPath.split('?page=')
@@ -8157,7 +8173,7 @@ var Slideshow$1 = function Slideshow(_ref) {
8157
8173
  React__default.createElement(
8158
8174
  LazyLoad,
8159
8175
  null,
8160
- React__default.createElement('img', { src: urlFor$1(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8176
+ React__default.createElement('img', { src: urlFor$3(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8161
8177
  )
8162
8178
  ),
8163
8179
  React__default.createElement(
@@ -8248,7 +8264,7 @@ var MultiMedia = function MultiMedia(props) {
8248
8264
  { xs: 12, md: 12 / medias.length, key: media._key },
8249
8265
  React__default.createElement(
8250
8266
  'a',
8251
- _extends$1({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
8267
+ _extends({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
8252
8268
  style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
8253
8269
  React__default.createElement(
8254
8270
  'div',
@@ -8540,7 +8556,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8540
8556
 
8541
8557
  var renderAuthorBiography = function renderAuthorBiography(biography) {
8542
8558
  if (biography) {
8543
- return React__default.createElement(BlockContent, _extends$1({ serializers: getSerializers, blocks: [biography] }, client.config()));
8559
+ return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
8544
8560
  }
8545
8561
  };
8546
8562
 
@@ -8626,7 +8642,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8626
8642
  //console.log('useLayoutEffect')
8627
8643
  if (!firstLoad) {
8628
8644
  setUpArrowClicked(false);
8629
- if (main_36) {
8645
+ if (main_43) {
8630
8646
  grabLoadedAds();
8631
8647
  } else {
8632
8648
  scrollToArticle();
@@ -8650,7 +8666,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8650
8666
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8651
8667
  if (pageview) pageview(path);
8652
8668
 
8653
- if (!main_36) {
8669
+ if (!main_43) {
8654
8670
  lib_3.getGoogletag().then(function (googletag) {
8655
8671
  if (window.googletag && googletag.pubadsReady) {
8656
8672
  lib_3.refresh();
@@ -8658,7 +8674,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8658
8674
  });
8659
8675
  }
8660
8676
  //Refresh leaderboard ad on mobile
8661
- if (main_36) {
8677
+ if (main_43) {
8662
8678
  var leaderboardSlotId = '';
8663
8679
  lib_3.getGoogletag().then(function (googletag) {
8664
8680
  if (window.googletag && googletag.pubadsReady) {
@@ -8727,7 +8743,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8727
8743
  React__default.createElement(
8728
8744
  'div',
8729
8745
  { className: 'ad-box', style: { textAlign: 'center' } },
8730
- main_36 && Ads.map(function (ad, index) {
8746
+ main_43 && Ads.map(function (ad, index) {
8731
8747
  if (index === 0) {
8732
8748
  return React__default.createElement(
8733
8749
  'div',
@@ -8818,7 +8834,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8818
8834
  React__default.createElement(
8819
8835
  'div',
8820
8836
  { className: 'mt-2 mb-2' },
8821
- React__default.createElement(BlockContent, _extends$1({
8837
+ React__default.createElement(BlockContent, _extends({
8822
8838
  serializers: getSerializers,
8823
8839
  videoAccountIDs: accountIDs,
8824
8840
  blocks: article.text,
@@ -8849,7 +8865,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8849
8865
  React__default.createElement(
8850
8866
  'div',
8851
8867
  { className: 'ad-box', style: { textAlign: 'center' } },
8852
- main_36 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8868
+ main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8853
8869
  if (innerIndex === 0) {
8854
8870
  return React__default.createElement(
8855
8871
  'div',
@@ -8916,7 +8932,7 @@ var LightBox = function LightBox(_ref) {
8916
8932
  );
8917
8933
  };
8918
8934
 
8919
- var urlFor$3 = function urlFor(source, client) {
8935
+ var urlFor$1 = function urlFor(source, client) {
8920
8936
  var builder = imageUrlBuilder(client);
8921
8937
  return builder.image(source).auto('format');
8922
8938
  };
@@ -8946,10 +8962,10 @@ var FigureImage = React__default.memo(function (_ref2) {
8946
8962
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: generateSrcSet(node, client, 1500) }),
8947
8963
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: generateSrcSet(node, client, 1000) }),
8948
8964
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: generateSrcSet(node, client, 500) }),
8949
- React__default.createElement('img', _extends$1({
8965
+ React__default.createElement('img', _extends({
8950
8966
  style: figureImageStyle,
8951
8967
  className: 'figure-image',
8952
- src: urlFor$3(node, client).url(),
8968
+ src: urlFor$1(node, client).url(),
8953
8969
  alt: imgAlt ? imgAlt : 'figure image'
8954
8970
  }, !link && {
8955
8971
  onClick: function onClick() {
@@ -9053,7 +9069,7 @@ var FigureComponent = function FigureComponent(props) {
9053
9069
  };
9054
9070
 
9055
9071
  var handleClickFigure = useCallback(function (node, client) {
9056
- setLightboxImgSrc(urlFor$3(node, client).url());
9072
+ setLightboxImgSrc(urlFor$1(node, client).url());
9057
9073
  setShowLightbox(true);
9058
9074
  }, [node, client]);
9059
9075
 
@@ -9061,7 +9077,7 @@ var FigureComponent = function FigureComponent(props) {
9061
9077
  React__default.Fragment,
9062
9078
  null,
9063
9079
  React__default.createElement(
9064
- Figure$1$1,
9080
+ Figure$2,
9065
9081
  { className: '' + class_name, style: figureStyle },
9066
9082
  link ? React__default.createElement(
9067
9083
  'a',
@@ -9093,7 +9109,7 @@ var FigureComponent = function FigureComponent(props) {
9093
9109
 
9094
9110
  var Figure = React__default.memo(FigureComponent, compareProps);
9095
9111
 
9096
- var urlFor$4 = function urlFor(source, client) {
9112
+ var urlFor = function urlFor(source, client) {
9097
9113
  var builder = imageUrlBuilder(client);
9098
9114
  return builder.image(source).auto('format');
9099
9115
  };
@@ -9160,14 +9176,14 @@ var MultiFigure = function MultiFigure(props) {
9160
9176
  { xs: 12, md: 12 / images.length, key: index },
9161
9177
  image.link ? React__default.createElement(
9162
9178
  'a',
9163
- _extends$1({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9179
+ _extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9164
9180
  React__default.createElement(
9165
9181
  'div',
9166
9182
  { className: 'multi-figure-image-container' },
9167
9183
  React__default.createElement(
9168
9184
  LazyLoad,
9169
9185
  { once: true },
9170
- React__default.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor$4(image.asset, client).url(), alt: image.alt })
9186
+ React__default.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor(image.asset, client).url(), alt: image.alt })
9171
9187
  ),
9172
9188
  React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9173
9189
  )
@@ -9180,10 +9196,10 @@ var MultiFigure = function MultiFigure(props) {
9180
9196
  React__default.createElement('img', {
9181
9197
  'images-count': images.length,
9182
9198
  className: 'multi-figure-image',
9183
- src: urlFor$4(image.asset, client).url(),
9199
+ src: urlFor(image.asset, client).url(),
9184
9200
  alt: image.alt,
9185
9201
  onClick: function onClick() {
9186
- setOpenImgSrc(urlFor$4(image, client).url());
9202
+ setOpenImgSrc(urlFor(image, client).url());
9187
9203
  setOpenImg(true);
9188
9204
  }
9189
9205
  })
@@ -9339,7 +9355,7 @@ var BlockTable = function BlockTable(props) {
9339
9355
  return React__default.createElement(
9340
9356
  'div',
9341
9357
  { className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
9342
- React__default.createElement(BlockContent, _extends$1({ blocks: cell.content, serializers: getSerializers }, client.config()))
9358
+ React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
9343
9359
  );
9344
9360
  })
9345
9361
  );
@@ -9467,7 +9483,7 @@ var getSerializers = function getSerializers() {
9467
9483
  var node = _ref6.node;
9468
9484
  var slides = node.slides;
9469
9485
 
9470
- return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
9486
+ return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
9471
9487
  },
9472
9488
  sidebar: function sidebar(_ref7) {
9473
9489
  var node = _ref7.node;
@@ -9505,12 +9521,12 @@ var getSerializers = function getSerializers() {
9505
9521
  poll: function poll(_ref13) {
9506
9522
  var node = _ref13.node;
9507
9523
 
9508
- return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9524
+ return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9509
9525
  },
9510
9526
  pollMultiChoice: function pollMultiChoice(_ref14) {
9511
9527
  var node = _ref14.node;
9512
9528
 
9513
- return React__default.createElement(Poll$1, {
9529
+ return React__default.createElement(Poll, {
9514
9530
  node: node,
9515
9531
  client: client,
9516
9532
  pageview: pageview,
@@ -9536,7 +9552,7 @@ var getSerializers = function getSerializers() {
9536
9552
  slideshows: function slideshows(_ref17) {
9537
9553
  var node = _ref17.node;
9538
9554
 
9539
- return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9555
+ return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9540
9556
  },
9541
9557
  nativeAd: function nativeAd(_ref18) {
9542
9558
  var node = _ref18.node;