@mjhls/mjh-framework 1.0.979-ris-update-v3 → 1.0.980-nofollow-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 +6 -5
- package/dist/cjs/AD300x250x600.js +6 -5
- package/dist/cjs/AD728x90.js +7 -6
- package/dist/cjs/ADFloatingFooter.js +9 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +9 -8
- package/dist/cjs/{ADInfeed-cf54cb8a.js → ADInfeed-e5192055.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +9 -8
- package/dist/cjs/ADSponsoredResources.js +9 -8
- package/dist/cjs/ADWebcast.js +9 -8
- package/dist/cjs/ADWelcome.js +13 -12
- package/dist/cjs/{ADlgInfeed-d06624d8.js → ADlgInfeed-442a5d8c.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +10 -9
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlgoliaSearch.js +14501 -49
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +15 -14
- package/dist/cjs/ArticleSeriesLandingPage.js +12 -11
- package/dist/cjs/ArticleSeriesListing.js +30 -29
- package/dist/cjs/Auth.js +133 -101
- package/dist/cjs/AuthWrapper.js +45 -65
- 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 +66 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +28 -27
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +50 -49
- package/dist/cjs/DeckContent.js +67 -66
- package/dist/cjs/DeckQueue.js +58 -57
- package/dist/cjs/DeckQueuePaginated.js +47 -46
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-c313a700.js} +18 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +35 -34
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +135 -134
- package/dist/cjs/GridContentPaginated.js +122 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +114 -114
- 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 +29 -28
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-17fdaf3b.js} +72 -72
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +49 -48
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +18 -17
- package/dist/cjs/MasterDeck.js +48 -47
- package/dist/cjs/MasterDeckPaginated.js +38 -37
- package/dist/cjs/{MediaSeriesCard-1a62916a.js → MediaSeriesCard-9ce4dccf.js} +809 -842
- package/dist/cjs/MediaSeriesLanding.js +42 -40
- package/dist/cjs/MediaSeriesLandingPaginated.js +41 -39
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-1fda6732.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 +50 -49
- package/dist/cjs/PartnerDetailListingPaginated.js +46 -45
- 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 +14 -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 +246 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +223 -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 +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +19 -18
- package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-18fc6e71.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-bac7d6fa.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +12 -11
- package/dist/cjs/TemplateNormal.js +28 -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 +29 -28
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +12 -11
- package/dist/cjs/VideoSeriesListing.js +47 -46
- package/dist/cjs/View.js +238 -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/events-1b438fe7.js +469 -0
- package/dist/cjs/getQuery.js +3 -3
- package/dist/cjs/getSerializers.js +7 -6
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/{index-bb00ade7.js → index-37ba9deb.js} +490 -513
- package/dist/cjs/index-50be6759.js +105 -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-0e4427c8.js → index-d2a6ef75.js} +6 -471
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-70e78156.js} +14 -14
- package/dist/cjs/index.js +105 -103
- 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/typeof-1358762e.js +33 -0
- 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/AD.js +2 -2
- package/dist/esm/AD300x250.js +4 -3
- package/dist/esm/AD300x250x600.js +4 -3
- package/dist/esm/AD728x90.js +4 -3
- package/dist/esm/ADFloatingFooter.js +4 -3
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +4 -3
- package/dist/esm/ADSkyscraper.js +4 -3
- package/dist/esm/ADSponsoredResources.js +4 -3
- package/dist/esm/ADWebcast.js +4 -3
- package/dist/esm/ADWelcome.js +4 -3
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +4 -3
- package/dist/esm/AdSlotsProvider.js +4 -3
- package/dist/esm/AlgoliaSearch.js +14464 -12
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +2 -2
- package/dist/esm/ArticleProgramLandingPage.js +5 -4
- package/dist/esm/ArticleSeriesLandingPage.js +6 -5
- package/dist/esm/ArticleSeriesListing.js +4 -3
- package/dist/esm/Auth.js +60 -29
- package/dist/esm/AuthWrapper.js +21 -41
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +9 -4
- package/dist/esm/Column1.js +1 -2
- package/dist/esm/Column2.js +1 -2
- package/dist/esm/Column3.js +4 -4
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/ContentCardPaginated.js +6 -5
- package/dist/esm/DeckContent.js +13 -12
- package/dist/esm/DeckQueue.js +4 -3
- package/dist/esm/DeckQueuePaginated.js +5 -4
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +3 -2
- package/dist/esm/EventsDeck.js +20 -20
- package/dist/esm/ExternalResources.js +6 -5
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +6 -5
- package/dist/esm/GridContentPaginated.js +7 -6
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +12 -13
- package/dist/esm/Header.js +1 -2
- package/dist/esm/HealthCareProfessionalModal.js +2 -2
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +5 -4
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +36 -35
- package/dist/esm/KMTracker.js +16 -16
- package/dist/esm/LeftNav.js +4 -4
- package/dist/esm/MasterDeck.js +14 -13
- package/dist/esm/MasterDeckPaginated.js +15 -14
- package/dist/esm/{MediaSeriesCard-146e08c8.js → MediaSeriesCard-6b4f9ff9.js} +161 -194
- package/dist/esm/MediaSeriesLanding.js +14 -12
- package/dist/esm/MediaSeriesLandingPaginated.js +15 -13
- package/dist/esm/NavDvm.js +1 -2
- package/dist/esm/NavMagazine.js +13 -14
- package/dist/esm/NavNative.js +11 -12
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +7 -6
- package/dist/esm/PartnerDetailListingPaginated.js +8 -7
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +6 -5
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +6 -5
- package/dist/esm/QueueDeckExpandedPaginated.js +7 -6
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +5 -4
- package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-5728e349.js} +5 -5
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-c249903e.js} +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +5 -4
- package/dist/esm/TemplateNormal.js +5 -4
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +5 -4
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +6 -5
- package/dist/esm/VideoSeriesListing.js +4 -3
- package/dist/esm/View.js +36 -72
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +6 -6
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +4 -4
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-e89d33c8.js → index-48e83c26.js} +13 -36
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +12 -10
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +115 -115
- /package/dist/esm/{ADInfeed-0852ff35.js → ADInfeed-d93886e3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5fb3b724.js → ADlgInfeed-93777a49.js} +0 -0
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
5
|
var reactBootstrap = require('react-bootstrap');
|
|
6
6
|
var urlFor = require('./urlFor.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-d2a6ef75.js');
|
|
8
8
|
var Router = require('next/router');
|
|
9
9
|
var index$1 = require('./index-187c967e.js');
|
|
10
10
|
var PropTypes = require('prop-types');
|
|
@@ -12,14 +12,14 @@ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
|
12
12
|
var util = require('./util-93a37fd0.js');
|
|
13
13
|
require('./Beam.js');
|
|
14
14
|
var Segment = require('./Segment.js');
|
|
15
|
-
var main = require('./main-
|
|
16
|
-
var BlockContent = require('./BlockContent-
|
|
15
|
+
var main = require('./main-6054981e.js');
|
|
16
|
+
var BlockContent = require('./BlockContent-96b44364.js');
|
|
17
17
|
var _extends = require('./extends-7c86182f.js');
|
|
18
18
|
var urlForFile = require('./urlForFile-29d3815a.js');
|
|
19
|
-
var index$2 = require('./index-
|
|
19
|
+
var index$2 = require('./index-65621b6c.js');
|
|
20
20
|
var asyncToGenerator = require('./asyncToGenerator-77821af0.js');
|
|
21
21
|
var _typeof$1 = require('./typeof-567e31ff.js');
|
|
22
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-
|
|
22
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-4c7825a1.js');
|
|
23
23
|
var stringify = require('./stringify-f7a37a8d.js');
|
|
24
24
|
var Modal = require('react-bootstrap/Modal');
|
|
25
25
|
var Button = require('react-bootstrap/Button');
|
|
@@ -65,7 +65,7 @@ var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
|
65
65
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
66
66
|
var pageNumber = selectedIndex + 1;
|
|
67
67
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
68
|
-
Router__default[
|
|
68
|
+
Router__default["default"].push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -95,27 +95,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
95
95
|
if (pageview) pageview(router.asPath);
|
|
96
96
|
}, [router]);
|
|
97
97
|
|
|
98
|
-
return React__default[
|
|
98
|
+
return React__default["default"].createElement(
|
|
99
99
|
'div',
|
|
100
100
|
{ className: 'mt-3 mb-3' },
|
|
101
|
-
React__default[
|
|
101
|
+
React__default["default"].createElement(
|
|
102
102
|
reactBootstrap.Carousel,
|
|
103
103
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
104
104
|
return onChangeSlide(selectedIndex, router);
|
|
105
105
|
}, interval: null },
|
|
106
106
|
slides && slides.map(function (slide) {
|
|
107
|
-
return React__default[
|
|
107
|
+
return React__default["default"].createElement(
|
|
108
108
|
reactBootstrap.Carousel.Item,
|
|
109
109
|
{ key: slide._key },
|
|
110
|
-
React__default[
|
|
110
|
+
React__default["default"].createElement(
|
|
111
111
|
'picture',
|
|
112
112
|
null,
|
|
113
|
-
React__default[
|
|
114
|
-
React__default[
|
|
115
|
-
React__default[
|
|
116
|
-
React__default[
|
|
113
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
114
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
115
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
116
|
+
React__default["default"].createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
117
117
|
),
|
|
118
|
-
slide.caption && React__default[
|
|
118
|
+
slide.caption && React__default["default"].createElement(
|
|
119
119
|
'p',
|
|
120
120
|
{ className: 'p-2' },
|
|
121
121
|
slide.caption
|
|
@@ -1857,9 +1857,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1857
1857
|
}, {
|
|
1858
1858
|
key: "render",
|
|
1859
1859
|
value: function render() {
|
|
1860
|
-
return /*#__PURE__*/React__default[
|
|
1860
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1861
1861
|
className: this.props.containerClassName
|
|
1862
|
-
}, /*#__PURE__*/React__default[
|
|
1862
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1863
1863
|
id: this.props.id,
|
|
1864
1864
|
className: this.props.className,
|
|
1865
1865
|
ref: this.refContainer
|
|
@@ -1868,7 +1868,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1868
1868
|
}]);
|
|
1869
1869
|
|
|
1870
1870
|
return YouTube;
|
|
1871
|
-
}(React__default[
|
|
1871
|
+
}(React__default["default"].Component);
|
|
1872
1872
|
|
|
1873
1873
|
_defineProperty(YouTube, "PlayerState", {
|
|
1874
1874
|
UNSTARTED: -1,
|
|
@@ -1880,24 +1880,24 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1880
1880
|
});
|
|
1881
1881
|
|
|
1882
1882
|
YouTube.propTypes = {
|
|
1883
|
-
videoId: PropTypes__default[
|
|
1883
|
+
videoId: PropTypes__default["default"].string,
|
|
1884
1884
|
// custom ID for player element
|
|
1885
|
-
id: PropTypes__default[
|
|
1885
|
+
id: PropTypes__default["default"].string,
|
|
1886
1886
|
// custom class name for player element
|
|
1887
|
-
className: PropTypes__default[
|
|
1887
|
+
className: PropTypes__default["default"].string,
|
|
1888
1888
|
// custom class name for player container element
|
|
1889
|
-
containerClassName: PropTypes__default[
|
|
1889
|
+
containerClassName: PropTypes__default["default"].string,
|
|
1890
1890
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1891
|
-
opts: PropTypes__default[
|
|
1891
|
+
opts: PropTypes__default["default"].objectOf(PropTypes__default["default"].any),
|
|
1892
1892
|
// event subscriptions
|
|
1893
|
-
onReady: PropTypes__default[
|
|
1894
|
-
onError: PropTypes__default[
|
|
1895
|
-
onPlay: PropTypes__default[
|
|
1896
|
-
onPause: PropTypes__default[
|
|
1897
|
-
onEnd: PropTypes__default[
|
|
1898
|
-
onStateChange: PropTypes__default[
|
|
1899
|
-
onPlaybackRateChange: PropTypes__default[
|
|
1900
|
-
onPlaybackQualityChange: PropTypes__default[
|
|
1893
|
+
onReady: PropTypes__default["default"].func,
|
|
1894
|
+
onError: PropTypes__default["default"].func,
|
|
1895
|
+
onPlay: PropTypes__default["default"].func,
|
|
1896
|
+
onPause: PropTypes__default["default"].func,
|
|
1897
|
+
onEnd: PropTypes__default["default"].func,
|
|
1898
|
+
onStateChange: PropTypes__default["default"].func,
|
|
1899
|
+
onPlaybackRateChange: PropTypes__default["default"].func,
|
|
1900
|
+
onPlaybackQualityChange: PropTypes__default["default"].func
|
|
1901
1901
|
};
|
|
1902
1902
|
YouTube.defaultProps = {
|
|
1903
1903
|
videoId: null,
|
|
@@ -2015,11 +2015,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2015
2015
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2016
2016
|
};
|
|
2017
2017
|
|
|
2018
|
-
return React__default[
|
|
2018
|
+
return React__default["default"].createElement(
|
|
2019
2019
|
'div',
|
|
2020
2020
|
{ id: 'fluid-video-container' },
|
|
2021
|
-
React__default[
|
|
2022
|
-
React__default[
|
|
2021
|
+
React__default["default"].createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2022
|
+
React__default["default"].createElement(
|
|
2023
2023
|
'style',
|
|
2024
2024
|
{ jsx: 'true' },
|
|
2025
2025
|
'\n #fluid-video-container {\n margin-bottom: 2rem;\n }\n #fluid-video-container > div {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n }\n #fluid-video-container .fluid-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100% !important;\n }\n '
|
|
@@ -2032,20 +2032,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2032
2032
|
content = _ref.content,
|
|
2033
2033
|
getSerializers = _ref.getSerializers;
|
|
2034
2034
|
|
|
2035
|
-
return React__default[
|
|
2035
|
+
return React__default["default"].createElement(
|
|
2036
2036
|
'article',
|
|
2037
2037
|
{ className: 'sidebar' },
|
|
2038
|
-
React__default[
|
|
2038
|
+
React__default["default"].createElement(
|
|
2039
2039
|
'div',
|
|
2040
2040
|
null,
|
|
2041
|
-
React__default[
|
|
2041
|
+
React__default["default"].createElement(
|
|
2042
2042
|
'h3',
|
|
2043
2043
|
null,
|
|
2044
2044
|
caption
|
|
2045
2045
|
),
|
|
2046
|
-
React__default[
|
|
2046
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2047
2047
|
),
|
|
2048
|
-
React__default[
|
|
2048
|
+
React__default["default"].createElement(
|
|
2049
2049
|
'style',
|
|
2050
2050
|
{ jsx: 'true' },
|
|
2051
2051
|
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n /* resolving list items inside sidebar being shifted to center because of unusual margin */\n .sidebar ul {\n margin-left: 0;\n padding-left: 1rem;\n }\n @media screen and (max-width: 991px) {\n .sidebar {\n float: none;\n width: auto;\n margin: 1rem 0;\n }\n }\n '
|
|
@@ -2056,18 +2056,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2056
2056
|
var TableShow = function TableShow(_ref) {
|
|
2057
2057
|
var rows = _ref.rows;
|
|
2058
2058
|
|
|
2059
|
-
return React__default[
|
|
2059
|
+
return React__default["default"].createElement(
|
|
2060
2060
|
reactBootstrap.Table,
|
|
2061
2061
|
{ bordered: true, hover: true, responsive: true },
|
|
2062
|
-
React__default[
|
|
2062
|
+
React__default["default"].createElement(
|
|
2063
2063
|
'tbody',
|
|
2064
2064
|
null,
|
|
2065
2065
|
rows && rows.map(function (row) {
|
|
2066
|
-
return React__default[
|
|
2066
|
+
return React__default["default"].createElement(
|
|
2067
2067
|
'tr',
|
|
2068
2068
|
{ key: row._key },
|
|
2069
2069
|
row.cells && row.cells.map(function (cell, index) {
|
|
2070
|
-
return cell && React__default[
|
|
2070
|
+
return cell && React__default["default"].createElement(
|
|
2071
2071
|
'td',
|
|
2072
2072
|
{ key: index },
|
|
2073
2073
|
cell
|
|
@@ -2165,25 +2165,25 @@ var Media = function Media(_ref) {
|
|
|
2165
2165
|
margin: imageMargin
|
|
2166
2166
|
};
|
|
2167
2167
|
|
|
2168
|
-
return React__default[
|
|
2168
|
+
return React__default["default"].createElement(
|
|
2169
2169
|
reactBootstrap.Figure,
|
|
2170
2170
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2171
|
-
React__default[
|
|
2171
|
+
React__default["default"].createElement(
|
|
2172
2172
|
'a',
|
|
2173
2173
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2174
|
-
React__default[
|
|
2174
|
+
React__default["default"].createElement(
|
|
2175
2175
|
index$2.LazyLoad,
|
|
2176
2176
|
{ once: true },
|
|
2177
|
-
React__default[
|
|
2177
|
+
React__default["default"].createElement(
|
|
2178
2178
|
'picture',
|
|
2179
2179
|
null,
|
|
2180
|
-
React__default[
|
|
2181
|
-
React__default[
|
|
2182
|
-
React__default[
|
|
2183
|
-
React__default[
|
|
2180
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2181
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2182
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2183
|
+
React__default["default"].createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2184
2184
|
)
|
|
2185
2185
|
),
|
|
2186
|
-
caption && React__default[
|
|
2186
|
+
caption && React__default["default"].createElement(
|
|
2187
2187
|
reactBootstrap.Figure.Caption,
|
|
2188
2188
|
{ className: 'media-caption' },
|
|
2189
2189
|
caption
|
|
@@ -2191,7 +2191,7 @@ var Media = function Media(_ref) {
|
|
|
2191
2191
|
)
|
|
2192
2192
|
);
|
|
2193
2193
|
} else if (caption && caption !== '') {
|
|
2194
|
-
return React__default[
|
|
2194
|
+
return React__default["default"].createElement(
|
|
2195
2195
|
'a',
|
|
2196
2196
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2197
2197
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2211,10 +2211,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2211
2211
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2212
2212
|
|
|
2213
2213
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2214
|
-
return React__default[
|
|
2214
|
+
return React__default["default"].createElement(
|
|
2215
2215
|
'div',
|
|
2216
2216
|
{ className: 'd-block text-center mb-3' },
|
|
2217
|
-
React__default[
|
|
2217
|
+
React__default["default"].createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2218
2218
|
);
|
|
2219
2219
|
};
|
|
2220
2220
|
|
|
@@ -2224,7 +2224,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2224
2224
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2225
2225
|
|
|
2226
2226
|
var choiceArray = choices.map(function (choice) {
|
|
2227
|
-
return React__default[
|
|
2227
|
+
return React__default["default"].createElement(Form__default["default"].Check, {
|
|
2228
2228
|
inline: true,
|
|
2229
2229
|
label: choice.choiceText,
|
|
2230
2230
|
value: choice.choiceText,
|
|
@@ -2234,19 +2234,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2234
2234
|
onClick: handlePollAnswer
|
|
2235
2235
|
});
|
|
2236
2236
|
});
|
|
2237
|
-
return React__default[
|
|
2237
|
+
return React__default["default"].createElement(
|
|
2238
2238
|
'div',
|
|
2239
2239
|
{
|
|
2240
2240
|
key: 'inline-radio',
|
|
2241
2241
|
className: 'mb-3' },
|
|
2242
|
-
React__default[
|
|
2242
|
+
React__default["default"].createElement(
|
|
2243
2243
|
'h2',
|
|
2244
2244
|
{
|
|
2245
2245
|
className: 'radioLabelText'
|
|
2246
2246
|
},
|
|
2247
2247
|
question
|
|
2248
2248
|
),
|
|
2249
|
-
React__default[
|
|
2249
|
+
React__default["default"].createElement(
|
|
2250
2250
|
'div',
|
|
2251
2251
|
{
|
|
2252
2252
|
className: 'multiChoiceDiv'
|
|
@@ -2261,19 +2261,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2261
2261
|
textAnswer = _ref.textAnswer,
|
|
2262
2262
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2263
2263
|
|
|
2264
|
-
return React__default[
|
|
2264
|
+
return React__default["default"].createElement(
|
|
2265
2265
|
'div',
|
|
2266
2266
|
{
|
|
2267
2267
|
className: 'textInputDiv'
|
|
2268
2268
|
},
|
|
2269
|
-
React__default[
|
|
2269
|
+
React__default["default"].createElement(
|
|
2270
2270
|
'h2',
|
|
2271
2271
|
{
|
|
2272
2272
|
className: 'textInputQuestion'
|
|
2273
2273
|
},
|
|
2274
2274
|
textInputQuestion
|
|
2275
2275
|
),
|
|
2276
|
-
React__default[
|
|
2276
|
+
React__default["default"].createElement(Form__default["default"].Control, {
|
|
2277
2277
|
type: 'text',
|
|
2278
2278
|
className: 'textInput',
|
|
2279
2279
|
value: textAnswer,
|
|
@@ -2383,59 +2383,33 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2383
2383
|
var pollArray = [];
|
|
2384
2384
|
pollItems.forEach(function (item, ind) {
|
|
2385
2385
|
if (item.format === 'multiChoice') {
|
|
2386
|
-
pollArray.push(React__default[
|
|
2387
|
-
question: item.question,
|
|
2388
|
-
choices: item.choices,
|
|
2389
|
-
handlePollAnswer: handlePollAnswer,
|
|
2390
|
-
key: ind
|
|
2391
|
-
}));
|
|
2386
|
+
pollArray.push(React__default["default"].createElement(PopupMultiChoice, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2392
2387
|
}
|
|
2393
2388
|
if (item.format === 'textInput') {
|
|
2394
|
-
pollArray.push(React__default[
|
|
2395
|
-
textInputQuestion: item.question,
|
|
2396
|
-
textanswer: textAnswer,
|
|
2397
|
-
handleTextAnswer: handleTextAnswer,
|
|
2398
|
-
key: ind
|
|
2399
|
-
}));
|
|
2389
|
+
pollArray.push(React__default["default"].createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2400
2390
|
}
|
|
2401
2391
|
});
|
|
2402
2392
|
|
|
2403
|
-
return React__default[
|
|
2393
|
+
return React__default["default"].createElement(
|
|
2404
2394
|
'div',
|
|
2405
|
-
{
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
},
|
|
2409
|
-
React__default['default'].createElement(
|
|
2410
|
-
Modal__default['default'].Dialog,
|
|
2395
|
+
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2396
|
+
React__default["default"].createElement(
|
|
2397
|
+
Modal__default["default"].Dialog,
|
|
2411
2398
|
null,
|
|
2412
|
-
React__default[
|
|
2413
|
-
Modal__default[
|
|
2399
|
+
React__default["default"].createElement(
|
|
2400
|
+
Modal__default["default"].Body,
|
|
2414
2401
|
null,
|
|
2415
|
-
React__default[
|
|
2416
|
-
Form__default[
|
|
2417
|
-
{
|
|
2418
|
-
onSubmit: handleSubmit,
|
|
2419
|
-
className: 'modalForm'
|
|
2420
|
-
},
|
|
2402
|
+
React__default["default"].createElement(
|
|
2403
|
+
Form__default["default"],
|
|
2404
|
+
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2421
2405
|
pollArray,
|
|
2422
|
-
textInputRender && !multiChoiceRender ? React__default[
|
|
2423
|
-
Button__default[
|
|
2424
|
-
{
|
|
2425
|
-
className: 'submitButton',
|
|
2426
|
-
type: 'submit',
|
|
2427
|
-
variant: 'success',
|
|
2428
|
-
disabled: !textAnswer
|
|
2429
|
-
},
|
|
2406
|
+
textInputRender && !multiChoiceRender ? React__default["default"].createElement(
|
|
2407
|
+
Button__default["default"],
|
|
2408
|
+
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2430
2409
|
'Submit'
|
|
2431
|
-
) : React__default[
|
|
2432
|
-
Button__default[
|
|
2433
|
-
{
|
|
2434
|
-
className: 'submitButton',
|
|
2435
|
-
type: 'submit',
|
|
2436
|
-
variant: 'success',
|
|
2437
|
-
disabled: !pollAnswer
|
|
2438
|
-
},
|
|
2410
|
+
) : React__default["default"].createElement(
|
|
2411
|
+
Button__default["default"],
|
|
2412
|
+
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2439
2413
|
'Submit'
|
|
2440
2414
|
)
|
|
2441
2415
|
)
|
|
@@ -2597,10 +2571,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2597
2571
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2598
2572
|
};
|
|
2599
2573
|
|
|
2600
|
-
return React__default[
|
|
2574
|
+
return React__default["default"].createElement(
|
|
2601
2575
|
'div',
|
|
2602
2576
|
null,
|
|
2603
|
-
isPollingTime ? React__default[
|
|
2577
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2604
2578
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2605
2579
|
, { pollItems: pollItems
|
|
2606
2580
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2614,7 +2588,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2614
2588
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2615
2589
|
, multiChoiceRender: multiChoiceRender
|
|
2616
2590
|
}) : null,
|
|
2617
|
-
vidLoaded && React__default[
|
|
2591
|
+
vidLoaded && React__default["default"].createElement(
|
|
2618
2592
|
'video',
|
|
2619
2593
|
{
|
|
2620
2594
|
poster: thumbnail || '',
|
|
@@ -2632,7 +2606,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2632
2606
|
onPlay: function onPlay(e) {
|
|
2633
2607
|
return handleOnPlay(e);
|
|
2634
2608
|
} },
|
|
2635
|
-
React__default[
|
|
2609
|
+
React__default["default"].createElement('source', { src: url, type: 'video/mp4' }),
|
|
2636
2610
|
'Your browser does not support the video tag.'
|
|
2637
2611
|
)
|
|
2638
2612
|
);
|
|
@@ -2883,10 +2857,10 @@ var Video = function Video(_ref) {
|
|
|
2883
2857
|
|
|
2884
2858
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2885
2859
|
if (videoID) {
|
|
2886
|
-
return React__default[
|
|
2860
|
+
return React__default["default"].createElement(
|
|
2887
2861
|
'div',
|
|
2888
2862
|
null,
|
|
2889
|
-
isPollingTime ? React__default[
|
|
2863
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2890
2864
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2891
2865
|
, { pollItems: pollItems
|
|
2892
2866
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2900,7 +2874,7 @@ var Video = function Video(_ref) {
|
|
|
2900
2874
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2901
2875
|
, multiChoiceRender: multiChoiceRender
|
|
2902
2876
|
}) : null,
|
|
2903
|
-
React__default[
|
|
2877
|
+
React__default["default"].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2904
2878
|
onSuccess: onVideoSuccess,
|
|
2905
2879
|
onFailure: onVideoFailure,
|
|
2906
2880
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2908,17 +2882,17 @@ var Video = function Video(_ref) {
|
|
|
2908
2882
|
playerId: accountIDs.brightcove.playerId,
|
|
2909
2883
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2910
2884
|
}),
|
|
2911
|
-
React__default[
|
|
2885
|
+
React__default["default"].createElement(
|
|
2912
2886
|
'style',
|
|
2913
2887
|
{ jsx: 'true' },
|
|
2914
2888
|
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2915
2889
|
)
|
|
2916
2890
|
);
|
|
2917
2891
|
} else if (playlistID) {
|
|
2918
|
-
return React__default[
|
|
2892
|
+
return React__default["default"].createElement(
|
|
2919
2893
|
'div',
|
|
2920
2894
|
null,
|
|
2921
|
-
isPollingTime ? React__default[
|
|
2895
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2922
2896
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2923
2897
|
, { pollItems: pollItems
|
|
2924
2898
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2932,7 +2906,7 @@ var Video = function Video(_ref) {
|
|
|
2932
2906
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2933
2907
|
, multiChoiceRender: multiChoiceRender
|
|
2934
2908
|
}) : null,
|
|
2935
|
-
React__default[
|
|
2909
|
+
React__default["default"].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2936
2910
|
accountId: accountIDs.brightcove.accountId,
|
|
2937
2911
|
playlistId: playlistID,
|
|
2938
2912
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2940,18 +2914,18 @@ var Video = function Video(_ref) {
|
|
|
2940
2914
|
onFailure: onVideoFailure,
|
|
2941
2915
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2942
2916
|
}),
|
|
2943
|
-
React__default[
|
|
2917
|
+
React__default["default"].createElement(
|
|
2944
2918
|
'style',
|
|
2945
2919
|
{ jsx: 'true' },
|
|
2946
2920
|
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2947
2921
|
)
|
|
2948
2922
|
);
|
|
2949
2923
|
} else if (experienceID) {
|
|
2950
|
-
return React__default[
|
|
2924
|
+
return React__default["default"].createElement(
|
|
2951
2925
|
'div',
|
|
2952
2926
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2953
|
-
React__default[
|
|
2954
|
-
isPollingTime ? React__default[
|
|
2927
|
+
React__default["default"].createElement('div', { 'data-experience': experienceID }),
|
|
2928
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2955
2929
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2956
2930
|
, { pollItems: pollItems
|
|
2957
2931
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2971,10 +2945,10 @@ var Video = function Video(_ref) {
|
|
|
2971
2945
|
}
|
|
2972
2946
|
|
|
2973
2947
|
if (source === 'mp4') {
|
|
2974
|
-
return React__default[
|
|
2948
|
+
return React__default["default"].createElement(
|
|
2975
2949
|
'div',
|
|
2976
2950
|
null,
|
|
2977
|
-
React__default[
|
|
2951
|
+
React__default["default"].createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2978
2952
|
);
|
|
2979
2953
|
}
|
|
2980
2954
|
|
|
@@ -2989,7 +2963,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2989
2963
|
});
|
|
2990
2964
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2991
2965
|
|
|
2992
|
-
var _propTypes = _interopRequireDefault(PropTypes__default[
|
|
2966
|
+
var _propTypes = _interopRequireDefault(PropTypes__default["default"]);
|
|
2993
2967
|
|
|
2994
2968
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2995
2969
|
|
|
@@ -3579,7 +3553,7 @@ function isEqual(a, b) {
|
|
|
3579
3553
|
return true;
|
|
3580
3554
|
}
|
|
3581
3555
|
|
|
3582
|
-
if ((0, React__default[
|
|
3556
|
+
if ((0, React__default["default"].isValidElement)(a) && (0, React__default["default"].isValidElement)(b)) {
|
|
3583
3557
|
return true;
|
|
3584
3558
|
}
|
|
3585
3559
|
|
|
@@ -3641,7 +3615,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3641
3615
|
});
|
|
3642
3616
|
exports["default"] = void 0;
|
|
3643
3617
|
|
|
3644
|
-
var _react = _interopRequireWildcard(React__default[
|
|
3618
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
3645
3619
|
|
|
3646
3620
|
|
|
3647
3621
|
|
|
@@ -4051,7 +4025,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4051
4025
|
});
|
|
4052
4026
|
exports["default"] = createSinglePlayer;
|
|
4053
4027
|
|
|
4054
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4028
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4055
4029
|
|
|
4056
4030
|
|
|
4057
4031
|
|
|
@@ -4209,7 +4183,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4209
4183
|
});
|
|
4210
4184
|
exports["default"] = exports.YouTube = void 0;
|
|
4211
4185
|
|
|
4212
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4186
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4213
4187
|
|
|
4214
4188
|
|
|
4215
4189
|
|
|
@@ -4518,7 +4492,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4518
4492
|
});
|
|
4519
4493
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4520
4494
|
|
|
4521
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4495
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4522
4496
|
|
|
4523
4497
|
|
|
4524
4498
|
|
|
@@ -4735,7 +4709,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4735
4709
|
});
|
|
4736
4710
|
exports["default"] = exports.Vimeo = void 0;
|
|
4737
4711
|
|
|
4738
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4712
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4739
4713
|
|
|
4740
4714
|
|
|
4741
4715
|
|
|
@@ -4991,7 +4965,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4991
4965
|
});
|
|
4992
4966
|
exports["default"] = exports.Facebook = void 0;
|
|
4993
4967
|
|
|
4994
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4968
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4995
4969
|
|
|
4996
4970
|
|
|
4997
4971
|
|
|
@@ -5203,7 +5177,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5203
5177
|
});
|
|
5204
5178
|
exports["default"] = exports.Streamable = void 0;
|
|
5205
5179
|
|
|
5206
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5180
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5207
5181
|
|
|
5208
5182
|
|
|
5209
5183
|
|
|
@@ -5414,7 +5388,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5414
5388
|
});
|
|
5415
5389
|
exports["default"] = exports.Wistia = void 0;
|
|
5416
5390
|
|
|
5417
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5391
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5418
5392
|
|
|
5419
5393
|
|
|
5420
5394
|
|
|
@@ -5657,7 +5631,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5657
5631
|
});
|
|
5658
5632
|
exports["default"] = exports.Twitch = void 0;
|
|
5659
5633
|
|
|
5660
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5634
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5661
5635
|
|
|
5662
5636
|
|
|
5663
5637
|
|
|
@@ -5873,7 +5847,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5873
5847
|
});
|
|
5874
5848
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5875
5849
|
|
|
5876
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5850
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5877
5851
|
|
|
5878
5852
|
|
|
5879
5853
|
|
|
@@ -6109,7 +6083,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6109
6083
|
});
|
|
6110
6084
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6111
6085
|
|
|
6112
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6086
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6113
6087
|
|
|
6114
6088
|
|
|
6115
6089
|
|
|
@@ -6308,7 +6282,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6308
6282
|
});
|
|
6309
6283
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6310
6284
|
|
|
6311
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6285
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6312
6286
|
|
|
6313
6287
|
|
|
6314
6288
|
|
|
@@ -6875,7 +6849,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6875
6849
|
});
|
|
6876
6850
|
exports["default"] = void 0;
|
|
6877
6851
|
|
|
6878
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6852
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6879
6853
|
|
|
6880
6854
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6881
6855
|
|
|
@@ -7054,7 +7028,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7054
7028
|
});
|
|
7055
7029
|
exports["default"] = renderPreloadPlayers;
|
|
7056
7030
|
|
|
7057
|
-
var _react = _interopRequireDefault(React__default[
|
|
7031
|
+
var _react = _interopRequireDefault(React__default["default"]);
|
|
7058
7032
|
|
|
7059
7033
|
var _Player = _interopRequireDefault(Player_1);
|
|
7060
7034
|
|
|
@@ -7193,7 +7167,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7193
7167
|
});
|
|
7194
7168
|
exports["default"] = void 0;
|
|
7195
7169
|
|
|
7196
|
-
var _react = _interopRequireWildcard(React__default[
|
|
7170
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
7197
7171
|
|
|
7198
7172
|
|
|
7199
7173
|
|
|
@@ -7509,7 +7483,7 @@ var Audio = function Audio(_ref) {
|
|
|
7509
7483
|
var audioSource = node && node.uploadAudio ? node.uploadAudio.asset.url : '';
|
|
7510
7484
|
var reportPlay = function reportPlay() {
|
|
7511
7485
|
console.log('Reporting audio playback play to GA');
|
|
7512
|
-
ReactGA__default[
|
|
7486
|
+
ReactGA__default["default"].event({
|
|
7513
7487
|
category: 'User',
|
|
7514
7488
|
action: 'Audio Play',
|
|
7515
7489
|
label: 'Play: ' + audioSource
|
|
@@ -7519,7 +7493,7 @@ var Audio = function Audio(_ref) {
|
|
|
7519
7493
|
};
|
|
7520
7494
|
var reportPause = function reportPause() {
|
|
7521
7495
|
console.log('Reporting audio playback pause to GA');
|
|
7522
|
-
ReactGA__default[
|
|
7496
|
+
ReactGA__default["default"].event({
|
|
7523
7497
|
category: 'User',
|
|
7524
7498
|
action: 'Audio Pause',
|
|
7525
7499
|
label: 'Pause: ' + audioSource
|
|
@@ -7529,7 +7503,7 @@ var Audio = function Audio(_ref) {
|
|
|
7529
7503
|
};
|
|
7530
7504
|
var reportEnd = function reportEnd() {
|
|
7531
7505
|
console.log('Reporting audio playback end to GA');
|
|
7532
|
-
ReactGA__default[
|
|
7506
|
+
ReactGA__default["default"].event({
|
|
7533
7507
|
category: 'User',
|
|
7534
7508
|
action: 'Audio Playback End',
|
|
7535
7509
|
label: 'Playback End: ' + audioSource
|
|
@@ -7538,10 +7512,10 @@ var Audio = function Audio(_ref) {
|
|
|
7538
7512
|
}));
|
|
7539
7513
|
};
|
|
7540
7514
|
if (node.uploadAudio) {
|
|
7541
|
-
return React__default[
|
|
7515
|
+
return React__default["default"].createElement(
|
|
7542
7516
|
'div',
|
|
7543
7517
|
{ className: 'audio d-block text-center mb-3' },
|
|
7544
|
-
React__default[
|
|
7518
|
+
React__default["default"].createElement(
|
|
7545
7519
|
'audio',
|
|
7546
7520
|
{
|
|
7547
7521
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7550,14 +7524,14 @@ var Audio = function Audio(_ref) {
|
|
|
7550
7524
|
onPause: reportPause,
|
|
7551
7525
|
onEnded: reportEnd
|
|
7552
7526
|
},
|
|
7553
|
-
React__default[
|
|
7554
|
-
React__default[
|
|
7527
|
+
React__default["default"].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7528
|
+
React__default["default"].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7555
7529
|
'Your browser does not support the audio element.'
|
|
7556
7530
|
),
|
|
7557
|
-
node.caption && React__default[
|
|
7531
|
+
node.caption && React__default["default"].createElement(
|
|
7558
7532
|
'p',
|
|
7559
7533
|
{ style: { fontSize: '.9rem' } },
|
|
7560
|
-
React__default[
|
|
7534
|
+
React__default["default"].createElement(
|
|
7561
7535
|
'em',
|
|
7562
7536
|
null,
|
|
7563
7537
|
node.caption
|
|
@@ -7567,15 +7541,15 @@ var Audio = function Audio(_ref) {
|
|
|
7567
7541
|
} else if (node.audioFilePth) {
|
|
7568
7542
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7569
7543
|
if (hostname === 'embeds.audioboom.com') {
|
|
7570
|
-
return React__default[
|
|
7544
|
+
return React__default["default"].createElement(
|
|
7571
7545
|
'div',
|
|
7572
7546
|
null,
|
|
7573
|
-
React__default[
|
|
7547
|
+
React__default["default"].createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7574
7548
|
' ',
|
|
7575
|
-
node.caption && React__default[
|
|
7549
|
+
node.caption && React__default["default"].createElement(
|
|
7576
7550
|
'p',
|
|
7577
7551
|
{ style: { fontSize: '.9rem' } },
|
|
7578
|
-
React__default[
|
|
7552
|
+
React__default["default"].createElement(
|
|
7579
7553
|
'em',
|
|
7580
7554
|
null,
|
|
7581
7555
|
node.caption
|
|
@@ -7583,10 +7557,10 @@ var Audio = function Audio(_ref) {
|
|
|
7583
7557
|
)
|
|
7584
7558
|
);
|
|
7585
7559
|
}
|
|
7586
|
-
return React__default[
|
|
7560
|
+
return React__default["default"].createElement(
|
|
7587
7561
|
'div',
|
|
7588
7562
|
{ className: 'audio' },
|
|
7589
|
-
React__default[
|
|
7563
|
+
React__default["default"].createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7590
7564
|
onPlay: reportPlay,
|
|
7591
7565
|
onPause: reportPause,
|
|
7592
7566
|
onEnded: reportEnd,
|
|
@@ -7594,10 +7568,10 @@ var Audio = function Audio(_ref) {
|
|
|
7594
7568
|
width: '100%',
|
|
7595
7569
|
height: '100%'
|
|
7596
7570
|
}),
|
|
7597
|
-
node.caption && React__default[
|
|
7571
|
+
node.caption && React__default["default"].createElement(
|
|
7598
7572
|
'p',
|
|
7599
7573
|
{ style: { fontSize: '.9rem' } },
|
|
7600
|
-
React__default[
|
|
7574
|
+
React__default["default"].createElement(
|
|
7601
7575
|
'em',
|
|
7602
7576
|
null,
|
|
7603
7577
|
node.caption
|
|
@@ -7616,34 +7590,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7616
7590
|
var showAuthorDetails = arguments[7];
|
|
7617
7591
|
|
|
7618
7592
|
if (authorName && authorURL) {
|
|
7619
|
-
return React__default[
|
|
7593
|
+
return React__default["default"].createElement(
|
|
7620
7594
|
'span',
|
|
7621
7595
|
null,
|
|
7622
|
-
React__default[
|
|
7596
|
+
React__default["default"].createElement(
|
|
7623
7597
|
'a',
|
|
7624
7598
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7625
7599
|
authorName
|
|
7626
7600
|
),
|
|
7627
|
-
showAuthorDetails && React__default[
|
|
7601
|
+
showAuthorDetails && React__default["default"].createElement(
|
|
7628
7602
|
reactBootstrap.Card,
|
|
7629
7603
|
{ className: 'author-details-card-' + index },
|
|
7630
|
-
React__default[
|
|
7604
|
+
React__default["default"].createElement(
|
|
7631
7605
|
reactBootstrap.Row,
|
|
7632
7606
|
null,
|
|
7633
|
-
profileImage && React__default[
|
|
7607
|
+
profileImage && React__default["default"].createElement(
|
|
7634
7608
|
reactBootstrap.Col,
|
|
7635
7609
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7636
|
-
React__default[
|
|
7610
|
+
React__default["default"].createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7637
7611
|
),
|
|
7638
|
-
React__default[
|
|
7612
|
+
React__default["default"].createElement(
|
|
7639
7613
|
reactBootstrap.Col,
|
|
7640
7614
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7641
|
-
React__default[
|
|
7615
|
+
React__default["default"].createElement(
|
|
7642
7616
|
'div',
|
|
7643
7617
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7644
7618
|
authorName
|
|
7645
7619
|
),
|
|
7646
|
-
React__default[
|
|
7620
|
+
React__default["default"].createElement(
|
|
7647
7621
|
'p',
|
|
7648
7622
|
null,
|
|
7649
7623
|
biography
|
|
@@ -7651,7 +7625,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7651
7625
|
)
|
|
7652
7626
|
)
|
|
7653
7627
|
),
|
|
7654
|
-
React__default[
|
|
7628
|
+
React__default["default"].createElement(
|
|
7655
7629
|
'style',
|
|
7656
7630
|
{ jsx: 'true' },
|
|
7657
7631
|
'\n .author-details-card-' + index + ' {\n display: none;\n position: absolute;\n width: 90%;\n max-width: 450px;\n z-index: 9999;\n }\n .author-details-card-' + index + ' h5 {\n font-weight: 500;\n }\n .author-details-link-' + index + ':hover + .author-details-card-' + index + ', .author-details-card-' + index + ':hover {\n display: block;\n box-shadow: 0px 0px 5px #aaa;\n padding: 15px;\n border-radius: 5px;\n }\n '
|
|
@@ -7659,7 +7633,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7659
7633
|
length !== index + 1 && ', '
|
|
7660
7634
|
);
|
|
7661
7635
|
} else if (authorName) {
|
|
7662
|
-
return React__default[
|
|
7636
|
+
return React__default["default"].createElement(
|
|
7663
7637
|
'span',
|
|
7664
7638
|
{ key: index },
|
|
7665
7639
|
authorName,
|
|
@@ -7931,44 +7905,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7931
7905
|
}
|
|
7932
7906
|
};
|
|
7933
7907
|
|
|
7934
|
-
return React__default[
|
|
7908
|
+
return React__default["default"].createElement(
|
|
7935
7909
|
'div',
|
|
7936
7910
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7937
|
-
React__default[
|
|
7911
|
+
React__default["default"].createElement(
|
|
7938
7912
|
'div',
|
|
7939
7913
|
{ className: 'mt-2 mb-5' },
|
|
7940
|
-
series && React__default[
|
|
7914
|
+
series && React__default["default"].createElement(
|
|
7941
7915
|
'div',
|
|
7942
7916
|
{ style: { fontSize: '0.9rem' } },
|
|
7943
7917
|
article.title,
|
|
7944
7918
|
' - Episode ',
|
|
7945
7919
|
series
|
|
7946
7920
|
),
|
|
7947
|
-
Videos[series - 1] && React__default[
|
|
7921
|
+
Videos[series - 1] && React__default["default"].createElement(
|
|
7948
7922
|
'h1',
|
|
7949
7923
|
{ className: 'mb-3' },
|
|
7950
7924
|
Videos[series - 1].title
|
|
7951
7925
|
),
|
|
7952
|
-
React__default[
|
|
7926
|
+
React__default["default"].createElement(
|
|
7953
7927
|
'div',
|
|
7954
7928
|
null,
|
|
7955
7929
|
moment.moment(article.published).format('LL')
|
|
7956
7930
|
),
|
|
7957
|
-
React__default[
|
|
7931
|
+
React__default["default"].createElement(
|
|
7958
7932
|
'div',
|
|
7959
7933
|
{ className: 'mb-3' },
|
|
7960
7934
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7961
|
-
return React__default[
|
|
7935
|
+
return React__default["default"].createElement(
|
|
7962
7936
|
'span',
|
|
7963
7937
|
{ key: index },
|
|
7964
7938
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7965
7939
|
);
|
|
7966
7940
|
})
|
|
7967
7941
|
),
|
|
7968
|
-
React__default[
|
|
7942
|
+
React__default["default"].createElement(
|
|
7969
7943
|
'p',
|
|
7970
7944
|
null,
|
|
7971
|
-
React__default[
|
|
7945
|
+
React__default["default"].createElement(SocialShare, {
|
|
7972
7946
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7973
7947
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7974
7948
|
shareVia: meta.shareVia,
|
|
@@ -7983,20 +7957,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7983
7957
|
hideFacebook: meta.hideFBShare
|
|
7984
7958
|
})
|
|
7985
7959
|
),
|
|
7986
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default[
|
|
7960
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default["default"].createElement(
|
|
7987
7961
|
'p',
|
|
7988
7962
|
{ className: 'mb-3' },
|
|
7989
|
-
React__default[
|
|
7963
|
+
React__default["default"].createElement(
|
|
7990
7964
|
'em',
|
|
7991
7965
|
null,
|
|
7992
7966
|
Videos[series - 1].intro
|
|
7993
7967
|
)
|
|
7994
7968
|
)
|
|
7995
7969
|
),
|
|
7996
|
-
React__default[
|
|
7970
|
+
React__default["default"].createElement(
|
|
7997
7971
|
'div',
|
|
7998
7972
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7999
|
-
vidUrl && vidType == 'youtube' && React__default[
|
|
7973
|
+
vidUrl && vidType == 'youtube' && React__default["default"].createElement(YouTube, {
|
|
8000
7974
|
className: 'fluid-iframe',
|
|
8001
7975
|
videoId: index$1.getYoutubeId(vidUrl),
|
|
8002
7976
|
opts: opts,
|
|
@@ -8007,10 +7981,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8007
7981
|
return handleOnEnd(e);
|
|
8008
7982
|
}
|
|
8009
7983
|
}),
|
|
8010
|
-
vidUrl && vidType == 'mp4' && React__default[
|
|
8011
|
-
vidUrl && vidType == 'brightcove' && React__default[
|
|
8012
|
-
React__default[
|
|
8013
|
-
series && React__default[
|
|
7984
|
+
vidUrl && vidType == 'mp4' && React__default["default"].createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7985
|
+
vidUrl && vidType == 'brightcove' && React__default["default"].createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7986
|
+
React__default["default"].createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7987
|
+
series && React__default["default"].createElement(
|
|
8014
7988
|
'div',
|
|
8015
7989
|
{
|
|
8016
7990
|
className: 'vid-series',
|
|
@@ -8020,10 +7994,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8020
7994
|
maxHeight: '100%',
|
|
8021
7995
|
paddingBottom: '0'
|
|
8022
7996
|
} },
|
|
8023
|
-
React__default[
|
|
7997
|
+
React__default["default"].createElement(
|
|
8024
7998
|
'p',
|
|
8025
7999
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
8026
|
-
React__default[
|
|
8000
|
+
React__default["default"].createElement(
|
|
8027
8001
|
'b',
|
|
8028
8002
|
{ style: { fontSize: '1.25em' } },
|
|
8029
8003
|
'Now Playing:'
|
|
@@ -8031,16 +8005,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8031
8005
|
' ',
|
|
8032
8006
|
seriesData[series ? series - 1 : 0].title
|
|
8033
8007
|
),
|
|
8034
|
-
vidUrl && React__default[
|
|
8008
|
+
vidUrl && React__default["default"].createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8035
8009
|
)
|
|
8036
8010
|
),
|
|
8037
|
-
React__default[
|
|
8038
|
-
React__default[
|
|
8011
|
+
React__default["default"].createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8012
|
+
React__default["default"].createElement(
|
|
8039
8013
|
'div',
|
|
8040
8014
|
{ className: 'vid-text' },
|
|
8041
|
-
Videos[series - 1] && Videos[series - 1].text && React__default[
|
|
8015
|
+
Videos[series - 1] && Videos[series - 1].text && React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
8042
8016
|
),
|
|
8043
|
-
React__default[
|
|
8017
|
+
React__default["default"].createElement(
|
|
8044
8018
|
'style',
|
|
8045
8019
|
{ jsx: 'true' },
|
|
8046
8020
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8093,67 +8067,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8093
8067
|
return acc;
|
|
8094
8068
|
}
|
|
8095
8069
|
}, 0);
|
|
8096
|
-
return React__default[
|
|
8097
|
-
React__default[
|
|
8070
|
+
return React__default["default"].createElement(
|
|
8071
|
+
React__default["default"].Fragment,
|
|
8098
8072
|
null,
|
|
8099
|
-
question && React__default[
|
|
8073
|
+
question && React__default["default"].createElement(
|
|
8100
8074
|
'p',
|
|
8101
8075
|
{ className: 'font-weight-bold' },
|
|
8102
8076
|
question
|
|
8103
8077
|
),
|
|
8104
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8078
|
+
!showAnswer && choices && choices.length > 0 && React__default["default"].createElement(
|
|
8105
8079
|
'form',
|
|
8106
8080
|
{ onSubmit: function onSubmit(e) {
|
|
8107
8081
|
return onSubmitPoll(e);
|
|
8108
8082
|
} },
|
|
8109
8083
|
choices && choices.map(function (choice) {
|
|
8110
|
-
return React__default[
|
|
8084
|
+
return React__default["default"].createElement(
|
|
8111
8085
|
'div',
|
|
8112
8086
|
{ key: choice._key },
|
|
8113
|
-
React__default[
|
|
8087
|
+
React__default["default"].createElement(
|
|
8114
8088
|
'label',
|
|
8115
8089
|
{ className: 'pl-2' },
|
|
8116
|
-
React__default[
|
|
8090
|
+
React__default["default"].createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8117
8091
|
return setSelectedChoice(e.target.value);
|
|
8118
8092
|
} }),
|
|
8119
8093
|
' ' + choice.choiceText
|
|
8120
8094
|
)
|
|
8121
8095
|
);
|
|
8122
8096
|
}),
|
|
8123
|
-
React__default[
|
|
8097
|
+
React__default["default"].createElement(
|
|
8124
8098
|
reactBootstrap.Button,
|
|
8125
8099
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8126
8100
|
'Vote'
|
|
8127
8101
|
)
|
|
8128
8102
|
),
|
|
8129
|
-
React__default[
|
|
8103
|
+
React__default["default"].createElement(
|
|
8130
8104
|
'div',
|
|
8131
8105
|
{ className: 'progress-container' },
|
|
8132
8106
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8133
8107
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8134
|
-
return React__default[
|
|
8108
|
+
return React__default["default"].createElement(
|
|
8135
8109
|
'div',
|
|
8136
8110
|
{ key: choice._key, className: 'mb-3' },
|
|
8137
|
-
React__default[
|
|
8111
|
+
React__default["default"].createElement(
|
|
8138
8112
|
'div',
|
|
8139
8113
|
{ className: 'correct-answer' },
|
|
8140
|
-
React__default[
|
|
8114
|
+
React__default["default"].createElement(
|
|
8141
8115
|
'div',
|
|
8142
8116
|
null,
|
|
8143
8117
|
choice.choiceText
|
|
8144
8118
|
),
|
|
8145
|
-
choice.choiceAnswer === true && React__default[
|
|
8119
|
+
choice.choiceAnswer === true && React__default["default"].createElement(
|
|
8146
8120
|
'div',
|
|
8147
8121
|
null,
|
|
8148
|
-
React__default[
|
|
8122
|
+
React__default["default"].createElement(
|
|
8149
8123
|
'span',
|
|
8150
8124
|
{ style: { color: 'limegreen' } },
|
|
8151
8125
|
'Correct!'
|
|
8152
8126
|
)
|
|
8153
8127
|
)
|
|
8154
8128
|
),
|
|
8155
|
-
React__default[
|
|
8156
|
-
React__default[
|
|
8129
|
+
React__default["default"].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8130
|
+
React__default["default"].createElement(
|
|
8157
8131
|
'span',
|
|
8158
8132
|
{ className: 'float-right' },
|
|
8159
8133
|
percentage,
|
|
@@ -8164,14 +8138,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8164
8138
|
);
|
|
8165
8139
|
})
|
|
8166
8140
|
),
|
|
8167
|
-
showAnswer && React__default[
|
|
8141
|
+
showAnswer && React__default["default"].createElement(
|
|
8168
8142
|
'h4',
|
|
8169
8143
|
{ className: 'text-center small p-3' },
|
|
8170
8144
|
'Total Votes: ',
|
|
8171
8145
|
choicesTotalCount
|
|
8172
8146
|
),
|
|
8173
|
-
showAnswer && response && React__default[
|
|
8174
|
-
React__default[
|
|
8147
|
+
showAnswer && response && React__default["default"].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8148
|
+
React__default["default"].createElement(
|
|
8175
8149
|
'style',
|
|
8176
8150
|
{ jsx: 'true' },
|
|
8177
8151
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8270,67 +8244,67 @@ var Poll = function Poll(_ref) {
|
|
|
8270
8244
|
return acc;
|
|
8271
8245
|
}
|
|
8272
8246
|
}, 0);
|
|
8273
|
-
return React__default[
|
|
8274
|
-
React__default[
|
|
8247
|
+
return React__default["default"].createElement(
|
|
8248
|
+
React__default["default"].Fragment,
|
|
8275
8249
|
null,
|
|
8276
|
-
question && React__default[
|
|
8250
|
+
question && React__default["default"].createElement(
|
|
8277
8251
|
'p',
|
|
8278
8252
|
{ className: 'font-weight-bold' },
|
|
8279
8253
|
question
|
|
8280
8254
|
),
|
|
8281
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8255
|
+
!showAnswer && choices && choices.length > 0 && React__default["default"].createElement(
|
|
8282
8256
|
'form',
|
|
8283
8257
|
{ onSubmit: function onSubmit(e) {
|
|
8284
8258
|
return onSubmitPoll(e);
|
|
8285
8259
|
} },
|
|
8286
8260
|
choices && choices.map(function (choice) {
|
|
8287
|
-
return React__default[
|
|
8261
|
+
return React__default["default"].createElement(
|
|
8288
8262
|
'div',
|
|
8289
8263
|
{ key: choice._key },
|
|
8290
|
-
React__default[
|
|
8264
|
+
React__default["default"].createElement(
|
|
8291
8265
|
'label',
|
|
8292
8266
|
{ className: 'pl-2' },
|
|
8293
|
-
React__default[
|
|
8267
|
+
React__default["default"].createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8294
8268
|
return setSelectedChoice(e.target.value);
|
|
8295
8269
|
} }),
|
|
8296
8270
|
' ' + choice.choiceText
|
|
8297
8271
|
)
|
|
8298
8272
|
);
|
|
8299
8273
|
}),
|
|
8300
|
-
React__default[
|
|
8274
|
+
React__default["default"].createElement(
|
|
8301
8275
|
reactBootstrap.Button,
|
|
8302
8276
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8303
8277
|
'Vote'
|
|
8304
8278
|
)
|
|
8305
8279
|
),
|
|
8306
|
-
React__default[
|
|
8280
|
+
React__default["default"].createElement(
|
|
8307
8281
|
'div',
|
|
8308
8282
|
{ className: 'progress-container' },
|
|
8309
8283
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8310
8284
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8311
|
-
return React__default[
|
|
8285
|
+
return React__default["default"].createElement(
|
|
8312
8286
|
'div',
|
|
8313
8287
|
{ key: choice._key, className: 'mb-3' },
|
|
8314
|
-
React__default[
|
|
8288
|
+
React__default["default"].createElement(
|
|
8315
8289
|
'div',
|
|
8316
8290
|
{ className: 'correct-answer' },
|
|
8317
|
-
React__default[
|
|
8291
|
+
React__default["default"].createElement(
|
|
8318
8292
|
'div',
|
|
8319
8293
|
null,
|
|
8320
8294
|
choice.choiceText
|
|
8321
8295
|
),
|
|
8322
|
-
choice.choiceAnswer === true && React__default[
|
|
8296
|
+
choice.choiceAnswer === true && React__default["default"].createElement(
|
|
8323
8297
|
'div',
|
|
8324
8298
|
null,
|
|
8325
|
-
React__default[
|
|
8299
|
+
React__default["default"].createElement(
|
|
8326
8300
|
'span',
|
|
8327
8301
|
{ style: { color: 'limegreen' } },
|
|
8328
8302
|
'Correct!'
|
|
8329
8303
|
)
|
|
8330
8304
|
)
|
|
8331
8305
|
),
|
|
8332
|
-
React__default[
|
|
8333
|
-
React__default[
|
|
8306
|
+
React__default["default"].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8307
|
+
React__default["default"].createElement(
|
|
8334
8308
|
'span',
|
|
8335
8309
|
{ className: 'float-right' },
|
|
8336
8310
|
percentage,
|
|
@@ -8341,14 +8315,14 @@ var Poll = function Poll(_ref) {
|
|
|
8341
8315
|
);
|
|
8342
8316
|
})
|
|
8343
8317
|
),
|
|
8344
|
-
showAnswer && React__default[
|
|
8318
|
+
showAnswer && React__default["default"].createElement(
|
|
8345
8319
|
'h4',
|
|
8346
8320
|
{ className: 'text-center small p-3' },
|
|
8347
8321
|
'Total Votes: ',
|
|
8348
8322
|
choicesTotalCount
|
|
8349
8323
|
),
|
|
8350
|
-
showAnswer && response && React__default[
|
|
8351
|
-
React__default[
|
|
8324
|
+
showAnswer && response && React__default["default"].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8325
|
+
React__default["default"].createElement(
|
|
8352
8326
|
'style',
|
|
8353
8327
|
{ jsx: 'true' },
|
|
8354
8328
|
'\n .correct-answer {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 0 0.5rem;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8490,34 +8464,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8490
8464
|
};
|
|
8491
8465
|
|
|
8492
8466
|
var renderPagination = function renderPagination() {
|
|
8493
|
-
return React__default[
|
|
8494
|
-
Pagination__default[
|
|
8467
|
+
return React__default["default"].createElement(
|
|
8468
|
+
Pagination__default["default"],
|
|
8495
8469
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8496
|
-
React__default[
|
|
8470
|
+
React__default["default"].createElement(Pagination__default["default"].First, { onClick: function onClick() {
|
|
8497
8471
|
return changePage('first');
|
|
8498
8472
|
}, disabled: currentPage === 1 }),
|
|
8499
|
-
React__default[
|
|
8473
|
+
React__default["default"].createElement(Pagination__default["default"].Prev, { onClick: function onClick() {
|
|
8500
8474
|
return changePage('prev');
|
|
8501
8475
|
}, disabled: currentPage === 1 }),
|
|
8502
|
-
React__default[
|
|
8476
|
+
React__default["default"].createElement(Pagination__default["default"].Ellipsis, { onClick: function onClick() {
|
|
8503
8477
|
return renderNewPages('prev');
|
|
8504
8478
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8505
8479
|
pages.map(function (page) {
|
|
8506
|
-
return React__default[
|
|
8507
|
-
Pagination__default[
|
|
8480
|
+
return React__default["default"].createElement(
|
|
8481
|
+
Pagination__default["default"].Item,
|
|
8508
8482
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8509
8483
|
return changePage(page);
|
|
8510
8484
|
} },
|
|
8511
8485
|
page
|
|
8512
8486
|
);
|
|
8513
8487
|
}),
|
|
8514
|
-
React__default[
|
|
8488
|
+
React__default["default"].createElement(Pagination__default["default"].Ellipsis, { onClick: function onClick() {
|
|
8515
8489
|
return renderNewPages('next');
|
|
8516
8490
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8517
|
-
React__default[
|
|
8491
|
+
React__default["default"].createElement(Pagination__default["default"].Next, { onClick: function onClick() {
|
|
8518
8492
|
return changePage('next');
|
|
8519
8493
|
}, disabled: currentPage === pageCount }),
|
|
8520
|
-
React__default[
|
|
8494
|
+
React__default["default"].createElement(Pagination__default["default"].Last, { onClick: function onClick() {
|
|
8521
8495
|
return changePage('last');
|
|
8522
8496
|
}, disabled: currentPage === pageCount })
|
|
8523
8497
|
);
|
|
@@ -8628,49 +8602,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8628
8602
|
}
|
|
8629
8603
|
};
|
|
8630
8604
|
|
|
8631
|
-
return React__default[
|
|
8632
|
-
React__default[
|
|
8605
|
+
return React__default["default"].createElement(
|
|
8606
|
+
React__default["default"].Fragment,
|
|
8633
8607
|
null,
|
|
8634
|
-
quizzes[currentPage - 1] && React__default[
|
|
8635
|
-
React__default[
|
|
8608
|
+
quizzes[currentPage - 1] && React__default["default"].createElement(
|
|
8609
|
+
React__default["default"].Fragment,
|
|
8636
8610
|
null,
|
|
8637
|
-
React__default[
|
|
8638
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default[
|
|
8611
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8612
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default["default"].createElement(
|
|
8639
8613
|
'form',
|
|
8640
8614
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8641
8615
|
return e.preventDefault();
|
|
8642
8616
|
} },
|
|
8643
8617
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8644
|
-
return React__default[
|
|
8618
|
+
return React__default["default"].createElement(
|
|
8645
8619
|
'div',
|
|
8646
8620
|
{ key: answer._key },
|
|
8647
|
-
React__default[
|
|
8621
|
+
React__default["default"].createElement(
|
|
8648
8622
|
'label',
|
|
8649
8623
|
{ className: 'pl-2' },
|
|
8650
|
-
quizzes[currentPage - 1].multiAnswer ? React__default[
|
|
8624
|
+
quizzes[currentPage - 1].multiAnswer ? React__default["default"].createElement('input', { type: 'checkbox', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }) : React__default["default"].createElement('input', { type: 'radio', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }),
|
|
8651
8625
|
' ' + answer.answerText
|
|
8652
8626
|
)
|
|
8653
8627
|
);
|
|
8654
8628
|
})
|
|
8655
8629
|
)
|
|
8656
8630
|
),
|
|
8657
|
-
!showAnswer && React__default[
|
|
8658
|
-
Button__default[
|
|
8631
|
+
!showAnswer && React__default["default"].createElement(
|
|
8632
|
+
Button__default["default"],
|
|
8659
8633
|
{ onClick: function onClick(e) {
|
|
8660
8634
|
return checkAnswers(e);
|
|
8661
8635
|
}, variant: 'info', block: true },
|
|
8662
8636
|
'Please click here for answer'
|
|
8663
8637
|
),
|
|
8664
|
-
quizzes[currentPage - 1] && showAnswer && React__default[
|
|
8665
|
-
React__default[
|
|
8638
|
+
quizzes[currentPage - 1] && showAnswer && React__default["default"].createElement(
|
|
8639
|
+
React__default["default"].Fragment,
|
|
8666
8640
|
null,
|
|
8667
|
-
quizzes[currentPage - 1].answer && React__default[
|
|
8641
|
+
quizzes[currentPage - 1].answer && React__default["default"].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8668
8642
|
),
|
|
8669
|
-
React__default[
|
|
8670
|
-
firstRender && React__default[
|
|
8671
|
-
React__default[
|
|
8643
|
+
React__default["default"].createElement('br', null),
|
|
8644
|
+
firstRender && React__default["default"].createElement(
|
|
8645
|
+
React__default["default"].Fragment,
|
|
8672
8646
|
null,
|
|
8673
|
-
pageCount > 1 && currentPage && React__default[
|
|
8647
|
+
pageCount > 1 && currentPage && React__default["default"].createElement(
|
|
8674
8648
|
'div',
|
|
8675
8649
|
{ className: 'd-flex justify-content-center' },
|
|
8676
8650
|
renderPagination()
|
|
@@ -8682,15 +8656,15 @@ var Quiz = function Quiz(_ref) {
|
|
|
8682
8656
|
var Leads = function Leads(_ref) {
|
|
8683
8657
|
var url = _ref.url;
|
|
8684
8658
|
|
|
8685
|
-
return React__default[
|
|
8659
|
+
return React__default["default"].createElement(
|
|
8686
8660
|
'div',
|
|
8687
8661
|
{ className: 'd-block text-center mb-3' },
|
|
8688
|
-
React__default[
|
|
8662
|
+
React__default["default"].createElement(
|
|
8689
8663
|
'style',
|
|
8690
8664
|
{ jsx: 'true' },
|
|
8691
8665
|
'\n @media screen and (max-width: 1190px) {\n .leads-block {\n min-height: 2000px;\n }\n }\n @media screen and (min-width: 1191px) {\n .leads-block {\n min-height: 1500px;\n }\n }\n '
|
|
8692
8666
|
),
|
|
8693
|
-
url && React__default[
|
|
8667
|
+
url && React__default["default"].createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8694
8668
|
);
|
|
8695
8669
|
};
|
|
8696
8670
|
|
|
@@ -8732,49 +8706,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8732
8706
|
if (pageview) pageview(href);
|
|
8733
8707
|
};
|
|
8734
8708
|
|
|
8735
|
-
return React__default[
|
|
8709
|
+
return React__default["default"].createElement(
|
|
8736
8710
|
'div',
|
|
8737
8711
|
{ className: 'mt-3 mb-4' },
|
|
8738
|
-
React__default[
|
|
8712
|
+
React__default["default"].createElement(
|
|
8739
8713
|
reactBootstrap.Carousel,
|
|
8740
8714
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8741
8715
|
slides && slides.map(function (slide) {
|
|
8742
8716
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8743
|
-
return React__default[
|
|
8717
|
+
return React__default["default"].createElement(
|
|
8744
8718
|
reactBootstrap.Carousel.Item,
|
|
8745
8719
|
{ key: slide._key },
|
|
8746
|
-
React__default[
|
|
8720
|
+
React__default["default"].createElement(
|
|
8747
8721
|
'a',
|
|
8748
8722
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8749
|
-
React__default[
|
|
8723
|
+
React__default["default"].createElement(
|
|
8750
8724
|
'div',
|
|
8751
8725
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8752
|
-
React__default[
|
|
8726
|
+
React__default["default"].createElement(
|
|
8753
8727
|
'picture',
|
|
8754
8728
|
null,
|
|
8755
|
-
React__default[
|
|
8756
|
-
React__default[
|
|
8757
|
-
React__default[
|
|
8758
|
-
React__default[
|
|
8729
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8730
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8731
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8732
|
+
React__default["default"].createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8759
8733
|
)
|
|
8760
8734
|
)
|
|
8761
8735
|
),
|
|
8762
|
-
React__default[
|
|
8736
|
+
React__default["default"].createElement(
|
|
8763
8737
|
'div',
|
|
8764
8738
|
{ className: 'p-2' },
|
|
8765
|
-
slide.slideshowImage.caption && React__default[
|
|
8739
|
+
slide.slideshowImage.caption && React__default["default"].createElement(
|
|
8766
8740
|
'h3',
|
|
8767
8741
|
{ style: { padding: '0px' } },
|
|
8768
8742
|
slide.slideshowImage.caption
|
|
8769
8743
|
),
|
|
8770
|
-
slide.description && React__default[
|
|
8744
|
+
slide.description && React__default["default"].createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8771
8745
|
)
|
|
8772
8746
|
);
|
|
8773
8747
|
}
|
|
8774
8748
|
return null;
|
|
8775
8749
|
})
|
|
8776
8750
|
),
|
|
8777
|
-
React__default[
|
|
8751
|
+
React__default["default"].createElement(
|
|
8778
8752
|
'style',
|
|
8779
8753
|
{ jsx: 'true' },
|
|
8780
8754
|
'\n .embed-item-img {\n max-width: 100%;\n max-height: 750px;\n }\n .carousel-indicators {\n bottom: -2.5rem !important;\n }\n .carousel-indicators li {\n width: 20px;\n height: 20px;\n border-radius: 50% !important;\n background-color: var(--secondary);\n }\n .carousel-control-prev {\n justify-content: flex-start;\n }\n .carousel-control-next {\n justify-content: flex-end;\n }\n '
|
|
@@ -8793,10 +8767,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8793
8767
|
sizes = _props$node.sizes,
|
|
8794
8768
|
sizeMapping = _props$node.sizeMapping;
|
|
8795
8769
|
|
|
8796
|
-
return React__default[
|
|
8770
|
+
return React__default["default"].createElement(
|
|
8797
8771
|
'div',
|
|
8798
8772
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8799
|
-
React__default[
|
|
8773
|
+
React__default["default"].createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8800
8774
|
);
|
|
8801
8775
|
};
|
|
8802
8776
|
|
|
@@ -8807,15 +8781,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8807
8781
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8808
8782
|
|
|
8809
8783
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8810
|
-
return React__default[
|
|
8784
|
+
return React__default["default"].createElement(
|
|
8811
8785
|
'section',
|
|
8812
8786
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8813
|
-
Caption && React__default[
|
|
8787
|
+
Caption && React__default["default"].createElement(
|
|
8814
8788
|
'h4',
|
|
8815
8789
|
{ className: 'formstack-caption' },
|
|
8816
8790
|
Caption
|
|
8817
8791
|
),
|
|
8818
|
-
React__default[
|
|
8792
|
+
React__default["default"].createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8819
8793
|
);
|
|
8820
8794
|
};
|
|
8821
8795
|
|
|
@@ -8831,36 +8805,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8831
8805
|
}
|
|
8832
8806
|
});
|
|
8833
8807
|
if (medias && medias.length > 0) {
|
|
8834
|
-
return React__default[
|
|
8808
|
+
return React__default["default"].createElement(
|
|
8835
8809
|
'div',
|
|
8836
8810
|
{ className: 'multi-media-container' },
|
|
8837
|
-
React__default[
|
|
8838
|
-
Row__default[
|
|
8811
|
+
React__default["default"].createElement(
|
|
8812
|
+
Row__default["default"],
|
|
8839
8813
|
{ noGutters: true },
|
|
8840
8814
|
medias.map(function (media) {
|
|
8841
|
-
return React__default[
|
|
8842
|
-
Col__default[
|
|
8815
|
+
return React__default["default"].createElement(
|
|
8816
|
+
Col__default["default"],
|
|
8843
8817
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8844
|
-
React__default[
|
|
8818
|
+
React__default["default"].createElement(
|
|
8845
8819
|
'a',
|
|
8846
8820
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8847
8821
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8848
|
-
React__default[
|
|
8822
|
+
React__default["default"].createElement(
|
|
8849
8823
|
'div',
|
|
8850
8824
|
{ className: 'multi-media-image-container' },
|
|
8851
|
-
imageBox && React__default[
|
|
8825
|
+
imageBox && React__default["default"].createElement(
|
|
8852
8826
|
index$2.LazyLoad,
|
|
8853
8827
|
{ once: true },
|
|
8854
|
-
React__default[
|
|
8828
|
+
React__default["default"].createElement(
|
|
8855
8829
|
'picture',
|
|
8856
8830
|
null,
|
|
8857
|
-
React__default[
|
|
8858
|
-
React__default[
|
|
8859
|
-
React__default[
|
|
8860
|
-
React__default[
|
|
8831
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8832
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8833
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8834
|
+
React__default["default"].createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8861
8835
|
)
|
|
8862
8836
|
),
|
|
8863
|
-
media.caption && React__default[
|
|
8837
|
+
media.caption && React__default["default"].createElement(
|
|
8864
8838
|
'span',
|
|
8865
8839
|
{ className: 'multi-media-caption' },
|
|
8866
8840
|
media.caption
|
|
@@ -8870,7 +8844,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8870
8844
|
);
|
|
8871
8845
|
})
|
|
8872
8846
|
),
|
|
8873
|
-
React__default[
|
|
8847
|
+
React__default["default"].createElement(
|
|
8874
8848
|
'style',
|
|
8875
8849
|
{ jsx: 'true' },
|
|
8876
8850
|
'\n .multi-media-container {\n margin-bottom: 1rem;\n }\n .multi-media-image {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-media-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-media-image[images-count=\'4\'] {\n height: 100px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 130px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 200px;\n }\n .multi-media-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-media-image[images-count=\'4\'] {\n height: 150px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 200px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 300px;\n }\n }\n\n .multi-media-caption {\n font-size: 90%;\n color: #6c757d;\n }\n '
|
|
@@ -8917,7 +8891,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8917
8891
|
}
|
|
8918
8892
|
};
|
|
8919
8893
|
|
|
8920
|
-
_this.wraperRef = React__default[
|
|
8894
|
+
_this.wraperRef = React__default["default"].createRef();
|
|
8921
8895
|
_this.visible = false;
|
|
8922
8896
|
return _this;
|
|
8923
8897
|
}
|
|
@@ -8945,7 +8919,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8945
8919
|
_props$id = _props.id,
|
|
8946
8920
|
id = _props$id === undefined ? '' : _props$id;
|
|
8947
8921
|
|
|
8948
|
-
return React__default[
|
|
8922
|
+
return React__default["default"].createElement(
|
|
8949
8923
|
'div',
|
|
8950
8924
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8951
8925
|
this.props.children
|
|
@@ -8954,7 +8928,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8954
8928
|
}]);
|
|
8955
8929
|
|
|
8956
8930
|
return InscreenSensor;
|
|
8957
|
-
}(React__default[
|
|
8931
|
+
}(React__default["default"].Component);
|
|
8958
8932
|
|
|
8959
8933
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8960
8934
|
var nodes = _ref.nodes,
|
|
@@ -9065,33 +9039,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9065
9039
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9066
9040
|
var showReading = show ? 'showReading' : '';
|
|
9067
9041
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9068
|
-
return React__default[
|
|
9042
|
+
return React__default["default"].createElement(
|
|
9069
9043
|
'div',
|
|
9070
9044
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9071
|
-
React__default[
|
|
9045
|
+
React__default["default"].createElement(
|
|
9072
9046
|
'a',
|
|
9073
9047
|
{ onClick: function onClick(e) {
|
|
9074
9048
|
return articleCardClickHandler(e);
|
|
9075
9049
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9076
|
-
React__default[
|
|
9050
|
+
React__default["default"].createElement(
|
|
9077
9051
|
'div',
|
|
9078
9052
|
{ className: 'prevNext-thumbnail' },
|
|
9079
|
-
React__default[
|
|
9080
|
-
React__default[
|
|
9053
|
+
React__default["default"].createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9054
|
+
React__default["default"].createElement(
|
|
9081
9055
|
'div',
|
|
9082
9056
|
{ className: 'prevNext-reading ' + showReading },
|
|
9083
9057
|
articleLabel
|
|
9084
9058
|
)
|
|
9085
9059
|
),
|
|
9086
|
-
React__default[
|
|
9060
|
+
React__default["default"].createElement(
|
|
9087
9061
|
'div',
|
|
9088
9062
|
{ className: 'prevNext-summary' },
|
|
9089
|
-
React__default[
|
|
9063
|
+
React__default["default"].createElement(
|
|
9090
9064
|
'div',
|
|
9091
9065
|
{ className: 'prevNext-publishDate' },
|
|
9092
9066
|
moment.moment(article.published).format('LL')
|
|
9093
9067
|
),
|
|
9094
|
-
React__default[
|
|
9068
|
+
React__default["default"].createElement(
|
|
9095
9069
|
'h2',
|
|
9096
9070
|
{ className: 'prevNext-title' },
|
|
9097
9071
|
article.title
|
|
@@ -9140,7 +9114,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9140
9114
|
|
|
9141
9115
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9142
9116
|
if (biography) {
|
|
9143
|
-
return React__default[
|
|
9117
|
+
return React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9144
9118
|
}
|
|
9145
9119
|
};
|
|
9146
9120
|
|
|
@@ -9298,40 +9272,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9298
9272
|
setSensorVisible(false);
|
|
9299
9273
|
};
|
|
9300
9274
|
|
|
9301
|
-
return React__default[
|
|
9302
|
-
React__default[
|
|
9275
|
+
return React__default["default"].createElement(
|
|
9276
|
+
React__default["default"].Fragment,
|
|
9303
9277
|
null,
|
|
9304
|
-
React__default[
|
|
9278
|
+
React__default["default"].createElement(
|
|
9305
9279
|
'div',
|
|
9306
9280
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9307
|
-
React__default[
|
|
9281
|
+
React__default["default"].createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9308
9282
|
return handleArrowClick();
|
|
9309
9283
|
} })
|
|
9310
9284
|
),
|
|
9311
|
-
React__default[
|
|
9312
|
-
React__default[
|
|
9285
|
+
React__default["default"].createElement('hr', { className: 'article-seperater my-4' }),
|
|
9286
|
+
React__default["default"].createElement(
|
|
9313
9287
|
'div',
|
|
9314
9288
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9315
|
-
React__default[
|
|
9289
|
+
React__default["default"].createElement(
|
|
9316
9290
|
'h5',
|
|
9317
9291
|
{ className: 'objective-title' },
|
|
9318
9292
|
nodes.seriesTitle
|
|
9319
9293
|
),
|
|
9320
|
-
React__default[
|
|
9294
|
+
React__default["default"].createElement(
|
|
9321
9295
|
'div',
|
|
9322
9296
|
{ className: 'prevNextWrapper' },
|
|
9323
9297
|
PrevNextCards(false, -1)
|
|
9324
9298
|
)
|
|
9325
9299
|
),
|
|
9326
|
-
React__default[
|
|
9327
|
-
React__default[
|
|
9300
|
+
React__default["default"].createElement('hr', { className: 'article-seperater' }),
|
|
9301
|
+
React__default["default"].createElement(
|
|
9328
9302
|
'div',
|
|
9329
9303
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9330
9304
|
Articles.map(function (article, index) {
|
|
9331
|
-
return React__default[
|
|
9305
|
+
return React__default["default"].createElement(
|
|
9332
9306
|
'div',
|
|
9333
9307
|
{ key: article.title },
|
|
9334
|
-
React__default[
|
|
9308
|
+
React__default["default"].createElement(
|
|
9335
9309
|
InscreenSensor,
|
|
9336
9310
|
{
|
|
9337
9311
|
visible: sensorVisible,
|
|
@@ -9349,82 +9323,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9349
9323
|
}
|
|
9350
9324
|
}
|
|
9351
9325
|
} },
|
|
9352
|
-
React__default[
|
|
9353
|
-
Head__default[
|
|
9326
|
+
React__default["default"].createElement(
|
|
9327
|
+
Head__default["default"],
|
|
9354
9328
|
null,
|
|
9355
|
-
currentTitle !== null && React__default[
|
|
9329
|
+
currentTitle !== null && React__default["default"].createElement(
|
|
9356
9330
|
'title',
|
|
9357
9331
|
{ key: 'title' },
|
|
9358
9332
|
currentTitle
|
|
9359
9333
|
),
|
|
9360
|
-
currentSummary !== null && React__default[
|
|
9361
|
-
currentURL !== null && React__default[
|
|
9362
|
-
currentTitle !== null && React__default[
|
|
9363
|
-
currentThumbnail !== null && React__default[
|
|
9364
|
-
currentSummary !== null && React__default[
|
|
9365
|
-
currentTitle !== null && React__default[
|
|
9366
|
-
currentThumbnail !== null && React__default[
|
|
9367
|
-
currentSummary !== null && React__default[
|
|
9334
|
+
currentSummary !== null && React__default["default"].createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9335
|
+
currentURL !== null && React__default["default"].createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9336
|
+
currentTitle !== null && React__default["default"].createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9337
|
+
currentThumbnail !== null && React__default["default"].createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9338
|
+
currentSummary !== null && React__default["default"].createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9339
|
+
currentTitle !== null && React__default["default"].createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9340
|
+
currentThumbnail !== null && React__default["default"].createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9341
|
+
currentSummary !== null && React__default["default"].createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9368
9342
|
),
|
|
9369
|
-
React__default[
|
|
9343
|
+
React__default["default"].createElement(
|
|
9370
9344
|
'article',
|
|
9371
9345
|
{ className: 'article-wrapper' },
|
|
9372
|
-
React__default[
|
|
9346
|
+
React__default["default"].createElement(
|
|
9373
9347
|
'div',
|
|
9374
9348
|
{ className: 'article-publishDate' },
|
|
9375
9349
|
moment.moment(article.published).format('LL')
|
|
9376
9350
|
),
|
|
9377
|
-
React__default[
|
|
9351
|
+
React__default["default"].createElement(
|
|
9378
9352
|
'div',
|
|
9379
9353
|
{ className: 'author-details-wrapper' },
|
|
9380
9354
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9381
|
-
return React__default[
|
|
9355
|
+
return React__default["default"].createElement(
|
|
9382
9356
|
'span',
|
|
9383
9357
|
{ key: index },
|
|
9384
9358
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9385
9359
|
);
|
|
9386
9360
|
})
|
|
9387
9361
|
),
|
|
9388
|
-
React__default[
|
|
9362
|
+
React__default["default"].createElement(
|
|
9389
9363
|
'h2',
|
|
9390
9364
|
{ className: 'article-title' },
|
|
9391
9365
|
article.title
|
|
9392
9366
|
),
|
|
9393
|
-
React__default[
|
|
9367
|
+
React__default["default"].createElement(
|
|
9394
9368
|
'div',
|
|
9395
9369
|
{ className: 'mt-2 mb-2' },
|
|
9396
|
-
React__default[
|
|
9370
|
+
React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({
|
|
9397
9371
|
serializers: getSerializers,
|
|
9398
9372
|
videoAccountIDs: accountIDs,
|
|
9399
9373
|
blocks: article.text,
|
|
9400
9374
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9401
9375
|
}, client.config())),
|
|
9402
|
-
React__default[
|
|
9376
|
+
React__default["default"].createElement('hr', { className: 'article-seperater my-4' })
|
|
9403
9377
|
),
|
|
9404
|
-
Articles.length > 1 && React__default[
|
|
9405
|
-
React__default[
|
|
9378
|
+
Articles.length > 1 && React__default["default"].createElement(
|
|
9379
|
+
React__default["default"].Fragment,
|
|
9406
9380
|
null,
|
|
9407
|
-
React__default[
|
|
9381
|
+
React__default["default"].createElement(
|
|
9408
9382
|
'div',
|
|
9409
9383
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9410
|
-
React__default[
|
|
9384
|
+
React__default["default"].createElement(
|
|
9411
9385
|
'h5',
|
|
9412
9386
|
{ className: 'objective-title' },
|
|
9413
9387
|
nodes.seriesTitle
|
|
9414
9388
|
),
|
|
9415
|
-
React__default[
|
|
9389
|
+
React__default["default"].createElement(
|
|
9416
9390
|
'div',
|
|
9417
9391
|
{ className: 'prevNextWrapper' },
|
|
9418
9392
|
PrevNextCards(true, index)
|
|
9419
9393
|
)
|
|
9420
9394
|
),
|
|
9421
|
-
React__default[
|
|
9395
|
+
React__default["default"].createElement('hr', { className: 'article-seperater' })
|
|
9422
9396
|
)
|
|
9423
9397
|
)
|
|
9424
9398
|
)
|
|
9425
9399
|
);
|
|
9426
9400
|
}),
|
|
9427
|
-
React__default[
|
|
9401
|
+
React__default["default"].createElement(
|
|
9428
9402
|
'style',
|
|
9429
9403
|
{ jsx: 'true' },
|
|
9430
9404
|
'\n .scrollToTopArrow {\n position: fixed;\n top: 150px;\n display: flex;\n justify-content: center;\n width: ' + contentWidth + 'px;\n opacity: 1;\n z-index: 99999999999;\n visibility: hidden;\n }\n .scrollToTopArrow > svg {\n min-height: 50px;\n min-width: 50px;\n max-height: 50px;\n max-width: 50px;\n }\n .block-content > div p {\n padding: 0;\n }\n\n h2.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.prevNext-title {\n padding: 0;\n font-size: 1rem;\n font-weight: 500;\n }\n .article-wrapper {\n border: 1px solid #252525;\n border-radius: 5px;\n padding: 1rem 1rem 0 1rem;\n margin-bottom: 1rem;\n }\n .prevNext-reading {\n margin-top: -10px;\n width: 75%;\n text-align: center;\n background: white;\n border: 1px solid #252525;\n align-self: center;\n display: none;\n }\n .showReading {\n display: block;\n }\n .author-details-wrapper a {\n color: #252525;\n }\n .objective-prevNext-Wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n .objective-title {\n padding: 0 !important;\n }\n .prevNext-thumbnail {\n display: flex;\n flex-direction: column;\n min-width: 225px;\n max-width: 225px;\n overflow: hidden;\n align-items: center;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-thumbnail img {\n height: 125px;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-summary {\n text-align: center;\n }\n .prevNext-publishDate {\n font-size: 0.75rem;\n margin-top: 0.5rem;\n }\n .prevNext-title {\n padding: 0 !important;\n line-height: 1 !important;\n font-weight: 500;\n }\n .prevNextWrapper {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n flex-wrap: wrap;\n }\n .prevNextWrapper a {\n display: flex;\n flex-direction: column;\n color: #252525;\n align-items: center;\n }\n .prevNextCards {\n max-width: 250px;\n margin-bottom: 1rem;\n }\n @media only screen and (max-width: 568px) {\n .prevNextWrapper {\n flex-direction: column;\n align-items: center;\n }\n .prevNextCards {\n margin-bottom: 2rem;\n }\n }\n @media only screen and (max-width: 568px) {\n }\n '
|
|
@@ -9454,11 +9428,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9454
9428
|
};
|
|
9455
9429
|
}, [handleClickOutside]);
|
|
9456
9430
|
|
|
9457
|
-
return React__default[
|
|
9431
|
+
return React__default["default"].createElement(
|
|
9458
9432
|
'div',
|
|
9459
9433
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9460
|
-
React__default[
|
|
9461
|
-
React__default[
|
|
9434
|
+
React__default["default"].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9435
|
+
React__default["default"].createElement(
|
|
9462
9436
|
'style',
|
|
9463
9437
|
{ jsx: 'true' },
|
|
9464
9438
|
'\n /*Eliminates padding, centers the thumbnail */\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9472,7 +9446,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9472
9446
|
}
|
|
9473
9447
|
};
|
|
9474
9448
|
|
|
9475
|
-
var FigureImage$1 = React__default[
|
|
9449
|
+
var FigureImage$1 = React__default["default"].memo(function (_ref2) {
|
|
9476
9450
|
var node = _ref2.node,
|
|
9477
9451
|
client = _ref2.client,
|
|
9478
9452
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9480,13 +9454,13 @@ var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
|
9480
9454
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9481
9455
|
|
|
9482
9456
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9483
|
-
return React__default[
|
|
9457
|
+
return React__default["default"].createElement(
|
|
9484
9458
|
'picture',
|
|
9485
9459
|
null,
|
|
9486
|
-
React__default[
|
|
9487
|
-
React__default[
|
|
9488
|
-
React__default[
|
|
9489
|
-
React__default[
|
|
9460
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9461
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9462
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9463
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9490
9464
|
style: figureImageStyle,
|
|
9491
9465
|
className: 'figure-image',
|
|
9492
9466
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9537,30 +9511,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9537
9511
|
|
|
9538
9512
|
var renderTooltip = function renderTooltip(props) {
|
|
9539
9513
|
if (infoBox[0].title) {
|
|
9540
|
-
return React__default[
|
|
9541
|
-
Popover__default[
|
|
9514
|
+
return React__default["default"].createElement(
|
|
9515
|
+
Popover__default["default"],
|
|
9542
9516
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9543
|
-
React__default[
|
|
9544
|
-
Popover__default[
|
|
9517
|
+
React__default["default"].createElement(
|
|
9518
|
+
Popover__default["default"].Title,
|
|
9545
9519
|
{ as: 'h3' },
|
|
9546
9520
|
infoBox[0].title
|
|
9547
9521
|
),
|
|
9548
|
-
React__default[
|
|
9549
|
-
Popover__default[
|
|
9522
|
+
React__default["default"].createElement(
|
|
9523
|
+
Popover__default["default"].Content,
|
|
9550
9524
|
null,
|
|
9551
|
-
React__default[
|
|
9525
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9552
9526
|
)
|
|
9553
9527
|
);
|
|
9554
9528
|
} else {
|
|
9555
|
-
return React__default[
|
|
9556
|
-
Tooltip__default[
|
|
9529
|
+
return React__default["default"].createElement(
|
|
9530
|
+
Tooltip__default["default"],
|
|
9557
9531
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9558
|
-
React__default[
|
|
9532
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9559
9533
|
);
|
|
9560
9534
|
}
|
|
9561
9535
|
};
|
|
9562
9536
|
|
|
9563
|
-
var FigureImageWOverLay = React__default[
|
|
9537
|
+
var FigureImageWOverLay = React__default["default"].memo(function (_ref3) {
|
|
9564
9538
|
var node = _ref3.node,
|
|
9565
9539
|
client = _ref3.client,
|
|
9566
9540
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9570,13 +9544,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9570
9544
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9571
9545
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9572
9546
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9573
|
-
return React__default[
|
|
9547
|
+
return React__default["default"].createElement(
|
|
9574
9548
|
'picture',
|
|
9575
9549
|
null,
|
|
9576
|
-
React__default[
|
|
9577
|
-
React__default[
|
|
9578
|
-
React__default[
|
|
9579
|
-
main.main_42 && link ? React__default[
|
|
9550
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9551
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9552
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9553
|
+
main.main_42 && link ? React__default["default"].createElement('img', _extends._extends({
|
|
9580
9554
|
style: figureImageStyle,
|
|
9581
9555
|
className: 'figure-image',
|
|
9582
9556
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9585,10 +9559,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9585
9559
|
onClick: function onClick() {
|
|
9586
9560
|
return handleClickFigure(node, client);
|
|
9587
9561
|
}
|
|
9588
|
-
})) : React__default[
|
|
9589
|
-
OverlayTrigger__default[
|
|
9562
|
+
})) : React__default["default"].createElement(
|
|
9563
|
+
OverlayTrigger__default["default"],
|
|
9590
9564
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9591
|
-
React__default[
|
|
9565
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9592
9566
|
style: figureImageStyle,
|
|
9593
9567
|
className: 'figure-image',
|
|
9594
9568
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9642,13 +9616,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9642
9616
|
|
|
9643
9617
|
var FigureCaption = React.useCallback(function () {
|
|
9644
9618
|
if (imgcaption && imgcaption.length > 0) {
|
|
9645
|
-
return React__default[
|
|
9619
|
+
return React__default["default"].createElement(
|
|
9646
9620
|
'div',
|
|
9647
9621
|
{ className: 'figure-caption' },
|
|
9648
|
-
React__default[
|
|
9622
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9649
9623
|
);
|
|
9650
9624
|
} else if (caption) {
|
|
9651
|
-
return React__default[
|
|
9625
|
+
return React__default["default"].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9652
9626
|
} else return null;
|
|
9653
9627
|
}, [caption, imgcaption]);
|
|
9654
9628
|
|
|
@@ -9665,24 +9639,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9665
9639
|
setShowLightbox(true);
|
|
9666
9640
|
}, [node, client]);
|
|
9667
9641
|
|
|
9668
|
-
return React__default[
|
|
9669
|
-
React__default[
|
|
9642
|
+
return React__default["default"].createElement(
|
|
9643
|
+
React__default["default"].Fragment,
|
|
9670
9644
|
null,
|
|
9671
|
-
infoBox.length >= 1 ? React__default[
|
|
9672
|
-
Figure__default[
|
|
9645
|
+
infoBox.length >= 1 ? React__default["default"].createElement(
|
|
9646
|
+
Figure__default["default"],
|
|
9673
9647
|
{ className: '' + class_name, style: figureStyle },
|
|
9674
|
-
link ? React__default[
|
|
9648
|
+
link ? React__default["default"].createElement(
|
|
9675
9649
|
'a',
|
|
9676
9650
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9677
|
-
React__default[
|
|
9678
|
-
React__default[
|
|
9679
|
-
) : React__default[
|
|
9680
|
-
React__default[
|
|
9651
|
+
React__default["default"].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9652
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9653
|
+
) : React__default["default"].createElement(
|
|
9654
|
+
React__default["default"].Fragment,
|
|
9681
9655
|
null,
|
|
9682
|
-
React__default[
|
|
9683
|
-
React__default[
|
|
9656
|
+
React__default["default"].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9657
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9684
9658
|
),
|
|
9685
|
-
React__default[
|
|
9659
|
+
React__default["default"].createElement(LightBox, {
|
|
9686
9660
|
showLightbox: showLightbox,
|
|
9687
9661
|
lightboxImgSrc: lightboxImgSrc,
|
|
9688
9662
|
closeLightbox: function closeLightbox() {
|
|
@@ -9690,21 +9664,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9690
9664
|
setShowLightbox(false);
|
|
9691
9665
|
}
|
|
9692
9666
|
})
|
|
9693
|
-
) : React__default[
|
|
9694
|
-
Figure__default[
|
|
9667
|
+
) : React__default["default"].createElement(
|
|
9668
|
+
Figure__default["default"],
|
|
9695
9669
|
{ className: '' + class_name, style: figureStyle },
|
|
9696
|
-
link ? React__default[
|
|
9670
|
+
link ? React__default["default"].createElement(
|
|
9697
9671
|
'a',
|
|
9698
9672
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9699
|
-
React__default[
|
|
9700
|
-
React__default[
|
|
9701
|
-
) : React__default[
|
|
9702
|
-
React__default[
|
|
9673
|
+
React__default["default"].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9674
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9675
|
+
) : React__default["default"].createElement(
|
|
9676
|
+
React__default["default"].Fragment,
|
|
9703
9677
|
null,
|
|
9704
|
-
React__default[
|
|
9705
|
-
React__default[
|
|
9678
|
+
React__default["default"].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9679
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9706
9680
|
),
|
|
9707
|
-
React__default[
|
|
9681
|
+
React__default["default"].createElement(LightBox, {
|
|
9708
9682
|
showLightbox: showLightbox,
|
|
9709
9683
|
lightboxImgSrc: lightboxImgSrc,
|
|
9710
9684
|
closeLightbox: function closeLightbox() {
|
|
@@ -9713,7 +9687,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9713
9687
|
}
|
|
9714
9688
|
})
|
|
9715
9689
|
),
|
|
9716
|
-
React__default[
|
|
9690
|
+
React__default["default"].createElement(
|
|
9717
9691
|
'style',
|
|
9718
9692
|
{ jsx: 'true' },
|
|
9719
9693
|
'\n .figure-caption,\n .figure-caption h1,\n .figure-caption h2,\n .figure-caption h3,\n .figure-caption h4,\n .figure-caption h5,\n .figure-caption h6,\n .figure-caption p,\n .figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n '
|
|
@@ -9721,7 +9695,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9721
9695
|
);
|
|
9722
9696
|
};
|
|
9723
9697
|
|
|
9724
|
-
var Figure = React__default[
|
|
9698
|
+
var Figure = React__default["default"].memo(FigureComponent, compareProps);
|
|
9725
9699
|
|
|
9726
9700
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9727
9701
|
React.useEffect(function () {
|
|
@@ -9738,7 +9712,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9738
9712
|
}, [ref]);
|
|
9739
9713
|
}
|
|
9740
9714
|
|
|
9741
|
-
var FigureImage = React__default[
|
|
9715
|
+
var FigureImage = React__default["default"].memo(function (_ref) {
|
|
9742
9716
|
var imagesCount = _ref.imagesCount,
|
|
9743
9717
|
image = _ref.image,
|
|
9744
9718
|
client = _ref.client,
|
|
@@ -9746,13 +9720,13 @@ var FigureImage = React__default['default'].memo(function (_ref) {
|
|
|
9746
9720
|
link = _ref.link,
|
|
9747
9721
|
handleClickFigure = _ref.handleClickFigure;
|
|
9748
9722
|
|
|
9749
|
-
return React__default[
|
|
9723
|
+
return React__default["default"].createElement(
|
|
9750
9724
|
'picture',
|
|
9751
9725
|
null,
|
|
9752
|
-
React__default[
|
|
9753
|
-
React__default[
|
|
9754
|
-
React__default[
|
|
9755
|
-
React__default[
|
|
9726
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9727
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9728
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9729
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9756
9730
|
'images-count': imagesCount,
|
|
9757
9731
|
className: 'multi-figure-image',
|
|
9758
9732
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9789,13 +9763,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9789
9763
|
imgcaption = _ref2.imgcaption;
|
|
9790
9764
|
|
|
9791
9765
|
if (imgcaption && imgcaption.length > 0) {
|
|
9792
|
-
return React__default[
|
|
9766
|
+
return React__default["default"].createElement(
|
|
9793
9767
|
'div',
|
|
9794
9768
|
{ className: 'multi-figure-caption' },
|
|
9795
|
-
React__default[
|
|
9769
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9796
9770
|
);
|
|
9797
9771
|
} else if (caption) {
|
|
9798
|
-
return React__default[
|
|
9772
|
+
return React__default["default"].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9799
9773
|
} else return null;
|
|
9800
9774
|
};
|
|
9801
9775
|
|
|
@@ -9804,7 +9778,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9804
9778
|
setOpenImg(true);
|
|
9805
9779
|
}, [client]);
|
|
9806
9780
|
|
|
9807
|
-
var FigureImageWOverLay = React__default[
|
|
9781
|
+
var FigureImageWOverLay = React__default["default"].memo(function (_ref3) {
|
|
9808
9782
|
var imagesCount = _ref3.imagesCount,
|
|
9809
9783
|
image = _ref3.image,
|
|
9810
9784
|
client = _ref3.client,
|
|
@@ -9814,13 +9788,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9814
9788
|
|
|
9815
9789
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9816
9790
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9817
|
-
return React__default[
|
|
9791
|
+
return React__default["default"].createElement(
|
|
9818
9792
|
'picture',
|
|
9819
9793
|
null,
|
|
9820
|
-
React__default[
|
|
9821
|
-
React__default[
|
|
9822
|
-
React__default[
|
|
9823
|
-
main.main_42 && link ? React__default[
|
|
9794
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9795
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9796
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9797
|
+
main.main_42 && link ? React__default["default"].createElement('img', _extends._extends({
|
|
9824
9798
|
'images-count': imagesCount,
|
|
9825
9799
|
className: 'multi-figure-image',
|
|
9826
9800
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9829,10 +9803,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9829
9803
|
onClick: function onClick() {
|
|
9830
9804
|
return handleClickFigure(image, client);
|
|
9831
9805
|
}
|
|
9832
|
-
})) : React__default[
|
|
9833
|
-
OverlayTrigger__default[
|
|
9806
|
+
})) : React__default["default"].createElement(
|
|
9807
|
+
OverlayTrigger__default["default"],
|
|
9834
9808
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9835
|
-
React__default[
|
|
9809
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9836
9810
|
'images-count': imagesCount,
|
|
9837
9811
|
className: 'multi-figure-image',
|
|
9838
9812
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9848,102 +9822,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9848
9822
|
|
|
9849
9823
|
var renderTooltip = function renderTooltip(image) {
|
|
9850
9824
|
if (image.infoBox[0].title) {
|
|
9851
|
-
return React__default[
|
|
9852
|
-
Popover__default[
|
|
9825
|
+
return React__default["default"].createElement(
|
|
9826
|
+
Popover__default["default"],
|
|
9853
9827
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9854
|
-
React__default[
|
|
9855
|
-
Popover__default[
|
|
9828
|
+
React__default["default"].createElement(
|
|
9829
|
+
Popover__default["default"].Title,
|
|
9856
9830
|
{ as: 'h3' },
|
|
9857
9831
|
image.infoBox[0].title
|
|
9858
9832
|
),
|
|
9859
|
-
React__default[
|
|
9860
|
-
Popover__default[
|
|
9833
|
+
React__default["default"].createElement(
|
|
9834
|
+
Popover__default["default"].Content,
|
|
9861
9835
|
null,
|
|
9862
|
-
React__default[
|
|
9836
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9863
9837
|
)
|
|
9864
9838
|
);
|
|
9865
9839
|
} else {
|
|
9866
|
-
return React__default[
|
|
9867
|
-
Tooltip__default[
|
|
9840
|
+
return React__default["default"].createElement(
|
|
9841
|
+
Tooltip__default["default"],
|
|
9868
9842
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9869
|
-
React__default[
|
|
9843
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9870
9844
|
);
|
|
9871
9845
|
}
|
|
9872
9846
|
};
|
|
9873
9847
|
|
|
9874
9848
|
if (images && images.length > 0) {
|
|
9875
|
-
return React__default[
|
|
9849
|
+
return React__default["default"].createElement(
|
|
9876
9850
|
'div',
|
|
9877
9851
|
{ className: 'multi-figure-container' },
|
|
9878
|
-
React__default[
|
|
9879
|
-
Row__default[
|
|
9852
|
+
React__default["default"].createElement(
|
|
9853
|
+
Row__default["default"],
|
|
9880
9854
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9881
9855
|
images.map(function (image, index) {
|
|
9882
9856
|
if (image.infoBox) {
|
|
9883
|
-
return React__default[
|
|
9884
|
-
Col__default[
|
|
9857
|
+
return React__default["default"].createElement(
|
|
9858
|
+
Col__default["default"],
|
|
9885
9859
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9886
|
-
image.link ? React__default[
|
|
9860
|
+
image.link ? React__default["default"].createElement(
|
|
9887
9861
|
'a',
|
|
9888
9862
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9889
|
-
React__default[
|
|
9863
|
+
React__default["default"].createElement(
|
|
9890
9864
|
'div',
|
|
9891
9865
|
{ className: 'multi-figure-image-container' },
|
|
9892
|
-
React__default[
|
|
9866
|
+
React__default["default"].createElement(
|
|
9893
9867
|
index$2.LazyLoad,
|
|
9894
9868
|
{ once: true },
|
|
9895
|
-
React__default[
|
|
9869
|
+
React__default["default"].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9896
9870
|
),
|
|
9897
|
-
React__default[
|
|
9871
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9898
9872
|
)
|
|
9899
|
-
) : React__default[
|
|
9873
|
+
) : React__default["default"].createElement(
|
|
9900
9874
|
'div',
|
|
9901
9875
|
{ className: 'multi-figure-image-container' },
|
|
9902
|
-
React__default[
|
|
9876
|
+
React__default["default"].createElement(
|
|
9903
9877
|
index$2.LazyLoad,
|
|
9904
9878
|
{ once: true },
|
|
9905
|
-
React__default[
|
|
9879
|
+
React__default["default"].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9906
9880
|
),
|
|
9907
|
-
React__default[
|
|
9881
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9908
9882
|
)
|
|
9909
9883
|
);
|
|
9910
9884
|
} else {
|
|
9911
|
-
return React__default[
|
|
9912
|
-
Col__default[
|
|
9885
|
+
return React__default["default"].createElement(
|
|
9886
|
+
Col__default["default"],
|
|
9913
9887
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9914
|
-
image.link ? React__default[
|
|
9888
|
+
image.link ? React__default["default"].createElement(
|
|
9915
9889
|
'a',
|
|
9916
9890
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9917
|
-
React__default[
|
|
9891
|
+
React__default["default"].createElement(
|
|
9918
9892
|
'div',
|
|
9919
9893
|
{ className: 'multi-figure-image-container' },
|
|
9920
|
-
React__default[
|
|
9894
|
+
React__default["default"].createElement(
|
|
9921
9895
|
index$2.LazyLoad,
|
|
9922
9896
|
{ once: true },
|
|
9923
|
-
React__default[
|
|
9897
|
+
React__default["default"].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9924
9898
|
),
|
|
9925
|
-
React__default[
|
|
9899
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9926
9900
|
)
|
|
9927
|
-
) : React__default[
|
|
9901
|
+
) : React__default["default"].createElement(
|
|
9928
9902
|
'div',
|
|
9929
9903
|
{ className: 'multi-figure-image-container' },
|
|
9930
|
-
React__default[
|
|
9904
|
+
React__default["default"].createElement(
|
|
9931
9905
|
index$2.LazyLoad,
|
|
9932
9906
|
{ once: true },
|
|
9933
|
-
React__default[
|
|
9907
|
+
React__default["default"].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9934
9908
|
),
|
|
9935
|
-
React__default[
|
|
9909
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9936
9910
|
)
|
|
9937
9911
|
);
|
|
9938
9912
|
}
|
|
9939
9913
|
})
|
|
9940
9914
|
),
|
|
9941
|
-
React__default[
|
|
9915
|
+
React__default["default"].createElement(
|
|
9942
9916
|
'div',
|
|
9943
9917
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9944
|
-
React__default[
|
|
9918
|
+
React__default["default"].createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9945
9919
|
),
|
|
9946
|
-
React__default[
|
|
9920
|
+
React__default["default"].createElement(
|
|
9947
9921
|
'style',
|
|
9948
9922
|
{ jsx: 'true' },
|
|
9949
9923
|
'\n .multi-figure-caption,\n .multi-figure-caption h1,\n .multi-figure-caption h2,\n .multi-figure-caption h3,\n .multi-figure-caption h4,\n .multi-figure-caption h5,\n .multi-figure-caption h6,\n .multi-figure-caption p,\n .multi-figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n\n .multi-figure-container {\n margin-bottom: 1rem;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n object-fit: contain;\n cursor: pointer;\n }\n .multi-figure-image-container {\n padding-right: 0.5rem;\n }\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-figure-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 100px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 130px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 200px;\n }\n .multi-figure-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 150px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 200px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 300px;\n }\n }\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9992,23 +9966,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9992
9966
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9993
9967
|
}, []);
|
|
9994
9968
|
|
|
9995
|
-
return React__default[
|
|
9996
|
-
React__default[
|
|
9969
|
+
return React__default["default"].createElement(
|
|
9970
|
+
React__default["default"].Fragment,
|
|
9997
9971
|
null,
|
|
9998
|
-
React__default[
|
|
9999
|
-
Head__default[
|
|
9972
|
+
React__default["default"].createElement(
|
|
9973
|
+
Head__default["default"],
|
|
10000
9974
|
null,
|
|
10001
|
-
React__default[
|
|
9975
|
+
React__default["default"].createElement('script', {
|
|
10002
9976
|
dangerouslySetInnerHTML: {
|
|
10003
9977
|
__html: 'history.scrollRestoration = "manual"'
|
|
10004
9978
|
}
|
|
10005
9979
|
})
|
|
10006
9980
|
),
|
|
10007
|
-
React__default[
|
|
9981
|
+
React__default["default"].createElement(
|
|
10008
9982
|
'div',
|
|
10009
9983
|
{ id: elementId },
|
|
10010
|
-
React__default[
|
|
10011
|
-
React__default[
|
|
9984
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9985
|
+
React__default["default"].createElement(
|
|
10012
9986
|
'style',
|
|
10013
9987
|
{ jsx: 'true' },
|
|
10014
9988
|
'\n #' + elementId + '::before {\n display: block;\n content: \' \';\n margin-top: -' + (offsetHeight + offsetHeightBuffer) + 'px;\n height: ' + (offsetHeight + offsetHeightBuffer) + 'px;\n visibility: hidden;\n pointer-events: none;\n }\n '
|
|
@@ -10062,11 +10036,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
10062
10036
|
|
|
10063
10037
|
|
|
10064
10038
|
|
|
10065
|
-
var _react2 = _interopRequireDefault(React__default[
|
|
10039
|
+
var _react2 = _interopRequireDefault(React__default["default"]);
|
|
10066
10040
|
|
|
10067
10041
|
|
|
10068
10042
|
|
|
10069
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default[
|
|
10043
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default["default"]);
|
|
10070
10044
|
|
|
10071
10045
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10072
10046
|
var noop = function noop() {};
|
|
@@ -10221,7 +10195,7 @@ var ScriptTag = function (_Component) {
|
|
|
10221
10195
|
};
|
|
10222
10196
|
|
|
10223
10197
|
return ScriptTag;
|
|
10224
|
-
}(React__default[
|
|
10198
|
+
}(React__default["default"].Component);
|
|
10225
10199
|
|
|
10226
10200
|
ScriptTag.propTypes = {
|
|
10227
10201
|
/**
|
|
@@ -10313,11 +10287,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10313
10287
|
}, [anonymousID]);
|
|
10314
10288
|
|
|
10315
10289
|
if (iframeSrc) {
|
|
10316
|
-
return React__default[
|
|
10290
|
+
return React__default["default"].createElement(
|
|
10317
10291
|
'section',
|
|
10318
10292
|
{ className: 'form-assembly' },
|
|
10319
|
-
iframeSrc && React__default[
|
|
10320
|
-
React__default[
|
|
10293
|
+
iframeSrc && React__default["default"].createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10294
|
+
React__default["default"].createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10321
10295
|
);
|
|
10322
10296
|
}
|
|
10323
10297
|
|
|
@@ -10354,27 +10328,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10354
10328
|
return window.removeEventListener('resize', handleResize);
|
|
10355
10329
|
};
|
|
10356
10330
|
}, []);
|
|
10357
|
-
return React__default[
|
|
10331
|
+
return React__default["default"].createElement(
|
|
10358
10332
|
'div',
|
|
10359
10333
|
{ className: 'blockTableHolder', ref: holder },
|
|
10360
|
-
React__default[
|
|
10334
|
+
React__default["default"].createElement(
|
|
10361
10335
|
'div',
|
|
10362
10336
|
{ className: 'blockTable' },
|
|
10363
10337
|
rows && rows.map(function (row) {
|
|
10364
|
-
return React__default[
|
|
10338
|
+
return React__default["default"].createElement(
|
|
10365
10339
|
'div',
|
|
10366
10340
|
{ className: 'blockTableRow' },
|
|
10367
10341
|
row.cells && row.cells.map(function (cell) {
|
|
10368
|
-
return React__default[
|
|
10342
|
+
return React__default["default"].createElement(
|
|
10369
10343
|
'div',
|
|
10370
10344
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10371
|
-
React__default[
|
|
10345
|
+
React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10372
10346
|
);
|
|
10373
10347
|
})
|
|
10374
10348
|
);
|
|
10375
10349
|
})
|
|
10376
10350
|
),
|
|
10377
|
-
React__default[
|
|
10351
|
+
React__default["default"].createElement(
|
|
10378
10352
|
'style',
|
|
10379
10353
|
{ jsx: true },
|
|
10380
10354
|
'\n .blockTableRow {\n display: flex;\n ' + (showBorders && 'border-top: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTable {\n min-width: ' + minTableWidth + 'px;\n }\n .blockTableRow:last-of-type {\n ' + (showBorders && 'border-bottom: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell {\n padding: 0.5rem;\n ' + (showBorders && 'border-left: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell > div {\n width: 100%;\n }\n .blockTableCell > div p {\n margin: 0;\n }\n .blockTableCell > div figure {\n margin: 0 !important;\n }\n .blockTableCell > div figure img {\n margin: 0 !important;\n }\n .blockTableCell:last-of-type {\n ' + (showBorders && 'border-right: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n @media only screen and (max-width: 800px) {\n .blockTableCell {\n padding: 0.25rem;\n }\n }\n '
|
|
@@ -10388,7 +10362,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
|
10388
10362
|
_props$node.needSegmentSupport;
|
|
10389
10363
|
|
|
10390
10364
|
|
|
10391
|
-
return React__default[
|
|
10365
|
+
return React__default["default"].createElement('div', { id: FormID });
|
|
10392
10366
|
};
|
|
10393
10367
|
|
|
10394
10368
|
var siteArray = ['aestheticsauthority.com', 'ajmc.com', 'appliedclinicaltrialsonline.com', 'biopharminternational.com', 'cancernetwork.com', 'cannabissciencetech.com', 'centerforbiosimilars.com', 'chromatographyonline.com', 'contagionlive.com', 'contemporaryclinic.com', 'contemporaryobgyn.net', 'contemporarypediatrics.com', 'curetoday.com', 'dentalproductsreport.com', 'dermatologytimes.com', 'diagnosticimaging.com', 'drugtopics.com', 'dvm360.com', 'endocrinologynetwork.com', 'europe.ophthalmologytimes.com', 'formularywatch.com', 'hcplive.com', 'infectioncontroltoday.com', 'managedhealthcareexecutive.com', 'medicaleconomics.com', 'modernretina.com', 'neurologylive.com', 'nutritionaloutlook.com', 'onclive.com', 'oncnursingnews.com', 'ophthalmologytimes.com', 'optometrytimes.com', 'patientcareonline.com', 'pharmaceuticalcommerce.com', 'pharmacytimes.com', 'pharmexec.com', 'pharmtech.com', 'physicianspractice.com', 'practicalcardiology.com', 'psychiatrictimes.com', 'rheumatologynetwork.com', 'spectroscopyonline.com', 'targetedonc.com', 'turbomachinerymag.com', 'urologytimes.com'];
|
|
@@ -10441,10 +10415,12 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10441
10415
|
return ogUrl && ogUrl.includes(url.replace('www.', '').split('/').slice(0, 1).join('/')) || siteArray.includes(url.replace('www.', '').split('/').slice(0, 1).join('/')) ? true : false;
|
|
10442
10416
|
};
|
|
10443
10417
|
var checkNoFollow = function checkNoFollow(url, nofollow) {
|
|
10418
|
+
console.log(nofollow, '<<<<<<<<<<<<');
|
|
10419
|
+
|
|
10444
10420
|
if (url && !isExernalUrl || url && checkBaseUrl(url)) {
|
|
10445
10421
|
//if not external url, nofollow is disabled
|
|
10446
10422
|
return '';
|
|
10447
|
-
} else if (url && nofollow) {
|
|
10423
|
+
} else if (url && (nofollow || nofollow == undefined)) {
|
|
10448
10424
|
//if not external url and nofollow is enabled, nofollow
|
|
10449
10425
|
return 'nofollow';
|
|
10450
10426
|
} else {
|
|
@@ -10456,7 +10432,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10456
10432
|
if (href && href.charAt(0) === '#') {
|
|
10457
10433
|
var elementId = href.slice(1);
|
|
10458
10434
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10459
|
-
return React__default[
|
|
10435
|
+
return React__default["default"].createElement(
|
|
10460
10436
|
'a',
|
|
10461
10437
|
{ onClick: function onClick() {
|
|
10462
10438
|
return ScrollToElement(elementId);
|
|
@@ -10464,12 +10440,13 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10464
10440
|
children
|
|
10465
10441
|
);
|
|
10466
10442
|
}
|
|
10467
|
-
|
|
10468
|
-
|
|
10443
|
+
|
|
10444
|
+
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkBaseUrl(href) ? 'noreferrer noopener' : '');
|
|
10445
|
+
return href ? linkRel.trim().length > 0 ? React__default["default"].createElement(
|
|
10469
10446
|
'a',
|
|
10470
10447
|
_extends._extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10471
10448
|
children
|
|
10472
|
-
) : React__default[
|
|
10449
|
+
) : React__default["default"].createElement(
|
|
10473
10450
|
'a',
|
|
10474
10451
|
_extends._extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10475
10452
|
children
|
|
@@ -10534,12 +10511,12 @@ var getSerializers = function getSerializers() {
|
|
|
10534
10511
|
var node = _ref.node;
|
|
10535
10512
|
var url = node.url;
|
|
10536
10513
|
|
|
10537
|
-
return React__default[
|
|
10514
|
+
return React__default["default"].createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10538
10515
|
},
|
|
10539
10516
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10540
10517
|
var node = _ref2.node;
|
|
10541
10518
|
|
|
10542
|
-
return React__default[
|
|
10519
|
+
return React__default["default"].createElement(YouTubeGallery, {
|
|
10543
10520
|
nodes: node,
|
|
10544
10521
|
article: article,
|
|
10545
10522
|
meta: meta,
|
|
@@ -10553,7 +10530,7 @@ var getSerializers = function getSerializers() {
|
|
|
10553
10530
|
articleSeries: function articleSeries(_ref3) {
|
|
10554
10531
|
var node = _ref3.node;
|
|
10555
10532
|
|
|
10556
|
-
return React__default[
|
|
10533
|
+
return React__default["default"].createElement(ArticleSeries, {
|
|
10557
10534
|
nodes: node,
|
|
10558
10535
|
accountIDs: videoAccountIDs || {},
|
|
10559
10536
|
pageview: pageview,
|
|
@@ -10566,61 +10543,61 @@ var getSerializers = function getSerializers() {
|
|
|
10566
10543
|
figure: function figure(_ref4) {
|
|
10567
10544
|
var node = _ref4.node;
|
|
10568
10545
|
|
|
10569
|
-
return React__default[
|
|
10546
|
+
return React__default["default"].createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10570
10547
|
},
|
|
10571
10548
|
multifigure: function multifigure(_ref5) {
|
|
10572
10549
|
var node = _ref5.node;
|
|
10573
10550
|
|
|
10574
|
-
return React__default[
|
|
10551
|
+
return React__default["default"].createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10575
10552
|
},
|
|
10576
10553
|
slideshow: function slideshow(_ref6) {
|
|
10577
10554
|
var node = _ref6.node;
|
|
10578
10555
|
var slides = node.slides;
|
|
10579
10556
|
|
|
10580
|
-
return React__default[
|
|
10557
|
+
return React__default["default"].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10581
10558
|
},
|
|
10582
10559
|
sidebar: function sidebar(_ref7) {
|
|
10583
10560
|
var node = _ref7.node;
|
|
10584
10561
|
var caption = node.caption,
|
|
10585
10562
|
content = node.content;
|
|
10586
10563
|
|
|
10587
|
-
return React__default[
|
|
10564
|
+
return React__default["default"].createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10588
10565
|
},
|
|
10589
10566
|
datatable: function datatable(_ref8) {
|
|
10590
10567
|
var node = _ref8.node;
|
|
10591
10568
|
var table = node.table;
|
|
10592
10569
|
|
|
10593
|
-
return React__default[
|
|
10570
|
+
return React__default["default"].createElement(TableShow, { rows: table.rows });
|
|
10594
10571
|
},
|
|
10595
10572
|
media: function media(_ref9) {
|
|
10596
10573
|
var node = _ref9.node;
|
|
10597
10574
|
|
|
10598
|
-
return React__default[
|
|
10575
|
+
return React__default["default"].createElement(Media, { node: node, client: client });
|
|
10599
10576
|
},
|
|
10600
10577
|
iframe: function iframe(_ref10) {
|
|
10601
10578
|
var node = _ref10.node;
|
|
10602
10579
|
|
|
10603
|
-
return React__default[
|
|
10580
|
+
return React__default["default"].createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10604
10581
|
},
|
|
10605
10582
|
video: function video(_ref11) {
|
|
10606
10583
|
var node = _ref11.node;
|
|
10607
10584
|
|
|
10608
|
-
return React__default[
|
|
10585
|
+
return React__default["default"].createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10609
10586
|
},
|
|
10610
10587
|
audio: function audio(_ref12) {
|
|
10611
10588
|
var node = _ref12.node;
|
|
10612
10589
|
|
|
10613
|
-
return React__default[
|
|
10590
|
+
return React__default["default"].createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10614
10591
|
},
|
|
10615
10592
|
poll: function poll(_ref13) {
|
|
10616
10593
|
var node = _ref13.node;
|
|
10617
10594
|
|
|
10618
|
-
return React__default[
|
|
10595
|
+
return React__default["default"].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10619
10596
|
},
|
|
10620
10597
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10621
10598
|
var node = _ref14.node;
|
|
10622
10599
|
|
|
10623
|
-
return React__default[
|
|
10600
|
+
return React__default["default"].createElement(Poll, {
|
|
10624
10601
|
node: node,
|
|
10625
10602
|
client: client,
|
|
10626
10603
|
pageview: pageview,
|
|
@@ -10634,35 +10611,35 @@ var getSerializers = function getSerializers() {
|
|
|
10634
10611
|
var node = _ref15.node;
|
|
10635
10612
|
var quizzes = node.quizzes;
|
|
10636
10613
|
|
|
10637
|
-
return React__default[
|
|
10614
|
+
return React__default["default"].createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10638
10615
|
},
|
|
10639
10616
|
leads: function leads(_ref16) {
|
|
10640
10617
|
var node = _ref16.node;
|
|
10641
10618
|
var leadID = node.leadID;
|
|
10642
10619
|
|
|
10643
10620
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10644
|
-
return React__default[
|
|
10621
|
+
return React__default["default"].createElement(Leads, { url: url });
|
|
10645
10622
|
},
|
|
10646
10623
|
slideshows: function slideshows(_ref17) {
|
|
10647
10624
|
var node = _ref17.node;
|
|
10648
10625
|
|
|
10649
|
-
return React__default[
|
|
10626
|
+
return React__default["default"].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10650
10627
|
},
|
|
10651
10628
|
nativeAd: function nativeAd(_ref18) {
|
|
10652
10629
|
var node = _ref18.node;
|
|
10653
10630
|
|
|
10654
|
-
return React__default[
|
|
10631
|
+
return React__default["default"].createElement(NativeAd, { node: node });
|
|
10655
10632
|
},
|
|
10656
10633
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10657
10634
|
var node = _ref19.node;
|
|
10658
10635
|
|
|
10659
|
-
return React__default[
|
|
10636
|
+
return React__default["default"].createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10660
10637
|
},
|
|
10661
10638
|
hrtag: function hrtag() {
|
|
10662
|
-
return React__default[
|
|
10639
|
+
return React__default["default"].createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10663
10640
|
},
|
|
10664
10641
|
brtag: function brtag() {
|
|
10665
|
-
return React__default[
|
|
10642
|
+
return React__default["default"].createElement('br', { className: 'line-break' });
|
|
10666
10643
|
},
|
|
10667
10644
|
formstack: function formstack(_ref20) {
|
|
10668
10645
|
var node = _ref20.node;
|
|
@@ -10670,30 +10647,30 @@ var getSerializers = function getSerializers() {
|
|
|
10670
10647
|
Caption = node.Caption,
|
|
10671
10648
|
needSegmentSupport = node.needSegmentSupport;
|
|
10672
10649
|
|
|
10673
|
-
return React__default[
|
|
10650
|
+
return React__default["default"].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10674
10651
|
},
|
|
10675
10652
|
formassembly: FormAssembly,
|
|
10676
10653
|
digiohSmartTag: DigiohSmartTag,
|
|
10677
10654
|
multimedia: function multimedia(_ref21) {
|
|
10678
10655
|
var node = _ref21.node;
|
|
10679
10656
|
|
|
10680
|
-
return React__default[
|
|
10657
|
+
return React__default["default"].createElement(MultiMedia, { node: node, client: client });
|
|
10681
10658
|
},
|
|
10682
10659
|
blockTable: function blockTable(_ref22) {
|
|
10683
10660
|
var node = _ref22.node;
|
|
10684
|
-
return React__default[
|
|
10661
|
+
return React__default["default"].createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10685
10662
|
}
|
|
10686
10663
|
},
|
|
10687
10664
|
marks: {
|
|
10688
10665
|
superscript: function superscript(props) {
|
|
10689
|
-
return React__default[
|
|
10666
|
+
return React__default["default"].createElement(
|
|
10690
10667
|
'sup',
|
|
10691
10668
|
null,
|
|
10692
10669
|
props.children
|
|
10693
10670
|
);
|
|
10694
10671
|
},
|
|
10695
10672
|
subscript: function subscript(props) {
|
|
10696
|
-
return React__default[
|
|
10673
|
+
return React__default["default"].createElement(
|
|
10697
10674
|
'sub',
|
|
10698
10675
|
null,
|
|
10699
10676
|
props.children
|
|
@@ -10703,11 +10680,11 @@ var getSerializers = function getSerializers() {
|
|
|
10703
10680
|
var children = props.children,
|
|
10704
10681
|
mark = props.mark;
|
|
10705
10682
|
|
|
10706
|
-
return React__default[
|
|
10683
|
+
return React__default["default"].createElement(ExternalLink, { children: children, mark: mark });
|
|
10707
10684
|
},
|
|
10708
10685
|
alignleft: function alignleft(_ref23) {
|
|
10709
10686
|
var children = _ref23.children;
|
|
10710
|
-
return React__default[
|
|
10687
|
+
return React__default["default"].createElement(
|
|
10711
10688
|
'div',
|
|
10712
10689
|
{ style: { textAlign: 'left' } },
|
|
10713
10690
|
children
|
|
@@ -10715,7 +10692,7 @@ var getSerializers = function getSerializers() {
|
|
|
10715
10692
|
},
|
|
10716
10693
|
alignright: function alignright(_ref24) {
|
|
10717
10694
|
var children = _ref24.children;
|
|
10718
|
-
return React__default[
|
|
10695
|
+
return React__default["default"].createElement(
|
|
10719
10696
|
'div',
|
|
10720
10697
|
{ style: { textAlign: 'right' } },
|
|
10721
10698
|
children
|
|
@@ -10723,7 +10700,7 @@ var getSerializers = function getSerializers() {
|
|
|
10723
10700
|
},
|
|
10724
10701
|
aligncenter: function aligncenter(_ref25) {
|
|
10725
10702
|
var children = _ref25.children;
|
|
10726
|
-
return React__default[
|
|
10703
|
+
return React__default["default"].createElement(
|
|
10727
10704
|
'div',
|
|
10728
10705
|
{ style: { textAlign: 'center' } },
|
|
10729
10706
|
children
|
|
@@ -10731,7 +10708,7 @@ var getSerializers = function getSerializers() {
|
|
|
10731
10708
|
},
|
|
10732
10709
|
alignjustify: function alignjustify(_ref26) {
|
|
10733
10710
|
var children = _ref26.children;
|
|
10734
|
-
return React__default[
|
|
10711
|
+
return React__default["default"].createElement(
|
|
10735
10712
|
'div',
|
|
10736
10713
|
{ style: { textAlign: 'justify' } },
|
|
10737
10714
|
children
|
|
@@ -10741,7 +10718,7 @@ var getSerializers = function getSerializers() {
|
|
|
10741
10718
|
var children = props.children,
|
|
10742
10719
|
color = props.mark.color;
|
|
10743
10720
|
|
|
10744
|
-
return React__default[
|
|
10721
|
+
return React__default["default"].createElement(
|
|
10745
10722
|
'span',
|
|
10746
10723
|
{ style: { color: color ? color.hex : null } },
|
|
10747
10724
|
children
|