@mjhls/mjh-framework 1.0.838-beta.0 → 1.0.838

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 (316) 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 -32
  6. package/dist/cjs/ADFooter.js +15 -14
  7. package/dist/cjs/ADGutter.js +32 -32
  8. package/dist/cjs/{ADInfeed-8d621d3c.js → ADInfeed-eb4ce360.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-0e26bccb.js → ADlgInfeed-8a05b63f.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 +20 -912
  17. package/dist/cjs/AlgoliaSearch.js +59 -14022
  18. package/dist/cjs/AlphabeticList.js +26 -25
  19. package/dist/cjs/ArticleCarousel.js +24 -23
  20. package/dist/cjs/ArticleProgramLandingPage.js +59 -59
  21. package/dist/cjs/ArticleSeriesLandingPage.js +41 -41
  22. package/dist/cjs/ArticleSeriesListing.js +62 -62
  23. package/dist/cjs/Auth.js +686 -662
  24. package/dist/cjs/AuthWrapper.js +310 -268
  25. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
  26. package/dist/cjs/Beam.js +8 -8
  27. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
  28. package/dist/cjs/Breadcrumbs.js +29 -27
  29. package/dist/cjs/CMEDeck.js +83 -84
  30. package/dist/cjs/Column1.js +14 -11
  31. package/dist/cjs/Column2.js +36 -33
  32. package/dist/cjs/Column3.js +61 -59
  33. package/dist/cjs/ConferenceArticleCard.js +23 -22
  34. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  35. package/dist/cjs/DeckContent.js +99 -96
  36. package/dist/cjs/DeckQueue.js +92 -89
  37. package/dist/cjs/{Dfp-26baccf1.js → Dfp-3f0ed4c8.js} +34 -34
  38. package/dist/cjs/EventsDeck.js +142 -135
  39. package/dist/cjs/ExternalResources.js +80 -80
  40. package/dist/cjs/Feature.js +26 -24
  41. package/dist/cjs/ForbesHero.js +43 -42
  42. package/dist/cjs/GridContent.js +238 -234
  43. package/dist/cjs/GridHero.js +45 -44
  44. package/dist/cjs/GroupDeck.js +60 -59
  45. package/dist/cjs/HamMagazine.js +137 -132
  46. package/dist/cjs/Header.js +14 -12
  47. package/dist/cjs/Hero.js +13 -12
  48. package/dist/cjs/HighlightenVideo.js +18 -17
  49. package/dist/cjs/HorizontalArticleListing.js +72 -72
  50. package/dist/cjs/HorizontalHero.js +26 -25
  51. package/dist/cjs/IssueContentDeck.js +78 -73
  52. package/dist/cjs/IssueDeck.js +77 -72
  53. package/dist/cjs/IssueLanding.js +67 -67
  54. package/dist/cjs/LeftNav.js +40 -39
  55. package/dist/cjs/MasterDeck.js +72 -72
  56. package/dist/cjs/MediaSeriesLanding.js +1182 -1091
  57. package/dist/cjs/NavDvm.js +79 -74
  58. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  59. package/dist/cjs/NavMagazine.js +143 -138
  60. package/dist/cjs/NavNative.js +138 -130
  61. package/dist/cjs/OncliveHero.js +19 -19
  62. package/dist/cjs/OncliveLargeHero.js +73 -72
  63. package/dist/cjs/PageFilter.js +15 -14
  64. package/dist/cjs/PartnerDetailListing.js +109 -1207
  65. package/dist/cjs/PdfDownload.js +10 -9
  66. package/dist/cjs/PopUpModal.js +21 -19
  67. package/dist/cjs/PubSection.js +43 -43
  68. package/dist/cjs/PubToc.js +16 -15
  69. package/dist/cjs/PublicationDeck.js +67 -62
  70. package/dist/cjs/PublicationLanding.js +112 -108
  71. package/dist/cjs/QueueDeckExpanded.js +310 -311
  72. package/dist/cjs/RecentNews.js +23 -22
  73. package/dist/cjs/RelatedContent.js +27 -26
  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-8bbc989f.js → SeriesSlider-e3e8ead7.js} +36 -35
  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-cea213aa.js → SocialSearchComponent-948138c7.js} +40 -36
  84. package/dist/cjs/SocialShare.js +31 -29
  85. package/dist/cjs/TaxonomyCard.js +64 -59
  86. package/dist/cjs/TaxonomyDescription.js +55 -55
  87. package/dist/cjs/TemplateNormal.js +74 -74
  88. package/dist/cjs/ThumbnailCard.js +23 -21
  89. package/dist/cjs/Ustream.js +31 -30
  90. package/dist/cjs/VerticalHero.js +17 -16
  91. package/dist/cjs/VideoProgramLandingPage.js +77 -74
  92. package/dist/cjs/VideoSeriesCard.js +32 -31
  93. package/dist/cjs/VideoSeriesFilter.js +18 -18
  94. package/dist/cjs/VideoSeriesLandingPage.js +50 -50
  95. package/dist/cjs/VideoSeriesListing.js +79 -79
  96. package/dist/cjs/View.js +263 -261
  97. package/dist/cjs/YahooHero.js +42 -41
  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-0a918631.js → extends-29bdbc6d.js} +7 -7
  115. package/dist/cjs/faundadb.js +7 -7
  116. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  117. package/dist/cjs/getQuery.js +2 -2
  118. package/dist/cjs/getRelatedArticle.js +425 -12
  119. package/dist/cjs/getRootDocGroup.js +6 -6
  120. package/dist/cjs/getSerializers.js +45 -46
  121. package/dist/cjs/{getTargeting-021d644c.js → getTargeting-a100d6e5.js} +3 -3
  122. package/dist/cjs/getTargeting.js +8 -8
  123. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  124. package/dist/cjs/{index-98e01cb9.js → index-0e4427c8.js} +479 -13
  125. package/dist/cjs/{index-017609b5.js → index-55dd328c.js} +1014 -997
  126. package/dist/cjs/index-bd6c9f56.js +211 -0
  127. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  128. package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
  129. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  130. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  131. package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
  132. package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
  133. package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-c1e16606.js} +4 -7
  134. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
  135. package/dist/cjs/index.js +167 -164
  136. package/dist/cjs/{inherits-452ff02c.js → inherits-c2065b95.js} +19 -19
  137. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  138. package/dist/cjs/keys-7f2c2108.js +25 -0
  139. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  140. package/dist/cjs/main-f1c77adb.js +973 -0
  141. package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
  142. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  143. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  144. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
  145. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  146. package/dist/cjs/stringify-c9ac1214.js +17 -0
  147. package/dist/cjs/timeDifferenceCalc.js +1 -1
  148. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
  149. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  150. package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
  151. package/dist/cjs/urlFor.js +3 -3
  152. package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
  153. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  154. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  155. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
  156. package/dist/esm/AD.js +1 -1
  157. package/dist/esm/AD300x250.js +23 -24
  158. package/dist/esm/AD300x250x600.js +23 -24
  159. package/dist/esm/AD728x90.js +26 -27
  160. package/dist/esm/ADFloatingFooter.js +22 -23
  161. package/dist/esm/ADFooter.js +6 -6
  162. package/dist/esm/ADGutter.js +22 -23
  163. package/dist/esm/{ADInfeed-b566ce41.js → ADInfeed-4a09242b.js} +6 -6
  164. package/dist/esm/ADSkyscraper.js +22 -23
  165. package/dist/esm/ADSponsoredResources.js +22 -23
  166. package/dist/esm/ADWebcast.js +22 -23
  167. package/dist/esm/ADWelcome.js +19 -20
  168. package/dist/esm/{ADlgInfeed-5eb7281d.js → ADlgInfeed-0bff9a62.js} +4 -4
  169. package/dist/esm/AccordionPanel.js +8 -8
  170. package/dist/esm/AdSlot.js +23 -24
  171. package/dist/esm/AdSlotsProvider.js +16 -909
  172. package/dist/esm/AlgoliaSearch.js +29 -13993
  173. package/dist/esm/AlphabeticList.js +10 -10
  174. package/dist/esm/ArticleCarousel.js +17 -17
  175. package/dist/esm/ArticleProgramLandingPage.js +49 -50
  176. package/dist/esm/ArticleSeriesLandingPage.js +32 -33
  177. package/dist/esm/ArticleSeriesListing.js +34 -35
  178. package/dist/esm/Auth.js +595 -575
  179. package/dist/esm/AuthWrapper.js +287 -246
  180. package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-30aeba69.js} +1 -1
  181. package/dist/esm/Beam.js +8 -8
  182. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c99c9a8d.js} +34 -34
  183. package/dist/esm/Breadcrumbs.js +7 -7
  184. package/dist/esm/CMEDeck.js +24 -25
  185. package/dist/esm/Column1.js +4 -4
  186. package/dist/esm/Column2.js +21 -21
  187. package/dist/esm/Column3.js +38 -39
  188. package/dist/esm/ConferenceArticleCard.js +7 -7
  189. package/dist/esm/DeckContent.js +49 -50
  190. package/dist/esm/DeckQueue.js +48 -49
  191. package/dist/esm/{Dfp-b7236041.js → Dfp-be030f2a.js} +14 -15
  192. package/dist/esm/EventsDeck.js +50 -50
  193. package/dist/esm/ExternalResources.js +47 -48
  194. package/dist/esm/Feature.js +4 -4
  195. package/dist/esm/ForbesHero.js +12 -12
  196. package/dist/esm/GridContent.js +90 -91
  197. package/dist/esm/GridHero.js +13 -13
  198. package/dist/esm/GroupDeck.js +14 -14
  199. package/dist/esm/HamMagazine.js +30 -30
  200. package/dist/esm/Hero.js +4 -4
  201. package/dist/esm/HighlightenVideo.js +2 -2
  202. package/dist/esm/HorizontalArticleListing.js +46 -47
  203. package/dist/esm/HorizontalHero.js +5 -5
  204. package/dist/esm/IssueContentDeck.js +27 -27
  205. package/dist/esm/IssueDeck.js +37 -37
  206. package/dist/esm/IssueLanding.js +55 -56
  207. package/dist/esm/LeftNav.js +21 -22
  208. package/dist/esm/MasterDeck.js +36 -37
  209. package/dist/esm/MediaSeriesLanding.js +733 -645
  210. package/dist/esm/NavDvm.js +16 -16
  211. package/dist/esm/NavMagazine.js +34 -34
  212. package/dist/esm/NavNative.js +34 -34
  213. package/dist/esm/OncliveHero.js +4 -5
  214. package/dist/esm/OncliveLargeHero.js +13 -13
  215. package/dist/esm/PageFilter.js +6 -6
  216. package/dist/esm/PartnerDetailListing.js +59 -1157
  217. package/dist/esm/PdfDownload.js +2 -2
  218. package/dist/esm/PopUpModal.js +6 -6
  219. package/dist/esm/PubSection.js +34 -35
  220. package/dist/esm/PubToc.js +8 -8
  221. package/dist/esm/PublicationDeck.js +24 -24
  222. package/dist/esm/PublicationLanding.js +49 -49
  223. package/dist/esm/QueueDeckExpanded.js +38 -39
  224. package/dist/esm/RecentNews.js +4 -4
  225. package/dist/esm/RelatedContent.js +7 -7
  226. package/dist/esm/RolesDeck.js +12 -12
  227. package/dist/esm/Search.js +8 -8
  228. package/dist/esm/Segment.js +6 -6
  229. package/dist/esm/SeriesListingDeck.js +20 -21
  230. package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-ae17159f.js} +10 -10
  231. package/dist/esm/SetCookie.js +1 -1
  232. package/dist/esm/SideFooter.js +15 -15
  233. package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-db963c3e.js} +12 -12
  234. package/dist/esm/TaxonomyCard.js +25 -25
  235. package/dist/esm/TaxonomyDescription.js +45 -46
  236. package/dist/esm/TemplateNormal.js +49 -50
  237. package/dist/esm/ThumbnailCard.js +7 -7
  238. package/dist/esm/Ustream.js +14 -14
  239. package/dist/esm/VerticalHero.js +3 -3
  240. package/dist/esm/VideoProgramLandingPage.js +53 -54
  241. package/dist/esm/VideoSeriesCard.js +13 -13
  242. package/dist/esm/VideoSeriesFilter.js +9 -9
  243. package/dist/esm/VideoSeriesLandingPage.js +38 -39
  244. package/dist/esm/VideoSeriesListing.js +35 -36
  245. package/dist/esm/View.js +90 -92
  246. package/dist/esm/YahooHero.js +15 -15
  247. package/dist/esm/YoutubeGroup.js +22 -22
  248. package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
  249. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
  250. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  251. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
  252. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
  253. package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
  254. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
  255. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
  256. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
  257. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  258. package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
  259. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
  260. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  261. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  262. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
  263. package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
  264. package/dist/esm/faundadb.js +7 -7
  265. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  266. package/dist/esm/getQuery.js +2 -2
  267. package/dist/esm/getRelatedArticle.js +425 -12
  268. package/dist/esm/getRootDocGroup.js +6 -6
  269. package/dist/esm/getSerializers.js +45 -46
  270. package/dist/esm/{getTargeting-82e86707.js → getTargeting-05c216d6.js} +2 -2
  271. package/dist/esm/getTargeting.js +8 -8
  272. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
  273. package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
  274. package/dist/esm/{index-ff630779.js → index-490e778a.js} +640 -630
  275. package/dist/esm/{index-41a678ea.js → index-5cc7b406.js} +469 -4
  276. package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
  277. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  278. package/dist/esm/index-db3bb315.js +207 -0
  279. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  280. package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
  281. package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-9b042655.js} +4 -7
  282. package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
  283. package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
  284. package/dist/esm/index.js +122 -122
  285. package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
  286. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  287. package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
  288. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  289. package/dist/esm/main-d4165069.js +961 -0
  290. package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
  291. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  292. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
  293. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
  294. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  295. package/dist/esm/stringify-59c8f690.js +15 -0
  296. package/dist/esm/timeDifferenceCalc.js +1 -1
  297. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
  298. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  299. package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
  300. package/dist/esm/urlFor.js +1 -1
  301. package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
  302. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  303. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
  304. package/package.json +1 -1
  305. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  306. package/dist/cjs/events-1b438fe7.js +0 -469
  307. package/dist/cjs/index-e2e62963.js +0 -89
  308. package/dist/cjs/inherits-8d29278d.js +0 -110
  309. package/dist/cjs/keys-a586b7a0.js +0 -25
  310. package/dist/cjs/main-02daeefe.js +0 -862
  311. package/dist/cjs/stringify-7c5aff47.js +0 -17
  312. package/dist/esm/events-6c3a7a63.js +0 -467
  313. package/dist/esm/index-aaa2dae0.js +0 -85
  314. package/dist/esm/inherits-77d5e4fc.js +0 -101
  315. package/dist/esm/main-e4a934b2.js +0 -851
  316. package/dist/esm/stringify-4330ccdc.js +0 -15
@@ -1,37 +1,37 @@
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, b as _extends$2 } from './extends-6f2fcc99.js';
5
- import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-cf8dde54.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';
13
- import Router, { useRouter } from 'next/router';
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';
14
4
  import urlFor from './urlFor.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 Segment from './Segment.js';
20
- import Beam from './Beam.js';
21
- import DFPAdSlot from './AdSlot.js';
22
- import Button$1 from 'react-bootstrap/Button';
23
- import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
5
+ import { l as lib_3 } from './index-5cc7b406.js';
6
+ import Router, { useRouter } from 'next/router';
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, b as _extends$1 } from './extends-60e0e1c6.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';
34
- import Figure$1$1 from 'react-bootstrap/Figure';
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';
26
+ import Button$1 from 'react-bootstrap/Button';
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, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a41fe93f.js';
33
+ import { d as IoIosArrowDropupCircle } from './index.esm-f6156a57.js';
34
+ import Figure$2 from 'react-bootstrap/Figure';
35
35
 
36
36
  var onChangeSlide = function onChangeSlide(selectedIndex, router) {
37
37
  var pageNumber = selectedIndex + 1;
@@ -39,7 +39,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
39
39
  Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
40
40
  };
41
41
 
42
- var Slideshow = function Slideshow(_ref) {
42
+ var Slideshow$1 = function Slideshow(_ref) {
43
43
  var slides = _ref.slides,
44
44
  client = _ref.client,
45
45
  pageview = _ref.pageview;
@@ -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); }
1580
1575
 
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; }
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); }; }
1582
1577
 
1583
- /**
1584
- * Check whether a `props` change should result in the video being updated.
1585
- *
1586
- * @param {Object} prevProps
1587
- * @param {Object} props
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; } }
1583
+
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; }
1587
+
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
+ });
1712
1740
 
1713
- _this.updateVideo = function () {
1741
+ _defineProperty(_assertThisInitialized(_this), "getInternalPlayer", function () {
1742
+ return _this.internalPlayer;
1743
+ });
1744
+
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(
@@ -2181,7 +2151,7 @@ var Media = function Media(_ref) {
2181
2151
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
2182
2152
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
2183
2153
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
2184
- React__default.createElement('img', _extends$1({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
2154
+ React__default.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
2185
2155
  )
2186
2156
  ),
2187
2157
  caption && React__default.createElement(
@@ -2194,7 +2164,7 @@ var Media = function Media(_ref) {
2194
2164
  } else if (caption && caption !== '') {
2195
2165
  return React__default.createElement(
2196
2166
  'a',
2197
- _extends$1({}, uploadDoc.downloadMedia ? {
2167
+ _extends({}, uploadDoc.downloadMedia ? {
2198
2168
  href: uploadDoc.asset.url + '?dl='
2199
2169
  } : { href: uploadDoc.asset.url, target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
2200
2170
  style: { paddingLeft: '4px', paddingRight: '4px' },
@@ -2249,8 +2219,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2249
2219
  var duration = player.duration;
2250
2220
  var queue = Math.floor(duration / 10);
2251
2221
  var segment = Math.floor(current / queue);
2252
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'MP4');
2253
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
2222
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'MP4');
2223
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
2254
2224
  };
2255
2225
 
2256
2226
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -2259,8 +2229,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2259
2229
  var queue = Math.floor(duration / 10);
2260
2230
  var segment = Math.floor(current / queue);
2261
2231
  if (!queueProgress.includes(segment)) {
2262
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'MP4');
2263
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
2232
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'MP4');
2233
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
2264
2234
  queueProgress.push(segment);
2265
2235
  }
2266
2236
  };
@@ -2272,8 +2242,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2272
2242
  var duration = player.duration;
2273
2243
  var queue = Math.floor(duration / 10);
2274
2244
  var segment = Math.floor(current / queue);
2275
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'MP4');
2276
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
2245
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'MP4');
2246
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
2277
2247
 
2278
2248
  if (!playReported) {
2279
2249
  event.persist();
@@ -2293,8 +2263,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2293
2263
  var queue = Math.floor(duration / 10);
2294
2264
  var segment = Math.floor(current / queue);
2295
2265
 
2296
- Beam.report_beam_video('End', main_16, duration, current, segment, 'MP4');
2297
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
2266
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'MP4');
2267
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
2298
2268
  setEndReported(true);
2299
2269
  clearInterval(intervalID);
2300
2270
  }
@@ -2306,8 +2276,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2306
2276
  var duration = player.duration - current;
2307
2277
  var queue = Math.floor(duration / 10);
2308
2278
  var segment = Math.floor(current / queue);
2309
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'MP4');
2310
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
2279
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'MP4');
2280
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
2311
2281
  };
2312
2282
 
2313
2283
  return React__default.createElement(
@@ -2368,7 +2338,7 @@ var Video = function Video(_ref) {
2368
2338
  var onVideoSuccess = function onVideoSuccess(success) {
2369
2339
  //console.log('success:', success.ref)
2370
2340
  var player = success.ref;
2371
- if (_typeof(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2341
+ if (_typeof$1(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2372
2342
  player.ima3.settings.debug = true;
2373
2343
  if (targeting.content_placement && targeting.document_url) {
2374
2344
  player.ima3.settings.serverUrl = player.ima3.settings.serverUrl + '&cust_params=' + encodeURIComponent('content_placement=' + targeting.content_placement + '&document_url=' + targeting.document_url);
@@ -2396,8 +2366,8 @@ var Video = function Video(_ref) {
2396
2366
  player.pause();
2397
2367
  }
2398
2368
 
2399
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2400
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2369
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2370
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2401
2371
  });
2402
2372
 
2403
2373
  // play
@@ -2406,8 +2376,8 @@ var Video = function Video(_ref) {
2406
2376
  var current = player.currentTime();
2407
2377
  var queue = Math.floor(duration / 10);
2408
2378
  var segment = Math.floor(current / queue);
2409
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2410
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2379
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2380
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2411
2381
  });
2412
2382
 
2413
2383
  // pause
@@ -2416,8 +2386,8 @@ var Video = function Video(_ref) {
2416
2386
  var current = player.currentTime();
2417
2387
  var queue = Math.floor(duration / 10);
2418
2388
  var segment = Math.floor(current / queue);
2419
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2420
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2389
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2390
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2421
2391
  });
2422
2392
 
2423
2393
  // end
@@ -2426,8 +2396,8 @@ var Video = function Video(_ref) {
2426
2396
  var current = player.currentTime();
2427
2397
  var queue = Math.floor(duration / 10);
2428
2398
  var segment = Math.floor(current / queue);
2429
- Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2430
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2399
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2400
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2431
2401
  autoplayNextVideo(evt);
2432
2402
  });
2433
2403
 
@@ -2438,8 +2408,8 @@ var Video = function Video(_ref) {
2438
2408
  var queue = Math.floor(duration / 10);
2439
2409
  var segment = Math.floor(current / queue);
2440
2410
  if (!queueProgress.includes(segment)) {
2441
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2442
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2411
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2412
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2443
2413
  queueProgress.push(segment);
2444
2414
  }
2445
2415
  });
@@ -2450,8 +2420,8 @@ var Video = function Video(_ref) {
2450
2420
  var id = player.ads.ad.id;
2451
2421
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2452
2422
 
2453
- Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
2454
- Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2423
+ Beam.report_beam_ad('AD Started', main_18, '', '', '', '', '', adType, duration, id);
2424
+ Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2455
2425
  });
2456
2426
 
2457
2427
  // ad ended
@@ -2459,8 +2429,8 @@ var Video = function Video(_ref) {
2459
2429
  var duration = player.ads.ad.duration;
2460
2430
  var id = player.ads.ad.id;
2461
2431
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2462
- Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
2463
- Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2432
+ Beam.report_beam_ad('AD Ended', main_18, '', '', '', '', '', adType, duration, id);
2433
+ Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2464
2434
  });
2465
2435
  };
2466
2436
 
@@ -2723,9 +2693,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
2723
2693
  });
2724
2694
 
2725
2695
  unwrapExports(props);
2726
- var props_1 = props.DEPRECATED_CONFIG_PROPS;
2727
- var props_2 = props.defaultProps;
2728
- var props_3 = props.propTypes;
2696
+ props.DEPRECATED_CONFIG_PROPS;
2697
+ props.defaultProps;
2698
+ props.propTypes;
2729
2699
 
2730
2700
  var isMergeableObject = function isMergeableObject(value) {
2731
2701
  return isNonNullObject(value)
@@ -2890,11 +2860,17 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2890
2860
 
2891
2861
  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; }
2892
2862
 
2893
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
2863
+ 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; } } }; }
2864
+
2865
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2866
+
2867
+ 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
2868
 
2895
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
2869
+ 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); }
2896
2870
 
2897
- 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; }
2871
+ 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; }
2872
+
2873
+ 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; }
2898
2874
 
2899
2875
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2900
2876
 
@@ -3024,12 +3000,12 @@ function getSDK(url, sdkGlobal) {
3024
3000
 
3025
3001
  function getConfig(props$1, defaultProps, showWarning) {
3026
3002
  var config = (0, _deepmerge["default"])(defaultProps.config, props$1.config);
3027
- var _iteratorNormalCompletion = true;
3028
- var _didIteratorError = false;
3029
- var _iteratorError = undefined;
3003
+
3004
+ var _iterator = _createForOfIteratorHelper(props.DEPRECATED_CONFIG_PROPS),
3005
+ _step;
3030
3006
 
3031
3007
  try {
3032
- for (var _iterator = props.DEPRECATED_CONFIG_PROPS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
3008
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
3033
3009
  var p = _step.value;
3034
3010
 
3035
3011
  if (props$1[p]) {
@@ -3044,18 +3020,9 @@ function getConfig(props$1, defaultProps, showWarning) {
3044
3020
  }
3045
3021
  }
3046
3022
  } catch (err) {
3047
- _didIteratorError = true;
3048
- _iteratorError = err;
3023
+ _iterator.e(err);
3049
3024
  } finally {
3050
- try {
3051
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
3052
- _iterator["return"]();
3053
- }
3054
- } finally {
3055
- if (_didIteratorError) {
3056
- throw _iteratorError;
3057
- }
3058
- }
3025
+ _iterator.f();
3059
3026
  }
3060
3027
 
3061
3028
  return config;
@@ -3163,17 +3130,17 @@ function isMediaStream(url) {
3163
3130
  });
3164
3131
 
3165
3132
  unwrapExports(utils);
3166
- var utils_1 = utils.parseStartTime;
3167
- var utils_2 = utils.parseEndTime;
3168
- var utils_3 = utils.randomString;
3169
- var utils_4 = utils.queryString;
3170
- var utils_5 = utils.getSDK;
3171
- var utils_6 = utils.getConfig;
3172
- var utils_7 = utils.omit;
3173
- var utils_8 = utils.callPlayer;
3174
- var utils_9 = utils.isObject;
3175
- var utils_10 = utils.isEqual;
3176
- var utils_11 = utils.isMediaStream;
3133
+ utils.parseStartTime;
3134
+ utils.parseEndTime;
3135
+ utils.randomString;
3136
+ utils.queryString;
3137
+ utils.getSDK;
3138
+ utils.getConfig;
3139
+ utils.omit;
3140
+ utils.callPlayer;
3141
+ utils.isObject;
3142
+ utils.isEqual;
3143
+ utils.isMediaStream;
3177
3144
 
3178
3145
  var Player_1 = createCommonjsModule(function (module, exports) {
3179
3146
 
@@ -3202,12 +3169,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3202
3169
 
3203
3170
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3204
3171
 
3205
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3172
+ 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); }; }
3206
3173
 
3207
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3174
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3208
3175
 
3209
3176
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3210
3177
 
3178
+ 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; } }
3179
+
3180
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3181
+
3211
3182
  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); }
3212
3183
 
3213
3184
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3216,14 +3187,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
3216
3187
 
3217
3188
  var SEEK_ON_PLAY_EXPIRY = 5000;
3218
3189
 
3219
- var Player =
3220
- /*#__PURE__*/
3221
- function (_Component) {
3190
+ var Player = /*#__PURE__*/function (_Component) {
3222
3191
  _inherits(Player, _Component);
3223
3192
 
3224
- function Player() {
3225
- var _getPrototypeOf2;
3193
+ var _super = _createSuper(Player);
3226
3194
 
3195
+ function Player() {
3227
3196
  var _this;
3228
3197
 
3229
3198
  _classCallCheck(this, Player);
@@ -3232,7 +3201,7 @@ function (_Component) {
3232
3201
  _args[_key] = arguments[_key];
3233
3202
  }
3234
3203
 
3235
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Player)).call.apply(_getPrototypeOf2, [this].concat(_args)));
3204
+ _this = _super.call.apply(_super, [this].concat(_args));
3236
3205
 
3237
3206
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
3238
3207
 
@@ -3557,7 +3526,7 @@ function (_Component) {
3557
3526
  return null;
3558
3527
  }
3559
3528
 
3560
- return _react["default"].createElement(Player, _extends({}, this.props, {
3529
+ return /*#__PURE__*/_react["default"].createElement(Player, _extends({}, this.props, {
3561
3530
  ref: this.ref,
3562
3531
  onReady: this.handleReady,
3563
3532
  onPlay: this.handlePlay,
@@ -3618,12 +3587,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3618
3587
 
3619
3588
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3620
3589
 
3621
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3590
+ 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); }; }
3622
3591
 
3623
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3592
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3624
3593
 
3625
3594
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3626
3595
 
3596
+ 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; } }
3597
+
3598
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3599
+
3627
3600
  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); }
3628
3601
 
3629
3602
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3635,14 +3608,12 @@ var SUPPORTED_PROPS = Object.keys(props.propTypes);
3635
3608
  function createSinglePlayer(activePlayer) {
3636
3609
  var _class, _temp;
3637
3610
 
3638
- return _temp = _class =
3639
- /*#__PURE__*/
3640
- function (_Component) {
3611
+ return _temp = _class = /*#__PURE__*/function (_Component) {
3641
3612
  _inherits(SinglePlayer, _Component);
3642
3613
 
3643
- function SinglePlayer() {
3644
- var _getPrototypeOf2;
3614
+ var _super = _createSuper(SinglePlayer);
3645
3615
 
3616
+ function SinglePlayer() {
3646
3617
  var _this;
3647
3618
 
3648
3619
  _classCallCheck(this, SinglePlayer);
@@ -3651,7 +3622,7 @@ function createSinglePlayer(activePlayer) {
3651
3622
  args[_key] = arguments[_key];
3652
3623
  }
3653
3624
 
3654
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SinglePlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
3625
+ _this = _super.call.apply(_super, [this].concat(args));
3655
3626
 
3656
3627
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
3657
3628
 
@@ -3719,12 +3690,12 @@ function createSinglePlayer(activePlayer) {
3719
3690
  height = _this$props.height,
3720
3691
  Wrapper = _this$props.wrapper;
3721
3692
  var otherProps = (0, utils.omit)(this.props, SUPPORTED_PROPS, props.DEPRECATED_CONFIG_PROPS);
3722
- return _react["default"].createElement(Wrapper, _extends({
3693
+ return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
3723
3694
  style: _objectSpread({}, style, {
3724
3695
  width: width,
3725
3696
  height: height
3726
3697
  })
3727
- }, otherProps), _react["default"].createElement(_Player["default"], _extends({}, this.props, {
3698
+ }, otherProps), /*#__PURE__*/_react["default"].createElement(_Player["default"], _extends({}, this.props, {
3728
3699
  ref: this.ref,
3729
3700
  activePlayer: activePlayer,
3730
3701
  config: this.config
@@ -3770,23 +3741,31 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3770
3741
 
3771
3742
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3772
3743
 
3773
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3744
+ 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); }; }
3774
3745
 
3775
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3746
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3776
3747
 
3777
3748
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3778
3749
 
3750
+ 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; } }
3751
+
3752
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3753
+
3779
3754
  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); }
3780
3755
 
3781
3756
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
3782
3757
 
3783
3758
  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; }
3784
3759
 
3785
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
3760
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3786
3761
 
3787
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
3762
+ 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."); }
3788
3763
 
3789
- 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 _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); }
3765
+
3766
+ 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; }
3767
+
3768
+ 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; }
3790
3769
 
3791
3770
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
3792
3771
 
@@ -3811,14 +3790,12 @@ function parsePlaylist(url) {
3811
3790
  return {};
3812
3791
  }
3813
3792
 
3814
- var YouTube =
3815
- /*#__PURE__*/
3816
- function (_Component) {
3793
+ var YouTube = /*#__PURE__*/function (_Component) {
3817
3794
  _inherits(YouTube, _Component);
3818
3795
 
3819
- function YouTube() {
3820
- var _getPrototypeOf2;
3796
+ var _super = _createSuper(YouTube);
3821
3797
 
3798
+ function YouTube() {
3822
3799
  var _this;
3823
3800
 
3824
3801
  _classCallCheck(this, YouTube);
@@ -3827,7 +3804,7 @@ function (_Component) {
3827
3804
  args[_key] = arguments[_key];
3828
3805
  }
3829
3806
 
3830
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(YouTube)).call.apply(_getPrototypeOf2, [this].concat(args)));
3807
+ _this = _super.call.apply(_super, [this].concat(args));
3831
3808
 
3832
3809
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
3833
3810
 
@@ -4015,9 +3992,9 @@ function (_Component) {
4015
3992
  height: '100%',
4016
3993
  display: display
4017
3994
  };
4018
- return _react["default"].createElement("div", {
3995
+ return /*#__PURE__*/_react["default"].createElement("div", {
4019
3996
  style: style
4020
- }, _react["default"].createElement("div", {
3997
+ }, /*#__PURE__*/_react["default"].createElement("div", {
4021
3998
  ref: this.ref
4022
3999
  }));
4023
4000
  }
@@ -4040,7 +4017,7 @@ exports["default"] = _default;
4040
4017
  });
4041
4018
 
4042
4019
  unwrapExports(YouTube_1);
4043
- var YouTube_2 = YouTube_1.YouTube;
4020
+ YouTube_1.YouTube;
4044
4021
 
4045
4022
  var SoundCloud_1 = createCommonjsModule(function (module, exports) {
4046
4023
 
@@ -4073,12 +4050,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4073
4050
 
4074
4051
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4075
4052
 
4076
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4053
+ 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); }; }
4077
4054
 
4078
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4055
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4079
4056
 
4080
4057
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4081
4058
 
4059
+ 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; } }
4060
+
4061
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4062
+
4082
4063
  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); }
4083
4064
 
4084
4065
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4087,16 +4068,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
4087
4068
 
4088
4069
  var SDK_URL = 'https://w.soundcloud.com/player/api.js';
4089
4070
  var SDK_GLOBAL = 'SC';
4090
- var MATCH_URL = /(soundcloud\.com|snd\.sc)\/.+$/;
4071
+ var MATCH_URL = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/;
4091
4072
 
4092
- var SoundCloud =
4093
- /*#__PURE__*/
4094
- function (_Component) {
4073
+ var SoundCloud = /*#__PURE__*/function (_Component) {
4095
4074
  _inherits(SoundCloud, _Component);
4096
4075
 
4097
- function SoundCloud() {
4098
- var _getPrototypeOf2;
4076
+ var _super = _createSuper(SoundCloud);
4099
4077
 
4078
+ function SoundCloud() {
4100
4079
  var _this;
4101
4080
 
4102
4081
  _classCallCheck(this, SoundCloud);
@@ -4105,7 +4084,7 @@ function (_Component) {
4105
4084
  args[_key] = arguments[_key];
4106
4085
  }
4107
4086
 
4108
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SoundCloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
4087
+ _this = _super.call.apply(_super, [this].concat(args));
4109
4088
 
4110
4089
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4111
4090
 
@@ -4226,7 +4205,7 @@ function (_Component) {
4226
4205
  height: '100%',
4227
4206
  display: display
4228
4207
  };
4229
- return _react["default"].createElement("iframe", {
4208
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
4230
4209
  ref: this.ref,
4231
4210
  src: "https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),
4232
4211
  style: style,
@@ -4255,7 +4234,7 @@ exports["default"] = _default;
4255
4234
  });
4256
4235
 
4257
4236
  unwrapExports(SoundCloud_1);
4258
- var SoundCloud_2 = SoundCloud_1.SoundCloud;
4237
+ SoundCloud_1.SoundCloud;
4259
4238
 
4260
4239
  var Vimeo_1 = createCommonjsModule(function (module, exports) {
4261
4240
 
@@ -4288,12 +4267,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4288
4267
 
4289
4268
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4290
4269
 
4291
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4270
+ 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); }; }
4292
4271
 
4293
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4272
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4294
4273
 
4295
4274
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4296
4275
 
4276
+ 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; } }
4277
+
4278
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4279
+
4297
4280
  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); }
4298
4281
 
4299
4282
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4305,14 +4288,12 @@ var SDK_GLOBAL = 'Vimeo';
4305
4288
  var MATCH_URL = /vimeo\.com\/.+/;
4306
4289
  var MATCH_FILE_URL = /vimeo\.com\/external\/[0-9]+\..+/;
4307
4290
 
4308
- var Vimeo =
4309
- /*#__PURE__*/
4310
- function (_Component) {
4291
+ var Vimeo = /*#__PURE__*/function (_Component) {
4311
4292
  _inherits(Vimeo, _Component);
4312
4293
 
4313
- function Vimeo() {
4314
- var _getPrototypeOf2;
4294
+ var _super = _createSuper(Vimeo);
4315
4295
 
4296
+ function Vimeo() {
4316
4297
  var _this;
4317
4298
 
4318
4299
  _classCallCheck(this, Vimeo);
@@ -4321,7 +4302,7 @@ function (_Component) {
4321
4302
  args[_key] = arguments[_key];
4322
4303
  }
4323
4304
 
4324
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Vimeo)).call.apply(_getPrototypeOf2, [this].concat(args)));
4305
+ _this = _super.call.apply(_super, [this].concat(args));
4325
4306
 
4326
4307
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4327
4308
 
@@ -4478,7 +4459,7 @@ function (_Component) {
4478
4459
  overflow: 'hidden',
4479
4460
  display: display
4480
4461
  };
4481
- return _react["default"].createElement("div", {
4462
+ return /*#__PURE__*/_react["default"].createElement("div", {
4482
4463
  key: this.props.url,
4483
4464
  ref: this.ref,
4484
4465
  style: style
@@ -4509,7 +4490,7 @@ exports["default"] = _default;
4509
4490
  });
4510
4491
 
4511
4492
  unwrapExports(Vimeo_1);
4512
- var Vimeo_2 = Vimeo_1.Vimeo;
4493
+ Vimeo_1.Vimeo;
4513
4494
 
4514
4495
  var Facebook_1 = createCommonjsModule(function (module, exports) {
4515
4496
 
@@ -4538,12 +4519,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4538
4519
 
4539
4520
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4540
4521
 
4541
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4522
+ 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); }; }
4542
4523
 
4543
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4524
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4544
4525
 
4545
4526
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4546
4527
 
4528
+ 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; } }
4529
+
4530
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4531
+
4547
4532
  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); }
4548
4533
 
4549
4534
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4556,14 +4541,12 @@ var SDK_GLOBAL_READY = 'fbAsyncInit';
4556
4541
  var MATCH_URL = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;
4557
4542
  var PLAYER_ID_PREFIX = 'facebook-player-';
4558
4543
 
4559
- var Facebook =
4560
- /*#__PURE__*/
4561
- function (_Component) {
4544
+ var Facebook = /*#__PURE__*/function (_Component) {
4562
4545
  _inherits(Facebook, _Component);
4563
4546
 
4564
- function Facebook() {
4565
- var _getPrototypeOf2;
4547
+ var _super = _createSuper(Facebook);
4566
4548
 
4549
+ function Facebook() {
4567
4550
  var _this;
4568
4551
 
4569
4552
  _classCallCheck(this, Facebook);
@@ -4572,7 +4555,7 @@ function (_Component) {
4572
4555
  args[_key] = arguments[_key];
4573
4556
  }
4574
4557
 
4575
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Facebook)).call.apply(_getPrototypeOf2, [this].concat(args)));
4558
+ _this = _super.call.apply(_super, [this].concat(args));
4576
4559
 
4577
4560
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4578
4561
 
@@ -4688,7 +4671,7 @@ function (_Component) {
4688
4671
  width: '100%',
4689
4672
  height: '100%'
4690
4673
  };
4691
- return _react["default"].createElement("div", {
4674
+ return /*#__PURE__*/_react["default"].createElement("div", {
4692
4675
  style: style,
4693
4676
  id: this.playerID,
4694
4677
  className: "fb-video",
@@ -4719,7 +4702,7 @@ exports["default"] = _default;
4719
4702
  });
4720
4703
 
4721
4704
  unwrapExports(Facebook_1);
4722
- var Facebook_2 = Facebook_1.Facebook;
4705
+ Facebook_1.Facebook;
4723
4706
 
4724
4707
  var Streamable_1 = createCommonjsModule(function (module, exports) {
4725
4708
 
@@ -4748,12 +4731,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4748
4731
 
4749
4732
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4750
4733
 
4751
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4734
+ 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); }; }
4752
4735
 
4753
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4736
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4754
4737
 
4755
4738
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4756
4739
 
4740
+ 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; } }
4741
+
4742
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4743
+
4757
4744
  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); }
4758
4745
 
4759
4746
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4764,14 +4751,12 @@ var SDK_URL = 'https://cdn.embed.ly/player-0.1.0.min.js';
4764
4751
  var SDK_GLOBAL = 'playerjs';
4765
4752
  var MATCH_URL = /streamable\.com\/([a-z0-9]+)$/;
4766
4753
 
4767
- var Streamable =
4768
- /*#__PURE__*/
4769
- function (_Component) {
4754
+ var Streamable = /*#__PURE__*/function (_Component) {
4770
4755
  _inherits(Streamable, _Component);
4771
4756
 
4772
- function Streamable() {
4773
- var _getPrototypeOf2;
4757
+ var _super = _createSuper(Streamable);
4774
4758
 
4759
+ function Streamable() {
4775
4760
  var _this;
4776
4761
 
4777
4762
  _classCallCheck(this, Streamable);
@@ -4780,7 +4765,7 @@ function (_Component) {
4780
4765
  args[_key] = arguments[_key];
4781
4766
  }
4782
4767
 
4783
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Streamable)).call.apply(_getPrototypeOf2, [this].concat(args)));
4768
+ _this = _super.call.apply(_super, [this].concat(args));
4784
4769
 
4785
4770
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4786
4771
 
@@ -4900,7 +4885,7 @@ function (_Component) {
4900
4885
  width: '100%',
4901
4886
  height: '100%'
4902
4887
  };
4903
- return _react["default"].createElement("iframe", {
4888
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
4904
4889
  ref: this.ref,
4905
4890
  src: "https://streamable.com/o/".concat(id),
4906
4891
  frameBorder: "0",
@@ -4928,7 +4913,7 @@ exports["default"] = _default;
4928
4913
  });
4929
4914
 
4930
4915
  unwrapExports(Streamable_1);
4931
- var Streamable_2 = Streamable_1.Streamable;
4916
+ Streamable_1.Streamable;
4932
4917
 
4933
4918
  var Wistia_1 = createCommonjsModule(function (module, exports) {
4934
4919
 
@@ -4961,12 +4946,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4961
4946
 
4962
4947
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4963
4948
 
4964
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4949
+ 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); }; }
4965
4950
 
4966
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4951
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4967
4952
 
4968
4953
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4969
4954
 
4955
+ 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; } }
4956
+
4957
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4958
+
4970
4959
  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); }
4971
4960
 
4972
4961
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4977,26 +4966,48 @@ var SDK_URL = 'https://fast.wistia.com/assets/external/E-v1.js';
4977
4966
  var SDK_GLOBAL = 'Wistia';
4978
4967
  var MATCH_URL = /(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/;
4979
4968
 
4980
- var Wistia =
4981
- /*#__PURE__*/
4982
- function (_Component) {
4969
+ var Wistia = /*#__PURE__*/function (_Component) {
4983
4970
  _inherits(Wistia, _Component);
4984
4971
 
4985
- function Wistia() {
4986
- var _getPrototypeOf2;
4972
+ var _super = _createSuper(Wistia);
4987
4973
 
4974
+ function Wistia() {
4988
4975
  var _this;
4989
4976
 
4990
4977
  _classCallCheck(this, Wistia);
4991
4978
 
4992
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4993
- args[_key] = arguments[_key];
4979
+ for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {
4980
+ _args[_key] = arguments[_key];
4994
4981
  }
4995
4982
 
4996
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Wistia)).call.apply(_getPrototypeOf2, [this].concat(args)));
4983
+ _this = _super.call.apply(_super, [this].concat(_args));
4997
4984
 
4998
4985
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4999
4986
 
4987
+ _defineProperty(_assertThisInitialized(_this), "onPlay", function () {
4988
+ var _this$props;
4989
+
4990
+ return (_this$props = _this.props).onPlay.apply(_this$props, arguments);
4991
+ });
4992
+
4993
+ _defineProperty(_assertThisInitialized(_this), "onPause", function () {
4994
+ var _this$props2;
4995
+
4996
+ return (_this$props2 = _this.props).onPause.apply(_this$props2, arguments);
4997
+ });
4998
+
4999
+ _defineProperty(_assertThisInitialized(_this), "onSeek", function () {
5000
+ var _this$props3;
5001
+
5002
+ return (_this$props3 = _this.props).onSeek.apply(_this$props3, arguments);
5003
+ });
5004
+
5005
+ _defineProperty(_assertThisInitialized(_this), "onEnded", function () {
5006
+ var _this$props4;
5007
+
5008
+ return (_this$props4 = _this.props).onEnded.apply(_this$props4, arguments);
5009
+ });
5010
+
5000
5011
  _defineProperty(_assertThisInitialized(_this), "mute", function () {
5001
5012
  _this.callPlayer('mute');
5002
5013
  });
@@ -5018,17 +5029,13 @@ function (_Component) {
5018
5029
  value: function load(url) {
5019
5030
  var _this2 = this;
5020
5031
 
5021
- var _this$props = this.props,
5022
- playing = _this$props.playing,
5023
- muted = _this$props.muted,
5024
- controls = _this$props.controls,
5025
- _onReady = _this$props.onReady,
5026
- onPlay = _this$props.onPlay,
5027
- onPause = _this$props.onPause,
5028
- onSeek = _this$props.onSeek,
5029
- onEnded = _this$props.onEnded,
5030
- config = _this$props.config,
5031
- onError = _this$props.onError;
5032
+ var _this$props5 = this.props,
5033
+ playing = _this$props5.playing,
5034
+ muted = _this$props5.muted,
5035
+ controls = _this$props5.controls,
5036
+ _onReady = _this$props5.onReady,
5037
+ config = _this$props5.config,
5038
+ onError = _this$props5.onError;
5032
5039
  (0, utils.getSDK)(SDK_URL, SDK_GLOBAL).then(function () {
5033
5040
  window._wq = window._wq || [];
5034
5041
 
@@ -5045,19 +5052,28 @@ function (_Component) {
5045
5052
 
5046
5053
  _this2.unbind();
5047
5054
 
5048
- _this2.player.bind('play', onPlay);
5055
+ _this2.player.bind('play', _this2.onPlay);
5049
5056
 
5050
- _this2.player.bind('pause', onPause);
5057
+ _this2.player.bind('pause', _this2.onPause);
5051
5058
 
5052
- _this2.player.bind('seek', onSeek);
5059
+ _this2.player.bind('seek', _this2.onSeek);
5053
5060
 
5054
- _this2.player.bind('end', onEnded);
5061
+ _this2.player.bind('end', _this2.onEnded);
5055
5062
 
5056
5063
  _onReady();
5057
5064
  }
5058
5065
  });
5059
5066
  }, onError);
5060
5067
  }
5068
+ }, {
5069
+ key: "unbind",
5070
+ value: function unbind() {
5071
+ this.player.unbind('play', this.onPlay);
5072
+ this.player.unbind('pause', this.onPause);
5073
+ this.player.unbind('seek', this.onSeek);
5074
+ this.player.unbind('end', this.onEnded);
5075
+ } // Proxy methods to prevent listener leaks
5076
+
5061
5077
  }, {
5062
5078
  key: "play",
5063
5079
  value: function play() {
@@ -5068,19 +5084,6 @@ function (_Component) {
5068
5084
  value: function pause() {
5069
5085
  this.callPlayer('pause');
5070
5086
  }
5071
- }, {
5072
- key: "unbind",
5073
- value: function unbind() {
5074
- var _this$props2 = this.props,
5075
- onPlay = _this$props2.onPlay,
5076
- onPause = _this$props2.onPause,
5077
- onSeek = _this$props2.onSeek,
5078
- onEnded = _this$props2.onEnded;
5079
- this.player.unbind('play', onPlay);
5080
- this.player.unbind('pause', onPause);
5081
- this.player.unbind('seek', onSeek);
5082
- this.player.unbind('end', onEnded);
5083
- }
5084
5087
  }, {
5085
5088
  key: "stop",
5086
5089
  value: function stop() {
@@ -5126,7 +5129,7 @@ function (_Component) {
5126
5129
  width: '100%',
5127
5130
  height: '100%'
5128
5131
  };
5129
- return _react["default"].createElement("div", {
5132
+ return /*#__PURE__*/_react["default"].createElement("div", {
5130
5133
  key: id,
5131
5134
  className: className,
5132
5135
  style: style
@@ -5153,7 +5156,7 @@ exports["default"] = _default;
5153
5156
  });
5154
5157
 
5155
5158
  unwrapExports(Wistia_1);
5156
- var Wistia_2 = Wistia_1.Wistia;
5159
+ Wistia_1.Wistia;
5157
5160
 
5158
5161
  var Twitch_1 = createCommonjsModule(function (module, exports) {
5159
5162
 
@@ -5186,12 +5189,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5186
5189
 
5187
5190
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5188
5191
 
5189
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5192
+ 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); }; }
5190
5193
 
5191
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5194
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5192
5195
 
5193
5196
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5194
5197
 
5198
+ 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; } }
5199
+
5200
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5201
+
5195
5202
  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); }
5196
5203
 
5197
5204
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5204,14 +5211,12 @@ var MATCH_VIDEO_URL = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;
5204
5211
  var MATCH_CHANNEL_URL = /(?:www\.|go\.)?twitch\.tv\/([a-z0-9_]+)($|\?)/;
5205
5212
  var PLAYER_ID_PREFIX = 'twitch-player-';
5206
5213
 
5207
- var Twitch =
5208
- /*#__PURE__*/
5209
- function (_Component) {
5214
+ var Twitch = /*#__PURE__*/function (_Component) {
5210
5215
  _inherits(Twitch, _Component);
5211
5216
 
5212
- function Twitch() {
5213
- var _getPrototypeOf2;
5217
+ var _super = _createSuper(Twitch);
5214
5218
 
5219
+ function Twitch() {
5215
5220
  var _this;
5216
5221
 
5217
5222
  _classCallCheck(this, Twitch);
@@ -5220,7 +5225,7 @@ function (_Component) {
5220
5225
  args[_key] = arguments[_key];
5221
5226
  }
5222
5227
 
5223
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Twitch)).call.apply(_getPrototypeOf2, [this].concat(args)));
5228
+ _this = _super.call.apply(_super, [this].concat(args));
5224
5229
 
5225
5230
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5226
5231
 
@@ -5341,7 +5346,7 @@ function (_Component) {
5341
5346
  width: '100%',
5342
5347
  height: '100%'
5343
5348
  };
5344
- return _react["default"].createElement("div", {
5349
+ return /*#__PURE__*/_react["default"].createElement("div", {
5345
5350
  style: style,
5346
5351
  id: this.playerID
5347
5352
  });
@@ -5367,7 +5372,7 @@ exports["default"] = _default;
5367
5372
  });
5368
5373
 
5369
5374
  unwrapExports(Twitch_1);
5370
- var Twitch_2 = Twitch_1.Twitch;
5375
+ Twitch_1.Twitch;
5371
5376
 
5372
5377
  var DailyMotion_1 = createCommonjsModule(function (module, exports) {
5373
5378
 
@@ -5394,11 +5399,15 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
5394
5399
 
5395
5400
  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; }
5396
5401
 
5397
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
5402
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5403
+
5404
+ 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."); }
5405
+
5406
+ 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
5407
 
5399
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
5408
+ 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; }
5400
5409
 
5401
- 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; }
5410
+ 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; }
5402
5411
 
5403
5412
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
5404
5413
 
@@ -5408,12 +5417,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5408
5417
 
5409
5418
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5410
5419
 
5411
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5420
+ 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); }; }
5412
5421
 
5413
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5422
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5414
5423
 
5415
5424
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5416
5425
 
5426
+ 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; } }
5427
+
5428
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5429
+
5417
5430
  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); }
5418
5431
 
5419
5432
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5425,14 +5438,12 @@ var SDK_GLOBAL = 'DM';
5425
5438
  var SDK_GLOBAL_READY = 'dmAsyncInit';
5426
5439
  var MATCH_URL = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;
5427
5440
 
5428
- var DailyMotion =
5429
- /*#__PURE__*/
5430
- function (_Component) {
5441
+ var DailyMotion = /*#__PURE__*/function (_Component) {
5431
5442
  _inherits(DailyMotion, _Component);
5432
5443
 
5433
- function DailyMotion() {
5434
- var _getPrototypeOf2;
5444
+ var _super = _createSuper(DailyMotion);
5435
5445
 
5446
+ function DailyMotion() {
5436
5447
  var _this;
5437
5448
 
5438
5449
  _classCallCheck(this, DailyMotion);
@@ -5441,7 +5452,7 @@ function (_Component) {
5441
5452
  args[_key] = arguments[_key];
5442
5453
  }
5443
5454
 
5444
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(DailyMotion)).call.apply(_getPrototypeOf2, [this].concat(args)));
5455
+ _this = _super.call.apply(_super, [this].concat(args));
5445
5456
 
5446
5457
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5447
5458
 
@@ -5570,9 +5581,9 @@ function (_Component) {
5570
5581
  height: '100%',
5571
5582
  display: display
5572
5583
  };
5573
- return _react["default"].createElement("div", {
5584
+ return /*#__PURE__*/_react["default"].createElement("div", {
5574
5585
  style: style
5575
- }, _react["default"].createElement("div", {
5586
+ }, /*#__PURE__*/_react["default"].createElement("div", {
5576
5587
  ref: this.ref
5577
5588
  }));
5578
5589
  }
@@ -5597,7 +5608,7 @@ exports["default"] = _default;
5597
5608
  });
5598
5609
 
5599
5610
  unwrapExports(DailyMotion_1);
5600
- var DailyMotion_2 = DailyMotion_1.DailyMotion;
5611
+ DailyMotion_1.DailyMotion;
5601
5612
 
5602
5613
  var Mixcloud_1 = createCommonjsModule(function (module, exports) {
5603
5614
 
@@ -5630,12 +5641,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5630
5641
 
5631
5642
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5632
5643
 
5633
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5644
+ 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); }; }
5634
5645
 
5635
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5646
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5636
5647
 
5637
5648
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5638
5649
 
5650
+ 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; } }
5651
+
5652
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5653
+
5639
5654
  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); }
5640
5655
 
5641
5656
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5646,14 +5661,12 @@ var SDK_URL = 'https://widget.mixcloud.com/media/js/widgetApi.js';
5646
5661
  var SDK_GLOBAL = 'Mixcloud';
5647
5662
  var MATCH_URL = /mixcloud\.com\/([^/]+\/[^/]+)/;
5648
5663
 
5649
- var Mixcloud =
5650
- /*#__PURE__*/
5651
- function (_Component) {
5664
+ var Mixcloud = /*#__PURE__*/function (_Component) {
5652
5665
  _inherits(Mixcloud, _Component);
5653
5666
 
5654
- function Mixcloud() {
5655
- var _getPrototypeOf2;
5667
+ var _super = _createSuper(Mixcloud);
5656
5668
 
5669
+ function Mixcloud() {
5657
5670
  var _this;
5658
5671
 
5659
5672
  _classCallCheck(this, Mixcloud);
@@ -5662,7 +5675,7 @@ function (_Component) {
5662
5675
  args[_key] = arguments[_key];
5663
5676
  }
5664
5677
 
5665
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Mixcloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
5678
+ _this = _super.call.apply(_super, [this].concat(args));
5666
5679
 
5667
5680
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5668
5681
 
@@ -5765,7 +5778,7 @@ function (_Component) {
5765
5778
  })); // We have to give the iframe a key here to prevent a
5766
5779
  // weird dialog appearing when loading a new track
5767
5780
 
5768
- return _react["default"].createElement("iframe", {
5781
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
5769
5782
  key: id,
5770
5783
  ref: this.ref,
5771
5784
  style: style,
@@ -5794,7 +5807,7 @@ exports["default"] = _default;
5794
5807
  });
5795
5808
 
5796
5809
  unwrapExports(Mixcloud_1);
5797
- var Mixcloud_2 = Mixcloud_1.Mixcloud;
5810
+ Mixcloud_1.Mixcloud;
5798
5811
 
5799
5812
  var FilePlayer_1 = createCommonjsModule(function (module, exports) {
5800
5813
 
@@ -5825,23 +5838,33 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5825
5838
 
5826
5839
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5827
5840
 
5828
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5841
+ 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); }; }
5829
5842
 
5830
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5843
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5831
5844
 
5832
5845
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5833
5846
 
5847
+ 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; } }
5848
+
5849
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5850
+
5834
5851
  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); }
5835
5852
 
5836
5853
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
5837
5854
 
5838
5855
  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; }
5839
5856
 
5857
+ 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; } } }; }
5858
+
5859
+ 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); }
5860
+
5861
+ 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; }
5862
+
5840
5863
  var IOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
5841
5864
  var AUDIO_EXTENSIONS = /\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;
5842
5865
  var VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i;
5843
5866
  var HLS_EXTENSIONS = /\.(m3u8)($|\?)/i;
5844
- var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION';
5867
+ var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js';
5845
5868
  var HLS_GLOBAL = 'Hls';
5846
5869
  var DASH_EXTENSIONS = /\.(mpd)($|\?)/i;
5847
5870
  var DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js';
@@ -5850,12 +5873,11 @@ var MATCH_DROPBOX_URL = /www\.dropbox\.com\/.+/;
5850
5873
 
5851
5874
  function canPlay(url) {
5852
5875
  if (url instanceof Array) {
5853
- var _iteratorNormalCompletion = true;
5854
- var _didIteratorError = false;
5855
- var _iteratorError = undefined;
5876
+ var _iterator = _createForOfIteratorHelper(url),
5877
+ _step;
5856
5878
 
5857
5879
  try {
5858
- for (var _iterator = url[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
5880
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
5859
5881
  var item = _step.value;
5860
5882
 
5861
5883
  if (typeof item === 'string' && canPlay(item)) {
@@ -5867,18 +5889,9 @@ function canPlay(url) {
5867
5889
  }
5868
5890
  }
5869
5891
  } catch (err) {
5870
- _didIteratorError = true;
5871
- _iteratorError = err;
5892
+ _iterator.e(err);
5872
5893
  } finally {
5873
- try {
5874
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
5875
- _iterator["return"]();
5876
- }
5877
- } finally {
5878
- if (_didIteratorError) {
5879
- throw _iteratorError;
5880
- }
5881
- }
5894
+ _iterator.f();
5882
5895
  }
5883
5896
 
5884
5897
  return false;
@@ -5902,14 +5915,12 @@ function canEnablePIP(url) {
5902
5915
  return canPlay(url) && (!!document.pictureInPictureEnabled || supportsWebKitPresentationMode()) && !AUDIO_EXTENSIONS.test(url);
5903
5916
  }
5904
5917
 
5905
- var FilePlayer =
5906
- /*#__PURE__*/
5907
- function (_Component) {
5918
+ var FilePlayer = /*#__PURE__*/function (_Component) {
5908
5919
  _inherits(FilePlayer, _Component);
5909
5920
 
5910
- function FilePlayer() {
5911
- var _getPrototypeOf2;
5921
+ var _super = _createSuper(FilePlayer);
5912
5922
 
5923
+ function FilePlayer() {
5913
5924
  var _this;
5914
5925
 
5915
5926
  _classCallCheck(this, FilePlayer);
@@ -5918,7 +5929,7 @@ function (_Component) {
5918
5929
  _args[_key] = arguments[_key];
5919
5930
  }
5920
5931
 
5921
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(FilePlayer)).call.apply(_getPrototypeOf2, [this].concat(_args)));
5932
+ _this = _super.call.apply(_super, [this].concat(_args));
5922
5933
 
5923
5934
  _defineProperty(_assertThisInitialized(_this), "onReady", function () {
5924
5935
  var _this$props;
@@ -6005,19 +6016,19 @@ function (_Component) {
6005
6016
 
6006
6017
  _defineProperty(_assertThisInitialized(_this), "renderSourceElement", function (source, index) {
6007
6018
  if (typeof source === 'string') {
6008
- return _react["default"].createElement("source", {
6019
+ return /*#__PURE__*/_react["default"].createElement("source", {
6009
6020
  key: index,
6010
6021
  src: source
6011
6022
  });
6012
6023
  }
6013
6024
 
6014
- return _react["default"].createElement("source", _extends({
6025
+ return /*#__PURE__*/_react["default"].createElement("source", _extends({
6015
6026
  key: index
6016
6027
  }, source));
6017
6028
  });
6018
6029
 
6019
6030
  _defineProperty(_assertThisInitialized(_this), "renderTrack", function (track, index) {
6020
- return _react["default"].createElement("track", _extends({
6031
+ return /*#__PURE__*/_react["default"].createElement("track", _extends({
6021
6032
  key: index
6022
6033
  }, track));
6023
6034
  });
@@ -6055,6 +6066,10 @@ function (_Component) {
6055
6066
  key: "componentWillUnmount",
6056
6067
  value: function componentWillUnmount() {
6057
6068
  this.removeListeners(this.player);
6069
+
6070
+ if (this.hls) {
6071
+ this.hls.destroy();
6072
+ }
6058
6073
  }
6059
6074
  }, {
6060
6075
  key: "addListeners",
@@ -6185,10 +6200,6 @@ function (_Component) {
6185
6200
  value: function stop() {
6186
6201
  this.player.removeAttribute('src');
6187
6202
 
6188
- if (this.hls) {
6189
- this.hls.destroy();
6190
- }
6191
-
6192
6203
  if (this.dash) {
6193
6204
  this.dash.reset();
6194
6205
  }
@@ -6300,7 +6311,7 @@ function (_Component) {
6300
6311
  width: width === 'auto' ? width : '100%',
6301
6312
  height: height === 'auto' ? height : '100%'
6302
6313
  };
6303
- return _react["default"].createElement(Element, _extends({
6314
+ return /*#__PURE__*/_react["default"].createElement(Element, _extends({
6304
6315
  ref: this.ref,
6305
6316
  src: this.getSource(url),
6306
6317
  style: style,
@@ -6330,7 +6341,7 @@ exports["default"] = _default;
6330
6341
  });
6331
6342
 
6332
6343
  unwrapExports(FilePlayer_1);
6333
- var FilePlayer_2 = FilePlayer_1.FilePlayer;
6344
+ FilePlayer_1.FilePlayer;
6334
6345
 
6335
6346
  var players = createCommonjsModule(function (module, exports) {
6336
6347
 
@@ -6390,12 +6401,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6390
6401
 
6391
6402
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6392
6403
 
6393
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6404
+ 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); }; }
6394
6405
 
6395
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6406
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6396
6407
 
6397
6408
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6398
6409
 
6410
+ 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; } }
6411
+
6412
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6413
+
6399
6414
  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); }
6400
6415
 
6401
6416
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6404,14 +6419,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6404
6419
 
6405
6420
  var ICON_SIZE = '64px';
6406
6421
 
6407
- var Preview =
6408
- /*#__PURE__*/
6409
- function (_Component) {
6422
+ var Preview = /*#__PURE__*/function (_Component) {
6410
6423
  _inherits(Preview, _Component);
6411
6424
 
6412
- function Preview() {
6413
- var _getPrototypeOf2;
6425
+ var _super = _createSuper(Preview);
6414
6426
 
6427
+ function Preview() {
6415
6428
  var _this;
6416
6429
 
6417
6430
  _classCallCheck(this, Preview);
@@ -6420,7 +6433,7 @@ function (_Component) {
6420
6433
  args[_key] = arguments[_key];
6421
6434
  }
6422
6435
 
6423
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Preview)).call.apply(_getPrototypeOf2, [this].concat(args)));
6436
+ _this = _super.call.apply(_super, [this].concat(args));
6424
6437
 
6425
6438
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
6426
6439
 
@@ -6518,15 +6531,15 @@ function (_Component) {
6518
6531
  }
6519
6532
  };
6520
6533
 
6521
- var defaultPlayIcon = _react["default"].createElement("div", {
6534
+ var defaultPlayIcon = /*#__PURE__*/_react["default"].createElement("div", {
6522
6535
  style: styles.shadow,
6523
6536
  className: "react-player__shadow"
6524
- }, _react["default"].createElement("div", {
6537
+ }, /*#__PURE__*/_react["default"].createElement("div", {
6525
6538
  style: styles.playIcon,
6526
6539
  className: "react-player__play-icon"
6527
6540
  }));
6528
6541
 
6529
- return _react["default"].createElement("div", {
6542
+ return /*#__PURE__*/_react["default"].createElement("div", {
6530
6543
  style: styles.preview,
6531
6544
  className: "react-player__preview",
6532
6545
  onClick: onClick
@@ -6563,6 +6576,12 @@ var _Player = _interopRequireDefault(Player_1);
6563
6576
 
6564
6577
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
6565
6578
 
6579
+ 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; } } }; }
6580
+
6581
+ 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); }
6582
+
6583
+ 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; }
6584
+
6566
6585
  var PRELOAD_PLAYERS = [{
6567
6586
  Player: YouTube_1.YouTube,
6568
6587
  configKey: 'youtube',
@@ -6583,16 +6602,16 @@ var PRELOAD_PLAYERS = [{
6583
6602
 
6584
6603
  function renderPreloadPlayers(url, controls, config) {
6585
6604
  var players = [];
6586
- var _iteratorNormalCompletion = true;
6587
- var _didIteratorError = false;
6588
- var _iteratorError = undefined;
6605
+
6606
+ var _iterator = _createForOfIteratorHelper(PRELOAD_PLAYERS),
6607
+ _step;
6589
6608
 
6590
6609
  try {
6591
- for (var _iterator = PRELOAD_PLAYERS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
6610
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
6592
6611
  var player = _step.value;
6593
6612
 
6594
6613
  if (!player.Player.canPlay(url) && config[player.configKey].preload) {
6595
- players.push(_react["default"].createElement(_Player["default"], {
6614
+ players.push( /*#__PURE__*/_react["default"].createElement(_Player["default"], {
6596
6615
  key: player.Player.displayName,
6597
6616
  activePlayer: player.Player,
6598
6617
  url: player.url,
@@ -6604,18 +6623,9 @@ function renderPreloadPlayers(url, controls, config) {
6604
6623
  }
6605
6624
  }
6606
6625
  } catch (err) {
6607
- _didIteratorError = true;
6608
- _iteratorError = err;
6626
+ _iterator.e(err);
6609
6627
  } finally {
6610
- try {
6611
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
6612
- _iterator["return"]();
6613
- }
6614
- } finally {
6615
- if (_didIteratorError) {
6616
- throw _iteratorError;
6617
- }
6618
- }
6628
+ _iterator.f();
6619
6629
  }
6620
6630
 
6621
6631
  return players;
@@ -6739,13 +6749,17 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
6739
6749
 
6740
6750
  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); }
6741
6751
 
6742
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
6752
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
6743
6753
 
6744
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
6754
+ 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."); }
6745
6755
 
6746
- function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
6756
+ 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); }
6747
6757
 
6748
- 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; } }
6758
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
6759
+
6760
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6761
+
6762
+ 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; }
6749
6763
 
6750
6764
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6751
6765
 
@@ -6753,12 +6767,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6753
6767
 
6754
6768
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6755
6769
 
6756
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6770
+ 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); }; }
6757
6771
 
6758
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6772
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6759
6773
 
6760
6774
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6761
6775
 
6776
+ 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; } }
6777
+
6778
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6779
+
6762
6780
  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); }
6763
6781
 
6764
6782
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6768,14 +6786,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6768
6786
  var SUPPORTED_PROPS = Object.keys(props.propTypes);
6769
6787
  var customPlayers = [];
6770
6788
 
6771
- var ReactPlayer =
6772
- /*#__PURE__*/
6773
- function (_Component) {
6789
+ var ReactPlayer = /*#__PURE__*/function (_Component) {
6774
6790
  _inherits(ReactPlayer, _Component);
6775
6791
 
6776
- function ReactPlayer() {
6777
- var _getPrototypeOf2;
6792
+ var _super = _createSuper(ReactPlayer);
6778
6793
 
6794
+ function ReactPlayer() {
6779
6795
  var _this;
6780
6796
 
6781
6797
  _classCallCheck(this, ReactPlayer);
@@ -6784,7 +6800,7 @@ function (_Component) {
6784
6800
  args[_key] = arguments[_key];
6785
6801
  }
6786
6802
 
6787
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(ReactPlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
6803
+ _this = _super.call.apply(_super, [this].concat(args));
6788
6804
 
6789
6805
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
6790
6806
 
@@ -6895,7 +6911,7 @@ function (_Component) {
6895
6911
  key: "renderActivePlayer",
6896
6912
  value: function renderActivePlayer(url, activePlayer) {
6897
6913
  if (!url) return null;
6898
- return _react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6914
+ return /*#__PURE__*/_react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6899
6915
  key: activePlayer.displayName,
6900
6916
  ref: this.activePlayerRef,
6901
6917
  config: this.config,
@@ -6932,14 +6948,14 @@ function (_Component) {
6932
6948
  var preloadPlayers = (0, _preload["default"])(url, controls, this.config);
6933
6949
  var players = [renderedActivePlayer].concat(_toConsumableArray(preloadPlayers)).sort(this.sortPlayers);
6934
6950
 
6935
- var preview = _react["default"].createElement(_Preview["default"], {
6951
+ var preview = /*#__PURE__*/_react["default"].createElement(_Preview["default"], {
6936
6952
  url: url,
6937
6953
  light: light,
6938
6954
  playIcon: playIcon,
6939
6955
  onClick: this.handleClickPreview
6940
6956
  });
6941
6957
 
6942
- return _react["default"].createElement(Wrapper, _extends({
6958
+ return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
6943
6959
  ref: this.wrapperRef,
6944
6960
  style: _objectSpread({}, style, {
6945
6961
  width: width,
@@ -7261,8 +7277,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7261
7277
  var duration = player.getDuration();
7262
7278
  var queue = Math.floor(duration / 10);
7263
7279
  var segment = Math.floor(current / queue);
7264
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
7265
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
7280
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
7281
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
7266
7282
  //autoplay
7267
7283
 
7268
7284
  //Small pause before starting next video
@@ -7282,8 +7298,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7282
7298
  var queue = Math.floor(duration / 10);
7283
7299
  var segment = Math.floor(current / queue);
7284
7300
 
7285
- Beam.report_beam_video('End', main_16, duration, current, segment);
7286
- Segment.report_video_event('Video End', main_16, duration, current, segment);
7301
+ Beam.report_beam_video('End', main_18, duration, current, segment);
7302
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
7287
7303
  setEndReported(true);
7288
7304
  clearInterval(intervalID);
7289
7305
  }
@@ -7333,8 +7349,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7333
7349
  var queue = Math.floor(duration / 10);
7334
7350
  var segment = Math.floor(current / queue);
7335
7351
  if (!queueProgress.includes(segment)) {
7336
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
7337
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
7352
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
7353
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
7338
7354
  queueProgress.push(segment);
7339
7355
  }
7340
7356
  };
@@ -7347,8 +7363,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7347
7363
  var queue = Math.floor(duration / 10);
7348
7364
  var segment = Math.floor(current / queue);
7349
7365
 
7350
- Beam.report_beam_video('Play', main_16, duration, current, segment);
7351
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
7366
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
7367
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
7352
7368
 
7353
7369
  if (!playReported) {
7354
7370
  setPlayReported(true);
@@ -7366,8 +7382,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7366
7382
  var queue = Math.floor(duration / 10);
7367
7383
  var segment = Math.floor(current / queue);
7368
7384
 
7369
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
7370
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
7385
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
7386
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
7371
7387
  };
7372
7388
 
7373
7389
  // Youtube Options
@@ -7485,7 +7501,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7485
7501
  React__default.createElement(
7486
7502
  'div',
7487
7503
  { className: 'vid-text' },
7488
- 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()))
7504
+ 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()))
7489
7505
  ),
7490
7506
  React__default.createElement(
7491
7507
  'style',
@@ -7495,14 +7511,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7495
7511
  );
7496
7512
  };
7497
7513
 
7498
- var Poll = function Poll(_ref) {
7499
- var node = _ref.node,
7500
- client = _ref.client,
7501
- pageview = _ref.pageview,
7502
- videoAccountIDs = _ref.videoAccountIDs,
7503
- onVote = _ref.onVote,
7504
- _ref$showVotes = _ref.showVotes,
7505
- getSerializers = _ref.getSerializers;
7514
+ var Poll$1 = function Poll(_ref) {
7515
+ var node = _ref.node;
7516
+ _ref.client;
7517
+ _ref.pageview;
7518
+ _ref.videoAccountIDs;
7519
+ var onVote = _ref.onVote;
7520
+ _ref.showVotes;
7521
+ var getSerializers = _ref.getSerializers;
7506
7522
 
7507
7523
  var _useState = useState(null),
7508
7524
  _useState2 = _slicedToArray(_useState, 2),
@@ -7636,22 +7652,22 @@ _export(_export.S, 'Object', {
7636
7652
  }
7637
7653
  });
7638
7654
 
7639
- var values = _core.Object.values;
7655
+ var values$1 = _core.Object.values;
7640
7656
 
7641
- var values$1 = createCommonjsModule(function (module) {
7642
- module.exports = { "default": values, __esModule: true };
7657
+ var values = createCommonjsModule(function (module) {
7658
+ module.exports = { "default": values$1, __esModule: true };
7643
7659
  });
7644
7660
 
7645
- var _Object$values = unwrapExports(values$1);
7661
+ var _Object$values = unwrapExports(values);
7646
7662
 
7647
- var Poll$1 = function Poll(_ref) {
7648
- var node = _ref.node,
7649
- client = _ref.client,
7650
- pageview = _ref.pageview,
7651
- videoAccountIDs = _ref.videoAccountIDs,
7652
- onVote = _ref.onVote,
7653
- _ref$showVotes = _ref.showVotes,
7654
- getSerializers = _ref.getSerializers;
7663
+ var Poll = function Poll(_ref) {
7664
+ var node = _ref.node;
7665
+ _ref.client;
7666
+ _ref.pageview;
7667
+ _ref.videoAccountIDs;
7668
+ var onVote = _ref.onVote;
7669
+ _ref.showVotes;
7670
+ var getSerializers = _ref.getSerializers;
7655
7671
 
7656
7672
  var _useState = useState(null),
7657
7673
  _useState2 = _slicedToArray(_useState, 2),
@@ -7803,7 +7819,7 @@ var Poll$1 = function Poll(_ref) {
7803
7819
  );
7804
7820
  };
7805
7821
 
7806
- var numberOfPaginations = main_35 ? 4 : 10;
7822
+ var numberOfPaginations = main_42 ? 4 : 10;
7807
7823
 
7808
7824
  var Quiz = function Quiz(_ref) {
7809
7825
  var quizzes = _ref.quizzes,
@@ -7922,33 +7938,33 @@ var Quiz = function Quiz(_ref) {
7922
7938
 
7923
7939
  var renderPagination = function renderPagination() {
7924
7940
  return React__default.createElement(
7925
- Pagination$1,
7926
- { className: 'p-0 m-0', size: main_35 && 'sm' },
7927
- React__default.createElement(Pagination$1.First, { onClick: function onClick() {
7941
+ Pagination,
7942
+ { className: 'p-0 m-0', size: main_42 && 'sm' },
7943
+ React__default.createElement(Pagination.First, { onClick: function onClick() {
7928
7944
  return changePage('first');
7929
7945
  }, disabled: currentPage === 1 }),
7930
- React__default.createElement(Pagination$1.Prev, { onClick: function onClick() {
7946
+ React__default.createElement(Pagination.Prev, { onClick: function onClick() {
7931
7947
  return changePage('prev');
7932
7948
  }, disabled: currentPage === 1 }),
7933
- React__default.createElement(Pagination$1.Ellipsis, { onClick: function onClick() {
7949
+ React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
7934
7950
  return renderNewPages('prev');
7935
7951
  }, disabled: !validateIndex(startIndex - numberOfPaginations) }),
7936
7952
  pages.map(function (page) {
7937
7953
  return React__default.createElement(
7938
- Pagination$1.Item,
7954
+ Pagination.Item,
7939
7955
  { key: page, active: page === currentPage, onClick: function onClick() {
7940
7956
  return changePage(page);
7941
7957
  } },
7942
7958
  page
7943
7959
  );
7944
7960
  }),
7945
- React__default.createElement(Pagination$1.Ellipsis, { onClick: function onClick() {
7961
+ React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
7946
7962
  return renderNewPages('next');
7947
7963
  }, disabled: !validateIndex(startIndex + numberOfPaginations) }),
7948
- React__default.createElement(Pagination$1.Next, { onClick: function onClick() {
7964
+ React__default.createElement(Pagination.Next, { onClick: function onClick() {
7949
7965
  return changePage('next');
7950
7966
  }, disabled: currentPage === pageCount }),
7951
- React__default.createElement(Pagination$1.Last, { onClick: function onClick() {
7967
+ React__default.createElement(Pagination.Last, { onClick: function onClick() {
7952
7968
  return changePage('last');
7953
7969
  }, disabled: currentPage === pageCount })
7954
7970
  );
@@ -8093,19 +8109,20 @@ var Leads = function Leads(_ref) {
8093
8109
  );
8094
8110
  };
8095
8111
 
8096
- var Slideshow$1 = function Slideshow(_ref) {
8112
+ var Slideshow = function Slideshow(_ref) {
8097
8113
  var slides = _ref.node.slides,
8098
8114
  client = _ref.client,
8099
8115
  pageview = _ref.pageview,
8100
8116
  getSerializers = _ref.getSerializers;
8101
8117
 
8102
8118
  var router = useRouter();
8119
+ var carouselRef = useRef(null);
8103
8120
  var pageNumber = router && router.asPath && router.asPath.split('?page=')[1];
8104
8121
 
8105
8122
  var _useState = useState(!pageNumber || isNaN(pageNumber) || pageNumber > slides.length ? 0 : pageNumber - 1),
8106
8123
  _useState2 = _slicedToArray(_useState, 2),
8107
- carouselIndex = _useState2[0],
8108
- setCarouselIndex = _useState2[1];
8124
+ carouselIndex = _useState2[0];
8125
+ _useState2[1];
8109
8126
 
8110
8127
  // useEffect(() => {
8111
8128
  // let itemArr = router.asPath.split('?page=')
@@ -8126,12 +8143,14 @@ var Slideshow$1 = function Slideshow(_ref) {
8126
8143
  var pageNumber = selectedIndex + 1;
8127
8144
  var href = '/view/' + router.query.url + '?page=' + pageNumber;
8128
8145
  router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
8129
- setCarouselIndex(selectedIndex);
8146
+ if (carouselRef) {
8147
+ carouselRef.current.scrollIntoView();
8148
+ }
8130
8149
  };
8131
8150
 
8132
8151
  return React__default.createElement(
8133
8152
  'div',
8134
- { className: 'mt-3 mb-4' },
8153
+ { ref: carouselRef, className: 'mt-3 mb-4' },
8135
8154
  React__default.createElement(
8136
8155
  Carousel,
8137
8156
  { activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
@@ -8144,24 +8163,15 @@ var Slideshow$1 = function Slideshow(_ref) {
8144
8163
  'a',
8145
8164
  { href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
8146
8165
  React__default.createElement(
8147
- 'div',
8148
- { className: 'embed-responsive embed-responsive-slide' },
8166
+ LazyLoad,
8167
+ null,
8149
8168
  React__default.createElement(
8150
- LazyLoad,
8169
+ 'picture',
8151
8170
  null,
8152
- React__default.createElement(
8153
- 'picture',
8154
- null,
8155
- React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
8156
- React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
8157
- React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
8158
- React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-responsive-item' })
8159
- )
8160
- ),
8161
- React__default.createElement(
8162
- 'style',
8163
- { jsx: 'true' },
8164
- '\n .embed-responsive-slide::before {\n padding-top: ' + slide.slideshowImage.height / slide.slideshowImage.width * 100 + '%;\n }\n '
8171
+ React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
8172
+ React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
8173
+ React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
8174
+ React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8165
8175
  )
8166
8176
  )
8167
8177
  ),
@@ -8249,7 +8259,7 @@ var MultiMedia = function MultiMedia(props) {
8249
8259
  { xs: 12, md: 12 / medias.length, key: media._key },
8250
8260
  React__default.createElement(
8251
8261
  'a',
8252
- _extends$1({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
8262
+ _extends({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
8253
8263
  style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
8254
8264
  React__default.createElement(
8255
8265
  'div',
@@ -8544,7 +8554,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8544
8554
 
8545
8555
  var renderAuthorBiography = function renderAuthorBiography(biography) {
8546
8556
  if (biography) {
8547
- return React__default.createElement(BlockContent, _extends$1({ serializers: getSerializers, blocks: [biography] }, client.config()));
8557
+ return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
8548
8558
  }
8549
8559
  };
8550
8560
 
@@ -8630,7 +8640,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8630
8640
  //console.log('useLayoutEffect')
8631
8641
  if (!firstLoad) {
8632
8642
  setUpArrowClicked(false);
8633
- if (main_36) {
8643
+ if (main_43) {
8634
8644
  grabLoadedAds();
8635
8645
  } else {
8636
8646
  scrollToArticle();
@@ -8654,7 +8664,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8654
8664
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8655
8665
  if (pageview) pageview(path);
8656
8666
 
8657
- if (!main_36) {
8667
+ if (!main_43) {
8658
8668
  lib_3.getGoogletag().then(function (googletag) {
8659
8669
  if (window.googletag && googletag.pubadsReady) {
8660
8670
  lib_3.refresh();
@@ -8662,7 +8672,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8662
8672
  });
8663
8673
  }
8664
8674
  //Refresh leaderboard ad on mobile
8665
- if (main_36) {
8675
+ if (main_43) {
8666
8676
  var leaderboardSlotId = '';
8667
8677
  lib_3.getGoogletag().then(function (googletag) {
8668
8678
  if (window.googletag && googletag.pubadsReady) {
@@ -8731,7 +8741,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8731
8741
  React__default.createElement(
8732
8742
  'div',
8733
8743
  { className: 'ad-box', style: { textAlign: 'center' } },
8734
- main_36 && Ads.map(function (ad, index) {
8744
+ main_43 && Ads.map(function (ad, index) {
8735
8745
  if (index === 0) {
8736
8746
  return React__default.createElement(
8737
8747
  'div',
@@ -8822,7 +8832,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8822
8832
  React__default.createElement(
8823
8833
  'div',
8824
8834
  { className: 'mt-2 mb-2' },
8825
- React__default.createElement(BlockContent, _extends$1({
8835
+ React__default.createElement(BlockContent, _extends({
8826
8836
  serializers: getSerializers,
8827
8837
  videoAccountIDs: accountIDs,
8828
8838
  blocks: article.text,
@@ -8853,7 +8863,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8853
8863
  React__default.createElement(
8854
8864
  'div',
8855
8865
  { className: 'ad-box', style: { textAlign: 'center' } },
8856
- main_36 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8866
+ main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8857
8867
  if (innerIndex === 0) {
8858
8868
  return React__default.createElement(
8859
8869
  'div',
@@ -8926,7 +8936,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
8926
8936
  }
8927
8937
  };
8928
8938
 
8929
- var FigureImage = React__default.memo(function (_ref2) {
8939
+ var FigureImage$1 = React__default.memo(function (_ref2) {
8930
8940
  var node = _ref2.node,
8931
8941
  client = _ref2.client,
8932
8942
  imgAlt = _ref2.imgAlt,
@@ -8940,7 +8950,7 @@ var FigureImage = React__default.memo(function (_ref2) {
8940
8950
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
8941
8951
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
8942
8952
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
8943
- React__default.createElement('img', _extends$1({
8953
+ React__default.createElement('img', _extends({
8944
8954
  style: figureImageStyle,
8945
8955
  className: 'figure-image',
8946
8956
  src: urlFor({ source: node, client: client }),
@@ -9055,17 +9065,17 @@ var FigureComponent = function FigureComponent(props) {
9055
9065
  React__default.Fragment,
9056
9066
  null,
9057
9067
  React__default.createElement(
9058
- Figure$1$1,
9068
+ Figure$2,
9059
9069
  { className: '' + class_name, style: figureStyle },
9060
9070
  link ? React__default.createElement(
9061
9071
  'a',
9062
9072
  { target: blank ? '_blank' : '_self', href: link },
9063
- React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
9073
+ React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
9064
9074
  React__default.createElement(FigureCaption, null)
9065
9075
  ) : React__default.createElement(
9066
9076
  React__default.Fragment,
9067
9077
  null,
9068
- React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
9078
+ React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
9069
9079
  React__default.createElement(FigureCaption, null)
9070
9080
  ),
9071
9081
  React__default.createElement(LightBox, {
@@ -9102,7 +9112,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
9102
9112
  }, [ref]);
9103
9113
  }
9104
9114
 
9105
- var FigureImage$1 = React__default.memo(function (_ref) {
9115
+ var FigureImage = React__default.memo(function (_ref) {
9106
9116
  var imagesCount = _ref.imagesCount,
9107
9117
  image = _ref.image,
9108
9118
  client = _ref.client,
@@ -9116,7 +9126,7 @@ var FigureImage$1 = React__default.memo(function (_ref) {
9116
9126
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
9117
9127
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
9118
9128
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
9119
- React__default.createElement('img', _extends$1({
9129
+ React__default.createElement('img', _extends({
9120
9130
  'images-count': imagesCount,
9121
9131
  className: 'multi-figure-image',
9122
9132
  src: urlFor({ source: image, client: client }),
@@ -9181,14 +9191,14 @@ var MultiFigure = function MultiFigure(props) {
9181
9191
  { xs: 12, md: 12 / images.length, key: index },
9182
9192
  image.link ? React__default.createElement(
9183
9193
  'a',
9184
- _extends$1({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9194
+ _extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9185
9195
  React__default.createElement(
9186
9196
  'div',
9187
9197
  { className: 'multi-figure-image-container' },
9188
9198
  React__default.createElement(
9189
9199
  LazyLoad,
9190
9200
  { once: true },
9191
- React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
9201
+ React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
9192
9202
  ),
9193
9203
  React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9194
9204
  )
@@ -9198,7 +9208,7 @@ var MultiFigure = function MultiFigure(props) {
9198
9208
  React__default.createElement(
9199
9209
  LazyLoad,
9200
9210
  { once: true },
9201
- React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
9211
+ React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
9202
9212
  ),
9203
9213
  React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9204
9214
  )
@@ -9264,7 +9274,7 @@ exports.__esModule = true;
9264
9274
 
9265
9275
 
9266
9276
 
9267
- var _extends3 = _interopRequireDefault(_extends$2);
9277
+ var _extends3 = _interopRequireDefault(_extends$1);
9268
9278
 
9269
9279
 
9270
9280
 
@@ -9433,9 +9443,9 @@ var ScriptTag = function (_Component) {
9433
9443
 
9434
9444
  // The 'isHydrating' prop must NOT be passed to the script tag
9435
9445
  // eslint-disable-next-line no-unused-vars
9436
- var _props3 = this.props,
9437
- isHydrating = _props3.isHydrating,
9438
- tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9446
+ var _props3 = this.props;
9447
+ _props3.isHydrating;
9448
+ var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9439
9449
 
9440
9450
  return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
9441
9451
  return _this2.domRef = tag;
@@ -9577,7 +9587,7 @@ var BlockTable = function BlockTable(props) {
9577
9587
  return React__default.createElement(
9578
9588
  'div',
9579
9589
  { className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
9580
- React__default.createElement(BlockContent, _extends$1({ blocks: cell.content, serializers: getSerializers }, client.config()))
9590
+ React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
9581
9591
  );
9582
9592
  })
9583
9593
  );
@@ -9705,7 +9715,7 @@ var getSerializers = function getSerializers() {
9705
9715
  var node = _ref6.node;
9706
9716
  var slides = node.slides;
9707
9717
 
9708
- return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
9718
+ return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
9709
9719
  },
9710
9720
  sidebar: function sidebar(_ref7) {
9711
9721
  var node = _ref7.node;
@@ -9743,12 +9753,12 @@ var getSerializers = function getSerializers() {
9743
9753
  poll: function poll(_ref13) {
9744
9754
  var node = _ref13.node;
9745
9755
 
9746
- return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9756
+ return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9747
9757
  },
9748
9758
  pollMultiChoice: function pollMultiChoice(_ref14) {
9749
9759
  var node = _ref14.node;
9750
9760
 
9751
- return React__default.createElement(Poll$1, {
9761
+ return React__default.createElement(Poll, {
9752
9762
  node: node,
9753
9763
  client: client,
9754
9764
  pageview: pageview,
@@ -9774,7 +9784,7 @@ var getSerializers = function getSerializers() {
9774
9784
  slideshows: function slideshows(_ref17) {
9775
9785
  var node = _ref17.node;
9776
9786
 
9777
- return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9787
+ return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9778
9788
  },
9779
9789
  nativeAd: function nativeAd(_ref18) {
9780
9790
  var node = _ref18.node;