@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.
- package/README.md +168 -168
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-f316b66a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-2003306e.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +7 -8
- package/dist/cjs/AlgoliaSearch.js +1214 -1129
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +16 -16
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +23075 -242
- package/dist/cjs/AuthWrapper.js +120 -30
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -27
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/DeckContent.js +66 -66
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-c313a700.js} +17 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +36 -36
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +130 -130
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +30 -30
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-ca708da8.js} +1315 -176
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +50 -50
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +47 -47
- package/dist/cjs/MasterDeckPaginated.js +37 -37
- package/dist/cjs/{Tooltip-f075b7ef.js → MediaSeriesCard-f6db8f70.js} +678 -531
- package/dist/cjs/MediaSeriesLanding.js +56 -57
- package/dist/cjs/MediaSeriesLandingPaginated.js +54 -55
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-4799de4b.js → NavFooter-880e9d87.js} +11 -11
- package/dist/cjs/NavMagazine.js +116 -116
- package/dist/cjs/NavNative.js +106 -106
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +52 -53
- package/dist/cjs/PartnerDetailListingPaginated.js +50 -73
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
- package/dist/cjs/PublicationLanding.js +99 -99
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +42 -42
- package/dist/cjs/RelatedTopicsDropdown.js +24 -24
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +55 -52
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-f5248377.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-ca9c0c45.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +13 -13
- package/dist/cjs/TemplateNormal.js +27 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +30 -30
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +261 -274
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/defineProperty-ad65f5f0.js +110 -0
- package/dist/{esm/util-8ed16d48.js → cjs/empty-559717f3.js} +146 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getSerializers.js +8 -8
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/index-0cf4c9fc.js +904 -0
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
- package/dist/cjs/{index-f95a3c0f.js → index-b10d6863.js} +495 -511
- package/dist/cjs/{index-fc2f1ca2.js → index-d2a6ef75.js} +4 -4
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-1461604c.js → index.esm-f59ef5b4.js} +14 -14
- package/dist/cjs/index.js +106 -111
- package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlgoliaSearch.js +643 -558
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +22999 -163
- package/dist/esm/AuthWrapper.js +93 -3
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +10 -10
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +19 -19
- package/dist/esm/ExternalResources.js +5 -5
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/HamMagazine.js +29 -29
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -4
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-fada4f0c.js} +1257 -119
- package/dist/esm/IssueLanding.js +35 -35
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +12 -12
- package/dist/esm/{Tooltip-95655b44.js → MediaSeriesCard-96ac8ed4.js} +396 -250
- package/dist/esm/MediaSeriesLanding.js +18 -19
- package/dist/esm/MediaSeriesLandingPaginated.js +18 -19
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +10 -10
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -9
- package/dist/esm/PartnerDetailListingPaginated.js +16 -39
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +55 -52
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-4875823e.js} +5 -5
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-68d948b9.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -4
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -4
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +45 -58
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/defineProperty-50094484.js +101 -0
- package/dist/{cjs/util-93a37fd0.js → esm/empty-a8042e3c.js} +135 -3
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-04817712.js → index-076baa11.js} +12 -27
- package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/index-e7075467.js +897 -0
- package/dist/esm/index.js +13 -18
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/package.json +115 -115
- package/dist/cjs/CypressTesting.js +0 -53
- package/dist/cjs/MediaSeriesCard-2e5cd247.js +0 -81
- package/dist/cjs/PodcastsLanding.js +0 -235
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/CypressTesting.js +0 -47
- package/dist/esm/MediaSeriesCard-afb517a5.js +0 -75
- package/dist/esm/PodcastsLanding.js +0 -228
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-777bb0b3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-e7fd1bb6.js} +0 -0
package/dist/esm/getTargeting.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './extends-6d8e3924.js';
|
|
2
2
|
import './toConsumableArray-f7074d7c.js';
|
|
3
|
-
export { g as default } from './getTargeting-
|
|
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 './
|
|
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-
|
|
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 '
|
|
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 =
|
|
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 =
|
|
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
|
-
|
|
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
|
|
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
|
|
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',
|
|
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)
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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 _,
|
|
85
|
+
export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };
|