@mjhls/mjh-framework 1.0.962 → 1.0.963-audio-autoplay-v2

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 (244) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +3 -3
  4. package/dist/cjs/AD300x250x600.js +3 -3
  5. package/dist/cjs/AD728x90.js +3 -3
  6. package/dist/cjs/ADFloatingFooter.js +3 -3
  7. package/dist/cjs/ADGutter.js +3 -3
  8. package/dist/cjs/ADSkyscraper.js +3 -3
  9. package/dist/cjs/ADSponsoredResources.js +3 -3
  10. package/dist/cjs/ADWebcast.js +3 -3
  11. package/dist/cjs/ADWelcome.js +3 -3
  12. package/dist/cjs/AdSlot.js +3 -3
  13. package/dist/cjs/AdSlotsProvider.js +2 -1
  14. package/dist/cjs/AlgoliaSearch.js +14282 -20
  15. package/dist/cjs/AlphabeticList.js +1 -2
  16. package/dist/cjs/ArticleCarousel.js +2 -3
  17. package/dist/cjs/ArticleProgramLandingPage.js +8 -8
  18. package/dist/cjs/ArticleSeriesLandingPage.js +6 -6
  19. package/dist/cjs/ArticleSeriesListing.js +4 -4
  20. package/dist/cjs/Auth.js +4 -5
  21. package/dist/cjs/AuthWrapper.js +1469 -293
  22. package/dist/cjs/Beam.js +0 -2
  23. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-9ebd251f.js} +1 -1
  24. package/dist/cjs/CMEDeck.js +2 -1
  25. package/dist/cjs/Column2.js +0 -2
  26. package/dist/cjs/Column3.js +3 -3
  27. package/dist/cjs/ConferenceArticleCard.js +1 -1
  28. package/dist/cjs/ContentCardPaginated.js +7 -8
  29. package/dist/cjs/DeckContent.js +6 -6
  30. package/dist/cjs/DeckQueue.js +5 -5
  31. package/dist/cjs/DeckQueuePaginated.js +6 -7
  32. package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +2 -1
  33. package/dist/cjs/EventsDeck.js +1 -2
  34. package/dist/cjs/ExternalResources.js +8 -8
  35. package/dist/cjs/Feature.js +1 -1
  36. package/dist/cjs/ForbesHero.js +1 -1
  37. package/dist/cjs/GridContent.js +8 -8
  38. package/dist/cjs/GridContentPaginated.js +9 -10
  39. package/dist/cjs/GridHero.js +2 -2
  40. package/dist/cjs/GroupDeck.js +1 -1
  41. package/dist/cjs/HamMagazine.js +0 -2
  42. package/dist/cjs/Hero.js +2 -2
  43. package/dist/cjs/HorizontalArticleListing.js +8 -8
  44. package/dist/cjs/HorizontalHero.js +1 -1
  45. package/dist/cjs/ImageSlider-6c00b878.js +2813 -0
  46. package/dist/cjs/IssueContentDeck.js +1 -1
  47. package/dist/cjs/IssueDeck.js +2 -3
  48. package/dist/cjs/IssueLanding.js +10 -10
  49. package/dist/cjs/LeftNav.js +3 -3
  50. package/dist/cjs/MasterDeck.js +6 -6
  51. package/dist/cjs/MasterDeckPaginated.js +6 -7
  52. package/dist/cjs/{MediaSeriesCard-a14d2b07.js → MediaSeriesCard-b9374a2e.js} +393 -390
  53. package/dist/cjs/MediaSeriesLanding.js +13 -12
  54. package/dist/cjs/MediaSeriesLandingPaginated.js +14 -14
  55. package/dist/cjs/NavDvm.js +0 -2
  56. package/dist/cjs/NavMagazine.js +0 -2
  57. package/dist/cjs/NavNative.js +0 -2
  58. package/dist/cjs/OncliveHero.js +1 -1
  59. package/dist/cjs/OncliveLargeHero.js +2 -2
  60. package/dist/cjs/Pagination-30bb1ca1.js +97 -0
  61. package/dist/cjs/PartnerDetailListing.js +14 -14
  62. package/dist/cjs/PartnerDetailListingPaginated.js +15 -16
  63. package/dist/cjs/PubSection.js +7 -7
  64. package/dist/cjs/PublicationDeck.js +1 -1
  65. package/dist/cjs/PublicationLanding.js +5 -2
  66. package/dist/cjs/QueueDeckExpanded.js +7 -7
  67. package/dist/cjs/QueueDeckExpandedPaginated.js +8 -9
  68. package/dist/cjs/RelatedContent.js +1 -1
  69. package/dist/cjs/Schema.js +2 -3
  70. package/dist/cjs/Segment.js +1 -3
  71. package/dist/cjs/SeriesListingDeck.js +5 -5
  72. package/dist/cjs/SideFooter.js +0 -2
  73. package/dist/cjs/TaxonomyCard.js +3 -4
  74. package/dist/cjs/TaxonomyDescription.js +10 -10
  75. package/dist/cjs/TemplateNormal.js +3 -3
  76. package/dist/cjs/ThumbnailCard.js +2 -2
  77. package/dist/cjs/VerticalHero.js +1 -1
  78. package/dist/cjs/VideoProgramLandingPage.js +8 -8
  79. package/dist/cjs/VideoSeriesCard.js +1 -1
  80. package/dist/cjs/VideoSeriesLandingPage.js +6 -6
  81. package/dist/cjs/VideoSeriesListing.js +4 -4
  82. package/dist/cjs/View.js +39 -33
  83. package/dist/cjs/YahooHero.js +2 -2
  84. package/dist/cjs/YoutubeGroup.js +1 -1
  85. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  86. package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
  87. package/dist/cjs/events-1b438fe7.js +469 -0
  88. package/dist/cjs/{assign-a0df1a53.js → extends-7c86182f.js} +29 -1
  89. package/dist/cjs/getRelatedArticle.js +2 -2
  90. package/dist/cjs/getSerializers.js +8 -8
  91. package/dist/cjs/{getTargeting-77bb50ae.js → getTargeting-dab97fe1.js} +1 -1
  92. package/dist/cjs/getTargeting.js +2 -3
  93. package/dist/cjs/index-50be6759.js +105 -0
  94. package/dist/cjs/{index-8eaa4218.js → index-55f09340.js} +12 -10
  95. package/dist/cjs/{index-efca863c.js → index-d48b231c.js} +5 -5
  96. package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
  97. package/dist/cjs/index.js +17 -17
  98. package/dist/cjs/typeof-1358762e.js +33 -0
  99. package/dist/cjs/urlFor.js +1 -1
  100. package/dist/cjs/{util-6f784d85.js → util-93a37fd0.js} +11 -0
  101. package/dist/esm/AD.js +1 -1
  102. package/dist/esm/AD300x250.js +9 -9
  103. package/dist/esm/AD300x250x600.js +9 -9
  104. package/dist/esm/AD728x90.js +9 -9
  105. package/dist/esm/ADFloatingFooter.js +9 -9
  106. package/dist/esm/ADFooter.js +3 -3
  107. package/dist/esm/ADGutter.js +9 -9
  108. package/dist/esm/{ADInfeed-7f8f87ef.js → ADInfeed-6d1fc6bf.js} +1 -1
  109. package/dist/esm/ADSkyscraper.js +9 -9
  110. package/dist/esm/ADSponsoredResources.js +9 -9
  111. package/dist/esm/ADWebcast.js +9 -9
  112. package/dist/esm/ADWelcome.js +9 -9
  113. package/dist/esm/{ADlgInfeed-9c8fd92d.js → ADlgInfeed-dc36c928.js} +1 -1
  114. package/dist/esm/AccordionPanel.js +3 -3
  115. package/dist/esm/AdSlot.js +9 -9
  116. package/dist/esm/AdSlotsProvider.js +7 -6
  117. package/dist/esm/AlgoliaSearch.js +14281 -19
  118. package/dist/esm/AlphabeticList.js +6 -7
  119. package/dist/esm/ArticleCarousel.js +5 -6
  120. package/dist/esm/ArticleProgramLandingPage.js +22 -22
  121. package/dist/esm/ArticleSeriesLandingPage.js +18 -18
  122. package/dist/esm/ArticleSeriesListing.js +12 -12
  123. package/dist/esm/Auth.js +11 -12
  124. package/dist/esm/AuthWrapper.js +1466 -290
  125. package/dist/esm/{AuthorComponent-5af8db6e.js → AuthorComponent-11adff02.js} +1 -1
  126. package/dist/esm/Beam.js +5 -7
  127. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-1e73bd2c.js} +1 -1
  128. package/dist/esm/Breadcrumbs.js +3 -3
  129. package/dist/esm/CMEDeck.js +9 -8
  130. package/dist/esm/Column2.js +6 -8
  131. package/dist/esm/Column3.js +11 -11
  132. package/dist/esm/ConferenceArticleCard.js +4 -4
  133. package/dist/esm/ContentCardPaginated.js +19 -20
  134. package/dist/esm/DeckContent.js +18 -18
  135. package/dist/esm/DeckQueue.js +15 -15
  136. package/dist/esm/DeckQueuePaginated.js +17 -18
  137. package/dist/esm/{Dfp-ac9a746b.js → Dfp-102f0beb.js} +5 -4
  138. package/dist/esm/EventsDeck.js +10 -11
  139. package/dist/esm/ExternalResources.js +22 -22
  140. package/dist/esm/Feature.js +4 -4
  141. package/dist/esm/ForbesHero.js +5 -5
  142. package/dist/esm/GridContent.js +21 -21
  143. package/dist/esm/GridContentPaginated.js +22 -23
  144. package/dist/esm/GridHero.js +6 -6
  145. package/dist/esm/GroupDeck.js +6 -6
  146. package/dist/esm/HamMagazine.js +6 -8
  147. package/dist/esm/Hero.js +5 -5
  148. package/dist/esm/HorizontalArticleListing.js +22 -22
  149. package/dist/esm/HorizontalHero.js +4 -4
  150. package/dist/esm/ImageSlider-f84174cb.js +2804 -0
  151. package/dist/esm/IssueContentDeck.js +5 -5
  152. package/dist/esm/IssueDeck.js +7 -8
  153. package/dist/esm/IssueLanding.js +25 -25
  154. package/dist/esm/LeftNav.js +9 -9
  155. package/dist/esm/MasterDeck.js +18 -18
  156. package/dist/esm/MasterDeckPaginated.js +18 -19
  157. package/dist/esm/{MediaSeriesCard-6e03db36.js → MediaSeriesCard-a4026c80.js} +109 -106
  158. package/dist/esm/MediaSeriesLanding.js +27 -26
  159. package/dist/esm/MediaSeriesLandingPaginated.js +28 -28
  160. package/dist/esm/NavDvm.js +5 -7
  161. package/dist/esm/NavMagazine.js +6 -8
  162. package/dist/esm/NavNative.js +5 -7
  163. package/dist/esm/OncliveHero.js +4 -4
  164. package/dist/esm/OncliveLargeHero.js +6 -6
  165. package/dist/esm/PageFilter.js +3 -3
  166. package/dist/esm/Pagination-194dd03f.js +90 -0
  167. package/dist/esm/PartnerDetailListing.js +28 -28
  168. package/dist/esm/PartnerDetailListingPaginated.js +29 -30
  169. package/dist/esm/PopUpModal.js +3 -3
  170. package/dist/esm/PubSection.js +15 -15
  171. package/dist/esm/PubToc.js +5 -5
  172. package/dist/esm/PublicationDeck.js +4 -4
  173. package/dist/esm/PublicationLanding.js +13 -10
  174. package/dist/esm/QueueDeckExpanded.js +15 -15
  175. package/dist/esm/QueueDeckExpandedPaginated.js +16 -17
  176. package/dist/esm/RelatedContent.js +4 -4
  177. package/dist/esm/Schema.js +8 -9
  178. package/dist/esm/Search.js +3 -3
  179. package/dist/esm/Segment.js +5 -7
  180. package/dist/esm/SeriesListingDeck.js +10 -10
  181. package/dist/esm/{SeriesSlider-b1a525f3.js → SeriesSlider-e495571f.js} +1 -1
  182. package/dist/esm/SideFooter.js +6 -8
  183. package/dist/esm/{SocialSearchComponent-4b8197b5.js → SocialSearchComponent-4b56cd8c.js} +1 -1
  184. package/dist/esm/TaxonomyCard.js +6 -7
  185. package/dist/esm/TaxonomyDescription.js +23 -23
  186. package/dist/esm/TemplateNormal.js +12 -12
  187. package/dist/esm/ThumbnailCard.js +5 -5
  188. package/dist/esm/Ustream.js +6 -6
  189. package/dist/esm/VerticalHero.js +4 -4
  190. package/dist/esm/VideoProgramLandingPage.js +22 -22
  191. package/dist/esm/VideoSeriesCard.js +6 -6
  192. package/dist/esm/VideoSeriesFilter.js +5 -5
  193. package/dist/esm/VideoSeriesLandingPage.js +18 -18
  194. package/dist/esm/VideoSeriesListing.js +12 -12
  195. package/dist/esm/View.js +53 -46
  196. package/dist/esm/YahooHero.js +6 -6
  197. package/dist/esm/YoutubeGroup.js +4 -4
  198. package/dist/esm/{_is-array-4968274f.js → _is-array-8d21b9e3.js} +1 -1
  199. package/dist/esm/{_iter-detect-3c388a81.js → _iter-detect-98db3b07.js} +1 -1
  200. package/dist/esm/{_object-sap-fafe46a7.js → _object-sap-7cee6f84.js} +1 -1
  201. package/dist/esm/{_object-to-array-574037a4.js → _object-to-array-2300e51b.js} +1 -1
  202. package/dist/esm/{asyncToGenerator-652d13cf.js → asyncToGenerator-958ef5fc.js} +3 -3
  203. package/dist/esm/{core.get-iterator-method-7d6dfa32.js → core.get-iterator-method-ea258bb1.js} +1 -1
  204. package/dist/esm/{define-property-61d2acee.js → define-property-5f1bda73.js} +1 -1
  205. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  206. package/dist/esm/{defineProperty-fe6edc24.js → defineProperty-8c30428f.js} +1 -1
  207. package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
  208. package/dist/esm/events-6c3a7a63.js +467 -0
  209. package/dist/esm/{assign-e335597a.js → extends-6d8e3924.js} +30 -3
  210. package/dist/esm/faundadb.js +4 -4
  211. package/dist/esm/getRelatedArticle.js +7 -7
  212. package/dist/esm/getRootDocGroup.js +4 -4
  213. package/dist/esm/getSerializers.js +22 -22
  214. package/dist/esm/{getTargeting-effef60f.js → getTargeting-04d979c9.js} +2 -2
  215. package/dist/esm/getTargeting.js +5 -6
  216. package/dist/esm/{index-0dbff1d1.js → index-3f5c03b2.js} +5 -5
  217. package/dist/esm/index-98ca9cec.js +100 -0
  218. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  219. package/dist/esm/{index-b3e3e7a2.js → index-fca291be.js} +21 -19
  220. package/dist/esm/index.js +35 -35
  221. package/dist/esm/{inherits-50d71c3d.js → inherits-a6ba2ec4.js} +4 -4
  222. package/dist/esm/{keys-ac99b36a.js → keys-31dcdb31.js} +2 -2
  223. package/dist/esm/{slicedToArray-61f99c84.js → slicedToArray-6ebcbfea.js} +2 -2
  224. package/dist/esm/{stringify-9121a4fa.js → stringify-2b084bee.js} +1 -1
  225. package/dist/esm/{toConsumableArray-71eb6345.js → toConsumableArray-f7074d7c.js} +2 -2
  226. package/dist/esm/typeof-2f07d0e8.js +30 -0
  227. package/dist/esm/{typeof-a03c352b.js → typeof-e9fc0c5d.js} +3 -3
  228. package/dist/esm/urlFor.js +4 -4
  229. package/dist/esm/{urlForFile-e0818feb.js → urlForFile-b69adffc.js} +1 -1
  230. package/dist/esm/{ustream-api-4ef22459.js → ustream-api-d3714624.js} +4 -4
  231. package/dist/esm/{util-3ab476bf.js → util-8ed16d48.js} +11 -0
  232. package/dist/esm/{web.dom.iterable-19f19f44.js → web.dom.iterable-ab4dea5c.js} +1 -1
  233. package/package.json +1 -1
  234. package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
  235. package/dist/cjs/Pagination-c63770a3.js +0 -90
  236. package/dist/cjs/extends-8ea081c8.js +0 -34
  237. package/dist/esm/ImageSlider-61b3f696.js +0 -176
  238. package/dist/esm/Pagination-6f8d5327.js +0 -82
  239. package/dist/esm/extends-333e03ff.js +0 -31
  240. /package/dist/cjs/{ADInfeed-763edfdd.js → ADInfeed-81006615.js} +0 -0
  241. /package/dist/cjs/{ADlgInfeed-c96dda5a.js → ADlgInfeed-0db07099.js} +0 -0
  242. /package/dist/cjs/{PublicationFeature-be5f3503.js → PublicationFeature-5ccf9b13.js} +0 -0
  243. /package/dist/cjs/{SeriesSlider-b94f1dd5.js → SeriesSlider-74546d19.js} +0 -0
  244. /package/dist/esm/{PublicationFeature-9afc6911.js → PublicationFeature-d88e76b9.js} +0 -0
@@ -1,40 +1,40 @@
1
- import { _ as _extends, a as _extends$1 } from './extends-333e03ff.js';
1
+ import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
2
2
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
3
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-61f99c84.js';
3
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
4
4
  import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
5
5
  import urlFor from './urlFor.js';
6
- import { l as lib_3 } from './index-5cc7b406.js';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import Router, { useRouter } from 'next/router';
8
8
  import { g as getYoutubeId } from './index-c7e2ac95.js';
9
9
  import PropTypes from 'prop-types';
10
10
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
11
- import { u as util } from './util-3ab476bf.js';
11
+ import { u as util } from './util-8ed16d48.js';
12
12
  import './Beam.js';
13
13
  import Segment from './Segment.js';
14
14
  import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
15
- import { B as BlockContent } from './BlockContent-c99c9a8d.js';
16
- import { u as urlForFile } from './urlForFile-e0818feb.js';
15
+ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
+ import { u as urlForFile } from './urlForFile-b69adffc.js';
17
17
  import { L as LazyLoad } from './index-755f2cc2.js';
18
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-652d13cf.js';
19
- import { _ as _typeof$1 } from './typeof-a03c352b.js';
18
+ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
19
+ import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
20
20
  import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
21
- import { _ as _JSON$stringify } from './stringify-9121a4fa.js';
21
+ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
22
22
  import Modal from 'react-bootstrap/Modal';
23
23
  import Button from 'react-bootstrap/Button';
24
24
  import Form from 'react-bootstrap/Form';
25
25
  import GroupDeck from './GroupDeck.js';
26
26
  import { m as moment } from './moment-bc12cb97.js';
27
27
  import SocialShare from './SocialShare.js';
28
- import { _ as _export, a as _core } from './core.get-iterator-method-7d6dfa32.js';
29
- import { _ as _objectToArray } from './_object-to-array-574037a4.js';
30
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-71eb6345.js';
28
+ import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
29
+ import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
30
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
31
31
  import Pagination from 'react-bootstrap/Pagination';
32
- import { h as html_decode_1 } from './entities-932b50cf.js';
32
+ import { h as html_decode_1 } from './entities-6d9154b4.js';
33
33
  import DFPAdSlot from './AdSlot.js';
34
34
  import Row$1 from 'react-bootstrap/Row';
35
35
  import Col$1 from 'react-bootstrap/Col';
36
36
  import Head from 'next/head';
37
- 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-50d71c3d.js';
37
+ 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-a6ba2ec4.js';
38
38
  import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
39
39
  import Figure$2 from 'react-bootstrap/Figure';
40
40
  import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
@@ -7483,7 +7483,9 @@ _defineProperty(ReactPlayer, "canEnablePIP", function (url) {
7483
7483
  var ReactPlayer = unwrapExports(ReactPlayer_1);
7484
7484
 
7485
7485
  var Audio = function Audio(_ref) {
7486
- var node = _ref.node;
7486
+ var node = _ref.node,
7487
+ _ref$audioAutoplay = _ref.audioAutoplay,
7488
+ audioAutoplay = _ref$audioAutoplay === undefined ? false : _ref$audioAutoplay;
7487
7489
 
7488
7490
  if (node.uploadAudio) {
7489
7491
  return React__default.createElement(
@@ -7491,7 +7493,7 @@ var Audio = function Audio(_ref) {
7491
7493
  { className: 'audio d-block text-center mb-3' },
7492
7494
  React__default.createElement(
7493
7495
  'audio',
7494
- { controls: true, controlsList: 'nodownload', className: 'audio' },
7496
+ { controls: true, controlsList: 'nodownload', className: 'audio', autoPlay: audioAutoplay },
7495
7497
  React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
7496
7498
  React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
7497
7499
  'Your browser does not support the audio element.'
@@ -10344,11 +10346,11 @@ var getSerializers = function getSerializers() {
10344
10346
  article = props[12],
10345
10347
  meta = props[13],
10346
10348
  authorPrefix = props[14],
10347
- authorImgHeight = props[15];
10349
+ authorImgHeight = props[15],
10350
+ audioAutoplay = props[16];
10348
10351
 
10349
10352
 
10350
10353
  var nextVideo = article && article.nextVideo ? article.nextVideo : null;
10351
-
10352
10354
  return {
10353
10355
  types: {
10354
10356
  undefined: function undefined$1() {
@@ -10441,7 +10443,7 @@ var getSerializers = function getSerializers() {
10441
10443
  audio: function audio(_ref12) {
10442
10444
  var node = _ref12.node;
10443
10445
 
10444
- return React__default.createElement(Audio, { node: node });
10446
+ return React__default.createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
10445
10447
  },
10446
10448
  poll: function poll(_ref13) {
10447
10449
  var node = _ref13.node;
package/dist/esm/index.js CHANGED
@@ -71,10 +71,10 @@ export { default as ArticleCarousel } from './ArticleCarousel.js';
71
71
  export { default as TaxonomyDescription } from './TaxonomyDescription.js';
72
72
  export { default as PubToc } from './PubToc.js';
73
73
  export { default as PubSection } from './PubSection.js';
74
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-652d13cf.js';
75
- import { _ as _JSON$stringify } from './stringify-9121a4fa.js';
76
- import { _ as _extends } from './extends-333e03ff.js';
77
- import { _ as _slicedToArray } from './slicedToArray-61f99c84.js';
74
+ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
75
+ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
76
+ import { _ as _extends } from './extends-6d8e3924.js';
77
+ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
78
78
  import PropTypes from 'prop-types';
79
79
  import { m as momentTimezone } from './index-79cfd25c.js';
80
80
  import ProgressBar from 'react-bootstrap/ProgressBar';
@@ -86,7 +86,7 @@ export { default as VerticalHero } from './VerticalHero.js';
86
86
  export { default as YahooHero } from './YahooHero.js';
87
87
  export { default as GridHero } from './GridHero.js';
88
88
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
89
- export { g as getSerializers } from './index-b3e3e7a2.js';
89
+ export { g as getSerializers } from './index-fca291be.js';
90
90
  export { default as Beam } from './Beam.js';
91
91
  export { default as Segment } from './Segment.js';
92
92
  export { default as KMTracker } from './KMTracker.js';
@@ -101,22 +101,23 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
101
101
  export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
102
102
  export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
103
103
  export { default as Schema } from './Schema.js';
104
- export { g as getTargeting } from './getTargeting-effef60f.js';
104
+ export { g as getTargeting } from './getTargeting-04d979c9.js';
105
105
  export { default as getKeywords } from './getKeywords.js';
106
106
  export { default as getQuery } from './getQuery.js';
107
- import './toConsumableArray-71eb6345.js';
107
+ import './toConsumableArray-f7074d7c.js';
108
108
  import './_commonjsHelpers-0c4b6f40.js';
109
- import './core.get-iterator-method-7d6dfa32.js';
110
- import './_iter-detect-3c388a81.js';
111
- import './inherits-50d71c3d.js';
112
- import './_object-sap-fafe46a7.js';
113
- import './define-property-61d2acee.js';
114
- import './typeof-a03c352b.js';
115
- import './web.dom.iterable-19f19f44.js';
116
- import './_is-array-4968274f.js';
109
+ import './core.get-iterator-method-ea258bb1.js';
110
+ import './_iter-detect-98db3b07.js';
111
+ import './inherits-a6ba2ec4.js';
112
+ import './_object-sap-7cee6f84.js';
113
+ import './define-property-5f1bda73.js';
114
+ import './typeof-e9fc0c5d.js';
115
+ import './web.dom.iterable-ab4dea5c.js';
116
+ import './_is-array-8d21b9e3.js';
117
117
  import './_object-pie-133f504a.js';
118
118
  import './_library-528f1934.js';
119
- import './index-5cc7b406.js';
119
+ import './index-f0fc23eb.js';
120
+ import './events-6c3a7a63.js';
120
121
  import 'react-bootstrap/Container';
121
122
  import 'react-bootstrap/Card';
122
123
  import './moment-bc12cb97.js';
@@ -128,19 +129,19 @@ import './index.es-a6137319.js';
128
129
  import './visibility-sensor-72fd8f8b.js';
129
130
  import 'react-dom';
130
131
  import './main-1894c974.js';
131
- import './entities-932b50cf.js';
132
- import './ADInfeed-7f8f87ef.js';
132
+ import './entities-6d9154b4.js';
133
+ import './ADInfeed-6d1fc6bf.js';
133
134
  import './lodash-f97fd99a.js';
134
- import './ADlgInfeed-9c8fd92d.js';
135
+ import './ADlgInfeed-dc36c928.js';
135
136
  import './getContentCategory-15dcc413.js';
136
137
  import './get-3c308da4.js';
137
138
  import './eq-bdcbf886.js';
138
- import './AuthorComponent-5af8db6e.js';
139
- import './PublicationFeature-9afc6911.js';
139
+ import './AuthorComponent-11adff02.js';
140
+ import './PublicationFeature-d88e76b9.js';
140
141
  import 'react-bootstrap/Button';
141
142
  import 'react-bootstrap/Media';
142
- import './BlockContent-c99c9a8d.js';
143
- import './index-0dbff1d1.js';
143
+ import './BlockContent-1e73bd2c.js';
144
+ import './index-3f5c03b2.js';
144
145
  import './react-social-icons-9be47857.js';
145
146
  import './index-c7e2ac95.js';
146
147
  import './smoothscroll-fa4e3f8c.js';
@@ -148,12 +149,13 @@ import 'react-bootstrap';
148
149
  import './timeDifferenceCalc.js';
149
150
  import './index.esm-eb1e8e80.js';
150
151
  import './iconBase-ccc56b97.js';
151
- import './defineProperty-fe6edc24.js';
152
- import './_object-to-array-574037a4.js';
152
+ import './defineProperty-8c30428f.js';
153
+ import './_object-to-array-2300e51b.js';
153
154
  import 'react-bootstrap/Spinner';
154
155
  import 'react-bootstrap/Form';
155
156
  import './js.cookie-6874175c.js';
156
- import 'react-instantsearch-dom';
157
+ import './typeof-2f07d0e8.js';
158
+ import './index-98ca9cec.js';
157
159
  import './ConferenceBanner-8792ebd2.js';
158
160
  import 'next/head';
159
161
  import 'react-bootstrap/ListGroup';
@@ -166,20 +168,19 @@ import 'react-bootstrap/NavDropdown';
166
168
  import './index.esm-9b042655.js';
167
169
  import './NavFooter-e27bd93b.js';
168
170
  import './index.esm-37268dca.js';
169
- import './SocialSearchComponent-4b8197b5.js';
171
+ import './SocialSearchComponent-4b56cd8c.js';
170
172
  import 'react-bootstrap/FormControl';
171
173
  import 'react-ga';
172
174
  import 'react-bootstrap/Carousel';
173
175
  import 'react-bootstrap/Breadcrumb';
174
- import './keys-ac99b36a.js';
176
+ import './keys-31dcdb31.js';
175
177
  import 'react-bootstrap/DropdownButton';
176
178
  import 'react-bootstrap/Dropdown';
177
179
  import './index.esm-1bd8a0a8.js';
178
180
  import './brightcove-react-player-loader.es-57a70a56.js';
179
- import './urlForFile-e0818feb.js';
181
+ import './urlForFile-b69adffc.js';
180
182
  import 'react-bootstrap/Modal';
181
- import './assign-e335597a.js';
182
- import './util-3ab476bf.js';
183
+ import './util-8ed16d48.js';
183
184
  import 'react-bootstrap/Pagination';
184
185
  import 'react-bootstrap/Figure';
185
186
  import 'react-bootstrap/OverlayTrigger';
@@ -190,13 +191,12 @@ import 'swr';
190
191
  import 'passport-local';
191
192
  import 'mysql';
192
193
  import './md5-4e42248e.js';
193
- import './SeriesSlider-b1a525f3.js';
194
+ import './SeriesSlider-e495571f.js';
194
195
  import './style-inject.es-1f59c1d0.js';
195
196
  import 'disqus-react';
196
- import 'file-saver';
197
197
  import 'react-twitter-embed';
198
- import 'react-facebook';
199
- import './ImageSlider-61b3f696.js';
198
+ import './ImageSlider-f84174cb.js';
199
+ import './defineProperty-23a8f8cd.js';
200
200
  import './VideoSeriesCard.js';
201
201
 
202
202
  //Feature query to be used
@@ -1,8 +1,8 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { t as _objectGpo, i as _toObject, a as _core, d as _ctx, u as _anObject, b as _isObject, _ as _export, c as _objectCreate } from './core.get-iterator-method-7d6dfa32.js';
3
- import { _ as _objectSap } from './_object-sap-fafe46a7.js';
4
- import { d as defineProperty } from './define-property-61d2acee.js';
5
- import { a as _typeof_1, b as _objectGopd } from './typeof-a03c352b.js';
2
+ import { u as _objectGpo, i as _toObject, a as _core, e as _ctx, v as _anObject, b as _isObject, _ as _export, d as _objectCreate } from './core.get-iterator-method-ea258bb1.js';
3
+ import { _ as _objectSap } from './_object-sap-7cee6f84.js';
4
+ import { d as defineProperty } from './define-property-5f1bda73.js';
5
+ import { a as _typeof_1, b as _objectGopd } from './typeof-e9fc0c5d.js';
6
6
 
7
7
  // 19.1.2.9 Object.getPrototypeOf(O)
8
8
 
@@ -1,6 +1,6 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { v as _objectKeys, i as _toObject, a as _core } from './core.get-iterator-method-7d6dfa32.js';
3
- import { _ as _objectSap } from './_object-sap-fafe46a7.js';
2
+ import { t as _objectKeys, i as _toObject, a as _core } from './core.get-iterator-method-ea258bb1.js';
3
+ import { _ as _objectSap } from './_object-sap-7cee6f84.js';
4
4
 
5
5
  // 19.1.2.14 Object.keys(O)
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import './web.dom.iterable-19f19f44.js';
3
- import { h as _wks, a as _core, F as _iterators, p as _classof, s as core_getIteratorMethod, u as _anObject } from './core.get-iterator-method-7d6dfa32.js';
2
+ import './web.dom.iterable-ab4dea5c.js';
3
+ import { h as _wks, a as _core, F as _iterators, p as _classof, s as core_getIteratorMethod, v as _anObject } from './core.get-iterator-method-ea258bb1.js';
4
4
 
5
5
  var ITERATOR = _wks('iterator');
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import { a as _core } from './core.get-iterator-method-7d6dfa32.js';
2
+ import { a as _core } from './core.get-iterator-method-ea258bb1.js';
3
3
 
4
4
  var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
5
5
  var stringify$1 = function stringify(it) { // eslint-disable-line no-unused-vars
@@ -1,6 +1,6 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { g as _objectDp, r as _propertyDesc, _ as _export, i as _toObject, s as core_getIteratorMethod, d as _ctx, k as _toLength, a as _core } from './core.get-iterator-method-7d6dfa32.js';
3
- import { _ as _iterDetect, a as _isArrayIter, b as _iterCall } from './_iter-detect-3c388a81.js';
2
+ import { c as _objectDp, r as _propertyDesc, _ as _export, i as _toObject, s as core_getIteratorMethod, e as _ctx, k as _toLength, a as _core } from './core.get-iterator-method-ea258bb1.js';
3
+ import { _ as _iterDetect, a as _isArrayIter, b as _iterCall } from './_iter-detect-98db3b07.js';
4
4
 
5
5
  var _createProperty = function (object, index, value) {
6
6
  if (index in object) _objectDp.f(object, index, _propertyDesc(0, value));
@@ -0,0 +1,30 @@
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+
3
+ var _typeof_1 = createCommonjsModule(function (module) {
4
+ function _typeof(obj) {
5
+ "@babel/helpers - typeof";
6
+
7
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
8
+ module.exports = _typeof = function _typeof(obj) {
9
+ return typeof obj;
10
+ };
11
+
12
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
13
+ } else {
14
+ module.exports = _typeof = function _typeof(obj) {
15
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
16
+ };
17
+
18
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
19
+ }
20
+
21
+ return _typeof(obj);
22
+ }
23
+
24
+ module.exports = _typeof;
25
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
26
+ });
27
+
28
+ var _typeof = unwrapExports(_typeof_1);
29
+
30
+ export { _typeof as _, _typeof_1 as a };
@@ -1,7 +1,7 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { h as _wks, a as _core, g as _objectDp, v as _objectKeys, w as _objectKeysInternal, x as _enumBugKeys, y as _toIobject, e as _descriptors, z as _toPrimitive, A as _ie8DomDefine, B as _has, r as _propertyDesc, l as _global, C as _shared, m as _fails, D as _uid, E as _redefine, _ as _export, n as _hide, o as _setToStringTag, c as _objectCreate, u as _anObject, i as _toObject, b as _isObject } from './core.get-iterator-method-7d6dfa32.js';
3
- import './web.dom.iterable-19f19f44.js';
4
- import { _ as _meta, a as _isArray } from './_is-array-4968274f.js';
2
+ import { h as _wks, c as _objectDp, a as _core, t as _objectKeys, w as _enumBugKeys, x as _objectKeysInternal, y as _toIobject, f as _descriptors, z as _toPrimitive, A as _ie8DomDefine, B as _has, r as _propertyDesc, l as _global, C as _shared, m as _fails, D as _uid, E as _redefine, _ as _export, n as _hide, o as _setToStringTag, d as _objectCreate, v as _anObject, i as _toObject, b as _isObject } from './core.get-iterator-method-ea258bb1.js';
3
+ import './web.dom.iterable-ab4dea5c.js';
4
+ import { _ as _meta, a as _isArray } from './_is-array-8d21b9e3.js';
5
5
  import { _ as _objectGops, a as _objectPie } from './_object-pie-133f504a.js';
6
6
  import { _ as _library } from './_library-528f1934.js';
7
7
 
@@ -1,8 +1,8 @@
1
- import { _ as _slicedToArray } from './slicedToArray-61f99c84.js';
2
- import { i as imageUrlBuilder } from './index-0dbff1d1.js';
1
+ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
+ import { i as imageUrlBuilder } from './index-3f5c03b2.js';
3
3
  import './_commonjsHelpers-0c4b6f40.js';
4
- import './web.dom.iterable-19f19f44.js';
5
- import './core.get-iterator-method-7d6dfa32.js';
4
+ import './web.dom.iterable-ab4dea5c.js';
5
+ import './core.get-iterator-method-ea258bb1.js';
6
6
 
7
7
  // Sanity image auto formating
8
8
 
@@ -1,4 +1,4 @@
1
- import { _ as _slicedToArray } from './slicedToArray-61f99c84.js';
1
+ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
2
 
3
3
  var urlForFile = function urlForFile(_ref) {
4
4
  var _ref$asset = _ref.asset,
@@ -1,8 +1,8 @@
1
- import { _ as _JSON$stringify } from './stringify-9121a4fa.js';
2
- import { _ as _Object$keys } from './keys-ac99b36a.js';
1
+ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
2
+ import { _ as _Object$keys } from './keys-31dcdb31.js';
3
3
  import './_commonjsHelpers-0c4b6f40.js';
4
- import './core.get-iterator-method-7d6dfa32.js';
5
- import './_object-sap-fafe46a7.js';
4
+ import './core.get-iterator-method-ea258bb1.js';
5
+ import './_object-sap-7cee6f84.js';
6
6
 
7
7
  var UstreamEmbed = function () {
8
8
  function a(a) {
@@ -1,3 +1,14 @@
1
+ // shim for using process in browser
2
+
3
+ // from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
4
+ var performance = global.performance || {};
5
+ performance.now ||
6
+ performance.mozNow ||
7
+ performance.msNow ||
8
+ performance.oNow ||
9
+ performance.webkitNow ||
10
+ function(){ return (new Date()).getTime() };
11
+
1
12
  var inherits;
2
13
  if (typeof Object.create === 'function'){
3
14
  inherits = function inherits(ctor, superCtor) {
@@ -1,4 +1,4 @@
1
- import { f as _iterDefine, F as _iterators, y as _toIobject, h as _wks, l as _global, n as _hide } from './core.get-iterator-method-7d6dfa32.js';
1
+ import { g as _iterDefine, F as _iterators, y as _toIobject, h as _wks, l as _global, n as _hide } from './core.get-iterator-method-ea258bb1.js';
2
2
 
3
3
  var _iterStep = function (done, value) {
4
4
  return { value: value, done: !!done };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.962",
3
+ "version": "1.0.963-audio-autoplay-v2",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",
@@ -1,182 +0,0 @@
1
- 'use strict';
2
-
3
- var slicedToArray = require('./slicedToArray-067dd3bc.js');
4
- var React = require('react');
5
- var smoothscroll = require('./smoothscroll-99df7f93.js');
6
- var urlFor = require('./urlFor.js');
7
-
8
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
-
10
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
-
12
- var ImageSlider = function ImageSlider(props) {
13
- var innerSlider = React.useRef(null);
14
- var tile = React.useRef(null);
15
- var viewableWindow = React.useRef(null);
16
-
17
- var _useState = React.useState(0),
18
- _useState2 = slicedToArray._slicedToArray(_useState, 2),
19
- tileSize = _useState2[0],
20
- setTileSize = _useState2[1];
21
-
22
- var _useState3 = React.useState(false),
23
- _useState4 = slicedToArray._slicedToArray(_useState3, 2),
24
- showScroller = _useState4[0],
25
- setShowScroller = _useState4[1];
26
-
27
- var _useState5 = React.useState(0),
28
- _useState6 = slicedToArray._slicedToArray(_useState5, 2),
29
- scrollPosition = _useState6[0],
30
- setScrollPosition = _useState6[1];
31
-
32
- var client = props.client;
33
-
34
-
35
- function scrollSlider(e, direction) {
36
- var slide = e.target.parentElement;
37
- var scrollOffset = scrollPosition;
38
- var viewableWidth = slide.clientWidth;
39
- //calculate viewable size / slide
40
- var numberOfSlidesToScroll = Math.floor(tile.current.clientWidth + 25); //width of the tile plus margin
41
- var scrollDirection = void 0;
42
- if (direction === 'next') {
43
- scrollDirection = scrollOffset + numberOfSlidesToScroll;
44
- if (scrollOffset + viewableWidth + 25 >= innerSlider.current.offsetWidth) {
45
- scrollDirection = 0;
46
- }
47
- }
48
- if (direction === 'prev') {
49
- scrollDirection = scrollOffset - numberOfSlidesToScroll;
50
- if (scrollOffset === 0) {
51
- if (window.innerWidth > 1399) {
52
- scrollDirection = innerSlider.current.offsetWidth - tileSize * 3 - 70;
53
- }
54
- if (window.innerWidth < 1399 && window.innerWidth > 592) {
55
- scrollDirection = innerSlider.current.offsetWidth - tileSize * 2 - 40;
56
- }
57
- if (window.innerWidth < 592) {
58
- scrollDirection = innerSlider.current.offsetWidth - tileSize * 1 - 24;
59
- }
60
- }
61
- }
62
- slide.scrollTo({
63
- left: scrollDirection,
64
- behavior: 'smooth'
65
- });
66
- setScrollPosition(scrollDirection);
67
- }
68
- var setThumbSize = function setThumbSize() {
69
- var thumbSize = void 0;
70
- var scrollerVisible = false;
71
- if (window.innerWidth > 1399) {
72
- if (props.data.slides && props.data.slides.length < 3) {
73
- thumbSize = Math.floor(viewableWindow.current.clientWidth / 2 - 40);
74
- } else {
75
- thumbSize = Math.floor(viewableWindow.current.clientWidth / 3 - 40);
76
- }
77
- if (props.data.slides.length > 3) {
78
- scrollerVisible = true;
79
- }
80
- }
81
- if (window.innerWidth < 1399 && window.innerWidth > 592) {
82
- thumbSize = Math.floor(viewableWindow.current.clientWidth / 2 - 48);
83
- if (props.data.slides.length > 2) {
84
- scrollerVisible = true;
85
- }
86
- }
87
- if (window.innerWidth < 592) {
88
- thumbSize = Math.floor(viewableWindow.current.clientWidth / 1 - 64);
89
- if (props.data.slides.length > 1) {
90
- scrollerVisible = true;
91
- }
92
- }
93
- if (thumbSize !== tileSize) {
94
- setTileSize(thumbSize);
95
- setScrollPosition(0);
96
- setShowScroller(scrollerVisible);
97
- var videoRows = document.querySelectorAll('#vid-slider .row');
98
- for (var i = 0; i < videoRows.length; i++) {
99
- videoRows[i].scrollTo({
100
- left: 0,
101
- behavior: 'smooth'
102
- });
103
- }
104
- }
105
- };
106
- React.useEffect(function () {
107
- //IE11 Polyfill
108
- smoothscroll.smoothscroll.polyfill();
109
- setThumbSize();
110
-
111
- window.addEventListener('resize', setThumbSize);
112
-
113
- return function () {
114
- return window.removeEventListener('resize', setThumbSize);
115
- };
116
- }, []);
117
-
118
- var variant = 'black';
119
- return React__default['default'].createElement(
120
- React__default['default'].Fragment,
121
- null,
122
- React__default['default'].createElement(
123
- 'div',
124
- { ref: viewableWindow, id: 'vid-slider', className: 'col' },
125
- React__default['default'].createElement(
126
- 'div',
127
- { className: 'row' },
128
- showScroller && React__default['default'].createElement(
129
- 'div',
130
- { onClick: function onClick(e) {
131
- return scrollSlider(e, 'prev');
132
- }, className: 'tile__slider-prev', style: { color: variant } },
133
- React__default['default'].createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
134
- ),
135
- showScroller && React__default['default'].createElement(
136
- 'div',
137
- { onClick: function onClick(e) {
138
- return scrollSlider(e, 'next');
139
- }, className: 'tile__slider-next', style: { color: variant } },
140
- React__default['default'].createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
141
- ),
142
- React__default['default'].createElement(
143
- 'div',
144
- { ref: innerSlider, className: 'row__inner' },
145
- props.data.slides.map(function (img, index) {
146
- var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
147
- if (!img.slideshowImage.link) {
148
- return React__default['default'].createElement(
149
- 'div',
150
- { ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
151
- React__default['default'].createElement(
152
- 'div',
153
- { className: 'tile__media' },
154
- React__default['default'].createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px', maxHeight: '160px' } })
155
- ),
156
- React__default['default'].createElement('div', { style: { color: variant }, className: 'tile__info' })
157
- );
158
- } else {
159
- return React__default['default'].createElement(
160
- 'a',
161
- { ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
162
- React__default['default'].createElement(
163
- 'div',
164
- { className: 'tile__media' },
165
- React__default['default'].createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px', maxHeight: '160px' } })
166
- ),
167
- React__default['default'].createElement('div', { style: { color: variant }, className: 'tile__info' })
168
- );
169
- }
170
- })
171
- )
172
- ),
173
- React__default['default'].createElement(
174
- 'style',
175
- { jsx: 'true' },
176
- '\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 1.5rem;\n margin-bottom: 0 !important;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider,\n #vidHolder {\n max-width: 775px;\n margin: 0 auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider a:hover {\n color: #7f8c8d;\n text-decoration: underline;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: scroll;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin: 25px 0 70px !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n margin: 0 12px;\n font-size: 20px;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n \n #vid-slider .tile:first-child {\n margin-left: 15px;\n }\n #vid-slider .tile__img {\n height: auto;\n -o-object-fit: contain;\n object-fit: contain;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n \n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n \n #vid-slider .tile__title {\n position: absolute;\n bottom: 0;\n padding: 10px;\n max-width: 250px;\n }\n #vid-slider .tile__title_text {\n position: relative;\n left: 0;\n white-space: normal;\n }\n \n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: .5rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: .5rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n }\n \n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (min-width: 1399px) {\n .block-content #vid-slider .tile__img {\n height: auto;\n }\n .block-content #vid-slider .tile {\n height: auto;\n }\n }\n \n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n max-width: 620px;\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n max-width: 580px;\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 60px 0 50px !important;\n }\n }\n \n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n }\n @media screen and (max-width: 568px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 30px 0 70px;\n }\n }\n '
177
- )
178
- )
179
- );
180
- };
181
-
182
- exports.ImageSlider = ImageSlider;