@mjhls/mjh-framework 1.0.701 → 1.0.702

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 (267) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +19 -15
  4. package/dist/cjs/AD300x250x600.js +19 -15
  5. package/dist/cjs/AD728x90.js +20 -16
  6. package/dist/cjs/ADFloatingFooter.js +18 -14
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +18 -14
  9. package/dist/cjs/{ADInfeed-f60d8625.js → ADInfeed-ede153e2.js} +2 -2
  10. package/dist/cjs/ADSkyscraper.js +18 -14
  11. package/dist/cjs/ADSponsoredResources.js +18 -14
  12. package/dist/cjs/ADWebcast.js +18 -14
  13. package/dist/cjs/ADWelcome.js +18 -14
  14. package/dist/cjs/{ADlgInfeed-a08f8a4b.js → ADlgInfeed-6a121a0d.js} +2 -2
  15. package/dist/cjs/AccordionPanel.js +6 -6
  16. package/dist/cjs/AdSlot.js +29 -16
  17. package/dist/cjs/AdSlotsProvider.js +4 -2
  18. package/dist/cjs/AlphabeticList.js +9 -9
  19. package/dist/cjs/ArticleCarousel.js +16 -13
  20. package/dist/cjs/ArticleSeriesListing.js +27 -24
  21. package/dist/cjs/Auth.js +743 -312
  22. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-d19285ed.js} +1 -1
  23. package/dist/cjs/Beam.js +19 -19
  24. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-e53217a7.js} +23 -25
  25. package/dist/cjs/Breadcrumbs.js +5 -5
  26. package/dist/cjs/BrowseVideosListing.js +17 -14
  27. package/dist/cjs/CMEDeck.js +26 -23
  28. package/dist/cjs/Column2.js +15 -13
  29. package/dist/cjs/Column3.js +24 -20
  30. package/dist/cjs/ConferenceArticleCard.js +2 -2
  31. package/dist/cjs/DeckContent.js +33 -30
  32. package/dist/cjs/DeckQueue.js +32 -29
  33. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-13ff07b4.js} +13 -10
  34. package/dist/cjs/EventsDeck.js +35 -34
  35. package/dist/cjs/ExternalResources.js +35 -32
  36. package/dist/cjs/Feature.js +4 -3
  37. package/dist/cjs/ForbesHero.js +12 -9
  38. package/dist/cjs/GridContent.js +45 -42
  39. package/dist/cjs/GridHero.js +12 -9
  40. package/dist/cjs/GroupDeck.js +13 -13
  41. package/dist/cjs/HamMagazine.js +19 -17
  42. package/dist/cjs/Hero.js +1 -1
  43. package/dist/cjs/HighlightenVideo.js +1 -1
  44. package/dist/cjs/HorizontalHero.js +3 -3
  45. package/dist/cjs/IssueContentDeck.js +12 -9
  46. package/dist/cjs/IssueDeck.js +15 -12
  47. package/dist/cjs/IssueLanding.js +29 -26
  48. package/dist/cjs/LeftNav.js +18 -14
  49. package/dist/cjs/MasterDeck.js +37 -34
  50. package/dist/cjs/NavDvm.js +9 -9
  51. package/dist/cjs/NavMagazine.js +19 -17
  52. package/dist/cjs/NavNative.js +16 -14
  53. package/dist/cjs/NavNormal.js +10 -10
  54. package/dist/cjs/OncliveHero.js +2 -3
  55. package/dist/cjs/OncliveLargeHero.js +12 -9
  56. package/dist/cjs/PageFilter.js +5 -5
  57. package/dist/cjs/PartnerDetailListing.js +45 -1239
  58. package/dist/cjs/PdfDownload.js +1 -1
  59. package/dist/cjs/PopUpModal.js +5 -5
  60. package/dist/cjs/PublicationDeck.js +8 -5
  61. package/dist/cjs/PublicationLanding.js +60 -57
  62. package/dist/cjs/QueueDeckExpanded.js +36 -33
  63. package/dist/cjs/RecentNews.js +3 -3
  64. package/dist/cjs/RelatedContent.js +6 -3
  65. package/dist/cjs/Search.js +5 -5
  66. package/dist/cjs/Segment.js +20 -20
  67. package/dist/cjs/SetCookie.js +2 -2
  68. package/dist/cjs/SideFooter.js +16 -14
  69. package/dist/cjs/{SocialSearchComponent-75c51b47.js → SocialSearchComponent-1ef1e6fb.js} +5 -5
  70. package/dist/cjs/TaxonomyCard.js +10 -7
  71. package/dist/cjs/TemplateNormal.js +33 -29
  72. package/dist/cjs/ThumbnailCard.js +5 -2
  73. package/dist/cjs/Ustream.js +10 -9
  74. package/dist/cjs/VerticalHero.js +2 -2
  75. package/dist/cjs/VideoSeriesCard.js +13 -10
  76. package/dist/cjs/VideoSeriesFilter.js +11 -11
  77. package/dist/cjs/VideoSeriesListing.js +27 -24
  78. package/dist/cjs/View.js +49 -46
  79. package/dist/cjs/YahooHero.js +12 -9
  80. package/dist/cjs/YoutubeGroup.js +17 -14
  81. package/dist/cjs/{_to-object-329a650b.js → _export-a917dedd.js} +31 -31
  82. package/dist/cjs/{_is-array-754e012d.js → _is-array-a82382b4.js} +11 -11
  83. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-671c90bd.js} +10 -10
  84. package/dist/cjs/{_library-dd23b178.js → _library-4360b4e4.js} +1 -1
  85. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-6bed508e.js} +2 -2
  86. package/dist/cjs/_object-sap-947ef6fb.js +16 -0
  87. package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +10 -0
  88. package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +9 -0
  89. package/dist/cjs/_react_commonjs-external-58b78ee1.js +10 -0
  90. package/dist/cjs/{_set-species-f92c67c5.js → _set-species-47156c42.js} +17 -17
  91. package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-fd8e35e7.js} +69 -69
  92. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-05029198.js} +4 -3
  93. package/dist/cjs/core.get-iterator-method-07b02ac3.js +39 -0
  94. package/dist/cjs/{debounce-eb287781.js → debounce-fb3a46a9.js} +7 -7
  95. package/dist/cjs/{define-property-f4d12f4e.js → define-property-9b6df20e.js} +4 -4
  96. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d3c0cfc0.js} +2 -2
  97. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e5f4ce45.js} +34 -34
  98. package/dist/cjs/{extends-60837c34.js → extends-5fde0677.js} +11 -11
  99. package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
  100. package/dist/cjs/getRelatedArticle.js +10 -10
  101. package/dist/cjs/getSerializers.js +33 -30
  102. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-5ca9bfaf.js} +2 -2
  103. package/dist/cjs/getTargeting.js +8 -8
  104. package/dist/cjs/{index-da796b8c.js → index-29e3f3a9.js} +11 -12
  105. package/dist/cjs/{index-5be2866f.js → index-949261b4.js} +18 -19
  106. package/dist/cjs/{index-ec02006c.js → index-b1ee7cd9.js} +335 -329
  107. package/dist/cjs/{index-2d0a4911.js → index-d7577df6.js} +8 -10
  108. package/dist/cjs/{index-b5eb3ff8.js → index-ff69979f.js} +8 -3
  109. package/dist/cjs/{index.es-ab3f2690.js → index.es-e9d84959.js} +20 -4
  110. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  111. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
  112. package/dist/cjs/{index.esm-4d410430.js → index.esm-8a8fa078.js} +3 -4
  113. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  114. package/dist/cjs/index.js +58 -54
  115. package/dist/cjs/{inherits-513d81cd.js → inherits-02a27fbf.js} +16 -16
  116. package/dist/cjs/{isSymbol-04666465.js → isSymbol-a0d5eb50.js} +5 -5
  117. package/dist/cjs/{js.cookie-a511c430.js → js.cookie-e4684873.js} +1 -1
  118. package/dist/cjs/{keys-a586b7a0.js → keys-1a65eb47.js} +5 -5
  119. package/dist/cjs/{lodash-fc2922d0.js → lodash-257df6c4.js} +72 -23
  120. package/dist/cjs/{main-99536bdc.js → main-1442052b.js} +48 -46
  121. package/dist/cjs/{moment-66a6a284.js → moment-29403f08.js} +11 -8
  122. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-5604d0d1.js} +11 -13
  123. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-d0ac47b9.js} +10 -10
  124. package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-03c20c7d.js} +1 -1
  125. package/dist/cjs/{stringify-7c5aff47.js → stringify-e064b7d0.js} +2 -2
  126. package/dist/cjs/timeDifferenceCalc.js +1 -1
  127. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-d47f0c64.js} +13 -13
  128. package/dist/cjs/{typeof-725500bc.js → typeof-5763a25b.js} +84 -84
  129. package/dist/cjs/urlFor.js +1 -1
  130. package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-ede0bc7b.js} +5 -6
  131. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-cd8a9ccb.js} +10 -10
  132. package/dist/esm/AD.js +1 -1
  133. package/dist/esm/AD300x250.js +21 -17
  134. package/dist/esm/AD300x250x600.js +21 -17
  135. package/dist/esm/AD728x90.js +22 -18
  136. package/dist/esm/ADFloatingFooter.js +20 -16
  137. package/dist/esm/ADFooter.js +5 -5
  138. package/dist/esm/ADGutter.js +20 -16
  139. package/dist/esm/{ADInfeed-c7e745f1.js → ADInfeed-d890d5ca.js} +4 -4
  140. package/dist/esm/ADSkyscraper.js +20 -16
  141. package/dist/esm/ADSponsoredResources.js +20 -16
  142. package/dist/esm/ADWebcast.js +20 -16
  143. package/dist/esm/ADWelcome.js +20 -16
  144. package/dist/esm/{ADlgInfeed-6fedd79b.js → ADlgInfeed-1d006b36.js} +4 -4
  145. package/dist/esm/AccordionPanel.js +6 -6
  146. package/dist/esm/AdSlot.js +30 -17
  147. package/dist/esm/AdSlotsProvider.js +4 -2
  148. package/dist/esm/AlphabeticList.js +9 -9
  149. package/dist/esm/ArticleCarousel.js +16 -13
  150. package/dist/esm/ArticleSeriesListing.js +27 -24
  151. package/dist/esm/Auth.js +743 -312
  152. package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-8ffb1deb.js} +1 -1
  153. package/dist/esm/Beam.js +19 -19
  154. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-e6f64e62.js} +23 -21
  155. package/dist/esm/Breadcrumbs.js +5 -5
  156. package/dist/esm/BrowseVideosListing.js +17 -14
  157. package/dist/esm/CMEDeck.js +26 -23
  158. package/dist/esm/Column2.js +15 -13
  159. package/dist/esm/Column3.js +24 -20
  160. package/dist/esm/ConferenceArticleCard.js +2 -2
  161. package/dist/esm/DeckContent.js +33 -30
  162. package/dist/esm/DeckQueue.js +32 -29
  163. package/dist/esm/{Dfp-8a8fca18.js → Dfp-7db56716.js} +13 -10
  164. package/dist/esm/EventsDeck.js +35 -34
  165. package/dist/esm/ExternalResources.js +35 -32
  166. package/dist/esm/Feature.js +4 -3
  167. package/dist/esm/ForbesHero.js +12 -9
  168. package/dist/esm/GridContent.js +45 -42
  169. package/dist/esm/GridHero.js +12 -9
  170. package/dist/esm/GroupDeck.js +13 -13
  171. package/dist/esm/HamMagazine.js +19 -17
  172. package/dist/esm/Hero.js +1 -1
  173. package/dist/esm/HighlightenVideo.js +1 -1
  174. package/dist/esm/HorizontalHero.js +3 -3
  175. package/dist/esm/IssueContentDeck.js +12 -9
  176. package/dist/esm/IssueDeck.js +15 -12
  177. package/dist/esm/IssueLanding.js +29 -26
  178. package/dist/esm/LeftNav.js +18 -14
  179. package/dist/esm/MasterDeck.js +37 -34
  180. package/dist/esm/NavDvm.js +9 -9
  181. package/dist/esm/NavMagazine.js +19 -17
  182. package/dist/esm/NavNative.js +16 -14
  183. package/dist/esm/NavNormal.js +10 -10
  184. package/dist/esm/OncliveHero.js +2 -3
  185. package/dist/esm/OncliveLargeHero.js +12 -9
  186. package/dist/esm/PageFilter.js +5 -5
  187. package/dist/esm/PartnerDetailListing.js +45 -1238
  188. package/dist/esm/PdfDownload.js +1 -1
  189. package/dist/esm/PopUpModal.js +5 -5
  190. package/dist/esm/PublicationDeck.js +8 -5
  191. package/dist/esm/PublicationLanding.js +60 -57
  192. package/dist/esm/QueueDeckExpanded.js +36 -33
  193. package/dist/esm/RecentNews.js +3 -3
  194. package/dist/esm/RelatedContent.js +6 -3
  195. package/dist/esm/Search.js +5 -5
  196. package/dist/esm/Segment.js +20 -20
  197. package/dist/esm/SetCookie.js +2 -2
  198. package/dist/esm/SideFooter.js +16 -14
  199. package/dist/esm/{SocialSearchComponent-5a9c4628.js → SocialSearchComponent-4eae0149.js} +5 -5
  200. package/dist/esm/TaxonomyCard.js +10 -7
  201. package/dist/esm/TemplateNormal.js +35 -31
  202. package/dist/esm/ThumbnailCard.js +5 -2
  203. package/dist/esm/Ustream.js +10 -9
  204. package/dist/esm/VerticalHero.js +2 -2
  205. package/dist/esm/VideoSeriesCard.js +13 -10
  206. package/dist/esm/VideoSeriesFilter.js +11 -11
  207. package/dist/esm/VideoSeriesListing.js +27 -24
  208. package/dist/esm/View.js +54 -51
  209. package/dist/esm/YahooHero.js +12 -9
  210. package/dist/esm/YoutubeGroup.js +17 -14
  211. package/dist/esm/{_to-object-ded78eb9.js → _export-f7ec2adf.js} +3 -3
  212. package/dist/esm/{_is-array-49698029.js → _is-array-5bea6006.js} +10 -10
  213. package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-65720de7.js} +8 -8
  214. package/dist/esm/_library-90219a8d.js +3 -0
  215. package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-8e2f6c3a.js} +1 -1
  216. package/dist/esm/_object-sap-146241c9.js +14 -0
  217. package/dist/esm/_prop-types_commonjs-external-9481d338.js +5 -0
  218. package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +5 -0
  219. package/dist/esm/_react_commonjs-external-22b61490.js +5 -0
  220. package/dist/esm/{_set-species-cede29f8.js → _set-species-26ee5c2a.js} +14 -14
  221. package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-0c61f551.js} +69 -69
  222. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e761d404.js} +4 -3
  223. package/dist/esm/core.get-iterator-method-dbbb346b.js +36 -0
  224. package/dist/esm/{debounce-1a993acf.js → debounce-7b569c00.js} +6 -6
  225. package/dist/esm/{define-property-de3fc946.js → define-property-7a40a451.js} +4 -4
  226. package/dist/esm/{defineProperty-b798470d.js → defineProperty-a2ac5d3d.js} +2 -2
  227. package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-13b94db0.js} +27 -27
  228. package/dist/esm/{extends-cc5da797.js → extends-8e0228d5.js} +11 -11
  229. package/dist/esm/{get-5ee14cda.js → get-bb2155d5.js} +10 -10
  230. package/dist/esm/getRelatedArticle.js +10 -10
  231. package/dist/esm/getSerializers.js +33 -30
  232. package/dist/esm/{getTargeting-2acdec91.js → getTargeting-d97a1e83.js} +2 -2
  233. package/dist/esm/getTargeting.js +8 -8
  234. package/dist/esm/{index-d2f90501.js → index-1295881c.js} +16 -17
  235. package/dist/esm/{index-93ec3c59.js → index-17490425.js} +8 -6
  236. package/dist/esm/{index-50d0fbc7.js → index-4540328d.js} +338 -332
  237. package/dist/esm/{index-5f9f807a.js → index-a4e850af.js} +11 -8
  238. package/dist/esm/{index-51a80699.js → index-f7fdcc91.js} +8 -3
  239. package/dist/esm/{index.es-938a3a58.js → index.es-a6137319.js} +20 -4
  240. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  241. package/dist/esm/{index.esm-fd746768.js → index.esm-4838a32e.js} +3 -4
  242. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  243. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  244. package/dist/esm/index.js +58 -54
  245. package/dist/esm/{inherits-7ee3e0c1.js → inherits-d1948b66.js} +16 -16
  246. package/dist/esm/{isSymbol-807e927e.js → isSymbol-2b7f6e65.js} +1 -1
  247. package/dist/esm/{js.cookie-6874175c.js → js.cookie-2ce24ab0.js} +1 -1
  248. package/dist/esm/{keys-fc2d4c34.js → keys-e091cb65.js} +5 -5
  249. package/dist/esm/{lodash-17fdfebb.js → lodash-2b866578.js} +72 -23
  250. package/dist/esm/{main-e2627831.js → main-140f99b4.js} +49 -44
  251. package/dist/esm/{moment-12415288.js → moment-8797a4d3.js} +11 -9
  252. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-40e8d28f.js} +11 -9
  253. package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-8818fe95.js} +10 -10
  254. package/dist/esm/{stringify-008c8802.js → stringify-dedf4a20.js} +2 -2
  255. package/dist/esm/timeDifferenceCalc.js +1 -1
  256. package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-02217419.js} +13 -13
  257. package/dist/esm/{typeof-08f2c380.js → typeof-a10a5616.js} +85 -85
  258. package/dist/esm/urlFor.js +1 -1
  259. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-7b6316cf.js} +5 -3
  260. package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-c3ba4d37.js} +10 -10
  261. package/package.json +1 -1
  262. package/dist/cjs/_object-sap-5e74ba08.js +0 -16
  263. package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
  264. package/dist/esm/_library-528f1934.js +0 -3
  265. package/dist/esm/_object-sap-4d59d5bd.js +0 -14
  266. package/dist/esm/core.get-iterator-method-54d2e411.js +0 -36
  267. /package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-2d74941c.js} +0 -0
@@ -1,59 +1,62 @@
1
- import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-ded78eb9.js';
3
- import './es6.string.iterator-9b2af4a5.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-59409a32.js';
6
- import './toConsumableArray-725434a0.js';
7
- import './core.get-iterator-method-54d2e411.js';
8
- import './_object-pie-71ac75a4.js';
9
- import { _ as _extends } from './extends-cc5da797.js';
10
- import './_object-sap-4d59d5bd.js';
11
- import './inherits-7ee3e0c1.js';
12
- import './define-property-de3fc946.js';
13
- import './web.dom.iterable-8956f9a5.js';
14
- import './typeof-08f2c380.js';
15
- import './_is-array-49698029.js';
16
- import React__default, { Component, useRef, useState, useEffect } from 'react';
17
- import './index-93ec3c59.js';
18
- import PropTypes from 'prop-types';
1
+ import './_commonjsHelpers-0c4b6f40.js';
2
+ import './_export-f7ec2adf.js';
3
+ import './es6.string.iterator-13b94db0.js';
4
+ import './_library-90219a8d.js';
5
+ import './_iter-detect-65720de7.js';
6
+ import './toConsumableArray-02217419.js';
7
+ import './core.get-iterator-method-dbbb346b.js';
8
+ import './_object-pie-8e2f6c3a.js';
9
+ import { _ as _extends } from './extends-8e0228d5.js';
10
+ import './_object-sap-146241c9.js';
11
+ import './inherits-d1948b66.js';
12
+ import './define-property-7a40a451.js';
13
+ import './web.dom.iterable-c3ba4d37.js';
14
+ import './typeof-a10a5616.js';
15
+ import './_is-array-5bea6006.js';
16
+ import React__default, { useRef, useState, useEffect } from 'react';
17
+ import './index-17490425.js';
18
+ import 'prop-types';
19
+ import './_react_commonjs-external-22b61490.js';
20
+ import './_prop-types_commonjs-external-9481d338.js';
19
21
  import 'react-bootstrap/Row';
20
22
  import 'react-bootstrap/Col';
21
23
  import 'react-bootstrap/Card';
22
- import { m as moment } from './moment-12415288.js';
24
+ import { m as moment } from './moment-8797a4d3.js';
23
25
  import 'next/router';
24
- import './isSymbol-807e927e.js';
25
- import './debounce-1a993acf.js';
26
- import './index.es-938a3a58.js';
26
+ import './isSymbol-2b7f6e65.js';
27
+ import './debounce-7b569c00.js';
28
+ import './index.es-a6137319.js';
27
29
  import 'react-dom';
28
- import './visibility-sensor-0baa4eea.js';
29
- import { i as imageUrlBuilder } from './index-51a80699.js';
30
- import './index-5f9f807a.js';
31
- import './main-e2627831.js';
30
+ import './_react-dom_commonjs-external-f1a1ac81.js';
31
+ import './visibility-sensor-7b6316cf.js';
32
+ import { i as imageUrlBuilder } from './index-f7fdcc91.js';
33
+ import './index-a4e850af.js';
34
+ import './main-140f99b4.js';
32
35
  import './entities-7cc3bf45.js';
33
- import './stringify-008c8802.js';
34
- import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
35
- import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7c654f36.js';
36
- import './_set-species-cede29f8.js';
36
+ import './stringify-dedf4a20.js';
37
+ import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
38
+ import { a as _asyncToGenerator, b as _regeneratorRuntime, _ as _Promise } from './asyncToGenerator-0c61f551.js';
39
+ import './_set-species-26ee5c2a.js';
37
40
  import './Segment.js';
38
41
  import './Beam.js';
39
42
  import './AdSlot.js';
40
- import './ADInfeed-c7e745f1.js';
41
- import './lodash-17fdfebb.js';
42
- import './ADlgInfeed-6fedd79b.js';
43
+ import './ADInfeed-d890d5ca.js';
44
+ import './lodash-2b866578.js';
45
+ import './ADlgInfeed-1d006b36.js';
43
46
  import './getContentCategory-15dcc413.js';
44
- import './AuthorComponent-00f13201.js';
45
- import { B as BlockContent } from './BlockContent-a614acdf.js';
46
- import { s as smoothscroll } from './smoothscroll-4b699764.js';
47
+ import './AuthorComponent-8ffb1deb.js';
48
+ import { B as BlockContent } from './BlockContent-e6f64e62.js';
49
+ import { s as smoothscroll } from './smoothscroll-2d74941c.js';
47
50
  import './GroupDeck.js';
48
51
  import 'react-bootstrap';
49
52
  import './timeDifferenceCalc.js';
50
53
  import QueueDeckExpanded from './QueueDeckExpanded.js';
51
54
  import './iconBase-602d52fe.js';
52
- import './index.esm-29e48d38.js';
55
+ import './index.esm-3fdda599.js';
53
56
  import 'react-bootstrap/Button';
54
- import { g as getSerializers } from './index-50d0fbc7.js';
57
+ import { g as getSerializers } from './index-4540328d.js';
55
58
  import './util-7700fc59.js';
56
- import './brightcove-react-player-loader.es-83f53e4e.js';
59
+ import './brightcove-react-player-loader.es-e761d404.js';
57
60
  import 'react-bootstrap/Pagination';
58
61
  import 'next/head';
59
62
  import 'react-bootstrap/Figure';
@@ -62,1203 +65,7 @@ import Feature from './Feature.js';
62
65
  import 'react-bootstrap/Breadcrumb';
63
66
  import Breadcrumbs from './Breadcrumbs.js';
64
67
  import urlFor from './urlFor.js';
65
-
66
- function _classCallCheck(instance, Constructor) {
67
- if (!(instance instanceof Constructor)) {
68
- throw new TypeError("Cannot call a class as a function");
69
- }
70
- }
71
-
72
- function _defineProperties(target, props) {
73
- for (var i = 0; i < props.length; i++) {
74
- var descriptor = props[i];
75
- descriptor.enumerable = descriptor.enumerable || false;
76
- descriptor.configurable = true;
77
- if ("value" in descriptor) descriptor.writable = true;
78
- Object.defineProperty(target, descriptor.key, descriptor);
79
- }
80
- }
81
-
82
- function _createClass(Constructor, protoProps, staticProps) {
83
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
84
- if (staticProps) _defineProperties(Constructor, staticProps);
85
- return Constructor;
86
- }
87
-
88
- function _typeof(obj) {
89
- "@babel/helpers - typeof";
90
-
91
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
92
- _typeof = function _typeof(obj) {
93
- return typeof obj;
94
- };
95
- } else {
96
- _typeof = function _typeof(obj) {
97
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
98
- };
99
- }
100
-
101
- return _typeof(obj);
102
- }
103
-
104
- function _assertThisInitialized(self) {
105
- if (self === void 0) {
106
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
107
- }
108
-
109
- return self;
110
- }
111
-
112
- function _possibleConstructorReturn(self, call) {
113
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
114
- return call;
115
- }
116
-
117
- return _assertThisInitialized(self);
118
- }
119
-
120
- function _getPrototypeOf(o) {
121
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
122
- return o.__proto__ || Object.getPrototypeOf(o);
123
- };
124
- return _getPrototypeOf(o);
125
- }
126
-
127
- function _setPrototypeOf(o, p) {
128
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
129
- o.__proto__ = p;
130
- return o;
131
- };
132
-
133
- return _setPrototypeOf(o, p);
134
- }
135
-
136
- function _inherits(subClass, superClass) {
137
- if (typeof superClass !== "function" && superClass !== null) {
138
- throw new TypeError("Super expression must either be null or a function");
139
- }
140
-
141
- subClass.prototype = Object.create(superClass && superClass.prototype, {
142
- constructor: {
143
- value: subClass,
144
- writable: true,
145
- configurable: true
146
- }
147
- });
148
- if (superClass) _setPrototypeOf(subClass, superClass);
149
- }
150
-
151
- function _defineProperty(obj, key, value) {
152
- if (key in obj) {
153
- Object.defineProperty(obj, key, {
154
- value: value,
155
- enumerable: true,
156
- configurable: true,
157
- writable: true
158
- });
159
- } else {
160
- obj[key] = value;
161
- }
162
-
163
- return obj;
164
- }
165
-
166
- var isRequiredIf_1 = createCommonjsModule(function (module, exports) {
167
- 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.
168
- }};exports.default=isRequiredIf;
169
-
170
-
171
- });
172
-
173
- var isRequiredIf = unwrapExports(isRequiredIf_1);
174
-
175
- var exenv = createCommonjsModule(function (module) {
176
- /*!
177
- Copyright (c) 2015 Jed Watson.
178
- Based on code that is Copyright 2013-2015, Facebook, Inc.
179
- All rights reserved.
180
- */
181
- /* global define */
182
-
183
- (function () {
184
-
185
- var canUseDOM = !!(
186
- typeof window !== 'undefined' &&
187
- window.document &&
188
- window.document.createElement
189
- );
190
-
191
- var ExecutionEnvironment = {
192
-
193
- canUseDOM: canUseDOM,
194
-
195
- canUseWorkers: typeof Worker !== 'undefined',
196
-
197
- canUseEventListeners:
198
- canUseDOM && !!(window.addEventListener || window.attachEvent),
199
-
200
- canUseViewport: canUseDOM && !!window.screen
201
-
202
- };
203
-
204
- if ( module.exports) {
205
- module.exports = ExecutionEnvironment;
206
- } else {
207
- window.ExecutionEnvironment = ExecutionEnvironment;
208
- }
209
-
210
- }());
211
- });
212
-
213
- var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
214
-
215
- var TwitterTimelineEmbed =
216
- /*#__PURE__*/
217
- function (_Component) {
218
- _inherits(TwitterTimelineEmbed, _Component);
219
-
220
- function TwitterTimelineEmbed(props) {
221
- var _this;
222
-
223
- _classCallCheck(this, TwitterTimelineEmbed);
224
-
225
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
226
- _this.state = {
227
- isLoading: true
228
- };
229
- return _this;
230
- }
231
-
232
- _createClass(TwitterTimelineEmbed, [{
233
- key: "buildChromeOptions",
234
- value: function buildChromeOptions(options) {
235
- options.chrome = '';
236
-
237
- if (this.props.noHeader) {
238
- options.chrome = options.chrome + ' noheader';
239
- }
240
-
241
- if (this.props.noFooter) {
242
- options.chrome = options.chrome + ' nofooter';
243
- }
244
-
245
- if (this.props.noBorders) {
246
- options.chrome = options.chrome + ' noborders';
247
- }
248
-
249
- if (this.props.noScrollbar) {
250
- options.chrome = options.chrome + ' noscrollbar';
251
- }
252
-
253
- if (this.props.transparent) {
254
- options.chrome = options.chrome + ' transparent';
255
- }
256
-
257
- return options;
258
- }
259
- }, {
260
- key: "buildOptions",
261
- value: function buildOptions() {
262
- var options = Object.assign({}, this.props.options);
263
-
264
- if (this.props.autoHeight) {
265
- options.height = this.refs.embedContainer.parentNode.offsetHeight;
266
- }
267
-
268
- options = Object.assign({}, options, {
269
- theme: this.props.theme,
270
- linkColor: this.props.linkColor,
271
- borderColor: this.props.borderColor,
272
- lang: this.props.lang
273
- });
274
- return options;
275
- }
276
- }, {
277
- key: "renderWidget",
278
- value: function renderWidget(options) {
279
- var _this2 = this;
280
-
281
- var onLoad = this.props.onLoad;
282
-
283
- if (!this.isMountCanceled) {
284
- window.twttr.widgets.createTimeline({
285
- sourceType: this.props.sourceType,
286
- screenName: this.props.screenName,
287
- userId: this.props.userId,
288
- ownerScreenName: this.props.ownerScreenName,
289
- slug: this.props.slug,
290
- id: this.props.id || this.props.widgetId,
291
- url: this.props.url
292
- }, this.refs.embedContainer, options).then(function (element) {
293
- _this2.setState({
294
- isLoading: false
295
- });
296
-
297
- if (onLoad) {
298
- onLoad(element);
299
- }
300
- });
301
- }
302
- }
303
- }, {
304
- key: "componentDidMount",
305
- value: function componentDidMount() {
306
- var _this3 = this;
307
-
308
- if (exenv.canUseDOM) {
309
- var script = require('scriptjs');
310
-
311
- script(twitterWidgetJs, 'twitter-embed', function () {
312
- if (!window.twttr) {
313
- console.error('Failure to load window.twttr in TwitterTimelineEmbed, aborting load.');
314
- return;
315
- }
316
-
317
- var options = _this3.buildOptions();
318
- /** Append chrome options */
319
-
320
-
321
- options = _this3.buildChromeOptions(options);
322
-
323
- _this3.renderWidget(options);
324
- });
325
- }
326
- }
327
- }, {
328
- key: "componentWillUnmount",
329
- value: function componentWillUnmount() {
330
- this.isMountCanceled = true;
331
- }
332
- }, {
333
- key: "render",
334
- value: function render() {
335
- var isLoading = this.state.isLoading;
336
- var placeholder = this.props.placeholder;
337
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
338
- ref: "embedContainer"
339
- }));
340
- }
341
- }]);
342
-
343
- return TwitterTimelineEmbed;
344
- }(Component);
345
-
346
- _defineProperty(TwitterTimelineEmbed, "propTypes", {
347
- /**
348
- * This can be either of profile, likes, list, collection, URL, widget
349
- */
350
- sourceType: PropTypes.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
351
-
352
- /**
353
- * username of twitter handle as String
354
- */
355
- screenName: isRequiredIf(PropTypes.string, function (props) {
356
- return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
357
- }),
358
-
359
- /**
360
- * UserId of twitter handle as number
361
- */
362
- userId: isRequiredIf(PropTypes.number, function (props) {
363
- return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
364
- }),
365
-
366
- /**
367
- * To show list, used along with slug
368
- */
369
- ownerScreenName: isRequiredIf(PropTypes.string, function (props) {
370
- return props.sourceType === 'list' && !props.hasOwnProperty('id');
371
- }),
372
-
373
- /**
374
- * To show list, used along with ownerScreenName
375
- */
376
- slug: isRequiredIf(PropTypes.string, function (props) {
377
- return props.sourceType === 'list' && !props.hasOwnProperty('id');
378
- }),
379
-
380
- /**
381
- * To show list, unique list id
382
- * Also used with collections, in that case its valid collection id
383
- */
384
- id: isRequiredIf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]), function (props) {
385
- return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
386
- }),
387
-
388
- /**
389
- * To show twitter content with url.
390
- * Supported content includes profiles, likes, lists, and collections.
391
- */
392
- url: isRequiredIf(PropTypes.string, function (props) {
393
- return props.sourceType === 'url';
394
- }),
395
-
396
- /**
397
- * To show custom widget
398
- */
399
- widgetId: isRequiredIf(PropTypes.string, function (props) {
400
- return props.sourceType === 'widget';
401
- }),
402
-
403
- /**
404
- * Additional options to pass to twitter widget plugin
405
- */
406
- options: PropTypes.object,
407
-
408
- /**
409
- * Automatically fit into parent container height
410
- */
411
- autoHeight: PropTypes.bool,
412
-
413
- /**
414
- * With dark or light theme
415
- */
416
- theme: PropTypes.oneOf(['dark', 'light']),
417
-
418
- /**
419
- * With custom link colors. Note: Only Hex colors are supported.
420
- */
421
- linkColor: PropTypes.string,
422
-
423
- /**
424
- * With custom border colors. Note: Only Hex colors are supported.
425
- */
426
- borderColor: PropTypes.string,
427
-
428
- /**
429
- * Hide the header from timeline
430
- */
431
- noHeader: PropTypes.bool,
432
-
433
- /**
434
- * Hide the footer from timeline
435
- */
436
- noFooter: PropTypes.bool,
437
-
438
- /**
439
- * Hide the border from timeline
440
- */
441
- noBorders: PropTypes.bool,
442
-
443
- /**
444
- * Hide the scrollbars
445
- */
446
- noScrollbar: PropTypes.bool,
447
-
448
- /**
449
- * Enable Transparancy
450
- */
451
- transparent: PropTypes.bool,
452
-
453
- /**
454
- * Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
455
- */
456
- lang: PropTypes.string,
457
-
458
- /**
459
- * Placeholder while tweet is loading
460
- */
461
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
462
-
463
- /**
464
- * Function to execute after load, return html element
465
- */
466
- onLoad: PropTypes.func
467
- });
468
-
469
- var TwitterShareButton =
470
- /*#__PURE__*/
471
- function (_Component) {
472
- _inherits(TwitterShareButton, _Component);
473
-
474
- function TwitterShareButton(props) {
475
- var _this;
476
-
477
- _classCallCheck(this, TwitterShareButton);
478
-
479
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
480
- _this.state = {
481
- isLoading: true
482
- };
483
- return _this;
484
- }
485
-
486
- _createClass(TwitterShareButton, [{
487
- key: "componentDidMount",
488
- value: function componentDidMount() {
489
- var _this2 = this;
490
-
491
- var onLoad = this.props.onLoad;
492
-
493
- if (exenv.canUseDOM) {
494
- var script = require('scriptjs');
495
-
496
- script(twitterWidgetJs, 'twitter-embed', function () {
497
- if (!window.twttr) {
498
- console.error('Failure to load window.twttr in TwitterShareButton, aborting load.');
499
- return;
500
- }
501
-
502
- if (!_this2.isMountCanceled) {
503
- window.twttr.widgets.createShareButton(_this2.props.url, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
504
- _this2.setState({
505
- isLoading: false
506
- });
507
-
508
- if (onLoad) {
509
- onLoad(element);
510
- }
511
- });
512
- }
513
- });
514
- }
515
- }
516
- }, {
517
- key: "componentWillUnmount",
518
- value: function componentWillUnmount() {
519
- this.isMountCanceled = true;
520
- }
521
- }, {
522
- key: "render",
523
- value: function render() {
524
- var isLoading = this.state.isLoading;
525
- var placeholder = this.props.placeholder;
526
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
527
- ref: "embedContainer"
528
- }));
529
- }
530
- }]);
531
-
532
- return TwitterShareButton;
533
- }(Component);
534
-
535
- _defineProperty(TwitterShareButton, "propTypes", {
536
- /**
537
- * Url for sharing
538
- */
539
- url: PropTypes.string.isRequired,
540
-
541
- /**
542
- * Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
543
- */
544
- options: PropTypes.object,
545
-
546
- /**
547
- * Placeholder while tweet is loading
548
- */
549
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
550
-
551
- /**
552
- * Function to execute after load, return html element
553
- */
554
- onLoad: PropTypes.func
555
- });
556
-
557
- var TwitterFollowButton =
558
- /*#__PURE__*/
559
- function (_Component) {
560
- _inherits(TwitterFollowButton, _Component);
561
-
562
- function TwitterFollowButton(props) {
563
- var _this;
564
-
565
- _classCallCheck(this, TwitterFollowButton);
566
-
567
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
568
- _this.state = {
569
- isLoading: true
570
- };
571
- return _this;
572
- }
573
-
574
- _createClass(TwitterFollowButton, [{
575
- key: "componentDidMount",
576
- value: function componentDidMount() {
577
- var _this2 = this;
578
-
579
- var onLoad = this.props.onLoad;
580
-
581
- if (exenv.canUseDOM) {
582
- var script = require('scriptjs');
583
-
584
- script(twitterWidgetJs, 'twitter-embed', function () {
585
- if (!window.twttr) {
586
- console.error('Failure to load window.twttr in TwitterFollowButton, aborting load.');
587
- return;
588
- }
589
-
590
- if (!_this2.isMountCanceled) {
591
- window.twttr.widgets.createFollowButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
592
- _this2.setState({
593
- isLoading: false
594
- });
595
-
596
- if (onLoad) {
597
- onLoad(element);
598
- }
599
- });
600
- }
601
- });
602
- }
603
- }
604
- }, {
605
- key: "componentWillUnmount",
606
- value: function componentWillUnmount() {
607
- this.isMountCanceled = true;
608
- }
609
- }, {
610
- key: "render",
611
- value: function render() {
612
- var isLoading = this.state.isLoading;
613
- var placeholder = this.props.placeholder;
614
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
615
- ref: "embedContainer"
616
- }));
617
- }
618
- }]);
619
-
620
- return TwitterFollowButton;
621
- }(Component);
622
-
623
- _defineProperty(TwitterFollowButton, "propTypes", {
624
- /**
625
- * Username of twitter user which will be followed on click
626
- */
627
- screenName: PropTypes.string.isRequired,
628
-
629
- /**
630
- * Additional options to be added to the button
631
- */
632
- options: PropTypes.object,
633
-
634
- /**
635
- * Placeholder while tweet is loading
636
- */
637
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
638
-
639
- /**
640
- * Function to execute after load, return html element
641
- */
642
- onLoad: PropTypes.func
643
- });
644
-
645
- var TwitterHashtagButton =
646
- /*#__PURE__*/
647
- function (_Component) {
648
- _inherits(TwitterHashtagButton, _Component);
649
-
650
- function TwitterHashtagButton(props) {
651
- var _this;
652
-
653
- _classCallCheck(this, TwitterHashtagButton);
654
-
655
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
656
- _this.state = {
657
- isLoading: true
658
- };
659
- return _this;
660
- }
661
-
662
- _createClass(TwitterHashtagButton, [{
663
- key: "componentDidMount",
664
- value: function componentDidMount() {
665
- var _this2 = this;
666
-
667
- var onLoad = this.props.onLoad;
668
-
669
- if (exenv.canUseDOM) {
670
- var script = require('scriptjs');
671
-
672
- script(twitterWidgetJs, 'twitter-embed', function () {
673
- if (!window.twttr) {
674
- console.error('Failure to load window.twttr in TwitterHashtagButton, aborting load.');
675
- return;
676
- }
677
-
678
- if (!_this2.isMountCanceled) {
679
- window.twttr.widgets.createHashtagButton(_this2.props.tag, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
680
- _this2.setState({
681
- isLoading: false
682
- });
683
-
684
- if (onLoad) {
685
- onLoad(element);
686
- }
687
- });
688
- }
689
- });
690
- }
691
- }
692
- }, {
693
- key: "componentWillUnmount",
694
- value: function componentWillUnmount() {
695
- this.isMountCanceled = true;
696
- }
697
- }, {
698
- key: "render",
699
- value: function render() {
700
- var isLoading = this.state.isLoading;
701
- var placeholder = this.props.placeholder;
702
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
703
- ref: "embedContainer"
704
- }));
705
- }
706
- }]);
707
-
708
- return TwitterHashtagButton;
709
- }(Component);
710
-
711
- _defineProperty(TwitterHashtagButton, "propTypes", {
712
- /**
713
- * Tag name for hashtag button
714
- */
715
- tag: PropTypes.string.isRequired,
716
-
717
- /**
718
- * Additional options to be added to the button
719
- */
720
- options: PropTypes.object,
721
-
722
- /**
723
- * Placeholder while tweet is loading
724
- */
725
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
726
-
727
- /**
728
- * Function to execute after load, return html element
729
- */
730
- onLoad: PropTypes.func
731
- });
732
-
733
- var TwitterMentionButton =
734
- /*#__PURE__*/
735
- function (_Component) {
736
- _inherits(TwitterMentionButton, _Component);
737
-
738
- function TwitterMentionButton(props) {
739
- var _this;
740
-
741
- _classCallCheck(this, TwitterMentionButton);
742
-
743
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
744
- _this.state = {
745
- isLoading: true
746
- };
747
- return _this;
748
- }
749
-
750
- _createClass(TwitterMentionButton, [{
751
- key: "componentDidMount",
752
- value: function componentDidMount() {
753
- var _this2 = this;
754
-
755
- var onLoad = this.props.onLoad;
756
-
757
- if (exenv.canUseDOM) {
758
- var script = require('scriptjs');
759
-
760
- script(twitterWidgetJs, 'twitter-embed', function () {
761
- if (!window.twttr) {
762
- console.error('Failure to load window.twttr in TwitterMentionButton, aborting load.');
763
- return;
764
- }
765
-
766
- if (!_this2.isMountCanceled) {
767
- window.twttr.widgets.createMentionButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
768
- _this2.setState({
769
- isLoading: false
770
- });
771
-
772
- if (onLoad) {
773
- onLoad(element);
774
- }
775
- });
776
- }
777
- });
778
- }
779
- }
780
- }, {
781
- key: "componentWillUnmount",
782
- value: function componentWillUnmount() {
783
- this.isMountCanceled = true;
784
- }
785
- }, {
786
- key: "render",
787
- value: function render() {
788
- var isLoading = this.state.isLoading;
789
- var placeholder = this.props.placeholder;
790
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
791
- ref: "embedContainer"
792
- }));
793
- }
794
- }]);
795
-
796
- return TwitterMentionButton;
797
- }(Component);
798
-
799
- _defineProperty(TwitterMentionButton, "propTypes", {
800
- /**
801
- * Username to which you will need to tweet
802
- */
803
- screenName: PropTypes.string.isRequired,
804
-
805
- /**
806
- * Additional options for overriding config.
807
- */
808
- options: PropTypes.object,
809
-
810
- /**
811
- * Placeholder while tweet is loading
812
- */
813
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
814
-
815
- /**
816
- * Function to execute after load, return html element
817
- */
818
- onLoad: PropTypes.func
819
- });
820
-
821
- var TwitterTweetEmbed =
822
- /*#__PURE__*/
823
- function (_Component) {
824
- _inherits(TwitterTweetEmbed, _Component);
825
-
826
- function TwitterTweetEmbed(props) {
827
- var _this;
828
-
829
- _classCallCheck(this, TwitterTweetEmbed);
830
-
831
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
832
- _this.state = {
833
- isLoading: true
834
- };
835
- return _this;
836
- }
837
-
838
- _createClass(TwitterTweetEmbed, [{
839
- key: "renderWidget",
840
- value: function renderWidget() {
841
- var _this2 = this;
842
-
843
- var onLoad = this.props.onLoad;
844
-
845
- if (!window.twttr) {
846
- console.error('Failure to load window.twttr in TwitterTweetEmbed, aborting load.');
847
- return;
848
- }
849
-
850
- if (!this.isMountCanceled) {
851
- window.twttr.widgets.createTweet(this.props.tweetId, this.refs.embedContainer, this.props.options).then(function (element) {
852
- _this2.setState({
853
- isLoading: false
854
- });
855
-
856
- if (onLoad) {
857
- onLoad(element);
858
- }
859
- });
860
- }
861
- }
862
- }, {
863
- key: "componentDidMount",
864
- value: function componentDidMount() {
865
- var _this3 = this;
866
-
867
- if (exenv.canUseDOM) {
868
- var script = require('scriptjs');
869
-
870
- script(twitterWidgetJs, 'twitter-embed', function () {
871
- _this3.renderWidget();
872
- });
873
- }
874
- }
875
- }, {
876
- key: "componentWillUnmount",
877
- value: function componentWillUnmount() {
878
- this.isMountCanceled = true;
879
- }
880
- }, {
881
- key: "render",
882
- value: function render() {
883
- var isLoading = this.state.isLoading;
884
- var placeholder = this.props.placeholder;
885
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
886
- ref: "embedContainer"
887
- }));
888
- }
889
- }]);
890
-
891
- return TwitterTweetEmbed;
892
- }(Component);
893
-
894
- _defineProperty(TwitterTweetEmbed, "propTypes", {
895
- /**
896
- * Tweet id that needs to be shown
897
- */
898
- tweetId: PropTypes.string.isRequired,
899
-
900
- /**
901
- * Additional options to pass to twitter widget plugin
902
- */
903
- options: PropTypes.object,
904
-
905
- /**
906
- * Placeholder while tweet is loading
907
- */
908
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
909
-
910
- /**
911
- * Function to execute after load, return html element
912
- */
913
- onLoad: PropTypes.func
914
- });
915
-
916
- var TwitterMomentShare =
917
- /*#__PURE__*/
918
- function (_Component) {
919
- _inherits(TwitterMomentShare, _Component);
920
-
921
- function TwitterMomentShare(props) {
922
- var _this;
923
-
924
- _classCallCheck(this, TwitterMomentShare);
925
-
926
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
927
- _this.state = {
928
- isLoading: true
929
- };
930
- return _this;
931
- }
932
-
933
- _createClass(TwitterMomentShare, [{
934
- key: "componentDidMount",
935
- value: function componentDidMount() {
936
- var _this2 = this;
937
-
938
- var onLoad = this.props.onLoad;
939
-
940
- if (exenv.canUseDOM) {
941
- var script = require('scriptjs');
942
-
943
- script(twitterWidgetJs, 'twitter-embed', function () {
944
- if (!window.twttr) {
945
- console.error('Failure to load window.twttr in TwitterMomentShare, aborting load.');
946
- return;
947
- }
948
-
949
- if (!_this2.isMountCanceled) {
950
- window.twttr.widgets.createMoment(_this2.props.momentId, _this2.refs.shareMoment, _this2.props.options).then(function (element) {
951
- _this2.setState({
952
- isLoading: false
953
- });
954
-
955
- if (onLoad) {
956
- onLoad(element);
957
- }
958
- });
959
- }
960
- });
961
- }
962
- }
963
- }, {
964
- key: "componentWillUnmount",
965
- value: function componentWillUnmount() {
966
- this.isMountCanceled = true;
967
- }
968
- }, {
969
- key: "render",
970
- value: function render() {
971
- var isLoading = this.state.isLoading;
972
- var placeholder = this.props.placeholder;
973
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
974
- ref: "shareMoment"
975
- }));
976
- }
977
- }]);
978
-
979
- return TwitterMomentShare;
980
- }(Component);
981
-
982
- _defineProperty(TwitterMomentShare, "propTypes", {
983
- /**
984
- * id of Twitter moment to show
985
- */
986
- momentId: PropTypes.string.isRequired,
987
-
988
- /**
989
- * Additional options for overriding config.
990
- */
991
- options: PropTypes.object,
992
-
993
- /**
994
- * Placeholder while tweet is loading
995
- */
996
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
997
-
998
- /**
999
- * Function to execute after load, return html element
1000
- */
1001
- onLoad: PropTypes.func
1002
- });
1003
-
1004
- var TwitterDMButton =
1005
- /*#__PURE__*/
1006
- function (_Component) {
1007
- _inherits(TwitterDMButton, _Component);
1008
-
1009
- function TwitterDMButton(props) {
1010
- var _this;
1011
-
1012
- _classCallCheck(this, TwitterDMButton);
1013
-
1014
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
1015
- _this.state = {
1016
- isLoading: true
1017
- };
1018
- return _this;
1019
- }
1020
-
1021
- _createClass(TwitterDMButton, [{
1022
- key: "componentDidMount",
1023
- value: function componentDidMount() {
1024
- var _this2 = this;
1025
-
1026
- var onLoad = this.props.onLoad;
1027
-
1028
- if (exenv.canUseDOM) {
1029
- var script = require('scriptjs');
1030
-
1031
- script(twitterWidgetJs, 'twitter-embed', function () {
1032
- if (!window.twttr) {
1033
- console.error('Failure to load window.twttr in TwitterDMButton, aborting load.');
1034
- return;
1035
- }
1036
-
1037
- if (!_this2.isMountCanceled) {
1038
- window.twttr.widgets.createDMButton(_this2.props.id, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1039
- _this2.setState({
1040
- isLoading: false
1041
- });
1042
-
1043
- if (onLoad) {
1044
- onLoad(element);
1045
- }
1046
- });
1047
- }
1048
- });
1049
- }
1050
- }
1051
- }, {
1052
- key: "componentWillUnmount",
1053
- value: function componentWillUnmount() {
1054
- this.isMountCanceled = true;
1055
- }
1056
- }, {
1057
- key: "render",
1058
- value: function render() {
1059
- var isLoading = this.state.isLoading;
1060
- var placeholder = this.props.placeholder;
1061
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
1062
- ref: "embedContainer"
1063
- }));
1064
- }
1065
- }]);
1066
-
1067
- return TwitterDMButton;
1068
- }(Component);
1069
-
1070
- _defineProperty(TwitterDMButton, "propTypes", {
1071
- /**
1072
- * Twitter user id for DM button
1073
- */
1074
- id: PropTypes.number.isRequired,
1075
-
1076
- /**
1077
- * Additional options to be added to the button
1078
- */
1079
- options: PropTypes.object,
1080
-
1081
- /**
1082
- * Placeholder while tweet is loading
1083
- */
1084
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1085
-
1086
- /**
1087
- * Function to execute after load, return html element
1088
- */
1089
- onLoad: PropTypes.func
1090
- });
1091
-
1092
- var TwitterVideoEmbed =
1093
- /*#__PURE__*/
1094
- function (_Component) {
1095
- _inherits(TwitterVideoEmbed, _Component);
1096
-
1097
- function TwitterVideoEmbed(props) {
1098
- var _this;
1099
-
1100
- _classCallCheck(this, TwitterVideoEmbed);
1101
-
1102
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
1103
- _this.state = {
1104
- isLoading: true
1105
- };
1106
- return _this;
1107
- }
1108
-
1109
- _createClass(TwitterVideoEmbed, [{
1110
- key: "componentDidMount",
1111
- value: function componentDidMount() {
1112
- var _this2 = this;
1113
-
1114
- var onLoad = this.props.onLoad;
1115
-
1116
- if (exenv.canUseDOM) {
1117
- var script = require('scriptjs');
1118
-
1119
- script(twitterWidgetJs, 'twitter-embed', function () {
1120
- if (!window.twttr) {
1121
- console.error('Failure to load window.twttr in TwitterVideoEmbed, aborting load.');
1122
- return;
1123
- }
1124
-
1125
- if (!_this2.isMountCanceled) {
1126
- window.twttr.widgets.createVideo(_this2.props.id, _this2.refs.embedContainer).then(function (element) {
1127
- _this2.setState({
1128
- isLoading: false
1129
- });
1130
-
1131
- if (onLoad) {
1132
- onLoad(element);
1133
- }
1134
- });
1135
- }
1136
- });
1137
- }
1138
- }
1139
- }, {
1140
- key: "componentWillUnmount",
1141
- value: function componentWillUnmount() {
1142
- this.isMountCanceled = true;
1143
- }
1144
- }, {
1145
- key: "render",
1146
- value: function render() {
1147
- var isLoading = this.state.isLoading;
1148
- var placeholder = this.props.placeholder;
1149
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
1150
- ref: "embedContainer"
1151
- }));
1152
- }
1153
- }]);
1154
-
1155
- return TwitterVideoEmbed;
1156
- }(Component);
1157
-
1158
- _defineProperty(TwitterVideoEmbed, "propTypes", {
1159
- /**
1160
- * Id of video tweet.
1161
- */
1162
- id: PropTypes.string.isRequired,
1163
-
1164
- /**
1165
- * Placeholder while tweet is loading
1166
- */
1167
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1168
-
1169
- /**
1170
- * Function to execute after load, return html element
1171
- */
1172
- onLoad: PropTypes.func
1173
- });
1174
-
1175
- var TwitterOnAirButton =
1176
- /*#__PURE__*/
1177
- function (_Component) {
1178
- _inherits(TwitterOnAirButton, _Component);
1179
-
1180
- function TwitterOnAirButton(props) {
1181
- var _this;
1182
-
1183
- _classCallCheck(this, TwitterOnAirButton);
1184
-
1185
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
1186
- _this.state = {
1187
- isLoading: true
1188
- };
1189
- return _this;
1190
- }
1191
-
1192
- _createClass(TwitterOnAirButton, [{
1193
- key: "componentDidMount",
1194
- value: function componentDidMount() {
1195
- var _this2 = this;
1196
-
1197
- var onLoad = this.props.onLoad;
1198
-
1199
- if (exenv.canUseDOM) {
1200
- var script = require('scriptjs');
1201
-
1202
- script(twitterWidgetJs, 'twitter-embed', function () {
1203
- if (!window.twttr) {
1204
- console.error('Failure to load window.twttr in TwitterOnAirButton, aborting load.');
1205
- return;
1206
- }
1207
-
1208
- if (!_this2.isMountCanceled) {
1209
- window.twttr.widgets.createPeriscopeOnAirButton(_this2.props.username, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1210
- _this2.setState({
1211
- isLoading: false
1212
- });
1213
-
1214
- if (onLoad) {
1215
- onLoad(element);
1216
- }
1217
- });
1218
- }
1219
- });
1220
- }
1221
- }
1222
- }, {
1223
- key: "componentWillUnmount",
1224
- value: function componentWillUnmount() {
1225
- this.isMountCanceled = true;
1226
- }
1227
- }, {
1228
- key: "render",
1229
- value: function render() {
1230
- var isLoading = this.state.isLoading;
1231
- var placeholder = this.props.placeholder;
1232
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
1233
- ref: "embedContainer"
1234
- }));
1235
- }
1236
- }]);
1237
-
1238
- return TwitterOnAirButton;
1239
- }(Component);
1240
-
1241
- _defineProperty(TwitterOnAirButton, "propTypes", {
1242
- /**
1243
- * Username for which you require periscope on air button
1244
- */
1245
- username: PropTypes.string.isRequired,
1246
-
1247
- /**
1248
- * Additional options for overriding config.
1249
- */
1250
- options: PropTypes.object,
1251
-
1252
- /**
1253
- * Placeholder while tweet is loading
1254
- */
1255
- placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1256
-
1257
- /**
1258
- * Function to execute after load, return html element
1259
- */
1260
- onLoad: PropTypes.func
1261
- });
68
+ import { TwitterTimelineEmbed } from 'react-twitter-embed';
1262
69
 
1263
70
  var ImageSlider = function ImageSlider(props) {
1264
71
  var innerSlider = useRef(null);
@@ -1552,12 +359,12 @@ var PartnerDetails = function PartnerDetails(_ref) {
1552
359
  };
1553
360
 
1554
361
  PartnerDetails.returnGetInitialProps = function () {
1555
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(identifier, partnerPageUrl, partnerDocumentGroupID, params, currentPage, client) {
362
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(identifier, partnerPageUrl, partnerDocumentGroupID, params, currentPage, client) {
1556
363
  var category = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
1557
364
 
1558
365
  var today, featureQuery, partnerQuery, taxonomyQuery, _ref3, _ref4, features, partnerDetails, taxonomyDetails, articlesQuery, articles;
1559
366
 
1560
- return regenerator.wrap(function _callee$(_context) {
367
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
1561
368
  while (1) {
1562
369
  switch (_context.prev = _context.next) {
1563
370
  case 0: