@mjhls/mjh-framework 1.0.861 → 1.0.862

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 (304) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +23 -23
  4. package/dist/cjs/AD300x250x600.js +23 -23
  5. package/dist/cjs/AD728x90.js +26 -26
  6. package/dist/cjs/ADFloatingFooter.js +22 -22
  7. package/dist/cjs/ADFooter.js +6 -6
  8. package/dist/cjs/ADGutter.js +22 -22
  9. package/dist/cjs/{ADInfeed-ff26342c.js → ADInfeed-f8324b70.js} +4 -4
  10. package/dist/cjs/ADSkyscraper.js +22 -22
  11. package/dist/cjs/ADSponsoredResources.js +22 -22
  12. package/dist/cjs/ADWebcast.js +22 -22
  13. package/dist/cjs/ADWelcome.js +19 -19
  14. package/dist/cjs/{ADlgInfeed-ad4953d4.js → ADlgInfeed-98d7c699.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +8 -8
  16. package/dist/cjs/AdSlot.js +23 -23
  17. package/dist/cjs/AdSlotsProvider.js +13 -13
  18. package/dist/cjs/AlgoliaSearch.js +18 -18
  19. package/dist/cjs/AlphabeticList.js +10 -10
  20. package/dist/cjs/ArticleCarousel.js +17 -17
  21. package/dist/cjs/ArticleProgramLandingPage.js +49 -50
  22. package/dist/cjs/ArticleSeriesLandingPage.js +31 -31
  23. package/dist/cjs/ArticleSeriesListing.js +32 -32
  24. package/dist/cjs/Auth.js +484 -348
  25. package/dist/cjs/AuthWrapper.js +588 -11
  26. package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-c21aac7f.js} +1 -1
  27. package/dist/cjs/Beam.js +8 -8
  28. package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
  29. package/dist/cjs/Breadcrumbs.js +8 -8
  30. package/dist/cjs/CMEDeck.js +24 -24
  31. package/dist/cjs/Column2.js +16 -16
  32. package/dist/cjs/Column3.js +32 -32
  33. package/dist/cjs/ConferenceArticleCard.js +22 -22
  34. package/dist/cjs/DeckContent.js +41 -41
  35. package/dist/cjs/DeckQueue.js +30 -30
  36. package/dist/cjs/{Dfp-0bf098b5.js → Dfp-3f0ed4c8.js} +14 -14
  37. package/dist/cjs/EventsDeck.js +45 -45
  38. package/dist/cjs/ExternalResources.js +46 -47
  39. package/dist/cjs/Feature.js +4 -4
  40. package/dist/cjs/ForbesHero.js +12 -12
  41. package/dist/cjs/GridContent.js +46 -46
  42. package/dist/cjs/GridHero.js +13 -13
  43. package/dist/cjs/GroupDeck.js +14 -14
  44. package/dist/cjs/HamMagazine.js +37 -37
  45. package/dist/cjs/Hero.js +4 -4
  46. package/dist/cjs/HighlightenVideo.js +2 -2
  47. package/dist/cjs/HorizontalArticleListing.js +46 -47
  48. package/dist/cjs/HorizontalHero.js +5 -5
  49. package/dist/cjs/IssueContentDeck.js +13 -13
  50. package/dist/cjs/IssueDeck.js +16 -16
  51. package/dist/cjs/IssueLanding.js +84 -85
  52. package/dist/cjs/KMTracker.js +15 -15
  53. package/dist/cjs/LeftNav.js +21 -21
  54. package/dist/cjs/MasterDeck.js +40 -40
  55. package/dist/cjs/MediaSeriesLanding.js +701 -502
  56. package/dist/cjs/NavDvm.js +13 -13
  57. package/dist/cjs/NavMagazine.js +41 -41
  58. package/dist/cjs/NavNative.js +41 -41
  59. package/dist/cjs/OncliveHero.js +4 -4
  60. package/dist/cjs/OncliveLargeHero.js +13 -13
  61. package/dist/cjs/PageFilter.js +6 -6
  62. package/dist/cjs/PartnerDetailListing.js +88 -1267
  63. package/dist/cjs/PdfDownload.js +2 -2
  64. package/dist/cjs/PopUpModal.js +6 -6
  65. package/dist/cjs/PubSection.js +34 -34
  66. package/dist/cjs/PubToc.js +8 -8
  67. package/dist/cjs/PublicationDeck.js +8 -8
  68. package/dist/cjs/PublicationLanding.js +55 -55
  69. package/dist/cjs/QueueDeckExpanded.js +37 -37
  70. package/dist/cjs/RecentNews.js +4 -4
  71. package/dist/cjs/RelatedContent.js +35 -35
  72. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  73. package/dist/cjs/Search.js +8 -8
  74. package/dist/cjs/Segment.js +6 -6
  75. package/dist/cjs/SeriesListingDeck.js +19 -19
  76. package/dist/cjs/{SeriesSlider-60fa1342.js → SeriesSlider-e3e8ead7.js} +14 -14
  77. package/dist/cjs/SetCookie.js +1 -1
  78. package/dist/cjs/SideFooter.js +17 -17
  79. package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-948138c7.js} +11 -11
  80. package/dist/cjs/TaxonomyCard.js +10 -10
  81. package/dist/cjs/TaxonomyDescription.js +45 -46
  82. package/dist/cjs/TemplateNormal.js +47 -47
  83. package/dist/cjs/ThumbnailCard.js +7 -7
  84. package/dist/cjs/Ustream.js +14 -14
  85. package/dist/cjs/VerticalHero.js +3 -3
  86. package/dist/cjs/VideoProgramLandingPage.js +51 -52
  87. package/dist/cjs/VideoSeriesCard.js +14 -14
  88. package/dist/cjs/VideoSeriesFilter.js +9 -9
  89. package/dist/cjs/VideoSeriesLandingPage.js +37 -37
  90. package/dist/cjs/VideoSeriesListing.js +32 -32
  91. package/dist/cjs/View.js +90 -92
  92. package/dist/cjs/YahooHero.js +15 -15
  93. package/dist/cjs/YoutubeGroup.js +26 -26
  94. package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
  95. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
  96. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  97. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
  98. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
  99. package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
  100. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
  101. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
  102. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  103. package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
  104. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
  105. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  106. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  107. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
  108. package/dist/cjs/{extends-60837c34.js → extends-29bdbc6d.js} +8 -7
  109. package/dist/cjs/faundadb.js +7 -7
  110. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  111. package/dist/cjs/getRelatedArticle.js +135 -71
  112. package/dist/cjs/getRootDocGroup.js +6 -6
  113. package/dist/cjs/getSerializers.js +45 -46
  114. package/dist/cjs/{getTargeting-3e45e4d4.js → getTargeting-32d1c2e4.js} +11 -11
  115. package/dist/cjs/getTargeting.js +8 -8
  116. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  117. package/dist/cjs/{index-44481153.js → index-0e4427c8.js} +40 -21
  118. package/dist/cjs/{index-87d0db67.js → index-3c2fa34e.js} +425 -175
  119. package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
  120. package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
  121. package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
  122. package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
  123. package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
  124. package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
  125. package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
  126. package/dist/cjs/index.js +141 -140
  127. package/dist/cjs/{inherits-87492b40.js → inherits-c2065b95.js} +22 -19
  128. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  129. package/dist/cjs/keys-7f2c2108.js +25 -0
  130. package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
  131. package/dist/cjs/main-f1c77adb.js +973 -0
  132. package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
  133. package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
  134. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
  135. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  136. package/dist/cjs/stringify-c9ac1214.js +17 -0
  137. package/dist/cjs/timeDifferenceCalc.js +1 -1
  138. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
  139. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  140. package/dist/cjs/{typeof-9d7f610f.js → typeof-88a668c5.js} +35 -35
  141. package/dist/cjs/urlFor.js +1 -1
  142. package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
  143. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  144. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
  145. package/dist/esm/AD.js +7 -7
  146. package/dist/esm/AD300x250.js +26 -26
  147. package/dist/esm/AD300x250x600.js +26 -26
  148. package/dist/esm/AD728x90.js +29 -29
  149. package/dist/esm/ADFloatingFooter.js +28 -28
  150. package/dist/esm/ADFooter.js +11 -11
  151. package/dist/esm/ADGutter.js +28 -28
  152. package/dist/esm/{ADInfeed-422ad6e6.js → ADInfeed-a71a3972.js} +9 -9
  153. package/dist/esm/ADSkyscraper.js +28 -28
  154. package/dist/esm/ADSponsoredResources.js +28 -28
  155. package/dist/esm/ADWebcast.js +28 -28
  156. package/dist/esm/ADWelcome.js +29 -29
  157. package/dist/esm/{ADlgInfeed-f7468db8.js → ADlgInfeed-d94f1437.js} +8 -8
  158. package/dist/esm/AccordionPanel.js +24 -24
  159. package/dist/esm/AdSlot.js +26 -26
  160. package/dist/esm/AdSlotsProvider.js +14 -14
  161. package/dist/esm/AlgoliaSearch.js +44 -44
  162. package/dist/esm/AlphabeticList.js +22 -22
  163. package/dist/esm/ArticleCarousel.js +20 -20
  164. package/dist/esm/ArticleProgramLandingPage.js +55 -56
  165. package/dist/esm/ArticleSeriesLandingPage.js +37 -37
  166. package/dist/esm/ArticleSeriesListing.js +56 -56
  167. package/dist/esm/Auth.js +554 -418
  168. package/dist/esm/AuthWrapper.js +607 -29
  169. package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-30aeba69.js} +11 -11
  170. package/dist/esm/Beam.js +8 -8
  171. package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.js} +35 -35
  172. package/dist/esm/Breadcrumbs.js +17 -17
  173. package/dist/esm/CMEDeck.js +79 -79
  174. package/dist/esm/Column1.js +5 -5
  175. package/dist/esm/Column2.js +27 -27
  176. package/dist/esm/Column3.js +51 -51
  177. package/dist/esm/ConferenceArticleCard.js +35 -35
  178. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  179. package/dist/esm/DeckContent.js +86 -86
  180. package/dist/esm/DeckQueue.js +68 -68
  181. package/dist/esm/{Dfp-85c9513e.js → Dfp-be030f2a.js} +22 -22
  182. package/dist/esm/EventsDeck.js +105 -105
  183. package/dist/esm/ExternalResources.js +72 -73
  184. package/dist/esm/Feature.js +18 -18
  185. package/dist/esm/ForbesHero.js +35 -35
  186. package/dist/esm/GridContent.js +163 -163
  187. package/dist/esm/GridHero.js +37 -37
  188. package/dist/esm/GroupDeck.js +47 -47
  189. package/dist/esm/HamMagazine.js +114 -114
  190. package/dist/esm/Header.js +8 -8
  191. package/dist/esm/Hero.js +10 -10
  192. package/dist/esm/HighlightenVideo.js +14 -14
  193. package/dist/esm/HorizontalArticleListing.js +68 -69
  194. package/dist/esm/HorizontalHero.js +23 -23
  195. package/dist/esm/IssueContentDeck.js +50 -50
  196. package/dist/esm/IssueDeck.js +47 -47
  197. package/dist/esm/IssueLanding.js +92 -93
  198. package/dist/esm/KMTracker.js +15 -15
  199. package/dist/esm/LeftNav.js +34 -34
  200. package/dist/esm/MasterDeck.js +73 -73
  201. package/dist/esm/MediaSeriesLanding.js +986 -787
  202. package/dist/esm/NavDvm.js +56 -56
  203. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  204. package/dist/esm/NavMagazine.js +123 -123
  205. package/dist/esm/NavNative.js +112 -112
  206. package/dist/esm/OncliveHero.js +16 -16
  207. package/dist/esm/OncliveLargeHero.js +60 -60
  208. package/dist/esm/PageFilter.js +12 -12
  209. package/dist/esm/PartnerDetailListing.js +131 -1309
  210. package/dist/esm/PdfDownload.js +7 -7
  211. package/dist/esm/PopUpModal.js +14 -14
  212. package/dist/esm/PubSection.js +39 -39
  213. package/dist/esm/PubToc.js +12 -12
  214. package/dist/esm/PublicationDeck.js +39 -39
  215. package/dist/esm/PublicationLanding.js +102 -102
  216. package/dist/esm/QueueDeckExpanded.js +275 -275
  217. package/dist/esm/RecentNews.js +20 -20
  218. package/dist/esm/RelatedContent.js +48 -48
  219. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  220. package/dist/esm/RolesDeck.js +13 -13
  221. package/dist/esm/Search.js +12 -12
  222. package/dist/esm/Segment.js +6 -6
  223. package/dist/esm/SeriesListingDeck.js +32 -32
  224. package/dist/esm/{SeriesSlider-05ecb544.js → SeriesSlider-ae17159f.js} +31 -31
  225. package/dist/esm/SetCookie.js +1 -1
  226. package/dist/esm/SideFooter.js +34 -34
  227. package/dist/esm/SocialIcons.js +7 -7
  228. package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-db963c3e.js} +29 -29
  229. package/dist/esm/SocialShare.js +25 -25
  230. package/dist/esm/TaxonomyCard.js +42 -42
  231. package/dist/esm/TaxonomyDescription.js +49 -50
  232. package/dist/esm/TemplateNormal.js +67 -67
  233. package/dist/esm/ThumbnailCard.js +14 -14
  234. package/dist/esm/Ustream.js +27 -27
  235. package/dist/esm/VerticalHero.js +14 -14
  236. package/dist/esm/VideoProgramLandingPage.js +63 -64
  237. package/dist/esm/VideoSeriesCard.js +26 -26
  238. package/dist/esm/VideoSeriesFilter.js +15 -15
  239. package/dist/esm/VideoSeriesLandingPage.js +42 -42
  240. package/dist/esm/VideoSeriesListing.js +72 -72
  241. package/dist/esm/View.js +246 -248
  242. package/dist/esm/YahooHero.js +35 -35
  243. package/dist/esm/YoutubeGroup.js +51 -51
  244. package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
  245. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
  246. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  247. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
  248. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
  249. package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
  250. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
  251. package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
  252. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
  253. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  254. package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
  255. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
  256. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  257. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  258. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
  259. package/dist/esm/{extends-eb69e8ac.js → extends-60e0e1c6.js} +8 -8
  260. package/dist/esm/faundadb.js +7 -7
  261. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  262. package/dist/esm/getRelatedArticle.js +135 -71
  263. package/dist/esm/getRootDocGroup.js +6 -6
  264. package/dist/esm/getSerializers.js +45 -46
  265. package/dist/esm/{getTargeting-9cb7e014.js → getTargeting-cf2724e3.js} +11 -11
  266. package/dist/esm/getTargeting.js +8 -8
  267. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
  268. package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
  269. package/dist/esm/{index-1819118a.js → index-5cc7b406.js} +43 -24
  270. package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
  271. package/dist/esm/{index-fa2ffe86.js → index-79cfd25c.js} +44 -45
  272. package/dist/esm/{index-20e503c9.js → index-fce5c5b6.js} +819 -568
  273. package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
  274. package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
  275. package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
  276. package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
  277. package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
  278. package/dist/esm/index.js +137 -136
  279. package/dist/esm/{inherits-0d8cda6e.js → inherits-a41fe93f.js} +20 -20
  280. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  281. package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
  282. package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
  283. package/dist/esm/main-d4165069.js +961 -0
  284. package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
  285. package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
  286. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
  287. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  288. package/dist/esm/stringify-59c8f690.js +15 -0
  289. package/dist/esm/timeDifferenceCalc.js +1 -1
  290. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
  291. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  292. package/dist/esm/{typeof-af9c50d8.js → typeof-a286cf0c.js} +35 -35
  293. package/dist/esm/urlFor.js +1 -1
  294. package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
  295. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  296. package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
  297. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
  298. package/package.json +111 -110
  299. package/dist/cjs/keys-a586b7a0.js +0 -25
  300. package/dist/cjs/main-7b5e57b0.js +0 -898
  301. package/dist/cjs/stringify-7c5aff47.js +0 -17
  302. package/dist/esm/main-747e7d25.js +0 -886
  303. package/dist/esm/stringify-4330ccdc.js +0 -15
  304. package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
@@ -1,1272 +1,77 @@
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';
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 { FacebookProvider, Page } from 'react-facebook';
7
+ import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
8
+ import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
9
+ import urlFor from './urlFor.js';
10
+ import { m as moment } from './moment-bc12cb97.js';
11
+ import QueueDeckExpanded from './QueueDeckExpanded.js';
12
+ import Breadcrumbs from './Breadcrumbs.js';
13
+ import Feature from './Feature.js';
14
+ import { g as getSerializers } from './index-fce5c5b6.js';
15
+ import { B as BlockContent } from './BlockContent-c99c9a8d.js';
16
+ import './_commonjsHelpers-0c4b6f40.js';
17
+ import './es6.string.iterator-bc33758b.js';
18
+ import './_to-object-b50e61c3.js';
19
+ import './web.dom.iterable-4109ff68.js';
4
20
  import './_library-528f1934.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-eb69e8ac.js';
10
- import './_object-sap-964b6feb.js';
11
- import './inherits-0d8cda6e.js';
12
- import './define-property-8af5f002.js';
13
- import './web.dom.iterable-4439f05a.js';
14
- import './typeof-af9c50d8.js';
15
- import './_is-array-58e95429.js';
16
- import React, { Component, useRef, useState, useEffect } from 'react';
17
- import './index-1819118a.js';
18
- import PropTypes from 'prop-types';
19
- import 'react-bootstrap/Row';
20
- import 'react-bootstrap/Col';
21
- import 'react-bootstrap/Card';
22
- import { m as moment } from './moment-b6f49411.js';
23
- import 'next/router';
24
- import './isSymbol-1981418f.js';
25
- import './debounce-9207d8ee.js';
26
- import './toNumber-2f7a84cd.js';
27
- import './index.es-c6222053.js';
21
+ import './core.get-iterator-method-133dfacd.js';
22
+ import './_iter-detect-7e5e5ce2.js';
23
+ import './_object-pie-133f504a.js';
24
+ import 'prop-types';
25
+ import './index-0dbff1d1.js';
26
+ import './toConsumableArray-6d9a4616.js';
27
+ import 'react-bootstrap';
28
+ import './index.es-a6137319.js';
29
+ import './visibility-sensor-72fd8f8b.js';
28
30
  import 'react-dom';
29
- import './visibility-sensor-f40c2564.js';
30
- import './index-51a80699.js';
31
- import urlFor from './urlFor.js';
32
- import './index-6c12bdd5.js';
33
- import './main-747e7d25.js';
34
- import './entities-7cc3bf45.js';
35
- import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
36
- import './stringify-4330ccdc.js';
37
- import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-fc1c2e29.js';
38
- import './Segment.js';
39
- import './Beam.js';
31
+ import './index-5cc7b406.js';
32
+ import 'next/router';
33
+ import './index-755f2cc2.js';
34
+ import './main-d4165069.js';
35
+ import './entities-932b50cf.js';
36
+ import './ADInfeed-a71a3972.js';
37
+ import 'react-bootstrap/Card';
40
38
  import './AdSlot.js';
41
- import './ADInfeed-422ad6e6.js';
42
- import './lodash-ec8c6b48.js';
43
- import './ADlgInfeed-f7468db8.js';
39
+ import './debounce-533d9748.js';
40
+ import './isSymbol-a7e9aafe.js';
41
+ import './toNumber-5aeba6e7.js';
42
+ import './Beam.js';
43
+ import './stringify-59c8f690.js';
44
+ import './Segment.js';
45
+ import './AuthorComponent-30aeba69.js';
46
+ import './lodash-f97fd99a.js';
47
+ import './ADlgInfeed-d94f1437.js';
44
48
  import './getContentCategory-15dcc413.js';
45
- import './AuthorComponent-8ffd4679.js';
46
- import 'react-bootstrap/Button';
47
- import { B as BlockContent } from './BlockContent-d05b5b23.js';
49
+ import './timeDifferenceCalc.js';
50
+ import 'react-bootstrap/Breadcrumb';
51
+ import 'react-bootstrap/Carousel';
48
52
  import './index-c7e2ac95.js';
49
- import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
53
+ import './util-3ab476bf.js';
54
+ import './typeof-a286cf0c.js';
55
+ import './_is-array-3e99e06e.js';
56
+ import './brightcove-react-player-loader.es-57a70a56.js';
50
57
  import './GroupDeck.js';
51
- import 'react-bootstrap';
52
- import './timeDifferenceCalc.js';
53
- import QueueDeckExpanded from './QueueDeckExpanded.js';
54
- import './iconBase-602d52fe.js';
55
- import './index.esm-3fdda599.js';
56
- import { g as getSerializers } from './index-20e503c9.js';
57
- import './util-7700fc59.js';
58
- import './brightcove-react-player-loader.es-4abff0b1.js';
58
+ import './SocialShare.js';
59
59
  import 'next/head';
60
60
  import 'react-share';
61
- import './SocialShare.js';
62
- import './_object-to-array-7e804fce.js';
61
+ import './_object-to-array-0f197f89.js';
63
62
  import 'react-bootstrap/Pagination';
63
+ import 'react-bootstrap/Button';
64
+ import 'react-bootstrap/Row';
65
+ import 'react-bootstrap/Col';
66
+ import './inherits-a41fe93f.js';
67
+ import './_object-sap-f353c2a9.js';
68
+ import './define-property-fe54dc9f.js';
69
+ import './index.esm-f6156a57.js';
70
+ import './iconBase-ccc56b97.js';
64
71
  import 'react-bootstrap/Figure';
65
72
  import 'react-bootstrap/OverlayTrigger';
66
73
  import 'react-bootstrap/Tooltip';
67
74
  import 'react-bootstrap/Popover';
68
- import 'react-script-tag';
69
- import 'react-bootstrap/Carousel';
70
- import Feature from './Feature.js';
71
- import 'react-bootstrap/Breadcrumb';
72
- import Breadcrumbs from './Breadcrumbs.js';
73
-
74
- function _classCallCheck(instance, Constructor) {
75
- if (!(instance instanceof Constructor)) {
76
- throw new TypeError("Cannot call a class as a function");
77
- }
78
- }
79
-
80
- function _defineProperties(target, props) {
81
- for (var i = 0; i < props.length; i++) {
82
- var descriptor = props[i];
83
- descriptor.enumerable = descriptor.enumerable || false;
84
- descriptor.configurable = true;
85
- if ("value" in descriptor) descriptor.writable = true;
86
- Object.defineProperty(target, descriptor.key, descriptor);
87
- }
88
- }
89
-
90
- function _createClass(Constructor, protoProps, staticProps) {
91
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
92
- if (staticProps) _defineProperties(Constructor, staticProps);
93
- return Constructor;
94
- }
95
-
96
- function _typeof(obj) {
97
- "@babel/helpers - typeof";
98
-
99
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
100
- _typeof = function _typeof(obj) {
101
- return typeof obj;
102
- };
103
- } else {
104
- _typeof = function _typeof(obj) {
105
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
106
- };
107
- }
108
-
109
- return _typeof(obj);
110
- }
111
-
112
- function _assertThisInitialized(self) {
113
- if (self === void 0) {
114
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
115
- }
116
-
117
- return self;
118
- }
119
-
120
- function _possibleConstructorReturn(self, call) {
121
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
122
- return call;
123
- }
124
-
125
- return _assertThisInitialized(self);
126
- }
127
-
128
- function _getPrototypeOf(o) {
129
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
130
- return o.__proto__ || Object.getPrototypeOf(o);
131
- };
132
- return _getPrototypeOf(o);
133
- }
134
-
135
- function _setPrototypeOf(o, p) {
136
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
137
- o.__proto__ = p;
138
- return o;
139
- };
140
-
141
- return _setPrototypeOf(o, p);
142
- }
143
-
144
- function _inherits(subClass, superClass) {
145
- if (typeof superClass !== "function" && superClass !== null) {
146
- throw new TypeError("Super expression must either be null or a function");
147
- }
148
-
149
- subClass.prototype = Object.create(superClass && superClass.prototype, {
150
- constructor: {
151
- value: subClass,
152
- writable: true,
153
- configurable: true
154
- }
155
- });
156
- if (superClass) _setPrototypeOf(subClass, superClass);
157
- }
158
-
159
- function _defineProperty(obj, key, value) {
160
- if (key in obj) {
161
- Object.defineProperty(obj, key, {
162
- value: value,
163
- enumerable: true,
164
- configurable: true,
165
- writable: true
166
- });
167
- } else {
168
- obj[key] = value;
169
- }
170
-
171
- return obj;
172
- }
173
-
174
- var isRequiredIf_1 = createCommonjsModule(function (module, exports) {
175
- 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.
176
- }};exports.default=isRequiredIf;
177
-
178
-
179
- });
180
-
181
- var isRequiredIf = unwrapExports(isRequiredIf_1);
182
-
183
- var exenv = createCommonjsModule(function (module) {
184
- /*!
185
- Copyright (c) 2015 Jed Watson.
186
- Based on code that is Copyright 2013-2015, Facebook, Inc.
187
- All rights reserved.
188
- */
189
- /* global define */
190
-
191
- (function () {
192
-
193
- var canUseDOM = !!(
194
- typeof window !== 'undefined' &&
195
- window.document &&
196
- window.document.createElement
197
- );
198
-
199
- var ExecutionEnvironment = {
200
-
201
- canUseDOM: canUseDOM,
202
-
203
- canUseWorkers: typeof Worker !== 'undefined',
204
-
205
- canUseEventListeners:
206
- canUseDOM && !!(window.addEventListener || window.attachEvent),
207
-
208
- canUseViewport: canUseDOM && !!window.screen
209
-
210
- };
211
-
212
- if ( module.exports) {
213
- module.exports = ExecutionEnvironment;
214
- } else {
215
- window.ExecutionEnvironment = ExecutionEnvironment;
216
- }
217
-
218
- }());
219
- });
220
-
221
- var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
222
-
223
- var TwitterTimelineEmbed =
224
- /*#__PURE__*/
225
- function (_Component) {
226
- _inherits(TwitterTimelineEmbed, _Component);
227
-
228
- function TwitterTimelineEmbed(props) {
229
- var _this;
230
-
231
- _classCallCheck(this, TwitterTimelineEmbed);
232
-
233
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
234
- _this.state = {
235
- isLoading: true
236
- };
237
- return _this;
238
- }
239
-
240
- _createClass(TwitterTimelineEmbed, [{
241
- key: "buildChromeOptions",
242
- value: function buildChromeOptions(options) {
243
- options.chrome = '';
244
-
245
- if (this.props.noHeader) {
246
- options.chrome = options.chrome + ' noheader';
247
- }
248
-
249
- if (this.props.noFooter) {
250
- options.chrome = options.chrome + ' nofooter';
251
- }
252
-
253
- if (this.props.noBorders) {
254
- options.chrome = options.chrome + ' noborders';
255
- }
256
-
257
- if (this.props.noScrollbar) {
258
- options.chrome = options.chrome + ' noscrollbar';
259
- }
260
-
261
- if (this.props.transparent) {
262
- options.chrome = options.chrome + ' transparent';
263
- }
264
-
265
- return options;
266
- }
267
- }, {
268
- key: "buildOptions",
269
- value: function buildOptions() {
270
- var options = Object.assign({}, this.props.options);
271
-
272
- if (this.props.autoHeight) {
273
- options.height = this.refs.embedContainer.parentNode.offsetHeight;
274
- }
275
-
276
- options = Object.assign({}, options, {
277
- theme: this.props.theme,
278
- linkColor: this.props.linkColor,
279
- borderColor: this.props.borderColor,
280
- lang: this.props.lang
281
- });
282
- return options;
283
- }
284
- }, {
285
- key: "renderWidget",
286
- value: function renderWidget(options) {
287
- var _this2 = this;
288
-
289
- var onLoad = this.props.onLoad;
290
-
291
- if (!this.isMountCanceled) {
292
- window.twttr.widgets.createTimeline({
293
- sourceType: this.props.sourceType,
294
- screenName: this.props.screenName,
295
- userId: this.props.userId,
296
- ownerScreenName: this.props.ownerScreenName,
297
- slug: this.props.slug,
298
- id: this.props.id || this.props.widgetId,
299
- url: this.props.url
300
- }, this.refs.embedContainer, options).then(function (element) {
301
- _this2.setState({
302
- isLoading: false
303
- });
304
-
305
- if (onLoad) {
306
- onLoad(element);
307
- }
308
- });
309
- }
310
- }
311
- }, {
312
- key: "componentDidMount",
313
- value: function componentDidMount() {
314
- var _this3 = this;
315
-
316
- if (exenv.canUseDOM) {
317
- var script = require('scriptjs');
318
-
319
- script(twitterWidgetJs, 'twitter-embed', function () {
320
- if (!window.twttr) {
321
- console.error('Failure to load window.twttr in TwitterTimelineEmbed, aborting load.');
322
- return;
323
- }
324
-
325
- var options = _this3.buildOptions();
326
- /** Append chrome options */
327
-
328
-
329
- options = _this3.buildChromeOptions(options);
330
-
331
- _this3.renderWidget(options);
332
- });
333
- }
334
- }
335
- }, {
336
- key: "componentWillUnmount",
337
- value: function componentWillUnmount() {
338
- this.isMountCanceled = true;
339
- }
340
- }, {
341
- key: "render",
342
- value: function render() {
343
- var isLoading = this.state.isLoading;
344
- var placeholder = this.props.placeholder;
345
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
346
- ref: "embedContainer"
347
- }));
348
- }
349
- }]);
350
-
351
- return TwitterTimelineEmbed;
352
- }(Component);
353
-
354
- _defineProperty(TwitterTimelineEmbed, "propTypes", {
355
- /**
356
- * This can be either of profile, likes, list, collection, URL, widget
357
- */
358
- sourceType: PropTypes.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
359
-
360
- /**
361
- * username of twitter handle as String
362
- */
363
- screenName: isRequiredIf(PropTypes.string, function (props) {
364
- return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
365
- }),
366
-
367
- /**
368
- * UserId of twitter handle as number
369
- */
370
- userId: isRequiredIf(PropTypes.number, function (props) {
371
- return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
372
- }),
373
-
374
- /**
375
- * To show list, used along with slug
376
- */
377
- ownerScreenName: isRequiredIf(PropTypes.string, function (props) {
378
- return props.sourceType === 'list' && !props.hasOwnProperty('id');
379
- }),
380
-
381
- /**
382
- * To show list, used along with ownerScreenName
383
- */
384
- slug: isRequiredIf(PropTypes.string, function (props) {
385
- return props.sourceType === 'list' && !props.hasOwnProperty('id');
386
- }),
387
-
388
- /**
389
- * To show list, unique list id
390
- * Also used with collections, in that case its valid collection id
391
- */
392
- id: isRequiredIf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]), function (props) {
393
- return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
394
- }),
395
-
396
- /**
397
- * To show twitter content with url.
398
- * Supported content includes profiles, likes, lists, and collections.
399
- */
400
- url: isRequiredIf(PropTypes.string, function (props) {
401
- return props.sourceType === 'url';
402
- }),
403
-
404
- /**
405
- * To show custom widget
406
- */
407
- widgetId: isRequiredIf(PropTypes.string, function (props) {
408
- return props.sourceType === 'widget';
409
- }),
410
-
411
- /**
412
- * Additional options to pass to twitter widget plugin
413
- */
414
- options: PropTypes.object,
415
-
416
- /**
417
- * Automatically fit into parent container height
418
- */
419
- autoHeight: PropTypes.bool,
420
-
421
- /**
422
- * With dark or light theme
423
- */
424
- theme: PropTypes.oneOf(['dark', 'light']),
425
-
426
- /**
427
- * With custom link colors. Note: Only Hex colors are supported.
428
- */
429
- linkColor: PropTypes.string,
430
-
431
- /**
432
- * With custom border colors. Note: Only Hex colors are supported.
433
- */
434
- borderColor: PropTypes.string,
435
-
436
- /**
437
- * Hide the header from timeline
438
- */
439
- noHeader: PropTypes.bool,
440
-
441
- /**
442
- * Hide the footer from timeline
443
- */
444
- noFooter: PropTypes.bool,
445
-
446
- /**
447
- * Hide the border from timeline
448
- */
449
- noBorders: PropTypes.bool,
450
-
451
- /**
452
- * Hide the scrollbars
453
- */
454
- noScrollbar: PropTypes.bool,
455
-
456
- /**
457
- * Enable Transparancy
458
- */
459
- transparent: PropTypes.bool,
460
-
461
- /**
462
- * Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
463
- */
464
- lang: PropTypes.string,
465
-
466
- /**
467
- * Placeholder while tweet is loading
468
- */
469
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
470
-
471
- /**
472
- * Function to execute after load, return html element
473
- */
474
- onLoad: PropTypes.func
475
- });
476
-
477
- var TwitterShareButton =
478
- /*#__PURE__*/
479
- function (_Component) {
480
- _inherits(TwitterShareButton, _Component);
481
-
482
- function TwitterShareButton(props) {
483
- var _this;
484
-
485
- _classCallCheck(this, TwitterShareButton);
486
-
487
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
488
- _this.state = {
489
- isLoading: true
490
- };
491
- return _this;
492
- }
493
-
494
- _createClass(TwitterShareButton, [{
495
- key: "componentDidMount",
496
- value: function componentDidMount() {
497
- var _this2 = this;
498
-
499
- var onLoad = this.props.onLoad;
500
-
501
- if (exenv.canUseDOM) {
502
- var script = require('scriptjs');
503
-
504
- script(twitterWidgetJs, 'twitter-embed', function () {
505
- if (!window.twttr) {
506
- console.error('Failure to load window.twttr in TwitterShareButton, aborting load.');
507
- return;
508
- }
509
-
510
- if (!_this2.isMountCanceled) {
511
- window.twttr.widgets.createShareButton(_this2.props.url, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
512
- _this2.setState({
513
- isLoading: false
514
- });
515
-
516
- if (onLoad) {
517
- onLoad(element);
518
- }
519
- });
520
- }
521
- });
522
- }
523
- }
524
- }, {
525
- key: "componentWillUnmount",
526
- value: function componentWillUnmount() {
527
- this.isMountCanceled = true;
528
- }
529
- }, {
530
- key: "render",
531
- value: function render() {
532
- var isLoading = this.state.isLoading;
533
- var placeholder = this.props.placeholder;
534
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
535
- ref: "embedContainer"
536
- }));
537
- }
538
- }]);
539
-
540
- return TwitterShareButton;
541
- }(Component);
542
-
543
- _defineProperty(TwitterShareButton, "propTypes", {
544
- /**
545
- * Url for sharing
546
- */
547
- url: PropTypes.string.isRequired,
548
-
549
- /**
550
- * Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
551
- */
552
- options: PropTypes.object,
553
-
554
- /**
555
- * Placeholder while tweet is loading
556
- */
557
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
558
-
559
- /**
560
- * Function to execute after load, return html element
561
- */
562
- onLoad: PropTypes.func
563
- });
564
-
565
- var TwitterFollowButton =
566
- /*#__PURE__*/
567
- function (_Component) {
568
- _inherits(TwitterFollowButton, _Component);
569
-
570
- function TwitterFollowButton(props) {
571
- var _this;
572
-
573
- _classCallCheck(this, TwitterFollowButton);
574
-
575
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
576
- _this.state = {
577
- isLoading: true
578
- };
579
- return _this;
580
- }
581
-
582
- _createClass(TwitterFollowButton, [{
583
- key: "componentDidMount",
584
- value: function componentDidMount() {
585
- var _this2 = this;
586
-
587
- var onLoad = this.props.onLoad;
588
-
589
- if (exenv.canUseDOM) {
590
- var script = require('scriptjs');
591
-
592
- script(twitterWidgetJs, 'twitter-embed', function () {
593
- if (!window.twttr) {
594
- console.error('Failure to load window.twttr in TwitterFollowButton, aborting load.');
595
- return;
596
- }
597
-
598
- if (!_this2.isMountCanceled) {
599
- window.twttr.widgets.createFollowButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
600
- _this2.setState({
601
- isLoading: false
602
- });
603
-
604
- if (onLoad) {
605
- onLoad(element);
606
- }
607
- });
608
- }
609
- });
610
- }
611
- }
612
- }, {
613
- key: "componentWillUnmount",
614
- value: function componentWillUnmount() {
615
- this.isMountCanceled = true;
616
- }
617
- }, {
618
- key: "render",
619
- value: function render() {
620
- var isLoading = this.state.isLoading;
621
- var placeholder = this.props.placeholder;
622
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
623
- ref: "embedContainer"
624
- }));
625
- }
626
- }]);
627
-
628
- return TwitterFollowButton;
629
- }(Component);
630
-
631
- _defineProperty(TwitterFollowButton, "propTypes", {
632
- /**
633
- * Username of twitter user which will be followed on click
634
- */
635
- screenName: PropTypes.string.isRequired,
636
-
637
- /**
638
- * Additional options to be added to the button
639
- */
640
- options: PropTypes.object,
641
-
642
- /**
643
- * Placeholder while tweet is loading
644
- */
645
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
646
-
647
- /**
648
- * Function to execute after load, return html element
649
- */
650
- onLoad: PropTypes.func
651
- });
652
-
653
- var TwitterHashtagButton =
654
- /*#__PURE__*/
655
- function (_Component) {
656
- _inherits(TwitterHashtagButton, _Component);
657
-
658
- function TwitterHashtagButton(props) {
659
- var _this;
660
-
661
- _classCallCheck(this, TwitterHashtagButton);
662
-
663
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
664
- _this.state = {
665
- isLoading: true
666
- };
667
- return _this;
668
- }
669
-
670
- _createClass(TwitterHashtagButton, [{
671
- key: "componentDidMount",
672
- value: function componentDidMount() {
673
- var _this2 = this;
674
-
675
- var onLoad = this.props.onLoad;
676
-
677
- if (exenv.canUseDOM) {
678
- var script = require('scriptjs');
679
-
680
- script(twitterWidgetJs, 'twitter-embed', function () {
681
- if (!window.twttr) {
682
- console.error('Failure to load window.twttr in TwitterHashtagButton, aborting load.');
683
- return;
684
- }
685
-
686
- if (!_this2.isMountCanceled) {
687
- window.twttr.widgets.createHashtagButton(_this2.props.tag, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
688
- _this2.setState({
689
- isLoading: false
690
- });
691
-
692
- if (onLoad) {
693
- onLoad(element);
694
- }
695
- });
696
- }
697
- });
698
- }
699
- }
700
- }, {
701
- key: "componentWillUnmount",
702
- value: function componentWillUnmount() {
703
- this.isMountCanceled = true;
704
- }
705
- }, {
706
- key: "render",
707
- value: function render() {
708
- var isLoading = this.state.isLoading;
709
- var placeholder = this.props.placeholder;
710
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
711
- ref: "embedContainer"
712
- }));
713
- }
714
- }]);
715
-
716
- return TwitterHashtagButton;
717
- }(Component);
718
-
719
- _defineProperty(TwitterHashtagButton, "propTypes", {
720
- /**
721
- * Tag name for hashtag button
722
- */
723
- tag: PropTypes.string.isRequired,
724
-
725
- /**
726
- * Additional options to be added to the button
727
- */
728
- options: PropTypes.object,
729
-
730
- /**
731
- * Placeholder while tweet is loading
732
- */
733
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
734
-
735
- /**
736
- * Function to execute after load, return html element
737
- */
738
- onLoad: PropTypes.func
739
- });
740
-
741
- var TwitterMentionButton =
742
- /*#__PURE__*/
743
- function (_Component) {
744
- _inherits(TwitterMentionButton, _Component);
745
-
746
- function TwitterMentionButton(props) {
747
- var _this;
748
-
749
- _classCallCheck(this, TwitterMentionButton);
750
-
751
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
752
- _this.state = {
753
- isLoading: true
754
- };
755
- return _this;
756
- }
757
-
758
- _createClass(TwitterMentionButton, [{
759
- key: "componentDidMount",
760
- value: function componentDidMount() {
761
- var _this2 = this;
762
-
763
- var onLoad = this.props.onLoad;
764
-
765
- if (exenv.canUseDOM) {
766
- var script = require('scriptjs');
767
-
768
- script(twitterWidgetJs, 'twitter-embed', function () {
769
- if (!window.twttr) {
770
- console.error('Failure to load window.twttr in TwitterMentionButton, aborting load.');
771
- return;
772
- }
773
-
774
- if (!_this2.isMountCanceled) {
775
- window.twttr.widgets.createMentionButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
776
- _this2.setState({
777
- isLoading: false
778
- });
779
-
780
- if (onLoad) {
781
- onLoad(element);
782
- }
783
- });
784
- }
785
- });
786
- }
787
- }
788
- }, {
789
- key: "componentWillUnmount",
790
- value: function componentWillUnmount() {
791
- this.isMountCanceled = true;
792
- }
793
- }, {
794
- key: "render",
795
- value: function render() {
796
- var isLoading = this.state.isLoading;
797
- var placeholder = this.props.placeholder;
798
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
799
- ref: "embedContainer"
800
- }));
801
- }
802
- }]);
803
-
804
- return TwitterMentionButton;
805
- }(Component);
806
-
807
- _defineProperty(TwitterMentionButton, "propTypes", {
808
- /**
809
- * Username to which you will need to tweet
810
- */
811
- screenName: PropTypes.string.isRequired,
812
-
813
- /**
814
- * Additional options for overriding config.
815
- */
816
- options: PropTypes.object,
817
-
818
- /**
819
- * Placeholder while tweet is loading
820
- */
821
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
822
-
823
- /**
824
- * Function to execute after load, return html element
825
- */
826
- onLoad: PropTypes.func
827
- });
828
-
829
- var TwitterTweetEmbed =
830
- /*#__PURE__*/
831
- function (_Component) {
832
- _inherits(TwitterTweetEmbed, _Component);
833
-
834
- function TwitterTweetEmbed(props) {
835
- var _this;
836
-
837
- _classCallCheck(this, TwitterTweetEmbed);
838
-
839
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
840
- _this.state = {
841
- isLoading: true
842
- };
843
- return _this;
844
- }
845
-
846
- _createClass(TwitterTweetEmbed, [{
847
- key: "renderWidget",
848
- value: function renderWidget() {
849
- var _this2 = this;
850
-
851
- var onLoad = this.props.onLoad;
852
-
853
- if (!window.twttr) {
854
- console.error('Failure to load window.twttr in TwitterTweetEmbed, aborting load.');
855
- return;
856
- }
857
-
858
- if (!this.isMountCanceled) {
859
- window.twttr.widgets.createTweet(this.props.tweetId, this.refs.embedContainer, this.props.options).then(function (element) {
860
- _this2.setState({
861
- isLoading: false
862
- });
863
-
864
- if (onLoad) {
865
- onLoad(element);
866
- }
867
- });
868
- }
869
- }
870
- }, {
871
- key: "componentDidMount",
872
- value: function componentDidMount() {
873
- var _this3 = this;
874
-
875
- if (exenv.canUseDOM) {
876
- var script = require('scriptjs');
877
-
878
- script(twitterWidgetJs, 'twitter-embed', function () {
879
- _this3.renderWidget();
880
- });
881
- }
882
- }
883
- }, {
884
- key: "componentWillUnmount",
885
- value: function componentWillUnmount() {
886
- this.isMountCanceled = true;
887
- }
888
- }, {
889
- key: "render",
890
- value: function render() {
891
- var isLoading = this.state.isLoading;
892
- var placeholder = this.props.placeholder;
893
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
894
- ref: "embedContainer"
895
- }));
896
- }
897
- }]);
898
-
899
- return TwitterTweetEmbed;
900
- }(Component);
901
-
902
- _defineProperty(TwitterTweetEmbed, "propTypes", {
903
- /**
904
- * Tweet id that needs to be shown
905
- */
906
- tweetId: PropTypes.string.isRequired,
907
-
908
- /**
909
- * Additional options to pass to twitter widget plugin
910
- */
911
- options: PropTypes.object,
912
-
913
- /**
914
- * Placeholder while tweet is loading
915
- */
916
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
917
-
918
- /**
919
- * Function to execute after load, return html element
920
- */
921
- onLoad: PropTypes.func
922
- });
923
-
924
- var TwitterMomentShare =
925
- /*#__PURE__*/
926
- function (_Component) {
927
- _inherits(TwitterMomentShare, _Component);
928
-
929
- function TwitterMomentShare(props) {
930
- var _this;
931
-
932
- _classCallCheck(this, TwitterMomentShare);
933
-
934
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
935
- _this.state = {
936
- isLoading: true
937
- };
938
- return _this;
939
- }
940
-
941
- _createClass(TwitterMomentShare, [{
942
- key: "componentDidMount",
943
- value: function componentDidMount() {
944
- var _this2 = this;
945
-
946
- var onLoad = this.props.onLoad;
947
-
948
- if (exenv.canUseDOM) {
949
- var script = require('scriptjs');
950
-
951
- script(twitterWidgetJs, 'twitter-embed', function () {
952
- if (!window.twttr) {
953
- console.error('Failure to load window.twttr in TwitterMomentShare, aborting load.');
954
- return;
955
- }
956
-
957
- if (!_this2.isMountCanceled) {
958
- window.twttr.widgets.createMoment(_this2.props.momentId, _this2.refs.shareMoment, _this2.props.options).then(function (element) {
959
- _this2.setState({
960
- isLoading: false
961
- });
962
-
963
- if (onLoad) {
964
- onLoad(element);
965
- }
966
- });
967
- }
968
- });
969
- }
970
- }
971
- }, {
972
- key: "componentWillUnmount",
973
- value: function componentWillUnmount() {
974
- this.isMountCanceled = true;
975
- }
976
- }, {
977
- key: "render",
978
- value: function render() {
979
- var isLoading = this.state.isLoading;
980
- var placeholder = this.props.placeholder;
981
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
982
- ref: "shareMoment"
983
- }));
984
- }
985
- }]);
986
-
987
- return TwitterMomentShare;
988
- }(Component);
989
-
990
- _defineProperty(TwitterMomentShare, "propTypes", {
991
- /**
992
- * id of Twitter moment to show
993
- */
994
- momentId: PropTypes.string.isRequired,
995
-
996
- /**
997
- * Additional options for overriding config.
998
- */
999
- options: PropTypes.object,
1000
-
1001
- /**
1002
- * Placeholder while tweet is loading
1003
- */
1004
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1005
-
1006
- /**
1007
- * Function to execute after load, return html element
1008
- */
1009
- onLoad: PropTypes.func
1010
- });
1011
-
1012
- var TwitterDMButton =
1013
- /*#__PURE__*/
1014
- function (_Component) {
1015
- _inherits(TwitterDMButton, _Component);
1016
-
1017
- function TwitterDMButton(props) {
1018
- var _this;
1019
-
1020
- _classCallCheck(this, TwitterDMButton);
1021
-
1022
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
1023
- _this.state = {
1024
- isLoading: true
1025
- };
1026
- return _this;
1027
- }
1028
-
1029
- _createClass(TwitterDMButton, [{
1030
- key: "componentDidMount",
1031
- value: function componentDidMount() {
1032
- var _this2 = this;
1033
-
1034
- var onLoad = this.props.onLoad;
1035
-
1036
- if (exenv.canUseDOM) {
1037
- var script = require('scriptjs');
1038
-
1039
- script(twitterWidgetJs, 'twitter-embed', function () {
1040
- if (!window.twttr) {
1041
- console.error('Failure to load window.twttr in TwitterDMButton, aborting load.');
1042
- return;
1043
- }
1044
-
1045
- if (!_this2.isMountCanceled) {
1046
- window.twttr.widgets.createDMButton(_this2.props.id, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1047
- _this2.setState({
1048
- isLoading: false
1049
- });
1050
-
1051
- if (onLoad) {
1052
- onLoad(element);
1053
- }
1054
- });
1055
- }
1056
- });
1057
- }
1058
- }
1059
- }, {
1060
- key: "componentWillUnmount",
1061
- value: function componentWillUnmount() {
1062
- this.isMountCanceled = true;
1063
- }
1064
- }, {
1065
- key: "render",
1066
- value: function render() {
1067
- var isLoading = this.state.isLoading;
1068
- var placeholder = this.props.placeholder;
1069
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
1070
- ref: "embedContainer"
1071
- }));
1072
- }
1073
- }]);
1074
-
1075
- return TwitterDMButton;
1076
- }(Component);
1077
-
1078
- _defineProperty(TwitterDMButton, "propTypes", {
1079
- /**
1080
- * Twitter user id for DM button
1081
- */
1082
- id: PropTypes.number.isRequired,
1083
-
1084
- /**
1085
- * Additional options to be added to the button
1086
- */
1087
- options: PropTypes.object,
1088
-
1089
- /**
1090
- * Placeholder while tweet is loading
1091
- */
1092
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1093
-
1094
- /**
1095
- * Function to execute after load, return html element
1096
- */
1097
- onLoad: PropTypes.func
1098
- });
1099
-
1100
- var TwitterVideoEmbed =
1101
- /*#__PURE__*/
1102
- function (_Component) {
1103
- _inherits(TwitterVideoEmbed, _Component);
1104
-
1105
- function TwitterVideoEmbed(props) {
1106
- var _this;
1107
-
1108
- _classCallCheck(this, TwitterVideoEmbed);
1109
-
1110
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
1111
- _this.state = {
1112
- isLoading: true
1113
- };
1114
- return _this;
1115
- }
1116
-
1117
- _createClass(TwitterVideoEmbed, [{
1118
- key: "componentDidMount",
1119
- value: function componentDidMount() {
1120
- var _this2 = this;
1121
-
1122
- var onLoad = this.props.onLoad;
1123
-
1124
- if (exenv.canUseDOM) {
1125
- var script = require('scriptjs');
1126
-
1127
- script(twitterWidgetJs, 'twitter-embed', function () {
1128
- if (!window.twttr) {
1129
- console.error('Failure to load window.twttr in TwitterVideoEmbed, aborting load.');
1130
- return;
1131
- }
1132
-
1133
- if (!_this2.isMountCanceled) {
1134
- window.twttr.widgets.createVideo(_this2.props.id, _this2.refs.embedContainer).then(function (element) {
1135
- _this2.setState({
1136
- isLoading: false
1137
- });
1138
-
1139
- if (onLoad) {
1140
- onLoad(element);
1141
- }
1142
- });
1143
- }
1144
- });
1145
- }
1146
- }
1147
- }, {
1148
- key: "componentWillUnmount",
1149
- value: function componentWillUnmount() {
1150
- this.isMountCanceled = true;
1151
- }
1152
- }, {
1153
- key: "render",
1154
- value: function render() {
1155
- var isLoading = this.state.isLoading;
1156
- var placeholder = this.props.placeholder;
1157
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
1158
- ref: "embedContainer"
1159
- }));
1160
- }
1161
- }]);
1162
-
1163
- return TwitterVideoEmbed;
1164
- }(Component);
1165
-
1166
- _defineProperty(TwitterVideoEmbed, "propTypes", {
1167
- /**
1168
- * Id of video tweet.
1169
- */
1170
- id: PropTypes.string.isRequired,
1171
-
1172
- /**
1173
- * Placeholder while tweet is loading
1174
- */
1175
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1176
-
1177
- /**
1178
- * Function to execute after load, return html element
1179
- */
1180
- onLoad: PropTypes.func
1181
- });
1182
-
1183
- var TwitterOnAirButton =
1184
- /*#__PURE__*/
1185
- function (_Component) {
1186
- _inherits(TwitterOnAirButton, _Component);
1187
-
1188
- function TwitterOnAirButton(props) {
1189
- var _this;
1190
-
1191
- _classCallCheck(this, TwitterOnAirButton);
1192
-
1193
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
1194
- _this.state = {
1195
- isLoading: true
1196
- };
1197
- return _this;
1198
- }
1199
-
1200
- _createClass(TwitterOnAirButton, [{
1201
- key: "componentDidMount",
1202
- value: function componentDidMount() {
1203
- var _this2 = this;
1204
-
1205
- var onLoad = this.props.onLoad;
1206
-
1207
- if (exenv.canUseDOM) {
1208
- var script = require('scriptjs');
1209
-
1210
- script(twitterWidgetJs, 'twitter-embed', function () {
1211
- if (!window.twttr) {
1212
- console.error('Failure to load window.twttr in TwitterOnAirButton, aborting load.');
1213
- return;
1214
- }
1215
-
1216
- if (!_this2.isMountCanceled) {
1217
- window.twttr.widgets.createPeriscopeOnAirButton(_this2.props.username, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1218
- _this2.setState({
1219
- isLoading: false
1220
- });
1221
-
1222
- if (onLoad) {
1223
- onLoad(element);
1224
- }
1225
- });
1226
- }
1227
- });
1228
- }
1229
- }
1230
- }, {
1231
- key: "componentWillUnmount",
1232
- value: function componentWillUnmount() {
1233
- this.isMountCanceled = true;
1234
- }
1235
- }, {
1236
- key: "render",
1237
- value: function render() {
1238
- var isLoading = this.state.isLoading;
1239
- var placeholder = this.props.placeholder;
1240
- return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
1241
- ref: "embedContainer"
1242
- }));
1243
- }
1244
- }]);
1245
-
1246
- return TwitterOnAirButton;
1247
- }(Component);
1248
-
1249
- _defineProperty(TwitterOnAirButton, "propTypes", {
1250
- /**
1251
- * Username for which you require periscope on air button
1252
- */
1253
- username: PropTypes.string.isRequired,
1254
-
1255
- /**
1256
- * Additional options for overriding config.
1257
- */
1258
- options: PropTypes.object,
1259
-
1260
- /**
1261
- * Placeholder while tweet is loading
1262
- */
1263
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1264
-
1265
- /**
1266
- * Function to execute after load, return html element
1267
- */
1268
- onLoad: PropTypes.func
1269
- });
1270
75
 
1271
76
  var ImageSlider = function ImageSlider(props) {
1272
77
  var innerSlider = useRef(null);
@@ -1375,61 +180,61 @@ var ImageSlider = function ImageSlider(props) {
1375
180
  }, []);
1376
181
 
1377
182
  var variant = 'black';
1378
- return React.createElement(
1379
- React.Fragment,
183
+ return React__default.createElement(
184
+ React__default.Fragment,
1380
185
  null,
1381
- React.createElement(
186
+ React__default.createElement(
1382
187
  'div',
1383
188
  { ref: viewableWindow, id: 'vid-slider', className: 'col' },
1384
- React.createElement(
189
+ React__default.createElement(
1385
190
  'div',
1386
191
  { className: 'row' },
1387
- showScroller && React.createElement(
192
+ showScroller && React__default.createElement(
1388
193
  'div',
1389
194
  { onClick: function onClick(e) {
1390
195
  return scrollSlider(e, 'prev');
1391
196
  }, className: 'tile__slider-prev', style: { color: variant } },
1392
- React.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
197
+ React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
1393
198
  ),
1394
- showScroller && React.createElement(
199
+ showScroller && React__default.createElement(
1395
200
  'div',
1396
201
  { onClick: function onClick(e) {
1397
202
  return scrollSlider(e, 'next');
1398
203
  }, className: 'tile__slider-next', style: { color: variant } },
1399
- React.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
204
+ React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
1400
205
  ),
1401
- React.createElement(
206
+ React__default.createElement(
1402
207
  'div',
1403
208
  { ref: innerSlider, className: 'row__inner' },
1404
209
  props.data.slides.map(function (img, index) {
1405
210
  var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
1406
211
  if (!img.slideshowImage.link) {
1407
- return React.createElement(
212
+ return React__default.createElement(
1408
213
  'div',
1409
214
  { ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
1410
- React.createElement(
215
+ React__default.createElement(
1411
216
  'div',
1412
217
  { className: 'tile__media' },
1413
- React.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
218
+ React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
1414
219
  ),
1415
- React.createElement('div', { style: { color: variant }, className: 'tile__info' })
220
+ React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
1416
221
  );
1417
222
  } else {
1418
- return React.createElement(
223
+ return React__default.createElement(
1419
224
  'a',
1420
225
  { ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
1421
- React.createElement(
226
+ React__default.createElement(
1422
227
  'div',
1423
228
  { className: 'tile__media' },
1424
- React.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
229
+ React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
1425
230
  ),
1426
- React.createElement('div', { style: { color: variant }, className: 'tile__info' })
231
+ React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
1427
232
  );
1428
233
  }
1429
234
  })
1430
235
  )
1431
236
  ),
1432
- React.createElement(
237
+ React__default.createElement(
1433
238
  'style',
1434
239
  { jsx: 'true' },
1435
240
  '\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 1.5rem;\n margin-bottom: 0 !important;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider,\n #vidHolder {\n max-width: 805px;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider a:hover {\n color: #7f8c8d;\n text-decoration: underline;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: scroll;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin: 25px 0 70px !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n margin: 0 12px;\n font-size: 20px;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n \n #vid-slider .tile:first-child {\n margin-left: 15px;\n }\n #vid-slider .tile__img {\n height: auto;\n -o-object-fit: contain;\n object-fit: contain;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n \n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n \n #vid-slider .tile__title {\n position: absolute;\n bottom: 0;\n padding: 10px;\n max-width: 250px;\n }\n #vid-slider .tile__title_text {\n position: relative;\n left: 0;\n white-space: normal;\n }\n \n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: 1rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n }\n \n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (min-width: 1399px) {\n .block-content #vid-slider .tile__img {\n height: auto;\n }\n .block-content #vid-slider .tile {\n height: auto;\n }\n }\n \n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n max-width: 620px;\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n max-width: 580px;\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 60px 0 50px !important;\n }\n }\n \n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n }\n @media screen and (max-width: 568px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 30px 0 70px;\n }\n }\n '
@@ -1452,95 +257,112 @@ var PartnerDetails = function PartnerDetails(_ref) {
1452
257
  pageview = _ref.pageview,
1453
258
  page = _ref.page;
1454
259
 
1455
- return React.createElement(
1456
- React.Fragment,
260
+ return React__default.createElement(
261
+ React__default.Fragment,
1457
262
  null,
1458
- React.createElement(Breadcrumbs, null),
1459
- React.createElement(
263
+ React__default.createElement(Breadcrumbs, null),
264
+ React__default.createElement(
1460
265
  'div',
1461
266
  { className: 'partners-page' },
1462
- React.createElement(
267
+ React__default.createElement(
1463
268
  'div',
1464
269
  { className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
1465
- partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React.createElement(
270
+ partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
1466
271
  'a',
1467
272
  { className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
1468
- React.createElement(
273
+ React__default.createElement(
1469
274
  'figure',
1470
275
  { style: { width: '100%', textAlign: 'center' } },
1471
- React.createElement('img', {
276
+ React__default.createElement('img', {
1472
277
  alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
1473
278
  style: { maxWidth: '100%' },
1474
279
  src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
1475
- partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
280
+ partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
1476
281
  'figcaption',
1477
282
  null,
1478
283
  partnerDetails.thumbnail.caption
1479
284
  )
1480
285
  )
1481
- ) : React.createElement(
286
+ ) : React__default.createElement(
1482
287
  'figure',
1483
288
  { className: 'partners-logo', style: { width: '25%', minWidth: '25%', textAlign: 'center' } },
1484
- React.createElement('img', {
289
+ React__default.createElement('img', {
1485
290
  alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
1486
291
  style: { maxWidth: '100%' },
1487
292
  src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
1488
- partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
293
+ partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
1489
294
  'figcaption',
1490
295
  null,
1491
296
  partnerDetails.thumbnail.caption
1492
297
  )
1493
298
  ),
1494
- React.createElement(
299
+ React__default.createElement(
1495
300
  'style',
1496
301
  { jsx: 'true' },
1497
302
  '\n @media screen and (max-width: 768px) {\n .partners-logo {\n width: 100%;\n min-width: 100%;\n }\n .partner-logo-wrap {\n flex-wrap: wrap;\n }\n .block-content-partners {\n padding-left: 0 !important;\n }\n }\n '
1498
303
  ),
1499
- partnerDetails.description && React.createElement(
304
+ (partnerDetails.description || partnerDetails.linkedin || partnerDetails.twitter && partnerDetails.facebook) && React__default.createElement(
1500
305
  'div',
1501
306
  { className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
1502
- React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
307
+ partnerDetails.description && React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
308
+ (partnerDetails.linkedin || partnerDetails.twitter && partnerDetails.facebook) && React__default.createElement(
309
+ 'div',
310
+ null,
311
+ React__default.createElement(
312
+ 'p',
313
+ { 'class': 'd-inline-block font-weight-bold' },
314
+ 'Connect with us:'
315
+ ),
316
+ ' ',
317
+ partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
318
+ url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
319
+ target: '_blank',
320
+ rel: 'noopener noreferrer',
321
+ style: { height: 30, width: 30 }
322
+ }),
323
+ partnerDetails.twitter && partnerDetails.facebook && React__default.createElement(reactSocialIcons_1, { url: partnerDetails.facebook, target: '_blank', rel: 'noopener noreferrer', style: { height: 30, width: 30, marginLeft: '0.25rem' } })
324
+ )
1503
325
  )
1504
326
  ),
1505
- partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React.createElement(
327
+ partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React__default.createElement(
1506
328
  'div',
1507
329
  { className: 'mb-4', style: { padding: '0 15px' } },
1508
- partnerDetails.affiliates[0].title && React.createElement(
330
+ partnerDetails.affiliates[0].title && React__default.createElement(
1509
331
  'h2',
1510
332
  { className: 'bb-gold' },
1511
333
  partnerDetails.affiliates[0].title
1512
334
  ),
1513
- React.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
335
+ React__default.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
1514
336
  ),
1515
- features.length > 0 && React.createElement(
337
+ features.length > 0 && React__default.createElement(
1516
338
  'div',
1517
339
  { className: ' mb-5' },
1518
- React.createElement(Feature, { dataset: features, client: client })
340
+ React__default.createElement(Feature, { dataset: features, client: client })
1519
341
  ),
1520
- partnerDetails.twitter && React.createElement(
1521
- React.Fragment,
1522
- null,
1523
- React.createElement(
1524
- 'div',
1525
- { className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
1526
- React.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
342
+ (partnerDetails.twitter || partnerDetails.facebook) && React__default.createElement(
343
+ 'div',
344
+ { className: 'mb-5', style: { width: '100%', maxWidth: '100%', textAlign: 'center', padding: '15px', border: '2px solid #aaa', borderRadius: '15px' } },
345
+ partnerDetails.twitter ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
346
+ FacebookProvider,
347
+ { appId: ' ' },
348
+ React__default.createElement(Page, { href: partnerDetails.facebook, tabs: 'timeline', width: '500', height: '500' })
1527
349
  )
1528
350
  ),
1529
- React.createElement(
351
+ React__default.createElement(
1530
352
  'div',
1531
353
  null,
1532
- posts && posts.length > 0 && React.createElement(
1533
- React.Fragment,
354
+ posts && posts.length > 0 && React__default.createElement(
355
+ React__default.Fragment,
1534
356
  null,
1535
- React.createElement(
357
+ React__default.createElement(
1536
358
  'h2',
1537
359
  { className: 'bb-gold mb-2' },
1538
360
  'Latest from ',
1539
361
  partnerDetails.name
1540
362
  ),
1541
- React.createElement('hr', null)
363
+ React__default.createElement('hr', null)
1542
364
  ),
1543
- React.createElement(QueueDeckExpanded, {
365
+ React__default.createElement(QueueDeckExpanded, {
1544
366
  client: client,
1545
367
  mapping: Settings.mapping,
1546
368
  dataRecord: posts,
@@ -1574,14 +396,14 @@ PartnerDetails.returnGetInitialProps = function () {
1574
396
  case 0:
1575
397
  today = moment().utc().format();
1576
398
  featureQuery = '*[_type == \'feature\' && is_active == true && feature_url == \'/' + partnerPageUrl + '/' + (category ? category + '/' : null) + identifier + '\'] | order(_updatedAt asc)[0..5]{\n ...,\n \'feature_img\' : feature_img.asset->url\n }';
1577
- partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n description,\n name,\n identifier,\n thumbnail,\n twitter,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n }';
399
+ partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n description,\n name,\n identifier,\n thumbnail,\n twitter,\n facebook,\n linkedin,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n }';
1578
400
 
1579
401
 
1580
402
  if (category) {
1581
403
  //if partners page has a sub category such as onclive
1582
404
  //e.g. /sap-partner/[category]/[partner]
1583
405
 
1584
- partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n description,\n name,\n identifier,\n thumbnail,\n twitter,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n \n }\n }';
406
+ partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n description,\n name,\n identifier,\n thumbnail,\n twitter,\n facebook,\n linkedin,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n \n }\n }';
1585
407
  }
1586
408
 
1587
409
  taxonomyQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && isShow != false\n && identifier.current == \'' + identifier + '\'] [0] {\n \'id\': _id,\n \'title\': name\n }';