@mjhls/mjh-framework 1.0.993-topelement-v6 → 1.0.994-Cypress
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-f316b66a.js → ADInfeed-e87afe8a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-2003306e.js → ADlgInfeed-b5a3d436.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +8 -7
- package/dist/cjs/AlgoliaSearch.js +1129 -1214
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +16 -16
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +232 -23065
- package/dist/cjs/AuthWrapper.js +30 -120
- package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
- package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -27
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/CypressTesting.js +53 -0
- package/dist/cjs/DeckContent.js +66 -66
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-c313a700.js → Dfp-9be904d5.js} +17 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +36 -36
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +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 +30 -30
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-ca708da8.js → ImageSlider-6c00b878.js} +180 -1319
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +50 -50
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +47 -47
- package/dist/cjs/MasterDeckPaginated.js +37 -37
- package/dist/cjs/{MediaSeriesCard-f6db8f70.js → MediaSeriesCard-cf144b71.js} +548 -622
- package/dist/cjs/MediaSeriesLanding.js +43 -43
- package/dist/cjs/MediaSeriesLandingPaginated.js +42 -42
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-880e9d87.js → NavFooter-4799de4b.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-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +53 -52
- package/dist/cjs/PartnerDetailListingPaginated.js +49 -48
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-5ccf9b13.js} +29 -29
- package/dist/cjs/PublicationLanding.js +99 -99
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +42 -42
- package/dist/cjs/RelatedTopicsDropdown.js +24 -24
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-f5248377.js → SeriesSlider-594b19eb.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-d2ab3d62.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +13 -13
- package/dist/cjs/TemplateNormal.js +27 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +30 -30
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +298 -292
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/getSerializers.js +8 -8
- package/dist/cjs/{getTargeting-4439c99d.js → getTargeting-ba942d9a.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-9ec837cc.js → index-50be6759.js} +25 -9
- package/dist/cjs/{index-b10d6863.js → index-e9d3f910.js} +492 -489
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/{index-d2a6ef75.js → index-fc2f1ca2.js} +4 -4
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-1461604c.js} +14 -14
- package/dist/cjs/index.js +111 -106
- package/dist/cjs/{main-6054981e.js → main-f1c77adb.js} +22 -17
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/{esm/empty-a8042e3c.js → cjs/util-93a37fd0.js} +3 -135
- package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlgoliaSearch.js +558 -643
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +153 -22989
- package/dist/esm/AuthWrapper.js +3 -93
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/CypressTesting.js +47 -0
- package/dist/esm/DeckContent.js +10 -10
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +19 -19
- package/dist/esm/ExternalResources.js +5 -5
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -4
- package/dist/esm/{ImageSlider-fada4f0c.js → ImageSlider-f84174cb.js} +123 -1261
- package/dist/esm/IssueLanding.js +35 -35
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +12 -12
- package/dist/esm/{MediaSeriesCard-96ac8ed4.js → MediaSeriesCard-2a65b9da.js} +251 -325
- package/dist/esm/MediaSeriesLanding.js +13 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +14 -14
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +10 -10
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +9 -8
- package/dist/esm/PartnerDetailListingPaginated.js +10 -9
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-4875823e.js → SeriesSlider-f771e20d.js} +5 -5
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-165b4ae7.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -4
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -4
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +81 -75
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/{getTargeting-c6884f34.js → getTargeting-9bd28724.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/{index-0ce54f8a.js → index-98ca9cec.js} +25 -10
- package/dist/esm/{index-076baa11.js → index-9a58ca55.js} +7 -5
- package/dist/esm/index.js +18 -13
- package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/{cjs/empty-559717f3.js → esm/util-8ed16d48.js} +1 -146
- package/package.json +114 -114
- package/dist/cjs/defineProperty-ad65f5f0.js +0 -110
- package/dist/cjs/index-0cf4c9fc.js +0 -904
- package/dist/esm/defineProperty-50094484.js +0 -101
- package/dist/esm/index-e7075467.js +0 -897
- /package/dist/esm/{ADInfeed-777bb0b3.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-e7fd1bb6.js → ADlgInfeed-5e36f317.js} +0 -0
|
@@ -4,27 +4,27 @@ 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-fc2f1ca2.js');
|
|
8
8
|
var Router = require('next/router');
|
|
9
9
|
var index$1 = require('./index-187c967e.js');
|
|
10
10
|
var PropTypes = require('prop-types');
|
|
11
11
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
12
|
-
var
|
|
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-f1c77adb.js');
|
|
16
|
+
var BlockContent = require('./BlockContent-9ebd251f.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-eadd5035.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-a195642e.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');
|
|
26
26
|
var Form = require('react-bootstrap/Form');
|
|
27
|
-
var
|
|
27
|
+
var ReactGA = require('react-ga');
|
|
28
28
|
var GroupDeck = require('./GroupDeck.js');
|
|
29
29
|
var moment = require('./moment-aca40de1.js');
|
|
30
30
|
var SocialShare = require('./SocialShare.js');
|
|
@@ -53,6 +53,7 @@ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
|
53
53
|
var Modal__default = /*#__PURE__*/_interopDefaultLegacy(Modal);
|
|
54
54
|
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
55
55
|
var Form__default = /*#__PURE__*/_interopDefaultLegacy(Form);
|
|
56
|
+
var ReactGA__default = /*#__PURE__*/_interopDefaultLegacy(ReactGA);
|
|
56
57
|
var Pagination__default = /*#__PURE__*/_interopDefaultLegacy(Pagination);
|
|
57
58
|
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
|
|
58
59
|
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);
|
|
@@ -65,7 +66,7 @@ var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
|
65
66
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
66
67
|
var pageNumber = selectedIndex + 1;
|
|
67
68
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
68
|
-
Router__default[
|
|
69
|
+
Router__default['default'].push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
69
70
|
};
|
|
70
71
|
|
|
71
72
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -95,27 +96,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
95
96
|
if (pageview) pageview(router.asPath);
|
|
96
97
|
}, [router]);
|
|
97
98
|
|
|
98
|
-
return React__default[
|
|
99
|
+
return React__default['default'].createElement(
|
|
99
100
|
'div',
|
|
100
101
|
{ className: 'mt-3 mb-3' },
|
|
101
|
-
React__default[
|
|
102
|
+
React__default['default'].createElement(
|
|
102
103
|
reactBootstrap.Carousel,
|
|
103
104
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
104
105
|
return onChangeSlide(selectedIndex, router);
|
|
105
106
|
}, interval: null },
|
|
106
107
|
slides && slides.map(function (slide) {
|
|
107
|
-
return React__default[
|
|
108
|
+
return React__default['default'].createElement(
|
|
108
109
|
reactBootstrap.Carousel.Item,
|
|
109
110
|
{ key: slide._key },
|
|
110
|
-
React__default[
|
|
111
|
+
React__default['default'].createElement(
|
|
111
112
|
'picture',
|
|
112
113
|
null,
|
|
113
|
-
React__default[
|
|
114
|
-
React__default[
|
|
115
|
-
React__default[
|
|
116
|
-
React__default[
|
|
114
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
115
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
116
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
117
|
+
React__default['default'].createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
117
118
|
),
|
|
118
|
-
slide.caption && React__default[
|
|
119
|
+
slide.caption && React__default['default'].createElement(
|
|
119
120
|
'p',
|
|
120
121
|
{ className: 'p-2' },
|
|
121
122
|
slide.caption
|
|
@@ -930,6 +931,8 @@ var tty = {
|
|
|
930
931
|
WriteStream: WriteStream
|
|
931
932
|
};
|
|
932
933
|
|
|
934
|
+
var require$$2 = {};
|
|
935
|
+
|
|
933
936
|
var node = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
934
937
|
/**
|
|
935
938
|
* Module dependencies.
|
|
@@ -994,7 +997,7 @@ exports.inspectOpts = Object.keys(process.env).filter(function (key) {
|
|
|
994
997
|
var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
|
|
995
998
|
|
|
996
999
|
if (1 !== fd && 2 !== fd) {
|
|
997
|
-
|
|
1000
|
+
util.util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')();
|
|
998
1001
|
}
|
|
999
1002
|
|
|
1000
1003
|
var stream = 1 === fd ? process.stdout :
|
|
@@ -1017,7 +1020,7 @@ function useColors() {
|
|
|
1017
1020
|
|
|
1018
1021
|
exports.formatters.o = function(v) {
|
|
1019
1022
|
this.inspectOpts.colors = this.useColors;
|
|
1020
|
-
return
|
|
1023
|
+
return util.util.inspect(v, this.inspectOpts)
|
|
1021
1024
|
.split('\n').map(function(str) {
|
|
1022
1025
|
return str.trim()
|
|
1023
1026
|
}).join(' ');
|
|
@@ -1029,7 +1032,7 @@ exports.formatters.o = function(v) {
|
|
|
1029
1032
|
|
|
1030
1033
|
exports.formatters.O = function(v) {
|
|
1031
1034
|
this.inspectOpts.colors = this.useColors;
|
|
1032
|
-
return
|
|
1035
|
+
return util.util.inspect(v, this.inspectOpts);
|
|
1033
1036
|
};
|
|
1034
1037
|
|
|
1035
1038
|
/**
|
|
@@ -1059,7 +1062,7 @@ function formatArgs(args) {
|
|
|
1059
1062
|
*/
|
|
1060
1063
|
|
|
1061
1064
|
function log() {
|
|
1062
|
-
return stream.write(
|
|
1065
|
+
return stream.write(util.util.format.apply(util.util, arguments) + '\n');
|
|
1063
1066
|
}
|
|
1064
1067
|
|
|
1065
1068
|
/**
|
|
@@ -1116,14 +1119,14 @@ function createWritableStdioStream (fd) {
|
|
|
1116
1119
|
break;
|
|
1117
1120
|
|
|
1118
1121
|
case 'FILE':
|
|
1119
|
-
var fs =
|
|
1122
|
+
var fs = require$$2;
|
|
1120
1123
|
stream = new fs.SyncWriteStream(fd, { autoClose: false });
|
|
1121
1124
|
stream._type = 'fs';
|
|
1122
1125
|
break;
|
|
1123
1126
|
|
|
1124
1127
|
case 'PIPE':
|
|
1125
1128
|
case 'TCP':
|
|
1126
|
-
var net =
|
|
1129
|
+
var net = require$$2;
|
|
1127
1130
|
stream = new net.Socket({
|
|
1128
1131
|
fd: fd,
|
|
1129
1132
|
readable: false,
|
|
@@ -1855,9 +1858,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1855
1858
|
}, {
|
|
1856
1859
|
key: "render",
|
|
1857
1860
|
value: function render() {
|
|
1858
|
-
return /*#__PURE__*/React__default[
|
|
1861
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1859
1862
|
className: this.props.containerClassName
|
|
1860
|
-
}, /*#__PURE__*/React__default[
|
|
1863
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1861
1864
|
id: this.props.id,
|
|
1862
1865
|
className: this.props.className,
|
|
1863
1866
|
ref: this.refContainer
|
|
@@ -1866,7 +1869,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1866
1869
|
}]);
|
|
1867
1870
|
|
|
1868
1871
|
return YouTube;
|
|
1869
|
-
}(React__default[
|
|
1872
|
+
}(React__default['default'].Component);
|
|
1870
1873
|
|
|
1871
1874
|
_defineProperty(YouTube, "PlayerState", {
|
|
1872
1875
|
UNSTARTED: -1,
|
|
@@ -1878,24 +1881,24 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1878
1881
|
});
|
|
1879
1882
|
|
|
1880
1883
|
YouTube.propTypes = {
|
|
1881
|
-
videoId: PropTypes__default[
|
|
1884
|
+
videoId: PropTypes__default['default'].string,
|
|
1882
1885
|
// custom ID for player element
|
|
1883
|
-
id: PropTypes__default[
|
|
1886
|
+
id: PropTypes__default['default'].string,
|
|
1884
1887
|
// custom class name for player element
|
|
1885
|
-
className: PropTypes__default[
|
|
1888
|
+
className: PropTypes__default['default'].string,
|
|
1886
1889
|
// custom class name for player container element
|
|
1887
|
-
containerClassName: PropTypes__default[
|
|
1890
|
+
containerClassName: PropTypes__default['default'].string,
|
|
1888
1891
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1889
|
-
opts: PropTypes__default[
|
|
1892
|
+
opts: PropTypes__default['default'].objectOf(PropTypes__default['default'].any),
|
|
1890
1893
|
// event subscriptions
|
|
1891
|
-
onReady: PropTypes__default[
|
|
1892
|
-
onError: PropTypes__default[
|
|
1893
|
-
onPlay: PropTypes__default[
|
|
1894
|
-
onPause: PropTypes__default[
|
|
1895
|
-
onEnd: PropTypes__default[
|
|
1896
|
-
onStateChange: PropTypes__default[
|
|
1897
|
-
onPlaybackRateChange: PropTypes__default[
|
|
1898
|
-
onPlaybackQualityChange: PropTypes__default[
|
|
1894
|
+
onReady: PropTypes__default['default'].func,
|
|
1895
|
+
onError: PropTypes__default['default'].func,
|
|
1896
|
+
onPlay: PropTypes__default['default'].func,
|
|
1897
|
+
onPause: PropTypes__default['default'].func,
|
|
1898
|
+
onEnd: PropTypes__default['default'].func,
|
|
1899
|
+
onStateChange: PropTypes__default['default'].func,
|
|
1900
|
+
onPlaybackRateChange: PropTypes__default['default'].func,
|
|
1901
|
+
onPlaybackQualityChange: PropTypes__default['default'].func
|
|
1899
1902
|
};
|
|
1900
1903
|
YouTube.defaultProps = {
|
|
1901
1904
|
videoId: null,
|
|
@@ -2013,11 +2016,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2013
2016
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2014
2017
|
};
|
|
2015
2018
|
|
|
2016
|
-
return React__default[
|
|
2019
|
+
return React__default['default'].createElement(
|
|
2017
2020
|
'div',
|
|
2018
2021
|
{ id: 'fluid-video-container' },
|
|
2019
|
-
React__default[
|
|
2020
|
-
React__default[
|
|
2022
|
+
React__default['default'].createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2023
|
+
React__default['default'].createElement(
|
|
2021
2024
|
'style',
|
|
2022
2025
|
{ jsx: 'true' },
|
|
2023
2026
|
'\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 '
|
|
@@ -2030,20 +2033,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2030
2033
|
content = _ref.content,
|
|
2031
2034
|
getSerializers = _ref.getSerializers;
|
|
2032
2035
|
|
|
2033
|
-
return React__default[
|
|
2036
|
+
return React__default['default'].createElement(
|
|
2034
2037
|
'article',
|
|
2035
2038
|
{ className: 'sidebar' },
|
|
2036
|
-
React__default[
|
|
2039
|
+
React__default['default'].createElement(
|
|
2037
2040
|
'div',
|
|
2038
2041
|
null,
|
|
2039
|
-
React__default[
|
|
2042
|
+
React__default['default'].createElement(
|
|
2040
2043
|
'h3',
|
|
2041
2044
|
null,
|
|
2042
2045
|
caption
|
|
2043
2046
|
),
|
|
2044
|
-
React__default[
|
|
2047
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2045
2048
|
),
|
|
2046
|
-
React__default[
|
|
2049
|
+
React__default['default'].createElement(
|
|
2047
2050
|
'style',
|
|
2048
2051
|
{ jsx: 'true' },
|
|
2049
2052
|
'\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 '
|
|
@@ -2054,18 +2057,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2054
2057
|
var TableShow = function TableShow(_ref) {
|
|
2055
2058
|
var rows = _ref.rows;
|
|
2056
2059
|
|
|
2057
|
-
return React__default[
|
|
2060
|
+
return React__default['default'].createElement(
|
|
2058
2061
|
reactBootstrap.Table,
|
|
2059
2062
|
{ bordered: true, hover: true, responsive: true },
|
|
2060
|
-
React__default[
|
|
2063
|
+
React__default['default'].createElement(
|
|
2061
2064
|
'tbody',
|
|
2062
2065
|
null,
|
|
2063
2066
|
rows && rows.map(function (row) {
|
|
2064
|
-
return React__default[
|
|
2067
|
+
return React__default['default'].createElement(
|
|
2065
2068
|
'tr',
|
|
2066
2069
|
{ key: row._key },
|
|
2067
2070
|
row.cells && row.cells.map(function (cell, index) {
|
|
2068
|
-
return cell && React__default[
|
|
2071
|
+
return cell && React__default['default'].createElement(
|
|
2069
2072
|
'td',
|
|
2070
2073
|
{ key: index },
|
|
2071
2074
|
cell
|
|
@@ -2163,25 +2166,25 @@ var Media = function Media(_ref) {
|
|
|
2163
2166
|
margin: imageMargin
|
|
2164
2167
|
};
|
|
2165
2168
|
|
|
2166
|
-
return React__default[
|
|
2169
|
+
return React__default['default'].createElement(
|
|
2167
2170
|
reactBootstrap.Figure,
|
|
2168
2171
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2169
|
-
React__default[
|
|
2172
|
+
React__default['default'].createElement(
|
|
2170
2173
|
'a',
|
|
2171
2174
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2172
|
-
React__default[
|
|
2175
|
+
React__default['default'].createElement(
|
|
2173
2176
|
index$2.LazyLoad,
|
|
2174
2177
|
{ once: true },
|
|
2175
|
-
React__default[
|
|
2178
|
+
React__default['default'].createElement(
|
|
2176
2179
|
'picture',
|
|
2177
2180
|
null,
|
|
2178
|
-
React__default[
|
|
2179
|
-
React__default[
|
|
2180
|
-
React__default[
|
|
2181
|
-
React__default[
|
|
2181
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2182
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2183
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2184
|
+
React__default['default'].createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2182
2185
|
)
|
|
2183
2186
|
),
|
|
2184
|
-
caption && React__default[
|
|
2187
|
+
caption && React__default['default'].createElement(
|
|
2185
2188
|
reactBootstrap.Figure.Caption,
|
|
2186
2189
|
{ className: 'media-caption' },
|
|
2187
2190
|
caption
|
|
@@ -2189,7 +2192,7 @@ var Media = function Media(_ref) {
|
|
|
2189
2192
|
)
|
|
2190
2193
|
);
|
|
2191
2194
|
} else if (caption && caption !== '') {
|
|
2192
|
-
return React__default[
|
|
2195
|
+
return React__default['default'].createElement(
|
|
2193
2196
|
'a',
|
|
2194
2197
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2195
2198
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2209,10 +2212,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2209
2212
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2210
2213
|
|
|
2211
2214
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2212
|
-
return React__default[
|
|
2215
|
+
return React__default['default'].createElement(
|
|
2213
2216
|
'div',
|
|
2214
2217
|
{ className: 'd-block text-center mb-3' },
|
|
2215
|
-
React__default[
|
|
2218
|
+
React__default['default'].createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2216
2219
|
);
|
|
2217
2220
|
};
|
|
2218
2221
|
|
|
@@ -2222,7 +2225,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2222
2225
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2223
2226
|
|
|
2224
2227
|
var choiceArray = choices.map(function (choice) {
|
|
2225
|
-
return React__default[
|
|
2228
|
+
return React__default['default'].createElement(Form__default['default'].Check, {
|
|
2226
2229
|
inline: true,
|
|
2227
2230
|
label: choice.choiceText,
|
|
2228
2231
|
value: choice.choiceText,
|
|
@@ -2232,19 +2235,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2232
2235
|
onClick: handlePollAnswer
|
|
2233
2236
|
});
|
|
2234
2237
|
});
|
|
2235
|
-
return React__default[
|
|
2238
|
+
return React__default['default'].createElement(
|
|
2236
2239
|
'div',
|
|
2237
2240
|
{
|
|
2238
2241
|
key: 'inline-radio',
|
|
2239
2242
|
className: 'radioContainer' },
|
|
2240
|
-
React__default[
|
|
2243
|
+
React__default['default'].createElement(
|
|
2241
2244
|
'h2',
|
|
2242
2245
|
{
|
|
2243
2246
|
className: 'radioLabelText'
|
|
2244
2247
|
},
|
|
2245
2248
|
question
|
|
2246
2249
|
),
|
|
2247
|
-
React__default[
|
|
2250
|
+
React__default['default'].createElement(
|
|
2248
2251
|
'div',
|
|
2249
2252
|
{
|
|
2250
2253
|
className: 'multiChoiceDiv'
|
|
@@ -2259,19 +2262,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2259
2262
|
textAnswer = _ref.textAnswer,
|
|
2260
2263
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2261
2264
|
|
|
2262
|
-
return React__default[
|
|
2265
|
+
return React__default['default'].createElement(
|
|
2263
2266
|
'div',
|
|
2264
2267
|
{
|
|
2265
2268
|
className: 'textInputDiv'
|
|
2266
2269
|
},
|
|
2267
|
-
React__default[
|
|
2270
|
+
React__default['default'].createElement(
|
|
2268
2271
|
'h2',
|
|
2269
2272
|
{
|
|
2270
2273
|
className: 'textInputQuestion'
|
|
2271
2274
|
},
|
|
2272
2275
|
textInputQuestion
|
|
2273
2276
|
),
|
|
2274
|
-
React__default[
|
|
2277
|
+
React__default['default'].createElement(Form__default['default'].Control, {
|
|
2275
2278
|
type: 'text',
|
|
2276
2279
|
className: 'textInput',
|
|
2277
2280
|
value: textAnswer,
|
|
@@ -2381,32 +2384,32 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2381
2384
|
var pollArray = [];
|
|
2382
2385
|
pollItems.forEach(function (item, ind) {
|
|
2383
2386
|
if (item.format === 'multiChoice') {
|
|
2384
|
-
pollArray.push(React__default[
|
|
2387
|
+
pollArray.push(React__default['default'].createElement(PopupMultiChoice, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2385
2388
|
}
|
|
2386
2389
|
if (item.format === 'textInput') {
|
|
2387
|
-
pollArray.push(React__default[
|
|
2390
|
+
pollArray.push(React__default['default'].createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2388
2391
|
}
|
|
2389
2392
|
});
|
|
2390
2393
|
|
|
2391
|
-
return React__default[
|
|
2394
|
+
return React__default['default'].createElement(
|
|
2392
2395
|
'div',
|
|
2393
2396
|
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2394
|
-
React__default[
|
|
2395
|
-
Modal__default[
|
|
2397
|
+
React__default['default'].createElement(
|
|
2398
|
+
Modal__default['default'].Dialog,
|
|
2396
2399
|
null,
|
|
2397
|
-
React__default[
|
|
2398
|
-
Modal__default[
|
|
2400
|
+
React__default['default'].createElement(
|
|
2401
|
+
Modal__default['default'].Body,
|
|
2399
2402
|
null,
|
|
2400
|
-
React__default[
|
|
2401
|
-
Form__default[
|
|
2403
|
+
React__default['default'].createElement(
|
|
2404
|
+
Form__default['default'],
|
|
2402
2405
|
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2403
2406
|
pollArray,
|
|
2404
|
-
textInputRender && !multiChoiceRender ? React__default[
|
|
2405
|
-
Button__default[
|
|
2407
|
+
textInputRender && !multiChoiceRender ? React__default['default'].createElement(
|
|
2408
|
+
Button__default['default'],
|
|
2406
2409
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2407
2410
|
'Submit'
|
|
2408
|
-
) : React__default[
|
|
2409
|
-
Button__default[
|
|
2411
|
+
) : React__default['default'].createElement(
|
|
2412
|
+
Button__default['default'],
|
|
2410
2413
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2411
2414
|
'Submit'
|
|
2412
2415
|
)
|
|
@@ -2569,10 +2572,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2569
2572
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2570
2573
|
};
|
|
2571
2574
|
|
|
2572
|
-
return React__default[
|
|
2575
|
+
return React__default['default'].createElement(
|
|
2573
2576
|
'div',
|
|
2574
2577
|
null,
|
|
2575
|
-
isPollingTime ? React__default[
|
|
2578
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2576
2579
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2577
2580
|
, { pollItems: pollItems
|
|
2578
2581
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2586,7 +2589,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2586
2589
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2587
2590
|
, multiChoiceRender: multiChoiceRender
|
|
2588
2591
|
}) : null,
|
|
2589
|
-
vidLoaded && React__default[
|
|
2592
|
+
vidLoaded && React__default['default'].createElement(
|
|
2590
2593
|
'video',
|
|
2591
2594
|
{
|
|
2592
2595
|
poster: thumbnail || '',
|
|
@@ -2604,7 +2607,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2604
2607
|
onPlay: function onPlay(e) {
|
|
2605
2608
|
return handleOnPlay(e);
|
|
2606
2609
|
} },
|
|
2607
|
-
React__default[
|
|
2610
|
+
React__default['default'].createElement('source', { src: url, type: 'video/mp4' }),
|
|
2608
2611
|
'Your browser does not support the video tag.'
|
|
2609
2612
|
)
|
|
2610
2613
|
);
|
|
@@ -2855,10 +2858,10 @@ var Video = function Video(_ref) {
|
|
|
2855
2858
|
|
|
2856
2859
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2857
2860
|
if (videoID) {
|
|
2858
|
-
return React__default[
|
|
2861
|
+
return React__default['default'].createElement(
|
|
2859
2862
|
'div',
|
|
2860
2863
|
null,
|
|
2861
|
-
isPollingTime ? React__default[
|
|
2864
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2862
2865
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2863
2866
|
, { pollItems: pollItems
|
|
2864
2867
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2872,7 +2875,7 @@ var Video = function Video(_ref) {
|
|
|
2872
2875
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2873
2876
|
, multiChoiceRender: multiChoiceRender
|
|
2874
2877
|
}) : null,
|
|
2875
|
-
React__default[
|
|
2878
|
+
React__default['default'].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2876
2879
|
onSuccess: onVideoSuccess,
|
|
2877
2880
|
onFailure: onVideoFailure,
|
|
2878
2881
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2880,17 +2883,17 @@ var Video = function Video(_ref) {
|
|
|
2880
2883
|
playerId: accountIDs.brightcove.playerId,
|
|
2881
2884
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2882
2885
|
}),
|
|
2883
|
-
React__default[
|
|
2886
|
+
React__default['default'].createElement(
|
|
2884
2887
|
'style',
|
|
2885
2888
|
{ jsx: 'true' },
|
|
2886
2889
|
'\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 '
|
|
2887
2890
|
)
|
|
2888
2891
|
);
|
|
2889
2892
|
} else if (playlistID) {
|
|
2890
|
-
return React__default[
|
|
2893
|
+
return React__default['default'].createElement(
|
|
2891
2894
|
'div',
|
|
2892
2895
|
null,
|
|
2893
|
-
isPollingTime ? React__default[
|
|
2896
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2894
2897
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2895
2898
|
, { pollItems: pollItems
|
|
2896
2899
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2904,7 +2907,7 @@ var Video = function Video(_ref) {
|
|
|
2904
2907
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2905
2908
|
, multiChoiceRender: multiChoiceRender
|
|
2906
2909
|
}) : null,
|
|
2907
|
-
React__default[
|
|
2910
|
+
React__default['default'].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2908
2911
|
accountId: accountIDs.brightcove.accountId,
|
|
2909
2912
|
playlistId: playlistID,
|
|
2910
2913
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2912,18 +2915,18 @@ var Video = function Video(_ref) {
|
|
|
2912
2915
|
onFailure: onVideoFailure,
|
|
2913
2916
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2914
2917
|
}),
|
|
2915
|
-
React__default[
|
|
2918
|
+
React__default['default'].createElement(
|
|
2916
2919
|
'style',
|
|
2917
2920
|
{ jsx: 'true' },
|
|
2918
2921
|
'\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 '
|
|
2919
2922
|
)
|
|
2920
2923
|
);
|
|
2921
2924
|
} else if (experienceID) {
|
|
2922
|
-
return React__default[
|
|
2925
|
+
return React__default['default'].createElement(
|
|
2923
2926
|
'div',
|
|
2924
2927
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2925
|
-
React__default[
|
|
2926
|
-
isPollingTime ? React__default[
|
|
2928
|
+
React__default['default'].createElement('div', { 'data-experience': experienceID }),
|
|
2929
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2927
2930
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2928
2931
|
, { pollItems: pollItems
|
|
2929
2932
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2943,10 +2946,10 @@ var Video = function Video(_ref) {
|
|
|
2943
2946
|
}
|
|
2944
2947
|
|
|
2945
2948
|
if (source === 'mp4') {
|
|
2946
|
-
return React__default[
|
|
2949
|
+
return React__default['default'].createElement(
|
|
2947
2950
|
'div',
|
|
2948
2951
|
null,
|
|
2949
|
-
React__default[
|
|
2952
|
+
React__default['default'].createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2950
2953
|
);
|
|
2951
2954
|
}
|
|
2952
2955
|
|
|
@@ -2961,7 +2964,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2961
2964
|
});
|
|
2962
2965
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2963
2966
|
|
|
2964
|
-
var _propTypes = _interopRequireDefault(PropTypes__default[
|
|
2967
|
+
var _propTypes = _interopRequireDefault(PropTypes__default['default']);
|
|
2965
2968
|
|
|
2966
2969
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2967
2970
|
|
|
@@ -3551,7 +3554,7 @@ function isEqual(a, b) {
|
|
|
3551
3554
|
return true;
|
|
3552
3555
|
}
|
|
3553
3556
|
|
|
3554
|
-
if ((0, React__default[
|
|
3557
|
+
if ((0, React__default['default'].isValidElement)(a) && (0, React__default['default'].isValidElement)(b)) {
|
|
3555
3558
|
return true;
|
|
3556
3559
|
}
|
|
3557
3560
|
|
|
@@ -3613,7 +3616,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3613
3616
|
});
|
|
3614
3617
|
exports["default"] = void 0;
|
|
3615
3618
|
|
|
3616
|
-
var _react = _interopRequireWildcard(React__default[
|
|
3619
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
3617
3620
|
|
|
3618
3621
|
|
|
3619
3622
|
|
|
@@ -4023,7 +4026,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4023
4026
|
});
|
|
4024
4027
|
exports["default"] = createSinglePlayer;
|
|
4025
4028
|
|
|
4026
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4029
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4027
4030
|
|
|
4028
4031
|
|
|
4029
4032
|
|
|
@@ -4181,7 +4184,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4181
4184
|
});
|
|
4182
4185
|
exports["default"] = exports.YouTube = void 0;
|
|
4183
4186
|
|
|
4184
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4187
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4185
4188
|
|
|
4186
4189
|
|
|
4187
4190
|
|
|
@@ -4490,7 +4493,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4490
4493
|
});
|
|
4491
4494
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4492
4495
|
|
|
4493
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4496
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4494
4497
|
|
|
4495
4498
|
|
|
4496
4499
|
|
|
@@ -4707,7 +4710,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4707
4710
|
});
|
|
4708
4711
|
exports["default"] = exports.Vimeo = void 0;
|
|
4709
4712
|
|
|
4710
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4713
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4711
4714
|
|
|
4712
4715
|
|
|
4713
4716
|
|
|
@@ -4963,7 +4966,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4963
4966
|
});
|
|
4964
4967
|
exports["default"] = exports.Facebook = void 0;
|
|
4965
4968
|
|
|
4966
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4969
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4967
4970
|
|
|
4968
4971
|
|
|
4969
4972
|
|
|
@@ -5175,7 +5178,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5175
5178
|
});
|
|
5176
5179
|
exports["default"] = exports.Streamable = void 0;
|
|
5177
5180
|
|
|
5178
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5181
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5179
5182
|
|
|
5180
5183
|
|
|
5181
5184
|
|
|
@@ -5386,7 +5389,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5386
5389
|
});
|
|
5387
5390
|
exports["default"] = exports.Wistia = void 0;
|
|
5388
5391
|
|
|
5389
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5392
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5390
5393
|
|
|
5391
5394
|
|
|
5392
5395
|
|
|
@@ -5629,7 +5632,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5629
5632
|
});
|
|
5630
5633
|
exports["default"] = exports.Twitch = void 0;
|
|
5631
5634
|
|
|
5632
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5635
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5633
5636
|
|
|
5634
5637
|
|
|
5635
5638
|
|
|
@@ -5845,7 +5848,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5845
5848
|
});
|
|
5846
5849
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5847
5850
|
|
|
5848
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5851
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5849
5852
|
|
|
5850
5853
|
|
|
5851
5854
|
|
|
@@ -6081,7 +6084,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6081
6084
|
});
|
|
6082
6085
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6083
6086
|
|
|
6084
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6087
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6085
6088
|
|
|
6086
6089
|
|
|
6087
6090
|
|
|
@@ -6280,7 +6283,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6280
6283
|
});
|
|
6281
6284
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6282
6285
|
|
|
6283
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6286
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6284
6287
|
|
|
6285
6288
|
|
|
6286
6289
|
|
|
@@ -6847,7 +6850,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6847
6850
|
});
|
|
6848
6851
|
exports["default"] = void 0;
|
|
6849
6852
|
|
|
6850
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6853
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6851
6854
|
|
|
6852
6855
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6853
6856
|
|
|
@@ -7026,7 +7029,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7026
7029
|
});
|
|
7027
7030
|
exports["default"] = renderPreloadPlayers;
|
|
7028
7031
|
|
|
7029
|
-
var _react = _interopRequireDefault(React__default[
|
|
7032
|
+
var _react = _interopRequireDefault(React__default['default']);
|
|
7030
7033
|
|
|
7031
7034
|
var _Player = _interopRequireDefault(Player_1);
|
|
7032
7035
|
|
|
@@ -7165,7 +7168,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7165
7168
|
});
|
|
7166
7169
|
exports["default"] = void 0;
|
|
7167
7170
|
|
|
7168
|
-
var _react = _interopRequireWildcard(React__default[
|
|
7171
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
7169
7172
|
|
|
7170
7173
|
|
|
7171
7174
|
|
|
@@ -7481,7 +7484,7 @@ var Audio = function Audio(_ref) {
|
|
|
7481
7484
|
var audioSource = node && node.uploadAudio ? node.uploadAudio.asset.url : '';
|
|
7482
7485
|
var reportPlay = function reportPlay() {
|
|
7483
7486
|
console.log('Reporting audio playback play to GA');
|
|
7484
|
-
|
|
7487
|
+
ReactGA__default['default'].event({
|
|
7485
7488
|
category: 'User',
|
|
7486
7489
|
action: 'Audio Play',
|
|
7487
7490
|
label: 'Play: ' + audioSource
|
|
@@ -7491,7 +7494,7 @@ var Audio = function Audio(_ref) {
|
|
|
7491
7494
|
};
|
|
7492
7495
|
var reportPause = function reportPause() {
|
|
7493
7496
|
console.log('Reporting audio playback pause to GA');
|
|
7494
|
-
|
|
7497
|
+
ReactGA__default['default'].event({
|
|
7495
7498
|
category: 'User',
|
|
7496
7499
|
action: 'Audio Pause',
|
|
7497
7500
|
label: 'Pause: ' + audioSource
|
|
@@ -7501,7 +7504,7 @@ var Audio = function Audio(_ref) {
|
|
|
7501
7504
|
};
|
|
7502
7505
|
var reportEnd = function reportEnd() {
|
|
7503
7506
|
console.log('Reporting audio playback end to GA');
|
|
7504
|
-
|
|
7507
|
+
ReactGA__default['default'].event({
|
|
7505
7508
|
category: 'User',
|
|
7506
7509
|
action: 'Audio Playback End',
|
|
7507
7510
|
label: 'Playback End: ' + audioSource
|
|
@@ -7510,10 +7513,10 @@ var Audio = function Audio(_ref) {
|
|
|
7510
7513
|
}));
|
|
7511
7514
|
};
|
|
7512
7515
|
if (node.uploadAudio) {
|
|
7513
|
-
return React__default[
|
|
7516
|
+
return React__default['default'].createElement(
|
|
7514
7517
|
'div',
|
|
7515
7518
|
{ className: 'audio d-block text-center mb-3' },
|
|
7516
|
-
React__default[
|
|
7519
|
+
React__default['default'].createElement(
|
|
7517
7520
|
'audio',
|
|
7518
7521
|
{
|
|
7519
7522
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7522,14 +7525,14 @@ var Audio = function Audio(_ref) {
|
|
|
7522
7525
|
onPause: reportPause,
|
|
7523
7526
|
onEnded: reportEnd
|
|
7524
7527
|
},
|
|
7525
|
-
React__default[
|
|
7526
|
-
React__default[
|
|
7528
|
+
React__default['default'].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7529
|
+
React__default['default'].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7527
7530
|
'Your browser does not support the audio element.'
|
|
7528
7531
|
),
|
|
7529
|
-
node.caption && React__default[
|
|
7532
|
+
node.caption && React__default['default'].createElement(
|
|
7530
7533
|
'p',
|
|
7531
7534
|
{ style: { fontSize: '.9rem' } },
|
|
7532
|
-
React__default[
|
|
7535
|
+
React__default['default'].createElement(
|
|
7533
7536
|
'em',
|
|
7534
7537
|
null,
|
|
7535
7538
|
node.caption
|
|
@@ -7539,15 +7542,15 @@ var Audio = function Audio(_ref) {
|
|
|
7539
7542
|
} else if (node.audioFilePth) {
|
|
7540
7543
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7541
7544
|
if (hostname === 'embeds.audioboom.com') {
|
|
7542
|
-
return React__default[
|
|
7545
|
+
return React__default['default'].createElement(
|
|
7543
7546
|
'div',
|
|
7544
7547
|
null,
|
|
7545
|
-
React__default[
|
|
7548
|
+
React__default['default'].createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7546
7549
|
' ',
|
|
7547
|
-
node.caption && React__default[
|
|
7550
|
+
node.caption && React__default['default'].createElement(
|
|
7548
7551
|
'p',
|
|
7549
7552
|
{ style: { fontSize: '.9rem' } },
|
|
7550
|
-
React__default[
|
|
7553
|
+
React__default['default'].createElement(
|
|
7551
7554
|
'em',
|
|
7552
7555
|
null,
|
|
7553
7556
|
node.caption
|
|
@@ -7555,10 +7558,10 @@ var Audio = function Audio(_ref) {
|
|
|
7555
7558
|
)
|
|
7556
7559
|
);
|
|
7557
7560
|
}
|
|
7558
|
-
return React__default[
|
|
7561
|
+
return React__default['default'].createElement(
|
|
7559
7562
|
'div',
|
|
7560
7563
|
{ className: 'audio' },
|
|
7561
|
-
React__default[
|
|
7564
|
+
React__default['default'].createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7562
7565
|
onPlay: reportPlay,
|
|
7563
7566
|
onPause: reportPause,
|
|
7564
7567
|
onEnded: reportEnd,
|
|
@@ -7566,10 +7569,10 @@ var Audio = function Audio(_ref) {
|
|
|
7566
7569
|
width: '100%',
|
|
7567
7570
|
height: '100%'
|
|
7568
7571
|
}),
|
|
7569
|
-
node.caption && React__default[
|
|
7572
|
+
node.caption && React__default['default'].createElement(
|
|
7570
7573
|
'p',
|
|
7571
7574
|
{ style: { fontSize: '.9rem' } },
|
|
7572
|
-
React__default[
|
|
7575
|
+
React__default['default'].createElement(
|
|
7573
7576
|
'em',
|
|
7574
7577
|
null,
|
|
7575
7578
|
node.caption
|
|
@@ -7588,34 +7591,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7588
7591
|
var showAuthorDetails = arguments[7];
|
|
7589
7592
|
|
|
7590
7593
|
if (authorName && authorURL) {
|
|
7591
|
-
return React__default[
|
|
7594
|
+
return React__default['default'].createElement(
|
|
7592
7595
|
'span',
|
|
7593
7596
|
null,
|
|
7594
|
-
React__default[
|
|
7597
|
+
React__default['default'].createElement(
|
|
7595
7598
|
'a',
|
|
7596
7599
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7597
7600
|
authorName
|
|
7598
7601
|
),
|
|
7599
|
-
showAuthorDetails && React__default[
|
|
7602
|
+
showAuthorDetails && React__default['default'].createElement(
|
|
7600
7603
|
reactBootstrap.Card,
|
|
7601
7604
|
{ className: 'author-details-card-' + index },
|
|
7602
|
-
React__default[
|
|
7605
|
+
React__default['default'].createElement(
|
|
7603
7606
|
reactBootstrap.Row,
|
|
7604
7607
|
null,
|
|
7605
|
-
profileImage && React__default[
|
|
7608
|
+
profileImage && React__default['default'].createElement(
|
|
7606
7609
|
reactBootstrap.Col,
|
|
7607
7610
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7608
|
-
React__default[
|
|
7611
|
+
React__default['default'].createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7609
7612
|
),
|
|
7610
|
-
React__default[
|
|
7613
|
+
React__default['default'].createElement(
|
|
7611
7614
|
reactBootstrap.Col,
|
|
7612
7615
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7613
|
-
React__default[
|
|
7616
|
+
React__default['default'].createElement(
|
|
7614
7617
|
'div',
|
|
7615
7618
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7616
7619
|
authorName
|
|
7617
7620
|
),
|
|
7618
|
-
React__default[
|
|
7621
|
+
React__default['default'].createElement(
|
|
7619
7622
|
'p',
|
|
7620
7623
|
null,
|
|
7621
7624
|
biography
|
|
@@ -7623,7 +7626,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7623
7626
|
)
|
|
7624
7627
|
)
|
|
7625
7628
|
),
|
|
7626
|
-
React__default[
|
|
7629
|
+
React__default['default'].createElement(
|
|
7627
7630
|
'style',
|
|
7628
7631
|
{ jsx: 'true' },
|
|
7629
7632
|
'\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 '
|
|
@@ -7631,7 +7634,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7631
7634
|
length !== index + 1 && ', '
|
|
7632
7635
|
);
|
|
7633
7636
|
} else if (authorName) {
|
|
7634
|
-
return React__default[
|
|
7637
|
+
return React__default['default'].createElement(
|
|
7635
7638
|
'span',
|
|
7636
7639
|
{ key: index },
|
|
7637
7640
|
authorName,
|
|
@@ -7903,44 +7906,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7903
7906
|
}
|
|
7904
7907
|
};
|
|
7905
7908
|
|
|
7906
|
-
return React__default[
|
|
7909
|
+
return React__default['default'].createElement(
|
|
7907
7910
|
'div',
|
|
7908
7911
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7909
|
-
React__default[
|
|
7912
|
+
React__default['default'].createElement(
|
|
7910
7913
|
'div',
|
|
7911
7914
|
{ className: 'mt-2 mb-5' },
|
|
7912
|
-
series && React__default[
|
|
7915
|
+
series && React__default['default'].createElement(
|
|
7913
7916
|
'div',
|
|
7914
7917
|
{ style: { fontSize: '0.9rem' } },
|
|
7915
7918
|
article.title,
|
|
7916
7919
|
' - Episode ',
|
|
7917
7920
|
series
|
|
7918
7921
|
),
|
|
7919
|
-
Videos[series - 1] && React__default[
|
|
7922
|
+
Videos[series - 1] && React__default['default'].createElement(
|
|
7920
7923
|
'h1',
|
|
7921
7924
|
{ className: 'mb-3' },
|
|
7922
7925
|
Videos[series - 1].title
|
|
7923
7926
|
),
|
|
7924
|
-
React__default[
|
|
7927
|
+
React__default['default'].createElement(
|
|
7925
7928
|
'div',
|
|
7926
7929
|
null,
|
|
7927
7930
|
moment.moment(article.published).format('LL')
|
|
7928
7931
|
),
|
|
7929
|
-
React__default[
|
|
7932
|
+
React__default['default'].createElement(
|
|
7930
7933
|
'div',
|
|
7931
7934
|
{ className: 'mb-3' },
|
|
7932
7935
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7933
|
-
return React__default[
|
|
7936
|
+
return React__default['default'].createElement(
|
|
7934
7937
|
'span',
|
|
7935
7938
|
{ key: index },
|
|
7936
7939
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7937
7940
|
);
|
|
7938
7941
|
})
|
|
7939
7942
|
),
|
|
7940
|
-
React__default[
|
|
7943
|
+
React__default['default'].createElement(
|
|
7941
7944
|
'p',
|
|
7942
7945
|
null,
|
|
7943
|
-
React__default[
|
|
7946
|
+
React__default['default'].createElement(SocialShare, {
|
|
7944
7947
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7945
7948
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7946
7949
|
shareVia: meta.shareVia,
|
|
@@ -7955,20 +7958,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7955
7958
|
hideFacebook: meta.hideFBShare
|
|
7956
7959
|
})
|
|
7957
7960
|
),
|
|
7958
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default[
|
|
7961
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default['default'].createElement(
|
|
7959
7962
|
'p',
|
|
7960
7963
|
{ className: 'mb-3' },
|
|
7961
|
-
React__default[
|
|
7964
|
+
React__default['default'].createElement(
|
|
7962
7965
|
'em',
|
|
7963
7966
|
null,
|
|
7964
7967
|
Videos[series - 1].intro
|
|
7965
7968
|
)
|
|
7966
7969
|
)
|
|
7967
7970
|
),
|
|
7968
|
-
React__default[
|
|
7971
|
+
React__default['default'].createElement(
|
|
7969
7972
|
'div',
|
|
7970
7973
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7971
|
-
vidUrl && vidType == 'youtube' && React__default[
|
|
7974
|
+
vidUrl && vidType == 'youtube' && React__default['default'].createElement(YouTube, {
|
|
7972
7975
|
className: 'fluid-iframe',
|
|
7973
7976
|
videoId: index$1.getYoutubeId(vidUrl),
|
|
7974
7977
|
opts: opts,
|
|
@@ -7979,10 +7982,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7979
7982
|
return handleOnEnd(e);
|
|
7980
7983
|
}
|
|
7981
7984
|
}),
|
|
7982
|
-
vidUrl && vidType == 'mp4' && React__default[
|
|
7983
|
-
vidUrl && vidType == 'brightcove' && React__default[
|
|
7984
|
-
React__default[
|
|
7985
|
-
series && React__default[
|
|
7985
|
+
vidUrl && vidType == 'mp4' && React__default['default'].createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7986
|
+
vidUrl && vidType == 'brightcove' && React__default['default'].createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7987
|
+
React__default['default'].createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7988
|
+
series && React__default['default'].createElement(
|
|
7986
7989
|
'div',
|
|
7987
7990
|
{
|
|
7988
7991
|
className: 'vid-series',
|
|
@@ -7992,10 +7995,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7992
7995
|
maxHeight: '100%',
|
|
7993
7996
|
paddingBottom: '0'
|
|
7994
7997
|
} },
|
|
7995
|
-
React__default[
|
|
7998
|
+
React__default['default'].createElement(
|
|
7996
7999
|
'p',
|
|
7997
8000
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7998
|
-
React__default[
|
|
8001
|
+
React__default['default'].createElement(
|
|
7999
8002
|
'b',
|
|
8000
8003
|
{ style: { fontSize: '1.25em' } },
|
|
8001
8004
|
'Now Playing:'
|
|
@@ -8003,16 +8006,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8003
8006
|
' ',
|
|
8004
8007
|
seriesData[series ? series - 1 : 0].title
|
|
8005
8008
|
),
|
|
8006
|
-
vidUrl && React__default[
|
|
8009
|
+
vidUrl && React__default['default'].createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8007
8010
|
)
|
|
8008
8011
|
),
|
|
8009
|
-
React__default[
|
|
8010
|
-
React__default[
|
|
8012
|
+
React__default['default'].createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8013
|
+
React__default['default'].createElement(
|
|
8011
8014
|
'div',
|
|
8012
8015
|
{ className: 'vid-text' },
|
|
8013
|
-
Videos[series - 1] && Videos[series - 1].text && React__default[
|
|
8016
|
+
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()))
|
|
8014
8017
|
),
|
|
8015
|
-
React__default[
|
|
8018
|
+
React__default['default'].createElement(
|
|
8016
8019
|
'style',
|
|
8017
8020
|
{ jsx: 'true' },
|
|
8018
8021
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8065,67 +8068,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8065
8068
|
return acc;
|
|
8066
8069
|
}
|
|
8067
8070
|
}, 0);
|
|
8068
|
-
return React__default[
|
|
8069
|
-
React__default[
|
|
8071
|
+
return React__default['default'].createElement(
|
|
8072
|
+
React__default['default'].Fragment,
|
|
8070
8073
|
null,
|
|
8071
|
-
question && React__default[
|
|
8074
|
+
question && React__default['default'].createElement(
|
|
8072
8075
|
'p',
|
|
8073
8076
|
{ className: 'font-weight-bold' },
|
|
8074
8077
|
question
|
|
8075
8078
|
),
|
|
8076
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8079
|
+
!showAnswer && choices && choices.length > 0 && React__default['default'].createElement(
|
|
8077
8080
|
'form',
|
|
8078
8081
|
{ onSubmit: function onSubmit(e) {
|
|
8079
8082
|
return onSubmitPoll(e);
|
|
8080
8083
|
} },
|
|
8081
8084
|
choices && choices.map(function (choice) {
|
|
8082
|
-
return React__default[
|
|
8085
|
+
return React__default['default'].createElement(
|
|
8083
8086
|
'div',
|
|
8084
8087
|
{ key: choice._key },
|
|
8085
|
-
React__default[
|
|
8088
|
+
React__default['default'].createElement(
|
|
8086
8089
|
'label',
|
|
8087
8090
|
{ className: 'pl-2' },
|
|
8088
|
-
React__default[
|
|
8091
|
+
React__default['default'].createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8089
8092
|
return setSelectedChoice(e.target.value);
|
|
8090
8093
|
} }),
|
|
8091
8094
|
' ' + choice.choiceText
|
|
8092
8095
|
)
|
|
8093
8096
|
);
|
|
8094
8097
|
}),
|
|
8095
|
-
React__default[
|
|
8098
|
+
React__default['default'].createElement(
|
|
8096
8099
|
reactBootstrap.Button,
|
|
8097
8100
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8098
8101
|
'Vote'
|
|
8099
8102
|
)
|
|
8100
8103
|
),
|
|
8101
|
-
React__default[
|
|
8104
|
+
React__default['default'].createElement(
|
|
8102
8105
|
'div',
|
|
8103
8106
|
{ className: 'progress-container' },
|
|
8104
8107
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8105
8108
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8106
|
-
return React__default[
|
|
8109
|
+
return React__default['default'].createElement(
|
|
8107
8110
|
'div',
|
|
8108
8111
|
{ key: choice._key, className: 'mb-3' },
|
|
8109
|
-
React__default[
|
|
8112
|
+
React__default['default'].createElement(
|
|
8110
8113
|
'div',
|
|
8111
8114
|
{ className: 'correct-answer' },
|
|
8112
|
-
React__default[
|
|
8115
|
+
React__default['default'].createElement(
|
|
8113
8116
|
'div',
|
|
8114
8117
|
null,
|
|
8115
8118
|
choice.choiceText
|
|
8116
8119
|
),
|
|
8117
|
-
choice.choiceAnswer === true && React__default[
|
|
8120
|
+
choice.choiceAnswer === true && React__default['default'].createElement(
|
|
8118
8121
|
'div',
|
|
8119
8122
|
null,
|
|
8120
|
-
React__default[
|
|
8123
|
+
React__default['default'].createElement(
|
|
8121
8124
|
'span',
|
|
8122
8125
|
{ style: { color: 'limegreen' } },
|
|
8123
8126
|
'Correct!'
|
|
8124
8127
|
)
|
|
8125
8128
|
)
|
|
8126
8129
|
),
|
|
8127
|
-
React__default[
|
|
8128
|
-
React__default[
|
|
8130
|
+
React__default['default'].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8131
|
+
React__default['default'].createElement(
|
|
8129
8132
|
'span',
|
|
8130
8133
|
{ className: 'float-right' },
|
|
8131
8134
|
percentage,
|
|
@@ -8136,14 +8139,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8136
8139
|
);
|
|
8137
8140
|
})
|
|
8138
8141
|
),
|
|
8139
|
-
showAnswer && React__default[
|
|
8142
|
+
showAnswer && React__default['default'].createElement(
|
|
8140
8143
|
'h4',
|
|
8141
8144
|
{ className: 'text-center small p-3' },
|
|
8142
8145
|
'Total Votes: ',
|
|
8143
8146
|
choicesTotalCount
|
|
8144
8147
|
),
|
|
8145
|
-
showAnswer && response && React__default[
|
|
8146
|
-
React__default[
|
|
8148
|
+
showAnswer && response && React__default['default'].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8149
|
+
React__default['default'].createElement(
|
|
8147
8150
|
'style',
|
|
8148
8151
|
{ jsx: 'true' },
|
|
8149
8152
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8242,67 +8245,67 @@ var Poll = function Poll(_ref) {
|
|
|
8242
8245
|
return acc;
|
|
8243
8246
|
}
|
|
8244
8247
|
}, 0);
|
|
8245
|
-
return React__default[
|
|
8246
|
-
React__default[
|
|
8248
|
+
return React__default['default'].createElement(
|
|
8249
|
+
React__default['default'].Fragment,
|
|
8247
8250
|
null,
|
|
8248
|
-
question && React__default[
|
|
8251
|
+
question && React__default['default'].createElement(
|
|
8249
8252
|
'p',
|
|
8250
8253
|
{ className: 'font-weight-bold' },
|
|
8251
8254
|
question
|
|
8252
8255
|
),
|
|
8253
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8256
|
+
!showAnswer && choices && choices.length > 0 && React__default['default'].createElement(
|
|
8254
8257
|
'form',
|
|
8255
8258
|
{ onSubmit: function onSubmit(e) {
|
|
8256
8259
|
return onSubmitPoll(e);
|
|
8257
8260
|
} },
|
|
8258
8261
|
choices && choices.map(function (choice) {
|
|
8259
|
-
return React__default[
|
|
8262
|
+
return React__default['default'].createElement(
|
|
8260
8263
|
'div',
|
|
8261
8264
|
{ key: choice._key },
|
|
8262
|
-
React__default[
|
|
8265
|
+
React__default['default'].createElement(
|
|
8263
8266
|
'label',
|
|
8264
8267
|
{ className: 'pl-2' },
|
|
8265
|
-
React__default[
|
|
8268
|
+
React__default['default'].createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8266
8269
|
return setSelectedChoice(e.target.value);
|
|
8267
8270
|
} }),
|
|
8268
8271
|
' ' + choice.choiceText
|
|
8269
8272
|
)
|
|
8270
8273
|
);
|
|
8271
8274
|
}),
|
|
8272
|
-
React__default[
|
|
8275
|
+
React__default['default'].createElement(
|
|
8273
8276
|
reactBootstrap.Button,
|
|
8274
8277
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8275
8278
|
'Vote'
|
|
8276
8279
|
)
|
|
8277
8280
|
),
|
|
8278
|
-
React__default[
|
|
8281
|
+
React__default['default'].createElement(
|
|
8279
8282
|
'div',
|
|
8280
8283
|
{ className: 'progress-container' },
|
|
8281
8284
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8282
8285
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8283
|
-
return React__default[
|
|
8286
|
+
return React__default['default'].createElement(
|
|
8284
8287
|
'div',
|
|
8285
8288
|
{ key: choice._key, className: 'mb-3' },
|
|
8286
|
-
React__default[
|
|
8289
|
+
React__default['default'].createElement(
|
|
8287
8290
|
'div',
|
|
8288
8291
|
{ className: 'correct-answer' },
|
|
8289
|
-
React__default[
|
|
8292
|
+
React__default['default'].createElement(
|
|
8290
8293
|
'div',
|
|
8291
8294
|
null,
|
|
8292
8295
|
choice.choiceText
|
|
8293
8296
|
),
|
|
8294
|
-
choice.choiceAnswer === true && React__default[
|
|
8297
|
+
choice.choiceAnswer === true && React__default['default'].createElement(
|
|
8295
8298
|
'div',
|
|
8296
8299
|
null,
|
|
8297
|
-
React__default[
|
|
8300
|
+
React__default['default'].createElement(
|
|
8298
8301
|
'span',
|
|
8299
8302
|
{ style: { color: 'limegreen' } },
|
|
8300
8303
|
'Correct!'
|
|
8301
8304
|
)
|
|
8302
8305
|
)
|
|
8303
8306
|
),
|
|
8304
|
-
React__default[
|
|
8305
|
-
React__default[
|
|
8307
|
+
React__default['default'].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8308
|
+
React__default['default'].createElement(
|
|
8306
8309
|
'span',
|
|
8307
8310
|
{ className: 'float-right' },
|
|
8308
8311
|
percentage,
|
|
@@ -8313,14 +8316,14 @@ var Poll = function Poll(_ref) {
|
|
|
8313
8316
|
);
|
|
8314
8317
|
})
|
|
8315
8318
|
),
|
|
8316
|
-
showAnswer && React__default[
|
|
8319
|
+
showAnswer && React__default['default'].createElement(
|
|
8317
8320
|
'h4',
|
|
8318
8321
|
{ className: 'text-center small p-3' },
|
|
8319
8322
|
'Total Votes: ',
|
|
8320
8323
|
choicesTotalCount
|
|
8321
8324
|
),
|
|
8322
|
-
showAnswer && response && React__default[
|
|
8323
|
-
React__default[
|
|
8325
|
+
showAnswer && response && React__default['default'].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8326
|
+
React__default['default'].createElement(
|
|
8324
8327
|
'style',
|
|
8325
8328
|
{ jsx: 'true' },
|
|
8326
8329
|
'\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 '
|
|
@@ -8464,34 +8467,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8464
8467
|
};
|
|
8465
8468
|
|
|
8466
8469
|
var renderPagination = function renderPagination() {
|
|
8467
|
-
return React__default[
|
|
8468
|
-
Pagination__default[
|
|
8470
|
+
return React__default['default'].createElement(
|
|
8471
|
+
Pagination__default['default'],
|
|
8469
8472
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8470
|
-
React__default[
|
|
8473
|
+
React__default['default'].createElement(Pagination__default['default'].First, { onClick: function onClick() {
|
|
8471
8474
|
return changePage('first');
|
|
8472
8475
|
}, disabled: currentPage === 1 }),
|
|
8473
|
-
React__default[
|
|
8476
|
+
React__default['default'].createElement(Pagination__default['default'].Prev, { onClick: function onClick() {
|
|
8474
8477
|
return changePage('prev');
|
|
8475
8478
|
}, disabled: currentPage === 1 }),
|
|
8476
|
-
React__default[
|
|
8479
|
+
React__default['default'].createElement(Pagination__default['default'].Ellipsis, { onClick: function onClick() {
|
|
8477
8480
|
return renderNewPages('prev');
|
|
8478
8481
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8479
8482
|
pages.map(function (page) {
|
|
8480
|
-
return React__default[
|
|
8481
|
-
Pagination__default[
|
|
8483
|
+
return React__default['default'].createElement(
|
|
8484
|
+
Pagination__default['default'].Item,
|
|
8482
8485
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8483
8486
|
return changePage(page);
|
|
8484
8487
|
} },
|
|
8485
8488
|
page
|
|
8486
8489
|
);
|
|
8487
8490
|
}),
|
|
8488
|
-
React__default[
|
|
8491
|
+
React__default['default'].createElement(Pagination__default['default'].Ellipsis, { onClick: function onClick() {
|
|
8489
8492
|
return renderNewPages('next');
|
|
8490
8493
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8491
|
-
React__default[
|
|
8494
|
+
React__default['default'].createElement(Pagination__default['default'].Next, { onClick: function onClick() {
|
|
8492
8495
|
return changePage('next');
|
|
8493
8496
|
}, disabled: currentPage === pageCount }),
|
|
8494
|
-
React__default[
|
|
8497
|
+
React__default['default'].createElement(Pagination__default['default'].Last, { onClick: function onClick() {
|
|
8495
8498
|
return changePage('last');
|
|
8496
8499
|
}, disabled: currentPage === pageCount })
|
|
8497
8500
|
);
|
|
@@ -8602,49 +8605,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8602
8605
|
}
|
|
8603
8606
|
};
|
|
8604
8607
|
|
|
8605
|
-
return React__default[
|
|
8606
|
-
React__default[
|
|
8608
|
+
return React__default['default'].createElement(
|
|
8609
|
+
React__default['default'].Fragment,
|
|
8607
8610
|
null,
|
|
8608
|
-
quizzes[currentPage - 1] && React__default[
|
|
8609
|
-
React__default[
|
|
8611
|
+
quizzes[currentPage - 1] && React__default['default'].createElement(
|
|
8612
|
+
React__default['default'].Fragment,
|
|
8610
8613
|
null,
|
|
8611
|
-
React__default[
|
|
8612
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default[
|
|
8614
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8615
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default['default'].createElement(
|
|
8613
8616
|
'form',
|
|
8614
8617
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8615
8618
|
return e.preventDefault();
|
|
8616
8619
|
} },
|
|
8617
8620
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8618
|
-
return React__default[
|
|
8621
|
+
return React__default['default'].createElement(
|
|
8619
8622
|
'div',
|
|
8620
8623
|
{ key: answer._key },
|
|
8621
|
-
React__default[
|
|
8624
|
+
React__default['default'].createElement(
|
|
8622
8625
|
'label',
|
|
8623
8626
|
{ className: 'pl-2' },
|
|
8624
|
-
quizzes[currentPage - 1].multiAnswer ? React__default[
|
|
8627
|
+
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 }),
|
|
8625
8628
|
' ' + answer.answerText
|
|
8626
8629
|
)
|
|
8627
8630
|
);
|
|
8628
8631
|
})
|
|
8629
8632
|
)
|
|
8630
8633
|
),
|
|
8631
|
-
!showAnswer && React__default[
|
|
8632
|
-
Button__default[
|
|
8634
|
+
!showAnswer && React__default['default'].createElement(
|
|
8635
|
+
Button__default['default'],
|
|
8633
8636
|
{ onClick: function onClick(e) {
|
|
8634
8637
|
return checkAnswers(e);
|
|
8635
8638
|
}, variant: 'info', block: true },
|
|
8636
8639
|
'Please click here for answer'
|
|
8637
8640
|
),
|
|
8638
|
-
quizzes[currentPage - 1] && showAnswer && React__default[
|
|
8639
|
-
React__default[
|
|
8641
|
+
quizzes[currentPage - 1] && showAnswer && React__default['default'].createElement(
|
|
8642
|
+
React__default['default'].Fragment,
|
|
8640
8643
|
null,
|
|
8641
|
-
quizzes[currentPage - 1].answer && React__default[
|
|
8644
|
+
quizzes[currentPage - 1].answer && React__default['default'].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8642
8645
|
),
|
|
8643
|
-
React__default[
|
|
8644
|
-
firstRender && React__default[
|
|
8645
|
-
React__default[
|
|
8646
|
+
React__default['default'].createElement('br', null),
|
|
8647
|
+
firstRender && React__default['default'].createElement(
|
|
8648
|
+
React__default['default'].Fragment,
|
|
8646
8649
|
null,
|
|
8647
|
-
pageCount > 1 && currentPage && React__default[
|
|
8650
|
+
pageCount > 1 && currentPage && React__default['default'].createElement(
|
|
8648
8651
|
'div',
|
|
8649
8652
|
{ className: 'd-flex justify-content-center' },
|
|
8650
8653
|
renderPagination()
|
|
@@ -8656,15 +8659,15 @@ var Quiz = function Quiz(_ref) {
|
|
|
8656
8659
|
var Leads = function Leads(_ref) {
|
|
8657
8660
|
var url = _ref.url;
|
|
8658
8661
|
|
|
8659
|
-
return React__default[
|
|
8662
|
+
return React__default['default'].createElement(
|
|
8660
8663
|
'div',
|
|
8661
8664
|
{ className: 'd-block text-center mb-3' },
|
|
8662
|
-
React__default[
|
|
8665
|
+
React__default['default'].createElement(
|
|
8663
8666
|
'style',
|
|
8664
8667
|
{ jsx: 'true' },
|
|
8665
8668
|
'\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 '
|
|
8666
8669
|
),
|
|
8667
|
-
url && React__default[
|
|
8670
|
+
url && React__default['default'].createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8668
8671
|
);
|
|
8669
8672
|
};
|
|
8670
8673
|
|
|
@@ -8706,49 +8709,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8706
8709
|
if (pageview) pageview(href);
|
|
8707
8710
|
};
|
|
8708
8711
|
|
|
8709
|
-
return React__default[
|
|
8712
|
+
return React__default['default'].createElement(
|
|
8710
8713
|
'div',
|
|
8711
8714
|
{ className: 'mt-3 mb-4' },
|
|
8712
|
-
React__default[
|
|
8715
|
+
React__default['default'].createElement(
|
|
8713
8716
|
reactBootstrap.Carousel,
|
|
8714
8717
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8715
8718
|
slides && slides.map(function (slide) {
|
|
8716
8719
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8717
|
-
return React__default[
|
|
8720
|
+
return React__default['default'].createElement(
|
|
8718
8721
|
reactBootstrap.Carousel.Item,
|
|
8719
8722
|
{ key: slide._key },
|
|
8720
|
-
React__default[
|
|
8723
|
+
React__default['default'].createElement(
|
|
8721
8724
|
'a',
|
|
8722
8725
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8723
|
-
React__default[
|
|
8726
|
+
React__default['default'].createElement(
|
|
8724
8727
|
'div',
|
|
8725
8728
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8726
|
-
React__default[
|
|
8729
|
+
React__default['default'].createElement(
|
|
8727
8730
|
'picture',
|
|
8728
8731
|
null,
|
|
8729
|
-
React__default[
|
|
8730
|
-
React__default[
|
|
8731
|
-
React__default[
|
|
8732
|
-
React__default[
|
|
8732
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8733
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8734
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8735
|
+
React__default['default'].createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8733
8736
|
)
|
|
8734
8737
|
)
|
|
8735
8738
|
),
|
|
8736
|
-
React__default[
|
|
8739
|
+
React__default['default'].createElement(
|
|
8737
8740
|
'div',
|
|
8738
8741
|
{ className: 'p-2' },
|
|
8739
|
-
slide.slideshowImage.caption && React__default[
|
|
8742
|
+
slide.slideshowImage.caption && React__default['default'].createElement(
|
|
8740
8743
|
'h3',
|
|
8741
8744
|
{ style: { padding: '0px' } },
|
|
8742
8745
|
slide.slideshowImage.caption
|
|
8743
8746
|
),
|
|
8744
|
-
slide.description && React__default[
|
|
8747
|
+
slide.description && React__default['default'].createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8745
8748
|
)
|
|
8746
8749
|
);
|
|
8747
8750
|
}
|
|
8748
8751
|
return null;
|
|
8749
8752
|
})
|
|
8750
8753
|
),
|
|
8751
|
-
React__default[
|
|
8754
|
+
React__default['default'].createElement(
|
|
8752
8755
|
'style',
|
|
8753
8756
|
{ jsx: 'true' },
|
|
8754
8757
|
'\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 '
|
|
@@ -8767,10 +8770,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8767
8770
|
sizes = _props$node.sizes,
|
|
8768
8771
|
sizeMapping = _props$node.sizeMapping;
|
|
8769
8772
|
|
|
8770
|
-
return React__default[
|
|
8773
|
+
return React__default['default'].createElement(
|
|
8771
8774
|
'div',
|
|
8772
8775
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8773
|
-
React__default[
|
|
8776
|
+
React__default['default'].createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8774
8777
|
);
|
|
8775
8778
|
};
|
|
8776
8779
|
|
|
@@ -8781,15 +8784,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8781
8784
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8782
8785
|
|
|
8783
8786
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8784
|
-
return React__default[
|
|
8787
|
+
return React__default['default'].createElement(
|
|
8785
8788
|
'section',
|
|
8786
8789
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8787
|
-
Caption && React__default[
|
|
8790
|
+
Caption && React__default['default'].createElement(
|
|
8788
8791
|
'h4',
|
|
8789
8792
|
{ className: 'formstack-caption' },
|
|
8790
8793
|
Caption
|
|
8791
8794
|
),
|
|
8792
|
-
React__default[
|
|
8795
|
+
React__default['default'].createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8793
8796
|
);
|
|
8794
8797
|
};
|
|
8795
8798
|
|
|
@@ -8805,36 +8808,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8805
8808
|
}
|
|
8806
8809
|
});
|
|
8807
8810
|
if (medias && medias.length > 0) {
|
|
8808
|
-
return React__default[
|
|
8811
|
+
return React__default['default'].createElement(
|
|
8809
8812
|
'div',
|
|
8810
8813
|
{ className: 'multi-media-container' },
|
|
8811
|
-
React__default[
|
|
8812
|
-
Row__default[
|
|
8814
|
+
React__default['default'].createElement(
|
|
8815
|
+
Row__default['default'],
|
|
8813
8816
|
{ noGutters: true },
|
|
8814
8817
|
medias.map(function (media) {
|
|
8815
|
-
return React__default[
|
|
8816
|
-
Col__default[
|
|
8818
|
+
return React__default['default'].createElement(
|
|
8819
|
+
Col__default['default'],
|
|
8817
8820
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8818
|
-
React__default[
|
|
8821
|
+
React__default['default'].createElement(
|
|
8819
8822
|
'a',
|
|
8820
8823
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8821
8824
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8822
|
-
React__default[
|
|
8825
|
+
React__default['default'].createElement(
|
|
8823
8826
|
'div',
|
|
8824
8827
|
{ className: 'multi-media-image-container' },
|
|
8825
|
-
imageBox && React__default[
|
|
8828
|
+
imageBox && React__default['default'].createElement(
|
|
8826
8829
|
index$2.LazyLoad,
|
|
8827
8830
|
{ once: true },
|
|
8828
|
-
React__default[
|
|
8831
|
+
React__default['default'].createElement(
|
|
8829
8832
|
'picture',
|
|
8830
8833
|
null,
|
|
8831
|
-
React__default[
|
|
8832
|
-
React__default[
|
|
8833
|
-
React__default[
|
|
8834
|
-
React__default[
|
|
8834
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8835
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8836
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8837
|
+
React__default['default'].createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8835
8838
|
)
|
|
8836
8839
|
),
|
|
8837
|
-
media.caption && React__default[
|
|
8840
|
+
media.caption && React__default['default'].createElement(
|
|
8838
8841
|
'span',
|
|
8839
8842
|
{ className: 'multi-media-caption' },
|
|
8840
8843
|
media.caption
|
|
@@ -8844,7 +8847,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8844
8847
|
);
|
|
8845
8848
|
})
|
|
8846
8849
|
),
|
|
8847
|
-
React__default[
|
|
8850
|
+
React__default['default'].createElement(
|
|
8848
8851
|
'style',
|
|
8849
8852
|
{ jsx: 'true' },
|
|
8850
8853
|
'\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 '
|
|
@@ -8891,7 +8894,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8891
8894
|
}
|
|
8892
8895
|
};
|
|
8893
8896
|
|
|
8894
|
-
_this.wraperRef = React__default[
|
|
8897
|
+
_this.wraperRef = React__default['default'].createRef();
|
|
8895
8898
|
_this.visible = false;
|
|
8896
8899
|
return _this;
|
|
8897
8900
|
}
|
|
@@ -8919,7 +8922,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8919
8922
|
_props$id = _props.id,
|
|
8920
8923
|
id = _props$id === undefined ? '' : _props$id;
|
|
8921
8924
|
|
|
8922
|
-
return React__default[
|
|
8925
|
+
return React__default['default'].createElement(
|
|
8923
8926
|
'div',
|
|
8924
8927
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8925
8928
|
this.props.children
|
|
@@ -8928,7 +8931,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8928
8931
|
}]);
|
|
8929
8932
|
|
|
8930
8933
|
return InscreenSensor;
|
|
8931
|
-
}(React__default[
|
|
8934
|
+
}(React__default['default'].Component);
|
|
8932
8935
|
|
|
8933
8936
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8934
8937
|
var nodes = _ref.nodes,
|
|
@@ -9039,33 +9042,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9039
9042
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9040
9043
|
var showReading = show ? 'showReading' : '';
|
|
9041
9044
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9042
|
-
return React__default[
|
|
9045
|
+
return React__default['default'].createElement(
|
|
9043
9046
|
'div',
|
|
9044
9047
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9045
|
-
React__default[
|
|
9048
|
+
React__default['default'].createElement(
|
|
9046
9049
|
'a',
|
|
9047
9050
|
{ onClick: function onClick(e) {
|
|
9048
9051
|
return articleCardClickHandler(e);
|
|
9049
9052
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9050
|
-
React__default[
|
|
9053
|
+
React__default['default'].createElement(
|
|
9051
9054
|
'div',
|
|
9052
9055
|
{ className: 'prevNext-thumbnail' },
|
|
9053
|
-
React__default[
|
|
9054
|
-
React__default[
|
|
9056
|
+
React__default['default'].createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9057
|
+
React__default['default'].createElement(
|
|
9055
9058
|
'div',
|
|
9056
9059
|
{ className: 'prevNext-reading ' + showReading },
|
|
9057
9060
|
articleLabel
|
|
9058
9061
|
)
|
|
9059
9062
|
),
|
|
9060
|
-
React__default[
|
|
9063
|
+
React__default['default'].createElement(
|
|
9061
9064
|
'div',
|
|
9062
9065
|
{ className: 'prevNext-summary' },
|
|
9063
|
-
React__default[
|
|
9066
|
+
React__default['default'].createElement(
|
|
9064
9067
|
'div',
|
|
9065
9068
|
{ className: 'prevNext-publishDate' },
|
|
9066
9069
|
moment.moment(article.published).format('LL')
|
|
9067
9070
|
),
|
|
9068
|
-
React__default[
|
|
9071
|
+
React__default['default'].createElement(
|
|
9069
9072
|
'h2',
|
|
9070
9073
|
{ className: 'prevNext-title' },
|
|
9071
9074
|
article.title
|
|
@@ -9114,7 +9117,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9114
9117
|
|
|
9115
9118
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9116
9119
|
if (biography) {
|
|
9117
|
-
return React__default[
|
|
9120
|
+
return React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9118
9121
|
}
|
|
9119
9122
|
};
|
|
9120
9123
|
|
|
@@ -9272,40 +9275,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9272
9275
|
setSensorVisible(false);
|
|
9273
9276
|
};
|
|
9274
9277
|
|
|
9275
|
-
return React__default[
|
|
9276
|
-
React__default[
|
|
9278
|
+
return React__default['default'].createElement(
|
|
9279
|
+
React__default['default'].Fragment,
|
|
9277
9280
|
null,
|
|
9278
|
-
React__default[
|
|
9281
|
+
React__default['default'].createElement(
|
|
9279
9282
|
'div',
|
|
9280
9283
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9281
|
-
React__default[
|
|
9284
|
+
React__default['default'].createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9282
9285
|
return handleArrowClick();
|
|
9283
9286
|
} })
|
|
9284
9287
|
),
|
|
9285
|
-
React__default[
|
|
9286
|
-
React__default[
|
|
9288
|
+
React__default['default'].createElement('hr', { className: 'article-seperater my-4' }),
|
|
9289
|
+
React__default['default'].createElement(
|
|
9287
9290
|
'div',
|
|
9288
9291
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9289
|
-
React__default[
|
|
9292
|
+
React__default['default'].createElement(
|
|
9290
9293
|
'h5',
|
|
9291
9294
|
{ className: 'objective-title' },
|
|
9292
9295
|
nodes.seriesTitle
|
|
9293
9296
|
),
|
|
9294
|
-
React__default[
|
|
9297
|
+
React__default['default'].createElement(
|
|
9295
9298
|
'div',
|
|
9296
9299
|
{ className: 'prevNextWrapper' },
|
|
9297
9300
|
PrevNextCards(false, -1)
|
|
9298
9301
|
)
|
|
9299
9302
|
),
|
|
9300
|
-
React__default[
|
|
9301
|
-
React__default[
|
|
9303
|
+
React__default['default'].createElement('hr', { className: 'article-seperater' }),
|
|
9304
|
+
React__default['default'].createElement(
|
|
9302
9305
|
'div',
|
|
9303
9306
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9304
9307
|
Articles.map(function (article, index) {
|
|
9305
|
-
return React__default[
|
|
9308
|
+
return React__default['default'].createElement(
|
|
9306
9309
|
'div',
|
|
9307
9310
|
{ key: article.title },
|
|
9308
|
-
React__default[
|
|
9311
|
+
React__default['default'].createElement(
|
|
9309
9312
|
InscreenSensor,
|
|
9310
9313
|
{
|
|
9311
9314
|
visible: sensorVisible,
|
|
@@ -9323,82 +9326,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9323
9326
|
}
|
|
9324
9327
|
}
|
|
9325
9328
|
} },
|
|
9326
|
-
React__default[
|
|
9327
|
-
Head__default[
|
|
9329
|
+
React__default['default'].createElement(
|
|
9330
|
+
Head__default['default'],
|
|
9328
9331
|
null,
|
|
9329
|
-
currentTitle !== null && React__default[
|
|
9332
|
+
currentTitle !== null && React__default['default'].createElement(
|
|
9330
9333
|
'title',
|
|
9331
9334
|
{ key: 'title' },
|
|
9332
9335
|
currentTitle
|
|
9333
9336
|
),
|
|
9334
|
-
currentSummary !== null && React__default[
|
|
9335
|
-
currentURL !== null && React__default[
|
|
9336
|
-
currentTitle !== null && React__default[
|
|
9337
|
-
currentThumbnail !== null && React__default[
|
|
9338
|
-
currentSummary !== null && React__default[
|
|
9339
|
-
currentTitle !== null && React__default[
|
|
9340
|
-
currentThumbnail !== null && React__default[
|
|
9341
|
-
currentSummary !== null && React__default[
|
|
9337
|
+
currentSummary !== null && React__default['default'].createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9338
|
+
currentURL !== null && React__default['default'].createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9339
|
+
currentTitle !== null && React__default['default'].createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9340
|
+
currentThumbnail !== null && React__default['default'].createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9341
|
+
currentSummary !== null && React__default['default'].createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9342
|
+
currentTitle !== null && React__default['default'].createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9343
|
+
currentThumbnail !== null && React__default['default'].createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9344
|
+
currentSummary !== null && React__default['default'].createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9342
9345
|
),
|
|
9343
|
-
React__default[
|
|
9346
|
+
React__default['default'].createElement(
|
|
9344
9347
|
'article',
|
|
9345
9348
|
{ className: 'article-wrapper' },
|
|
9346
|
-
React__default[
|
|
9349
|
+
React__default['default'].createElement(
|
|
9347
9350
|
'div',
|
|
9348
9351
|
{ className: 'article-publishDate' },
|
|
9349
9352
|
moment.moment(article.published).format('LL')
|
|
9350
9353
|
),
|
|
9351
|
-
React__default[
|
|
9354
|
+
React__default['default'].createElement(
|
|
9352
9355
|
'div',
|
|
9353
9356
|
{ className: 'author-details-wrapper' },
|
|
9354
9357
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9355
|
-
return React__default[
|
|
9358
|
+
return React__default['default'].createElement(
|
|
9356
9359
|
'span',
|
|
9357
9360
|
{ key: index },
|
|
9358
9361
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9359
9362
|
);
|
|
9360
9363
|
})
|
|
9361
9364
|
),
|
|
9362
|
-
React__default[
|
|
9365
|
+
React__default['default'].createElement(
|
|
9363
9366
|
'h2',
|
|
9364
9367
|
{ className: 'article-title' },
|
|
9365
9368
|
article.title
|
|
9366
9369
|
),
|
|
9367
|
-
React__default[
|
|
9370
|
+
React__default['default'].createElement(
|
|
9368
9371
|
'div',
|
|
9369
9372
|
{ className: 'mt-2 mb-2' },
|
|
9370
|
-
React__default[
|
|
9373
|
+
React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({
|
|
9371
9374
|
serializers: getSerializers,
|
|
9372
9375
|
videoAccountIDs: accountIDs,
|
|
9373
9376
|
blocks: article.text,
|
|
9374
9377
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9375
9378
|
}, client.config())),
|
|
9376
|
-
React__default[
|
|
9379
|
+
React__default['default'].createElement('hr', { className: 'article-seperater my-4' })
|
|
9377
9380
|
),
|
|
9378
|
-
Articles.length > 1 && React__default[
|
|
9379
|
-
React__default[
|
|
9381
|
+
Articles.length > 1 && React__default['default'].createElement(
|
|
9382
|
+
React__default['default'].Fragment,
|
|
9380
9383
|
null,
|
|
9381
|
-
React__default[
|
|
9384
|
+
React__default['default'].createElement(
|
|
9382
9385
|
'div',
|
|
9383
9386
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9384
|
-
React__default[
|
|
9387
|
+
React__default['default'].createElement(
|
|
9385
9388
|
'h5',
|
|
9386
9389
|
{ className: 'objective-title' },
|
|
9387
9390
|
nodes.seriesTitle
|
|
9388
9391
|
),
|
|
9389
|
-
React__default[
|
|
9392
|
+
React__default['default'].createElement(
|
|
9390
9393
|
'div',
|
|
9391
9394
|
{ className: 'prevNextWrapper' },
|
|
9392
9395
|
PrevNextCards(true, index)
|
|
9393
9396
|
)
|
|
9394
9397
|
),
|
|
9395
|
-
React__default[
|
|
9398
|
+
React__default['default'].createElement('hr', { className: 'article-seperater' })
|
|
9396
9399
|
)
|
|
9397
9400
|
)
|
|
9398
9401
|
)
|
|
9399
9402
|
);
|
|
9400
9403
|
}),
|
|
9401
|
-
React__default[
|
|
9404
|
+
React__default['default'].createElement(
|
|
9402
9405
|
'style',
|
|
9403
9406
|
{ jsx: 'true' },
|
|
9404
9407
|
'\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 '
|
|
@@ -9428,11 +9431,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9428
9431
|
};
|
|
9429
9432
|
}, [handleClickOutside]);
|
|
9430
9433
|
|
|
9431
|
-
return React__default[
|
|
9434
|
+
return React__default['default'].createElement(
|
|
9432
9435
|
'div',
|
|
9433
9436
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9434
|
-
React__default[
|
|
9435
|
-
React__default[
|
|
9437
|
+
React__default['default'].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9438
|
+
React__default['default'].createElement(
|
|
9436
9439
|
'style',
|
|
9437
9440
|
{ jsx: 'true' },
|
|
9438
9441
|
'\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 '
|
|
@@ -9446,7 +9449,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9446
9449
|
}
|
|
9447
9450
|
};
|
|
9448
9451
|
|
|
9449
|
-
var FigureImage$1 = React__default[
|
|
9452
|
+
var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
9450
9453
|
var node = _ref2.node,
|
|
9451
9454
|
client = _ref2.client,
|
|
9452
9455
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9454,13 +9457,13 @@ var FigureImage$1 = React__default["default"].memo(function (_ref2) {
|
|
|
9454
9457
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9455
9458
|
|
|
9456
9459
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9457
|
-
return React__default[
|
|
9460
|
+
return React__default['default'].createElement(
|
|
9458
9461
|
'picture',
|
|
9459
9462
|
null,
|
|
9460
|
-
React__default[
|
|
9461
|
-
React__default[
|
|
9462
|
-
React__default[
|
|
9463
|
-
React__default[
|
|
9463
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9464
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9465
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9466
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9464
9467
|
style: figureImageStyle,
|
|
9465
9468
|
className: 'figure-image',
|
|
9466
9469
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9511,30 +9514,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9511
9514
|
|
|
9512
9515
|
var renderTooltip = function renderTooltip(props) {
|
|
9513
9516
|
if (infoBox[0].title) {
|
|
9514
|
-
return React__default[
|
|
9515
|
-
Popover__default[
|
|
9517
|
+
return React__default['default'].createElement(
|
|
9518
|
+
Popover__default['default'],
|
|
9516
9519
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9517
|
-
React__default[
|
|
9518
|
-
Popover__default[
|
|
9520
|
+
React__default['default'].createElement(
|
|
9521
|
+
Popover__default['default'].Title,
|
|
9519
9522
|
{ as: 'h3' },
|
|
9520
9523
|
infoBox[0].title
|
|
9521
9524
|
),
|
|
9522
|
-
React__default[
|
|
9523
|
-
Popover__default[
|
|
9525
|
+
React__default['default'].createElement(
|
|
9526
|
+
Popover__default['default'].Content,
|
|
9524
9527
|
null,
|
|
9525
|
-
React__default[
|
|
9528
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9526
9529
|
)
|
|
9527
9530
|
);
|
|
9528
9531
|
} else {
|
|
9529
|
-
return React__default[
|
|
9530
|
-
Tooltip__default[
|
|
9532
|
+
return React__default['default'].createElement(
|
|
9533
|
+
Tooltip__default['default'],
|
|
9531
9534
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9532
|
-
React__default[
|
|
9535
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9533
9536
|
);
|
|
9534
9537
|
}
|
|
9535
9538
|
};
|
|
9536
9539
|
|
|
9537
|
-
var FigureImageWOverLay = React__default[
|
|
9540
|
+
var FigureImageWOverLay = React__default['default'].memo(function (_ref3) {
|
|
9538
9541
|
var node = _ref3.node,
|
|
9539
9542
|
client = _ref3.client,
|
|
9540
9543
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9544,13 +9547,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9544
9547
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9545
9548
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9546
9549
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9547
|
-
return React__default[
|
|
9550
|
+
return React__default['default'].createElement(
|
|
9548
9551
|
'picture',
|
|
9549
9552
|
null,
|
|
9550
|
-
React__default[
|
|
9551
|
-
React__default[
|
|
9552
|
-
React__default[
|
|
9553
|
-
main.main_42 && link ? React__default[
|
|
9553
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9554
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9555
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9556
|
+
main.main_42 && link ? React__default['default'].createElement('img', _extends._extends({
|
|
9554
9557
|
style: figureImageStyle,
|
|
9555
9558
|
className: 'figure-image',
|
|
9556
9559
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9559,10 +9562,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9559
9562
|
onClick: function onClick() {
|
|
9560
9563
|
return handleClickFigure(node, client);
|
|
9561
9564
|
}
|
|
9562
|
-
})) : React__default[
|
|
9563
|
-
OverlayTrigger__default[
|
|
9565
|
+
})) : React__default['default'].createElement(
|
|
9566
|
+
OverlayTrigger__default['default'],
|
|
9564
9567
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9565
|
-
React__default[
|
|
9568
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9566
9569
|
style: figureImageStyle,
|
|
9567
9570
|
className: 'figure-image',
|
|
9568
9571
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9616,13 +9619,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9616
9619
|
|
|
9617
9620
|
var FigureCaption = React.useCallback(function () {
|
|
9618
9621
|
if (imgcaption && imgcaption.length > 0) {
|
|
9619
|
-
return React__default[
|
|
9622
|
+
return React__default['default'].createElement(
|
|
9620
9623
|
'div',
|
|
9621
9624
|
{ className: 'figure-caption' },
|
|
9622
|
-
React__default[
|
|
9625
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9623
9626
|
);
|
|
9624
9627
|
} else if (caption) {
|
|
9625
|
-
return React__default[
|
|
9628
|
+
return React__default['default'].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9626
9629
|
} else return null;
|
|
9627
9630
|
}, [caption, imgcaption]);
|
|
9628
9631
|
|
|
@@ -9639,24 +9642,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9639
9642
|
setShowLightbox(true);
|
|
9640
9643
|
}, [node, client]);
|
|
9641
9644
|
|
|
9642
|
-
return React__default[
|
|
9643
|
-
React__default[
|
|
9645
|
+
return React__default['default'].createElement(
|
|
9646
|
+
React__default['default'].Fragment,
|
|
9644
9647
|
null,
|
|
9645
|
-
infoBox.length >= 1 ? React__default[
|
|
9646
|
-
Figure__default[
|
|
9648
|
+
infoBox.length >= 1 ? React__default['default'].createElement(
|
|
9649
|
+
Figure__default['default'],
|
|
9647
9650
|
{ className: '' + class_name, style: figureStyle },
|
|
9648
|
-
link ? React__default[
|
|
9651
|
+
link ? React__default['default'].createElement(
|
|
9649
9652
|
'a',
|
|
9650
9653
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9651
|
-
React__default[
|
|
9652
|
-
React__default[
|
|
9653
|
-
) : React__default[
|
|
9654
|
-
React__default[
|
|
9654
|
+
React__default['default'].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9655
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9656
|
+
) : React__default['default'].createElement(
|
|
9657
|
+
React__default['default'].Fragment,
|
|
9655
9658
|
null,
|
|
9656
|
-
React__default[
|
|
9657
|
-
React__default[
|
|
9659
|
+
React__default['default'].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9660
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9658
9661
|
),
|
|
9659
|
-
React__default[
|
|
9662
|
+
React__default['default'].createElement(LightBox, {
|
|
9660
9663
|
showLightbox: showLightbox,
|
|
9661
9664
|
lightboxImgSrc: lightboxImgSrc,
|
|
9662
9665
|
closeLightbox: function closeLightbox() {
|
|
@@ -9664,21 +9667,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9664
9667
|
setShowLightbox(false);
|
|
9665
9668
|
}
|
|
9666
9669
|
})
|
|
9667
|
-
) : React__default[
|
|
9668
|
-
Figure__default[
|
|
9670
|
+
) : React__default['default'].createElement(
|
|
9671
|
+
Figure__default['default'],
|
|
9669
9672
|
{ className: '' + class_name, style: figureStyle },
|
|
9670
|
-
link ? React__default[
|
|
9673
|
+
link ? React__default['default'].createElement(
|
|
9671
9674
|
'a',
|
|
9672
9675
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9673
|
-
React__default[
|
|
9674
|
-
React__default[
|
|
9675
|
-
) : React__default[
|
|
9676
|
-
React__default[
|
|
9676
|
+
React__default['default'].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9677
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9678
|
+
) : React__default['default'].createElement(
|
|
9679
|
+
React__default['default'].Fragment,
|
|
9677
9680
|
null,
|
|
9678
|
-
React__default[
|
|
9679
|
-
React__default[
|
|
9681
|
+
React__default['default'].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9682
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9680
9683
|
),
|
|
9681
|
-
React__default[
|
|
9684
|
+
React__default['default'].createElement(LightBox, {
|
|
9682
9685
|
showLightbox: showLightbox,
|
|
9683
9686
|
lightboxImgSrc: lightboxImgSrc,
|
|
9684
9687
|
closeLightbox: function closeLightbox() {
|
|
@@ -9687,7 +9690,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9687
9690
|
}
|
|
9688
9691
|
})
|
|
9689
9692
|
),
|
|
9690
|
-
React__default[
|
|
9693
|
+
React__default['default'].createElement(
|
|
9691
9694
|
'style',
|
|
9692
9695
|
{ jsx: 'true' },
|
|
9693
9696
|
'\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 '
|
|
@@ -9695,7 +9698,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9695
9698
|
);
|
|
9696
9699
|
};
|
|
9697
9700
|
|
|
9698
|
-
var Figure = React__default[
|
|
9701
|
+
var Figure = React__default['default'].memo(FigureComponent, compareProps);
|
|
9699
9702
|
|
|
9700
9703
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9701
9704
|
React.useEffect(function () {
|
|
@@ -9712,7 +9715,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9712
9715
|
}, [ref]);
|
|
9713
9716
|
}
|
|
9714
9717
|
|
|
9715
|
-
var FigureImage = React__default[
|
|
9718
|
+
var FigureImage = React__default['default'].memo(function (_ref) {
|
|
9716
9719
|
var imagesCount = _ref.imagesCount,
|
|
9717
9720
|
image = _ref.image,
|
|
9718
9721
|
client = _ref.client,
|
|
@@ -9720,13 +9723,13 @@ var FigureImage = React__default["default"].memo(function (_ref) {
|
|
|
9720
9723
|
link = _ref.link,
|
|
9721
9724
|
handleClickFigure = _ref.handleClickFigure;
|
|
9722
9725
|
|
|
9723
|
-
return React__default[
|
|
9726
|
+
return React__default['default'].createElement(
|
|
9724
9727
|
'picture',
|
|
9725
9728
|
null,
|
|
9726
|
-
React__default[
|
|
9727
|
-
React__default[
|
|
9728
|
-
React__default[
|
|
9729
|
-
React__default[
|
|
9729
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9730
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9731
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9732
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9730
9733
|
'images-count': imagesCount,
|
|
9731
9734
|
className: 'multi-figure-image',
|
|
9732
9735
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9763,13 +9766,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9763
9766
|
imgcaption = _ref2.imgcaption;
|
|
9764
9767
|
|
|
9765
9768
|
if (imgcaption && imgcaption.length > 0) {
|
|
9766
|
-
return React__default[
|
|
9769
|
+
return React__default['default'].createElement(
|
|
9767
9770
|
'div',
|
|
9768
9771
|
{ className: 'multi-figure-caption' },
|
|
9769
|
-
React__default[
|
|
9772
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9770
9773
|
);
|
|
9771
9774
|
} else if (caption) {
|
|
9772
|
-
return React__default[
|
|
9775
|
+
return React__default['default'].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9773
9776
|
} else return null;
|
|
9774
9777
|
};
|
|
9775
9778
|
|
|
@@ -9778,7 +9781,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9778
9781
|
setOpenImg(true);
|
|
9779
9782
|
}, [client]);
|
|
9780
9783
|
|
|
9781
|
-
var FigureImageWOverLay = React__default[
|
|
9784
|
+
var FigureImageWOverLay = React__default['default'].memo(function (_ref3) {
|
|
9782
9785
|
var imagesCount = _ref3.imagesCount,
|
|
9783
9786
|
image = _ref3.image,
|
|
9784
9787
|
client = _ref3.client,
|
|
@@ -9788,13 +9791,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9788
9791
|
|
|
9789
9792
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9790
9793
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9791
|
-
return React__default[
|
|
9794
|
+
return React__default['default'].createElement(
|
|
9792
9795
|
'picture',
|
|
9793
9796
|
null,
|
|
9794
|
-
React__default[
|
|
9795
|
-
React__default[
|
|
9796
|
-
React__default[
|
|
9797
|
-
main.main_42 && link ? React__default[
|
|
9797
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9798
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9799
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9800
|
+
main.main_42 && link ? React__default['default'].createElement('img', _extends._extends({
|
|
9798
9801
|
'images-count': imagesCount,
|
|
9799
9802
|
className: 'multi-figure-image',
|
|
9800
9803
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9803,10 +9806,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9803
9806
|
onClick: function onClick() {
|
|
9804
9807
|
return handleClickFigure(image, client);
|
|
9805
9808
|
}
|
|
9806
|
-
})) : React__default[
|
|
9807
|
-
OverlayTrigger__default[
|
|
9809
|
+
})) : React__default['default'].createElement(
|
|
9810
|
+
OverlayTrigger__default['default'],
|
|
9808
9811
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9809
|
-
React__default[
|
|
9812
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9810
9813
|
'images-count': imagesCount,
|
|
9811
9814
|
className: 'multi-figure-image',
|
|
9812
9815
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9822,102 +9825,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9822
9825
|
|
|
9823
9826
|
var renderTooltip = function renderTooltip(image) {
|
|
9824
9827
|
if (image.infoBox[0].title) {
|
|
9825
|
-
return React__default[
|
|
9826
|
-
Popover__default[
|
|
9828
|
+
return React__default['default'].createElement(
|
|
9829
|
+
Popover__default['default'],
|
|
9827
9830
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9828
|
-
React__default[
|
|
9829
|
-
Popover__default[
|
|
9831
|
+
React__default['default'].createElement(
|
|
9832
|
+
Popover__default['default'].Title,
|
|
9830
9833
|
{ as: 'h3' },
|
|
9831
9834
|
image.infoBox[0].title
|
|
9832
9835
|
),
|
|
9833
|
-
React__default[
|
|
9834
|
-
Popover__default[
|
|
9836
|
+
React__default['default'].createElement(
|
|
9837
|
+
Popover__default['default'].Content,
|
|
9835
9838
|
null,
|
|
9836
|
-
React__default[
|
|
9839
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9837
9840
|
)
|
|
9838
9841
|
);
|
|
9839
9842
|
} else {
|
|
9840
|
-
return React__default[
|
|
9841
|
-
Tooltip__default[
|
|
9843
|
+
return React__default['default'].createElement(
|
|
9844
|
+
Tooltip__default['default'],
|
|
9842
9845
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9843
|
-
React__default[
|
|
9846
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9844
9847
|
);
|
|
9845
9848
|
}
|
|
9846
9849
|
};
|
|
9847
9850
|
|
|
9848
9851
|
if (images && images.length > 0) {
|
|
9849
|
-
return React__default[
|
|
9852
|
+
return React__default['default'].createElement(
|
|
9850
9853
|
'div',
|
|
9851
9854
|
{ className: 'multi-figure-container' },
|
|
9852
|
-
React__default[
|
|
9853
|
-
Row__default[
|
|
9855
|
+
React__default['default'].createElement(
|
|
9856
|
+
Row__default['default'],
|
|
9854
9857
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9855
9858
|
images.map(function (image, index) {
|
|
9856
9859
|
if (image.infoBox) {
|
|
9857
|
-
return React__default[
|
|
9858
|
-
Col__default[
|
|
9860
|
+
return React__default['default'].createElement(
|
|
9861
|
+
Col__default['default'],
|
|
9859
9862
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9860
|
-
image.link ? React__default[
|
|
9863
|
+
image.link ? React__default['default'].createElement(
|
|
9861
9864
|
'a',
|
|
9862
9865
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9863
|
-
React__default[
|
|
9866
|
+
React__default['default'].createElement(
|
|
9864
9867
|
'div',
|
|
9865
9868
|
{ className: 'multi-figure-image-container' },
|
|
9866
|
-
React__default[
|
|
9869
|
+
React__default['default'].createElement(
|
|
9867
9870
|
index$2.LazyLoad,
|
|
9868
9871
|
{ once: true },
|
|
9869
|
-
React__default[
|
|
9872
|
+
React__default['default'].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9870
9873
|
),
|
|
9871
|
-
React__default[
|
|
9874
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9872
9875
|
)
|
|
9873
|
-
) : React__default[
|
|
9876
|
+
) : React__default['default'].createElement(
|
|
9874
9877
|
'div',
|
|
9875
9878
|
{ className: 'multi-figure-image-container' },
|
|
9876
|
-
React__default[
|
|
9879
|
+
React__default['default'].createElement(
|
|
9877
9880
|
index$2.LazyLoad,
|
|
9878
9881
|
{ once: true },
|
|
9879
|
-
React__default[
|
|
9882
|
+
React__default['default'].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9880
9883
|
),
|
|
9881
|
-
React__default[
|
|
9884
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9882
9885
|
)
|
|
9883
9886
|
);
|
|
9884
9887
|
} else {
|
|
9885
|
-
return React__default[
|
|
9886
|
-
Col__default[
|
|
9888
|
+
return React__default['default'].createElement(
|
|
9889
|
+
Col__default['default'],
|
|
9887
9890
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9888
|
-
image.link ? React__default[
|
|
9891
|
+
image.link ? React__default['default'].createElement(
|
|
9889
9892
|
'a',
|
|
9890
9893
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9891
|
-
React__default[
|
|
9894
|
+
React__default['default'].createElement(
|
|
9892
9895
|
'div',
|
|
9893
9896
|
{ className: 'multi-figure-image-container' },
|
|
9894
|
-
React__default[
|
|
9897
|
+
React__default['default'].createElement(
|
|
9895
9898
|
index$2.LazyLoad,
|
|
9896
9899
|
{ once: true },
|
|
9897
|
-
React__default[
|
|
9900
|
+
React__default['default'].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9898
9901
|
),
|
|
9899
|
-
React__default[
|
|
9902
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9900
9903
|
)
|
|
9901
|
-
) : React__default[
|
|
9904
|
+
) : React__default['default'].createElement(
|
|
9902
9905
|
'div',
|
|
9903
9906
|
{ className: 'multi-figure-image-container' },
|
|
9904
|
-
React__default[
|
|
9907
|
+
React__default['default'].createElement(
|
|
9905
9908
|
index$2.LazyLoad,
|
|
9906
9909
|
{ once: true },
|
|
9907
|
-
React__default[
|
|
9910
|
+
React__default['default'].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9908
9911
|
),
|
|
9909
|
-
React__default[
|
|
9912
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9910
9913
|
)
|
|
9911
9914
|
);
|
|
9912
9915
|
}
|
|
9913
9916
|
})
|
|
9914
9917
|
),
|
|
9915
|
-
React__default[
|
|
9918
|
+
React__default['default'].createElement(
|
|
9916
9919
|
'div',
|
|
9917
9920
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9918
|
-
React__default[
|
|
9921
|
+
React__default['default'].createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9919
9922
|
),
|
|
9920
|
-
React__default[
|
|
9923
|
+
React__default['default'].createElement(
|
|
9921
9924
|
'style',
|
|
9922
9925
|
{ jsx: 'true' },
|
|
9923
9926
|
'\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 '
|
|
@@ -9966,23 +9969,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9966
9969
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9967
9970
|
}, []);
|
|
9968
9971
|
|
|
9969
|
-
return React__default[
|
|
9970
|
-
React__default[
|
|
9972
|
+
return React__default['default'].createElement(
|
|
9973
|
+
React__default['default'].Fragment,
|
|
9971
9974
|
null,
|
|
9972
|
-
React__default[
|
|
9973
|
-
Head__default[
|
|
9975
|
+
React__default['default'].createElement(
|
|
9976
|
+
Head__default['default'],
|
|
9974
9977
|
null,
|
|
9975
|
-
React__default[
|
|
9978
|
+
React__default['default'].createElement('script', {
|
|
9976
9979
|
dangerouslySetInnerHTML: {
|
|
9977
9980
|
__html: 'history.scrollRestoration = "manual"'
|
|
9978
9981
|
}
|
|
9979
9982
|
})
|
|
9980
9983
|
),
|
|
9981
|
-
React__default[
|
|
9984
|
+
React__default['default'].createElement(
|
|
9982
9985
|
'div',
|
|
9983
9986
|
{ id: elementId },
|
|
9984
|
-
React__default[
|
|
9985
|
-
React__default[
|
|
9987
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9988
|
+
React__default['default'].createElement(
|
|
9986
9989
|
'style',
|
|
9987
9990
|
{ jsx: 'true' },
|
|
9988
9991
|
'\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 '
|
|
@@ -10036,11 +10039,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
10036
10039
|
|
|
10037
10040
|
|
|
10038
10041
|
|
|
10039
|
-
var _react2 = _interopRequireDefault(React__default[
|
|
10042
|
+
var _react2 = _interopRequireDefault(React__default['default']);
|
|
10040
10043
|
|
|
10041
10044
|
|
|
10042
10045
|
|
|
10043
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default[
|
|
10046
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default['default']);
|
|
10044
10047
|
|
|
10045
10048
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10046
10049
|
var noop = function noop() {};
|
|
@@ -10195,7 +10198,7 @@ var ScriptTag = function (_Component) {
|
|
|
10195
10198
|
};
|
|
10196
10199
|
|
|
10197
10200
|
return ScriptTag;
|
|
10198
|
-
}(React__default[
|
|
10201
|
+
}(React__default['default'].Component);
|
|
10199
10202
|
|
|
10200
10203
|
ScriptTag.propTypes = {
|
|
10201
10204
|
/**
|
|
@@ -10287,11 +10290,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10287
10290
|
}, [anonymousID]);
|
|
10288
10291
|
|
|
10289
10292
|
if (iframeSrc) {
|
|
10290
|
-
return React__default[
|
|
10293
|
+
return React__default['default'].createElement(
|
|
10291
10294
|
'section',
|
|
10292
10295
|
{ className: 'form-assembly' },
|
|
10293
|
-
iframeSrc && React__default[
|
|
10294
|
-
React__default[
|
|
10296
|
+
iframeSrc && React__default['default'].createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10297
|
+
React__default['default'].createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10295
10298
|
);
|
|
10296
10299
|
}
|
|
10297
10300
|
|
|
@@ -10328,27 +10331,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10328
10331
|
return window.removeEventListener('resize', handleResize);
|
|
10329
10332
|
};
|
|
10330
10333
|
}, []);
|
|
10331
|
-
return React__default[
|
|
10334
|
+
return React__default['default'].createElement(
|
|
10332
10335
|
'div',
|
|
10333
10336
|
{ className: 'blockTableHolder', ref: holder },
|
|
10334
|
-
React__default[
|
|
10337
|
+
React__default['default'].createElement(
|
|
10335
10338
|
'div',
|
|
10336
10339
|
{ className: 'blockTable' },
|
|
10337
10340
|
rows && rows.map(function (row) {
|
|
10338
|
-
return React__default[
|
|
10341
|
+
return React__default['default'].createElement(
|
|
10339
10342
|
'div',
|
|
10340
10343
|
{ className: 'blockTableRow' },
|
|
10341
10344
|
row.cells && row.cells.map(function (cell) {
|
|
10342
|
-
return React__default[
|
|
10345
|
+
return React__default['default'].createElement(
|
|
10343
10346
|
'div',
|
|
10344
10347
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10345
|
-
React__default[
|
|
10348
|
+
React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10346
10349
|
);
|
|
10347
10350
|
})
|
|
10348
10351
|
);
|
|
10349
10352
|
})
|
|
10350
10353
|
),
|
|
10351
|
-
React__default[
|
|
10354
|
+
React__default['default'].createElement(
|
|
10352
10355
|
'style',
|
|
10353
10356
|
{ jsx: true },
|
|
10354
10357
|
'\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 '
|
|
@@ -10362,7 +10365,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
|
10362
10365
|
_props$node.needSegmentSupport;
|
|
10363
10366
|
|
|
10364
10367
|
|
|
10365
|
-
return React__default[
|
|
10368
|
+
return React__default['default'].createElement('div', { id: FormID });
|
|
10366
10369
|
};
|
|
10367
10370
|
|
|
10368
10371
|
var checkUrlIsExternal = function checkUrlIsExternal(url) {
|
|
@@ -10422,7 +10425,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10422
10425
|
if (href && href.charAt(0) === '#') {
|
|
10423
10426
|
var elementId = href.slice(1);
|
|
10424
10427
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10425
|
-
return React__default[
|
|
10428
|
+
return React__default['default'].createElement(
|
|
10426
10429
|
'a',
|
|
10427
10430
|
{ onClick: function onClick() {
|
|
10428
10431
|
return ScrollToElement(elementId);
|
|
@@ -10432,11 +10435,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10432
10435
|
}
|
|
10433
10436
|
|
|
10434
10437
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkSisterSite.checkSisterSite(href) ? 'noreferrer noopener' : '');
|
|
10435
|
-
return href ? linkRel.trim().length > 0 ? React__default[
|
|
10438
|
+
return href ? linkRel.trim().length > 0 ? React__default['default'].createElement(
|
|
10436
10439
|
'a',
|
|
10437
10440
|
_extends._extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10438
10441
|
children
|
|
10439
|
-
) : React__default[
|
|
10442
|
+
) : React__default['default'].createElement(
|
|
10440
10443
|
'a',
|
|
10441
10444
|
_extends._extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10442
10445
|
children
|
|
@@ -10501,12 +10504,12 @@ var getSerializers = function getSerializers() {
|
|
|
10501
10504
|
var node = _ref.node;
|
|
10502
10505
|
var url = node.url;
|
|
10503
10506
|
|
|
10504
|
-
return React__default[
|
|
10507
|
+
return React__default['default'].createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10505
10508
|
},
|
|
10506
10509
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10507
10510
|
var node = _ref2.node;
|
|
10508
10511
|
|
|
10509
|
-
return React__default[
|
|
10512
|
+
return React__default['default'].createElement(YouTubeGallery, {
|
|
10510
10513
|
nodes: node,
|
|
10511
10514
|
article: article,
|
|
10512
10515
|
meta: meta,
|
|
@@ -10520,7 +10523,7 @@ var getSerializers = function getSerializers() {
|
|
|
10520
10523
|
articleSeries: function articleSeries(_ref3) {
|
|
10521
10524
|
var node = _ref3.node;
|
|
10522
10525
|
|
|
10523
|
-
return React__default[
|
|
10526
|
+
return React__default['default'].createElement(ArticleSeries, {
|
|
10524
10527
|
nodes: node,
|
|
10525
10528
|
accountIDs: videoAccountIDs || {},
|
|
10526
10529
|
pageview: pageview,
|
|
@@ -10533,61 +10536,61 @@ var getSerializers = function getSerializers() {
|
|
|
10533
10536
|
figure: function figure(_ref4) {
|
|
10534
10537
|
var node = _ref4.node;
|
|
10535
10538
|
|
|
10536
|
-
return React__default[
|
|
10539
|
+
return React__default['default'].createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10537
10540
|
},
|
|
10538
10541
|
multifigure: function multifigure(_ref5) {
|
|
10539
10542
|
var node = _ref5.node;
|
|
10540
10543
|
|
|
10541
|
-
return React__default[
|
|
10544
|
+
return React__default['default'].createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10542
10545
|
},
|
|
10543
10546
|
slideshow: function slideshow(_ref6) {
|
|
10544
10547
|
var node = _ref6.node;
|
|
10545
10548
|
var slides = node.slides;
|
|
10546
10549
|
|
|
10547
|
-
return React__default[
|
|
10550
|
+
return React__default['default'].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10548
10551
|
},
|
|
10549
10552
|
sidebar: function sidebar(_ref7) {
|
|
10550
10553
|
var node = _ref7.node;
|
|
10551
10554
|
var caption = node.caption,
|
|
10552
10555
|
content = node.content;
|
|
10553
10556
|
|
|
10554
|
-
return React__default[
|
|
10557
|
+
return React__default['default'].createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10555
10558
|
},
|
|
10556
10559
|
datatable: function datatable(_ref8) {
|
|
10557
10560
|
var node = _ref8.node;
|
|
10558
10561
|
var table = node.table;
|
|
10559
10562
|
|
|
10560
|
-
return React__default[
|
|
10563
|
+
return React__default['default'].createElement(TableShow, { rows: table.rows });
|
|
10561
10564
|
},
|
|
10562
10565
|
media: function media(_ref9) {
|
|
10563
10566
|
var node = _ref9.node;
|
|
10564
10567
|
|
|
10565
|
-
return React__default[
|
|
10568
|
+
return React__default['default'].createElement(Media, { node: node, client: client });
|
|
10566
10569
|
},
|
|
10567
10570
|
iframe: function iframe(_ref10) {
|
|
10568
10571
|
var node = _ref10.node;
|
|
10569
10572
|
|
|
10570
|
-
return React__default[
|
|
10573
|
+
return React__default['default'].createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10571
10574
|
},
|
|
10572
10575
|
video: function video(_ref11) {
|
|
10573
10576
|
var node = _ref11.node;
|
|
10574
10577
|
|
|
10575
|
-
return React__default[
|
|
10578
|
+
return React__default['default'].createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10576
10579
|
},
|
|
10577
10580
|
audio: function audio(_ref12) {
|
|
10578
10581
|
var node = _ref12.node;
|
|
10579
10582
|
|
|
10580
|
-
return React__default[
|
|
10583
|
+
return React__default['default'].createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10581
10584
|
},
|
|
10582
10585
|
poll: function poll(_ref13) {
|
|
10583
10586
|
var node = _ref13.node;
|
|
10584
10587
|
|
|
10585
|
-
return React__default[
|
|
10588
|
+
return React__default['default'].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10586
10589
|
},
|
|
10587
10590
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10588
10591
|
var node = _ref14.node;
|
|
10589
10592
|
|
|
10590
|
-
return React__default[
|
|
10593
|
+
return React__default['default'].createElement(Poll, {
|
|
10591
10594
|
node: node,
|
|
10592
10595
|
client: client,
|
|
10593
10596
|
pageview: pageview,
|
|
@@ -10601,35 +10604,35 @@ var getSerializers = function getSerializers() {
|
|
|
10601
10604
|
var node = _ref15.node;
|
|
10602
10605
|
var quizzes = node.quizzes;
|
|
10603
10606
|
|
|
10604
|
-
return React__default[
|
|
10607
|
+
return React__default['default'].createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10605
10608
|
},
|
|
10606
10609
|
leads: function leads(_ref16) {
|
|
10607
10610
|
var node = _ref16.node;
|
|
10608
10611
|
var leadID = node.leadID;
|
|
10609
10612
|
|
|
10610
10613
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10611
|
-
return React__default[
|
|
10614
|
+
return React__default['default'].createElement(Leads, { url: url });
|
|
10612
10615
|
},
|
|
10613
10616
|
slideshows: function slideshows(_ref17) {
|
|
10614
10617
|
var node = _ref17.node;
|
|
10615
10618
|
|
|
10616
|
-
return React__default[
|
|
10619
|
+
return React__default['default'].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10617
10620
|
},
|
|
10618
10621
|
nativeAd: function nativeAd(_ref18) {
|
|
10619
10622
|
var node = _ref18.node;
|
|
10620
10623
|
|
|
10621
|
-
return React__default[
|
|
10624
|
+
return React__default['default'].createElement(NativeAd, { node: node });
|
|
10622
10625
|
},
|
|
10623
10626
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10624
10627
|
var node = _ref19.node;
|
|
10625
10628
|
|
|
10626
|
-
return React__default[
|
|
10629
|
+
return React__default['default'].createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10627
10630
|
},
|
|
10628
10631
|
hrtag: function hrtag() {
|
|
10629
|
-
return React__default[
|
|
10632
|
+
return React__default['default'].createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10630
10633
|
},
|
|
10631
10634
|
brtag: function brtag() {
|
|
10632
|
-
return React__default[
|
|
10635
|
+
return React__default['default'].createElement('br', { className: 'line-break' });
|
|
10633
10636
|
},
|
|
10634
10637
|
formstack: function formstack(_ref20) {
|
|
10635
10638
|
var node = _ref20.node;
|
|
@@ -10637,30 +10640,30 @@ var getSerializers = function getSerializers() {
|
|
|
10637
10640
|
Caption = node.Caption,
|
|
10638
10641
|
needSegmentSupport = node.needSegmentSupport;
|
|
10639
10642
|
|
|
10640
|
-
return React__default[
|
|
10643
|
+
return React__default['default'].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10641
10644
|
},
|
|
10642
10645
|
formassembly: FormAssembly,
|
|
10643
10646
|
digiohSmartTag: DigiohSmartTag,
|
|
10644
10647
|
multimedia: function multimedia(_ref21) {
|
|
10645
10648
|
var node = _ref21.node;
|
|
10646
10649
|
|
|
10647
|
-
return React__default[
|
|
10650
|
+
return React__default['default'].createElement(MultiMedia, { node: node, client: client });
|
|
10648
10651
|
},
|
|
10649
10652
|
blockTable: function blockTable(_ref22) {
|
|
10650
10653
|
var node = _ref22.node;
|
|
10651
|
-
return React__default[
|
|
10654
|
+
return React__default['default'].createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10652
10655
|
}
|
|
10653
10656
|
},
|
|
10654
10657
|
marks: {
|
|
10655
10658
|
superscript: function superscript(props) {
|
|
10656
|
-
return React__default[
|
|
10659
|
+
return React__default['default'].createElement(
|
|
10657
10660
|
'sup',
|
|
10658
10661
|
null,
|
|
10659
10662
|
props.children
|
|
10660
10663
|
);
|
|
10661
10664
|
},
|
|
10662
10665
|
subscript: function subscript(props) {
|
|
10663
|
-
return React__default[
|
|
10666
|
+
return React__default['default'].createElement(
|
|
10664
10667
|
'sub',
|
|
10665
10668
|
null,
|
|
10666
10669
|
props.children
|
|
@@ -10670,11 +10673,11 @@ var getSerializers = function getSerializers() {
|
|
|
10670
10673
|
var children = props.children,
|
|
10671
10674
|
mark = props.mark;
|
|
10672
10675
|
|
|
10673
|
-
return React__default[
|
|
10676
|
+
return React__default['default'].createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10674
10677
|
},
|
|
10675
10678
|
alignleft: function alignleft(_ref23) {
|
|
10676
10679
|
var children = _ref23.children;
|
|
10677
|
-
return React__default[
|
|
10680
|
+
return React__default['default'].createElement(
|
|
10678
10681
|
'div',
|
|
10679
10682
|
{ style: { textAlign: 'left' } },
|
|
10680
10683
|
children
|
|
@@ -10682,7 +10685,7 @@ var getSerializers = function getSerializers() {
|
|
|
10682
10685
|
},
|
|
10683
10686
|
alignright: function alignright(_ref24) {
|
|
10684
10687
|
var children = _ref24.children;
|
|
10685
|
-
return React__default[
|
|
10688
|
+
return React__default['default'].createElement(
|
|
10686
10689
|
'div',
|
|
10687
10690
|
{ style: { textAlign: 'right' } },
|
|
10688
10691
|
children
|
|
@@ -10690,7 +10693,7 @@ var getSerializers = function getSerializers() {
|
|
|
10690
10693
|
},
|
|
10691
10694
|
aligncenter: function aligncenter(_ref25) {
|
|
10692
10695
|
var children = _ref25.children;
|
|
10693
|
-
return React__default[
|
|
10696
|
+
return React__default['default'].createElement(
|
|
10694
10697
|
'div',
|
|
10695
10698
|
{ style: { textAlign: 'center' } },
|
|
10696
10699
|
children
|
|
@@ -10698,7 +10701,7 @@ var getSerializers = function getSerializers() {
|
|
|
10698
10701
|
},
|
|
10699
10702
|
alignjustify: function alignjustify(_ref26) {
|
|
10700
10703
|
var children = _ref26.children;
|
|
10701
|
-
return React__default[
|
|
10704
|
+
return React__default['default'].createElement(
|
|
10702
10705
|
'div',
|
|
10703
10706
|
{ style: { textAlign: 'justify' } },
|
|
10704
10707
|
children
|
|
@@ -10708,7 +10711,7 @@ var getSerializers = function getSerializers() {
|
|
|
10708
10711
|
var children = props.children,
|
|
10709
10712
|
color = props.mark.color;
|
|
10710
10713
|
|
|
10711
|
-
return React__default[
|
|
10714
|
+
return React__default['default'].createElement(
|
|
10712
10715
|
'span',
|
|
10713
10716
|
{ style: { color: color ? color.hex : null } },
|
|
10714
10717
|
children
|