@mjhls/mjh-framework 1.0.790 → 1.0.791-auth-test

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 (261) hide show
  1. package/README.md +170 -170
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +15 -15
  4. package/dist/cjs/AD300x250x600.js +15 -15
  5. package/dist/cjs/AD728x90.js +16 -16
  6. package/dist/cjs/ADFloatingFooter.js +14 -14
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +14 -14
  9. package/dist/cjs/{ADInfeed-1e53d7db.js → ADInfeed-e7aecdf9.js} +1 -1
  10. package/dist/cjs/ADSkyscraper.js +14 -14
  11. package/dist/cjs/ADSponsoredResources.js +14 -14
  12. package/dist/cjs/ADWebcast.js +14 -14
  13. package/dist/cjs/ADWelcome.js +14 -14
  14. package/dist/cjs/{ADlgInfeed-2494fd17.js → ADlgInfeed-0941023e.js} +1 -1
  15. package/dist/cjs/AccordionPanel.js +5 -5
  16. package/dist/cjs/AdSlot.js +16 -16
  17. package/dist/cjs/AdSlotsProvider.js +10 -10
  18. package/dist/cjs/AlphabeticList.js +9 -9
  19. package/dist/cjs/ArticleCarousel.js +11 -11
  20. package/dist/cjs/ArticleProgramLandingPage.js +25 -25
  21. package/dist/cjs/ArticleSeriesLandingPage.js +24 -24
  22. package/dist/cjs/ArticleSeriesListing.js +17 -17
  23. package/dist/cjs/Auth.js +206 -468
  24. package/dist/cjs/AuthWrapper.js +2948 -0
  25. package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-c21aac7f.js} +1 -1
  26. package/dist/cjs/Beam.js +7 -7
  27. package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-36e54d77.js} +34 -34
  28. package/dist/cjs/Breadcrumbs.js +5 -5
  29. package/dist/cjs/CMEDeck.js +14 -14
  30. package/dist/cjs/Column2.js +11 -11
  31. package/dist/cjs/Column3.js +20 -20
  32. package/dist/cjs/ConferenceArticleCard.js +16 -16
  33. package/dist/cjs/DeckContent.js +31 -31
  34. package/dist/cjs/DeckQueue.js +21 -21
  35. package/dist/cjs/{Dfp-6d140494.js → Dfp-3f0ed4c8.js} +8 -8
  36. package/dist/cjs/EventsDeck.js +36 -36
  37. package/dist/cjs/ExternalResources.js +26 -26
  38. package/dist/cjs/Feature.js +3 -3
  39. package/dist/cjs/ForbesHero.js +7 -7
  40. package/dist/cjs/GridContent.js +30 -30
  41. package/dist/cjs/GridHero.js +7 -7
  42. package/dist/cjs/GroupDeck.js +9 -9
  43. package/dist/cjs/HamMagazine.js +21 -21
  44. package/dist/cjs/Hero.js +1 -1
  45. package/dist/cjs/HorizontalArticleListing.js +25 -25
  46. package/dist/cjs/HorizontalHero.js +1 -1
  47. package/dist/cjs/IssueContentDeck.js +7 -7
  48. package/dist/cjs/IssueDeck.js +10 -10
  49. package/dist/cjs/IssueLanding.js +49 -49
  50. package/dist/cjs/KMTracker.js +15 -15
  51. package/dist/cjs/LeftNav.js +14 -14
  52. package/dist/cjs/MasterDeck.js +32 -32
  53. package/dist/cjs/MediaSeriesLanding.js +409 -400
  54. package/dist/cjs/NavDvm.js +7 -7
  55. package/dist/cjs/NavMagazine.js +21 -21
  56. package/dist/cjs/NavNative.js +26 -26
  57. package/dist/cjs/NavNormal.js +7 -7
  58. package/dist/cjs/OncliveHero.js +1 -1
  59. package/dist/cjs/OncliveLargeHero.js +7 -7
  60. package/dist/cjs/PageFilter.js +5 -5
  61. package/dist/cjs/PartnerDetailListing.js +29 -29
  62. package/dist/cjs/PopUpModal.js +5 -5
  63. package/dist/cjs/PubSection.js +20 -20
  64. package/dist/cjs/PubToc.js +7 -7
  65. package/dist/cjs/PublicationDeck.js +2 -2
  66. package/dist/cjs/PublicationLanding.js +49 -49
  67. package/dist/cjs/QueueDeckExpanded.js +22 -22
  68. package/dist/cjs/RecentNews.js +1 -1
  69. package/dist/cjs/RelatedContent.js +29 -29
  70. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  71. package/dist/cjs/Search.js +5 -5
  72. package/dist/cjs/Segment.js +6 -6
  73. package/dist/cjs/SeriesListingDeck.js +12 -12
  74. package/dist/cjs/{SeriesSlider-49577417.js → SeriesSlider-c022ce04.js} +12 -12
  75. package/dist/cjs/SideFooter.js +13 -13
  76. package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-31afe61f.js} +6 -6
  77. package/dist/cjs/TaxonomyCard.js +5 -5
  78. package/dist/cjs/TaxonomyDescription.js +25 -25
  79. package/dist/cjs/TemplateNormal.js +19 -19
  80. package/dist/cjs/ThumbnailCard.js +1 -1
  81. package/dist/cjs/Ustream.js +7 -7
  82. package/dist/cjs/VerticalHero.js +1 -1
  83. package/dist/cjs/VideoProgramLandingPage.js +25 -25
  84. package/dist/cjs/VideoSeriesCard.js +8 -8
  85. package/dist/cjs/VideoSeriesFilter.js +7 -7
  86. package/dist/cjs/VideoSeriesLandingPage.js +24 -24
  87. package/dist/cjs/VideoSeriesListing.js +17 -17
  88. package/dist/cjs/View.js +40 -40
  89. package/dist/cjs/YahooHero.js +7 -7
  90. package/dist/cjs/YoutubeGroup.js +19 -19
  91. package/dist/cjs/{_is-array-63ae4740.js → _is-array-6128bd56.js} +1 -1
  92. package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-55a5657a.js} +8 -8
  93. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  94. package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-a175b4a9.js} +1 -1
  95. package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-8fe5a54f.js} +2 -2
  96. package/dist/cjs/{_to-object-821a2927.js → _to-object-6de10e57.js} +4 -4
  97. package/dist/cjs/{asyncToGenerator-b6a175bf.js → asyncToGenerator-58c289d9.js} +30 -30
  98. package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f474eacc.js} +2 -2
  99. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  100. package/dist/cjs/{define-property-aff11f8a.js → define-property-c88be878.js} +6 -6
  101. package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-0cb76d99.js} +1 -1
  102. package/dist/cjs/empty-7d04c64b.js +5 -0
  103. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  104. package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-c2573ffd.js} +5 -5
  105. package/dist/cjs/{extends-1e24fc8d.js → extends-29bdbc6d.js} +8 -7
  106. package/dist/cjs/faundadb.js +1637 -0
  107. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  108. package/dist/cjs/getRelatedArticle.js +11 -9
  109. package/dist/cjs/getRootDocGroup.js +6 -6
  110. package/dist/cjs/getSerializers.js +25 -25
  111. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-45b91c88.js} +11 -11
  112. package/dist/cjs/getTargeting.js +8 -8
  113. package/dist/cjs/{index-d450e2d5.js → index-d9eab30b.js} +341 -92
  114. package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
  115. package/dist/cjs/{index-4d74ffd6.js → index-f86bb269.js} +4 -4
  116. package/dist/cjs/index.js +37 -37
  117. package/dist/cjs/{inherits-2eb23889.js → inherits-c2065b95.js} +22 -19
  118. package/dist/cjs/inheritsLoose-b17eb2a8.js +18 -0
  119. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  120. package/dist/cjs/keys-7f2c2108.js +25 -0
  121. package/dist/cjs/{lodash-4ef21f0f.js → lodash-f0783643.js} +57 -9
  122. package/dist/cjs/{main-dc082238.js → main-025fdc78.js} +184 -109
  123. package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-5d1bc3b3.js} +14 -14
  124. package/dist/cjs/stringify-c9ac1214.js +17 -0
  125. package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-ddb70795.js} +9 -9
  126. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  127. package/dist/cjs/{typeof-97065d40.js → typeof-88a668c5.js} +34 -34
  128. package/dist/cjs/urlFor.js +1 -1
  129. package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-46657b5c.js} +2 -2
  130. package/dist/esm/AD.js +1 -1
  131. package/dist/esm/AD300x250.js +15 -15
  132. package/dist/esm/AD300x250x600.js +15 -15
  133. package/dist/esm/AD728x90.js +16 -16
  134. package/dist/esm/ADFloatingFooter.js +14 -14
  135. package/dist/esm/ADFooter.js +5 -5
  136. package/dist/esm/ADGutter.js +14 -14
  137. package/dist/esm/{ADInfeed-94817c40.js → ADInfeed-e1e18f87.js} +1 -1
  138. package/dist/esm/ADSkyscraper.js +14 -14
  139. package/dist/esm/ADSponsoredResources.js +14 -14
  140. package/dist/esm/ADWebcast.js +14 -14
  141. package/dist/esm/ADWelcome.js +14 -14
  142. package/dist/esm/{ADlgInfeed-6124ee3c.js → ADlgInfeed-c6d2831b.js} +1 -1
  143. package/dist/esm/AccordionPanel.js +5 -5
  144. package/dist/esm/AdSlot.js +16 -16
  145. package/dist/esm/AdSlotsProvider.js +10 -10
  146. package/dist/esm/AlphabeticList.js +9 -9
  147. package/dist/esm/ArticleCarousel.js +11 -11
  148. package/dist/esm/ArticleProgramLandingPage.js +25 -25
  149. package/dist/esm/ArticleSeriesLandingPage.js +24 -24
  150. package/dist/esm/ArticleSeriesListing.js +17 -17
  151. package/dist/esm/Auth.js +207 -469
  152. package/dist/esm/AuthWrapper.js +2942 -0
  153. package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-5ae7409f.js} +1 -1
  154. package/dist/esm/Beam.js +7 -7
  155. package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-52cf21c5.js} +34 -34
  156. package/dist/esm/Breadcrumbs.js +5 -5
  157. package/dist/esm/CMEDeck.js +14 -14
  158. package/dist/esm/Column2.js +11 -11
  159. package/dist/esm/Column3.js +20 -20
  160. package/dist/esm/ConferenceArticleCard.js +16 -16
  161. package/dist/esm/DeckContent.js +31 -31
  162. package/dist/esm/DeckQueue.js +21 -21
  163. package/dist/esm/{Dfp-313e4ebe.js → Dfp-a304d96c.js} +8 -8
  164. package/dist/esm/EventsDeck.js +36 -36
  165. package/dist/esm/ExternalResources.js +26 -26
  166. package/dist/esm/Feature.js +3 -3
  167. package/dist/esm/ForbesHero.js +7 -7
  168. package/dist/esm/GridContent.js +30 -30
  169. package/dist/esm/GridHero.js +7 -7
  170. package/dist/esm/GroupDeck.js +9 -9
  171. package/dist/esm/HamMagazine.js +21 -21
  172. package/dist/esm/Hero.js +1 -1
  173. package/dist/esm/HorizontalArticleListing.js +25 -25
  174. package/dist/esm/HorizontalHero.js +1 -1
  175. package/dist/esm/IssueContentDeck.js +7 -7
  176. package/dist/esm/IssueDeck.js +10 -10
  177. package/dist/esm/IssueLanding.js +49 -49
  178. package/dist/esm/KMTracker.js +15 -15
  179. package/dist/esm/LeftNav.js +14 -14
  180. package/dist/esm/MasterDeck.js +32 -32
  181. package/dist/esm/MediaSeriesLanding.js +405 -396
  182. package/dist/esm/NavDvm.js +7 -7
  183. package/dist/esm/NavMagazine.js +21 -21
  184. package/dist/esm/NavNative.js +26 -26
  185. package/dist/esm/NavNormal.js +7 -7
  186. package/dist/esm/OncliveHero.js +1 -1
  187. package/dist/esm/OncliveLargeHero.js +7 -7
  188. package/dist/esm/PageFilter.js +5 -5
  189. package/dist/esm/PartnerDetailListing.js +29 -29
  190. package/dist/esm/PopUpModal.js +5 -5
  191. package/dist/esm/PubSection.js +20 -20
  192. package/dist/esm/PubToc.js +7 -7
  193. package/dist/esm/PublicationDeck.js +2 -2
  194. package/dist/esm/PublicationLanding.js +49 -49
  195. package/dist/esm/QueueDeckExpanded.js +22 -22
  196. package/dist/esm/RecentNews.js +1 -1
  197. package/dist/esm/RelatedContent.js +29 -29
  198. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  199. package/dist/esm/Search.js +5 -5
  200. package/dist/esm/Segment.js +6 -6
  201. package/dist/esm/SeriesListingDeck.js +12 -12
  202. package/dist/esm/{SeriesSlider-291e1c9e.js → SeriesSlider-8414085b.js} +12 -12
  203. package/dist/esm/SideFooter.js +13 -13
  204. package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-116b1d5d.js} +6 -6
  205. package/dist/esm/TaxonomyCard.js +5 -5
  206. package/dist/esm/TaxonomyDescription.js +25 -25
  207. package/dist/esm/TemplateNormal.js +19 -19
  208. package/dist/esm/ThumbnailCard.js +1 -1
  209. package/dist/esm/Ustream.js +7 -7
  210. package/dist/esm/VerticalHero.js +1 -1
  211. package/dist/esm/VideoProgramLandingPage.js +25 -25
  212. package/dist/esm/VideoSeriesCard.js +8 -8
  213. package/dist/esm/VideoSeriesFilter.js +7 -7
  214. package/dist/esm/VideoSeriesLandingPage.js +24 -24
  215. package/dist/esm/VideoSeriesListing.js +17 -17
  216. package/dist/esm/View.js +40 -40
  217. package/dist/esm/YahooHero.js +7 -7
  218. package/dist/esm/YoutubeGroup.js +19 -19
  219. package/dist/esm/{_is-array-674f71ec.js → _is-array-3e99e06e.js} +1 -1
  220. package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-7e5e5ce2.js} +8 -8
  221. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  222. package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-f353c2a9.js} +1 -1
  223. package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-0f197f89.js} +2 -2
  224. package/dist/esm/{_to-object-97770c52.js → _to-object-b50e61c3.js} +4 -4
  225. package/dist/esm/{asyncToGenerator-585841c0.js → asyncToGenerator-7f8f9219.js} +30 -30
  226. package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-133dfacd.js} +2 -2
  227. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  228. package/dist/esm/{define-property-ec6d528d.js → define-property-fe54dc9f.js} +6 -6
  229. package/dist/esm/{defineProperty-ea516b15.js → defineProperty-f5ff6f5a.js} +1 -1
  230. package/dist/esm/empty-81a1dbdc.js +3 -0
  231. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  232. package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-bc33758b.js} +5 -5
  233. package/dist/esm/{extends-31d65aba.js → extends-60e0e1c6.js} +8 -8
  234. package/dist/esm/faundadb.js +1631 -0
  235. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  236. package/dist/esm/getRelatedArticle.js +11 -9
  237. package/dist/esm/getRootDocGroup.js +6 -6
  238. package/dist/esm/getSerializers.js +25 -25
  239. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-d0d71a56.js} +11 -11
  240. package/dist/esm/getTargeting.js +8 -8
  241. package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
  242. package/dist/esm/{index-f4fe5a50.js → index-20026f92.js} +340 -90
  243. package/dist/esm/{index-ccb770c7.js → index-79cfd25c.js} +4 -4
  244. package/dist/esm/index.js +37 -37
  245. package/dist/esm/{inherits-5906fbea.js → inherits-a41fe93f.js} +20 -20
  246. package/dist/esm/inheritsLoose-8f901617.js +16 -0
  247. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  248. package/dist/esm/{keys-a0b0c7a4.js → keys-7a3adabf.js} +6 -6
  249. package/dist/esm/{lodash-ad27652f.js → lodash-f97fd99a.js} +57 -9
  250. package/dist/esm/{main-1450d277.js → main-b5c5aac1.js} +178 -103
  251. package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-be2f7a22.js} +14 -14
  252. package/dist/esm/stringify-59c8f690.js +15 -0
  253. package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-6d9a4616.js} +9 -9
  254. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  255. package/dist/esm/{typeof-e9cea9e8.js → typeof-a286cf0c.js} +34 -34
  256. package/dist/esm/urlFor.js +1 -1
  257. package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4109ff68.js} +2 -2
  258. package/package.json +111 -108
  259. package/dist/cjs/keys-95c064c9.js +0 -25
  260. package/dist/cjs/stringify-01cf47f7.js +0 -17
  261. package/dist/esm/stringify-d4839bab.js +0 -15
@@ -1,27 +1,28 @@
1
1
  import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
2
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-cdeaee08.js';
2
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
3
3
  import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
4
- import { i as imageUrlBuilder } from './index-3f5c03b2.js';
4
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
5
5
  import { l as lib_3 } from './index-888f9253.js';
6
6
  import Router, { useRouter } from 'next/router';
7
7
  import { g as getYoutubeId } from './index-c7e2ac95.js';
8
8
  import PropTypes from 'prop-types';
9
9
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
10
10
  import { u as util } from './util-3ab476bf.js';
11
+ import { r as require$$0 } from './empty-81a1dbdc.js';
11
12
  import Beam from './Beam.js';
12
13
  import Segment from './Segment.js';
13
- import { d as main_16, b as main_39, m as main_40 } from './main-1450d277.js';
14
- import { B as BlockContent } from './BlockContent-d8cd739c.js';
15
- import { _ as _extends } from './extends-31d65aba.js';
14
+ import { d as main_18, b as main_42, m as main_43 } from './main-b5c5aac1.js';
15
+ import { B as BlockContent } from './BlockContent-52cf21c5.js';
16
+ import { _ as _extends, b as _extends$1 } from './extends-60e0e1c6.js';
16
17
  import { L as LazyLoad } from './index-35bdcc81.js';
17
- import { _ as _typeof$1 } from './typeof-e9cea9e8.js';
18
+ import { _ as _typeof$1 } from './typeof-a286cf0c.js';
18
19
  import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-b43c695a.js';
19
20
  import GroupDeck from './GroupDeck.js';
20
21
  import { m as moment } from './moment-bc12cb97.js';
21
22
  import SocialShare from './SocialShare.js';
22
- import { _ as _export, a as _core } from './_to-object-97770c52.js';
23
- import { _ as _objectToArray } from './_object-to-array-8f409e54.js';
24
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
23
+ import { _ as _export, a as _core } from './_to-object-b50e61c3.js';
24
+ import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
25
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
25
26
  import Pagination from 'react-bootstrap/Pagination';
26
27
  import Button$1 from 'react-bootstrap/Button';
27
28
  import { h as html_decode_1 } from './entities-932b50cf.js';
@@ -29,12 +30,11 @@ import DFPAdSlot from './AdSlot.js';
29
30
  import Row$1 from 'react-bootstrap/Row';
30
31
  import Col$1 from 'react-bootstrap/Col';
31
32
  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 } from './inherits-5906fbea.js';
33
+ 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
34
  import { d as IoIosArrowDropupCircle } from './index.esm-3fdda599.js';
34
35
  import Figure$2 from 'react-bootstrap/Figure';
35
- import ScriptTag from 'react-script-tag';
36
36
 
37
- var urlFor = function urlFor(source, builder) {
37
+ var urlFor$4 = function urlFor(source, builder) {
38
38
  return builder.image(source).auto('format');
39
39
  };
40
40
 
@@ -44,7 +44,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
44
44
  Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
45
45
  };
46
46
 
47
- var Slideshow = function Slideshow(_ref) {
47
+ var Slideshow$1 = function Slideshow(_ref) {
48
48
  var slides = _ref.slides,
49
49
  client = _ref.client,
50
50
  pageview = _ref.pageview;
@@ -85,7 +85,7 @@ var Slideshow = function Slideshow(_ref) {
85
85
  return React.createElement(
86
86
  Carousel.Item,
87
87
  { key: slide._key },
88
- React.createElement('img', { src: slide.asset && urlFor(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
88
+ React.createElement('img', { src: slide.asset && urlFor$4(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
89
89
  slide.caption && React.createElement(
90
90
  'p',
91
91
  { className: 'p-2' },
@@ -901,8 +901,6 @@ var tty = {
901
901
  WriteStream: WriteStream
902
902
  };
903
903
 
904
- var require$$2 = {};
905
-
906
904
  var node = createCommonjsModule(function (module, exports) {
907
905
  /**
908
906
  * Module dependencies.
@@ -1089,14 +1087,14 @@ function createWritableStdioStream (fd) {
1089
1087
  break;
1090
1088
 
1091
1089
  case 'FILE':
1092
- var fs = require$$2;
1090
+ var fs = require$$0;
1093
1091
  stream = new fs.SyncWriteStream(fd, { autoClose: false });
1094
1092
  stream._type = 'fs';
1095
1093
  break;
1096
1094
 
1097
1095
  case 'PIPE':
1098
1096
  case 'TCP':
1099
- var net = require$$2;
1097
+ var net = require$$0;
1100
1098
  stream = new net.Socket({
1101
1099
  fd: fd,
1102
1100
  readable: false,
@@ -1923,8 +1921,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1923
1921
  var duration = player.getDuration();
1924
1922
  var queue = Math.floor(duration / 10);
1925
1923
  var segment = Math.floor(current / queue);
1926
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
1927
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
1924
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
1925
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
1928
1926
  };
1929
1927
 
1930
1928
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -1934,8 +1932,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1934
1932
  var segment = Math.floor(current / queue);
1935
1933
 
1936
1934
  if (!queueProgress.includes(segment)) {
1937
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
1938
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
1935
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
1936
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
1939
1937
  queueProgress.push(segment);
1940
1938
  }
1941
1939
  };
@@ -1948,8 +1946,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1948
1946
  var queue = Math.floor(duration / 10);
1949
1947
  var segment = Math.floor(current / queue);
1950
1948
 
1951
- Beam.report_beam_video('Play', main_16, duration, current, segment);
1952
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
1949
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
1950
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
1953
1951
 
1954
1952
  if (!playReported) {
1955
1953
  setPlayReported(true);
@@ -1968,8 +1966,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1968
1966
  var queue = Math.floor(duration / 10);
1969
1967
  var segment = Math.floor(current / queue);
1970
1968
 
1971
- Beam.report_beam_video('End', main_16, duration, current, segment);
1972
- Segment.report_video_event('Video End', main_16, duration, current, segment);
1969
+ Beam.report_beam_video('End', main_18, duration, current, segment);
1970
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
1973
1971
  setEndReported(true);
1974
1972
  clearInterval(intervalID);
1975
1973
  }
@@ -1982,8 +1980,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1982
1980
  var queue = Math.floor(duration / 10);
1983
1981
  var segment = Math.floor(current / queue);
1984
1982
 
1985
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
1986
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
1983
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
1984
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
1987
1985
  };
1988
1986
 
1989
1987
  return React.createElement(
@@ -2217,8 +2215,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2217
2215
  var duration = player.duration;
2218
2216
  var queue = Math.floor(duration / 10);
2219
2217
  var segment = Math.floor(current / queue);
2220
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'MP4');
2221
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
2218
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'MP4');
2219
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
2222
2220
  };
2223
2221
 
2224
2222
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -2227,8 +2225,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2227
2225
  var queue = Math.floor(duration / 10);
2228
2226
  var segment = Math.floor(current / queue);
2229
2227
  if (!queueProgress.includes(segment)) {
2230
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'MP4');
2231
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
2228
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'MP4');
2229
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
2232
2230
  queueProgress.push(segment);
2233
2231
  }
2234
2232
  };
@@ -2240,8 +2238,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2240
2238
  var duration = player.duration;
2241
2239
  var queue = Math.floor(duration / 10);
2242
2240
  var segment = Math.floor(current / queue);
2243
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'MP4');
2244
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
2241
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'MP4');
2242
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
2245
2243
 
2246
2244
  if (!playReported) {
2247
2245
  event.persist();
@@ -2261,8 +2259,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2261
2259
  var queue = Math.floor(duration / 10);
2262
2260
  var segment = Math.floor(current / queue);
2263
2261
 
2264
- Beam.report_beam_video('End', main_16, duration, current, segment, 'MP4');
2265
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
2262
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'MP4');
2263
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
2266
2264
  setEndReported(true);
2267
2265
  clearInterval(intervalID);
2268
2266
  }
@@ -2274,8 +2272,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2274
2272
  var duration = player.duration - current;
2275
2273
  var queue = Math.floor(duration / 10);
2276
2274
  var segment = Math.floor(current / queue);
2277
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'MP4');
2278
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
2275
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'MP4');
2276
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
2279
2277
  };
2280
2278
 
2281
2279
  return React.createElement(
@@ -2364,8 +2362,8 @@ var Video = function Video(_ref) {
2364
2362
  player.pause();
2365
2363
  }
2366
2364
 
2367
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2368
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2365
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2366
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2369
2367
  });
2370
2368
 
2371
2369
  // play
@@ -2374,8 +2372,8 @@ var Video = function Video(_ref) {
2374
2372
  var current = player.currentTime();
2375
2373
  var queue = Math.floor(duration / 10);
2376
2374
  var segment = Math.floor(current / queue);
2377
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2378
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2375
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2376
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2379
2377
  });
2380
2378
 
2381
2379
  // pause
@@ -2384,8 +2382,8 @@ var Video = function Video(_ref) {
2384
2382
  var current = player.currentTime();
2385
2383
  var queue = Math.floor(duration / 10);
2386
2384
  var segment = Math.floor(current / queue);
2387
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2388
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2385
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2386
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2389
2387
  });
2390
2388
 
2391
2389
  // end
@@ -2394,8 +2392,8 @@ var Video = function Video(_ref) {
2394
2392
  var current = player.currentTime();
2395
2393
  var queue = Math.floor(duration / 10);
2396
2394
  var segment = Math.floor(current / queue);
2397
- Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2398
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2395
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2396
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2399
2397
  autoplayNextVideo(evt);
2400
2398
  });
2401
2399
 
@@ -2406,8 +2404,8 @@ var Video = function Video(_ref) {
2406
2404
  var queue = Math.floor(duration / 10);
2407
2405
  var segment = Math.floor(current / queue);
2408
2406
  if (!queueProgress.includes(segment)) {
2409
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2410
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2407
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2408
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2411
2409
  queueProgress.push(segment);
2412
2410
  }
2413
2411
  });
@@ -2418,8 +2416,8 @@ var Video = function Video(_ref) {
2418
2416
  var id = player.ads.ad.id;
2419
2417
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2420
2418
 
2421
- Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
2422
- Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2419
+ Beam.report_beam_ad('AD Started', main_18, '', '', '', '', '', adType, duration, id);
2420
+ Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2423
2421
  });
2424
2422
 
2425
2423
  // ad ended
@@ -2427,8 +2425,8 @@ var Video = function Video(_ref) {
2427
2425
  var duration = player.ads.ad.duration;
2428
2426
  var id = player.ads.ad.id;
2429
2427
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2430
- Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
2431
- Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2428
+ Beam.report_beam_ad('AD Ended', main_18, '', '', '', '', '', adType, duration, id);
2429
+ Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2432
2430
  });
2433
2431
  };
2434
2432
 
@@ -7280,8 +7278,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7280
7278
  var duration = player.getDuration();
7281
7279
  var queue = Math.floor(duration / 10);
7282
7280
  var segment = Math.floor(current / queue);
7283
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
7284
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
7281
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
7282
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
7285
7283
  //autoplay
7286
7284
 
7287
7285
  //Small pause before starting next video
@@ -7301,8 +7299,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7301
7299
  var queue = Math.floor(duration / 10);
7302
7300
  var segment = Math.floor(current / queue);
7303
7301
 
7304
- Beam.report_beam_video('End', main_16, duration, current, segment);
7305
- Segment.report_video_event('Video End', main_16, duration, current, segment);
7302
+ Beam.report_beam_video('End', main_18, duration, current, segment);
7303
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
7306
7304
  setEndReported(true);
7307
7305
  clearInterval(intervalID);
7308
7306
  }
@@ -7352,8 +7350,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7352
7350
  var queue = Math.floor(duration / 10);
7353
7351
  var segment = Math.floor(current / queue);
7354
7352
  if (!queueProgress.includes(segment)) {
7355
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
7356
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
7353
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
7354
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
7357
7355
  queueProgress.push(segment);
7358
7356
  }
7359
7357
  };
@@ -7366,8 +7364,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7366
7364
  var queue = Math.floor(duration / 10);
7367
7365
  var segment = Math.floor(current / queue);
7368
7366
 
7369
- Beam.report_beam_video('Play', main_16, duration, current, segment);
7370
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
7367
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
7368
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
7371
7369
 
7372
7370
  if (!playReported) {
7373
7371
  setPlayReported(true);
@@ -7385,8 +7383,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7385
7383
  var queue = Math.floor(duration / 10);
7386
7384
  var segment = Math.floor(current / queue);
7387
7385
 
7388
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
7389
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
7386
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
7387
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
7390
7388
  };
7391
7389
 
7392
7390
  // Youtube Options
@@ -7514,7 +7512,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7514
7512
  );
7515
7513
  };
7516
7514
 
7517
- var Poll = function Poll(_ref) {
7515
+ var Poll$1 = function Poll(_ref) {
7518
7516
  var node = _ref.node;
7519
7517
  _ref.client;
7520
7518
  _ref.pageview;
@@ -7655,15 +7653,15 @@ _export(_export.S, 'Object', {
7655
7653
  }
7656
7654
  });
7657
7655
 
7658
- var values = _core.Object.values;
7656
+ var values$1 = _core.Object.values;
7659
7657
 
7660
- var values$1 = createCommonjsModule(function (module) {
7661
- module.exports = { "default": values, __esModule: true };
7658
+ var values = createCommonjsModule(function (module) {
7659
+ module.exports = { "default": values$1, __esModule: true };
7662
7660
  });
7663
7661
 
7664
- var _Object$values = unwrapExports(values$1);
7662
+ var _Object$values = unwrapExports(values);
7665
7663
 
7666
- var Poll$1 = function Poll(_ref) {
7664
+ var Poll = function Poll(_ref) {
7667
7665
  var node = _ref.node;
7668
7666
  _ref.client;
7669
7667
  _ref.pageview;
@@ -7822,7 +7820,7 @@ var Poll$1 = function Poll(_ref) {
7822
7820
  );
7823
7821
  };
7824
7822
 
7825
- var numberOfPaginations = main_39 ? 4 : 10;
7823
+ var numberOfPaginations = main_42 ? 4 : 10;
7826
7824
 
7827
7825
  var Quiz = function Quiz(_ref) {
7828
7826
  var quizzes = _ref.quizzes,
@@ -7942,7 +7940,7 @@ var Quiz = function Quiz(_ref) {
7942
7940
  var renderPagination = function renderPagination() {
7943
7941
  return React.createElement(
7944
7942
  Pagination,
7945
- { className: 'p-0 m-0', size: main_39 && 'sm' },
7943
+ { className: 'p-0 m-0', size: main_42 && 'sm' },
7946
7944
  React.createElement(Pagination.First, { onClick: function onClick() {
7947
7945
  return changePage('first');
7948
7946
  }, disabled: currentPage === 1 }),
@@ -8112,12 +8110,12 @@ var Leads = function Leads(_ref) {
8112
8110
  );
8113
8111
  };
8114
8112
 
8115
- var urlFor$1 = function urlFor(source, client) {
8113
+ var urlFor$3 = function urlFor(source, client) {
8116
8114
  var builder = imageUrlBuilder(client);
8117
8115
  return builder.image(source).auto('format');
8118
8116
  };
8119
8117
 
8120
- var Slideshow$1 = function Slideshow(_ref) {
8118
+ var Slideshow = function Slideshow(_ref) {
8121
8119
  var slides = _ref.node.slides,
8122
8120
  client = _ref.client,
8123
8121
  pageview = _ref.pageview,
@@ -8173,7 +8171,7 @@ var Slideshow$1 = function Slideshow(_ref) {
8173
8171
  React.createElement(
8174
8172
  LazyLoad,
8175
8173
  null,
8176
- React.createElement('img', { src: urlFor$1(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8174
+ React.createElement('img', { src: urlFor$3(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8177
8175
  )
8178
8176
  ),
8179
8177
  React.createElement(
@@ -8642,7 +8640,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8642
8640
  //console.log('useLayoutEffect')
8643
8641
  if (!firstLoad) {
8644
8642
  setUpArrowClicked(false);
8645
- if (main_40) {
8643
+ if (main_43) {
8646
8644
  grabLoadedAds();
8647
8645
  } else {
8648
8646
  scrollToArticle();
@@ -8666,7 +8664,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8666
8664
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8667
8665
  if (pageview) pageview(path);
8668
8666
 
8669
- if (!main_40) {
8667
+ if (!main_43) {
8670
8668
  lib_3.getGoogletag().then(function (googletag) {
8671
8669
  if (window.googletag && googletag.pubadsReady) {
8672
8670
  lib_3.refresh();
@@ -8674,7 +8672,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8674
8672
  });
8675
8673
  }
8676
8674
  //Refresh leaderboard ad on mobile
8677
- if (main_40) {
8675
+ if (main_43) {
8678
8676
  var leaderboardSlotId = '';
8679
8677
  lib_3.getGoogletag().then(function (googletag) {
8680
8678
  if (window.googletag && googletag.pubadsReady) {
@@ -8743,7 +8741,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8743
8741
  React.createElement(
8744
8742
  'div',
8745
8743
  { className: 'ad-box', style: { textAlign: 'center' } },
8746
- main_40 && Ads.map(function (ad, index) {
8744
+ main_43 && Ads.map(function (ad, index) {
8747
8745
  if (index === 0) {
8748
8746
  return React.createElement(
8749
8747
  'div',
@@ -8865,7 +8863,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8865
8863
  React.createElement(
8866
8864
  'div',
8867
8865
  { className: 'ad-box', style: { textAlign: 'center' } },
8868
- main_40 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8866
+ main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8869
8867
  if (innerIndex === 0) {
8870
8868
  return React.createElement(
8871
8869
  'div',
@@ -8932,7 +8930,7 @@ var LightBox = function LightBox(_ref) {
8932
8930
  );
8933
8931
  };
8934
8932
 
8935
- var urlFor$3 = function urlFor(source, client) {
8933
+ var urlFor$1 = function urlFor(source, client) {
8936
8934
  var builder = imageUrlBuilder(client);
8937
8935
  return builder.image(source).auto('format');
8938
8936
  };
@@ -9045,7 +9043,7 @@ var FigureComponent = function FigureComponent(props) {
9045
9043
  link ? React.createElement(
9046
9044
  'a',
9047
9045
  { target: blank ? '_blank' : '_self', href: link },
9048
- React.createElement(Figure$2.Image, { style: { maxWidth: '100%' }, className: 'figure-image', src: urlFor$3(node, client).url(), alt: alt && alt }),
9046
+ React.createElement(Figure$2.Image, { style: { maxWidth: '100%' }, className: 'figure-image', src: urlFor$1(node, client).url(), alt: alt && alt }),
9049
9047
  React.createElement(FigureCaption, null)
9050
9048
  ) : React.createElement(
9051
9049
  React.Fragment,
@@ -9053,10 +9051,10 @@ var FigureComponent = function FigureComponent(props) {
9053
9051
  React.createElement(Figure$2.Image, {
9054
9052
  style: { maxWidth: '100%', cursor: 'pointer', width: 'auto' },
9055
9053
  className: 'figure-image',
9056
- src: urlFor$3(node, client).url(),
9054
+ src: urlFor$1(node, client).url(),
9057
9055
  alt: alt && alt,
9058
9056
  onClick: function onClick() {
9059
- setLightboxImgSrc(urlFor$3(node, client).url());
9057
+ setLightboxImgSrc(urlFor$1(node, client).url());
9060
9058
  setShowLightbox(true);
9061
9059
  }
9062
9060
  }),
@@ -9081,7 +9079,7 @@ var FigureComponent = function FigureComponent(props) {
9081
9079
 
9082
9080
  var Figure = React.memo(FigureComponent, compareProps);
9083
9081
 
9084
- var urlFor$4 = function urlFor(source, client) {
9082
+ var urlFor = function urlFor(source, client) {
9085
9083
  var builder = imageUrlBuilder(client);
9086
9084
  return builder.image(source).auto('format');
9087
9085
  };
@@ -9155,7 +9153,7 @@ var MultiFigure = function MultiFigure(props) {
9155
9153
  React.createElement(
9156
9154
  LazyLoad,
9157
9155
  { once: true },
9158
- React.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor$4(image.asset, client).url(), alt: image.alt })
9156
+ React.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor(image.asset, client).url(), alt: image.alt })
9159
9157
  ),
9160
9158
  React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9161
9159
  )
@@ -9168,10 +9166,10 @@ var MultiFigure = function MultiFigure(props) {
9168
9166
  React.createElement('img', {
9169
9167
  'images-count': images.length,
9170
9168
  className: 'multi-figure-image',
9171
- src: urlFor$4(image.asset, client).url(),
9169
+ src: urlFor(image.asset, client).url(),
9172
9170
  alt: image.alt,
9173
9171
  onClick: function onClick() {
9174
- setOpenImgSrc(urlFor$4(image, client).url());
9172
+ setOpenImgSrc(urlFor(image, client).url());
9175
9173
  setOpenImg(true);
9176
9174
  }
9177
9175
  })
@@ -9215,6 +9213,258 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
9215
9213
  );
9216
9214
  };
9217
9215
 
9216
+ var objectWithoutProperties = createCommonjsModule(function (module, exports) {
9217
+
9218
+ exports.__esModule = true;
9219
+
9220
+ exports.default = function (obj, keys) {
9221
+ var target = {};
9222
+
9223
+ for (var i in obj) {
9224
+ if (keys.indexOf(i) >= 0) continue;
9225
+ if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
9226
+ target[i] = obj[i];
9227
+ }
9228
+
9229
+ return target;
9230
+ };
9231
+ });
9232
+
9233
+ unwrapExports(objectWithoutProperties);
9234
+
9235
+ var ScriptTag_1 = createCommonjsModule(function (module, exports) {
9236
+
9237
+ exports.__esModule = true;
9238
+
9239
+
9240
+
9241
+ var _extends3 = _interopRequireDefault(_extends$1);
9242
+
9243
+
9244
+
9245
+ var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
9246
+
9247
+
9248
+
9249
+ var _classCallCheck3 = _interopRequireDefault(classCallCheck);
9250
+
9251
+
9252
+
9253
+ var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
9254
+
9255
+
9256
+
9257
+ var _inherits3 = _interopRequireDefault(inherits);
9258
+
9259
+
9260
+
9261
+ var _react2 = _interopRequireDefault(React);
9262
+
9263
+
9264
+
9265
+ var _propTypes2 = _interopRequireDefault(PropTypes);
9266
+
9267
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9268
+ var noop = function noop() {};
9269
+
9270
+ var ScriptTag = function (_Component) {
9271
+ (0, _inherits3.default)(ScriptTag, _Component);
9272
+
9273
+ ScriptTag.removeNode = function removeNode(node) {
9274
+ if (node) {
9275
+ node.parentNode.removeChild(node);
9276
+ }
9277
+ };
9278
+
9279
+ function ScriptTag(props, context) {
9280
+ (0, _classCallCheck3.default)(this, ScriptTag);
9281
+
9282
+ var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
9283
+
9284
+ _this.domRef = null;
9285
+ _this.state = {
9286
+ isHydrated: props.isHydrating,
9287
+ additionalNode: null,
9288
+ removeAdditionalNode: null
9289
+ };
9290
+ return _this;
9291
+ }
9292
+
9293
+ ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
9294
+ var _props = this.props,
9295
+ onError = _props.onError,
9296
+ onLoad = _props.onLoad,
9297
+ nonce = _props.nonce;
9298
+
9299
+ // Create a new HTML script element
9300
+
9301
+ var newElement = document.createElement("script");
9302
+
9303
+ // Copy all attribute values
9304
+ for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
9305
+ var attr = this.domRef.attributes[i];
9306
+ if (attr.nodeName === 'nonce') {
9307
+ // The browser clears the nonce value - grab from props
9308
+ newElement.setAttribute(attr.nodeName, nonce);
9309
+ } else {
9310
+ newElement.setAttribute(attr.nodeName, attr.nodeValue);
9311
+ }
9312
+ }
9313
+
9314
+ // Copy the inner script
9315
+ if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
9316
+ newElement.innerHTML = this.domRef.innerHTML;
9317
+ }
9318
+
9319
+ // Bind event listeners
9320
+ newElement.addEventListener('load', onLoad);
9321
+ newElement.addEventListener('error', onError);
9322
+
9323
+ // Append the new script tag
9324
+ this.domRef.parentNode.appendChild(newElement);
9325
+ return newElement;
9326
+ };
9327
+
9328
+ ScriptTag.prototype.componentDidMount = function componentDidMount() {
9329
+ var isHydrated = this.state.isHydrated;
9330
+
9331
+ if (isHydrated) {
9332
+ // was rendered on server, don't replace elements when hydrating
9333
+ return;
9334
+ }
9335
+
9336
+ this.setState({
9337
+ additionalNode: this.appendAdditionalElement(),
9338
+ removeAdditionalNode: null
9339
+ });
9340
+ };
9341
+
9342
+ ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
9343
+ // This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
9344
+ // - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
9345
+
9346
+ // This isn't perfect - but it keeps the component very simple, and should cover most use-cases
9347
+ // Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
9348
+ // -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
9349
+ // and state management will need to be modified to manipulate the DOM script tag based on each prop change.
9350
+ // This really complicates the component - for now we'll leave it as is.
9351
+ var _props2 = this.props,
9352
+ src = _props2.src,
9353
+ dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
9354
+
9355
+ if (src && src === nextProps.src) {
9356
+ // The 'src' attribute has not changed
9357
+ return;
9358
+ }
9359
+
9360
+ if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
9361
+ // The 'dangerouslySetInnerHTML' attribute has not changed
9362
+ return;
9363
+ }
9364
+
9365
+ this.setState({
9366
+ removeAdditionalNode: this.state.additionalNode,
9367
+ additionalNode: null
9368
+ });
9369
+ };
9370
+
9371
+ ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
9372
+ ScriptTag.removeNode(nextState.removeAdditionalNode);
9373
+ };
9374
+
9375
+ ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
9376
+ var _state = this.state,
9377
+ additionalNode = _state.additionalNode,
9378
+ removeAdditionalNode = _state.removeAdditionalNode;
9379
+
9380
+ if (additionalNode === null) {
9381
+ this.setState({
9382
+ additionalNode: this.appendAdditionalElement()
9383
+ });
9384
+ }
9385
+
9386
+ if (removeAdditionalNode !== null) {
9387
+ // Was removed in 'componentWillUpdate', but can not update state there
9388
+ this.setState({
9389
+ removeAdditionalNode: null
9390
+ });
9391
+ }
9392
+ };
9393
+
9394
+ ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
9395
+ ScriptTag.removeNode(this.state.removeAdditionalNode);
9396
+ ScriptTag.removeNode(this.state.additionalNode);
9397
+ };
9398
+
9399
+ ScriptTag.prototype.render = function render() {
9400
+ var _this2 = this;
9401
+
9402
+ var additionalNode = this.state.additionalNode;
9403
+
9404
+ if (additionalNode !== null) {
9405
+ return null;
9406
+ }
9407
+
9408
+ // The 'isHydrating' prop must NOT be passed to the script tag
9409
+ // eslint-disable-next-line no-unused-vars
9410
+ var _props3 = this.props;
9411
+ _props3.isHydrating;
9412
+ var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9413
+
9414
+ return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
9415
+ return _this2.domRef = tag;
9416
+ } }));
9417
+ };
9418
+
9419
+ return ScriptTag;
9420
+ }(React.Component);
9421
+
9422
+ ScriptTag.propTypes = {
9423
+ /**
9424
+ * True if the <ScriptTag> is being hydrated on the client, otherwise false.
9425
+ */
9426
+ isHydrating: _propTypes2.default.bool,
9427
+
9428
+ // Standard <script> tag props
9429
+ async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
9430
+ crossOrigin: _propTypes2.default.string,
9431
+ defer: _propTypes2.default.bool,
9432
+ integrity: _propTypes2.default.string,
9433
+ nonce: _propTypes2.default.string,
9434
+ src: _propTypes2.default.string,
9435
+ text: _propTypes2.default.string,
9436
+ type: _propTypes2.default.string,
9437
+ dangerouslySetInnerHTML: _propTypes2.default.object,
9438
+
9439
+ // globals
9440
+ onError: _propTypes2.default.func,
9441
+ onLoad: _propTypes2.default.func
9442
+ };
9443
+ ScriptTag.defaultProps = {
9444
+ isHydrating: false,
9445
+ onError: noop,
9446
+ onLoad: noop
9447
+ };
9448
+ exports.default = ScriptTag;
9449
+ });
9450
+
9451
+ unwrapExports(ScriptTag_1);
9452
+
9453
+ var lib = createCommonjsModule(function (module, exports) {
9454
+
9455
+ exports.__esModule = true;
9456
+
9457
+
9458
+
9459
+ var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
9460
+
9461
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9462
+
9463
+ exports.default = _ScriptTag2.default;
9464
+ });
9465
+
9466
+ var ScriptTag = unwrapExports(lib);
9467
+
9218
9468
  var enterpriseDomainName = 'mjhlifesciences';
9219
9469
 
9220
9470
  var FormAssembly = function FormAssembly(_ref) {
@@ -9417,7 +9667,7 @@ var getSerializers = function getSerializers() {
9417
9667
  var node = _ref6.node;
9418
9668
  var slides = node.slides;
9419
9669
 
9420
- return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
9670
+ return React.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
9421
9671
  },
9422
9672
  sidebar: function sidebar(_ref7) {
9423
9673
  var node = _ref7.node;
@@ -9455,12 +9705,12 @@ var getSerializers = function getSerializers() {
9455
9705
  poll: function poll(_ref13) {
9456
9706
  var node = _ref13.node;
9457
9707
 
9458
- return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9708
+ return React.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9459
9709
  },
9460
9710
  pollMultiChoice: function pollMultiChoice(_ref14) {
9461
9711
  var node = _ref14.node;
9462
9712
 
9463
- return React.createElement(Poll$1, {
9713
+ return React.createElement(Poll, {
9464
9714
  node: node,
9465
9715
  client: client,
9466
9716
  pageview: pageview,
@@ -9486,7 +9736,7 @@ var getSerializers = function getSerializers() {
9486
9736
  slideshows: function slideshows(_ref17) {
9487
9737
  var node = _ref17.node;
9488
9738
 
9489
- return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9739
+ return React.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9490
9740
  },
9491
9741
  nativeAd: function nativeAd(_ref18) {
9492
9742
  var node = _ref18.node;