@mjhls/mjh-framework 1.0.790-filter-test → 1.0.790

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