@mjhls/mjh-framework 1.0.994-CypressV3 → 1.0.994-invalidelement-v1

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 (225) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +6 -6
  3. package/dist/cjs/AD300x250.js +5 -5
  4. package/dist/cjs/AD300x250x600.js +5 -5
  5. package/dist/cjs/AD728x90.js +6 -6
  6. package/dist/cjs/ADFloatingFooter.js +8 -8
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +8 -8
  9. package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-f316b66a.js} +5 -5
  10. package/dist/cjs/ADSkyscraper.js +8 -8
  11. package/dist/cjs/ADSponsoredResources.js +8 -8
  12. package/dist/cjs/ADWebcast.js +8 -8
  13. package/dist/cjs/ADWelcome.js +12 -12
  14. package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-2003306e.js} +3 -3
  15. package/dist/cjs/AccordionPanel.js +17 -17
  16. package/dist/cjs/AdSlot.js +9 -9
  17. package/dist/cjs/AdSlotsProvider.js +7 -8
  18. package/dist/cjs/AlgoliaSearch.js +1214 -1129
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +16 -16
  22. package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
  23. package/dist/cjs/ArticleSeriesListing.js +29 -29
  24. package/dist/cjs/Auth.js +23075 -242
  25. package/dist/cjs/AuthWrapper.js +120 -30
  26. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
  27. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
  28. package/dist/cjs/Breadcrumbs.js +17 -17
  29. package/dist/cjs/CMEDeck.js +61 -61
  30. package/dist/cjs/Column1.js +7 -7
  31. package/dist/cjs/Column2.js +15 -15
  32. package/dist/cjs/Column3.js +27 -27
  33. package/dist/cjs/ConferenceArticleCard.js +27 -27
  34. package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
  35. package/dist/cjs/ContentCardPaginated.js +49 -49
  36. package/dist/cjs/DeckContent.js +66 -66
  37. package/dist/cjs/DeckQueue.js +57 -57
  38. package/dist/cjs/DeckQueuePaginated.js +46 -46
  39. package/dist/cjs/{Dfp-9be904d5.js → Dfp-c313a700.js} +17 -17
  40. package/dist/cjs/EventsDeck.js +107 -107
  41. package/dist/cjs/ExternalResources.js +36 -36
  42. package/dist/cjs/Feature.js +17 -17
  43. package/dist/cjs/ForbesHero.js +25 -25
  44. package/dist/cjs/GridContent.js +134 -134
  45. package/dist/cjs/GridContentPaginated.js +121 -121
  46. package/dist/cjs/GridHero.js +26 -26
  47. package/dist/cjs/GroupDeck.js +33 -33
  48. package/dist/cjs/HamMagazine.js +130 -130
  49. package/dist/cjs/Header.js +9 -9
  50. package/dist/cjs/HealthCareProfessionalModal.js +18 -18
  51. package/dist/cjs/Hero.js +5 -5
  52. package/dist/cjs/HighlightenVideo.js +13 -13
  53. package/dist/cjs/HorizontalArticleListing.js +30 -30
  54. package/dist/cjs/HorizontalHero.js +17 -17
  55. package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-ca708da8.js} +1315 -176
  56. package/dist/cjs/IssueContentDeck.js +49 -49
  57. package/dist/cjs/IssueDeck.js +48 -48
  58. package/dist/cjs/IssueLanding.js +50 -50
  59. package/dist/cjs/KMTracker.js +15 -15
  60. package/dist/cjs/LeftNav.js +17 -17
  61. package/dist/cjs/MasterDeck.js +47 -47
  62. package/dist/cjs/MasterDeckPaginated.js +37 -37
  63. package/dist/cjs/{Tooltip-f075b7ef.js → MediaSeriesCard-f6db8f70.js} +678 -531
  64. package/dist/cjs/MediaSeriesLanding.js +56 -57
  65. package/dist/cjs/MediaSeriesLandingPaginated.js +54 -55
  66. package/dist/cjs/NavDvm.js +57 -57
  67. package/dist/cjs/{NavFooter-4799de4b.js → NavFooter-880e9d87.js} +11 -11
  68. package/dist/cjs/NavMagazine.js +116 -116
  69. package/dist/cjs/NavNative.js +106 -106
  70. package/dist/cjs/OncliveHero.js +11 -11
  71. package/dist/cjs/OncliveLargeHero.js +49 -49
  72. package/dist/cjs/PageFilter.js +5 -5
  73. package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
  74. package/dist/cjs/PartnerDetailListing.js +52 -53
  75. package/dist/cjs/PartnerDetailListingPaginated.js +50 -73
  76. package/dist/cjs/PdfDownload.js +4 -4
  77. package/dist/cjs/PixelTracking.js +9 -9
  78. package/dist/cjs/PopUpModal.js +9 -9
  79. package/dist/cjs/PtceDeck.js +13 -13
  80. package/dist/cjs/PubSection.js +13 -13
  81. package/dist/cjs/PubToc.js +4 -4
  82. package/dist/cjs/PublicationDeck.js +44 -44
  83. package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
  84. package/dist/cjs/PublicationLanding.js +99 -99
  85. package/dist/cjs/QueueDeckExpanded.js +245 -245
  86. package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
  87. package/dist/cjs/RecentNews.js +15 -15
  88. package/dist/cjs/RelatedContent.js +42 -42
  89. package/dist/cjs/RelatedTopicsDropdown.js +24 -24
  90. package/dist/cjs/RolesDeck.js +20 -20
  91. package/dist/cjs/Schema.js +55 -52
  92. package/dist/cjs/Search.js +6 -6
  93. package/dist/cjs/SeriesListingDeck.js +18 -18
  94. package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-f5248377.js} +26 -26
  95. package/dist/cjs/SideFooter.js +20 -20
  96. package/dist/cjs/SocialIcons.js +6 -6
  97. package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-ca9c0c45.js} +28 -28
  98. package/dist/cjs/SocialShare.js +25 -25
  99. package/dist/cjs/TaxonomyCard.js +44 -44
  100. package/dist/cjs/TaxonomyDescription.js +13 -13
  101. package/dist/cjs/TemplateNormal.js +27 -27
  102. package/dist/cjs/ThumbnailCard.js +10 -10
  103. package/dist/cjs/Ustream.js +9 -9
  104. package/dist/cjs/VerticalHero.js +10 -10
  105. package/dist/cjs/VideoProgramLandingPage.js +30 -30
  106. package/dist/cjs/VideoSeriesCard.js +14 -14
  107. package/dist/cjs/VideoSeriesFilter.js +5 -5
  108. package/dist/cjs/VideoSeriesLandingPage.js +11 -11
  109. package/dist/cjs/VideoSeriesListing.js +46 -46
  110. package/dist/cjs/View.js +261 -274
  111. package/dist/cjs/YahooHero.js +22 -22
  112. package/dist/cjs/YoutubeGroup.js +37 -37
  113. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
  114. package/dist/cjs/defineProperty-ad65f5f0.js +110 -0
  115. package/dist/{esm/util-8ed16d48.js → cjs/empty-559717f3.js} +146 -1
  116. package/dist/cjs/getQuery.js +1 -1
  117. package/dist/cjs/getSerializers.js +8 -8
  118. package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
  119. package/dist/cjs/getTargeting.js +1 -1
  120. package/dist/cjs/iconBase-be4097c0.js +2 -4
  121. package/dist/cjs/index-0cf4c9fc.js +904 -0
  122. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  123. package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
  124. package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
  125. package/dist/cjs/{index-f95a3c0f.js → index-b10d6863.js} +495 -511
  126. package/dist/cjs/{index-fc2f1ca2.js → index-d2a6ef75.js} +4 -4
  127. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  128. package/dist/cjs/{index.esm-1461604c.js → index.esm-f59ef5b4.js} +14 -14
  129. package/dist/cjs/index.js +106 -111
  130. package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
  131. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  132. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  133. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
  134. package/dist/esm/AD300x250.js +1 -1
  135. package/dist/esm/AD300x250x600.js +1 -1
  136. package/dist/esm/AD728x90.js +1 -1
  137. package/dist/esm/ADFloatingFooter.js +1 -1
  138. package/dist/esm/ADGutter.js +1 -1
  139. package/dist/esm/ADSkyscraper.js +1 -1
  140. package/dist/esm/ADSponsoredResources.js +1 -1
  141. package/dist/esm/ADWebcast.js +1 -1
  142. package/dist/esm/ADWelcome.js +1 -1
  143. package/dist/esm/AdSlot.js +1 -1
  144. package/dist/esm/AdSlotsProvider.js +3 -3
  145. package/dist/esm/AlgoliaSearch.js +643 -558
  146. package/dist/esm/ArticleCarousel.js +1 -1
  147. package/dist/esm/ArticleProgramLandingPage.js +4 -4
  148. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  149. package/dist/esm/ArticleSeriesListing.js +1 -1
  150. package/dist/esm/Auth.js +22999 -163
  151. package/dist/esm/AuthWrapper.js +93 -3
  152. package/dist/esm/CMEDeck.js +1 -1
  153. package/dist/esm/Column3.js +1 -1
  154. package/dist/esm/ConferenceArticleCard.js +15 -15
  155. package/dist/esm/ContentCardPaginated.js +3 -3
  156. package/dist/esm/DeckContent.js +10 -10
  157. package/dist/esm/DeckQueue.js +1 -1
  158. package/dist/esm/DeckQueuePaginated.js +2 -2
  159. package/dist/esm/EventsDeck.js +19 -19
  160. package/dist/esm/ExternalResources.js +5 -5
  161. package/dist/esm/Feature.js +1 -1
  162. package/dist/esm/GridContent.js +3 -3
  163. package/dist/esm/GridContentPaginated.js +4 -4
  164. package/dist/esm/HamMagazine.js +29 -29
  165. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  166. package/dist/esm/HorizontalArticleListing.js +4 -4
  167. package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-fada4f0c.js} +1257 -119
  168. package/dist/esm/IssueLanding.js +35 -35
  169. package/dist/esm/KMTracker.js +15 -15
  170. package/dist/esm/LeftNav.js +1 -1
  171. package/dist/esm/MasterDeck.js +11 -11
  172. package/dist/esm/MasterDeckPaginated.js +12 -12
  173. package/dist/esm/{Tooltip-95655b44.js → MediaSeriesCard-96ac8ed4.js} +396 -250
  174. package/dist/esm/MediaSeriesLanding.js +18 -19
  175. package/dist/esm/MediaSeriesLandingPaginated.js +18 -19
  176. package/dist/esm/NavMagazine.js +12 -12
  177. package/dist/esm/NavNative.js +10 -10
  178. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
  179. package/dist/esm/PartnerDetailListing.js +8 -9
  180. package/dist/esm/PartnerDetailListingPaginated.js +16 -39
  181. package/dist/esm/PubSection.js +3 -3
  182. package/dist/esm/PublicationLanding.js +26 -26
  183. package/dist/esm/QueueDeckExpanded.js +3 -3
  184. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  185. package/dist/esm/RelatedContent.js +28 -28
  186. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  187. package/dist/esm/Schema.js +55 -52
  188. package/dist/esm/SeriesListingDeck.js +2 -2
  189. package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-4875823e.js} +5 -5
  190. package/dist/esm/SideFooter.js +2 -2
  191. package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-68d948b9.js} +1 -1
  192. package/dist/esm/TaxonomyDescription.js +4 -4
  193. package/dist/esm/TemplateNormal.js +2 -2
  194. package/dist/esm/Ustream.js +1 -1
  195. package/dist/esm/VideoProgramLandingPage.js +4 -4
  196. package/dist/esm/VideoSeriesCard.js +1 -1
  197. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  198. package/dist/esm/VideoSeriesListing.js +1 -1
  199. package/dist/esm/View.js +45 -58
  200. package/dist/esm/YoutubeGroup.js +5 -5
  201. package/dist/esm/defineProperty-50094484.js +101 -0
  202. package/dist/{cjs/util-93a37fd0.js → esm/empty-a8042e3c.js} +135 -3
  203. package/dist/esm/getQuery.js +1 -1
  204. package/dist/esm/getSerializers.js +4 -4
  205. package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
  206. package/dist/esm/getTargeting.js +1 -1
  207. package/dist/esm/{index-04817712.js → index-076baa11.js} +12 -27
  208. package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
  209. package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
  210. package/dist/esm/index-e7075467.js +897 -0
  211. package/dist/esm/index.js +13 -18
  212. package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
  213. package/package.json +115 -115
  214. package/dist/cjs/CypressTesting.js +0 -53
  215. package/dist/cjs/MediaSeriesCard-2e5cd247.js +0 -81
  216. package/dist/cjs/PodcastsLanding.js +0 -235
  217. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  218. package/dist/cjs/typeof-1358762e.js +0 -33
  219. package/dist/esm/CypressTesting.js +0 -47
  220. package/dist/esm/MediaSeriesCard-afb517a5.js +0 -75
  221. package/dist/esm/PodcastsLanding.js +0 -228
  222. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  223. package/dist/esm/typeof-2f07d0e8.js +0 -30
  224. /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-777bb0b3.js} +0 -0
  225. /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-e7fd1bb6.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import './extends-6d8e3924.js';
2
2
  import './toConsumableArray-f7074d7c.js';
3
- export { g as default } from './getTargeting-9bd28724.js';
3
+ export { g as default } from './getTargeting-c6884f34.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-ea258bb1.js';
6
6
  import './_object-pie-133f504a.js';
@@ -7,10 +7,10 @@ import Router, { useRouter } from 'next/router';
7
7
  import { g as getYoutubeId } from './index-c7e2ac95.js';
8
8
  import PropTypes from 'prop-types';
9
9
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
10
- import { u as util } from './util-8ed16d48.js';
10
+ import { u as util, t as tls } from './empty-a8042e3c.js';
11
11
  import './Beam.js';
12
12
  import Segment from './Segment.js';
13
- import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
13
+ import { e as main_18, b as main_42, m as main_43 } from './main-9f6806ea.js';
14
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
15
15
  import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
16
16
  import { u as urlForFile } from './urlForFile-b69adffc.js';
@@ -22,7 +22,7 @@ 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
- import ReactGA from 'react-ga';
25
+ import { R as ReactGA } from './index-e7075467.js';
26
26
  import GroupDeck from './GroupDeck.js';
27
27
  import { m as moment } from './moment-bc12cb97.js';
28
28
  import SocialShare from './SocialShare.js';
@@ -911,8 +911,6 @@ var tty = {
911
911
  WriteStream: WriteStream
912
912
  };
913
913
 
914
- var require$$2 = {};
915
-
916
914
  var node = createCommonjsModule(function (module, exports) {
917
915
  /**
918
916
  * Module dependencies.
@@ -1099,14 +1097,14 @@ function createWritableStdioStream (fd) {
1099
1097
  break;
1100
1098
 
1101
1099
  case 'FILE':
1102
- var fs = require$$2;
1100
+ var fs = tls;
1103
1101
  stream = new fs.SyncWriteStream(fd, { autoClose: false });
1104
1102
  stream._type = 'fs';
1105
1103
  break;
1106
1104
 
1107
1105
  case 'PIPE':
1108
1106
  case 'TCP':
1109
- var net = require$$2;
1107
+ var net = tls;
1110
1108
  stream = new net.Socket({
1111
1109
  fd: fd,
1112
1110
  readable: false,
@@ -1628,13 +1626,11 @@ function shouldUpdateVideo(prevProps, props) {
1628
1626
 
1629
1627
  function filterResetOptions(opts) {
1630
1628
  return _objectSpread(_objectSpread({}, opts), {}, {
1631
- height: 0,
1632
- width: 0,
1633
- playerVars: _objectSpread(_objectSpread({}, opts.playerVars), {}, {
1629
+ playerVars: _objectSpread({
1634
1630
  autoplay: 0,
1635
1631
  start: 0,
1636
1632
  end: 0
1637
- })
1633
+ }, opts.playerVars)
1638
1634
  });
1639
1635
  }
1640
1636
  /**
@@ -1649,7 +1645,7 @@ function filterResetOptions(opts) {
1649
1645
 
1650
1646
 
1651
1647
  function shouldResetPlayer(prevProps, props) {
1652
- return prevProps.videoId !== props.videoId || !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
1648
+ return !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
1653
1649
  }
1654
1650
  /**
1655
1651
  * Check whether a props change should result in an id or className update.
@@ -1660,7 +1656,7 @@ function shouldResetPlayer(prevProps, props) {
1660
1656
 
1661
1657
 
1662
1658
  function shouldUpdatePlayer(prevProps, props) {
1663
- return prevProps.id !== props.id || prevProps.className !== props.className || prevProps.opts.width !== props.opts.width || prevProps.opts.height !== props.opts.height || prevProps.title !== props.title;
1659
+ return prevProps.id !== props.id || prevProps.className !== props.className;
1664
1660
  }
1665
1661
 
1666
1662
  var YouTube = /*#__PURE__*/function (_React$Component) {
@@ -1747,9 +1743,6 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
1747
1743
  _this.internalPlayer.getIframe().then(function (iframe) {
1748
1744
  if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');
1749
1745
  if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');
1750
- if (_this.props.opts && _this.props.opts.width) iframe.setAttribute('width', _this.props.opts.width);else iframe.removeAttribute('width');
1751
- if (_this.props.opts && _this.props.opts.height) iframe.setAttribute('height', _this.props.opts.height);else iframe.removeAttribute('height');
1752
- if (typeof _this.props.title === 'string') iframe.setAttribute('title', _this.props.title);else iframe.setAttribute('title', 'YouTube video player');
1753
1746
  });
1754
1747
  });
1755
1748
 
@@ -1848,8 +1841,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
1848
1841
  }, /*#__PURE__*/React__default.createElement("div", {
1849
1842
  id: this.props.id,
1850
1843
  className: this.props.className,
1851
- ref: this.refContainer,
1852
- loading: this.props.loading
1844
+ ref: this.refContainer
1853
1845
  }));
1854
1846
  }
1855
1847
  }]);
@@ -1874,10 +1866,6 @@ YouTube.propTypes = {
1874
1866
  className: PropTypes.string,
1875
1867
  // custom class name for player container element
1876
1868
  containerClassName: PropTypes.string,
1877
- // custom title for the iFrame, see https://www.w3.org/TR/WCAG20-TECHS/H64.html
1878
- title: PropTypes.string,
1879
- // custom loading for player element
1880
- loading: PropTypes.oneOf(['lazy', 'eager', 'auto']),
1881
1869
  // https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
1882
1870
  opts: PropTypes.objectOf(PropTypes.any),
1883
1871
  // event subscriptions
@@ -1894,7 +1882,6 @@ YouTube.defaultProps = {
1894
1882
  videoId: null,
1895
1883
  id: null,
1896
1884
  className: null,
1897
- loading: null,
1898
1885
  opts: {},
1899
1886
  containerClassName: '',
1900
1887
  onReady: function onReady() {},
@@ -1904,8 +1891,7 @@ YouTube.defaultProps = {
1904
1891
  onEnd: function onEnd() {},
1905
1892
  onStateChange: function onStateChange() {},
1906
1893
  onPlaybackRateChange: function onPlaybackRateChange() {},
1907
- onPlaybackQualityChange: function onPlaybackQualityChange() {},
1908
- title: null
1894
+ onPlaybackQualityChange: function onPlaybackQualityChange() {}
1909
1895
  };
1910
1896
 
1911
1897
  var YouTubePlayer = function YouTubePlayer(_ref) {
@@ -2011,7 +1997,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
2011
1997
  return React__default.createElement(
2012
1998
  'div',
2013
1999
  { id: 'fluid-video-container' },
2014
- React__default.createElement(YouTube, { className: 'fluid-iframe', loading: 'lazy', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
2000
+ React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
2015
2001
  React__default.createElement(
2016
2002
  'style',
2017
2003
  { jsx: 'true' },
@@ -7965,7 +7951,6 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7965
7951
  { id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
7966
7952
  vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
7967
7953
  className: 'fluid-iframe',
7968
- loading: 'lazy',
7969
7954
  videoId: getYoutubeId(vidUrl),
7970
7955
  opts: opts,
7971
7956
  onReady: handleOnReady,
@@ -33,18 +33,9 @@ function _objectWithoutPropertiesLoose(source, excluded) {
33
33
  return target;
34
34
  }
35
35
 
36
- function _setPrototypeOf(o, p) {
37
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
38
- o.__proto__ = p;
39
- return o;
40
- };
41
-
42
- return _setPrototypeOf(o, p);
43
- }
44
-
45
36
  var classnames = createCommonjsModule(function (module) {
46
37
  /*!
47
- Copyright (c) 2018 Jed Watson.
38
+ Copyright (c) 2017 Jed Watson.
48
39
  Licensed under the MIT License (MIT), see
49
40
  http://jedwatson.github.io/classnames
50
41
  */
@@ -54,7 +45,7 @@ var classnames = createCommonjsModule(function (module) {
54
45
 
55
46
  var hasOwn = {}.hasOwnProperty;
56
47
 
57
- function classNames() {
48
+ function classNames () {
58
49
  var classes = [];
59
50
 
60
51
  for (var i = 0; i < arguments.length; i++) {
@@ -65,22 +56,16 @@ var classnames = createCommonjsModule(function (module) {
65
56
 
66
57
  if (argType === 'string' || argType === 'number') {
67
58
  classes.push(arg);
68
- } else if (Array.isArray(arg)) {
69
- if (arg.length) {
70
- var inner = classNames.apply(null, arg);
71
- if (inner) {
72
- classes.push(inner);
73
- }
59
+ } else if (Array.isArray(arg) && arg.length) {
60
+ var inner = classNames.apply(null, arg);
61
+ if (inner) {
62
+ classes.push(inner);
74
63
  }
75
64
  } else if (argType === 'object') {
76
- if (arg.toString === Object.prototype.toString) {
77
- for (var key in arg) {
78
- if (hasOwn.call(arg, key) && arg[key]) {
79
- classes.push(key);
80
- }
65
+ for (var key in arg) {
66
+ if (hasOwn.call(arg, key) && arg[key]) {
67
+ classes.push(key);
81
68
  }
82
- } else {
83
- classes.push(arg.toString());
84
69
  }
85
70
  }
86
71
  }
@@ -97,4 +82,4 @@ var classnames = createCommonjsModule(function (module) {
97
82
  }());
98
83
  });
99
84
 
100
- export { _objectWithoutPropertiesLoose as _, _setPrototypeOf as a, _extends as b, classnames as c };
85
+ export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };