@mjhls/mjh-framework 1.0.850-affiliatefix-v1 → 1.0.850-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +30 -31
  4. package/dist/cjs/AD300x250x600.js +30 -31
  5. package/dist/cjs/AD728x90.js +33 -34
  6. package/dist/cjs/ADFloatingFooter.js +32 -33
  7. package/dist/cjs/ADFooter.js +14 -15
  8. package/dist/cjs/ADGutter.js +32 -33
  9. package/dist/cjs/{ADInfeed-859820d9.js → ADInfeed-98c71bcd.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +32 -33
  11. package/dist/cjs/ADSponsoredResources.js +32 -33
  12. package/dist/cjs/ADWebcast.js +32 -33
  13. package/dist/cjs/ADWelcome.js +33 -34
  14. package/dist/cjs/{ADlgInfeed-da3a36a6.js → ADlgInfeed-9de32585.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +101 -34
  17. package/dist/cjs/AdSlotsProvider.js +925 -24
  18. package/dist/cjs/AlgoliaSearch.js +1276 -1371
  19. package/dist/cjs/AlphabeticList.js +25 -26
  20. package/dist/cjs/ArticleCarousel.js +23 -24
  21. package/dist/cjs/ArticleProgramLandingPage.js +59 -60
  22. package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
  23. package/dist/cjs/ArticleSeriesListing.js +61 -62
  24. package/dist/cjs/Auth.js +462 -686
  25. package/dist/cjs/AuthWrapper.js +423 -1739
  26. package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
  27. package/dist/cjs/Beam.js +8 -8
  28. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
  29. package/dist/cjs/Breadcrumbs.js +27 -29
  30. package/dist/cjs/CMEDeck.js +83 -83
  31. package/dist/cjs/Column1.js +11 -14
  32. package/dist/cjs/Column2.js +33 -36
  33. package/dist/cjs/Column3.js +59 -62
  34. package/dist/cjs/ConferenceArticleCard.js +37 -38
  35. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  36. package/dist/cjs/DeckContent.js +103 -107
  37. package/dist/cjs/DeckQueue.js +90 -94
  38. package/dist/cjs/{Dfp-93399f8c.js → Dfp-26baccf1.js} +34 -35
  39. package/dist/cjs/EventsDeck.js +152 -159
  40. package/dist/cjs/ExternalResources.js +80 -81
  41. package/dist/cjs/Feature.js +24 -26
  42. package/dist/cjs/ForbesHero.js +42 -43
  43. package/dist/cjs/GridContent.js +304 -190
  44. package/dist/cjs/GridHero.js +44 -45
  45. package/dist/cjs/GroupDeck.js +59 -60
  46. package/dist/cjs/HamMagazine.js +141 -146
  47. package/dist/cjs/Header.js +12 -14
  48. package/dist/cjs/Hero.js +12 -13
  49. package/dist/cjs/HighlightenVideo.js +17 -18
  50. package/dist/cjs/HorizontalArticleListing.js +72 -73
  51. package/dist/cjs/HorizontalHero.js +25 -26
  52. package/dist/cjs/IssueContentDeck.js +73 -78
  53. package/dist/cjs/IssueDeck.js +72 -77
  54. package/dist/cjs/IssueLanding.js +93 -96
  55. package/dist/cjs/KMTracker.js +15 -15
  56. package/dist/cjs/LeftNav.js +39 -41
  57. package/dist/cjs/MasterDeck.js +80 -81
  58. package/dist/cjs/MediaSeriesLanding.js +1137 -1228
  59. package/dist/cjs/NavDvm.js +74 -79
  60. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  61. package/dist/cjs/NavMagazine.js +148 -153
  62. package/dist/cjs/NavNative.js +145 -153
  63. package/dist/cjs/OncliveHero.js +19 -19
  64. package/dist/cjs/OncliveLargeHero.js +72 -73
  65. package/dist/cjs/PageFilter.js +14 -15
  66. package/dist/cjs/PartnerDetailListing.js +1205 -115
  67. package/dist/cjs/PdfDownload.js +9 -10
  68. package/dist/cjs/PopUpModal.js +19 -21
  69. package/dist/cjs/PubSection.js +40 -43
  70. package/dist/cjs/PubToc.js +15 -16
  71. package/dist/cjs/PublicationDeck.js +62 -67
  72. package/dist/cjs/PublicationLanding.js +135 -139
  73. package/dist/cjs/QueueDeckExpanded.js +1150 -1131
  74. package/dist/cjs/RecentNews.js +22 -23
  75. package/dist/cjs/RelatedContent.js +54 -55
  76. package/dist/cjs/RelatedTopicsDropdown.js +29 -32
  77. package/dist/cjs/RolesDeck.js +27 -32
  78. package/dist/cjs/Search.js +18 -22
  79. package/dist/cjs/Segment.js +368 -343
  80. package/dist/cjs/SeriesListingDeck.js +38 -38
  81. package/dist/cjs/{SeriesSlider-34c6cc2b.js → SeriesSlider-8bbc989f.js} +39 -40
  82. package/dist/cjs/SetCookie.js +1 -1
  83. package/dist/cjs/SideFooter.js +38 -39
  84. package/dist/cjs/SocialIcons.js +9 -10
  85. package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-cea213aa.js} +36 -40
  86. package/dist/cjs/SocialShare.js +29 -31
  87. package/dist/cjs/TaxonomyCard.js +59 -64
  88. package/dist/cjs/TaxonomyDescription.js +55 -56
  89. package/dist/cjs/TemplateNormal.js +74 -75
  90. package/dist/cjs/ThumbnailCard.js +21 -23
  91. package/dist/cjs/Ustream.js +30 -31
  92. package/dist/cjs/VerticalHero.js +16 -17
  93. package/dist/cjs/VideoProgramLandingPage.js +74 -78
  94. package/dist/cjs/VideoSeriesCard.js +32 -33
  95. package/dist/cjs/VideoSeriesFilter.js +18 -18
  96. package/dist/cjs/VideoSeriesLandingPage.js +49 -50
  97. package/dist/cjs/VideoSeriesListing.js +82 -81
  98. package/dist/cjs/View.js +342 -264
  99. package/dist/cjs/YahooHero.js +41 -42
  100. package/dist/cjs/YoutubeGroup.js +66 -67
  101. package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
  102. package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
  103. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  104. package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
  105. package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
  106. package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
  107. package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
  108. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  109. package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
  110. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  111. package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
  112. package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
  113. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  114. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  115. package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
  116. package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
  117. package/dist/cjs/faundadb.js +7 -7
  118. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  119. package/dist/cjs/getQuery.js +2 -2
  120. package/dist/cjs/getRelatedArticle.js +20 -20
  121. package/dist/cjs/getRootDocGroup.js +6 -6
  122. package/dist/cjs/getSerializers.js +45 -45
  123. package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-f1821260.js} +26 -17
  124. package/dist/cjs/getTargeting.js +8 -8
  125. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
  126. package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
  127. package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
  128. package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
  129. package/dist/cjs/{index-060c5d65.js → index-bc88f898.js} +1039 -1005
  130. package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
  131. package/dist/cjs/{index-50be6759.js → index-e2e62963.js} +10 -26
  132. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  133. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
  134. package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
  135. package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
  136. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
  137. package/dist/cjs/index.js +164 -169
  138. package/dist/cjs/{inherits-c2065b95.js → inherits-452ff02c.js} +19 -19
  139. package/dist/cjs/inherits-8d29278d.js +110 -0
  140. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  141. package/dist/cjs/keys-a586b7a0.js +25 -0
  142. package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
  143. package/dist/cjs/main-02daeefe.js +862 -0
  144. package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
  145. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  146. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  147. package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
  148. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  149. package/dist/cjs/stringify-7c5aff47.js +17 -0
  150. package/dist/cjs/timeDifferenceCalc.js +1 -1
  151. package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
  152. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  153. package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
  154. package/dist/cjs/urlFor.js +3 -3
  155. package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
  156. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  157. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
  158. package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
  159. package/dist/esm/AD.js +1 -1
  160. package/dist/esm/AD300x250.js +24 -24
  161. package/dist/esm/AD300x250x600.js +24 -24
  162. package/dist/esm/AD728x90.js +27 -27
  163. package/dist/esm/ADFloatingFooter.js +23 -23
  164. package/dist/esm/ADFooter.js +6 -6
  165. package/dist/esm/ADGutter.js +23 -23
  166. package/dist/esm/{ADInfeed-4bf3b2f9.js → ADInfeed-bbdd5398.js} +6 -6
  167. package/dist/esm/ADSkyscraper.js +23 -23
  168. package/dist/esm/ADSponsoredResources.js +23 -23
  169. package/dist/esm/ADWebcast.js +23 -23
  170. package/dist/esm/ADWelcome.js +20 -20
  171. package/dist/esm/{ADlgInfeed-a3377c4a.js → ADlgInfeed-4473ee3b.js} +4 -4
  172. package/dist/esm/AccordionPanel.js +8 -8
  173. package/dist/esm/AdSlot.js +92 -24
  174. package/dist/esm/AdSlotsProvider.js +922 -20
  175. package/dist/esm/AlgoliaSearch.js +505 -599
  176. package/dist/esm/AlphabeticList.js +10 -10
  177. package/dist/esm/ArticleCarousel.js +17 -17
  178. package/dist/esm/ArticleProgramLandingPage.js +50 -50
  179. package/dist/esm/ArticleSeriesLandingPage.js +32 -32
  180. package/dist/esm/ArticleSeriesListing.js +34 -34
  181. package/dist/esm/Auth.js +375 -595
  182. package/dist/esm/AuthWrapper.js +396 -1711
  183. package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
  184. package/dist/esm/Beam.js +8 -8
  185. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.js} +34 -34
  186. package/dist/esm/Breadcrumbs.js +7 -7
  187. package/dist/esm/CMEDeck.js +24 -24
  188. package/dist/esm/Column1.js +4 -4
  189. package/dist/esm/Column2.js +21 -21
  190. package/dist/esm/Column3.js +39 -39
  191. package/dist/esm/ConferenceArticleCard.js +22 -22
  192. package/dist/esm/DeckContent.js +57 -57
  193. package/dist/esm/DeckQueue.js +50 -50
  194. package/dist/esm/{Dfp-2c43d2a0.js → Dfp-b7236041.js} +15 -15
  195. package/dist/esm/EventsDeck.js +67 -67
  196. package/dist/esm/ExternalResources.js +48 -48
  197. package/dist/esm/Feature.js +4 -4
  198. package/dist/esm/ForbesHero.js +12 -12
  199. package/dist/esm/GridContent.js +200 -82
  200. package/dist/esm/GridHero.js +13 -13
  201. package/dist/esm/GroupDeck.js +14 -14
  202. package/dist/esm/HamMagazine.js +39 -39
  203. package/dist/esm/Hero.js +4 -4
  204. package/dist/esm/HighlightenVideo.js +2 -2
  205. package/dist/esm/HorizontalArticleListing.js +47 -47
  206. package/dist/esm/HorizontalHero.js +5 -5
  207. package/dist/esm/IssueContentDeck.js +27 -27
  208. package/dist/esm/IssueDeck.js +37 -37
  209. package/dist/esm/IssueLanding.js +82 -84
  210. package/dist/esm/KMTracker.js +15 -15
  211. package/dist/esm/LeftNav.js +22 -22
  212. package/dist/esm/MasterDeck.js +45 -45
  213. package/dist/esm/MediaSeriesLanding.js +663 -751
  214. package/dist/esm/NavDvm.js +16 -16
  215. package/dist/esm/NavMagazine.js +44 -44
  216. package/dist/esm/NavNative.js +49 -49
  217. package/dist/esm/OncliveHero.js +5 -4
  218. package/dist/esm/OncliveLargeHero.js +13 -13
  219. package/dist/esm/PageFilter.js +6 -6
  220. package/dist/esm/PartnerDetailListing.js +1155 -65
  221. package/dist/esm/PdfDownload.js +2 -2
  222. package/dist/esm/PopUpModal.js +6 -6
  223. package/dist/esm/PubSection.js +32 -34
  224. package/dist/esm/PubToc.js +8 -8
  225. package/dist/esm/PublicationDeck.js +24 -24
  226. package/dist/esm/PublicationLanding.js +76 -76
  227. package/dist/esm/QueueDeckExpanded.js +1103 -1084
  228. package/dist/esm/RecentNews.js +4 -4
  229. package/dist/esm/RelatedContent.js +35 -35
  230. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  231. package/dist/esm/RolesDeck.js +12 -12
  232. package/dist/esm/Search.js +8 -8
  233. package/dist/esm/Segment.js +368 -343
  234. package/dist/esm/SeriesListingDeck.js +20 -20
  235. package/dist/esm/{SeriesSlider-5d5c08f4.js → SeriesSlider-a866bb21.js} +14 -14
  236. package/dist/esm/SetCookie.js +1 -1
  237. package/dist/esm/SideFooter.js +17 -17
  238. package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-03c3e869.js} +12 -12
  239. package/dist/esm/TaxonomyCard.js +25 -25
  240. package/dist/esm/TaxonomyDescription.js +46 -46
  241. package/dist/esm/TemplateNormal.js +50 -50
  242. package/dist/esm/ThumbnailCard.js +7 -7
  243. package/dist/esm/Ustream.js +14 -14
  244. package/dist/esm/VerticalHero.js +3 -3
  245. package/dist/esm/VideoProgramLandingPage.js +54 -54
  246. package/dist/esm/VideoSeriesCard.js +14 -14
  247. package/dist/esm/VideoSeriesFilter.js +9 -9
  248. package/dist/esm/VideoSeriesLandingPage.js +38 -38
  249. package/dist/esm/VideoSeriesListing.js +39 -37
  250. package/dist/esm/View.js +174 -92
  251. package/dist/esm/YahooHero.js +15 -15
  252. package/dist/esm/YoutubeGroup.js +26 -26
  253. package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
  254. package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
  255. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  256. package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
  257. package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
  258. package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
  259. package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-4877b617.js} +33 -33
  260. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
  261. package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
  262. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  263. package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
  264. package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
  265. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  266. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  267. package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
  268. package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
  269. package/dist/esm/faundadb.js +7 -7
  270. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  271. package/dist/esm/getQuery.js +2 -2
  272. package/dist/esm/getRelatedArticle.js +14 -14
  273. package/dist/esm/getRootDocGroup.js +6 -6
  274. package/dist/esm/getSerializers.js +45 -45
  275. package/dist/esm/{getTargeting-68291ce9.js → getTargeting-bd800589.js} +25 -16
  276. package/dist/esm/getTargeting.js +8 -8
  277. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  278. package/dist/esm/{index-f0fc23eb.js → index-41a678ea.js} +4 -4
  279. package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
  280. package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
  281. package/dist/esm/{index-98ca9cec.js → index-aaa2dae0.js} +11 -26
  282. package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
  283. package/dist/esm/{index-01d53c17.js → index-f2a0d400.js} +688 -647
  284. package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
  285. package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
  286. package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
  287. package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
  288. package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
  289. package/dist/esm/index.js +122 -124
  290. package/dist/esm/inherits-77d5e4fc.js +101 -0
  291. package/dist/esm/{inherits-a41fe93f.js → inherits-cf8dde54.js} +19 -19
  292. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  293. package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
  294. package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
  295. package/dist/esm/main-e4a934b2.js +851 -0
  296. package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
  297. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  298. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
  299. package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
  300. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  301. package/dist/esm/stringify-4330ccdc.js +15 -0
  302. package/dist/esm/timeDifferenceCalc.js +1 -1
  303. package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
  304. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  305. package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
  306. package/dist/esm/urlFor.js +1 -1
  307. package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
  308. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  309. package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
  310. package/package.json +111 -110
  311. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  312. package/dist/cjs/keys-7f2c2108.js +0 -25
  313. package/dist/cjs/main-f1c77adb.js +0 -973
  314. package/dist/cjs/stringify-c9ac1214.js +0 -17
  315. package/dist/cjs/typeof-1358762e.js +0 -33
  316. package/dist/esm/main-d4165069.js +0 -961
  317. package/dist/esm/stringify-59c8f690.js +0 -15
  318. package/dist/esm/typeof-2f07d0e8.js +0 -30
@@ -1,73 +1,1168 @@
1
- import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7f8f9219.js';
2
- import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
3
- import { _ as _extends } from './extends-60e0e1c6.js';
4
- import React__default, { useRef, useState, useEffect } from 'react';
5
- import { TwitterTimelineEmbed } from 'react-twitter-embed';
6
- import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
7
- import urlFor from './urlFor.js';
8
- import { m as moment } from './moment-bc12cb97.js';
9
- import QueueDeckExpanded from './QueueDeckExpanded.js';
10
- import Breadcrumbs from './Breadcrumbs.js';
11
- import Feature from './Feature.js';
12
- import { g as getSerializers } from './index-01d53c17.js';
13
- import { B as BlockContent } from './BlockContent-c99c9a8d.js';
14
- import './_commonjsHelpers-0c4b6f40.js';
15
- import './es6.string.iterator-bc33758b.js';
16
- import './_to-object-b50e61c3.js';
17
- import './web.dom.iterable-4109ff68.js';
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
18
4
  import './_library-528f1934.js';
19
- import './core.get-iterator-method-133dfacd.js';
20
- import './_iter-detect-7e5e5ce2.js';
21
- import './_object-pie-133f504a.js';
22
- import './index-0dbff1d1.js';
23
- import './toConsumableArray-6d9a4616.js';
24
- import 'react-bootstrap';
25
- import './index.es-a6137319.js';
26
- import './visibility-sensor-72fd8f8b.js';
27
- import 'react-dom';
28
- import './index-f0fc23eb.js';
5
+ import './_iter-detect-5d49a330.js';
6
+ import './toConsumableArray-43aa614d.js';
7
+ import './core.get-iterator-method-e1de7503.js';
8
+ import './_object-pie-33c40e79.js';
9
+ import { _ as _extends } from './extends-6f2fcc99.js';
10
+ import './_object-sap-964b6feb.js';
11
+ import './inherits-cf8dde54.js';
12
+ import './define-property-8af5f002.js';
13
+ import './web.dom.iterable-4439f05a.js';
14
+ import './typeof-6435ba1c.js';
15
+ import './_is-array-58e95429.js';
16
+ import React__default, { Component, useRef, useState, useEffect } from 'react';
29
17
  import './events-6c3a7a63.js';
30
- import 'prop-types';
31
- import 'next/router';
32
- import './index-755f2cc2.js';
33
- import './main-d4165069.js';
34
- import './entities-932b50cf.js';
35
- import './ADInfeed-4bf3b2f9.js';
18
+ import './index-41a678ea.js';
19
+ import PropTypes from 'prop-types';
20
+ import 'react-bootstrap/Row';
21
+ import 'react-bootstrap/Col';
36
22
  import 'react-bootstrap/Card';
37
- import './AdSlot.js';
38
- import './debounce-533d9748.js';
39
- import './isSymbol-a7e9aafe.js';
40
- import './toNumber-5aeba6e7.js';
41
- import './Beam.js';
42
- import './stringify-59c8f690.js';
23
+ import { m as moment } from './moment-e2f9b20c.js';
24
+ import 'next/router';
25
+ import './isSymbol-1981418f.js';
26
+ import './debounce-9207d8ee.js';
27
+ import './toNumber-2f7a84cd.js';
28
+ import 'react-dom';
29
+ import './index-73819142.js';
30
+ import urlFor from './urlFor.js';
31
+ import './index-5f7e79e7.js';
32
+ import './main-e4a934b2.js';
33
+ import './entities-7cc3bf45.js';
34
+ import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
35
+ import './stringify-4330ccdc.js';
36
+ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-4877b617.js';
43
37
  import './Segment.js';
44
- import './AuthorComponent-30aeba69.js';
45
- import './lodash-f97fd99a.js';
46
- import './ADlgInfeed-a3377c4a.js';
38
+ import './Beam.js';
39
+ import './AdSlot.js';
40
+ import './ADInfeed-bbdd5398.js';
41
+ import './lodash-17fdfebb.js';
42
+ import './ADlgInfeed-4473ee3b.js';
47
43
  import './getContentCategory-15dcc413.js';
48
- import './timeDifferenceCalc.js';
49
- import 'react-bootstrap/Breadcrumb';
50
- import 'react-bootstrap/Carousel';
44
+ import './AuthorComponent-34b16174.js';
45
+ import 'react-bootstrap/Button';
46
+ import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
51
47
  import './index-c7e2ac95.js';
52
- import './util-3ab476bf.js';
53
- import './typeof-a286cf0c.js';
54
- import './_is-array-3e99e06e.js';
55
- import './brightcove-react-player-loader.es-57a70a56.js';
48
+ import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
56
49
  import './GroupDeck.js';
57
- import './SocialShare.js';
50
+ import 'react-bootstrap';
51
+ import QueueDeckExpanded from './QueueDeckExpanded.js';
52
+ import './timeDifferenceCalc.js';
53
+ import './iconBase-602d52fe.js';
54
+ import './index.esm-29e48d38.js';
55
+ import { g as getSerializers } from './index-f2a0d400.js';
56
+ import './util-7700fc59.js';
57
+ import './brightcove-react-player-loader.es-83f53e4e.js';
58
58
  import 'next/head';
59
59
  import 'react-share';
60
- import './_object-to-array-0f197f89.js';
60
+ import './SocialShare.js';
61
+ import './_object-to-array-7e804fce.js';
61
62
  import 'react-bootstrap/Pagination';
62
- import 'react-bootstrap/Button';
63
- import 'react-bootstrap/Row';
64
- import 'react-bootstrap/Col';
65
- import './inherits-a41fe93f.js';
66
- import './_object-sap-f353c2a9.js';
67
- import './define-property-fe54dc9f.js';
68
- import './index.esm-f6156a57.js';
69
- import './iconBase-ccc56b97.js';
70
63
  import 'react-bootstrap/Figure';
64
+ import { _ as _defineProperty, b as _inherits, c as _classCallCheck, d as _possibleConstructorReturn, e as _getPrototypeOf, g as _createClass } from './inherits-77d5e4fc.js';
65
+ import 'react-bootstrap/Carousel';
66
+ import Feature from './Feature.js';
67
+ import 'react-bootstrap/Breadcrumb';
68
+ import Breadcrumbs from './Breadcrumbs.js';
69
+
70
+ var isRequiredIf_1 = createCommonjsModule(function (module, exports) {
71
+ Object.defineProperty(exports,'__esModule',{value:!0});var VALIDATOR_ARG_ERROR_MESSAGE='The typeValidator argument must be a function with the signature function(props, propName, componentName).',MESSAGE_ARG_ERROR_MESSAGE='The error message is optional, but must be a string if provided.',propIsRequired=function propIsRequired(a,b,c,d){if('boolean'==typeof a)return a;return 'function'==typeof a?a(b,c,d):!(!0!==!!a)&&!!a},propExists=function propExists(a,b){return Object.hasOwnProperty.call(a,b)},missingPropError=function missingPropError(a,b,c,d){return d?new Error(d):new Error('Required '+a[b]+' `'+b+'`'+(' was not specified in `'+c+'`.'))},guardAgainstInvalidArgTypes=function guardAgainstInvalidArgTypes(a,b){if('function'!=typeof a)throw new TypeError(VALIDATOR_ARG_ERROR_MESSAGE);if(!!b&&'string'!=typeof b)throw new TypeError(MESSAGE_ARG_ERROR_MESSAGE)},isRequiredIf=function isRequiredIf(a,b,c){return guardAgainstInvalidArgTypes(a,c),function(d,e,f){for(var _len=arguments.length,g=Array(3<_len?_len-3:0),_key=3;_key<_len;_key++)g[_key-3]=arguments[_key];return propIsRequired(b,d,e,f)?propExists(d,e)?a.apply(void 0,[d,e,f].concat(g)):missingPropError(d,e,f,c):a.apply(void 0,[d,e,f].concat(g));// Is not required, so just run typeValidator.
72
+ }};exports.default=isRequiredIf;
73
+
74
+
75
+ });
76
+
77
+ var isRequiredIf = unwrapExports(isRequiredIf_1);
78
+
79
+ var exenv = createCommonjsModule(function (module) {
80
+ /*!
81
+ Copyright (c) 2015 Jed Watson.
82
+ Based on code that is Copyright 2013-2015, Facebook, Inc.
83
+ All rights reserved.
84
+ */
85
+ /* global define */
86
+
87
+ (function () {
88
+
89
+ var canUseDOM = !!(
90
+ typeof window !== 'undefined' &&
91
+ window.document &&
92
+ window.document.createElement
93
+ );
94
+
95
+ var ExecutionEnvironment = {
96
+
97
+ canUseDOM: canUseDOM,
98
+
99
+ canUseWorkers: typeof Worker !== 'undefined',
100
+
101
+ canUseEventListeners:
102
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
103
+
104
+ canUseViewport: canUseDOM && !!window.screen
105
+
106
+ };
107
+
108
+ if ( module.exports) {
109
+ module.exports = ExecutionEnvironment;
110
+ } else {
111
+ window.ExecutionEnvironment = ExecutionEnvironment;
112
+ }
113
+
114
+ }());
115
+ });
116
+
117
+ var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
118
+
119
+ var TwitterTimelineEmbed =
120
+ /*#__PURE__*/
121
+ function (_Component) {
122
+ _inherits(TwitterTimelineEmbed, _Component);
123
+
124
+ function TwitterTimelineEmbed(props) {
125
+ var _this;
126
+
127
+ _classCallCheck(this, TwitterTimelineEmbed);
128
+
129
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
130
+ _this.state = {
131
+ isLoading: true
132
+ };
133
+ return _this;
134
+ }
135
+
136
+ _createClass(TwitterTimelineEmbed, [{
137
+ key: "buildChromeOptions",
138
+ value: function buildChromeOptions(options) {
139
+ options.chrome = '';
140
+
141
+ if (this.props.noHeader) {
142
+ options.chrome = options.chrome + ' noheader';
143
+ }
144
+
145
+ if (this.props.noFooter) {
146
+ options.chrome = options.chrome + ' nofooter';
147
+ }
148
+
149
+ if (this.props.noBorders) {
150
+ options.chrome = options.chrome + ' noborders';
151
+ }
152
+
153
+ if (this.props.noScrollbar) {
154
+ options.chrome = options.chrome + ' noscrollbar';
155
+ }
156
+
157
+ if (this.props.transparent) {
158
+ options.chrome = options.chrome + ' transparent';
159
+ }
160
+
161
+ return options;
162
+ }
163
+ }, {
164
+ key: "buildOptions",
165
+ value: function buildOptions() {
166
+ var options = Object.assign({}, this.props.options);
167
+
168
+ if (this.props.autoHeight) {
169
+ options.height = this.refs.embedContainer.parentNode.offsetHeight;
170
+ }
171
+
172
+ options = Object.assign({}, options, {
173
+ theme: this.props.theme,
174
+ linkColor: this.props.linkColor,
175
+ borderColor: this.props.borderColor,
176
+ lang: this.props.lang
177
+ });
178
+ return options;
179
+ }
180
+ }, {
181
+ key: "renderWidget",
182
+ value: function renderWidget(options) {
183
+ var _this2 = this;
184
+
185
+ var onLoad = this.props.onLoad;
186
+
187
+ if (!this.isMountCanceled) {
188
+ window.twttr.widgets.createTimeline({
189
+ sourceType: this.props.sourceType,
190
+ screenName: this.props.screenName,
191
+ userId: this.props.userId,
192
+ ownerScreenName: this.props.ownerScreenName,
193
+ slug: this.props.slug,
194
+ id: this.props.id || this.props.widgetId,
195
+ url: this.props.url
196
+ }, this.refs.embedContainer, options).then(function (element) {
197
+ _this2.setState({
198
+ isLoading: false
199
+ });
200
+
201
+ if (onLoad) {
202
+ onLoad(element);
203
+ }
204
+ });
205
+ }
206
+ }
207
+ }, {
208
+ key: "componentDidMount",
209
+ value: function componentDidMount() {
210
+ var _this3 = this;
211
+
212
+ if (exenv.canUseDOM) {
213
+ var script = require('scriptjs');
214
+
215
+ script(twitterWidgetJs, 'twitter-embed', function () {
216
+ if (!window.twttr) {
217
+ console.error('Failure to load window.twttr in TwitterTimelineEmbed, aborting load.');
218
+ return;
219
+ }
220
+
221
+ var options = _this3.buildOptions();
222
+ /** Append chrome options */
223
+
224
+
225
+ options = _this3.buildChromeOptions(options);
226
+
227
+ _this3.renderWidget(options);
228
+ });
229
+ }
230
+ }
231
+ }, {
232
+ key: "componentWillUnmount",
233
+ value: function componentWillUnmount() {
234
+ this.isMountCanceled = true;
235
+ }
236
+ }, {
237
+ key: "render",
238
+ value: function render() {
239
+ var isLoading = this.state.isLoading;
240
+ var placeholder = this.props.placeholder;
241
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
242
+ ref: "embedContainer"
243
+ }));
244
+ }
245
+ }]);
246
+
247
+ return TwitterTimelineEmbed;
248
+ }(Component);
249
+
250
+ _defineProperty(TwitterTimelineEmbed, "propTypes", {
251
+ /**
252
+ * This can be either of profile, likes, list, collection, URL, widget
253
+ */
254
+ sourceType: PropTypes.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
255
+
256
+ /**
257
+ * username of twitter handle as String
258
+ */
259
+ screenName: isRequiredIf(PropTypes.string, function (props) {
260
+ return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
261
+ }),
262
+
263
+ /**
264
+ * UserId of twitter handle as number
265
+ */
266
+ userId: isRequiredIf(PropTypes.number, function (props) {
267
+ return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
268
+ }),
269
+
270
+ /**
271
+ * To show list, used along with slug
272
+ */
273
+ ownerScreenName: isRequiredIf(PropTypes.string, function (props) {
274
+ return props.sourceType === 'list' && !props.hasOwnProperty('id');
275
+ }),
276
+
277
+ /**
278
+ * To show list, used along with ownerScreenName
279
+ */
280
+ slug: isRequiredIf(PropTypes.string, function (props) {
281
+ return props.sourceType === 'list' && !props.hasOwnProperty('id');
282
+ }),
283
+
284
+ /**
285
+ * To show list, unique list id
286
+ * Also used with collections, in that case its valid collection id
287
+ */
288
+ id: isRequiredIf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]), function (props) {
289
+ return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
290
+ }),
291
+
292
+ /**
293
+ * To show twitter content with url.
294
+ * Supported content includes profiles, likes, lists, and collections.
295
+ */
296
+ url: isRequiredIf(PropTypes.string, function (props) {
297
+ return props.sourceType === 'url';
298
+ }),
299
+
300
+ /**
301
+ * To show custom widget
302
+ */
303
+ widgetId: isRequiredIf(PropTypes.string, function (props) {
304
+ return props.sourceType === 'widget';
305
+ }),
306
+
307
+ /**
308
+ * Additional options to pass to twitter widget plugin
309
+ */
310
+ options: PropTypes.object,
311
+
312
+ /**
313
+ * Automatically fit into parent container height
314
+ */
315
+ autoHeight: PropTypes.bool,
316
+
317
+ /**
318
+ * With dark or light theme
319
+ */
320
+ theme: PropTypes.oneOf(['dark', 'light']),
321
+
322
+ /**
323
+ * With custom link colors. Note: Only Hex colors are supported.
324
+ */
325
+ linkColor: PropTypes.string,
326
+
327
+ /**
328
+ * With custom border colors. Note: Only Hex colors are supported.
329
+ */
330
+ borderColor: PropTypes.string,
331
+
332
+ /**
333
+ * Hide the header from timeline
334
+ */
335
+ noHeader: PropTypes.bool,
336
+
337
+ /**
338
+ * Hide the footer from timeline
339
+ */
340
+ noFooter: PropTypes.bool,
341
+
342
+ /**
343
+ * Hide the border from timeline
344
+ */
345
+ noBorders: PropTypes.bool,
346
+
347
+ /**
348
+ * Hide the scrollbars
349
+ */
350
+ noScrollbar: PropTypes.bool,
351
+
352
+ /**
353
+ * Enable Transparancy
354
+ */
355
+ transparent: PropTypes.bool,
356
+
357
+ /**
358
+ * Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
359
+ */
360
+ lang: PropTypes.string,
361
+
362
+ /**
363
+ * Placeholder while tweet is loading
364
+ */
365
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
366
+
367
+ /**
368
+ * Function to execute after load, return html element
369
+ */
370
+ onLoad: PropTypes.func
371
+ });
372
+
373
+ var TwitterShareButton =
374
+ /*#__PURE__*/
375
+ function (_Component) {
376
+ _inherits(TwitterShareButton, _Component);
377
+
378
+ function TwitterShareButton(props) {
379
+ var _this;
380
+
381
+ _classCallCheck(this, TwitterShareButton);
382
+
383
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
384
+ _this.state = {
385
+ isLoading: true
386
+ };
387
+ return _this;
388
+ }
389
+
390
+ _createClass(TwitterShareButton, [{
391
+ key: "componentDidMount",
392
+ value: function componentDidMount() {
393
+ var _this2 = this;
394
+
395
+ var onLoad = this.props.onLoad;
396
+
397
+ if (exenv.canUseDOM) {
398
+ var script = require('scriptjs');
399
+
400
+ script(twitterWidgetJs, 'twitter-embed', function () {
401
+ if (!window.twttr) {
402
+ console.error('Failure to load window.twttr in TwitterShareButton, aborting load.');
403
+ return;
404
+ }
405
+
406
+ if (!_this2.isMountCanceled) {
407
+ window.twttr.widgets.createShareButton(_this2.props.url, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
408
+ _this2.setState({
409
+ isLoading: false
410
+ });
411
+
412
+ if (onLoad) {
413
+ onLoad(element);
414
+ }
415
+ });
416
+ }
417
+ });
418
+ }
419
+ }
420
+ }, {
421
+ key: "componentWillUnmount",
422
+ value: function componentWillUnmount() {
423
+ this.isMountCanceled = true;
424
+ }
425
+ }, {
426
+ key: "render",
427
+ value: function render() {
428
+ var isLoading = this.state.isLoading;
429
+ var placeholder = this.props.placeholder;
430
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
431
+ ref: "embedContainer"
432
+ }));
433
+ }
434
+ }]);
435
+
436
+ return TwitterShareButton;
437
+ }(Component);
438
+
439
+ _defineProperty(TwitterShareButton, "propTypes", {
440
+ /**
441
+ * Url for sharing
442
+ */
443
+ url: PropTypes.string.isRequired,
444
+
445
+ /**
446
+ * Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
447
+ */
448
+ options: PropTypes.object,
449
+
450
+ /**
451
+ * Placeholder while tweet is loading
452
+ */
453
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
454
+
455
+ /**
456
+ * Function to execute after load, return html element
457
+ */
458
+ onLoad: PropTypes.func
459
+ });
460
+
461
+ var TwitterFollowButton =
462
+ /*#__PURE__*/
463
+ function (_Component) {
464
+ _inherits(TwitterFollowButton, _Component);
465
+
466
+ function TwitterFollowButton(props) {
467
+ var _this;
468
+
469
+ _classCallCheck(this, TwitterFollowButton);
470
+
471
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
472
+ _this.state = {
473
+ isLoading: true
474
+ };
475
+ return _this;
476
+ }
477
+
478
+ _createClass(TwitterFollowButton, [{
479
+ key: "componentDidMount",
480
+ value: function componentDidMount() {
481
+ var _this2 = this;
482
+
483
+ var onLoad = this.props.onLoad;
484
+
485
+ if (exenv.canUseDOM) {
486
+ var script = require('scriptjs');
487
+
488
+ script(twitterWidgetJs, 'twitter-embed', function () {
489
+ if (!window.twttr) {
490
+ console.error('Failure to load window.twttr in TwitterFollowButton, aborting load.');
491
+ return;
492
+ }
493
+
494
+ if (!_this2.isMountCanceled) {
495
+ window.twttr.widgets.createFollowButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
496
+ _this2.setState({
497
+ isLoading: false
498
+ });
499
+
500
+ if (onLoad) {
501
+ onLoad(element);
502
+ }
503
+ });
504
+ }
505
+ });
506
+ }
507
+ }
508
+ }, {
509
+ key: "componentWillUnmount",
510
+ value: function componentWillUnmount() {
511
+ this.isMountCanceled = true;
512
+ }
513
+ }, {
514
+ key: "render",
515
+ value: function render() {
516
+ var isLoading = this.state.isLoading;
517
+ var placeholder = this.props.placeholder;
518
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
519
+ ref: "embedContainer"
520
+ }));
521
+ }
522
+ }]);
523
+
524
+ return TwitterFollowButton;
525
+ }(Component);
526
+
527
+ _defineProperty(TwitterFollowButton, "propTypes", {
528
+ /**
529
+ * Username of twitter user which will be followed on click
530
+ */
531
+ screenName: PropTypes.string.isRequired,
532
+
533
+ /**
534
+ * Additional options to be added to the button
535
+ */
536
+ options: PropTypes.object,
537
+
538
+ /**
539
+ * Placeholder while tweet is loading
540
+ */
541
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
542
+
543
+ /**
544
+ * Function to execute after load, return html element
545
+ */
546
+ onLoad: PropTypes.func
547
+ });
548
+
549
+ var TwitterHashtagButton =
550
+ /*#__PURE__*/
551
+ function (_Component) {
552
+ _inherits(TwitterHashtagButton, _Component);
553
+
554
+ function TwitterHashtagButton(props) {
555
+ var _this;
556
+
557
+ _classCallCheck(this, TwitterHashtagButton);
558
+
559
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
560
+ _this.state = {
561
+ isLoading: true
562
+ };
563
+ return _this;
564
+ }
565
+
566
+ _createClass(TwitterHashtagButton, [{
567
+ key: "componentDidMount",
568
+ value: function componentDidMount() {
569
+ var _this2 = this;
570
+
571
+ var onLoad = this.props.onLoad;
572
+
573
+ if (exenv.canUseDOM) {
574
+ var script = require('scriptjs');
575
+
576
+ script(twitterWidgetJs, 'twitter-embed', function () {
577
+ if (!window.twttr) {
578
+ console.error('Failure to load window.twttr in TwitterHashtagButton, aborting load.');
579
+ return;
580
+ }
581
+
582
+ if (!_this2.isMountCanceled) {
583
+ window.twttr.widgets.createHashtagButton(_this2.props.tag, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
584
+ _this2.setState({
585
+ isLoading: false
586
+ });
587
+
588
+ if (onLoad) {
589
+ onLoad(element);
590
+ }
591
+ });
592
+ }
593
+ });
594
+ }
595
+ }
596
+ }, {
597
+ key: "componentWillUnmount",
598
+ value: function componentWillUnmount() {
599
+ this.isMountCanceled = true;
600
+ }
601
+ }, {
602
+ key: "render",
603
+ value: function render() {
604
+ var isLoading = this.state.isLoading;
605
+ var placeholder = this.props.placeholder;
606
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
607
+ ref: "embedContainer"
608
+ }));
609
+ }
610
+ }]);
611
+
612
+ return TwitterHashtagButton;
613
+ }(Component);
614
+
615
+ _defineProperty(TwitterHashtagButton, "propTypes", {
616
+ /**
617
+ * Tag name for hashtag button
618
+ */
619
+ tag: PropTypes.string.isRequired,
620
+
621
+ /**
622
+ * Additional options to be added to the button
623
+ */
624
+ options: PropTypes.object,
625
+
626
+ /**
627
+ * Placeholder while tweet is loading
628
+ */
629
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
630
+
631
+ /**
632
+ * Function to execute after load, return html element
633
+ */
634
+ onLoad: PropTypes.func
635
+ });
636
+
637
+ var TwitterMentionButton =
638
+ /*#__PURE__*/
639
+ function (_Component) {
640
+ _inherits(TwitterMentionButton, _Component);
641
+
642
+ function TwitterMentionButton(props) {
643
+ var _this;
644
+
645
+ _classCallCheck(this, TwitterMentionButton);
646
+
647
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
648
+ _this.state = {
649
+ isLoading: true
650
+ };
651
+ return _this;
652
+ }
653
+
654
+ _createClass(TwitterMentionButton, [{
655
+ key: "componentDidMount",
656
+ value: function componentDidMount() {
657
+ var _this2 = this;
658
+
659
+ var onLoad = this.props.onLoad;
660
+
661
+ if (exenv.canUseDOM) {
662
+ var script = require('scriptjs');
663
+
664
+ script(twitterWidgetJs, 'twitter-embed', function () {
665
+ if (!window.twttr) {
666
+ console.error('Failure to load window.twttr in TwitterMentionButton, aborting load.');
667
+ return;
668
+ }
669
+
670
+ if (!_this2.isMountCanceled) {
671
+ window.twttr.widgets.createMentionButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
672
+ _this2.setState({
673
+ isLoading: false
674
+ });
675
+
676
+ if (onLoad) {
677
+ onLoad(element);
678
+ }
679
+ });
680
+ }
681
+ });
682
+ }
683
+ }
684
+ }, {
685
+ key: "componentWillUnmount",
686
+ value: function componentWillUnmount() {
687
+ this.isMountCanceled = true;
688
+ }
689
+ }, {
690
+ key: "render",
691
+ value: function render() {
692
+ var isLoading = this.state.isLoading;
693
+ var placeholder = this.props.placeholder;
694
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
695
+ ref: "embedContainer"
696
+ }));
697
+ }
698
+ }]);
699
+
700
+ return TwitterMentionButton;
701
+ }(Component);
702
+
703
+ _defineProperty(TwitterMentionButton, "propTypes", {
704
+ /**
705
+ * Username to which you will need to tweet
706
+ */
707
+ screenName: PropTypes.string.isRequired,
708
+
709
+ /**
710
+ * Additional options for overriding config.
711
+ */
712
+ options: PropTypes.object,
713
+
714
+ /**
715
+ * Placeholder while tweet is loading
716
+ */
717
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
718
+
719
+ /**
720
+ * Function to execute after load, return html element
721
+ */
722
+ onLoad: PropTypes.func
723
+ });
724
+
725
+ var TwitterTweetEmbed =
726
+ /*#__PURE__*/
727
+ function (_Component) {
728
+ _inherits(TwitterTweetEmbed, _Component);
729
+
730
+ function TwitterTweetEmbed(props) {
731
+ var _this;
732
+
733
+ _classCallCheck(this, TwitterTweetEmbed);
734
+
735
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
736
+ _this.state = {
737
+ isLoading: true
738
+ };
739
+ return _this;
740
+ }
741
+
742
+ _createClass(TwitterTweetEmbed, [{
743
+ key: "renderWidget",
744
+ value: function renderWidget() {
745
+ var _this2 = this;
746
+
747
+ var onLoad = this.props.onLoad;
748
+
749
+ if (!window.twttr) {
750
+ console.error('Failure to load window.twttr in TwitterTweetEmbed, aborting load.');
751
+ return;
752
+ }
753
+
754
+ if (!this.isMountCanceled) {
755
+ window.twttr.widgets.createTweet(this.props.tweetId, this.refs.embedContainer, this.props.options).then(function (element) {
756
+ _this2.setState({
757
+ isLoading: false
758
+ });
759
+
760
+ if (onLoad) {
761
+ onLoad(element);
762
+ }
763
+ });
764
+ }
765
+ }
766
+ }, {
767
+ key: "componentDidMount",
768
+ value: function componentDidMount() {
769
+ var _this3 = this;
770
+
771
+ if (exenv.canUseDOM) {
772
+ var script = require('scriptjs');
773
+
774
+ script(twitterWidgetJs, 'twitter-embed', function () {
775
+ _this3.renderWidget();
776
+ });
777
+ }
778
+ }
779
+ }, {
780
+ key: "componentWillUnmount",
781
+ value: function componentWillUnmount() {
782
+ this.isMountCanceled = true;
783
+ }
784
+ }, {
785
+ key: "render",
786
+ value: function render() {
787
+ var isLoading = this.state.isLoading;
788
+ var placeholder = this.props.placeholder;
789
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
790
+ ref: "embedContainer"
791
+ }));
792
+ }
793
+ }]);
794
+
795
+ return TwitterTweetEmbed;
796
+ }(Component);
797
+
798
+ _defineProperty(TwitterTweetEmbed, "propTypes", {
799
+ /**
800
+ * Tweet id that needs to be shown
801
+ */
802
+ tweetId: PropTypes.string.isRequired,
803
+
804
+ /**
805
+ * Additional options to pass to twitter widget plugin
806
+ */
807
+ options: PropTypes.object,
808
+
809
+ /**
810
+ * Placeholder while tweet is loading
811
+ */
812
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
813
+
814
+ /**
815
+ * Function to execute after load, return html element
816
+ */
817
+ onLoad: PropTypes.func
818
+ });
819
+
820
+ var TwitterMomentShare =
821
+ /*#__PURE__*/
822
+ function (_Component) {
823
+ _inherits(TwitterMomentShare, _Component);
824
+
825
+ function TwitterMomentShare(props) {
826
+ var _this;
827
+
828
+ _classCallCheck(this, TwitterMomentShare);
829
+
830
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
831
+ _this.state = {
832
+ isLoading: true
833
+ };
834
+ return _this;
835
+ }
836
+
837
+ _createClass(TwitterMomentShare, [{
838
+ key: "componentDidMount",
839
+ value: function componentDidMount() {
840
+ var _this2 = this;
841
+
842
+ var onLoad = this.props.onLoad;
843
+
844
+ if (exenv.canUseDOM) {
845
+ var script = require('scriptjs');
846
+
847
+ script(twitterWidgetJs, 'twitter-embed', function () {
848
+ if (!window.twttr) {
849
+ console.error('Failure to load window.twttr in TwitterMomentShare, aborting load.');
850
+ return;
851
+ }
852
+
853
+ if (!_this2.isMountCanceled) {
854
+ window.twttr.widgets.createMoment(_this2.props.momentId, _this2.refs.shareMoment, _this2.props.options).then(function (element) {
855
+ _this2.setState({
856
+ isLoading: false
857
+ });
858
+
859
+ if (onLoad) {
860
+ onLoad(element);
861
+ }
862
+ });
863
+ }
864
+ });
865
+ }
866
+ }
867
+ }, {
868
+ key: "componentWillUnmount",
869
+ value: function componentWillUnmount() {
870
+ this.isMountCanceled = true;
871
+ }
872
+ }, {
873
+ key: "render",
874
+ value: function render() {
875
+ var isLoading = this.state.isLoading;
876
+ var placeholder = this.props.placeholder;
877
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
878
+ ref: "shareMoment"
879
+ }));
880
+ }
881
+ }]);
882
+
883
+ return TwitterMomentShare;
884
+ }(Component);
885
+
886
+ _defineProperty(TwitterMomentShare, "propTypes", {
887
+ /**
888
+ * id of Twitter moment to show
889
+ */
890
+ momentId: PropTypes.string.isRequired,
891
+
892
+ /**
893
+ * Additional options for overriding config.
894
+ */
895
+ options: PropTypes.object,
896
+
897
+ /**
898
+ * Placeholder while tweet is loading
899
+ */
900
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
901
+
902
+ /**
903
+ * Function to execute after load, return html element
904
+ */
905
+ onLoad: PropTypes.func
906
+ });
907
+
908
+ var TwitterDMButton =
909
+ /*#__PURE__*/
910
+ function (_Component) {
911
+ _inherits(TwitterDMButton, _Component);
912
+
913
+ function TwitterDMButton(props) {
914
+ var _this;
915
+
916
+ _classCallCheck(this, TwitterDMButton);
917
+
918
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
919
+ _this.state = {
920
+ isLoading: true
921
+ };
922
+ return _this;
923
+ }
924
+
925
+ _createClass(TwitterDMButton, [{
926
+ key: "componentDidMount",
927
+ value: function componentDidMount() {
928
+ var _this2 = this;
929
+
930
+ var onLoad = this.props.onLoad;
931
+
932
+ if (exenv.canUseDOM) {
933
+ var script = require('scriptjs');
934
+
935
+ script(twitterWidgetJs, 'twitter-embed', function () {
936
+ if (!window.twttr) {
937
+ console.error('Failure to load window.twttr in TwitterDMButton, aborting load.');
938
+ return;
939
+ }
940
+
941
+ if (!_this2.isMountCanceled) {
942
+ window.twttr.widgets.createDMButton(_this2.props.id, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
943
+ _this2.setState({
944
+ isLoading: false
945
+ });
946
+
947
+ if (onLoad) {
948
+ onLoad(element);
949
+ }
950
+ });
951
+ }
952
+ });
953
+ }
954
+ }
955
+ }, {
956
+ key: "componentWillUnmount",
957
+ value: function componentWillUnmount() {
958
+ this.isMountCanceled = true;
959
+ }
960
+ }, {
961
+ key: "render",
962
+ value: function render() {
963
+ var isLoading = this.state.isLoading;
964
+ var placeholder = this.props.placeholder;
965
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
966
+ ref: "embedContainer"
967
+ }));
968
+ }
969
+ }]);
970
+
971
+ return TwitterDMButton;
972
+ }(Component);
973
+
974
+ _defineProperty(TwitterDMButton, "propTypes", {
975
+ /**
976
+ * Twitter user id for DM button
977
+ */
978
+ id: PropTypes.number.isRequired,
979
+
980
+ /**
981
+ * Additional options to be added to the button
982
+ */
983
+ options: PropTypes.object,
984
+
985
+ /**
986
+ * Placeholder while tweet is loading
987
+ */
988
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
989
+
990
+ /**
991
+ * Function to execute after load, return html element
992
+ */
993
+ onLoad: PropTypes.func
994
+ });
995
+
996
+ var TwitterVideoEmbed =
997
+ /*#__PURE__*/
998
+ function (_Component) {
999
+ _inherits(TwitterVideoEmbed, _Component);
1000
+
1001
+ function TwitterVideoEmbed(props) {
1002
+ var _this;
1003
+
1004
+ _classCallCheck(this, TwitterVideoEmbed);
1005
+
1006
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
1007
+ _this.state = {
1008
+ isLoading: true
1009
+ };
1010
+ return _this;
1011
+ }
1012
+
1013
+ _createClass(TwitterVideoEmbed, [{
1014
+ key: "componentDidMount",
1015
+ value: function componentDidMount() {
1016
+ var _this2 = this;
1017
+
1018
+ var onLoad = this.props.onLoad;
1019
+
1020
+ if (exenv.canUseDOM) {
1021
+ var script = require('scriptjs');
1022
+
1023
+ script(twitterWidgetJs, 'twitter-embed', function () {
1024
+ if (!window.twttr) {
1025
+ console.error('Failure to load window.twttr in TwitterVideoEmbed, aborting load.');
1026
+ return;
1027
+ }
1028
+
1029
+ if (!_this2.isMountCanceled) {
1030
+ window.twttr.widgets.createVideo(_this2.props.id, _this2.refs.embedContainer).then(function (element) {
1031
+ _this2.setState({
1032
+ isLoading: false
1033
+ });
1034
+
1035
+ if (onLoad) {
1036
+ onLoad(element);
1037
+ }
1038
+ });
1039
+ }
1040
+ });
1041
+ }
1042
+ }
1043
+ }, {
1044
+ key: "componentWillUnmount",
1045
+ value: function componentWillUnmount() {
1046
+ this.isMountCanceled = true;
1047
+ }
1048
+ }, {
1049
+ key: "render",
1050
+ value: function render() {
1051
+ var isLoading = this.state.isLoading;
1052
+ var placeholder = this.props.placeholder;
1053
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
1054
+ ref: "embedContainer"
1055
+ }));
1056
+ }
1057
+ }]);
1058
+
1059
+ return TwitterVideoEmbed;
1060
+ }(Component);
1061
+
1062
+ _defineProperty(TwitterVideoEmbed, "propTypes", {
1063
+ /**
1064
+ * Id of video tweet.
1065
+ */
1066
+ id: PropTypes.string.isRequired,
1067
+
1068
+ /**
1069
+ * Placeholder while tweet is loading
1070
+ */
1071
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1072
+
1073
+ /**
1074
+ * Function to execute after load, return html element
1075
+ */
1076
+ onLoad: PropTypes.func
1077
+ });
1078
+
1079
+ var TwitterOnAirButton =
1080
+ /*#__PURE__*/
1081
+ function (_Component) {
1082
+ _inherits(TwitterOnAirButton, _Component);
1083
+
1084
+ function TwitterOnAirButton(props) {
1085
+ var _this;
1086
+
1087
+ _classCallCheck(this, TwitterOnAirButton);
1088
+
1089
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
1090
+ _this.state = {
1091
+ isLoading: true
1092
+ };
1093
+ return _this;
1094
+ }
1095
+
1096
+ _createClass(TwitterOnAirButton, [{
1097
+ key: "componentDidMount",
1098
+ value: function componentDidMount() {
1099
+ var _this2 = this;
1100
+
1101
+ var onLoad = this.props.onLoad;
1102
+
1103
+ if (exenv.canUseDOM) {
1104
+ var script = require('scriptjs');
1105
+
1106
+ script(twitterWidgetJs, 'twitter-embed', function () {
1107
+ if (!window.twttr) {
1108
+ console.error('Failure to load window.twttr in TwitterOnAirButton, aborting load.');
1109
+ return;
1110
+ }
1111
+
1112
+ if (!_this2.isMountCanceled) {
1113
+ window.twttr.widgets.createPeriscopeOnAirButton(_this2.props.username, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1114
+ _this2.setState({
1115
+ isLoading: false
1116
+ });
1117
+
1118
+ if (onLoad) {
1119
+ onLoad(element);
1120
+ }
1121
+ });
1122
+ }
1123
+ });
1124
+ }
1125
+ }
1126
+ }, {
1127
+ key: "componentWillUnmount",
1128
+ value: function componentWillUnmount() {
1129
+ this.isMountCanceled = true;
1130
+ }
1131
+ }, {
1132
+ key: "render",
1133
+ value: function render() {
1134
+ var isLoading = this.state.isLoading;
1135
+ var placeholder = this.props.placeholder;
1136
+ return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
1137
+ ref: "embedContainer"
1138
+ }));
1139
+ }
1140
+ }]);
1141
+
1142
+ return TwitterOnAirButton;
1143
+ }(Component);
1144
+
1145
+ _defineProperty(TwitterOnAirButton, "propTypes", {
1146
+ /**
1147
+ * Username for which you require periscope on air button
1148
+ */
1149
+ username: PropTypes.string.isRequired,
1150
+
1151
+ /**
1152
+ * Additional options for overriding config.
1153
+ */
1154
+ options: PropTypes.object,
1155
+
1156
+ /**
1157
+ * Placeholder while tweet is loading
1158
+ */
1159
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1160
+
1161
+ /**
1162
+ * Function to execute after load, return html element
1163
+ */
1164
+ onLoad: PropTypes.func
1165
+ });
71
1166
 
72
1167
  var ImageSlider = function ImageSlider(props) {
73
1168
  var innerSlider = useRef(null);
@@ -129,11 +1224,7 @@ var ImageSlider = function ImageSlider(props) {
129
1224
  var thumbSize = void 0;
130
1225
  var scrollerVisible = false;
131
1226
  if (window.innerWidth > 1399) {
132
- if (props.data.slides && props.data.slides.length < 3) {
133
- thumbSize = Math.floor(viewableWindow.current.clientWidth / 2 - 40);
134
- } else {
135
- thumbSize = Math.floor(viewableWindow.current.clientWidth / 3 - 40);
136
- }
1227
+ thumbSize = Math.floor(viewableWindow.current.clientWidth / 3 - 40);
137
1228
  if (props.data.slides.length > 3) {
138
1229
  scrollerVisible = true;
139
1230
  }
@@ -150,7 +1241,6 @@ var ImageSlider = function ImageSlider(props) {
150
1241
  scrollerVisible = true;
151
1242
  }
152
1243
  }
153
- console.log('i am client width', viewableWindow.current.clientWidth);
154
1244
  if (thumbSize !== tileSize) {
155
1245
  setTileSize(thumbSize);
156
1246
  setScrollPosition(0);