@mjhls/mjh-framework 1.0.819 → 1.0.820

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 (289) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +24 -23
  4. package/dist/cjs/AD300x250x600.js +24 -23
  5. package/dist/cjs/AD728x90.js +27 -26
  6. package/dist/cjs/ADFloatingFooter.js +23 -22
  7. package/dist/cjs/ADFooter.js +6 -6
  8. package/dist/cjs/ADGutter.js +23 -22
  9. package/dist/cjs/{ADInfeed-98f6bd26.js → ADInfeed-8b336c67.js} +4 -4
  10. package/dist/cjs/ADSkyscraper.js +23 -22
  11. package/dist/cjs/ADSponsoredResources.js +23 -22
  12. package/dist/cjs/ADWebcast.js +23 -22
  13. package/dist/cjs/ADWelcome.js +20 -19
  14. package/dist/cjs/{ADlgInfeed-6055cb1b.js → ADlgInfeed-aedd5e18.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +8 -8
  16. package/dist/cjs/AdSlot.js +24 -23
  17. package/dist/cjs/AdSlotsProvider.js +14 -13
  18. package/dist/cjs/AlgoliaSearch.js +14114 -32
  19. package/dist/cjs/AlphabeticList.js +10 -10
  20. package/dist/cjs/ArticleCarousel.js +18 -17
  21. package/dist/cjs/ArticleProgramLandingPage.js +49 -47
  22. package/dist/cjs/ArticleSeriesLandingPage.js +33 -32
  23. package/dist/cjs/ArticleSeriesListing.js +34 -32
  24. package/dist/cjs/Auth.js +519 -348
  25. package/dist/cjs/AuthWrapper.js +19 -19
  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 +25 -24
  31. package/dist/cjs/Column2.js +16 -16
  32. package/dist/cjs/Column3.js +33 -32
  33. package/dist/cjs/ConferenceArticleCard.js +10 -15
  34. package/dist/cjs/DeckContent.js +41 -46
  35. package/dist/cjs/DeckQueue.js +37 -43
  36. package/dist/cjs/{Dfp-82f75e49.js → Dfp-93399f8c.js} +15 -14
  37. package/dist/cjs/EventsDeck.js +28 -28
  38. package/dist/cjs/ExternalResources.js +48 -46
  39. package/dist/cjs/Feature.js +8 -12
  40. package/dist/cjs/ForbesHero.js +21 -23
  41. package/dist/cjs/GridContent.js +64 -69
  42. package/dist/cjs/GridHero.js +20 -29
  43. package/dist/cjs/GroupDeck.js +16 -20
  44. package/dist/cjs/HamMagazine.js +27 -27
  45. package/dist/cjs/Hero.js +5 -16
  46. package/dist/cjs/HighlightenVideo.js +2 -2
  47. package/dist/cjs/HorizontalArticleListing.js +46 -44
  48. package/dist/cjs/HorizontalHero.js +8 -9
  49. package/dist/cjs/IssueContentDeck.js +21 -38
  50. package/dist/cjs/IssueDeck.js +25 -27
  51. package/dist/cjs/IssueLanding.js +55 -53
  52. package/dist/cjs/LeftNav.js +22 -21
  53. package/dist/cjs/MasterDeck.js +35 -34
  54. package/dist/cjs/MediaSeriesLanding.js +606 -695
  55. package/dist/cjs/NavDvm.js +13 -13
  56. package/dist/cjs/NavMagazine.js +30 -30
  57. package/dist/cjs/NavNative.js +32 -32
  58. package/dist/cjs/NavNormal.js +14 -14
  59. package/dist/cjs/OncliveHero.js +8 -9
  60. package/dist/cjs/OncliveLargeHero.js +31 -32
  61. package/dist/cjs/PageFilter.js +6 -6
  62. package/dist/cjs/PartnerDetailListing.js +60 -63
  63. package/dist/cjs/PdfDownload.js +1 -1
  64. package/dist/cjs/PopUpModal.js +6 -6
  65. package/dist/cjs/PubSection.js +35 -33
  66. package/dist/cjs/PubToc.js +8 -8
  67. package/dist/cjs/PublicationDeck.js +16 -18
  68. package/dist/cjs/PublicationLanding.js +30 -33
  69. package/dist/cjs/QueueDeckExpanded.js +103 -101
  70. package/dist/cjs/RecentNews.js +4 -7
  71. package/dist/cjs/RelatedContent.js +11 -14
  72. package/dist/cjs/Search.js +8 -8
  73. package/dist/cjs/Segment.js +6 -6
  74. package/dist/cjs/SeriesListingDeck.js +21 -19
  75. package/dist/cjs/{SeriesSlider-b79e7df9.js → SeriesSlider-d54fa925.js} +11 -16
  76. package/dist/cjs/SetCookie.js +1 -1
  77. package/dist/cjs/SideFooter.js +15 -15
  78. package/dist/cjs/{SocialSearchComponent-560a666e.js → SocialSearchComponent-ecb4f972.js} +10 -10
  79. package/dist/cjs/TaxonomyCard.js +18 -21
  80. package/dist/cjs/TaxonomyDescription.js +46 -44
  81. package/dist/cjs/TemplateNormal.js +48 -47
  82. package/dist/cjs/ThumbnailCard.js +10 -14
  83. package/dist/cjs/Ustream.js +13 -13
  84. package/dist/cjs/VerticalHero.js +5 -9
  85. package/dist/cjs/VideoProgramLandingPage.js +52 -50
  86. package/dist/cjs/VideoSeriesCard.js +18 -17
  87. package/dist/cjs/VideoSeriesFilter.js +9 -9
  88. package/dist/cjs/VideoSeriesLandingPage.js +39 -37
  89. package/dist/cjs/VideoSeriesListing.js +35 -33
  90. package/dist/cjs/View.js +97 -97
  91. package/dist/cjs/YahooHero.js +23 -25
  92. package/dist/cjs/YoutubeGroup.js +24 -28
  93. package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
  94. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
  95. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  96. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
  97. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
  98. package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
  99. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
  100. package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-a195642e.js} +5 -4
  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/events-1b438fe7.js +469 -0
  109. package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
  110. package/dist/cjs/faundadb.js +7 -7
  111. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  112. package/dist/cjs/getRelatedArticle.js +14 -14
  113. package/dist/cjs/getRootDocGroup.js +6 -6
  114. package/dist/cjs/getSerializers.js +45 -43
  115. package/dist/cjs/{getTargeting-ea2ea5e7.js → getTargeting-be6168ad.js} +2 -2
  116. package/dist/cjs/getTargeting.js +8 -8
  117. package/dist/cjs/{index-35099a60.js → index-179d21a3.js} +203 -247
  118. package/dist/cjs/index-8041a4eb.js +99 -0
  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-5be2866f.js → index-f86bb269.js} +44 -45
  122. package/dist/cjs/{index-e08f00ce.js → index-fc2f1ca2.js} +5 -470
  123. package/dist/cjs/{index.es-13533f24.js → index.es-f3e47207.js} +20 -4
  124. package/dist/cjs/{index.esm-3ffa049c.js → index.esm-8123cf40.js} +1 -1
  125. package/dist/cjs/index.js +138 -151
  126. package/dist/cjs/{inherits-0c7830c5.js → inherits-c2065b95.js} +19 -19
  127. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  128. package/dist/cjs/keys-7f2c2108.js +25 -0
  129. package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
  130. package/dist/cjs/{main-11ec04d2.js → main-025fdc78.js} +240 -161
  131. package/dist/cjs/{moment-66a6a284.js → moment-aca40de1.js} +11 -9
  132. package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
  133. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
  134. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  135. package/dist/cjs/stringify-c9ac1214.js +17 -0
  136. package/dist/cjs/timeDifferenceCalc.js +1 -1
  137. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
  138. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  139. package/dist/cjs/{typeof-9d7f610f.js → typeof-88a668c5.js} +35 -35
  140. package/dist/cjs/urlFor.js +35 -3
  141. package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
  142. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  143. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
  144. package/dist/esm/AD.js +1 -1
  145. package/dist/esm/AD300x250.js +24 -23
  146. package/dist/esm/AD300x250x600.js +24 -23
  147. package/dist/esm/AD728x90.js +27 -26
  148. package/dist/esm/ADFloatingFooter.js +23 -22
  149. package/dist/esm/ADFooter.js +6 -6
  150. package/dist/esm/ADGutter.js +23 -22
  151. package/dist/esm/{ADInfeed-ba59666b.js → ADInfeed-28b1e946.js} +4 -4
  152. package/dist/esm/ADSkyscraper.js +23 -22
  153. package/dist/esm/ADSponsoredResources.js +23 -22
  154. package/dist/esm/ADWebcast.js +23 -22
  155. package/dist/esm/ADWelcome.js +20 -19
  156. package/dist/esm/{ADlgInfeed-995322a1.js → ADlgInfeed-0b474b02.js} +4 -4
  157. package/dist/esm/AccordionPanel.js +8 -8
  158. package/dist/esm/AdSlot.js +24 -23
  159. package/dist/esm/AdSlotsProvider.js +14 -13
  160. package/dist/esm/AlgoliaSearch.js +14108 -26
  161. package/dist/esm/AlphabeticList.js +10 -10
  162. package/dist/esm/ArticleCarousel.js +18 -17
  163. package/dist/esm/ArticleProgramLandingPage.js +49 -47
  164. package/dist/esm/ArticleSeriesLandingPage.js +33 -32
  165. package/dist/esm/ArticleSeriesListing.js +34 -32
  166. package/dist/esm/Auth.js +519 -348
  167. package/dist/esm/AuthWrapper.js +19 -19
  168. package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-5ae7409f.js} +1 -1
  169. package/dist/esm/Beam.js +8 -8
  170. package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-52cf21c5.js} +34 -34
  171. package/dist/esm/Breadcrumbs.js +7 -7
  172. package/dist/esm/CMEDeck.js +25 -24
  173. package/dist/esm/Column2.js +16 -16
  174. package/dist/esm/Column3.js +33 -32
  175. package/dist/esm/ConferenceArticleCard.js +10 -15
  176. package/dist/esm/DeckContent.js +39 -44
  177. package/dist/esm/DeckQueue.js +35 -41
  178. package/dist/esm/{Dfp-cde02d85.js → Dfp-43f121ff.js} +15 -14
  179. package/dist/esm/EventsDeck.js +26 -26
  180. package/dist/esm/ExternalResources.js +48 -46
  181. package/dist/esm/Feature.js +8 -12
  182. package/dist/esm/ForbesHero.js +16 -18
  183. package/dist/esm/GridContent.js +51 -56
  184. package/dist/esm/GridHero.js +15 -24
  185. package/dist/esm/GroupDeck.js +16 -20
  186. package/dist/esm/HamMagazine.js +27 -27
  187. package/dist/esm/Hero.js +5 -16
  188. package/dist/esm/HighlightenVideo.js +2 -2
  189. package/dist/esm/HorizontalArticleListing.js +46 -44
  190. package/dist/esm/HorizontalHero.js +8 -9
  191. package/dist/esm/IssueContentDeck.js +21 -38
  192. package/dist/esm/IssueDeck.js +24 -26
  193. package/dist/esm/IssueLanding.js +55 -53
  194. package/dist/esm/LeftNav.js +22 -21
  195. package/dist/esm/MasterDeck.js +35 -34
  196. package/dist/esm/MediaSeriesLanding.js +328 -417
  197. package/dist/esm/NavDvm.js +13 -13
  198. package/dist/esm/NavMagazine.js +30 -30
  199. package/dist/esm/NavNative.js +30 -30
  200. package/dist/esm/NavNormal.js +14 -14
  201. package/dist/esm/OncliveHero.js +8 -9
  202. package/dist/esm/OncliveLargeHero.js +19 -20
  203. package/dist/esm/PageFilter.js +6 -6
  204. package/dist/esm/PartnerDetailListing.js +60 -63
  205. package/dist/esm/PdfDownload.js +1 -1
  206. package/dist/esm/PopUpModal.js +6 -6
  207. package/dist/esm/PubSection.js +35 -33
  208. package/dist/esm/PubToc.js +8 -8
  209. package/dist/esm/PublicationDeck.js +15 -17
  210. package/dist/esm/PublicationLanding.js +29 -32
  211. package/dist/esm/QueueDeckExpanded.js +58 -56
  212. package/dist/esm/RecentNews.js +4 -7
  213. package/dist/esm/RelatedContent.js +8 -11
  214. package/dist/esm/Search.js +7 -7
  215. package/dist/esm/Segment.js +6 -6
  216. package/dist/esm/SeriesListingDeck.js +21 -19
  217. package/dist/esm/{SeriesSlider-1fa61a74.js → SeriesSlider-8f2aca58.js} +11 -16
  218. package/dist/esm/SetCookie.js +1 -1
  219. package/dist/esm/SideFooter.js +15 -15
  220. package/dist/esm/{SocialSearchComponent-82ac7d6d.js → SocialSearchComponent-cd38ae60.js} +9 -9
  221. package/dist/esm/TaxonomyCard.js +16 -19
  222. package/dist/esm/TaxonomyDescription.js +46 -44
  223. package/dist/esm/TemplateNormal.js +48 -47
  224. package/dist/esm/ThumbnailCard.js +8 -12
  225. package/dist/esm/Ustream.js +13 -13
  226. package/dist/esm/VerticalHero.js +5 -9
  227. package/dist/esm/VideoProgramLandingPage.js +51 -49
  228. package/dist/esm/VideoSeriesCard.js +15 -14
  229. package/dist/esm/VideoSeriesFilter.js +9 -9
  230. package/dist/esm/VideoSeriesLandingPage.js +39 -37
  231. package/dist/esm/VideoSeriesListing.js +35 -33
  232. package/dist/esm/View.js +96 -96
  233. package/dist/esm/YahooHero.js +19 -21
  234. package/dist/esm/YoutubeGroup.js +24 -28
  235. package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
  236. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
  237. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  238. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
  239. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
  240. package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
  241. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
  242. package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-b43c695a.js} +5 -4
  243. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
  244. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  245. package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
  246. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
  247. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  248. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  249. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
  250. package/dist/esm/events-6c3a7a63.js +467 -0
  251. package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
  252. package/dist/esm/faundadb.js +7 -7
  253. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  254. package/dist/esm/getRelatedArticle.js +14 -14
  255. package/dist/esm/getRootDocGroup.js +6 -6
  256. package/dist/esm/getSerializers.js +45 -43
  257. package/dist/esm/{getTargeting-831bc794.js → getTargeting-68291ce9.js} +2 -2
  258. package/dist/esm/getTargeting.js +8 -8
  259. package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
  260. package/dist/esm/{index-acfb8079.js → index-2446af28.js} +4 -469
  261. package/dist/esm/{index-6c12bdd5.js → index-35bdcc81.js} +6 -6
  262. package/dist/esm/{index-e887f3d1.js → index-5cc7293b.js} +179 -223
  263. package/dist/esm/index-67e1773f.js +94 -0
  264. package/dist/esm/{index-d2f90501.js → index-79cfd25c.js} +44 -45
  265. package/dist/esm/{index.es-7dda2f0a.js → index.es-c6222053.js} +20 -4
  266. package/dist/esm/{index.esm-8ee5ff72.js → index.esm-8016b507.js} +1 -1
  267. package/dist/esm/index.js +119 -131
  268. package/dist/esm/{inherits-75d45541.js → inherits-a41fe93f.js} +19 -19
  269. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  270. package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
  271. package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
  272. package/dist/esm/{main-aef58dbc.js → main-b5c5aac1.js} +235 -156
  273. package/dist/esm/{moment-12415288.js → moment-bc12cb97.js} +11 -9
  274. package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-91f9716f.js} +16 -16
  275. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
  276. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  277. package/dist/esm/stringify-59c8f690.js +15 -0
  278. package/dist/esm/timeDifferenceCalc.js +1 -1
  279. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
  280. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  281. package/dist/esm/{typeof-af9c50d8.js → typeof-a286cf0c.js} +35 -35
  282. package/dist/esm/urlFor.js +35 -3
  283. package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
  284. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  285. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
  286. package/package.json +1 -1
  287. package/dist/cjs/keys-a586b7a0.js +0 -25
  288. package/dist/cjs/stringify-7c5aff47.js +0 -17
  289. package/dist/esm/stringify-4330ccdc.js +0 -15
@@ -1,49 +1,45 @@
1
- import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { _ as _export, a as _core } from './_to-object-a4107da3.js';
3
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
4
- import { _ as _extends, b as _extends$1 } from './extends-6f2fcc99.js';
5
- import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-75d45541.js';
6
- import { _ as _typeof$1 } from './typeof-af9c50d8.js';
7
1
  import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
8
- import { l as lib_3 } from './index-acfb8079.js';
9
- import PropTypes from 'prop-types';
10
- import Row$1 from 'react-bootstrap/Row';
11
- import Col$1 from 'react-bootstrap/Col';
12
- import { m as moment } from './moment-12415288.js';
2
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
3
+ import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
4
+ import urlFor from './urlFor.js';
5
+ import { l as lib_3 } from './index-2446af28.js';
13
6
  import Router, { useRouter } from 'next/router';
14
- import { i as imageUrlBuilder } from './index-51a80699.js';
15
- import { L as LazyLoad } from './index-6c12bdd5.js';
16
- import { d as main_16, b as main_38, m as main_39 } from './main-aef58dbc.js';
17
- import { h as html_decode_1 } from './entities-7cc3bf45.js';
18
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
19
- import Segment from './Segment.js';
20
- import Beam from './Beam.js';
21
- import DFPAdSlot from './AdSlot.js';
22
- import { B as BlockContent } from './BlockContent-d05b5b23.js';
23
7
  import { g as getYoutubeId } from './index-c7e2ac95.js';
8
+ import PropTypes from 'prop-types';
9
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
10
+ import { u as util } from './util-3ab476bf.js';
11
+ import Beam from './Beam.js';
12
+ import Segment from './Segment.js';
13
+ import { d as main_18, b as main_42, m as main_43 } from './main-b5c5aac1.js';
14
+ import { B as BlockContent } from './BlockContent-52cf21c5.js';
15
+ import { _ as _extends, b as _extends$1 } from './extends-60e0e1c6.js';
16
+ import { L as LazyLoad } from './index-35bdcc81.js';
17
+ import { _ as _typeof$1 } from './typeof-a286cf0c.js';
18
+ import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-b43c695a.js';
24
19
  import GroupDeck from './GroupDeck.js';
25
- import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
26
- import { d as IoIosArrowDropupCircle } from './index.esm-3fdda599.js';
27
- import { u as util } from './util-7700fc59.js';
28
- import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-e1c6b0f2.js';
29
- import Head from 'next/head';
20
+ import { m as moment } from './moment-bc12cb97.js';
30
21
  import SocialShare from './SocialShare.js';
31
- import { _ as _objectToArray } from './_object-to-array-7e804fce.js';
22
+ import { _ as _export, a as _core } from './_to-object-b50e61c3.js';
23
+ import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
24
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
32
25
  import Pagination from 'react-bootstrap/Pagination';
33
26
  import Button$1 from 'react-bootstrap/Button';
27
+ import { h as html_decode_1 } from './entities-932b50cf.js';
28
+ import DFPAdSlot from './AdSlot.js';
29
+ import Row$1 from 'react-bootstrap/Row';
30
+ import Col$1 from 'react-bootstrap/Col';
31
+ import Head from 'next/head';
32
+ import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a41fe93f.js';
33
+ import { d as IoIosArrowDropupCircle } from './index.esm-3fdda599.js';
34
34
  import Figure$2 from 'react-bootstrap/Figure';
35
35
 
36
- var urlFor = function urlFor(source, builder) {
37
- return builder.image(source).auto('format');
38
- };
39
-
40
36
  var onChangeSlide = function onChangeSlide(selectedIndex, router) {
41
37
  var pageNumber = selectedIndex + 1;
42
38
  var href = '/view/' + router.query.url + '?page=' + pageNumber;
43
39
  Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
44
40
  };
45
41
 
46
- var Slideshow = function Slideshow(_ref) {
42
+ var Slideshow$1 = function Slideshow(_ref) {
47
43
  var slides = _ref.slides,
48
44
  client = _ref.client,
49
45
  pageview = _ref.pageview;
@@ -55,8 +51,6 @@ var Slideshow = function Slideshow(_ref) {
55
51
  carouselIndex = _useState2[0],
56
52
  setCarouselIndex = _useState2[1];
57
53
 
58
- var builder = imageUrlBuilder(client);
59
-
60
54
  useEffect(function () {
61
55
  var itemArr = router.asPath.split('?page=');
62
56
  var pageNumber = parseInt(itemArr[1]);
@@ -84,7 +78,7 @@ var Slideshow = function Slideshow(_ref) {
84
78
  return React.createElement(
85
79
  Carousel.Item,
86
80
  { key: slide._key },
87
- React.createElement('img', { src: slide.asset && urlFor(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
81
+ React.createElement('img', { src: slide.asset && urlFor({ source: slide.asset, client: client }), alt: slide.alt && slide.alt, style: { width: '100%' } }),
88
82
  slide.caption && React.createElement(
89
83
  'p',
90
84
  { className: 'p-2' },
@@ -675,14 +669,14 @@ function coerce(val) {
675
669
  return val;
676
670
  }
677
671
  });
678
- var debug_1 = debug.coerce;
679
- var debug_2 = debug.disable;
680
- var debug_3 = debug.enable;
681
- var debug_4 = debug.enabled;
682
- var debug_5 = debug.humanize;
683
- var debug_6 = debug.names;
684
- var debug_7 = debug.skips;
685
- var debug_8 = debug.formatters;
672
+ debug.coerce;
673
+ debug.disable;
674
+ debug.enable;
675
+ debug.enabled;
676
+ debug.humanize;
677
+ debug.names;
678
+ debug.skips;
679
+ debug.formatters;
686
680
 
687
681
  var browser = createCommonjsModule(function (module, exports) {
688
682
  /**
@@ -871,13 +865,13 @@ function localstorage() {
871
865
  } catch (e) {}
872
866
  }
873
867
  });
874
- var browser_1 = browser.log;
875
- var browser_2 = browser.formatArgs;
876
- var browser_3 = browser.save;
877
- var browser_4 = browser.load;
878
- var browser_5 = browser.useColors;
879
- var browser_6 = browser.storage;
880
- var browser_7 = browser.colors;
868
+ browser.log;
869
+ browser.formatArgs;
870
+ browser.save;
871
+ browser.load;
872
+ browser.useColors;
873
+ browser.storage;
874
+ browser.colors;
881
875
 
882
876
  // MIT lisence
883
877
  // from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
@@ -1152,14 +1146,14 @@ function init (debug) {
1152
1146
 
1153
1147
  exports.enable(load());
1154
1148
  });
1155
- var node_1 = node.init;
1156
- var node_2 = node.log;
1157
- var node_3 = node.formatArgs;
1158
- var node_4 = node.save;
1159
- var node_5 = node.load;
1160
- var node_6 = node.useColors;
1161
- var node_7 = node.colors;
1162
- var node_8 = node.inspectOpts;
1149
+ node.init;
1150
+ node.log;
1151
+ node.formatArgs;
1152
+ node.save;
1153
+ node.load;
1154
+ node.useColors;
1155
+ node.colors;
1156
+ node.inspectOpts;
1163
1157
 
1164
1158
  var src = createCommonjsModule(function (module) {
1165
1159
  /**
@@ -1617,11 +1611,11 @@ function shouldUpdateVideo(prevProps, props) {
1617
1611
 
1618
1612
  function filterResetOptions(opts) {
1619
1613
  return _objectSpread(_objectSpread({}, opts), {}, {
1620
- playerVars: _objectSpread(_objectSpread({}, opts.playerVars), {}, {
1614
+ playerVars: _objectSpread({
1621
1615
  autoplay: 0,
1622
1616
  start: 0,
1623
1617
  end: 0
1624
- })
1618
+ }, opts.playerVars)
1625
1619
  });
1626
1620
  }
1627
1621
  /**
@@ -1922,8 +1916,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1922
1916
  var duration = player.getDuration();
1923
1917
  var queue = Math.floor(duration / 10);
1924
1918
  var segment = Math.floor(current / queue);
1925
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
1926
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
1919
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
1920
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
1927
1921
  };
1928
1922
 
1929
1923
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -1933,8 +1927,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1933
1927
  var segment = Math.floor(current / queue);
1934
1928
 
1935
1929
  if (!queueProgress.includes(segment)) {
1936
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
1937
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
1930
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
1931
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
1938
1932
  queueProgress.push(segment);
1939
1933
  }
1940
1934
  };
@@ -1947,8 +1941,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1947
1941
  var queue = Math.floor(duration / 10);
1948
1942
  var segment = Math.floor(current / queue);
1949
1943
 
1950
- Beam.report_beam_video('Play', main_16, duration, current, segment);
1951
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
1944
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
1945
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
1952
1946
 
1953
1947
  if (!playReported) {
1954
1948
  setPlayReported(true);
@@ -1967,8 +1961,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1967
1961
  var queue = Math.floor(duration / 10);
1968
1962
  var segment = Math.floor(current / queue);
1969
1963
 
1970
- Beam.report_beam_video('End', main_16, duration, current, segment);
1971
- Segment.report_video_event('Video End', main_16, duration, current, segment);
1964
+ Beam.report_beam_video('End', main_18, duration, current, segment);
1965
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
1972
1966
  setEndReported(true);
1973
1967
  clearInterval(intervalID);
1974
1968
  }
@@ -1981,8 +1975,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1981
1975
  var queue = Math.floor(duration / 10);
1982
1976
  var segment = Math.floor(current / queue);
1983
1977
 
1984
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
1985
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
1978
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
1979
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
1986
1980
  };
1987
1981
 
1988
1982
  return React.createElement(
@@ -2065,11 +2059,6 @@ var Media = function Media(_ref) {
2065
2059
  _node$disableTextWrap = node.disableTextWrap,
2066
2060
  disableTextWrap = _node$disableTextWrap === undefined ? false : _node$disableTextWrap;
2067
2061
 
2068
- var builder = imageUrlBuilder(client);
2069
-
2070
- var urlFor = function urlFor(source) {
2071
- return builder.image(source).auto('format');
2072
- };
2073
2062
 
2074
2063
  if (typeof window === 'undefined') {
2075
2064
  return null;
@@ -2149,7 +2138,7 @@ var Media = function Media(_ref) {
2149
2138
  React.createElement(
2150
2139
  LazyLoad,
2151
2140
  { once: true },
2152
- React.createElement(Figure$1.Image, _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor(poster).url() }, alt && { alt: alt }))
2141
+ React.createElement(Figure$1.Image, _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ sorce: poster, client: client }) }, alt && { alt: alt }))
2153
2142
  ),
2154
2143
  caption && React.createElement(
2155
2144
  Figure$1.Caption,
@@ -2216,8 +2205,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2216
2205
  var duration = player.duration;
2217
2206
  var queue = Math.floor(duration / 10);
2218
2207
  var segment = Math.floor(current / queue);
2219
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'MP4');
2220
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
2208
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'MP4');
2209
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
2221
2210
  };
2222
2211
 
2223
2212
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -2226,8 +2215,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2226
2215
  var queue = Math.floor(duration / 10);
2227
2216
  var segment = Math.floor(current / queue);
2228
2217
  if (!queueProgress.includes(segment)) {
2229
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'MP4');
2230
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
2218
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'MP4');
2219
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
2231
2220
  queueProgress.push(segment);
2232
2221
  }
2233
2222
  };
@@ -2239,8 +2228,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2239
2228
  var duration = player.duration;
2240
2229
  var queue = Math.floor(duration / 10);
2241
2230
  var segment = Math.floor(current / queue);
2242
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'MP4');
2243
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
2231
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'MP4');
2232
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
2244
2233
 
2245
2234
  if (!playReported) {
2246
2235
  event.persist();
@@ -2260,8 +2249,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2260
2249
  var queue = Math.floor(duration / 10);
2261
2250
  var segment = Math.floor(current / queue);
2262
2251
 
2263
- Beam.report_beam_video('End', main_16, duration, current, segment, 'MP4');
2264
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
2252
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'MP4');
2253
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
2265
2254
  setEndReported(true);
2266
2255
  clearInterval(intervalID);
2267
2256
  }
@@ -2273,8 +2262,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2273
2262
  var duration = player.duration - current;
2274
2263
  var queue = Math.floor(duration / 10);
2275
2264
  var segment = Math.floor(current / queue);
2276
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'MP4');
2277
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
2265
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'MP4');
2266
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
2278
2267
  };
2279
2268
 
2280
2269
  return React.createElement(
@@ -2363,8 +2352,8 @@ var Video = function Video(_ref) {
2363
2352
  player.pause();
2364
2353
  }
2365
2354
 
2366
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2367
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2355
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2356
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2368
2357
  });
2369
2358
 
2370
2359
  // play
@@ -2373,8 +2362,8 @@ var Video = function Video(_ref) {
2373
2362
  var current = player.currentTime();
2374
2363
  var queue = Math.floor(duration / 10);
2375
2364
  var segment = Math.floor(current / queue);
2376
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2377
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2365
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2366
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2378
2367
  });
2379
2368
 
2380
2369
  // pause
@@ -2383,8 +2372,8 @@ var Video = function Video(_ref) {
2383
2372
  var current = player.currentTime();
2384
2373
  var queue = Math.floor(duration / 10);
2385
2374
  var segment = Math.floor(current / queue);
2386
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2387
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2375
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2376
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2388
2377
  });
2389
2378
 
2390
2379
  // end
@@ -2393,8 +2382,8 @@ var Video = function Video(_ref) {
2393
2382
  var current = player.currentTime();
2394
2383
  var queue = Math.floor(duration / 10);
2395
2384
  var segment = Math.floor(current / queue);
2396
- Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2397
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2385
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2386
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2398
2387
  autoplayNextVideo(evt);
2399
2388
  });
2400
2389
 
@@ -2405,8 +2394,8 @@ var Video = function Video(_ref) {
2405
2394
  var queue = Math.floor(duration / 10);
2406
2395
  var segment = Math.floor(current / queue);
2407
2396
  if (!queueProgress.includes(segment)) {
2408
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2409
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2397
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2398
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2410
2399
  queueProgress.push(segment);
2411
2400
  }
2412
2401
  });
@@ -2417,8 +2406,8 @@ var Video = function Video(_ref) {
2417
2406
  var id = player.ads.ad.id;
2418
2407
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2419
2408
 
2420
- Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
2421
- Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2409
+ Beam.report_beam_ad('AD Started', main_18, '', '', '', '', '', adType, duration, id);
2410
+ Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2422
2411
  });
2423
2412
 
2424
2413
  // ad ended
@@ -2426,8 +2415,8 @@ var Video = function Video(_ref) {
2426
2415
  var duration = player.ads.ad.duration;
2427
2416
  var id = player.ads.ad.id;
2428
2417
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2429
- Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
2430
- Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2418
+ Beam.report_beam_ad('AD Ended', main_18, '', '', '', '', '', adType, duration, id);
2419
+ Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2431
2420
  });
2432
2421
  };
2433
2422
 
@@ -2690,9 +2679,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
2690
2679
  });
2691
2680
 
2692
2681
  unwrapExports(props);
2693
- var props_1 = props.DEPRECATED_CONFIG_PROPS;
2694
- var props_2 = props.defaultProps;
2695
- var props_3 = props.propTypes;
2682
+ props.DEPRECATED_CONFIG_PROPS;
2683
+ props.defaultProps;
2684
+ props.propTypes;
2696
2685
 
2697
2686
  var isMergeableObject = function isMergeableObject(value) {
2698
2687
  return isNonNullObject(value)
@@ -3127,17 +3116,17 @@ function isMediaStream(url) {
3127
3116
  });
3128
3117
 
3129
3118
  unwrapExports(utils);
3130
- var utils_1 = utils.parseStartTime;
3131
- var utils_2 = utils.parseEndTime;
3132
- var utils_3 = utils.randomString;
3133
- var utils_4 = utils.queryString;
3134
- var utils_5 = utils.getSDK;
3135
- var utils_6 = utils.getConfig;
3136
- var utils_7 = utils.omit;
3137
- var utils_8 = utils.callPlayer;
3138
- var utils_9 = utils.isObject;
3139
- var utils_10 = utils.isEqual;
3140
- var utils_11 = utils.isMediaStream;
3119
+ utils.parseStartTime;
3120
+ utils.parseEndTime;
3121
+ utils.randomString;
3122
+ utils.queryString;
3123
+ utils.getSDK;
3124
+ utils.getConfig;
3125
+ utils.omit;
3126
+ utils.callPlayer;
3127
+ utils.isObject;
3128
+ utils.isEqual;
3129
+ utils.isMediaStream;
3141
3130
 
3142
3131
  var Player_1 = createCommonjsModule(function (module, exports) {
3143
3132
 
@@ -4014,7 +4003,7 @@ exports["default"] = _default;
4014
4003
  });
4015
4004
 
4016
4005
  unwrapExports(YouTube_1);
4017
- var YouTube_2 = YouTube_1.YouTube;
4006
+ YouTube_1.YouTube;
4018
4007
 
4019
4008
  var SoundCloud_1 = createCommonjsModule(function (module, exports) {
4020
4009
 
@@ -4231,7 +4220,7 @@ exports["default"] = _default;
4231
4220
  });
4232
4221
 
4233
4222
  unwrapExports(SoundCloud_1);
4234
- var SoundCloud_2 = SoundCloud_1.SoundCloud;
4223
+ SoundCloud_1.SoundCloud;
4235
4224
 
4236
4225
  var Vimeo_1 = createCommonjsModule(function (module, exports) {
4237
4226
 
@@ -4487,7 +4476,7 @@ exports["default"] = _default;
4487
4476
  });
4488
4477
 
4489
4478
  unwrapExports(Vimeo_1);
4490
- var Vimeo_2 = Vimeo_1.Vimeo;
4479
+ Vimeo_1.Vimeo;
4491
4480
 
4492
4481
  var Facebook_1 = createCommonjsModule(function (module, exports) {
4493
4482
 
@@ -4699,7 +4688,7 @@ exports["default"] = _default;
4699
4688
  });
4700
4689
 
4701
4690
  unwrapExports(Facebook_1);
4702
- var Facebook_2 = Facebook_1.Facebook;
4691
+ Facebook_1.Facebook;
4703
4692
 
4704
4693
  var Streamable_1 = createCommonjsModule(function (module, exports) {
4705
4694
 
@@ -4910,7 +4899,7 @@ exports["default"] = _default;
4910
4899
  });
4911
4900
 
4912
4901
  unwrapExports(Streamable_1);
4913
- var Streamable_2 = Streamable_1.Streamable;
4902
+ Streamable_1.Streamable;
4914
4903
 
4915
4904
  var Wistia_1 = createCommonjsModule(function (module, exports) {
4916
4905
 
@@ -5153,7 +5142,7 @@ exports["default"] = _default;
5153
5142
  });
5154
5143
 
5155
5144
  unwrapExports(Wistia_1);
5156
- var Wistia_2 = Wistia_1.Wistia;
5145
+ Wistia_1.Wistia;
5157
5146
 
5158
5147
  var Twitch_1 = createCommonjsModule(function (module, exports) {
5159
5148
 
@@ -5369,7 +5358,7 @@ exports["default"] = _default;
5369
5358
  });
5370
5359
 
5371
5360
  unwrapExports(Twitch_1);
5372
- var Twitch_2 = Twitch_1.Twitch;
5361
+ Twitch_1.Twitch;
5373
5362
 
5374
5363
  var DailyMotion_1 = createCommonjsModule(function (module, exports) {
5375
5364
 
@@ -5605,7 +5594,7 @@ exports["default"] = _default;
5605
5594
  });
5606
5595
 
5607
5596
  unwrapExports(DailyMotion_1);
5608
- var DailyMotion_2 = DailyMotion_1.DailyMotion;
5597
+ DailyMotion_1.DailyMotion;
5609
5598
 
5610
5599
  var Mixcloud_1 = createCommonjsModule(function (module, exports) {
5611
5600
 
@@ -5804,7 +5793,7 @@ exports["default"] = _default;
5804
5793
  });
5805
5794
 
5806
5795
  unwrapExports(Mixcloud_1);
5807
- var Mixcloud_2 = Mixcloud_1.Mixcloud;
5796
+ Mixcloud_1.Mixcloud;
5808
5797
 
5809
5798
  var FilePlayer_1 = createCommonjsModule(function (module, exports) {
5810
5799
 
@@ -6338,7 +6327,7 @@ exports["default"] = _default;
6338
6327
  });
6339
6328
 
6340
6329
  unwrapExports(FilePlayer_1);
6341
- var FilePlayer_2 = FilePlayer_1.FilePlayer;
6330
+ FilePlayer_1.FilePlayer;
6342
6331
 
6343
6332
  var players = createCommonjsModule(function (module, exports) {
6344
6333
 
@@ -7151,11 +7140,6 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7151
7140
  }
7152
7141
  });
7153
7142
 
7154
- var builder = imageUrlBuilder(client);
7155
- function urlFor(source) {
7156
- return builder.image(source);
7157
- }
7158
-
7159
7143
  var router = useRouter();
7160
7144
 
7161
7145
  var _useState = useState(false),
@@ -7221,10 +7205,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7221
7205
 
7222
7206
  Videos.forEach(function (vid) {
7223
7207
  if (vid.type == 'mp4') {
7224
- data.push({ title: vid.title, thumbnail: urlFor(vid.thumbnail.asset).url(), url: vid.url });
7208
+ data.push({ title: vid.title, thumbnail: urlFor({ client: client, source: vid.thumbnail.asset }), url: vid.url });
7225
7209
  } else {
7226
7210
  if (vid.thumbnail && vid.thumbnail.asset) {
7227
- data.push({ title: vid.title, thumbnail: urlFor(vid.thumbnail.asset).url(), url: vid.url });
7211
+ data.push({ title: vid.title, thumbnail: urlFor({ client: client, source: vid.thumbnail.asset }), url: vid.url });
7228
7212
  } else {
7229
7213
  data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + getYoutubeId(vid.url) + '/hqdefault.jpg', url: vid.url });
7230
7214
  }
@@ -7235,7 +7219,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7235
7219
  if (data.length < seriesVid || !seriesVid) {
7236
7220
  setSeries(1);
7237
7221
  setVidUrl(Videos[0].url);
7238
- setVidThumbnail(Videos[0].thumbnail && Videos[0].thumbnail.asset ? urlFor(Videos[0].thumbnail.asset).url() : '');
7222
+ setVidThumbnail(Videos[0].thumbnail && Videos[0].thumbnail.asset ? urlFor({ client: client, source: Videos[0].thumbnail.asset }) : '');
7239
7223
  if (Videos[0].type) {
7240
7224
  setVidType(Videos[0].type);
7241
7225
  }
@@ -7246,7 +7230,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7246
7230
  } else {
7247
7231
  setSeries(seriesVid);
7248
7232
  setVidUrl(Videos[seriesVid - 1].url);
7249
- setVidThumbnail(Videos[seriesVid - 1].thumbnail && Videos[seriesVid - 1].thumbnail.asset ? urlFor(Videos[seriesVid - 1].thumbnail.asset).url() : '');
7233
+ setVidThumbnail(Videos[seriesVid - 1].thumbnail && Videos[seriesVid - 1].thumbnail.asset ? urlFor({ client: client, source: Videos[seriesVid - 1].thumbnail.asset }) : '');
7250
7234
  if (Videos[0].type) {
7251
7235
  setVidType(Videos[seriesVid - 1].type);
7252
7236
  }
@@ -7279,8 +7263,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7279
7263
  var duration = player.getDuration();
7280
7264
  var queue = Math.floor(duration / 10);
7281
7265
  var segment = Math.floor(current / queue);
7282
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
7283
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
7266
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
7267
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
7284
7268
  //autoplay
7285
7269
 
7286
7270
  //Small pause before starting next video
@@ -7300,8 +7284,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7300
7284
  var queue = Math.floor(duration / 10);
7301
7285
  var segment = Math.floor(current / queue);
7302
7286
 
7303
- Beam.report_beam_video('End', main_16, duration, current, segment);
7304
- Segment.report_video_event('Video End', main_16, duration, current, segment);
7287
+ Beam.report_beam_video('End', main_18, duration, current, segment);
7288
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
7305
7289
  setEndReported(true);
7306
7290
  clearInterval(intervalID);
7307
7291
  }
@@ -7351,8 +7335,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7351
7335
  var queue = Math.floor(duration / 10);
7352
7336
  var segment = Math.floor(current / queue);
7353
7337
  if (!queueProgress.includes(segment)) {
7354
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
7355
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
7338
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
7339
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
7356
7340
  queueProgress.push(segment);
7357
7341
  }
7358
7342
  };
@@ -7365,8 +7349,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7365
7349
  var queue = Math.floor(duration / 10);
7366
7350
  var segment = Math.floor(current / queue);
7367
7351
 
7368
- Beam.report_beam_video('Play', main_16, duration, current, segment);
7369
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
7352
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
7353
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
7370
7354
 
7371
7355
  if (!playReported) {
7372
7356
  setPlayReported(true);
@@ -7384,8 +7368,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7384
7368
  var queue = Math.floor(duration / 10);
7385
7369
  var segment = Math.floor(current / queue);
7386
7370
 
7387
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
7388
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
7371
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
7372
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
7389
7373
  };
7390
7374
 
7391
7375
  // Youtube Options
@@ -7426,7 +7410,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7426
7410
  return React.createElement(
7427
7411
  'span',
7428
7412
  { key: index },
7429
- renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor(client, authorDetail.profileImage).height(authorImgHeight).url())
7413
+ renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
7430
7414
  );
7431
7415
  })
7432
7416
  ),
@@ -7513,14 +7497,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7513
7497
  );
7514
7498
  };
7515
7499
 
7516
- var Poll = function Poll(_ref) {
7517
- var node = _ref.node,
7518
- client = _ref.client,
7519
- pageview = _ref.pageview,
7520
- videoAccountIDs = _ref.videoAccountIDs,
7521
- onVote = _ref.onVote,
7522
- _ref$showVotes = _ref.showVotes,
7523
- getSerializers = _ref.getSerializers;
7500
+ var Poll$1 = function Poll(_ref) {
7501
+ var node = _ref.node;
7502
+ _ref.client;
7503
+ _ref.pageview;
7504
+ _ref.videoAccountIDs;
7505
+ var onVote = _ref.onVote;
7506
+ _ref.showVotes;
7507
+ var getSerializers = _ref.getSerializers;
7524
7508
 
7525
7509
  var _useState = useState(null),
7526
7510
  _useState2 = _slicedToArray(_useState, 2),
@@ -7654,22 +7638,22 @@ _export(_export.S, 'Object', {
7654
7638
  }
7655
7639
  });
7656
7640
 
7657
- var values = _core.Object.values;
7641
+ var values$1 = _core.Object.values;
7658
7642
 
7659
- var values$1 = createCommonjsModule(function (module) {
7660
- module.exports = { "default": values, __esModule: true };
7643
+ var values = createCommonjsModule(function (module) {
7644
+ module.exports = { "default": values$1, __esModule: true };
7661
7645
  });
7662
7646
 
7663
- var _Object$values = unwrapExports(values$1);
7647
+ var _Object$values = unwrapExports(values);
7664
7648
 
7665
- var Poll$1 = function Poll(_ref) {
7666
- var node = _ref.node,
7667
- client = _ref.client,
7668
- pageview = _ref.pageview,
7669
- videoAccountIDs = _ref.videoAccountIDs,
7670
- onVote = _ref.onVote,
7671
- _ref$showVotes = _ref.showVotes,
7672
- getSerializers = _ref.getSerializers;
7649
+ var Poll = function Poll(_ref) {
7650
+ var node = _ref.node;
7651
+ _ref.client;
7652
+ _ref.pageview;
7653
+ _ref.videoAccountIDs;
7654
+ var onVote = _ref.onVote;
7655
+ _ref.showVotes;
7656
+ var getSerializers = _ref.getSerializers;
7673
7657
 
7674
7658
  var _useState = useState(null),
7675
7659
  _useState2 = _slicedToArray(_useState, 2),
@@ -7821,7 +7805,7 @@ var Poll$1 = function Poll(_ref) {
7821
7805
  );
7822
7806
  };
7823
7807
 
7824
- var numberOfPaginations = main_38 ? 4 : 10;
7808
+ var numberOfPaginations = main_42 ? 4 : 10;
7825
7809
 
7826
7810
  var Quiz = function Quiz(_ref) {
7827
7811
  var quizzes = _ref.quizzes,
@@ -7941,7 +7925,7 @@ var Quiz = function Quiz(_ref) {
7941
7925
  var renderPagination = function renderPagination() {
7942
7926
  return React.createElement(
7943
7927
  Pagination,
7944
- { className: 'p-0 m-0', size: main_38 && 'sm' },
7928
+ { className: 'p-0 m-0', size: main_42 && 'sm' },
7945
7929
  React.createElement(Pagination.First, { onClick: function onClick() {
7946
7930
  return changePage('first');
7947
7931
  }, disabled: currentPage === 1 }),
@@ -8111,12 +8095,7 @@ var Leads = function Leads(_ref) {
8111
8095
  );
8112
8096
  };
8113
8097
 
8114
- var urlFor$1 = function urlFor(source, client) {
8115
- var builder = imageUrlBuilder(client);
8116
- return builder.image(source).auto('format');
8117
- };
8118
-
8119
- var Slideshow$1 = function Slideshow(_ref) {
8098
+ var Slideshow = function Slideshow(_ref) {
8120
8099
  var slides = _ref.node.slides,
8121
8100
  client = _ref.client,
8122
8101
  pageview = _ref.pageview,
@@ -8128,8 +8107,8 @@ var Slideshow$1 = function Slideshow(_ref) {
8128
8107
 
8129
8108
  var _useState = useState(!pageNumber || isNaN(pageNumber) || pageNumber > slides.length ? 0 : pageNumber - 1),
8130
8109
  _useState2 = _slicedToArray(_useState, 2),
8131
- carouselIndex = _useState2[0],
8132
- setCarouselIndex = _useState2[1];
8110
+ carouselIndex = _useState2[0];
8111
+ _useState2[1];
8133
8112
 
8134
8113
  // useEffect(() => {
8135
8114
  // let itemArr = router.asPath.split('?page=')
@@ -8172,7 +8151,7 @@ var Slideshow$1 = function Slideshow(_ref) {
8172
8151
  React.createElement(
8173
8152
  LazyLoad,
8174
8153
  null,
8175
- React.createElement('img', { src: urlFor$1(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8154
+ React.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8176
8155
  )
8177
8156
  ),
8178
8157
  React.createElement(
@@ -8235,10 +8214,6 @@ var Formstack = function Formstack(_ref) {
8235
8214
  );
8236
8215
  };
8237
8216
 
8238
- var urlFor$2 = function urlFor(source, client) {
8239
- var builder = imageUrlBuilder(client);
8240
- return builder.image(source).auto('format');
8241
- };
8242
8217
  var MultiMedia = function MultiMedia(props) {
8243
8218
  var medias = props.node.medias,
8244
8219
  client = props.client;
@@ -8271,7 +8246,7 @@ var MultiMedia = function MultiMedia(props) {
8271
8246
  imageBox && React.createElement(
8272
8247
  LazyLoad,
8273
8248
  { once: true },
8274
- React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor$2(media.poster, client).url(), alt: media.alt })
8249
+ React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt })
8275
8250
  ),
8276
8251
  media.caption && React.createElement(
8277
8252
  'span',
@@ -8385,10 +8360,6 @@ var ArticleSeries = function ArticleSeries(_ref) {
8385
8360
  var today = moment().utc().format();
8386
8361
 
8387
8362
  var authorPrefix = 'authors';
8388
- var builder = imageUrlBuilder(client);
8389
- function urlFor(source) {
8390
- return builder.image(source);
8391
- }
8392
8363
  var router = useRouter();
8393
8364
 
8394
8365
  var refArray = useRef([]);
@@ -8491,7 +8462,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8491
8462
  React.createElement(
8492
8463
  'div',
8493
8464
  { className: 'prevNext-thumbnail' },
8494
- React.createElement('img', { src: urlFor(article.thumbnail.asset).url() }),
8465
+ React.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
8495
8466
  React.createElement(
8496
8467
  'div',
8497
8468
  { className: 'prevNext-reading ' + showReading },
@@ -8561,7 +8532,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8561
8532
 
8562
8533
  useEffect(function () {
8563
8534
  if (articleClicked === true) {
8564
- onChangeArticle(Articles[articleIndex].param.current, 'top', Articles[articleIndex].title, Articles[articleIndex].summary, urlFor(Articles[articleIndex].thumbnail.asset).url());
8535
+ onChangeArticle(Articles[articleIndex].param.current, 'top', Articles[articleIndex].title, Articles[articleIndex].summary, urlFor({ client: client, source: Articles[articleIndex].thumbnail.asset }));
8565
8536
  }
8566
8537
  }, [articleClicked]);
8567
8538
 
@@ -8641,7 +8612,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8641
8612
  //console.log('useLayoutEffect')
8642
8613
  if (!firstLoad) {
8643
8614
  setUpArrowClicked(false);
8644
- if (main_39) {
8615
+ if (main_43) {
8645
8616
  grabLoadedAds();
8646
8617
  } else {
8647
8618
  scrollToArticle();
@@ -8665,7 +8636,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8665
8636
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8666
8637
  if (pageview) pageview(path);
8667
8638
 
8668
- if (!main_39) {
8639
+ if (!main_43) {
8669
8640
  lib_3.getGoogletag().then(function (googletag) {
8670
8641
  if (window.googletag && googletag.pubadsReady) {
8671
8642
  lib_3.refresh();
@@ -8673,7 +8644,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8673
8644
  });
8674
8645
  }
8675
8646
  //Refresh leaderboard ad on mobile
8676
- if (main_39) {
8647
+ if (main_43) {
8677
8648
  var leaderboardSlotId = '';
8678
8649
  lib_3.getGoogletag().then(function (googletag) {
8679
8650
  if (window.googletag && googletag.pubadsReady) {
@@ -8699,7 +8670,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8699
8670
  setCurrentTitle(title);
8700
8671
  if (rootArticle) {
8701
8672
  setCurrentSummary(rootArticle.summary ? rootArticle.summary : '');
8702
- setCurrentThumbnail(urlFor(rootArticle.thumbnail.asset).url());
8673
+ setCurrentThumbnail(urlFor({ client: client, source: rootArticle.thumbnail.asset }));
8703
8674
  } else {
8704
8675
  setCurrentSummary('');
8705
8676
  setCurrentThumbnail('');
@@ -8742,7 +8713,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8742
8713
  React.createElement(
8743
8714
  'div',
8744
8715
  { className: 'ad-box', style: { textAlign: 'center' } },
8745
- main_39 && Ads.map(function (ad, index) {
8716
+ main_43 && Ads.map(function (ad, index) {
8746
8717
  if (index === 0) {
8747
8718
  return React.createElement(
8748
8719
  'div',
@@ -8785,7 +8756,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8785
8756
  onChange: function onChange(visible) {
8786
8757
  if (upArrowClicked === false && articleClicked === false) {
8787
8758
  if (visible === 'top' || visible === 'bottom' || visible === 'small-top') {
8788
- onChangeArticle(article.param.current, visible, article.title, article.summary, urlFor(article.thumbnail.asset).url());
8759
+ onChangeArticle(article.param.current, visible, article.title, article.summary, urlFor({ client: client, source: article.thumbnail.asset }));
8789
8760
  }
8790
8761
  }
8791
8762
  } },
@@ -8821,7 +8792,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8821
8792
  return React.createElement(
8822
8793
  'span',
8823
8794
  { key: index },
8824
- renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor(client, authorDetail.profileImage).url())
8795
+ renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
8825
8796
  );
8826
8797
  })
8827
8798
  ),
@@ -8864,7 +8835,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8864
8835
  React.createElement(
8865
8836
  'div',
8866
8837
  { className: 'ad-box', style: { textAlign: 'center' } },
8867
- main_39 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8838
+ main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8868
8839
  if (innerIndex === 0) {
8869
8840
  return React.createElement(
8870
8841
  'div',
@@ -8931,16 +8902,6 @@ var LightBox = function LightBox(_ref) {
8931
8902
  );
8932
8903
  };
8933
8904
 
8934
- var urlFor$3 = function urlFor(source, client) {
8935
- var builder = imageUrlBuilder(client);
8936
- return builder.image(source).auto('format');
8937
- };
8938
-
8939
- var generateSrcSet = function generateSrcSet(source, client, width) {
8940
- var builder = imageUrlBuilder(client);
8941
- return builder.image(source).width(width).fit('max').auto('format').url();
8942
- };
8943
-
8944
8905
  var compareProps = function compareProps(prevProps, nextProps) {
8945
8906
  if (nextProps.node.asset && nextProps.node.asset._ref) {
8946
8907
  return prevProps.node.asset._ref === nextProps.node.asset._ref;
@@ -8958,13 +8919,13 @@ var FigureImage = React.memo(function (_ref2) {
8958
8919
  return React.createElement(
8959
8920
  'picture',
8960
8921
  null,
8961
- React.createElement('source', { media: '(min-width: 1200px)', srcSet: generateSrcSet(node, client, 1500) }),
8962
- React.createElement('source', { media: '(min-width: 600px)', srcSet: generateSrcSet(node, client, 1000) }),
8963
- React.createElement('source', { media: '(max-width: 600px)', srcSet: generateSrcSet(node, client, 500) }),
8922
+ React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
8923
+ React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
8924
+ React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
8964
8925
  React.createElement('img', _extends({
8965
8926
  style: figureImageStyle,
8966
8927
  className: 'figure-image',
8967
- src: urlFor$3(node, client).url(),
8928
+ src: urlFor({ source: node, client: client }),
8968
8929
  alt: imgAlt ? imgAlt : 'figure image'
8969
8930
  }, !link && {
8970
8931
  onClick: function onClick() {
@@ -9068,7 +9029,7 @@ var FigureComponent = function FigureComponent(props) {
9068
9029
  };
9069
9030
 
9070
9031
  var handleClickFigure = useCallback(function (node, client) {
9071
- setLightboxImgSrc(urlFor$3(node, client).url());
9032
+ setLightboxImgSrc(urlFor({ source: node, client: client }));
9072
9033
  setShowLightbox(true);
9073
9034
  }, [node, client]);
9074
9035
 
@@ -9108,11 +9069,6 @@ var FigureComponent = function FigureComponent(props) {
9108
9069
 
9109
9070
  var Figure = React.memo(FigureComponent, compareProps);
9110
9071
 
9111
- var urlFor$4 = function urlFor(source, client) {
9112
- var builder = imageUrlBuilder(client);
9113
- return builder.image(source).auto('format');
9114
- };
9115
-
9116
9072
  function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
9117
9073
  useEffect(function () {
9118
9074
  function handleClickOutside(event) {
@@ -9182,7 +9138,7 @@ var MultiFigure = function MultiFigure(props) {
9182
9138
  React.createElement(
9183
9139
  LazyLoad,
9184
9140
  { once: true },
9185
- React.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor$4(image.asset, client).url(), alt: image.alt })
9141
+ React.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor({ source: image.asset, client: client }), alt: image.alt })
9186
9142
  ),
9187
9143
  React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9188
9144
  )
@@ -9195,10 +9151,10 @@ var MultiFigure = function MultiFigure(props) {
9195
9151
  React.createElement('img', {
9196
9152
  'images-count': images.length,
9197
9153
  className: 'multi-figure-image',
9198
- src: urlFor$4(image.asset, client).url(),
9154
+ src: urlFor({ source: image.asset, client: client }),
9199
9155
  alt: image.alt,
9200
9156
  onClick: function onClick() {
9201
- setOpenImgSrc(urlFor$4(image, client).url());
9157
+ setOpenImgSrc(urlFor({ source: image, client: client }));
9202
9158
  setOpenImg(true);
9203
9159
  }
9204
9160
  })
@@ -9436,9 +9392,9 @@ var ScriptTag = function (_Component) {
9436
9392
 
9437
9393
  // The 'isHydrating' prop must NOT be passed to the script tag
9438
9394
  // eslint-disable-next-line no-unused-vars
9439
- var _props3 = this.props,
9440
- isHydrating = _props3.isHydrating,
9441
- tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9395
+ var _props3 = this.props;
9396
+ _props3.isHydrating;
9397
+ var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9442
9398
 
9443
9399
  return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
9444
9400
  return _this2.domRef = tag;
@@ -9708,7 +9664,7 @@ var getSerializers = function getSerializers() {
9708
9664
  var node = _ref6.node;
9709
9665
  var slides = node.slides;
9710
9666
 
9711
- return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
9667
+ return React.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
9712
9668
  },
9713
9669
  sidebar: function sidebar(_ref7) {
9714
9670
  var node = _ref7.node;
@@ -9746,12 +9702,12 @@ var getSerializers = function getSerializers() {
9746
9702
  poll: function poll(_ref13) {
9747
9703
  var node = _ref13.node;
9748
9704
 
9749
- return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9705
+ return React.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9750
9706
  },
9751
9707
  pollMultiChoice: function pollMultiChoice(_ref14) {
9752
9708
  var node = _ref14.node;
9753
9709
 
9754
- return React.createElement(Poll$1, {
9710
+ return React.createElement(Poll, {
9755
9711
  node: node,
9756
9712
  client: client,
9757
9713
  pageview: pageview,
@@ -9777,7 +9733,7 @@ var getSerializers = function getSerializers() {
9777
9733
  slideshows: function slideshows(_ref17) {
9778
9734
  var node = _ref17.node;
9779
9735
 
9780
- return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9736
+ return React.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9781
9737
  },
9782
9738
  nativeAd: function nativeAd(_ref18) {
9783
9739
  var node = _ref18.node;